gcc/:
[official-gcc/alias-decl.git] / libstdc++-v3 / configure
blobfd36ffdd562636b2f89f3d020550c70ba905a924
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-gxx-include-dir=DIR
1082 installation directory for include files
1084 Some influential environment variables:
1085 CC C compiler command
1086 CFLAGS C compiler flags
1087 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1088 nonstandard directory <lib dir>
1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090 headers in a nonstandard directory <include dir>
1091 CXX C++ compiler command
1092 CXXFLAGS C++ compiler flags
1093 CPP C preprocessor
1094 CXXCPP C++ preprocessor
1096 Use these variables to override the choices made by `configure' or to help
1097 it to find libraries and programs with nonstandard names/locations.
1099 _ACEOF
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1104 ac_popdir=`pwd`
1105 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1106 test -d $ac_dir || continue
1107 ac_builddir=.
1109 if test "$ac_dir" != .; then
1110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1113 else
1114 ac_dir_suffix= ac_top_builddir=
1117 case $srcdir in
1118 .) # No --srcdir option. We are building in place.
1119 ac_srcdir=.
1120 if test -z "$ac_top_builddir"; then
1121 ac_top_srcdir=.
1122 else
1123 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1124 fi ;;
1125 [\\/]* | ?:[\\/]* ) # Absolute path.
1126 ac_srcdir=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir=$srcdir ;;
1128 *) # Relative path.
1129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1131 esac
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1135 case `pwd` in
1136 .) ac_abs_builddir="$ac_dir";;
1138 case "$ac_dir" in
1139 .) ac_abs_builddir=`pwd`;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1141 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1142 esac;;
1143 esac
1144 case $ac_abs_builddir in
1145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 case ${ac_top_builddir}. in
1148 .) ac_abs_top_builddir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1151 esac;;
1152 esac
1153 case $ac_abs_builddir in
1154 .) ac_abs_srcdir=$ac_srcdir;;
1156 case $ac_srcdir in
1157 .) ac_abs_srcdir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1160 esac;;
1161 esac
1162 case $ac_abs_builddir in
1163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 case $ac_top_srcdir in
1166 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1169 esac;;
1170 esac
1172 cd $ac_dir
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu; then
1175 echo
1176 $SHELL $ac_srcdir/configure.gnu --help=recursive
1177 elif test -f $ac_srcdir/configure; then
1178 echo
1179 $SHELL $ac_srcdir/configure --help=recursive
1180 elif test -f $ac_srcdir/configure.ac ||
1181 test -f $ac_srcdir/configure.in; then
1182 echo
1183 $ac_configure --help
1184 else
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1187 cd $ac_popdir
1188 done
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1193 cat <<\_ACEOF
1194 package-unused configure version-unused
1195 generated by GNU Autoconf 2.59
1197 Copyright (C) 2003 Free Software Foundation, Inc.
1198 This configure script is free software; the Free Software Foundation
1199 gives unlimited permission to copy, distribute and modify it.
1200 _ACEOF
1201 exit 0
1203 exec 5>config.log
1204 cat >&5 <<_ACEOF
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1208 It was created by package-unused $as_me version-unused, which was
1209 generated by GNU Autoconf 2.59. Invocation command line was
1211 $ $0 $@
1213 _ACEOF
1215 cat <<_ASUNAME
1216 ## --------- ##
1217 ## Platform. ##
1218 ## --------- ##
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1237 _ASUNAME
1239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1240 for as_dir in $PATH
1242 IFS=$as_save_IFS
1243 test -z "$as_dir" && as_dir=.
1244 echo "PATH: $as_dir"
1245 done
1247 } >&5
1249 cat >&5 <<_ACEOF
1252 ## ----------- ##
1253 ## Core tests. ##
1254 ## ----------- ##
1256 _ACEOF
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1264 ac_configure_args=
1265 ac_configure_args0=
1266 ac_configure_args1=
1267 ac_sep=
1268 ac_must_keep_next=false
1269 for ac_pass in 1 2
1271 for ac_arg
1273 case $ac_arg in
1274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1277 continue ;;
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1280 esac
1281 case $ac_pass in
1282 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1284 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1285 if test $ac_must_keep_next = true; then
1286 ac_must_keep_next=false # Got value, back to normal.
1287 else
1288 case $ac_arg in
1289 *=* | --config-cache | -C | -disable-* | --disable-* \
1290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292 | -with-* | --with-* | -without-* | --without-* | --x)
1293 case "$ac_configure_args0 " in
1294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1295 esac
1297 -* ) ac_must_keep_next=true ;;
1298 esac
1300 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1301 # Get rid of the leading space.
1302 ac_sep=" "
1304 esac
1305 done
1306 done
1307 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1308 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log. We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316 # Save into config.log some information that might help in debugging.
1318 echo
1320 cat <<\_ASBOX
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1324 _ASBOX
1325 echo
1326 # The following way of writing the cache mishandles newlines in values,
1328 (set) 2>&1 |
1329 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1330 *ac_space=\ *)
1331 sed -n \
1332 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1336 sed -n \
1337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1339 esac;
1341 echo
1343 cat <<\_ASBOX
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1347 _ASBOX
1348 echo
1349 for ac_var in $ac_subst_vars
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1353 done | sort
1354 echo
1356 if test -n "$ac_subst_files"; then
1357 cat <<\_ASBOX
1358 ## ------------- ##
1359 ## Output files. ##
1360 ## ------------- ##
1361 _ASBOX
1362 echo
1363 for ac_var in $ac_subst_files
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1367 done | sort
1368 echo
1371 if test -s confdefs.h; then
1372 cat <<\_ASBOX
1373 ## ----------- ##
1374 ## confdefs.h. ##
1375 ## ----------- ##
1376 _ASBOX
1377 echo
1378 sed "/^$/d" confdefs.h | sort
1379 echo
1381 test "$ac_signal" != 0 &&
1382 echo "$as_me: caught signal $ac_signal"
1383 echo "$as_me: exit $exit_status"
1384 } >&5
1385 rm -f core *.core &&
1386 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1387 exit $exit_status
1389 for ac_signal in 1 2 13 15; do
1390 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1391 done
1392 ac_signal=0
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1397 echo >confdefs.h
1399 # Predefined preprocessor variables.
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1403 _ACEOF
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1408 _ACEOF
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1413 _ACEOF
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1418 _ACEOF
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1423 _ACEOF
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429 if test "x$prefix" != xNONE; then
1430 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1431 else
1432 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1435 for ac_site_file in $CONFIG_SITE; do
1436 if test -r "$ac_site_file"; then
1437 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439 sed 's/^/| /' "$ac_site_file" >&5
1440 . "$ac_site_file"
1442 done
1444 if test -r "$cache_file"; then
1445 # Some versions of bash will fail to source /dev/null (special
1446 # files actually), so we avoid doing that.
1447 if test -f "$cache_file"; then
1448 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1450 case $cache_file in
1451 [\\/]* | ?:[\\/]* ) . $cache_file;;
1452 *) . ./$cache_file;;
1453 esac
1455 else
1456 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1458 >$cache_file
1461 # Check that the precious variables saved in the cache have kept the same
1462 # value.
1463 ac_cache_corrupted=false
1464 for ac_var in `(set) 2>&1 |
1465 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1467 eval ac_new_set=\$ac_env_${ac_var}_set
1468 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1469 eval ac_new_val="\$ac_env_${ac_var}_value"
1470 case $ac_old_set,$ac_new_set in
1471 set,)
1472 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474 ac_cache_corrupted=: ;;
1475 ,set)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,);;
1481 if test "x$ac_old_val" != "x$ac_new_val"; then
1482 # differences in whitespace do not lead to failure.
1483 ac_old_val_w=`echo x $ac_old_val`
1484 ac_new_val_w=`echo x $ac_new_val`
1485 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 ac_cache_corrupted=:
1489 else
1490 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1491 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1492 eval $ac_var=\$ac_old_val
1494 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1495 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1496 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1497 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1498 fi;;
1499 esac
1500 # Pass precious variables to config.status.
1501 if test "$ac_new_set" = set; then
1502 case $ac_new_val in
1503 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1504 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1505 *) ac_arg=$ac_var=$ac_new_val ;;
1506 esac
1507 case " $ac_configure_args " in
1508 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1509 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1510 esac
1512 done
1513 if $ac_cache_corrupted; then
1514 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1515 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1516 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1517 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1518 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1519 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1520 { (exit 1); exit 1; }; }
1523 ac_ext=c
1524 ac_cpp='$CPP $CPPFLAGS'
1525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1559 ac_config_headers="$ac_config_headers config.h"
1562 # This works around the fact that libtool configuration may change LD
1563 # for this particular configuration, but some shells, instead of
1564 # keeping the changes in LD private, export them just because LD is
1565 # exported. Only used at the end of this file.
1566 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1568 # For libtool versioning info, format is CURRENT:REVISION:AGE
1569 libtool_VERSION=6:11:0
1572 # Find the rest of the source tree framework.
1573 # Default to --enable-multilib
1574 # Check whether --enable-multilib or --disable-multilib was given.
1575 if test "${enable_multilib+set}" = set; then
1576 enableval="$enable_multilib"
1577 case "$enableval" in
1578 yes) multilib=yes ;;
1579 no) multilib=no ;;
1580 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1581 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1582 { (exit 1); exit 1; }; } ;;
1583 esac
1584 else
1585 multilib=yes
1588 # We may get other options which we leave undocumented:
1589 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1590 # See config-ml.in if you want the gory details.
1592 if test "$srcdir" = "."; then
1593 if test "$with_target_subdir" != "."; then
1594 multi_basedir="$srcdir/$with_multisrctop../.."
1595 else
1596 multi_basedir="$srcdir/$with_multisrctop.."
1598 else
1599 multi_basedir="$srcdir/.."
1603 # Even if the default multilib is not a cross compilation,
1604 # it may be that some of the other multilibs are.
1605 if test $cross_compiling = no && test $multilib = yes \
1606 && test "x${with_multisubdir}" != x ; then
1607 cross_compiling=maybe
1610 ac_config_commands="$ac_config_commands default-1"
1613 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1615 # You will slowly go insane if you do not grok the following fact: when
1616 # building v3 as part of the compiler, the top-level /target/ becomes the
1617 # library's /host/. configure then causes --target to default to --host,
1618 # exactly like any other package using autoconf. Therefore, 'target' and
1619 # 'host' will always be the same. This makes sense both for native and
1620 # cross compilers, just think about it for a little while. :-)
1622 # Also, if v3 is being configured as part of a cross compiler, the top-level
1623 # configure script will pass the "real" host as $with_cross_host.
1625 # Do not delete or change the following two lines. For why, see
1626 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1627 ac_aux_dir=
1628 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1629 if test -f $ac_dir/install-sh; then
1630 ac_aux_dir=$ac_dir
1631 ac_install_sh="$ac_aux_dir/install-sh -c"
1632 break
1633 elif test -f $ac_dir/install.sh; then
1634 ac_aux_dir=$ac_dir
1635 ac_install_sh="$ac_aux_dir/install.sh -c"
1636 break
1637 elif test -f $ac_dir/shtool; then
1638 ac_aux_dir=$ac_dir
1639 ac_install_sh="$ac_aux_dir/shtool install -c"
1640 break
1642 done
1643 if test -z "$ac_aux_dir"; then
1644 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1645 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1646 { (exit 1); exit 1; }; }
1648 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1649 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1650 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1652 # Make sure we can run config.sub.
1653 $ac_config_sub sun4 >/dev/null 2>&1 ||
1654 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1655 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1656 { (exit 1); exit 1; }; }
1658 echo "$as_me:$LINENO: checking build system type" >&5
1659 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1660 if test "${ac_cv_build+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 else
1663 ac_cv_build_alias=$build_alias
1664 test -z "$ac_cv_build_alias" &&
1665 ac_cv_build_alias=`$ac_config_guess`
1666 test -z "$ac_cv_build_alias" &&
1667 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1668 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1669 { (exit 1); exit 1; }; }
1670 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1673 { (exit 1); exit 1; }; }
1676 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1677 echo "${ECHO_T}$ac_cv_build" >&6
1678 build=$ac_cv_build
1679 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1680 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1681 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1684 echo "$as_me:$LINENO: checking host system type" >&5
1685 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1686 if test "${ac_cv_host+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 else
1689 ac_cv_host_alias=$host_alias
1690 test -z "$ac_cv_host_alias" &&
1691 ac_cv_host_alias=$ac_cv_build_alias
1692 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1693 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1694 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1695 { (exit 1); exit 1; }; }
1698 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1699 echo "${ECHO_T}$ac_cv_host" >&6
1700 host=$ac_cv_host
1701 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1702 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1703 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1706 echo "$as_me:$LINENO: checking target system type" >&5
1707 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1708 if test "${ac_cv_target+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 else
1711 ac_cv_target_alias=$target_alias
1712 test "x$ac_cv_target_alias" = "x" &&
1713 ac_cv_target_alias=$ac_cv_host_alias
1714 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1715 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1716 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1717 { (exit 1); exit 1; }; }
1720 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1721 echo "${ECHO_T}$ac_cv_target" >&6
1722 target=$ac_cv_target
1723 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1724 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1725 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1728 # The aliases save the names the user supplied, while $host etc.
1729 # will get canonicalized.
1730 test -n "$target_alias" &&
1731 test "$program_prefix$program_suffix$program_transform_name" = \
1732 NONENONEs,x,x, &&
1733 program_prefix=${target_alias}-
1734 target_alias=${target_alias-$host_alias}
1736 # Handy for debugging:
1737 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1739 if test "$build" != "$host"; then
1740 # We are being configured with some form of cross compiler.
1741 GLIBCXX_IS_NATIVE=false
1742 case "$host","$target" in
1743 # Darwin crosses can use the host system's libraries and headers,
1744 # because of the fat library support. Of course, it must be the
1745 # same version of Darwin on both sides. Allow the user to
1746 # just say --target=foo-darwin without a version number to mean
1747 # "the version on this system".
1748 *-*-darwin*,*-*-darwin*)
1749 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1750 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1751 if test $hostos = $targetos -o $targetos = darwin ; then
1752 GLIBCXX_IS_NATIVE=true
1759 esac
1760 else
1761 GLIBCXX_IS_NATIVE=true
1764 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1765 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1766 # 1.x: minimum required version
1767 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1768 # of other PACKAGE_* variables will, however, and there's nothing
1769 # we can do about that; they come from AC_INIT).
1770 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1771 # file in the top srcdir, etc, etc), so stop complaining.
1772 # no-dependencies: turns off auto dependency generation (just for now)
1773 # -Wall: turns on all automake warnings...
1774 # -Wno-portability: ...except this one, since GNU make is now required.
1775 am__api_version="1.9"
1776 # Find a good install program. We prefer a C program (faster),
1777 # so one script is as good as another. But avoid the broken or
1778 # incompatible versions:
1779 # SysV /etc/install, /usr/sbin/install
1780 # SunOS /usr/etc/install
1781 # IRIX /sbin/install
1782 # AIX /bin/install
1783 # AmigaOS /C/install, which installs bootblocks on floppy discs
1784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1787 # OS/2's system install, which has a completely different semantic
1788 # ./install, which can be erroneously created by make from ./install.sh.
1789 # Reject install programs that cannot install multiple files.
1790 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1791 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1792 if test -z "$INSTALL"; then
1793 if test "${ac_cv_path_install+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 else
1796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 for as_dir in $PATH
1799 IFS=$as_save_IFS
1800 test -z "$as_dir" && as_dir=.
1801 # Account for people who put trailing slashes in PATH elements.
1802 case $as_dir/ in
1803 ./ | .// | /cC/* | \
1804 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1805 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1806 /usr/ucb/* ) ;;
1808 # OSF1 and SCO ODT 3.0 have their own names for install.
1809 # Don't use installbsd from OSF since it installs stuff as root
1810 # by default.
1811 for ac_prog in ginstall scoinst install; do
1812 for ac_exec_ext in '' $ac_executable_extensions; do
1813 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1814 if test $ac_prog = install &&
1815 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816 # AIX install. It has an incompatible calling convention.
1818 elif test $ac_prog = install &&
1819 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1820 # program-specific install script used by HP pwplus--don't use.
1822 else
1823 rm -rf conftest.one conftest.two conftest.dir
1824 echo one > conftest.one
1825 echo two > conftest.two
1826 mkdir conftest.dir
1827 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1828 test -s conftest.one && test -s conftest.two &&
1829 test -s conftest.dir/conftest.one &&
1830 test -s conftest.dir/conftest.two
1831 then
1832 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1833 break 3
1837 done
1838 done
1840 esac
1841 done
1843 rm -rf conftest.one conftest.two conftest.dir
1846 if test "${ac_cv_path_install+set}" = set; then
1847 INSTALL=$ac_cv_path_install
1848 else
1849 # As a last resort, use the slow shell script. Don't cache a
1850 # value for INSTALL within a source directory, because that will
1851 # break other packages using the cache if that directory is
1852 # removed, or if the value is a relative name.
1853 INSTALL=$ac_install_sh
1856 echo "$as_me:$LINENO: result: $INSTALL" >&5
1857 echo "${ECHO_T}$INSTALL" >&6
1859 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1860 # It thinks the first close brace ends the variable substitution.
1861 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1863 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1865 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1867 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1868 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1869 # Just in case
1870 sleep 1
1871 echo timestamp > conftest.file
1872 # Do `set' in a subshell so we don't clobber the current shell's
1873 # arguments. Must try -L first in case configure is actually a
1874 # symlink; some systems play weird games with the mod time of symlinks
1875 # (eg FreeBSD returns the mod time of the symlink's containing
1876 # directory).
1877 if (
1878 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1879 if test "$*" = "X"; then
1880 # -L didn't work.
1881 set X `ls -t $srcdir/configure conftest.file`
1883 rm -f conftest.file
1884 if test "$*" != "X $srcdir/configure conftest.file" \
1885 && test "$*" != "X conftest.file $srcdir/configure"; then
1887 # If neither matched, then we have a broken ls. This can happen
1888 # if, for instance, CONFIG_SHELL is bash and it inherits a
1889 # broken ls alias from the environment. This has actually
1890 # happened. Such a system could not be considered "sane".
1891 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1892 alias in your environment" >&5
1893 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1894 alias in your environment" >&2;}
1895 { (exit 1); exit 1; }; }
1898 test "$2" = conftest.file
1900 then
1901 # Ok.
1903 else
1904 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1905 Check your system clock" >&5
1906 echo "$as_me: error: newly created file is older than distributed files!
1907 Check your system clock" >&2;}
1908 { (exit 1); exit 1; }; }
1910 echo "$as_me:$LINENO: result: yes" >&5
1911 echo "${ECHO_T}yes" >&6
1912 test "$program_prefix" != NONE &&
1913 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1914 # Use a double $ so make ignores it.
1915 test "$program_suffix" != NONE &&
1916 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1917 # Double any \ or $. echo might interpret backslashes.
1918 # By default was `s,x,x', remove it if useless.
1919 cat <<\_ACEOF >conftest.sed
1920 s/[\\$]/&&/g;s/;s,x,x,$//
1921 _ACEOF
1922 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1923 rm conftest.sed
1925 # expand $ac_aux_dir to an absolute path
1926 am_aux_dir=`cd $ac_aux_dir && pwd`
1928 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1929 # Use eval to expand $SHELL
1930 if eval "$MISSING --run true"; then
1931 am_missing_run="$MISSING --run "
1932 else
1933 am_missing_run=
1934 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1935 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1938 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1939 # We used to keeping the `.' as first argument, in order to
1940 # allow $(mkdir_p) to be used without argument. As in
1941 # $(mkdir_p) $(somedir)
1942 # where $(somedir) is conditionally defined. However this is wrong
1943 # for two reasons:
1944 # 1. if the package is installed by a user who cannot write `.'
1945 # make install will fail,
1946 # 2. the above comment should most certainly read
1947 # $(mkdir_p) $(DESTDIR)$(somedir)
1948 # so it does not work when $(somedir) is undefined and
1949 # $(DESTDIR) is not.
1950 # To support the latter case, we have to write
1951 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1952 # so the `.' trick is pointless.
1953 mkdir_p='mkdir -p --'
1954 else
1955 # On NextStep and OpenStep, the `mkdir' command does not
1956 # recognize any option. It will interpret all options as
1957 # directories to create, and then abort because `.' already
1958 # exists.
1959 for d in ./-p ./--version;
1961 test -d $d && rmdir $d
1962 done
1963 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1964 if test -f "$ac_aux_dir/mkinstalldirs"; then
1965 mkdir_p='$(mkinstalldirs)'
1966 else
1967 mkdir_p='$(install_sh) -d'
1971 for ac_prog in gawk mawk nawk awk
1973 # Extract the first word of "$ac_prog", so it can be a program name with args.
1974 set dummy $ac_prog; ac_word=$2
1975 echo "$as_me:$LINENO: checking for $ac_word" >&5
1976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1977 if test "${ac_cv_prog_AWK+set}" = set; then
1978 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 else
1980 if test -n "$AWK"; then
1981 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1982 else
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 for as_dir in $PATH
1986 IFS=$as_save_IFS
1987 test -z "$as_dir" && as_dir=.
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 ac_cv_prog_AWK="$ac_prog"
1991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 break 2
1994 done
1995 done
1999 AWK=$ac_cv_prog_AWK
2000 if test -n "$AWK"; then
2001 echo "$as_me:$LINENO: result: $AWK" >&5
2002 echo "${ECHO_T}$AWK" >&6
2003 else
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2008 test -n "$AWK" && break
2009 done
2011 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2013 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2014 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 else
2017 cat >conftest.make <<\_ACEOF
2018 all:
2019 @echo 'ac_maketemp="$(MAKE)"'
2020 _ACEOF
2021 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2022 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2023 if test -n "$ac_maketemp"; then
2024 eval ac_cv_prog_make_${ac_make}_set=yes
2025 else
2026 eval ac_cv_prog_make_${ac_make}_set=no
2028 rm -f conftest.make
2030 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2031 echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6
2033 SET_MAKE=
2034 else
2035 echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2037 SET_MAKE="MAKE=${MAKE-make}"
2040 rm -rf .tst 2>/dev/null
2041 mkdir .tst 2>/dev/null
2042 if test -d .tst; then
2043 am__leading_dot=.
2044 else
2045 am__leading_dot=_
2047 rmdir .tst 2>/dev/null
2049 # test to see if srcdir already configured
2050 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2051 test -f $srcdir/config.status; then
2052 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2053 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2054 { (exit 1); exit 1; }; }
2057 # test whether we have cygpath
2058 if test -z "$CYGPATH_W"; then
2059 if (cygpath --version) >/dev/null 2>/dev/null; then
2060 CYGPATH_W='cygpath -w'
2061 else
2062 CYGPATH_W=echo
2067 # Define the identity of the package.
2068 PACKAGE='libstdc++'
2069 VERSION='version-unused'
2072 # Some tools Automake needs.
2074 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2077 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2080 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2083 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2086 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2088 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2090 # Installed binaries are usually stripped using `strip' when the user
2091 # run `make install-strip'. However `strip' might not be the right
2092 # tool to use in cross-compilation environments, therefore Automake
2093 # will honor the `STRIP' environment variable to overrule this program.
2094 if test "$cross_compiling" != no; then
2095 if test -n "$ac_tool_prefix"; then
2096 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2097 set dummy ${ac_tool_prefix}strip; ac_word=$2
2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100 if test "${ac_cv_prog_STRIP+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 else
2103 if test -n "$STRIP"; then
2104 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2105 else
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107 for as_dir in $PATH
2109 IFS=$as_save_IFS
2110 test -z "$as_dir" && as_dir=.
2111 for ac_exec_ext in '' $ac_executable_extensions; do
2112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 break 2
2117 done
2118 done
2122 STRIP=$ac_cv_prog_STRIP
2123 if test -n "$STRIP"; then
2124 echo "$as_me:$LINENO: result: $STRIP" >&5
2125 echo "${ECHO_T}$STRIP" >&6
2126 else
2127 echo "$as_me:$LINENO: result: no" >&5
2128 echo "${ECHO_T}no" >&6
2132 if test -z "$ac_cv_prog_STRIP"; then
2133 ac_ct_STRIP=$STRIP
2134 # Extract the first word of "strip", so it can be a program name with args.
2135 set dummy strip; ac_word=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 else
2141 if test -n "$ac_ct_STRIP"; then
2142 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2147 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151 ac_cv_prog_ac_ct_STRIP="strip"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 break 2
2155 done
2156 done
2158 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2161 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2162 if test -n "$ac_ct_STRIP"; then
2163 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2164 echo "${ECHO_T}$ac_ct_STRIP" >&6
2165 else
2166 echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6
2170 STRIP=$ac_ct_STRIP
2171 else
2172 STRIP="$ac_cv_prog_STRIP"
2176 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2178 # We need awk for the "check" target. The system "awk" is bad on
2179 # some platforms.
2180 # Always define AMTAR for backward compatibility.
2182 AMTAR=${AMTAR-"${am_missing_run}tar"}
2184 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2195 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2196 # up critical shell variables.
2198 ac_ext=c
2199 ac_cpp='$CPP $CPPFLAGS'
2200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2203 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2204 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2205 # On Suns, sometimes $CPP names a directory.
2206 if test -n "$CPP" && test -d "$CPP"; then
2207 CPP=
2209 if test -z "$CPP"; then
2210 if test "${ac_cv_prog_CPP+set}" = set; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 else
2213 # Double quotes because CPP needs to be expanded
2214 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2216 ac_preproc_ok=false
2217 for ac_c_preproc_warn_flag in '' yes
2219 # Use a header file that comes with gcc, so configuring glibc
2220 # with a fresh cross-compiler works.
2221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2222 # <limits.h> exists even on freestanding compilers.
2223 # On the NeXT, cc -E runs the code through the compiler's parser,
2224 # not just through cpp. "Syntax error" is here to catch this case.
2225 cat >conftest.$ac_ext <<_ACEOF
2226 /* confdefs.h. */
2227 _ACEOF
2228 cat confdefs.h >>conftest.$ac_ext
2229 cat >>conftest.$ac_ext <<_ACEOF
2230 /* end confdefs.h. */
2231 #ifdef __STDC__
2232 # include <limits.h>
2233 #else
2234 # include <assert.h>
2235 #endif
2236 Syntax error
2237 _ACEOF
2238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2240 ac_status=$?
2241 grep -v '^ *+' conftest.er1 >conftest.err
2242 rm -f conftest.er1
2243 cat conftest.err >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); } >/dev/null; then
2246 if test -s conftest.err; then
2247 ac_cpp_err=$ac_c_preproc_warn_flag
2248 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2249 else
2250 ac_cpp_err=
2252 else
2253 ac_cpp_err=yes
2255 if test -z "$ac_cpp_err"; then
2257 else
2258 echo "$as_me: failed program was:" >&5
2259 sed 's/^/| /' conftest.$ac_ext >&5
2261 # Broken: fails on valid input.
2262 continue
2264 rm -f conftest.err conftest.$ac_ext
2266 # OK, works on sane cases. Now check whether non-existent headers
2267 # can be detected and how.
2268 cat >conftest.$ac_ext <<_ACEOF
2269 /* confdefs.h. */
2270 _ACEOF
2271 cat confdefs.h >>conftest.$ac_ext
2272 cat >>conftest.$ac_ext <<_ACEOF
2273 /* end confdefs.h. */
2274 #include <ac_nonexistent.h>
2275 _ACEOF
2276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2278 ac_status=$?
2279 grep -v '^ *+' conftest.er1 >conftest.err
2280 rm -f conftest.er1
2281 cat conftest.err >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); } >/dev/null; then
2284 if test -s conftest.err; then
2285 ac_cpp_err=$ac_c_preproc_warn_flag
2286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2287 else
2288 ac_cpp_err=
2290 else
2291 ac_cpp_err=yes
2293 if test -z "$ac_cpp_err"; then
2294 # Broken: success on invalid input.
2295 continue
2296 else
2297 echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.$ac_ext >&5
2300 # Passes both tests.
2301 ac_preproc_ok=:
2302 break
2304 rm -f conftest.err conftest.$ac_ext
2306 done
2307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2308 rm -f conftest.err conftest.$ac_ext
2309 if $ac_preproc_ok; then
2310 break
2313 done
2314 ac_cv_prog_CPP=$CPP
2317 CPP=$ac_cv_prog_CPP
2318 else
2319 ac_cv_prog_CPP=$CPP
2321 echo "$as_me:$LINENO: result: $CPP" >&5
2322 echo "${ECHO_T}$CPP" >&6
2323 ac_preproc_ok=false
2324 for ac_c_preproc_warn_flag in '' yes
2326 # Use a header file that comes with gcc, so configuring glibc
2327 # with a fresh cross-compiler works.
2328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2329 # <limits.h> exists even on freestanding compilers.
2330 # On the NeXT, cc -E runs the code through the compiler's parser,
2331 # not just through cpp. "Syntax error" is here to catch this case.
2332 cat >conftest.$ac_ext <<_ACEOF
2333 /* confdefs.h. */
2334 _ACEOF
2335 cat confdefs.h >>conftest.$ac_ext
2336 cat >>conftest.$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2338 #ifdef __STDC__
2339 # include <limits.h>
2340 #else
2341 # include <assert.h>
2342 #endif
2343 Syntax error
2344 _ACEOF
2345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2347 ac_status=$?
2348 grep -v '^ *+' conftest.er1 >conftest.err
2349 rm -f conftest.er1
2350 cat conftest.err >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } >/dev/null; then
2353 if test -s conftest.err; then
2354 ac_cpp_err=$ac_c_preproc_warn_flag
2355 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2356 else
2357 ac_cpp_err=
2359 else
2360 ac_cpp_err=yes
2362 if test -z "$ac_cpp_err"; then
2364 else
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2368 # Broken: fails on valid input.
2369 continue
2371 rm -f conftest.err conftest.$ac_ext
2373 # OK, works on sane cases. Now check whether non-existent headers
2374 # can be detected and how.
2375 cat >conftest.$ac_ext <<_ACEOF
2376 /* confdefs.h. */
2377 _ACEOF
2378 cat confdefs.h >>conftest.$ac_ext
2379 cat >>conftest.$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2381 #include <ac_nonexistent.h>
2382 _ACEOF
2383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2385 ac_status=$?
2386 grep -v '^ *+' conftest.er1 >conftest.err
2387 rm -f conftest.er1
2388 cat conftest.err >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } >/dev/null; then
2391 if test -s conftest.err; then
2392 ac_cpp_err=$ac_c_preproc_warn_flag
2393 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2394 else
2395 ac_cpp_err=
2397 else
2398 ac_cpp_err=yes
2400 if test -z "$ac_cpp_err"; then
2401 # Broken: success on invalid input.
2402 continue
2403 else
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2407 # Passes both tests.
2408 ac_preproc_ok=:
2409 break
2411 rm -f conftest.err conftest.$ac_ext
2413 done
2414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2415 rm -f conftest.err conftest.$ac_ext
2416 if $ac_preproc_ok; then
2418 else
2419 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2420 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2421 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2422 See \`config.log' for more details." >&5
2423 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2424 See \`config.log' for more details." >&2;}
2425 { (exit 1); exit 1; }; }; }
2428 ac_ext=c
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435 echo "$as_me:$LINENO: checking for egrep" >&5
2436 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2437 if test "${ac_cv_prog_egrep+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 else
2440 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2441 then ac_cv_prog_egrep='grep -E'
2442 else ac_cv_prog_egrep='egrep'
2445 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2446 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2447 EGREP=$ac_cv_prog_egrep
2451 # Keep these sync'd with the list in Makefile.am. The first provides an
2452 # expandable list at autoconf time; the second provides an expandable list
2453 # (i.e., shell variable) at configure time.
2455 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2457 # These need to be absolute paths, yet at the same time need to
2458 # canonicalize only relative paths, because then amd will not unmount
2459 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2460 glibcxx_builddir=`${PWDCMD-pwd}`
2461 case $srcdir in
2462 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2463 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2464 esac
2465 toplevel_srcdir=${glibcxx_srcdir}/..
2470 # We use these options to decide which functions to include. They are
2471 # set from the top level.
2473 # Check whether --with-target-subdir or --without-target-subdir was given.
2474 if test "${with_target_subdir+set}" = set; then
2475 withval="$with_target_subdir"
2480 # Check whether --with-cross-host or --without-cross-host was given.
2481 if test "${with_cross_host+set}" = set; then
2482 withval="$with_cross_host"
2487 # Check whether --with-newlib or --without-newlib was given.
2488 if test "${with_newlib+set}" = set; then
2489 withval="$with_newlib"
2493 # We're almost certainly being configured before anything else which uses
2494 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2495 # we not cache the value of CXX that we "discover" here, because it's set
2496 # to something unique for us and libjava. Other target libraries need to
2497 # find CXX for themselves. We yank the rug out from under the normal AC_*
2498 # process by sneakily renaming the cache variable. This also lets us debug
2499 # the value of "our" CXX in postmortems.
2501 # We must also force CXX to /not/ be a precious variable, otherwise the
2502 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2503 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2504 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2505 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2507 # -fno-builtin must be present here so that a non-conflicting form of
2508 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2513 save_CXXFLAGS="$CXXFLAGS"
2514 CXXFLAGS="$CXXFLAGS -fno-builtin"
2515 ac_ext=c
2516 ac_cpp='$CPP $CPPFLAGS'
2517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2520 if test -n "$ac_tool_prefix"; then
2521 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2522 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2523 echo "$as_me:$LINENO: checking for $ac_word" >&5
2524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2525 if test "${ac_cv_prog_CC+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 else
2528 if test -n "$CC"; then
2529 ac_cv_prog_CC="$CC" # Let the user override the test.
2530 else
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 for as_dir in $PATH
2534 IFS=$as_save_IFS
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 break 2
2542 done
2543 done
2547 CC=$ac_cv_prog_CC
2548 if test -n "$CC"; then
2549 echo "$as_me:$LINENO: result: $CC" >&5
2550 echo "${ECHO_T}$CC" >&6
2551 else
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2557 if test -z "$ac_cv_prog_CC"; then
2558 ac_ct_CC=$CC
2559 # Extract the first word of "gcc", so it can be a program name with args.
2560 set dummy gcc; ac_word=$2
2561 echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 else
2566 if test -n "$ac_ct_CC"; then
2567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2568 else
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 for as_dir in $PATH
2572 IFS=$as_save_IFS
2573 test -z "$as_dir" && as_dir=.
2574 for ac_exec_ext in '' $ac_executable_extensions; do
2575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576 ac_cv_prog_ac_ct_CC="gcc"
2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 break 2
2580 done
2581 done
2585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2586 if test -n "$ac_ct_CC"; then
2587 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2588 echo "${ECHO_T}$ac_ct_CC" >&6
2589 else
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2594 CC=$ac_ct_CC
2595 else
2596 CC="$ac_cv_prog_CC"
2599 if test -z "$CC"; then
2600 if test -n "$ac_tool_prefix"; then
2601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2602 set dummy ${ac_tool_prefix}cc; ac_word=$2
2603 echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2605 if test "${ac_cv_prog_CC+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 else
2608 if test -n "$CC"; then
2609 ac_cv_prog_CC="$CC" # Let the user override the test.
2610 else
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 for as_dir in $PATH
2614 IFS=$as_save_IFS
2615 test -z "$as_dir" && as_dir=.
2616 for ac_exec_ext in '' $ac_executable_extensions; do
2617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2618 ac_cv_prog_CC="${ac_tool_prefix}cc"
2619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 break 2
2622 done
2623 done
2627 CC=$ac_cv_prog_CC
2628 if test -n "$CC"; then
2629 echo "$as_me:$LINENO: result: $CC" >&5
2630 echo "${ECHO_T}$CC" >&6
2631 else
2632 echo "$as_me:$LINENO: result: no" >&5
2633 echo "${ECHO_T}no" >&6
2637 if test -z "$ac_cv_prog_CC"; then
2638 ac_ct_CC=$CC
2639 # Extract the first word of "cc", so it can be a program name with args.
2640 set dummy cc; ac_word=$2
2641 echo "$as_me:$LINENO: checking for $ac_word" >&5
2642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 else
2646 if test -n "$ac_ct_CC"; then
2647 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2648 else
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 for as_dir in $PATH
2652 IFS=$as_save_IFS
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2656 ac_cv_prog_ac_ct_CC="cc"
2657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 break 2
2660 done
2661 done
2665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2666 if test -n "$ac_ct_CC"; then
2667 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2668 echo "${ECHO_T}$ac_ct_CC" >&6
2669 else
2670 echo "$as_me:$LINENO: result: no" >&5
2671 echo "${ECHO_T}no" >&6
2674 CC=$ac_ct_CC
2675 else
2676 CC="$ac_cv_prog_CC"
2680 if test -z "$CC"; then
2681 # Extract the first word of "cc", so it can be a program name with args.
2682 set dummy cc; ac_word=$2
2683 echo "$as_me:$LINENO: checking for $ac_word" >&5
2684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2685 if test "${ac_cv_prog_CC+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 else
2688 if test -n "$CC"; then
2689 ac_cv_prog_CC="$CC" # Let the user override the test.
2690 else
2691 ac_prog_rejected=no
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH
2695 IFS=$as_save_IFS
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2700 ac_prog_rejected=yes
2701 continue
2703 ac_cv_prog_CC="cc"
2704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 break 2
2707 done
2708 done
2710 if test $ac_prog_rejected = yes; then
2711 # We found a bogon in the path, so make sure we never use it.
2712 set dummy $ac_cv_prog_CC
2713 shift
2714 if test $# != 0; then
2715 # We chose a different compiler from the bogus one.
2716 # However, it has the same basename, so the bogon will be chosen
2717 # first if we set CC to just the basename; use the full file name.
2718 shift
2719 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2724 CC=$ac_cv_prog_CC
2725 if test -n "$CC"; then
2726 echo "$as_me:$LINENO: result: $CC" >&5
2727 echo "${ECHO_T}$CC" >&6
2728 else
2729 echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2734 if test -z "$CC"; then
2735 if test -n "$ac_tool_prefix"; then
2736 for ac_prog in cl
2738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2740 echo "$as_me:$LINENO: checking for $ac_word" >&5
2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2742 if test "${ac_cv_prog_CC+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2744 else
2745 if test -n "$CC"; then
2746 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 else
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2751 IFS=$as_save_IFS
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 break 2
2759 done
2760 done
2764 CC=$ac_cv_prog_CC
2765 if test -n "$CC"; then
2766 echo "$as_me:$LINENO: result: $CC" >&5
2767 echo "${ECHO_T}$CC" >&6
2768 else
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2773 test -n "$CC" && break
2774 done
2776 if test -z "$CC"; then
2777 ac_ct_CC=$CC
2778 for ac_prog in cl
2780 # Extract the first word of "$ac_prog", so it can be a program name with args.
2781 set dummy $ac_prog; ac_word=$2
2782 echo "$as_me:$LINENO: checking for $ac_word" >&5
2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 else
2787 if test -n "$ac_ct_CC"; then
2788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2789 else
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH
2793 IFS=$as_save_IFS
2794 test -z "$as_dir" && as_dir=.
2795 for ac_exec_ext in '' $ac_executable_extensions; do
2796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797 ac_cv_prog_ac_ct_CC="$ac_prog"
2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 break 2
2801 done
2802 done
2806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2807 if test -n "$ac_ct_CC"; then
2808 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2809 echo "${ECHO_T}$ac_ct_CC" >&6
2810 else
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2815 test -n "$ac_ct_CC" && break
2816 done
2818 CC=$ac_ct_CC
2824 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2825 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&5
2828 echo "$as_me: error: no acceptable C compiler found in \$PATH
2829 See \`config.log' for more details." >&2;}
2830 { (exit 1); exit 1; }; }; }
2832 # Provide some information about the compiler.
2833 echo "$as_me:$LINENO:" \
2834 "checking for C compiler version" >&5
2835 ac_compiler=`set X $ac_compile; echo $2`
2836 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2837 (eval $ac_compiler --version </dev/null >&5) 2>&5
2838 ac_status=$?
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }
2841 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2842 (eval $ac_compiler -v </dev/null >&5) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }
2846 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2847 (eval $ac_compiler -V </dev/null >&5) 2>&5
2848 ac_status=$?
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }
2852 cat >conftest.$ac_ext <<_ACEOF
2853 /* confdefs.h. */
2854 _ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2860 main ()
2864 return 0;
2866 _ACEOF
2867 # FIXME: Cleanup?
2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2869 (eval $ac_link) 2>&5
2870 ac_status=$?
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; then
2873 gcc_no_link=no
2874 else
2875 gcc_no_link=yes
2878 if test x$gcc_no_link = xyes; then
2879 # Setting cross_compile will disable run tests; it will
2880 # also disable AC_CHECK_FILE but that's generally
2881 # correct if we can't link.
2882 cross_compiling=yes
2883 EXEEXT=
2884 else
2885 cat >conftest.$ac_ext <<_ACEOF
2886 /* confdefs.h. */
2887 _ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2893 main ()
2897 return 0;
2899 _ACEOF
2900 ac_clean_files_save=$ac_clean_files
2901 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2902 # Try to create an executable without -o first, disregard a.out.
2903 # It will help us diagnose broken compilers, and finding out an intuition
2904 # of exeext.
2905 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2906 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2907 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2908 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2909 (eval $ac_link_default) 2>&5
2910 ac_status=$?
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }; then
2913 # Find the output, starting from the most likely. This scheme is
2914 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2915 # resort.
2917 # Be careful to initialize this variable, since it used to be cached.
2918 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2919 ac_cv_exeext=
2920 # b.out is created by i960 compilers.
2921 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2923 test -f "$ac_file" || continue
2924 case $ac_file in
2925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2927 conftest.$ac_ext )
2928 # This is the source file.
2930 [ab].out )
2931 # We found the default executable, but exeext='' is most
2932 # certainly right.
2933 break;;
2934 *.* )
2935 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 # FIXME: I believe we export ac_cv_exeext for Libtool,
2937 # but it would be cool to find out if it's true. Does anybody
2938 # maintain Libtool? --akim.
2939 export ac_cv_exeext
2940 break;;
2942 break;;
2943 esac
2944 done
2945 else
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2950 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&5
2953 echo "$as_me: error: C compiler cannot create executables
2954 See \`config.log' for more details." >&2;}
2955 { (exit 77); exit 77; }; }; }
2958 ac_exeext=$ac_cv_exeext
2959 echo "$as_me:$LINENO: result: $ac_file" >&5
2960 echo "${ECHO_T}$ac_file" >&6
2962 # Check the compiler produces executables we can run. If not, either
2963 # the compiler is broken, or we cross compile.
2964 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2965 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2966 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2967 # If not cross compiling, check that we can run a simple program.
2968 if test "$cross_compiling" != yes; then
2969 if { ac_try='./$ac_file'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 (eval $ac_try) 2>&5
2972 ac_status=$?
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; }; then
2975 cross_compiling=no
2976 else
2977 if test "$cross_compiling" = maybe; then
2978 cross_compiling=yes
2979 else
2980 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2981 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2982 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2983 If you meant to cross compile, use \`--host'.
2984 See \`config.log' for more details." >&5
2985 echo "$as_me: error: cannot run C compiled programs.
2986 If you meant to cross compile, use \`--host'.
2987 See \`config.log' for more details." >&2;}
2988 { (exit 1); exit 1; }; }; }
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2995 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2996 ac_clean_files=$ac_clean_files_save
2997 # Check the compiler produces executables we can run. If not, either
2998 # the compiler is broken, or we cross compile.
2999 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3000 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3001 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3002 echo "${ECHO_T}$cross_compiling" >&6
3004 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3005 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3007 (eval $ac_link) 2>&5
3008 ac_status=$?
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; then
3011 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3012 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3013 # work properly (i.e., refer to `conftest.exe'), while it won't with
3014 # `rm'.
3015 for ac_file in conftest.exe conftest conftest.*; do
3016 test -f "$ac_file" || continue
3017 case $ac_file in
3018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3019 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3020 export ac_cv_exeext
3021 break;;
3022 * ) break;;
3023 esac
3024 done
3025 else
3026 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3027 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3029 See \`config.log' for more details." >&5
3030 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3031 See \`config.log' for more details." >&2;}
3032 { (exit 1); exit 1; }; }; }
3035 rm -f conftest$ac_cv_exeext
3036 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3037 echo "${ECHO_T}$ac_cv_exeext" >&6
3039 rm -f conftest.$ac_ext
3040 EXEEXT=$ac_cv_exeext
3041 ac_exeext=$EXEEXT
3043 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3044 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3045 if test "${ac_cv_objext+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 else
3048 cat >conftest.$ac_ext <<_ACEOF
3049 /* confdefs.h. */
3050 _ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3056 main ()
3060 return 0;
3062 _ACEOF
3063 rm -f conftest.o conftest.obj
3064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3065 (eval $ac_compile) 2>&5
3066 ac_status=$?
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; then
3069 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3070 case $ac_file in
3071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3072 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3073 break;;
3074 esac
3075 done
3076 else
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3081 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3083 See \`config.log' for more details." >&5
3084 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3085 See \`config.log' for more details." >&2;}
3086 { (exit 1); exit 1; }; }; }
3089 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3091 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3092 echo "${ECHO_T}$ac_cv_objext" >&6
3093 OBJEXT=$ac_cv_objext
3094 ac_objext=$OBJEXT
3095 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3096 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3097 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3098 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 else
3100 cat >conftest.$ac_ext <<_ACEOF
3101 /* confdefs.h. */
3102 _ACEOF
3103 cat confdefs.h >>conftest.$ac_ext
3104 cat >>conftest.$ac_ext <<_ACEOF
3105 /* end confdefs.h. */
3108 main ()
3110 #ifndef __GNUC__
3111 choke me
3112 #endif
3115 return 0;
3117 _ACEOF
3118 rm -f conftest.$ac_objext
3119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120 (eval $ac_compile) 2>conftest.er1
3121 ac_status=$?
3122 grep -v '^ *+' conftest.er1 >conftest.err
3123 rm -f conftest.er1
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try='test -z "$ac_c_werror_flag"
3128 || test ! -s conftest.err'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 (eval $ac_try) 2>&5
3131 ac_status=$?
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; } &&
3134 { ac_try='test -s conftest.$ac_objext'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 (eval $ac_try) 2>&5
3137 ac_status=$?
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3140 ac_compiler_gnu=yes
3141 else
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3145 ac_compiler_gnu=no
3147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3148 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3151 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3152 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3153 GCC=`test $ac_compiler_gnu = yes && echo yes`
3154 ac_test_CFLAGS=${CFLAGS+set}
3155 ac_save_CFLAGS=$CFLAGS
3156 CFLAGS="-g"
3157 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3158 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3159 if test "${ac_cv_prog_cc_g+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 else
3162 cat >conftest.$ac_ext <<_ACEOF
3163 /* confdefs.h. */
3164 _ACEOF
3165 cat confdefs.h >>conftest.$ac_ext
3166 cat >>conftest.$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3170 main ()
3174 return 0;
3176 _ACEOF
3177 rm -f conftest.$ac_objext
3178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3179 (eval $ac_compile) 2>conftest.er1
3180 ac_status=$?
3181 grep -v '^ *+' conftest.er1 >conftest.err
3182 rm -f conftest.er1
3183 cat conftest.err >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } &&
3186 { ac_try='test -z "$ac_c_werror_flag"
3187 || test ! -s conftest.err'
3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 (eval $ac_try) 2>&5
3190 ac_status=$?
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; } &&
3193 { ac_try='test -s conftest.$ac_objext'
3194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 (eval $ac_try) 2>&5
3196 ac_status=$?
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }; }; then
3199 ac_cv_prog_cc_g=yes
3200 else
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 ac_cv_prog_cc_g=no
3206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3208 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3209 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3210 if test "$ac_test_CFLAGS" = set; then
3211 CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213 if test "$GCC" = yes; then
3214 CFLAGS="-g -O2"
3215 else
3216 CFLAGS="-g"
3218 else
3219 if test "$GCC" = yes; then
3220 CFLAGS="-O2"
3221 else
3222 CFLAGS=
3225 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3226 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3227 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 else
3230 ac_cv_prog_cc_stdc=no
3231 ac_save_CC=$CC
3232 cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h. */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3238 #include <stdarg.h>
3239 #include <stdio.h>
3240 #include <sys/types.h>
3241 #include <sys/stat.h>
3242 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3243 struct buf { int x; };
3244 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3245 static char *e (p, i)
3246 char **p;
3247 int i;
3249 return p[i];
3251 static char *f (char * (*g) (char **, int), char **p, ...)
3253 char *s;
3254 va_list v;
3255 va_start (v,p);
3256 s = g (p, va_arg (v,int));
3257 va_end (v);
3258 return s;
3261 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3262 function prototypes and stuff, but not '\xHH' hex character constants.
3263 These don't provoke an error unfortunately, instead are silently treated
3264 as 'x'. The following induces an error, until -std1 is added to get
3265 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3266 array size at least. It's necessary to write '\x00'==0 to get something
3267 that's true only with -std1. */
3268 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3270 int test (int i, double x);
3271 struct s1 {int (*f) (int a);};
3272 struct s2 {int (*f) (double a);};
3273 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 int argc;
3275 char **argv;
3277 main ()
3279 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3281 return 0;
3283 _ACEOF
3284 # Don't try gcc -ansi; that turns off useful extensions and
3285 # breaks some systems' header files.
3286 # AIX -qlanglvl=ansi
3287 # Ultrix and OSF/1 -std1
3288 # HP-UX 10.20 and later -Ae
3289 # HP-UX older versions -Aa -D_HPUX_SOURCE
3290 # SVR4 -Xc -D__EXTENSIONS__
3291 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3293 CC="$ac_save_CC $ac_arg"
3294 rm -f conftest.$ac_objext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3296 (eval $ac_compile) 2>conftest.er1
3297 ac_status=$?
3298 grep -v '^ *+' conftest.er1 >conftest.err
3299 rm -f conftest.er1
3300 cat conftest.err >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try='test -z "$ac_c_werror_flag"
3304 || test ! -s conftest.err'
3305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306 (eval $ac_try) 2>&5
3307 ac_status=$?
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; } &&
3310 { ac_try='test -s conftest.$ac_objext'
3311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3312 (eval $ac_try) 2>&5
3313 ac_status=$?
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; }; then
3316 ac_cv_prog_cc_stdc=$ac_arg
3317 break
3318 else
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3323 rm -f conftest.err conftest.$ac_objext
3324 done
3325 rm -f conftest.$ac_ext conftest.$ac_objext
3326 CC=$ac_save_CC
3330 case "x$ac_cv_prog_cc_stdc" in
3331 x|xno)
3332 echo "$as_me:$LINENO: result: none needed" >&5
3333 echo "${ECHO_T}none needed" >&6 ;;
3335 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3336 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3337 CC="$CC $ac_cv_prog_cc_stdc" ;;
3338 esac
3340 # Some people use a C++ compiler to compile C. Since we use `exit',
3341 # in C++ we need to declare it. In case someone uses the same compiler
3342 # for both compiling C and C++ we need to have the C++ compiler decide
3343 # the declaration of exit, since it's the most demanding environment.
3344 cat >conftest.$ac_ext <<_ACEOF
3345 #ifndef __cplusplus
3346 choke me
3347 #endif
3348 _ACEOF
3349 rm -f conftest.$ac_objext
3350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3351 (eval $ac_compile) 2>conftest.er1
3352 ac_status=$?
3353 grep -v '^ *+' conftest.er1 >conftest.err
3354 rm -f conftest.er1
3355 cat conftest.err >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } &&
3358 { ac_try='test -z "$ac_c_werror_flag"
3359 || test ! -s conftest.err'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 (eval $ac_try) 2>&5
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; } &&
3365 { ac_try='test -s conftest.$ac_objext'
3366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367 (eval $ac_try) 2>&5
3368 ac_status=$?
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; }; then
3371 for ac_declaration in \
3372 '' \
3373 'extern "C" void std::exit (int) throw (); using std::exit;' \
3374 'extern "C" void std::exit (int); using std::exit;' \
3375 'extern "C" void exit (int) throw ();' \
3376 'extern "C" void exit (int);' \
3377 'void exit (int);'
3379 cat >conftest.$ac_ext <<_ACEOF
3380 /* confdefs.h. */
3381 _ACEOF
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3385 $ac_declaration
3386 #include <stdlib.h>
3388 main ()
3390 exit (42);
3392 return 0;
3394 _ACEOF
3395 rm -f conftest.$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397 (eval $ac_compile) 2>conftest.er1
3398 ac_status=$?
3399 grep -v '^ *+' conftest.er1 >conftest.err
3400 rm -f conftest.er1
3401 cat conftest.err >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } &&
3404 { ac_try='test -z "$ac_c_werror_flag"
3405 || test ! -s conftest.err'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 (eval $ac_try) 2>&5
3408 ac_status=$?
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try='test -s conftest.$ac_objext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 (eval $ac_try) 2>&5
3414 ac_status=$?
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3418 else
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3422 continue
3424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3425 cat >conftest.$ac_ext <<_ACEOF
3426 /* confdefs.h. */
3427 _ACEOF
3428 cat confdefs.h >>conftest.$ac_ext
3429 cat >>conftest.$ac_ext <<_ACEOF
3430 /* end confdefs.h. */
3431 $ac_declaration
3433 main ()
3435 exit (42);
3437 return 0;
3439 _ACEOF
3440 rm -f conftest.$ac_objext
3441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3442 (eval $ac_compile) 2>conftest.er1
3443 ac_status=$?
3444 grep -v '^ *+' conftest.er1 >conftest.err
3445 rm -f conftest.er1
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } &&
3449 { ac_try='test -z "$ac_c_werror_flag"
3450 || test ! -s conftest.err'
3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 (eval $ac_try) 2>&5
3453 ac_status=$?
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; } &&
3456 { ac_try='test -s conftest.$ac_objext'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 (eval $ac_try) 2>&5
3459 ac_status=$?
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; }; then
3462 break
3463 else
3464 echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3469 done
3470 rm -f conftest*
3471 if test -n "$ac_declaration"; then
3472 echo '#ifdef __cplusplus' >>confdefs.h
3473 echo $ac_declaration >>confdefs.h
3474 echo '#endif' >>confdefs.h
3477 else
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3483 ac_ext=c
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489 ac_ext=cc
3490 ac_cpp='$CXXCPP $CPPFLAGS'
3491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3494 if test -n "$ac_tool_prefix"; then
3495 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3497 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3498 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3499 echo "$as_me:$LINENO: checking for $ac_word" >&5
3500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3501 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 else
3504 if test -n "$CXX"; then
3505 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3514 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 break 2
3518 done
3519 done
3523 CXX=$glibcxx_cv_prog_CXX
3524 if test -n "$CXX"; then
3525 echo "$as_me:$LINENO: result: $CXX" >&5
3526 echo "${ECHO_T}$CXX" >&6
3527 else
3528 echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6
3532 test -n "$CXX" && break
3533 done
3535 if test -z "$CXX"; then
3536 ac_ct_CXX=$CXX
3537 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3539 # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy $ac_prog; ac_word=$2
3541 echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3543 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 else
3546 if test -n "$ac_ct_CXX"; then
3547 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3548 else
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3552 IFS=$as_save_IFS
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_ac_ct_CXX="$ac_prog"
3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 break 2
3560 done
3561 done
3565 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3566 if test -n "$ac_ct_CXX"; then
3567 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3568 echo "${ECHO_T}$ac_ct_CXX" >&6
3569 else
3570 echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3574 test -n "$ac_ct_CXX" && break
3575 done
3576 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3578 CXX=$ac_ct_CXX
3582 # Provide some information about the compiler.
3583 echo "$as_me:$LINENO:" \
3584 "checking for C++ compiler version" >&5
3585 ac_compiler=`set X $ac_compile; echo $2`
3586 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3587 (eval $ac_compiler --version </dev/null >&5) 2>&5
3588 ac_status=$?
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }
3591 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3592 (eval $ac_compiler -v </dev/null >&5) 2>&5
3593 ac_status=$?
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }
3596 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3597 (eval $ac_compiler -V </dev/null >&5) 2>&5
3598 ac_status=$?
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }
3602 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3603 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3604 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 else
3607 cat >conftest.$ac_ext <<_ACEOF
3608 /* confdefs.h. */
3609 _ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3615 main ()
3617 #ifndef __GNUC__
3618 choke me
3619 #endif
3622 return 0;
3624 _ACEOF
3625 rm -f conftest.$ac_objext
3626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3627 (eval $ac_compile) 2>conftest.er1
3628 ac_status=$?
3629 grep -v '^ *+' conftest.er1 >conftest.err
3630 rm -f conftest.er1
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } &&
3634 { ac_try='test -z "$ac_cxx_werror_flag"
3635 || test ! -s conftest.err'
3636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3637 (eval $ac_try) 2>&5
3638 ac_status=$?
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); }; } &&
3641 { ac_try='test -s conftest.$ac_objext'
3642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 (eval $ac_try) 2>&5
3644 ac_status=$?
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); }; }; then
3647 ac_compiler_gnu=yes
3648 else
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 ac_compiler_gnu=no
3654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3655 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3658 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3659 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3660 GXX=`test $ac_compiler_gnu = yes && echo yes`
3661 ac_test_CXXFLAGS=${CXXFLAGS+set}
3662 ac_save_CXXFLAGS=$CXXFLAGS
3663 CXXFLAGS="-g"
3664 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3665 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3666 if test "${ac_cv_prog_cxx_g+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 else
3669 cat >conftest.$ac_ext <<_ACEOF
3670 /* confdefs.h. */
3671 _ACEOF
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3677 main ()
3681 return 0;
3683 _ACEOF
3684 rm -f conftest.$ac_objext
3685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3686 (eval $ac_compile) 2>conftest.er1
3687 ac_status=$?
3688 grep -v '^ *+' conftest.er1 >conftest.err
3689 rm -f conftest.er1
3690 cat conftest.err >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try='test -z "$ac_cxx_werror_flag"
3694 || test ! -s conftest.err'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 (eval $ac_try) 2>&5
3697 ac_status=$?
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; } &&
3700 { ac_try='test -s conftest.$ac_objext'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 (eval $ac_try) 2>&5
3703 ac_status=$?
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; }; then
3706 ac_cv_prog_cxx_g=yes
3707 else
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 ac_cv_prog_cxx_g=no
3713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3715 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3716 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3717 if test "$ac_test_CXXFLAGS" = set; then
3718 CXXFLAGS=$ac_save_CXXFLAGS
3719 elif test $ac_cv_prog_cxx_g = yes; then
3720 if test "$GXX" = yes; then
3721 CXXFLAGS="-g -O2"
3722 else
3723 CXXFLAGS="-g"
3725 else
3726 if test "$GXX" = yes; then
3727 CXXFLAGS="-O2"
3728 else
3729 CXXFLAGS=
3732 for ac_declaration in \
3733 '' \
3734 'extern "C" void std::exit (int) throw (); using std::exit;' \
3735 'extern "C" void std::exit (int); using std::exit;' \
3736 'extern "C" void exit (int) throw ();' \
3737 'extern "C" void exit (int);' \
3738 'void exit (int);'
3740 cat >conftest.$ac_ext <<_ACEOF
3741 /* confdefs.h. */
3742 _ACEOF
3743 cat confdefs.h >>conftest.$ac_ext
3744 cat >>conftest.$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 $ac_declaration
3747 #include <stdlib.h>
3749 main ()
3751 exit (42);
3753 return 0;
3755 _ACEOF
3756 rm -f conftest.$ac_objext
3757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3758 (eval $ac_compile) 2>conftest.er1
3759 ac_status=$?
3760 grep -v '^ *+' conftest.er1 >conftest.err
3761 rm -f conftest.er1
3762 cat conftest.err >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); } &&
3765 { ac_try='test -z "$ac_cxx_werror_flag"
3766 || test ! -s conftest.err'
3767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 (eval $ac_try) 2>&5
3769 ac_status=$?
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); }; } &&
3772 { ac_try='test -s conftest.$ac_objext'
3773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3774 (eval $ac_try) 2>&5
3775 ac_status=$?
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; }; then
3779 else
3780 echo "$as_me: failed program was:" >&5
3781 sed 's/^/| /' conftest.$ac_ext >&5
3783 continue
3785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3786 cat >conftest.$ac_ext <<_ACEOF
3787 /* confdefs.h. */
3788 _ACEOF
3789 cat confdefs.h >>conftest.$ac_ext
3790 cat >>conftest.$ac_ext <<_ACEOF
3791 /* end confdefs.h. */
3792 $ac_declaration
3794 main ()
3796 exit (42);
3798 return 0;
3800 _ACEOF
3801 rm -f conftest.$ac_objext
3802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3803 (eval $ac_compile) 2>conftest.er1
3804 ac_status=$?
3805 grep -v '^ *+' conftest.er1 >conftest.err
3806 rm -f conftest.er1
3807 cat conftest.err >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } &&
3810 { ac_try='test -z "$ac_cxx_werror_flag"
3811 || test ! -s conftest.err'
3812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 (eval $ac_try) 2>&5
3814 ac_status=$?
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); }; } &&
3817 { ac_try='test -s conftest.$ac_objext'
3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 (eval $ac_try) 2>&5
3820 ac_status=$?
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); }; }; then
3823 break
3824 else
3825 echo "$as_me: failed program was:" >&5
3826 sed 's/^/| /' conftest.$ac_ext >&5
3829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3830 done
3831 rm -f conftest*
3832 if test -n "$ac_declaration"; then
3833 echo '#ifdef __cplusplus' >>confdefs.h
3834 echo $ac_declaration >>confdefs.h
3835 echo '#endif' >>confdefs.h
3838 ac_ext=c
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844 CXXFLAGS="$save_CXXFLAGS"
3849 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3850 # available). Uncomment the next line to force a particular method.
3851 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3852 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3853 LN_S=$as_ln_s
3854 if test "$LN_S" = "ln -s"; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3857 else
3858 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3859 echo "${ECHO_T}no, using $LN_S" >&6
3862 #LN_S='cp -p'
3864 if test -n "$ac_tool_prefix"; then
3865 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3866 set dummy ${ac_tool_prefix}as; ac_word=$2
3867 echo "$as_me:$LINENO: checking for $ac_word" >&5
3868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3869 if test "${ac_cv_prog_AS+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 else
3872 if test -n "$AS"; then
3873 ac_cv_prog_AS="$AS" # Let the user override the test.
3874 else
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876 for as_dir in $PATH
3878 IFS=$as_save_IFS
3879 test -z "$as_dir" && as_dir=.
3880 for ac_exec_ext in '' $ac_executable_extensions; do
3881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3882 ac_cv_prog_AS="${ac_tool_prefix}as"
3883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3884 break 2
3886 done
3887 done
3891 AS=$ac_cv_prog_AS
3892 if test -n "$AS"; then
3893 echo "$as_me:$LINENO: result: $AS" >&5
3894 echo "${ECHO_T}$AS" >&6
3895 else
3896 echo "$as_me:$LINENO: result: no" >&5
3897 echo "${ECHO_T}no" >&6
3901 if test -z "$ac_cv_prog_AS"; then
3902 ac_ct_AS=$AS
3903 # Extract the first word of "as", so it can be a program name with args.
3904 set dummy as; ac_word=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 else
3910 if test -n "$ac_ct_AS"; then
3911 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3916 IFS=$as_save_IFS
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_ac_ct_AS="as"
3921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 break 2
3924 done
3925 done
3929 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3930 if test -n "$ac_ct_AS"; then
3931 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3932 echo "${ECHO_T}$ac_ct_AS" >&6
3933 else
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3938 AS=$ac_ct_AS
3939 else
3940 AS="$ac_cv_prog_AS"
3943 if test -n "$ac_tool_prefix"; then
3944 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3945 set dummy ${ac_tool_prefix}ar; ac_word=$2
3946 echo "$as_me:$LINENO: checking for $ac_word" >&5
3947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3948 if test "${ac_cv_prog_AR+set}" = set; then
3949 echo $ECHO_N "(cached) $ECHO_C" >&6
3950 else
3951 if test -n "$AR"; then
3952 ac_cv_prog_AR="$AR" # Let the user override the test.
3953 else
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3957 IFS=$as_save_IFS
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_prog_AR="${ac_tool_prefix}ar"
3962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 break 2
3965 done
3966 done
3970 AR=$ac_cv_prog_AR
3971 if test -n "$AR"; then
3972 echo "$as_me:$LINENO: result: $AR" >&5
3973 echo "${ECHO_T}$AR" >&6
3974 else
3975 echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3980 if test -z "$ac_cv_prog_AR"; then
3981 ac_ct_AR=$AR
3982 # Extract the first word of "ar", so it can be a program name with args.
3983 set dummy ar; ac_word=$2
3984 echo "$as_me:$LINENO: checking for $ac_word" >&5
3985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3986 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 else
3989 if test -n "$ac_ct_AR"; then
3990 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3991 else
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3995 IFS=$as_save_IFS
3996 test -z "$as_dir" && as_dir=.
3997 for ac_exec_ext in '' $ac_executable_extensions; do
3998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999 ac_cv_prog_ac_ct_AR="ar"
4000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 break 2
4003 done
4004 done
4008 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4009 if test -n "$ac_ct_AR"; then
4010 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4011 echo "${ECHO_T}$ac_ct_AR" >&6
4012 else
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4017 AR=$ac_ct_AR
4018 else
4019 AR="$ac_cv_prog_AR"
4022 if test -n "$ac_tool_prefix"; then
4023 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4024 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4025 echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4027 if test "${ac_cv_prog_RANLIB+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 else
4030 if test -n "$RANLIB"; then
4031 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 break 2
4044 done
4045 done
4049 RANLIB=$ac_cv_prog_RANLIB
4050 if test -n "$RANLIB"; then
4051 echo "$as_me:$LINENO: result: $RANLIB" >&5
4052 echo "${ECHO_T}$RANLIB" >&6
4053 else
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4059 if test -z "$ac_cv_prog_RANLIB"; then
4060 ac_ct_RANLIB=$RANLIB
4061 # Extract the first word of "ranlib", so it can be a program name with args.
4062 set dummy ranlib; ac_word=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 else
4068 if test -n "$ac_ct_RANLIB"; then
4069 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4074 IFS=$as_save_IFS
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_ac_ct_RANLIB="ranlib"
4079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 break 2
4082 done
4083 done
4085 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4088 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4089 if test -n "$ac_ct_RANLIB"; then
4090 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4091 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4092 else
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4097 RANLIB=$ac_ct_RANLIB
4098 else
4099 RANLIB="$ac_cv_prog_RANLIB"
4103 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4104 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4105 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4106 if test "${enable_maintainer_mode+set}" = set; then
4107 enableval="$enable_maintainer_mode"
4108 USE_MAINTAINER_MODE=$enableval
4109 else
4110 USE_MAINTAINER_MODE=no
4112 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4113 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4116 if test $USE_MAINTAINER_MODE = yes; then
4117 MAINTAINER_MODE_TRUE=
4118 MAINTAINER_MODE_FALSE='#'
4119 else
4120 MAINTAINER_MODE_TRUE='#'
4121 MAINTAINER_MODE_FALSE=
4124 MAINT=$MAINTAINER_MODE_TRUE
4128 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4129 # which are themselves conditionally expanded.
4130 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4131 ## other macros from doing the same. This should be automated.) -pme
4132 need_libmath=no
4134 # Check for uClibc since Linux platforms use different configuration
4135 # directories depending on the C library in use.
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4143 #include <stdio.h>
4144 #if __UCLIBC__
4145 _using_uclibc
4146 #endif
4148 _ACEOF
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4151 uclibc=yes
4152 else
4153 uclibc=no
4155 rm -f conftest*
4158 # Find platform-specific directories containing configuration info.
4159 # Also possibly modify flags used elsewhere, as needed by the platform.
4161 . $glibcxx_srcdir/configure.host
4162 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4163 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4164 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4165 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4169 if test "x${with_newlib}" != "xyes"; then
4170 enable_dlopen=yes
4175 case `pwd` in
4176 *\ * | *\ *)
4177 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4178 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4179 esac
4183 macro_version='2.2.6'
4184 macro_revision='1.3012'
4198 ltmain="$ac_aux_dir/ltmain.sh"
4200 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4201 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4202 if test "${lt_cv_path_SED+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205 # Loop through the user's path and test for sed and gsed.
4206 # Then use that list of sed's as ones to test for truncation.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for lt_ac_prog in sed gsed; do
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4215 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4217 done
4218 done
4219 done
4220 IFS=$as_save_IFS
4221 lt_ac_max=0
4222 lt_ac_count=0
4223 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4224 # along with /bin/sed that truncates output.
4225 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4226 test ! -f $lt_ac_sed && continue
4227 cat /dev/null > conftest.in
4228 lt_ac_count=0
4229 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4230 # Check for GNU sed and select it if it is found.
4231 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4232 lt_cv_path_SED=$lt_ac_sed
4233 break
4235 while true; do
4236 cat conftest.in conftest.in >conftest.tmp
4237 mv conftest.tmp conftest.in
4238 cp conftest.in conftest.nl
4239 echo >>conftest.nl
4240 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4241 cmp -s conftest.out conftest.nl || break
4242 # 10000 chars as input seems more than enough
4243 test $lt_ac_count -gt 10 && break
4244 lt_ac_count=`expr $lt_ac_count + 1`
4245 if test $lt_ac_count -gt $lt_ac_max; then
4246 lt_ac_max=$lt_ac_count
4247 lt_cv_path_SED=$lt_ac_sed
4249 done
4250 done
4254 SED=$lt_cv_path_SED
4256 echo "$as_me:$LINENO: result: $SED" >&5
4257 echo "${ECHO_T}$SED" >&6
4259 test -z "$SED" && SED=sed
4260 Xsed="$SED -e 1s/^X//"
4272 echo "$as_me:$LINENO: checking for fgrep" >&5
4273 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4274 if test "${ac_cv_prog_fgrep+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 else
4277 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4278 then ac_cv_prog_fgrep='grep -F'
4279 else ac_cv_prog_fgrep='fgrep'
4282 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4283 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4284 FGREP=$ac_cv_prog_fgrep
4287 test -z "$GREP" && GREP=grep
4307 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4308 if test "${with_gnu_ld+set}" = set; then
4309 withval="$with_gnu_ld"
4310 test "$withval" = no || with_gnu_ld=yes
4311 else
4312 with_gnu_ld=no
4314 ac_prog=ld
4315 if test "$GCC" = yes; then
4316 # Check if gcc -print-prog-name=ld gives a path.
4317 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4318 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4319 case $host in
4320 *-*-mingw*)
4321 # gcc leaves a trailing carriage return which upsets mingw
4322 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4324 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4325 esac
4326 case $ac_prog in
4327 # Accept absolute paths.
4328 [\\/]* | ?:[\\/]*)
4329 re_direlt='/[^/][^/]*/\.\./'
4330 # Canonicalize the pathname of ld
4331 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4332 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4333 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4334 done
4335 test -z "$LD" && LD="$ac_prog"
4338 # If it fails, then pretend we aren't using GCC.
4339 ac_prog=ld
4342 # If it is relative, then search for the first ld in PATH.
4343 with_gnu_ld=unknown
4345 esac
4346 elif test "$with_gnu_ld" = yes; then
4347 echo "$as_me:$LINENO: checking for GNU ld" >&5
4348 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4349 else
4350 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4351 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4353 if test "${lt_cv_path_LD+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 else
4356 if test -z "$LD"; then
4357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4358 for ac_dir in $PATH; do
4359 IFS="$lt_save_ifs"
4360 test -z "$ac_dir" && ac_dir=.
4361 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4362 lt_cv_path_LD="$ac_dir/$ac_prog"
4363 # Check to see if the program is GNU ld. I'd rather use --version,
4364 # but apparently some variants of GNU ld only accept -v.
4365 # Break only if it was the GNU/non-GNU ld that we prefer.
4366 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4367 *GNU* | *'with BFD'*)
4368 test "$with_gnu_ld" != no && break
4371 test "$with_gnu_ld" != yes && break
4373 esac
4375 done
4376 IFS="$lt_save_ifs"
4377 else
4378 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4382 LD="$lt_cv_path_LD"
4383 if test -n "$LD"; then
4384 echo "$as_me:$LINENO: result: $LD" >&5
4385 echo "${ECHO_T}$LD" >&6
4386 else
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4390 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4391 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4392 { (exit 1); exit 1; }; }
4393 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4394 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4395 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4399 case `$LD -v 2>&1 </dev/null` in
4400 *GNU* | *'with BFD'*)
4401 lt_cv_prog_gnu_ld=yes
4404 lt_cv_prog_gnu_ld=no
4406 esac
4408 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4409 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4410 with_gnu_ld=$lt_cv_prog_gnu_ld
4420 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4421 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4422 if test "${lt_cv_path_NM+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 else
4425 if test -n "$NM"; then
4426 # Let the user override the test.
4427 lt_cv_path_NM="$NM"
4428 else
4429 lt_nm_to_check="${ac_tool_prefix}nm"
4430 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4431 lt_nm_to_check="$lt_nm_to_check nm"
4433 for lt_tmp_nm in $lt_nm_to_check; do
4434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4435 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4436 IFS="$lt_save_ifs"
4437 test -z "$ac_dir" && ac_dir=.
4438 tmp_nm="$ac_dir/$lt_tmp_nm"
4439 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4440 # Check to see if the nm accepts a BSD-compat flag.
4441 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4442 # nm: unknown option "B" ignored
4443 # Tru64's nm complains that /dev/null is an invalid object file
4444 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4445 */dev/null* | *'Invalid file or object type'*)
4446 lt_cv_path_NM="$tmp_nm -B"
4447 break
4450 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4451 */dev/null*)
4452 lt_cv_path_NM="$tmp_nm -p"
4453 break
4456 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4457 continue # so that we can try to find one that supports BSD flags
4459 esac
4461 esac
4463 done
4464 IFS="$lt_save_ifs"
4465 done
4466 : ${lt_cv_path_NM=no}
4469 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4470 echo "${ECHO_T}$lt_cv_path_NM" >&6
4471 if test "$lt_cv_path_NM" != "no"; then
4472 NM="$lt_cv_path_NM"
4473 else
4474 # Didn't find any BSD compatible name lister, look for dumpbin.
4475 if test -n "$ac_tool_prefix"; then
4476 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480 echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4482 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 if test -n "$DUMPBIN"; then
4486 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4504 DUMPBIN=$ac_cv_prog_DUMPBIN
4505 if test -n "$DUMPBIN"; then
4506 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4507 echo "${ECHO_T}$DUMPBIN" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4513 test -n "$DUMPBIN" && break
4514 done
4516 if test -z "$DUMPBIN"; then
4517 ac_ct_DUMPBIN=$DUMPBIN
4518 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4520 # Extract the first word of "$ac_prog", so it can be a program name with args.
4521 set dummy $ac_prog; ac_word=$2
4522 echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4524 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 else
4527 if test -n "$ac_ct_DUMPBIN"; then
4528 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4529 else
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH
4533 IFS=$as_save_IFS
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 break 2
4541 done
4542 done
4546 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4547 if test -n "$ac_ct_DUMPBIN"; then
4548 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4549 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4550 else
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4555 test -n "$ac_ct_DUMPBIN" && break
4556 done
4557 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4559 DUMPBIN=$ac_ct_DUMPBIN
4563 if test "$DUMPBIN" != ":"; then
4564 NM="$DUMPBIN"
4567 test -z "$NM" && NM=nm
4574 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4575 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4576 if test "${lt_cv_nm_interface+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 else
4579 lt_cv_nm_interface="BSD nm"
4580 echo "int some_variable = 0;" > conftest.$ac_ext
4581 (eval echo "\"\$as_me:4581: $ac_compile\"" >&5)
4582 (eval "$ac_compile" 2>conftest.err)
4583 cat conftest.err >&5
4584 (eval echo "\"\$as_me:4584: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4585 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4586 cat conftest.err >&5
4587 (eval echo "\"\$as_me:4587: output\"" >&5)
4588 cat conftest.out >&5
4589 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4590 lt_cv_nm_interface="MS dumpbin"
4592 rm -f conftest*
4594 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4595 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4597 # find the maximum length of command line arguments
4598 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4599 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4600 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 else
4604 teststring="ABCD"
4606 case $build_os in
4607 msdosdjgpp*)
4608 # On DJGPP, this test can blow up pretty badly due to problems in libc
4609 # (any single argument exceeding 2000 bytes causes a buffer overrun
4610 # during glob expansion). Even if it were fixed, the result of this
4611 # check would be larger than it should be.
4612 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4615 gnu*)
4616 # Under GNU Hurd, this test is not required because there is
4617 # no limit to the length of command line arguments.
4618 # Libtool will interpret -1 as no limit whatsoever
4619 lt_cv_sys_max_cmd_len=-1;
4622 cygwin* | mingw* | cegcc*)
4623 # On Win9x/ME, this test blows up -- it succeeds, but takes
4624 # about 5 minutes as the teststring grows exponentially.
4625 # Worse, since 9x/ME are not pre-emptively multitasking,
4626 # you end up with a "frozen" computer, even though with patience
4627 # the test eventually succeeds (with a max line length of 256k).
4628 # Instead, let's just punt: use the minimum linelength reported by
4629 # all of the supported platforms: 8192 (on NT/2K/XP).
4630 lt_cv_sys_max_cmd_len=8192;
4633 amigaos*)
4634 # On AmigaOS with pdksh, this test takes hours, literally.
4635 # So we just punt and use a minimum line length of 8192.
4636 lt_cv_sys_max_cmd_len=8192;
4639 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4640 # This has been around since 386BSD, at least. Likely further.
4641 if test -x /sbin/sysctl; then
4642 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4643 elif test -x /usr/sbin/sysctl; then
4644 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4645 else
4646 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4648 # And add a safety zone
4649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4653 interix*)
4654 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4655 lt_cv_sys_max_cmd_len=196608
4658 osf*)
4659 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4660 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4661 # nice to cause kernel panics so lets avoid the loop below.
4662 # First set a reasonable default.
4663 lt_cv_sys_max_cmd_len=16384
4665 if test -x /sbin/sysconfig; then
4666 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4667 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4668 esac
4671 sco3.2v5*)
4672 lt_cv_sys_max_cmd_len=102400
4674 sysv5* | sco5v6* | sysv4.2uw2*)
4675 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4676 if test -n "$kargmax"; then
4677 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4678 else
4679 lt_cv_sys_max_cmd_len=32768
4683 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4684 if test -n "$lt_cv_sys_max_cmd_len"; then
4685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4687 else
4688 # Make teststring a little bigger before we do anything with it.
4689 # a 1K string should be a reasonable start.
4690 for i in 1 2 3 4 5 6 7 8 ; do
4691 teststring=$teststring$teststring
4692 done
4693 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4694 # If test is not a shell built-in, we'll probably end up computing a
4695 # maximum length that is only half of the actual maximum length, but
4696 # we can't tell.
4697 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4698 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4699 test $i != 17 # 1/2 MB should be enough
4701 i=`expr $i + 1`
4702 teststring=$teststring$teststring
4703 done
4704 # Only check the string length outside the loop.
4705 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4706 teststring=
4707 # Add a significant safety factor because C++ compilers can tack on
4708 # massive amounts of additional arguments before passing them to the
4709 # linker. It appears as though 1/2 is a usable value.
4710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4713 esac
4717 if test -n $lt_cv_sys_max_cmd_len ; then
4718 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4719 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4720 else
4721 echo "$as_me:$LINENO: result: none" >&5
4722 echo "${ECHO_T}none" >&6
4724 max_cmd_len=$lt_cv_sys_max_cmd_len
4731 : ${CP="cp -f"}
4732 : ${MV="mv -f"}
4733 : ${RM="rm -f"}
4735 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4736 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4737 # Try some XSI features
4738 xsi_shell=no
4739 ( _lt_dummy="a/b/c"
4740 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4741 = c,a/b,, \
4742 && eval 'test $(( 1 + 1 )) -eq 2 \
4743 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4744 && xsi_shell=yes
4745 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4746 echo "${ECHO_T}$xsi_shell" >&6
4749 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4750 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4751 lt_shell_append=no
4752 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4753 >/dev/null 2>&1 \
4754 && lt_shell_append=yes
4755 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4756 echo "${ECHO_T}$lt_shell_append" >&6
4759 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4760 lt_unset=unset
4761 else
4762 lt_unset=false
4769 # test EBCDIC or ASCII
4770 case `echo X|tr X '\101'` in
4771 A) # ASCII based system
4772 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4773 lt_SP2NL='tr \040 \012'
4774 lt_NL2SP='tr \015\012 \040\040'
4776 *) # EBCDIC based system
4777 lt_SP2NL='tr \100 \n'
4778 lt_NL2SP='tr \r\n \100\100'
4780 esac
4790 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4791 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4792 if test "${lt_cv_ld_reload_flag+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 else
4795 lt_cv_ld_reload_flag='-r'
4797 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4798 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4799 reload_flag=$lt_cv_ld_reload_flag
4800 case $reload_flag in
4801 "" | " "*) ;;
4802 *) reload_flag=" $reload_flag" ;;
4803 esac
4804 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4805 case $host_os in
4806 darwin*)
4807 if test "$GCC" = yes; then
4808 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4809 else
4810 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4813 esac
4823 if test -n "$ac_tool_prefix"; then
4824 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4825 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4826 echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4828 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831 if test -n "$OBJDUMP"; then
4832 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4850 OBJDUMP=$ac_cv_prog_OBJDUMP
4851 if test -n "$OBJDUMP"; then
4852 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4853 echo "${ECHO_T}$OBJDUMP" >&6
4854 else
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4860 if test -z "$ac_cv_prog_OBJDUMP"; then
4861 ac_ct_OBJDUMP=$OBJDUMP
4862 # Extract the first word of "objdump", so it can be a program name with args.
4863 set dummy objdump; ac_word=$2
4864 echo "$as_me:$LINENO: checking for $ac_word" >&5
4865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4866 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 else
4869 if test -n "$ac_ct_OBJDUMP"; then
4870 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4875 IFS=$as_save_IFS
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 break 2
4883 done
4884 done
4886 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4889 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4890 if test -n "$ac_ct_OBJDUMP"; then
4891 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4892 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4893 else
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4898 OBJDUMP=$ac_ct_OBJDUMP
4899 else
4900 OBJDUMP="$ac_cv_prog_OBJDUMP"
4903 test -z "$OBJDUMP" && OBJDUMP=objdump
4913 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4914 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4915 if test "${lt_cv_deplibs_check_method+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 else
4918 lt_cv_file_magic_cmd='$MAGIC_CMD'
4919 lt_cv_file_magic_test_file=
4920 lt_cv_deplibs_check_method='unknown'
4921 # Need to set the preceding variable on all platforms that support
4922 # interlibrary dependencies.
4923 # 'none' -- dependencies not supported.
4924 # `unknown' -- same as none, but documents that we really don't know.
4925 # 'pass_all' -- all dependencies passed with no checks.
4926 # 'test_compile' -- check by making test program.
4927 # 'file_magic [[regex]]' -- check by looking for files in library path
4928 # which responds to the $file_magic_cmd with a given extended regex.
4929 # If you have `file' or equivalent on your system and you're not sure
4930 # whether `pass_all' will *always* work, you probably want this one.
4932 case $host_os in
4933 aix[4-9]*)
4934 lt_cv_deplibs_check_method=pass_all
4937 beos*)
4938 lt_cv_deplibs_check_method=pass_all
4941 bsdi[45]*)
4942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4943 lt_cv_file_magic_cmd='/usr/bin/file -L'
4944 lt_cv_file_magic_test_file=/shlib/libc.so
4947 cygwin*)
4948 # func_win32_libid is a shell function defined in ltmain.sh
4949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4950 lt_cv_file_magic_cmd='func_win32_libid'
4953 mingw* | pw32*)
4954 # Base MSYS/MinGW do not provide the 'file' command needed by
4955 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4956 # unless we find 'file', for example because we are cross-compiling.
4957 if ( file / ) >/dev/null 2>&1; then
4958 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4959 lt_cv_file_magic_cmd='func_win32_libid'
4960 else
4961 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4962 lt_cv_file_magic_cmd='$OBJDUMP -f'
4966 cegcc)
4967 # use the weaker test based on 'objdump'. See mingw*.
4968 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4969 lt_cv_file_magic_cmd='$OBJDUMP -f'
4972 darwin* | rhapsody*)
4973 lt_cv_deplibs_check_method=pass_all
4976 freebsd* | dragonfly*)
4977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4978 case $host_cpu in
4979 i*86 )
4980 # Not sure whether the presence of OpenBSD here was a mistake.
4981 # Let's accept both of them until this is cleared up.
4982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4983 lt_cv_file_magic_cmd=/usr/bin/file
4984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4986 esac
4987 else
4988 lt_cv_deplibs_check_method=pass_all
4992 gnu*)
4993 lt_cv_deplibs_check_method=pass_all
4996 hpux10.20* | hpux11*)
4997 lt_cv_file_magic_cmd=/usr/bin/file
4998 case $host_cpu in
4999 ia64*)
5000 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5001 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5003 hppa*64*)
5004 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]'
5005 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5009 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5011 esac
5014 interix[3-9]*)
5015 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5019 irix5* | irix6* | nonstopux*)
5020 case $LD in
5021 *-32|*"-32 ") libmagic=32-bit;;
5022 *-n32|*"-n32 ") libmagic=N32;;
5023 *-64|*"-64 ") libmagic=64-bit;;
5024 *) libmagic=never-match;;
5025 esac
5026 lt_cv_deplibs_check_method=pass_all
5029 # This must be Linux ELF.
5030 linux* | k*bsd*-gnu)
5031 lt_cv_deplibs_check_method=pass_all
5034 netbsd*)
5035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5037 else
5038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5042 newos6*)
5043 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5044 lt_cv_file_magic_cmd=/usr/bin/file
5045 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5048 *nto* | *qnx*)
5049 lt_cv_deplibs_check_method=pass_all
5052 openbsd*)
5053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5055 else
5056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5060 osf3* | osf4* | osf5*)
5061 lt_cv_deplibs_check_method=pass_all
5064 rdos*)
5065 lt_cv_deplibs_check_method=pass_all
5068 solaris*)
5069 lt_cv_deplibs_check_method=pass_all
5072 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5073 lt_cv_deplibs_check_method=pass_all
5076 sysv4 | sysv4.3*)
5077 case $host_vendor in
5078 motorola)
5079 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]'
5080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5082 ncr)
5083 lt_cv_deplibs_check_method=pass_all
5085 sequent)
5086 lt_cv_file_magic_cmd='/bin/file'
5087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5089 sni)
5090 lt_cv_file_magic_cmd='/bin/file'
5091 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5092 lt_cv_file_magic_test_file=/lib/libc.so
5094 siemens)
5095 lt_cv_deplibs_check_method=pass_all
5098 lt_cv_deplibs_check_method=pass_all
5100 esac
5103 tpf*)
5104 lt_cv_deplibs_check_method=pass_all
5106 esac
5109 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5110 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5111 file_magic_cmd=$lt_cv_file_magic_cmd
5112 deplibs_check_method=$lt_cv_deplibs_check_method
5113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ar; ac_word=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_AR+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 else
5134 if test -n "$AR"; then
5135 ac_cv_prog_AR="$AR" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_AR="${ac_tool_prefix}ar"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5153 AR=$ac_cv_prog_AR
5154 if test -n "$AR"; then
5155 echo "$as_me:$LINENO: result: $AR" >&5
5156 echo "${ECHO_T}$AR" >&6
5157 else
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5163 if test -z "$ac_cv_prog_AR"; then
5164 ac_ct_AR=$AR
5165 # Extract the first word of "ar", so it can be a program name with args.
5166 set dummy ar; ac_word=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172 if test -n "$ac_ct_AR"; then
5173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_AR="ar"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5193 if test -n "$ac_ct_AR"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5195 echo "${ECHO_T}$ac_ct_AR" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 AR=$ac_ct_AR
5202 else
5203 AR="$ac_cv_prog_AR"
5206 test -z "$AR" && AR=ar
5207 test -z "$AR_FLAGS" && AR_FLAGS=cru
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}strip; ac_word=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 else
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5246 STRIP=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5250 else
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5257 ac_ct_STRIP=$STRIP
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip; ac_word=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 else
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5294 STRIP=$ac_ct_STRIP
5295 else
5296 STRIP="$ac_cv_prog_STRIP"
5299 test -z "$STRIP" && STRIP=:
5306 if test -n "$ac_tool_prefix"; then
5307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5309 echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5311 if test "${ac_cv_prog_RANLIB+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 else
5314 if test -n "$RANLIB"; then
5315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5316 else
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 break 2
5328 done
5329 done
5333 RANLIB=$ac_cv_prog_RANLIB
5334 if test -n "$RANLIB"; then
5335 echo "$as_me:$LINENO: result: $RANLIB" >&5
5336 echo "${ECHO_T}$RANLIB" >&6
5337 else
5338 echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6
5343 if test -z "$ac_cv_prog_RANLIB"; then
5344 ac_ct_RANLIB=$RANLIB
5345 # Extract the first word of "ranlib", so it can be a program name with args.
5346 set dummy ranlib; ac_word=$2
5347 echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352 if test -n "$ac_ct_RANLIB"; then
5353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_RANLIB="ranlib"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5373 if test -n "$ac_ct_RANLIB"; then
5374 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5381 RANLIB=$ac_ct_RANLIB
5382 else
5383 RANLIB="$ac_cv_prog_RANLIB"
5386 test -z "$RANLIB" && RANLIB=:
5393 # Determine commands to create old-style static archives.
5394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5395 old_postinstall_cmds='chmod 644 $oldlib'
5396 old_postuninstall_cmds=
5398 if test -n "$RANLIB"; then
5399 case $host_os in
5400 openbsd*)
5401 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5404 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5406 esac
5407 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5443 # If no C compiler was specified, use CC.
5444 LTCC=${LTCC-"$CC"}
5446 # If no C compiler flags were specified, use CFLAGS.
5447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5449 # Allow CC to be a program name with arguments.
5450 compiler=$CC
5453 # Check for command to grab the raw symbol name followed by C symbol from nm.
5454 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5455 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5456 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5460 # These are sane defaults that work on at least a few old systems.
5461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5463 # Character class describing NM global symbol codes.
5464 symcode='[BCDEGRST]'
5466 # Regexp to match symbols that can be accessed directly from C.
5467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5469 # Define system-specific variables.
5470 case $host_os in
5471 aix*)
5472 symcode='[BCDT]'
5474 cygwin* | mingw* | pw32* | cegcc*)
5475 symcode='[ABCDGISTW]'
5477 hpux*)
5478 if test "$host_cpu" = ia64; then
5479 symcode='[ABCDEGRST]'
5482 irix* | nonstopux*)
5483 symcode='[BCDEGRST]'
5485 osf*)
5486 symcode='[BCDEGQRST]'
5488 solaris*)
5489 symcode='[BDRT]'
5491 sco3.2v5*)
5492 symcode='[DT]'
5494 sysv4.2uw2*)
5495 symcode='[DT]'
5497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5498 symcode='[ABDT]'
5500 sysv4)
5501 symcode='[DFNSTU]'
5503 esac
5505 # If we're using GNU nm, then use its standard symbol codes.
5506 case `$NM -V 2>&1` in
5507 *GNU* | *'with BFD'*)
5508 symcode='[ABCDGIRSTW]' ;;
5509 esac
5511 # Transform an extracted symbol line into a proper C declaration.
5512 # Some systems (esp. on ia64) link data and code symbols differently,
5513 # so use this general approach.
5514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5516 # Transform an extracted symbol line into symbol name and symbol address
5517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5518 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'"
5520 # Handle CRLF in mingw tool chain
5521 opt_cr=
5522 case $build_os in
5523 mingw*)
5524 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5526 esac
5528 # Try without a prefix underscore, then with it.
5529 for ac_symprfx in "" "_"; do
5531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5532 symxfrm="\\1 $ac_symprfx\\2 \\2"
5534 # Write the raw and C identifiers.
5535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5536 # Fake it for dumpbin and say T for any non-static function
5537 # and D for any global variable.
5538 # Also find C++ and __fastcall symbols from MSVC++,
5539 # which start with @ or ?.
5540 lt_cv_sys_global_symbol_pipe="$AWK '"\
5541 " {last_section=section; section=\$ 3};"\
5542 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5543 " \$ 0!~/External *\|/{next};"\
5544 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5545 " {if(hide[section]) next};"\
5546 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5547 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5548 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5549 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5550 " ' prfx=^$ac_symprfx"
5551 else
5552 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5555 # Check to see that the pipe works correctly.
5556 pipe_works=no
5558 rm -f conftest*
5559 cat > conftest.$ac_ext <<_LT_EOF
5560 #ifdef __cplusplus
5561 extern "C" {
5562 #endif
5563 char nm_test_var;
5564 void nm_test_func(void);
5565 void nm_test_func(void){}
5566 #ifdef __cplusplus
5568 #endif
5569 int main(){nm_test_var='a';nm_test_func();return(0);}
5570 _LT_EOF
5572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5573 (eval $ac_compile) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; then
5577 # Now try to grab the symbols.
5578 nlist=conftest.nm
5579 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5580 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5581 ac_status=$?
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && test -s "$nlist"; then
5584 # Try sorting and uniquifying the output.
5585 if sort "$nlist" | uniq > "$nlist"T; then
5586 mv -f "$nlist"T "$nlist"
5587 else
5588 rm -f "$nlist"T
5591 # Make sure that we snagged all the symbols we need.
5592 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5593 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5594 cat <<_LT_EOF > conftest.$ac_ext
5595 #ifdef __cplusplus
5596 extern "C" {
5597 #endif
5599 _LT_EOF
5600 # Now generate the symbol file.
5601 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5603 cat <<_LT_EOF >> conftest.$ac_ext
5605 /* The mapping between symbol names and symbols. */
5606 const struct {
5607 const char *name;
5608 void *address;
5610 lt__PROGRAM__LTX_preloaded_symbols[] =
5612 { "@PROGRAM@", (void *) 0 },
5613 _LT_EOF
5614 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5615 cat <<\_LT_EOF >> conftest.$ac_ext
5616 {0, (void *) 0}
5619 /* This works around a problem in FreeBSD linker */
5620 #ifdef FREEBSD_WORKAROUND
5621 static const void *lt_preloaded_setup() {
5622 return lt__PROGRAM__LTX_preloaded_symbols;
5624 #endif
5626 #ifdef __cplusplus
5628 #endif
5629 _LT_EOF
5630 # Now try linking the two files.
5631 mv conftest.$ac_objext conftstm.$ac_objext
5632 lt_save_LIBS="$LIBS"
5633 lt_save_CFLAGS="$CFLAGS"
5634 LIBS="conftstm.$ac_objext"
5635 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637 (eval $ac_link) 2>&5
5638 ac_status=$?
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5641 pipe_works=yes
5643 LIBS="$lt_save_LIBS"
5644 CFLAGS="$lt_save_CFLAGS"
5645 else
5646 echo "cannot find nm_test_func in $nlist" >&5
5648 else
5649 echo "cannot find nm_test_var in $nlist" >&5
5651 else
5652 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5654 else
5655 echo "$progname: failed program was:" >&5
5656 cat conftest.$ac_ext >&5
5658 rm -rf conftest* conftst*
5660 # Do not use the global_symbol_pipe unless it works.
5661 if test "$pipe_works" = yes; then
5662 break
5663 else
5664 lt_cv_sys_global_symbol_pipe=
5666 done
5670 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5671 lt_cv_sys_global_symbol_to_cdecl=
5673 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5674 echo "$as_me:$LINENO: result: failed" >&5
5675 echo "${ECHO_T}failed" >&6
5676 else
5677 echo "$as_me:$LINENO: result: ok" >&5
5678 echo "${ECHO_T}ok" >&6
5702 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5703 if test "${enable_libtool_lock+set}" = set; then
5704 enableval="$enable_libtool_lock"
5707 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5709 # Some flags need to be propagated to the compiler or linker for good
5710 # libtool support.
5711 case $host in
5712 ia64-*-hpux*)
5713 # Find out which ABI we are using.
5714 echo 'int i;' > conftest.$ac_ext
5715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>&5
5717 ac_status=$?
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; then
5720 case `/usr/bin/file conftest.$ac_objext` in
5721 *ELF-32*)
5722 HPUX_IA64_MODE="32"
5724 *ELF-64*)
5725 HPUX_IA64_MODE="64"
5727 esac
5729 rm -rf conftest*
5731 *-*-irix6*)
5732 # Find out which ABI we are using.
5733 echo '#line 5733 "configure"' > conftest.$ac_ext
5734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735 (eval $ac_compile) 2>&5
5736 ac_status=$?
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; then
5739 if test "$lt_cv_prog_gnu_ld" = yes; then
5740 case `/usr/bin/file conftest.$ac_objext` in
5741 *32-bit*)
5742 LD="${LD-ld} -melf32bsmip"
5744 *N32*)
5745 LD="${LD-ld} -melf32bmipn32"
5747 *64-bit*)
5748 LD="${LD-ld} -melf64bmip"
5750 esac
5751 else
5752 case `/usr/bin/file conftest.$ac_objext` in
5753 *32-bit*)
5754 LD="${LD-ld} -32"
5756 *N32*)
5757 LD="${LD-ld} -n32"
5759 *64-bit*)
5760 LD="${LD-ld} -64"
5762 esac
5765 rm -rf conftest*
5768 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5769 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5770 # Find out which ABI we are using.
5771 echo 'int i;' > conftest.$ac_ext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5773 (eval $ac_compile) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; then
5777 case `/usr/bin/file conftest.o` in
5778 *32-bit*)
5779 case $host in
5780 x86_64-*kfreebsd*-gnu)
5781 LD="${LD-ld} -m elf_i386_fbsd"
5783 x86_64-*linux*)
5784 LD="${LD-ld} -m elf_i386"
5786 ppc64-*linux*|powerpc64-*linux*)
5787 LD="${LD-ld} -m elf32ppclinux"
5789 s390x-*linux*)
5790 LD="${LD-ld} -m elf_s390"
5792 sparc64-*linux*)
5793 LD="${LD-ld} -m elf32_sparc"
5795 esac
5797 *64-bit*)
5798 case $host in
5799 x86_64-*kfreebsd*-gnu)
5800 LD="${LD-ld} -m elf_x86_64_fbsd"
5802 x86_64-*linux*)
5803 LD="${LD-ld} -m elf_x86_64"
5805 ppc*-*linux*|powerpc*-*linux*)
5806 LD="${LD-ld} -m elf64ppc"
5808 s390*-*linux*|s390*-*tpf*)
5809 LD="${LD-ld} -m elf64_s390"
5811 sparc*-*linux*)
5812 LD="${LD-ld} -m elf64_sparc"
5814 esac
5816 esac
5818 rm -rf conftest*
5821 *-*-sco3.2v5*)
5822 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5823 SAVE_CFLAGS="$CFLAGS"
5824 CFLAGS="$CFLAGS -belf"
5825 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5826 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5827 if test "${lt_cv_cc_needs_belf+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 else
5830 ac_ext=c
5831 ac_cpp='$CPP $CPPFLAGS'
5832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5836 if test x$gcc_no_link = xyes; then
5837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5839 { (exit 1); exit 1; }; }
5841 cat >conftest.$ac_ext <<_ACEOF
5842 /* confdefs.h. */
5843 _ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5849 main ()
5853 return 0;
5855 _ACEOF
5856 rm -f conftest.$ac_objext conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>conftest.er1
5859 ac_status=$?
5860 grep -v '^ *+' conftest.er1 >conftest.err
5861 rm -f conftest.er1
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } &&
5865 { ac_try='test -z "$ac_c_werror_flag"
5866 || test ! -s conftest.err'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; } &&
5872 { ac_try='test -s conftest$ac_exeext'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 (eval $ac_try) 2>&5
5875 ac_status=$?
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5878 lt_cv_cc_needs_belf=yes
5879 else
5880 echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5883 lt_cv_cc_needs_belf=no
5885 rm -f conftest.err conftest.$ac_objext \
5886 conftest$ac_exeext conftest.$ac_ext
5887 ac_ext=c
5888 ac_cpp='$CPP $CPPFLAGS'
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5894 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5895 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5896 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5897 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5898 CFLAGS="$SAVE_CFLAGS"
5901 sparc*-*solaris*)
5902 # Find out which ABI we are using.
5903 echo 'int i;' > conftest.$ac_ext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5905 (eval $ac_compile) 2>&5
5906 ac_status=$?
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }; then
5909 case `/usr/bin/file conftest.o` in
5910 *64-bit*)
5911 case $lt_cv_prog_gnu_ld in
5912 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5914 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5915 LD="${LD-ld} -64"
5918 esac
5920 esac
5922 rm -rf conftest*
5924 esac
5926 need_locks="$enable_libtool_lock"
5929 case $host_os in
5930 rhapsody* | darwin*)
5931 if test -n "$ac_tool_prefix"; then
5932 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5933 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5934 echo "$as_me:$LINENO: checking for $ac_word" >&5
5935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5936 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939 if test -n "$DSYMUTIL"; then
5940 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5958 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5959 if test -n "$DSYMUTIL"; then
5960 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5961 echo "${ECHO_T}$DSYMUTIL" >&6
5962 else
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5968 if test -z "$ac_cv_prog_DSYMUTIL"; then
5969 ac_ct_DSYMUTIL=$DSYMUTIL
5970 # Extract the first word of "dsymutil", so it can be a program name with args.
5971 set dummy dsymutil; ac_word=$2
5972 echo "$as_me:$LINENO: checking for $ac_word" >&5
5973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5974 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 else
5977 if test -n "$ac_ct_DSYMUTIL"; then
5978 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5994 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5997 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5998 if test -n "$ac_ct_DSYMUTIL"; then
5999 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6000 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6006 DSYMUTIL=$ac_ct_DSYMUTIL
6007 else
6008 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6013 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6014 echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6016 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 else
6019 if test -n "$NMEDIT"; then
6020 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6038 NMEDIT=$ac_cv_prog_NMEDIT
6039 if test -n "$NMEDIT"; then
6040 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6041 echo "${ECHO_T}$NMEDIT" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6048 if test -z "$ac_cv_prog_NMEDIT"; then
6049 ac_ct_NMEDIT=$NMEDIT
6050 # Extract the first word of "nmedit", so it can be a program name with args.
6051 set dummy nmedit; ac_word=$2
6052 echo "$as_me:$LINENO: checking for $ac_word" >&5
6053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6054 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 else
6057 if test -n "$ac_ct_NMEDIT"; then
6058 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6074 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6077 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6078 if test -n "$ac_ct_NMEDIT"; then
6079 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6080 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6081 else
6082 echo "$as_me:$LINENO: result: no" >&5
6083 echo "${ECHO_T}no" >&6
6086 NMEDIT=$ac_ct_NMEDIT
6087 else
6088 NMEDIT="$ac_cv_prog_NMEDIT"
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6094 echo "$as_me:$LINENO: checking for $ac_word" >&5
6095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6096 if test "${ac_cv_prog_LIPO+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 else
6099 if test -n "$LIPO"; then
6100 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6118 LIPO=$ac_cv_prog_LIPO
6119 if test -n "$LIPO"; then
6120 echo "$as_me:$LINENO: result: $LIPO" >&5
6121 echo "${ECHO_T}$LIPO" >&6
6122 else
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6128 if test -z "$ac_cv_prog_LIPO"; then
6129 ac_ct_LIPO=$LIPO
6130 # Extract the first word of "lipo", so it can be a program name with args.
6131 set dummy lipo; ac_word=$2
6132 echo "$as_me:$LINENO: checking for $ac_word" >&5
6133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6136 else
6137 if test -n "$ac_ct_LIPO"; then
6138 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_ac_ct_LIPO="lipo"
6148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 break 2
6151 done
6152 done
6154 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6157 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6158 if test -n "$ac_ct_LIPO"; then
6159 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6160 echo "${ECHO_T}$ac_ct_LIPO" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6166 LIPO=$ac_ct_LIPO
6167 else
6168 LIPO="$ac_cv_prog_LIPO"
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}otool; ac_word=$2
6174 echo "$as_me:$LINENO: checking for $ac_word" >&5
6175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6176 if test "${ac_cv_prog_OTOOL+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 else
6179 if test -n "$OTOOL"; then
6180 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 break 2
6193 done
6194 done
6198 OTOOL=$ac_cv_prog_OTOOL
6199 if test -n "$OTOOL"; then
6200 echo "$as_me:$LINENO: result: $OTOOL" >&5
6201 echo "${ECHO_T}$OTOOL" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6208 if test -z "$ac_cv_prog_OTOOL"; then
6209 ac_ct_OTOOL=$OTOOL
6210 # Extract the first word of "otool", so it can be a program name with args.
6211 set dummy otool; ac_word=$2
6212 echo "$as_me:$LINENO: checking for $ac_word" >&5
6213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6214 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217 if test -n "$ac_ct_OTOOL"; then
6218 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_ac_ct_OTOOL="otool"
6228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6234 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6237 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6238 if test -n "$ac_ct_OTOOL"; then
6239 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6240 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6241 else
6242 echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6
6246 OTOOL=$ac_ct_OTOOL
6247 else
6248 OTOOL="$ac_cv_prog_OTOOL"
6251 if test -n "$ac_tool_prefix"; then
6252 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6254 echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6256 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 if test -n "$OTOOL64"; then
6260 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6278 OTOOL64=$ac_cv_prog_OTOOL64
6279 if test -n "$OTOOL64"; then
6280 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6281 echo "${ECHO_T}$OTOOL64" >&6
6282 else
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6288 if test -z "$ac_cv_prog_OTOOL64"; then
6289 ac_ct_OTOOL64=$OTOOL64
6290 # Extract the first word of "otool64", so it can be a program name with args.
6291 set dummy otool64; ac_word=$2
6292 echo "$as_me:$LINENO: checking for $ac_word" >&5
6293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6294 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 else
6297 if test -n "$ac_ct_OTOOL64"; then
6298 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6299 else
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 for as_dir in $PATH
6303 IFS=$as_save_IFS
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_ac_ct_OTOOL64="otool64"
6308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 break 2
6311 done
6312 done
6314 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6317 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6318 if test -n "$ac_ct_OTOOL64"; then
6319 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6320 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6321 else
6322 echo "$as_me:$LINENO: result: no" >&5
6323 echo "${ECHO_T}no" >&6
6326 OTOOL64=$ac_ct_OTOOL64
6327 else
6328 OTOOL64="$ac_cv_prog_OTOOL64"
6357 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6358 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6359 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362 lt_cv_apple_cc_single_mod=no
6363 if test -z "${LT_MULTI_MODULE}"; then
6364 # By default we will add the -single_module flag. You can override
6365 # by either setting the environment variable LT_MULTI_MODULE
6366 # non-empty at configure time, or by adding -multi_module to the
6367 # link flags.
6368 rm -rf libconftest.dylib*
6369 echo "int foo(void){return 1;}" > conftest.c
6370 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6371 -dynamiclib -Wl,-single_module conftest.c" >&5
6372 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6373 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6374 _lt_result=$?
6375 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6376 lt_cv_apple_cc_single_mod=yes
6377 else
6378 cat conftest.err >&5
6380 rm -rf libconftest.dylib*
6381 rm -f conftest.*
6384 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6385 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6386 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6387 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6388 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391 lt_cv_ld_exported_symbols_list=no
6392 save_LDFLAGS=$LDFLAGS
6393 echo "_main" > conftest.sym
6394 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6395 if test x$gcc_no_link = xyes; then
6396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6398 { (exit 1); exit 1; }; }
6400 cat >conftest.$ac_ext <<_ACEOF
6401 /* confdefs.h. */
6402 _ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6408 main ()
6412 return 0;
6414 _ACEOF
6415 rm -f conftest.$ac_objext conftest$ac_exeext
6416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6417 (eval $ac_link) 2>conftest.er1
6418 ac_status=$?
6419 grep -v '^ *+' conftest.er1 >conftest.err
6420 rm -f conftest.er1
6421 cat conftest.err >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try='test -z "$ac_c_werror_flag"
6425 || test ! -s conftest.err'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 (eval $ac_try) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; } &&
6431 { ac_try='test -s conftest$ac_exeext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 lt_cv_ld_exported_symbols_list=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 lt_cv_ld_exported_symbols_list=no
6444 rm -f conftest.err conftest.$ac_objext \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LDFLAGS="$save_LDFLAGS"
6449 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6450 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6451 case $host_os in
6452 rhapsody* | darwin1.[012])
6453 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6454 darwin1.*)
6455 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6456 darwin*) # darwin 5.x on
6457 # if running on 10.5 or later, the deployment target defaults
6458 # to the OS version, if on x86, and 10.4, the deployment
6459 # target defaults to 10.4. Don't you love it?
6460 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6461 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6462 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6463 10.[012]*)
6464 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6465 10.*)
6466 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6467 esac
6469 esac
6470 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6471 _lt_dar_single_mod='$single_module'
6473 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6474 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6475 else
6476 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6478 if test "$DSYMUTIL" != ":"; then
6479 _lt_dsymutil='~$DSYMUTIL $lib || :'
6480 else
6481 _lt_dsymutil=
6484 esac
6486 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6487 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6488 if test "${ac_cv_header_stdc+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else
6491 cat >conftest.$ac_ext <<_ACEOF
6492 /* confdefs.h. */
6493 _ACEOF
6494 cat confdefs.h >>conftest.$ac_ext
6495 cat >>conftest.$ac_ext <<_ACEOF
6496 /* end confdefs.h. */
6497 #include <stdlib.h>
6498 #include <stdarg.h>
6499 #include <string.h>
6500 #include <float.h>
6503 main ()
6507 return 0;
6509 _ACEOF
6510 rm -f conftest.$ac_objext
6511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 (eval $ac_compile) 2>conftest.er1
6513 ac_status=$?
6514 grep -v '^ *+' conftest.er1 >conftest.err
6515 rm -f conftest.er1
6516 cat conftest.err >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } &&
6519 { ac_try='test -z "$ac_c_werror_flag"
6520 || test ! -s conftest.err'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 (eval $ac_try) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; } &&
6526 { ac_try='test -s conftest.$ac_objext'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6532 ac_cv_header_stdc=yes
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_header_stdc=no
6539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541 if test $ac_cv_header_stdc = yes; then
6542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6543 cat >conftest.$ac_ext <<_ACEOF
6544 /* confdefs.h. */
6545 _ACEOF
6546 cat confdefs.h >>conftest.$ac_ext
6547 cat >>conftest.$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6549 #include <string.h>
6551 _ACEOF
6552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6553 $EGREP "memchr" >/dev/null 2>&1; then
6555 else
6556 ac_cv_header_stdc=no
6558 rm -f conftest*
6562 if test $ac_cv_header_stdc = yes; then
6563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6564 cat >conftest.$ac_ext <<_ACEOF
6565 /* confdefs.h. */
6566 _ACEOF
6567 cat confdefs.h >>conftest.$ac_ext
6568 cat >>conftest.$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6572 _ACEOF
6573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574 $EGREP "free" >/dev/null 2>&1; then
6576 else
6577 ac_cv_header_stdc=no
6579 rm -f conftest*
6583 if test $ac_cv_header_stdc = yes; then
6584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6585 if test "$cross_compiling" = yes; then
6587 else
6588 cat >conftest.$ac_ext <<_ACEOF
6589 /* confdefs.h. */
6590 _ACEOF
6591 cat confdefs.h >>conftest.$ac_ext
6592 cat >>conftest.$ac_ext <<_ACEOF
6593 /* end confdefs.h. */
6594 #include <ctype.h>
6595 #if ((' ' & 0x0FF) == 0x020)
6596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6598 #else
6599 # define ISLOWER(c) \
6600 (('a' <= (c) && (c) <= 'i') \
6601 || ('j' <= (c) && (c) <= 'r') \
6602 || ('s' <= (c) && (c) <= 'z'))
6603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6604 #endif
6606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6608 main ()
6610 int i;
6611 for (i = 0; i < 256; i++)
6612 if (XOR (islower (i), ISLOWER (i))
6613 || toupper (i) != TOUPPER (i))
6614 exit(2);
6615 exit (0);
6617 _ACEOF
6618 rm -f conftest$ac_exeext
6619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6620 (eval $ac_link) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 (eval $ac_try) 2>&5
6626 ac_status=$?
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; }; then
6630 else
6631 echo "$as_me: program exited with status $ac_status" >&5
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 ( exit $ac_status )
6636 ac_cv_header_stdc=no
6638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6642 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6643 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6644 if test $ac_cv_header_stdc = yes; then
6646 cat >>confdefs.h <<\_ACEOF
6647 #define STDC_HEADERS 1
6648 _ACEOF
6652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6662 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6663 inttypes.h stdint.h unistd.h
6665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 echo "$as_me:$LINENO: checking for $ac_header" >&5
6667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 else
6671 cat >conftest.$ac_ext <<_ACEOF
6672 /* confdefs.h. */
6673 _ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 $ac_includes_default
6679 #include <$ac_header>
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 eval "$as_ac_Header=yes"
6704 else
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 eval "$as_ac_Header=no"
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6715 cat >>confdefs.h <<_ACEOF
6716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 _ACEOF
6721 done
6725 for ac_header in dlfcn.h
6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 echo "$as_me:$LINENO: checking for $ac_header" >&5
6729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 else
6733 cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h. */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 $ac_includes_default
6741 #include <$ac_header>
6742 _ACEOF
6743 rm -f conftest.$ac_objext
6744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6745 (eval $ac_compile) 2>conftest.er1
6746 ac_status=$?
6747 grep -v '^ *+' conftest.er1 >conftest.err
6748 rm -f conftest.er1
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try='test -z "$ac_c_werror_flag"
6753 || test ! -s conftest.err'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 (eval $ac_try) 2>&5
6756 ac_status=$?
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; } &&
6759 { ac_try='test -s conftest.$ac_objext'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 (eval $ac_try) 2>&5
6762 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }; then
6765 eval "$as_ac_Header=yes"
6766 else
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6770 eval "$as_ac_Header=no"
6772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6777 cat >>confdefs.h <<_ACEOF
6778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779 _ACEOF
6783 done
6787 ac_ext=cc
6788 ac_cpp='$CXXCPP $CPPFLAGS'
6789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6792 if test -n "$ac_tool_prefix"; then
6793 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6797 echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6799 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 else
6802 if test -n "$CXX"; then
6803 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6808 IFS=$as_save_IFS
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 break 2
6816 done
6817 done
6821 CXX=$glibcxx_cv_prog_CXX
6822 if test -n "$CXX"; then
6823 echo "$as_me:$LINENO: result: $CXX" >&5
6824 echo "${ECHO_T}$CXX" >&6
6825 else
6826 echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6
6830 test -n "$CXX" && break
6831 done
6833 if test -z "$CXX"; then
6834 ac_ct_CXX=$CXX
6835 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6837 # Extract the first word of "$ac_prog", so it can be a program name with args.
6838 set dummy $ac_prog; ac_word=$2
6839 echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6841 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844 if test -n "$ac_ct_CXX"; then
6845 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6850 IFS=$as_save_IFS
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_CXX="$ac_prog"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6863 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6864 if test -n "$ac_ct_CXX"; then
6865 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6866 echo "${ECHO_T}$ac_ct_CXX" >&6
6867 else
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6872 test -n "$ac_ct_CXX" && break
6873 done
6874 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6876 CXX=$ac_ct_CXX
6880 # Provide some information about the compiler.
6881 echo "$as_me:$LINENO:" \
6882 "checking for C++ compiler version" >&5
6883 ac_compiler=`set X $ac_compile; echo $2`
6884 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6885 (eval $ac_compiler --version </dev/null >&5) 2>&5
6886 ac_status=$?
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }
6889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6890 (eval $ac_compiler -v </dev/null >&5) 2>&5
6891 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }
6894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6895 (eval $ac_compiler -V </dev/null >&5) 2>&5
6896 ac_status=$?
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); }
6900 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6901 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6902 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6903 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 else
6905 cat >conftest.$ac_ext <<_ACEOF
6906 /* confdefs.h. */
6907 _ACEOF
6908 cat confdefs.h >>conftest.$ac_ext
6909 cat >>conftest.$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6913 main ()
6915 #ifndef __GNUC__
6916 choke me
6917 #endif
6920 return 0;
6922 _ACEOF
6923 rm -f conftest.$ac_objext
6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6925 (eval $ac_compile) 2>conftest.er1
6926 ac_status=$?
6927 grep -v '^ *+' conftest.er1 >conftest.err
6928 rm -f conftest.er1
6929 cat conftest.err >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); } &&
6932 { ac_try='test -z "$ac_cxx_werror_flag"
6933 || test ! -s conftest.err'
6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 (eval $ac_try) 2>&5
6936 ac_status=$?
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); }; } &&
6939 { ac_try='test -s conftest.$ac_objext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 (eval $ac_try) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_compiler_gnu=yes
6946 else
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6950 ac_compiler_gnu=no
6952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6953 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6956 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6957 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6958 GXX=`test $ac_compiler_gnu = yes && echo yes`
6959 ac_test_CXXFLAGS=${CXXFLAGS+set}
6960 ac_save_CXXFLAGS=$CXXFLAGS
6961 CXXFLAGS="-g"
6962 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6963 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6964 if test "${ac_cv_prog_cxx_g+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967 cat >conftest.$ac_ext <<_ACEOF
6968 /* confdefs.h. */
6969 _ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6975 main ()
6979 return 0;
6981 _ACEOF
6982 rm -f conftest.$ac_objext
6983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6984 (eval $ac_compile) 2>conftest.er1
6985 ac_status=$?
6986 grep -v '^ *+' conftest.er1 >conftest.err
6987 rm -f conftest.er1
6988 cat conftest.err >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -z "$ac_cxx_werror_flag"
6992 || test ! -s conftest.err'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 (eval $ac_try) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; } &&
6998 { ac_try='test -s conftest.$ac_objext'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; }; then
7004 ac_cv_prog_cxx_g=yes
7005 else
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7009 ac_cv_prog_cxx_g=no
7011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7014 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7015 if test "$ac_test_CXXFLAGS" = set; then
7016 CXXFLAGS=$ac_save_CXXFLAGS
7017 elif test $ac_cv_prog_cxx_g = yes; then
7018 if test "$GXX" = yes; then
7019 CXXFLAGS="-g -O2"
7020 else
7021 CXXFLAGS="-g"
7023 else
7024 if test "$GXX" = yes; then
7025 CXXFLAGS="-O2"
7026 else
7027 CXXFLAGS=
7030 for ac_declaration in \
7031 '' \
7032 'extern "C" void std::exit (int) throw (); using std::exit;' \
7033 'extern "C" void std::exit (int); using std::exit;' \
7034 'extern "C" void exit (int) throw ();' \
7035 'extern "C" void exit (int);' \
7036 'void exit (int);'
7038 cat >conftest.$ac_ext <<_ACEOF
7039 /* confdefs.h. */
7040 _ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 $ac_declaration
7045 #include <stdlib.h>
7047 main ()
7049 exit (42);
7051 return 0;
7053 _ACEOF
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7057 ac_status=$?
7058 grep -v '^ *+' conftest.er1 >conftest.err
7059 rm -f conftest.er1
7060 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_cxx_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 (eval $ac_try) 2>&5
7067 ac_status=$?
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 (eval $ac_try) 2>&5
7073 ac_status=$?
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 continue
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 $ac_declaration
7092 main ()
7094 exit (42);
7096 return 0;
7098 _ACEOF
7099 rm -f conftest.$ac_objext
7100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7101 (eval $ac_compile) 2>conftest.er1
7102 ac_status=$?
7103 grep -v '^ *+' conftest.er1 >conftest.err
7104 rm -f conftest.er1
7105 cat conftest.err >&5
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); } &&
7108 { ac_try='test -z "$ac_cxx_werror_flag"
7109 || test ! -s conftest.err'
7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 (eval $ac_try) 2>&5
7112 ac_status=$?
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); }; } &&
7115 { ac_try='test -s conftest.$ac_objext'
7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117 (eval $ac_try) 2>&5
7118 ac_status=$?
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); }; }; then
7121 break
7122 else
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7128 done
7129 rm -f conftest*
7130 if test -n "$ac_declaration"; then
7131 echo '#ifdef __cplusplus' >>confdefs.h
7132 echo $ac_declaration >>confdefs.h
7133 echo '#endif' >>confdefs.h
7136 ac_ext=c
7137 ac_cpp='$CPP $CPPFLAGS'
7138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7143 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7144 (test "X$CXX" != "Xg++"))) ; then
7145 ac_ext=cc
7146 ac_cpp='$CXXCPP $CPPFLAGS'
7147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7150 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7151 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7152 if test -z "$CXXCPP"; then
7153 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 else
7156 # Double quotes because CXXCPP needs to be expanded
7157 for CXXCPP in "$CXX -E" "/lib/cpp"
7159 ac_preproc_ok=false
7160 for ac_cxx_preproc_warn_flag in '' yes
7162 # Use a header file that comes with gcc, so configuring glibc
7163 # with a fresh cross-compiler works.
7164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7165 # <limits.h> exists even on freestanding compilers.
7166 # On the NeXT, cc -E runs the code through the compiler's parser,
7167 # not just through cpp. "Syntax error" is here to catch this case.
7168 cat >conftest.$ac_ext <<_ACEOF
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179 Syntax error
7180 _ACEOF
7181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } >/dev/null; then
7189 if test -s conftest.err; then
7190 ac_cpp_err=$ac_cxx_preproc_warn_flag
7191 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7192 else
7193 ac_cpp_err=
7195 else
7196 ac_cpp_err=yes
7198 if test -z "$ac_cpp_err"; then
7200 else
7201 echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7204 # Broken: fails on valid input.
7205 continue
7207 rm -f conftest.err conftest.$ac_ext
7209 # OK, works on sane cases. Now check whether non-existent headers
7210 # can be detected and how.
7211 cat >conftest.$ac_ext <<_ACEOF
7212 /* confdefs.h. */
7213 _ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7217 #include <ac_nonexistent.h>
7218 _ACEOF
7219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7221 ac_status=$?
7222 grep -v '^ *+' conftest.er1 >conftest.err
7223 rm -f conftest.er1
7224 cat conftest.err >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } >/dev/null; then
7227 if test -s conftest.err; then
7228 ac_cpp_err=$ac_cxx_preproc_warn_flag
7229 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7230 else
7231 ac_cpp_err=
7233 else
7234 ac_cpp_err=yes
7236 if test -z "$ac_cpp_err"; then
7237 # Broken: success on invalid input.
7238 continue
7239 else
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.$ac_ext >&5
7243 # Passes both tests.
7244 ac_preproc_ok=:
7245 break
7247 rm -f conftest.err conftest.$ac_ext
7249 done
7250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7251 rm -f conftest.err conftest.$ac_ext
7252 if $ac_preproc_ok; then
7253 break
7256 done
7257 ac_cv_prog_CXXCPP=$CXXCPP
7260 CXXCPP=$ac_cv_prog_CXXCPP
7261 else
7262 ac_cv_prog_CXXCPP=$CXXCPP
7264 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7265 echo "${ECHO_T}$CXXCPP" >&6
7266 ac_preproc_ok=false
7267 for ac_cxx_preproc_warn_flag in '' yes
7269 # Use a header file that comes with gcc, so configuring glibc
7270 # with a fresh cross-compiler works.
7271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7272 # <limits.h> exists even on freestanding compilers.
7273 # On the NeXT, cc -E runs the code through the compiler's parser,
7274 # not just through cpp. "Syntax error" is here to catch this case.
7275 cat >conftest.$ac_ext <<_ACEOF
7276 /* confdefs.h. */
7277 _ACEOF
7278 cat confdefs.h >>conftest.$ac_ext
7279 cat >>conftest.$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 #ifdef __STDC__
7282 # include <limits.h>
7283 #else
7284 # include <assert.h>
7285 #endif
7286 Syntax error
7287 _ACEOF
7288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } >/dev/null; then
7296 if test -s conftest.err; then
7297 ac_cpp_err=$ac_cxx_preproc_warn_flag
7298 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7299 else
7300 ac_cpp_err=
7302 else
7303 ac_cpp_err=yes
7305 if test -z "$ac_cpp_err"; then
7307 else
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7311 # Broken: fails on valid input.
7312 continue
7314 rm -f conftest.err conftest.$ac_ext
7316 # OK, works on sane cases. Now check whether non-existent headers
7317 # can be detected and how.
7318 cat >conftest.$ac_ext <<_ACEOF
7319 /* confdefs.h. */
7320 _ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <ac_nonexistent.h>
7325 _ACEOF
7326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7328 ac_status=$?
7329 grep -v '^ *+' conftest.er1 >conftest.err
7330 rm -f conftest.er1
7331 cat conftest.err >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } >/dev/null; then
7334 if test -s conftest.err; then
7335 ac_cpp_err=$ac_cxx_preproc_warn_flag
7336 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7337 else
7338 ac_cpp_err=
7340 else
7341 ac_cpp_err=yes
7343 if test -z "$ac_cpp_err"; then
7344 # Broken: success on invalid input.
7345 continue
7346 else
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.$ac_ext >&5
7350 # Passes both tests.
7351 ac_preproc_ok=:
7352 break
7354 rm -f conftest.err conftest.$ac_ext
7356 done
7357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7358 rm -f conftest.err conftest.$ac_ext
7359 if $ac_preproc_ok; then
7361 else
7362 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7363 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7364 _lt_caught_CXX_error=yes; }
7367 ac_ext=c
7368 ac_cpp='$CPP $CPPFLAGS'
7369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373 else
7374 _lt_caught_CXX_error=yes
7381 # Set options
7386 enable_win32_dll=no
7389 # Check whether --enable-shared or --disable-shared was given.
7390 if test "${enable_shared+set}" = set; then
7391 enableval="$enable_shared"
7392 p=${PACKAGE-default}
7393 case $enableval in
7394 yes) enable_shared=yes ;;
7395 no) enable_shared=no ;;
7397 enable_shared=no
7398 # Look at the argument we got. We use all the common list separators.
7399 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7400 for pkg in $enableval; do
7401 IFS="$lt_save_ifs"
7402 if test "X$pkg" = "X$p"; then
7403 enable_shared=yes
7405 done
7406 IFS="$lt_save_ifs"
7408 esac
7409 else
7410 enable_shared=yes
7420 # Check whether --enable-static or --disable-static was given.
7421 if test "${enable_static+set}" = set; then
7422 enableval="$enable_static"
7423 p=${PACKAGE-default}
7424 case $enableval in
7425 yes) enable_static=yes ;;
7426 no) enable_static=no ;;
7428 enable_static=no
7429 # Look at the argument we got. We use all the common list separators.
7430 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7431 for pkg in $enableval; do
7432 IFS="$lt_save_ifs"
7433 if test "X$pkg" = "X$p"; then
7434 enable_static=yes
7436 done
7437 IFS="$lt_save_ifs"
7439 esac
7440 else
7441 enable_static=yes
7452 # Check whether --with-pic or --without-pic was given.
7453 if test "${with_pic+set}" = set; then
7454 withval="$with_pic"
7455 pic_mode="$withval"
7456 else
7457 pic_mode=default
7460 test -z "$pic_mode" && pic_mode=default
7468 # Check whether --enable-fast-install or --disable-fast-install was given.
7469 if test "${enable_fast_install+set}" = set; then
7470 enableval="$enable_fast_install"
7471 p=${PACKAGE-default}
7472 case $enableval in
7473 yes) enable_fast_install=yes ;;
7474 no) enable_fast_install=no ;;
7476 enable_fast_install=no
7477 # Look at the argument we got. We use all the common list separators.
7478 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7479 for pkg in $enableval; do
7480 IFS="$lt_save_ifs"
7481 if test "X$pkg" = "X$p"; then
7482 enable_fast_install=yes
7484 done
7485 IFS="$lt_save_ifs"
7487 esac
7488 else
7489 enable_fast_install=yes
7501 # This can be used to rebuild libtool when needed
7502 LIBTOOL_DEPS="$ltmain"
7504 # Always use our own libtool.
7505 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7531 test -z "$LN_S" && LN_S="ln -s"
7546 if test -n "${ZSH_VERSION+set}" ; then
7547 setopt NO_GLOB_SUBST
7550 echo "$as_me:$LINENO: checking for objdir" >&5
7551 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7552 if test "${lt_cv_objdir+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 else
7555 rm -f .libs 2>/dev/null
7556 mkdir .libs 2>/dev/null
7557 if test -d .libs; then
7558 lt_cv_objdir=.libs
7559 else
7560 # MS-DOS does not allow filenames that begin with a dot.
7561 lt_cv_objdir=_libs
7563 rmdir .libs 2>/dev/null
7565 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7566 echo "${ECHO_T}$lt_cv_objdir" >&6
7567 objdir=$lt_cv_objdir
7573 cat >>confdefs.h <<_ACEOF
7574 #define LT_OBJDIR "$lt_cv_objdir/"
7575 _ACEOF
7593 case $host_os in
7594 aix3*)
7595 # AIX sometimes has problems with the GCC collect2 program. For some
7596 # reason, if we set the COLLECT_NAMES environment variable, the problems
7597 # vanish in a puff of smoke.
7598 if test "X${COLLECT_NAMES+set}" != Xset; then
7599 COLLECT_NAMES=
7600 export COLLECT_NAMES
7603 esac
7605 # Sed substitution that helps us do robust quoting. It backslashifies
7606 # metacharacters that are still active within double-quoted strings.
7607 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7609 # Same as above, but do not quote variable references.
7610 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7612 # Sed substitution to delay expansion of an escaped shell variable in a
7613 # double_quote_subst'ed string.
7614 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7616 # Sed substitution to delay expansion of an escaped single quote.
7617 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7619 # Sed substitution to avoid accidental globbing in evaled expressions
7620 no_glob_subst='s/\*/\\\*/g'
7622 # Global variables:
7623 ofile=libtool
7624 can_build_shared=yes
7626 # All known linkers require a `.a' archive for static linking (except MSVC,
7627 # which needs '.lib').
7628 libext=a
7630 with_gnu_ld="$lt_cv_prog_gnu_ld"
7632 old_CC="$CC"
7633 old_CFLAGS="$CFLAGS"
7635 # Set sane defaults for various variables
7636 test -z "$CC" && CC=cc
7637 test -z "$LTCC" && LTCC=$CC
7638 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7639 test -z "$LD" && LD=ld
7640 test -z "$ac_objext" && ac_objext=o
7642 for cc_temp in $compiler""; do
7643 case $cc_temp in
7644 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7645 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7646 \-*) ;;
7647 *) break;;
7648 esac
7649 done
7650 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7653 # Only perform the check for file, if the check method requires it
7654 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7655 case $deplibs_check_method in
7656 file_magic*)
7657 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7658 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7659 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7660 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 else
7663 case $MAGIC_CMD in
7664 [\\/*] | ?:[\\/]*)
7665 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7668 lt_save_MAGIC_CMD="$MAGIC_CMD"
7669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7670 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7671 for ac_dir in $ac_dummy; do
7672 IFS="$lt_save_ifs"
7673 test -z "$ac_dir" && ac_dir=.
7674 if test -f $ac_dir/${ac_tool_prefix}file; then
7675 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7676 if test -n "$file_magic_test_file"; then
7677 case $deplibs_check_method in
7678 "file_magic "*)
7679 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7681 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7682 $EGREP "$file_magic_regex" > /dev/null; then
7684 else
7685 cat <<_LT_EOF 1>&2
7687 *** Warning: the command libtool uses to detect shared libraries,
7688 *** $file_magic_cmd, produces output that libtool cannot recognize.
7689 *** The result is that libtool may fail to recognize shared libraries
7690 *** as such. This will affect the creation of libtool libraries that
7691 *** depend on shared libraries, but programs linked with such libtool
7692 *** libraries will work regardless of this problem. Nevertheless, you
7693 *** may want to report the problem to your system manager and/or to
7694 *** bug-libtool@gnu.org
7696 _LT_EOF
7697 fi ;;
7698 esac
7700 break
7702 done
7703 IFS="$lt_save_ifs"
7704 MAGIC_CMD="$lt_save_MAGIC_CMD"
7706 esac
7709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7710 if test -n "$MAGIC_CMD"; then
7711 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7712 echo "${ECHO_T}$MAGIC_CMD" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7722 if test -z "$lt_cv_path_MAGIC_CMD"; then
7723 if test -n "$ac_tool_prefix"; then
7724 echo "$as_me:$LINENO: checking for file" >&5
7725 echo $ECHO_N "checking for file... $ECHO_C" >&6
7726 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7727 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 else
7729 case $MAGIC_CMD in
7730 [\\/*] | ?:[\\/]*)
7731 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7734 lt_save_MAGIC_CMD="$MAGIC_CMD"
7735 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7736 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7737 for ac_dir in $ac_dummy; do
7738 IFS="$lt_save_ifs"
7739 test -z "$ac_dir" && ac_dir=.
7740 if test -f $ac_dir/file; then
7741 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7742 if test -n "$file_magic_test_file"; then
7743 case $deplibs_check_method in
7744 "file_magic "*)
7745 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7746 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7747 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7748 $EGREP "$file_magic_regex" > /dev/null; then
7750 else
7751 cat <<_LT_EOF 1>&2
7753 *** Warning: the command libtool uses to detect shared libraries,
7754 *** $file_magic_cmd, produces output that libtool cannot recognize.
7755 *** The result is that libtool may fail to recognize shared libraries
7756 *** as such. This will affect the creation of libtool libraries that
7757 *** depend on shared libraries, but programs linked with such libtool
7758 *** libraries will work regardless of this problem. Nevertheless, you
7759 *** may want to report the problem to your system manager and/or to
7760 *** bug-libtool@gnu.org
7762 _LT_EOF
7763 fi ;;
7764 esac
7766 break
7768 done
7769 IFS="$lt_save_ifs"
7770 MAGIC_CMD="$lt_save_MAGIC_CMD"
7772 esac
7775 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7776 if test -n "$MAGIC_CMD"; then
7777 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7778 echo "${ECHO_T}$MAGIC_CMD" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7785 else
7786 MAGIC_CMD=:
7792 esac
7794 # Use C for the default configuration in the libtool script
7796 lt_save_CC="$CC"
7797 ac_ext=c
7798 ac_cpp='$CPP $CPPFLAGS'
7799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7804 # Source file extension for C test sources.
7805 ac_ext=c
7807 # Object file extension for compiled C test sources.
7808 objext=o
7809 objext=$objext
7811 # Code to be used in simple compile tests
7812 lt_simple_compile_test_code="int some_variable = 0;"
7814 # Code to be used in simple link tests
7815 lt_simple_link_test_code='int main(){return(0);}'
7823 # If no C compiler was specified, use CC.
7824 LTCC=${LTCC-"$CC"}
7826 # If no C compiler flags were specified, use CFLAGS.
7827 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7829 # Allow CC to be a program name with arguments.
7830 compiler=$CC
7832 # Save the default compiler, since it gets overwritten when the other
7833 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7834 compiler_DEFAULT=$CC
7836 # save warnings/boilerplate of simple test code
7837 ac_outfile=conftest.$ac_objext
7838 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7839 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7840 _lt_compiler_boilerplate=`cat conftest.err`
7841 $RM conftest*
7843 ac_outfile=conftest.$ac_objext
7844 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7845 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7846 _lt_linker_boilerplate=`cat conftest.err`
7847 $RM -r conftest*
7850 ## CAVEAT EMPTOR:
7851 ## There is no encapsulation within the following macros, do not change
7852 ## the running order or otherwise move them around unless you know exactly
7853 ## what you are doing...
7854 if test -n "$compiler"; then
7856 lt_prog_compiler_no_builtin_flag=
7858 if test "$GCC" = yes; then
7859 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7861 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7862 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7863 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 else
7866 lt_cv_prog_compiler_rtti_exceptions=no
7867 ac_outfile=conftest.$ac_objext
7868 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7869 lt_compiler_flag="-fno-rtti -fno-exceptions"
7870 # Insert the option either (1) after the last *FLAGS variable, or
7871 # (2) before a word containing "conftest.", or (3) at the end.
7872 # Note that $ac_compile itself does not contain backslashes and begins
7873 # with a dollar sign (not a hyphen), so the echo should work correctly.
7874 # The option is referenced via a variable to avoid confusing sed.
7875 lt_compile=`echo "$ac_compile" | $SED \
7876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7878 -e 's:$: $lt_compiler_flag:'`
7879 (eval echo "\"\$as_me:7879: $lt_compile\"" >&5)
7880 (eval "$lt_compile" 2>conftest.err)
7881 ac_status=$?
7882 cat conftest.err >&5
7883 echo "$as_me:7883: \$? = $ac_status" >&5
7884 if (exit $ac_status) && test -s "$ac_outfile"; then
7885 # The compiler can only warn and ignore the option if not recognized
7886 # So say no if there are warnings other than the usual output.
7887 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7888 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7889 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7890 lt_cv_prog_compiler_rtti_exceptions=yes
7893 $RM conftest*
7896 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7897 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7899 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7900 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7901 else
7912 lt_prog_compiler_wl=
7913 lt_prog_compiler_pic=
7914 lt_prog_compiler_static=
7916 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7917 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7919 if test "$GCC" = yes; then
7920 lt_prog_compiler_wl='-Wl,'
7921 lt_prog_compiler_static='-static'
7923 case $host_os in
7924 aix*)
7925 # All AIX code is PIC.
7926 if test "$host_cpu" = ia64; then
7927 # AIX 5 now supports IA64 processor
7928 lt_prog_compiler_static='-Bstatic'
7932 amigaos*)
7933 case $host_cpu in
7934 powerpc)
7935 # see comment about AmigaOS4 .so support
7936 lt_prog_compiler_pic='-fPIC'
7938 m68k)
7939 # FIXME: we need at least 68020 code to build shared libraries, but
7940 # adding the `-m68020' flag to GCC prevents building anything better,
7941 # like `-m68040'.
7942 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7944 esac
7947 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7948 # PIC is the default for these OSes.
7951 mingw* | cygwin* | pw32* | os2* | cegcc*)
7952 # This hack is so that the source file can tell whether it is being
7953 # built for inclusion in a dll (and should export symbols for example).
7954 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7955 # (--disable-auto-import) libraries
7956 lt_prog_compiler_pic='-DDLL_EXPORT'
7959 darwin* | rhapsody*)
7960 # PIC is the default on this platform
7961 # Common symbols not allowed in MH_DYLIB files
7962 lt_prog_compiler_pic='-fno-common'
7965 hpux*)
7966 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7967 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7968 # sets the default TLS model and affects inlining.
7969 case $host_cpu in
7970 hppa*64*)
7971 # +Z the default
7974 lt_prog_compiler_pic='-fPIC'
7976 esac
7979 interix[3-9]*)
7980 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7981 # Instead, we relocate shared libraries at runtime.
7984 msdosdjgpp*)
7985 # Just because we use GCC doesn't mean we suddenly get shared libraries
7986 # on systems that don't support them.
7987 lt_prog_compiler_can_build_shared=no
7988 enable_shared=no
7991 *nto* | *qnx*)
7992 # QNX uses GNU C++, but need to define -shared option too, otherwise
7993 # it will coredump.
7994 lt_prog_compiler_pic='-fPIC -shared'
7997 sysv4*MP*)
7998 if test -d /usr/nec; then
7999 lt_prog_compiler_pic=-Kconform_pic
8004 lt_prog_compiler_pic='-fPIC'
8006 esac
8007 else
8008 # PORTME Check for flag to pass linker flags through the system compiler.
8009 case $host_os in
8010 aix*)
8011 lt_prog_compiler_wl='-Wl,'
8012 if test "$host_cpu" = ia64; then
8013 # AIX 5 now supports IA64 processor
8014 lt_prog_compiler_static='-Bstatic'
8015 else
8016 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8020 mingw* | cygwin* | pw32* | os2* | cegcc*)
8021 # This hack is so that the source file can tell whether it is being
8022 # built for inclusion in a dll (and should export symbols for example).
8023 lt_prog_compiler_pic='-DDLL_EXPORT'
8026 hpux9* | hpux10* | hpux11*)
8027 lt_prog_compiler_wl='-Wl,'
8028 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8029 # not for PA HP-UX.
8030 case $host_cpu in
8031 hppa*64*|ia64*)
8032 # +Z the default
8035 lt_prog_compiler_pic='+Z'
8037 esac
8038 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8039 lt_prog_compiler_static='${wl}-a ${wl}archive'
8042 irix5* | irix6* | nonstopux*)
8043 lt_prog_compiler_wl='-Wl,'
8044 # PIC (with -KPIC) is the default.
8045 lt_prog_compiler_static='-non_shared'
8048 linux* | k*bsd*-gnu)
8049 case $cc_basename in
8050 # old Intel for x86_64 which still supported -KPIC.
8051 ecc*)
8052 lt_prog_compiler_wl='-Wl,'
8053 lt_prog_compiler_pic='-KPIC'
8054 lt_prog_compiler_static='-static'
8056 # icc used to be incompatible with GCC.
8057 # ICC 10 doesn't accept -KPIC any more.
8058 icc* | ifort*)
8059 lt_prog_compiler_wl='-Wl,'
8060 lt_prog_compiler_pic='-fPIC'
8061 lt_prog_compiler_static='-static'
8063 # Lahey Fortran 8.1.
8064 lf95*)
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_pic='--shared'
8067 lt_prog_compiler_static='--static'
8069 pgcc* | pgf77* | pgf90* | pgf95*)
8070 # Portland Group compilers (*not* the Pentium gcc compiler,
8071 # which looks to be a dead project)
8072 lt_prog_compiler_wl='-Wl,'
8073 lt_prog_compiler_pic='-fpic'
8074 lt_prog_compiler_static='-Bstatic'
8076 ccc*)
8077 lt_prog_compiler_wl='-Wl,'
8078 # All Alpha code is PIC.
8079 lt_prog_compiler_static='-non_shared'
8081 xl*)
8082 # IBM XL C 8.0/Fortran 10.1 on PPC
8083 lt_prog_compiler_wl='-Wl,'
8084 lt_prog_compiler_pic='-qpic'
8085 lt_prog_compiler_static='-qstaticlink'
8088 case `$CC -V 2>&1 | sed 5q` in
8089 *Sun\ C*)
8090 # Sun C 5.9
8091 lt_prog_compiler_pic='-KPIC'
8092 lt_prog_compiler_static='-Bstatic'
8093 lt_prog_compiler_wl='-Wl,'
8095 *Sun\ F*)
8096 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8097 lt_prog_compiler_pic='-KPIC'
8098 lt_prog_compiler_static='-Bstatic'
8099 lt_prog_compiler_wl=''
8101 esac
8103 esac
8106 newsos6)
8107 lt_prog_compiler_pic='-KPIC'
8108 lt_prog_compiler_static='-Bstatic'
8111 *nto* | *qnx*)
8112 # QNX uses GNU C++, but need to define -shared option too, otherwise
8113 # it will coredump.
8114 lt_prog_compiler_pic='-fPIC -shared'
8117 osf3* | osf4* | osf5*)
8118 lt_prog_compiler_wl='-Wl,'
8119 # All OSF/1 code is PIC.
8120 lt_prog_compiler_static='-non_shared'
8123 rdos*)
8124 lt_prog_compiler_static='-non_shared'
8127 solaris*)
8128 lt_prog_compiler_pic='-KPIC'
8129 lt_prog_compiler_static='-Bstatic'
8130 case $cc_basename in
8131 f77* | f90* | f95*)
8132 lt_prog_compiler_wl='-Qoption ld ';;
8134 lt_prog_compiler_wl='-Wl,';;
8135 esac
8138 sunos4*)
8139 lt_prog_compiler_wl='-Qoption ld '
8140 lt_prog_compiler_pic='-PIC'
8141 lt_prog_compiler_static='-Bstatic'
8144 sysv4 | sysv4.2uw2* | sysv4.3*)
8145 lt_prog_compiler_wl='-Wl,'
8146 lt_prog_compiler_pic='-KPIC'
8147 lt_prog_compiler_static='-Bstatic'
8150 sysv4*MP*)
8151 if test -d /usr/nec ;then
8152 lt_prog_compiler_pic='-Kconform_pic'
8153 lt_prog_compiler_static='-Bstatic'
8157 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8158 lt_prog_compiler_wl='-Wl,'
8159 lt_prog_compiler_pic='-KPIC'
8160 lt_prog_compiler_static='-Bstatic'
8163 unicos*)
8164 lt_prog_compiler_wl='-Wl,'
8165 lt_prog_compiler_can_build_shared=no
8168 uts4*)
8169 lt_prog_compiler_pic='-pic'
8170 lt_prog_compiler_static='-Bstatic'
8174 lt_prog_compiler_can_build_shared=no
8176 esac
8179 case $host_os in
8180 # For platforms which do not support PIC, -DPIC is meaningless:
8181 *djgpp*)
8182 lt_prog_compiler_pic=
8185 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8187 esac
8188 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8189 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8197 # Check to make sure the PIC flag actually works.
8199 if test -n "$lt_prog_compiler_pic"; then
8200 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8201 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8202 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 lt_cv_prog_compiler_pic_works=no
8206 ac_outfile=conftest.$ac_objext
8207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 # The option is referenced via a variable to avoid confusing sed.
8214 lt_compile=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>conftest.err)
8220 ac_status=$?
8221 cat conftest.err >&5
8222 echo "$as_me:8222: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s "$ac_outfile"; then
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings other than the usual output.
8226 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8227 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8228 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8229 lt_cv_prog_compiler_pic_works=yes
8232 $RM conftest*
8235 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8236 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8238 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8239 case $lt_prog_compiler_pic in
8240 "" | " "*) ;;
8241 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8242 esac
8243 else
8244 lt_prog_compiler_pic=
8245 lt_prog_compiler_can_build_shared=no
8256 # Check to make sure the static flag actually works.
8258 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8259 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8260 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8261 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 else
8264 lt_cv_prog_compiler_static_works=no
8265 save_LDFLAGS="$LDFLAGS"
8266 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8267 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8268 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8269 # The linker can only warn and ignore the option if not recognized
8270 # So say no if there are warnings
8271 if test -s conftest.err; then
8272 # Append any errors to the config.log.
8273 cat conftest.err 1>&5
8274 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8276 if diff conftest.exp conftest.er2 >/dev/null; then
8277 lt_cv_prog_compiler_static_works=yes
8279 else
8280 lt_cv_prog_compiler_static_works=yes
8283 $RM -r conftest*
8284 LDFLAGS="$save_LDFLAGS"
8287 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8288 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8290 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8292 else
8293 lt_prog_compiler_static=
8302 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8303 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8304 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 else
8307 lt_cv_prog_compiler_c_o=no
8308 $RM -r conftest 2>/dev/null
8309 mkdir conftest
8310 cd conftest
8311 mkdir out
8312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8314 lt_compiler_flag="-o out/conftest2.$ac_objext"
8315 # Insert the option either (1) after the last *FLAGS variable, or
8316 # (2) before a word containing "conftest.", or (3) at the end.
8317 # Note that $ac_compile itself does not contain backslashes and begins
8318 # with a dollar sign (not a hyphen), so the echo should work correctly.
8319 lt_compile=`echo "$ac_compile" | $SED \
8320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8322 -e 's:$: $lt_compiler_flag:'`
8323 (eval echo "\"\$as_me:8323: $lt_compile\"" >&5)
8324 (eval "$lt_compile" 2>out/conftest.err)
8325 ac_status=$?
8326 cat out/conftest.err >&5
8327 echo "$as_me:8327: \$? = $ac_status" >&5
8328 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8329 then
8330 # The compiler can only warn and ignore the option if not recognized
8331 # So say no if there are warnings
8332 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8333 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8334 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8335 lt_cv_prog_compiler_c_o=yes
8338 chmod u+w . 2>&5
8339 $RM conftest*
8340 # SGI C++ compiler will create directory out/ii_files/ for
8341 # template instantiation
8342 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8343 $RM out/* && rmdir out
8344 cd ..
8345 $RM -r conftest
8346 $RM conftest*
8349 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8350 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8357 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8358 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8359 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 else
8362 lt_cv_prog_compiler_c_o=no
8363 $RM -r conftest 2>/dev/null
8364 mkdir conftest
8365 cd conftest
8366 mkdir out
8367 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8369 lt_compiler_flag="-o out/conftest2.$ac_objext"
8370 # Insert the option either (1) after the last *FLAGS variable, or
8371 # (2) before a word containing "conftest.", or (3) at the end.
8372 # Note that $ac_compile itself does not contain backslashes and begins
8373 # with a dollar sign (not a hyphen), so the echo should work correctly.
8374 lt_compile=`echo "$ac_compile" | $SED \
8375 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377 -e 's:$: $lt_compiler_flag:'`
8378 (eval echo "\"\$as_me:8378: $lt_compile\"" >&5)
8379 (eval "$lt_compile" 2>out/conftest.err)
8380 ac_status=$?
8381 cat out/conftest.err >&5
8382 echo "$as_me:8382: \$? = $ac_status" >&5
8383 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8384 then
8385 # The compiler can only warn and ignore the option if not recognized
8386 # So say no if there are warnings
8387 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8388 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8389 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8390 lt_cv_prog_compiler_c_o=yes
8393 chmod u+w . 2>&5
8394 $RM conftest*
8395 # SGI C++ compiler will create directory out/ii_files/ for
8396 # template instantiation
8397 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8398 $RM out/* && rmdir out
8399 cd ..
8400 $RM -r conftest
8401 $RM conftest*
8404 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8405 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8410 hard_links="nottested"
8411 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8412 # do not overwrite the value of need_locks provided by the user
8413 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8414 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8415 hard_links=yes
8416 $RM conftest*
8417 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8418 touch conftest.a
8419 ln conftest.a conftest.b 2>&5 || hard_links=no
8420 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8421 echo "$as_me:$LINENO: result: $hard_links" >&5
8422 echo "${ECHO_T}$hard_links" >&6
8423 if test "$hard_links" = no; then
8424 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8425 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8426 need_locks=warn
8428 else
8429 need_locks=no
8437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8440 runpath_var=
8441 allow_undefined_flag=
8442 always_export_symbols=no
8443 archive_cmds=
8444 archive_expsym_cmds=
8445 compiler_needs_object=no
8446 enable_shared_with_static_runtimes=no
8447 export_dynamic_flag_spec=
8448 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8449 hardcode_automatic=no
8450 hardcode_direct=no
8451 hardcode_direct_absolute=no
8452 hardcode_libdir_flag_spec=
8453 hardcode_libdir_flag_spec_ld=
8454 hardcode_libdir_separator=
8455 hardcode_minus_L=no
8456 hardcode_shlibpath_var=unsupported
8457 inherit_rpath=no
8458 link_all_deplibs=unknown
8459 module_cmds=
8460 module_expsym_cmds=
8461 old_archive_from_new_cmds=
8462 old_archive_from_expsyms_cmds=
8463 thread_safe_flag_spec=
8464 whole_archive_flag_spec=
8465 # include_expsyms should be a list of space-separated symbols to be *always*
8466 # included in the symbol list
8467 include_expsyms=
8468 # exclude_expsyms can be an extended regexp of symbols to exclude
8469 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8470 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8471 # as well as any symbol that contains `d'.
8472 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8473 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8474 # platforms (ab)use it in PIC code, but their linkers get confused if
8475 # the symbol is explicitly referenced. Since portable code cannot
8476 # rely on this symbol name, it's probably fine to never include it in
8477 # preloaded symbol tables.
8478 # Exclude shared library initialization/finalization symbols.
8479 extract_expsyms_cmds=
8481 case $host_os in
8482 cygwin* | mingw* | pw32* | cegcc*)
8483 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8484 # When not using gcc, we currently assume that we are using
8485 # Microsoft Visual C++.
8486 if test "$GCC" != yes; then
8487 with_gnu_ld=no
8490 interix*)
8491 # we just hope/assume this is gcc and not c89 (= MSVC++)
8492 with_gnu_ld=yes
8494 openbsd*)
8495 with_gnu_ld=no
8497 esac
8499 ld_shlibs=yes
8500 if test "$with_gnu_ld" = yes; then
8501 # If archive_cmds runs LD, not CC, wlarc should be empty
8502 wlarc='${wl}'
8504 # Set some defaults for GNU ld with shared library support. These
8505 # are reset later if shared libraries are not supported. Putting them
8506 # here allows them to be overridden if necessary.
8507 runpath_var=LD_RUN_PATH
8508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8509 export_dynamic_flag_spec='${wl}--export-dynamic'
8510 # ancient GNU ld didn't support --whole-archive et. al.
8511 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8512 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8513 else
8514 whole_archive_flag_spec=
8516 supports_anon_versioning=no
8517 case `$LD -v 2>&1` in
8518 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8519 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8520 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8521 *\ 2.11.*) ;; # other 2.11 versions
8522 *) supports_anon_versioning=yes ;;
8523 esac
8525 # See if GNU ld supports shared libraries.
8526 case $host_os in
8527 aix[3-9]*)
8528 # On AIX/PPC, the GNU linker is very broken
8529 if test "$host_cpu" != ia64; then
8530 ld_shlibs=no
8531 cat <<_LT_EOF 1>&2
8533 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8534 *** to be unable to reliably create shared libraries on AIX.
8535 *** Therefore, libtool is disabling shared libraries support. If you
8536 *** really care for shared libraries, you may want to modify your PATH
8537 *** so that a non-GNU linker is found, and then restart.
8539 _LT_EOF
8543 amigaos*)
8544 case $host_cpu in
8545 powerpc)
8546 # see comment about AmigaOS4 .so support
8547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8548 archive_expsym_cmds=''
8550 m68k)
8551 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)'
8552 hardcode_libdir_flag_spec='-L$libdir'
8553 hardcode_minus_L=yes
8555 esac
8558 beos*)
8559 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8560 allow_undefined_flag=unsupported
8561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8562 # support --undefined. This deserves some investigation. FIXME
8563 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8564 else
8565 ld_shlibs=no
8569 cygwin* | mingw* | pw32* | cegcc*)
8570 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8571 # as there is no search path for DLLs.
8572 hardcode_libdir_flag_spec='-L$libdir'
8573 allow_undefined_flag=unsupported
8574 always_export_symbols=no
8575 enable_shared_with_static_runtimes=yes
8576 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8578 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8579 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8580 # If the export-symbols file already is a .def file (1st line
8581 # is EXPORTS), use it as is; otherwise, prepend...
8582 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8583 cp $export_symbols $output_objdir/$soname.def;
8584 else
8585 echo EXPORTS > $output_objdir/$soname.def;
8586 cat $export_symbols >> $output_objdir/$soname.def;
8588 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8589 else
8590 ld_shlibs=no
8594 interix[3-9]*)
8595 hardcode_direct=no
8596 hardcode_shlibpath_var=no
8597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8598 export_dynamic_flag_spec='${wl}-E'
8599 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8600 # Instead, shared libraries are loaded at an image base (0x10000000 by
8601 # default) and relocated if they conflict, which is a slow very memory
8602 # consuming and fragmenting process. To avoid this, we pick a random,
8603 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8604 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8605 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8606 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'
8609 gnu* | linux* | tpf* | k*bsd*-gnu)
8610 tmp_diet=no
8611 if test "$host_os" = linux-dietlibc; then
8612 case $cc_basename in
8613 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8614 esac
8616 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8617 && test "$tmp_diet" = no
8618 then
8619 tmp_addflag=
8620 tmp_sharedflag='-shared'
8621 case $cc_basename,$host_cpu in
8622 pgcc*) # Portland Group C compiler
8623 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'
8624 tmp_addflag=' $pic_flag'
8626 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8627 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'
8628 tmp_addflag=' $pic_flag -Mnomain' ;;
8629 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8630 tmp_addflag=' -i_dynamic' ;;
8631 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8632 tmp_addflag=' -i_dynamic -nofor_main' ;;
8633 ifc* | ifort*) # Intel Fortran compiler
8634 tmp_addflag=' -nofor_main' ;;
8635 lf95*) # Lahey Fortran 8.1
8636 whole_archive_flag_spec=
8637 tmp_sharedflag='--shared' ;;
8638 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8639 tmp_sharedflag='-qmkshrobj'
8640 tmp_addflag= ;;
8641 esac
8642 case `$CC -V 2>&1 | sed 5q` in
8643 *Sun\ C*) # Sun C 5.9
8644 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'
8645 compiler_needs_object=yes
8646 tmp_sharedflag='-G' ;;
8647 *Sun\ F*) # Sun Fortran 8.3
8648 tmp_sharedflag='-G' ;;
8649 esac
8650 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652 if test "x$supports_anon_versioning" = xyes; then
8653 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655 echo "local: *; };" >> $output_objdir/$libname.ver~
8656 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8659 case $cc_basename in
8660 xlf*)
8661 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8662 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8663 hardcode_libdir_flag_spec=
8664 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8665 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8666 if test "x$supports_anon_versioning" = xyes; then
8667 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8669 echo "local: *; };" >> $output_objdir/$libname.ver~
8670 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8673 esac
8674 else
8675 ld_shlibs=no
8679 netbsd*)
8680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8681 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8682 wlarc=
8683 else
8684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8689 solaris*)
8690 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8691 ld_shlibs=no
8692 cat <<_LT_EOF 1>&2
8694 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8695 *** create shared libraries on Solaris systems. Therefore, libtool
8696 *** is disabling shared libraries support. We urge you to upgrade GNU
8697 *** binutils to release 2.9.1 or newer. Another option is to modify
8698 *** your PATH or compiler configuration so that the native linker is
8699 *** used, and then restart.
8701 _LT_EOF
8702 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8703 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8705 else
8706 ld_shlibs=no
8710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8711 case `$LD -v 2>&1` in
8712 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8713 ld_shlibs=no
8714 cat <<_LT_EOF 1>&2
8716 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8717 *** reliably create shared libraries on SCO systems. Therefore, libtool
8718 *** is disabling shared libraries support. We urge you to upgrade GNU
8719 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8720 *** your PATH or compiler configuration so that the native linker is
8721 *** used, and then restart.
8723 _LT_EOF
8726 # For security reasons, it is highly recommended that you always
8727 # use absolute paths for naming shared libraries, and exclude the
8728 # DT_RUNPATH tag from executables and libraries. But doing so
8729 # requires that you compile everything twice, which is a pain.
8730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8734 else
8735 ld_shlibs=no
8738 esac
8741 sunos4*)
8742 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8743 wlarc=
8744 hardcode_direct=yes
8745 hardcode_shlibpath_var=no
8749 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8750 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8751 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8752 else
8753 ld_shlibs=no
8756 esac
8758 if test "$ld_shlibs" = no; then
8759 runpath_var=
8760 hardcode_libdir_flag_spec=
8761 export_dynamic_flag_spec=
8762 whole_archive_flag_spec=
8764 else
8765 # PORTME fill in a description of your system's linker (not GNU ld)
8766 case $host_os in
8767 aix3*)
8768 allow_undefined_flag=unsupported
8769 always_export_symbols=yes
8770 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'
8771 # Note: this linker hardcodes the directories in LIBPATH if there
8772 # are no directories specified by -L.
8773 hardcode_minus_L=yes
8774 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8775 # Neither direct hardcoding nor static linking is supported with a
8776 # broken collect2.
8777 hardcode_direct=unsupported
8781 aix[4-9]*)
8782 if test "$host_cpu" = ia64; then
8783 # On IA64, the linker does run time linking by default, so we don't
8784 # have to do anything special.
8785 aix_use_runtimelinking=no
8786 exp_sym_flag='-Bexport'
8787 no_entry_flag=""
8788 else
8789 # If we're using GNU nm, then we don't want the "-C" option.
8790 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8791 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8792 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'
8793 else
8794 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'
8796 aix_use_runtimelinking=no
8798 # Test if we are trying to use run time linking or normal
8799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8800 # need to do runtime linking.
8801 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8802 for ld_flag in $LDFLAGS; do
8803 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8804 aix_use_runtimelinking=yes
8805 break
8807 done
8809 esac
8811 exp_sym_flag='-bexport'
8812 no_entry_flag='-bnoentry'
8815 # When large executables or shared objects are built, AIX ld can
8816 # have problems creating the table of contents. If linking a library
8817 # or program results in "error TOC overflow" add -mminimal-toc to
8818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8821 archive_cmds=''
8822 hardcode_direct=yes
8823 hardcode_direct_absolute=yes
8824 hardcode_libdir_separator=':'
8825 link_all_deplibs=yes
8826 file_list_spec='${wl}-f,'
8828 if test "$GCC" = yes; then
8829 case $host_os in aix4.[012]|aix4.[012].*)
8830 # We only want to do this on AIX 4.2 and lower, the check
8831 # below for broken collect2 doesn't work under 4.3+
8832 collect2name=`${CC} -print-prog-name=collect2`
8833 if test -f "$collect2name" &&
8834 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8835 then
8836 # We have reworked collect2
8838 else
8839 # We have old collect2
8840 hardcode_direct=unsupported
8841 # It fails to find uninstalled libraries when the uninstalled
8842 # path is not listed in the libpath. Setting hardcode_minus_L
8843 # to unsupported forces relinking
8844 hardcode_minus_L=yes
8845 hardcode_libdir_flag_spec='-L$libdir'
8846 hardcode_libdir_separator=
8849 esac
8850 shared_flag='-shared'
8851 if test "$aix_use_runtimelinking" = yes; then
8852 shared_flag="$shared_flag "'${wl}-G'
8854 else
8855 # not using gcc
8856 if test "$host_cpu" = ia64; then
8857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8858 # chokes on -Wl,-G. The following line is correct:
8859 shared_flag='-G'
8860 else
8861 if test "$aix_use_runtimelinking" = yes; then
8862 shared_flag='${wl}-G'
8863 else
8864 shared_flag='${wl}-bM:SRE'
8869 export_dynamic_flag_spec='${wl}-bexpall'
8870 # It seems that -bexpall does not export symbols beginning with
8871 # underscore (_), so it is better to generate a list of symbols to export.
8872 always_export_symbols=yes
8873 if test "$aix_use_runtimelinking" = yes; then
8874 # Warning - without using the other runtime loading flags (-brtl),
8875 # -berok will link without error, but may produce a broken library.
8876 allow_undefined_flag='-berok'
8877 # Determine the default libpath from the value encoded in an
8878 # empty executable.
8879 if test x$gcc_no_link = xyes; then
8880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8882 { (exit 1); exit 1; }; }
8884 cat >conftest.$ac_ext <<_ACEOF
8885 /* confdefs.h. */
8886 _ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8892 main ()
8896 return 0;
8898 _ACEOF
8899 rm -f conftest.$ac_objext conftest$ac_exeext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8901 (eval $ac_link) 2>conftest.er1
8902 ac_status=$?
8903 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
8908 { ac_try='test -z "$ac_c_werror_flag"
8909 || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 (eval $ac_try) 2>&5
8912 ac_status=$?
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try='test -s conftest$ac_exeext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 (eval $ac_try) 2>&5
8918 ac_status=$?
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8922 lt_aix_libpath_sed='
8923 /Import File Strings/,/^$/ {
8924 /^0/ {
8925 s/^0 *\(.*\)$/\1/
8929 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8930 # Check for a 64-bit object if we didn't find anything.
8931 if test -z "$aix_libpath"; then
8932 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 else
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.$ac_ext >&5
8939 rm -f conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8943 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8944 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"
8945 else
8946 if test "$host_cpu" = ia64; then
8947 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8948 allow_undefined_flag="-z nodefs"
8949 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"
8950 else
8951 # Determine the default libpath from the value encoded in an
8952 # empty executable.
8953 if test x$gcc_no_link = xyes; then
8954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8956 { (exit 1); exit 1; }; }
8958 cat >conftest.$ac_ext <<_ACEOF
8959 /* confdefs.h. */
8960 _ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8966 main ()
8970 return 0;
8972 _ACEOF
8973 rm -f conftest.$ac_objext conftest$ac_exeext
8974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8975 (eval $ac_link) 2>conftest.er1
8976 ac_status=$?
8977 grep -v '^ *+' conftest.er1 >conftest.err
8978 rm -f conftest.er1
8979 cat conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); } &&
8982 { ac_try='test -z "$ac_c_werror_flag"
8983 || test ! -s conftest.err'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 (eval $ac_try) 2>&5
8986 ac_status=$?
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try='test -s conftest$ac_exeext'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 (eval $ac_try) 2>&5
8992 ac_status=$?
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8996 lt_aix_libpath_sed='
8997 /Import File Strings/,/^$/ {
8998 /^0/ {
8999 s/^0 *\(.*\)$/\1/
9003 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9004 # Check for a 64-bit object if we didn't find anything.
9005 if test -z "$aix_libpath"; then
9006 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9008 else
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.$ac_ext >&5
9013 rm -f conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9017 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9018 # Warning - without using the other run time loading flags,
9019 # -berok will link without error, but may produce a broken library.
9020 no_undefined_flag=' ${wl}-bernotok'
9021 allow_undefined_flag=' ${wl}-berok'
9022 # Exported symbols can be pulled into shared objects from archives
9023 whole_archive_flag_spec='$convenience'
9024 archive_cmds_need_lc=yes
9025 # This is similar to how AIX traditionally builds its shared libraries.
9026 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'
9031 amigaos*)
9032 case $host_cpu in
9033 powerpc)
9034 # see comment about AmigaOS4 .so support
9035 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9036 archive_expsym_cmds=''
9038 m68k)
9039 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)'
9040 hardcode_libdir_flag_spec='-L$libdir'
9041 hardcode_minus_L=yes
9043 esac
9046 bsdi[45]*)
9047 export_dynamic_flag_spec=-rdynamic
9050 cygwin* | mingw* | pw32* | cegcc*)
9051 # When not using gcc, we currently assume that we are using
9052 # Microsoft Visual C++.
9053 # hardcode_libdir_flag_spec is actually meaningless, as there is
9054 # no search path for DLLs.
9055 hardcode_libdir_flag_spec=' '
9056 allow_undefined_flag=unsupported
9057 # Tell ltmain to make .lib files, not .a files.
9058 libext=lib
9059 # Tell ltmain to make .dll files, not .so files.
9060 shrext_cmds=".dll"
9061 # FIXME: Setting linknames here is a bad hack.
9062 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9063 # The linker will automatically build a .lib file if we build a DLL.
9064 old_archive_from_new_cmds='true'
9065 # FIXME: Should let the user specify the lib program.
9066 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9067 fix_srcfile_path='`cygpath -w "$srcfile"`'
9068 enable_shared_with_static_runtimes=yes
9071 darwin* | rhapsody*)
9074 archive_cmds_need_lc=no
9075 hardcode_direct=no
9076 hardcode_automatic=yes
9077 hardcode_shlibpath_var=unsupported
9078 whole_archive_flag_spec=''
9079 link_all_deplibs=yes
9080 allow_undefined_flag="$_lt_dar_allow_undefined"
9081 case $cc_basename in
9082 ifort*) _lt_dar_can_shared=yes ;;
9083 *) _lt_dar_can_shared=$GCC ;;
9084 esac
9085 if test "$_lt_dar_can_shared" = "yes"; then
9086 output_verbose_link_cmd=echo
9087 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9088 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9089 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}"
9090 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}"
9092 else
9093 ld_shlibs=no
9098 dgux*)
9099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_libdir_flag_spec='-L$libdir'
9101 hardcode_shlibpath_var=no
9104 freebsd1*)
9105 ld_shlibs=no
9108 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9109 # support. Future versions do this automatically, but an explicit c++rt0.o
9110 # does not break anything, and helps significantly (at the cost of a little
9111 # extra space).
9112 freebsd2.2*)
9113 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9114 hardcode_libdir_flag_spec='-R$libdir'
9115 hardcode_direct=yes
9116 hardcode_shlibpath_var=no
9119 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9120 freebsd2*)
9121 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_direct=yes
9123 hardcode_minus_L=yes
9124 hardcode_shlibpath_var=no
9127 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9128 freebsd* | dragonfly*)
9129 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9130 hardcode_libdir_flag_spec='-R$libdir'
9131 hardcode_direct=yes
9132 hardcode_shlibpath_var=no
9135 hpux9*)
9136 if test "$GCC" = yes; then
9137 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'
9138 else
9139 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'
9141 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9142 hardcode_libdir_separator=:
9143 hardcode_direct=yes
9145 # hardcode_minus_L: Not really in the search PATH,
9146 # but as the default location of the library.
9147 hardcode_minus_L=yes
9148 export_dynamic_flag_spec='${wl}-E'
9151 hpux10*)
9152 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9153 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9154 else
9155 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9157 if test "$with_gnu_ld" = no; then
9158 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9159 hardcode_libdir_flag_spec_ld='+b $libdir'
9160 hardcode_libdir_separator=:
9161 hardcode_direct=yes
9162 hardcode_direct_absolute=yes
9163 export_dynamic_flag_spec='${wl}-E'
9164 # hardcode_minus_L: Not really in the search PATH,
9165 # but as the default location of the library.
9166 hardcode_minus_L=yes
9170 hpux11*)
9171 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9172 case $host_cpu in
9173 hppa*64*)
9174 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9176 ia64*)
9177 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9180 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9182 esac
9183 else
9184 case $host_cpu in
9185 hppa*64*)
9186 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 ia64*)
9189 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9192 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9194 esac
9196 if test "$with_gnu_ld" = no; then
9197 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9198 hardcode_libdir_separator=:
9200 case $host_cpu in
9201 hppa*64*|ia64*)
9202 hardcode_direct=no
9203 hardcode_shlibpath_var=no
9206 hardcode_direct=yes
9207 hardcode_direct_absolute=yes
9208 export_dynamic_flag_spec='${wl}-E'
9210 # hardcode_minus_L: Not really in the search PATH,
9211 # but as the default location of the library.
9212 hardcode_minus_L=yes
9214 esac
9218 irix5* | irix6* | nonstopux*)
9219 if test "$GCC" = yes; then
9220 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'
9221 # Try to use the -exported_symbol ld option, if it does not
9222 # work, assume that -exports_file does not work either and
9223 # implicitly export all symbols.
9224 save_LDFLAGS="$LDFLAGS"
9225 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9226 if test x$gcc_no_link = xyes; then
9227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9229 { (exit 1); exit 1; }; }
9231 cat >conftest.$ac_ext <<_ACEOF
9232 int foo(void) {}
9233 _ACEOF
9234 rm -f conftest.$ac_objext conftest$ac_exeext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9236 (eval $ac_link) 2>conftest.er1
9237 ac_status=$?
9238 grep -v '^ *+' conftest.er1 >conftest.err
9239 rm -f conftest.er1
9240 cat conftest.err >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try='test -z "$ac_c_werror_flag"
9244 || test ! -s conftest.err'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 (eval $ac_try) 2>&5
9247 ac_status=$?
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; } &&
9250 { ac_try='test -s conftest$ac_exeext'
9251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 (eval $ac_try) 2>&5
9253 ac_status=$?
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); }; }; then
9256 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'
9258 else
9259 echo "$as_me: failed program was:" >&5
9260 sed 's/^/| /' conftest.$ac_ext >&5
9263 rm -f conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LDFLAGS="$save_LDFLAGS"
9266 else
9267 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'
9268 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'
9270 archive_cmds_need_lc='no'
9271 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9272 hardcode_libdir_separator=:
9273 inherit_rpath=yes
9274 link_all_deplibs=yes
9277 netbsd*)
9278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9279 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9280 else
9281 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9283 hardcode_libdir_flag_spec='-R$libdir'
9284 hardcode_direct=yes
9285 hardcode_shlibpath_var=no
9288 newsos6)
9289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9290 hardcode_direct=yes
9291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9292 hardcode_libdir_separator=:
9293 hardcode_shlibpath_var=no
9296 *nto* | *qnx*)
9299 openbsd*)
9300 if test -f /usr/libexec/ld.so; then
9301 hardcode_direct=yes
9302 hardcode_shlibpath_var=no
9303 hardcode_direct_absolute=yes
9304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9305 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9306 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9307 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9308 export_dynamic_flag_spec='${wl}-E'
9309 else
9310 case $host_os in
9311 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9312 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9313 hardcode_libdir_flag_spec='-R$libdir'
9316 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9317 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9319 esac
9321 else
9322 ld_shlibs=no
9326 os2*)
9327 hardcode_libdir_flag_spec='-L$libdir'
9328 hardcode_minus_L=yes
9329 allow_undefined_flag=unsupported
9330 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'
9331 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9334 osf3*)
9335 if test "$GCC" = yes; then
9336 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9337 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'
9338 else
9339 allow_undefined_flag=' -expect_unresolved \*'
9340 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'
9342 archive_cmds_need_lc='no'
9343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344 hardcode_libdir_separator=:
9347 osf4* | osf5*) # as osf3* with the addition of -msym flag
9348 if test "$GCC" = yes; then
9349 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9350 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'
9351 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9352 else
9353 allow_undefined_flag=' -expect_unresolved \*'
9354 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'
9355 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~
9356 $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'
9358 # Both c and cxx compiler support -rpath directly
9359 hardcode_libdir_flag_spec='-rpath $libdir'
9361 archive_cmds_need_lc='no'
9362 hardcode_libdir_separator=:
9365 solaris*)
9366 no_undefined_flag=' -z defs'
9367 if test "$GCC" = yes; then
9368 wlarc='${wl}'
9369 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9371 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9372 else
9373 case `$CC -V 2>&1` in
9374 *"Compilers 5.0"*)
9375 wlarc=''
9376 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9377 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9378 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9381 wlarc='${wl}'
9382 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9384 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9386 esac
9388 hardcode_libdir_flag_spec='-R$libdir'
9389 hardcode_shlibpath_var=no
9390 case $host_os in
9391 solaris2.[0-5] | solaris2.[0-5].*) ;;
9393 # The compiler driver will combine and reorder linker options,
9394 # but understands `-z linker_flag'. GCC discards it without `$wl',
9395 # but is careful enough not to reorder.
9396 # Supported since Solaris 2.6 (maybe 2.5.1?)
9397 if test "$GCC" = yes; then
9398 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9399 else
9400 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9403 esac
9404 link_all_deplibs=yes
9407 sunos4*)
9408 if test "x$host_vendor" = xsequent; then
9409 # Use $CC to link under sequent, because it throws in some extra .o
9410 # files that make .init and .fini sections work.
9411 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9412 else
9413 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_libdir_flag_spec='-L$libdir'
9416 hardcode_direct=yes
9417 hardcode_minus_L=yes
9418 hardcode_shlibpath_var=no
9421 sysv4)
9422 case $host_vendor in
9423 sni)
9424 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9425 hardcode_direct=yes # is this really true???
9427 siemens)
9428 ## LD is ld it makes a PLAMLIB
9429 ## CC just makes a GrossModule.
9430 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9431 reload_cmds='$CC -r -o $output$reload_objs'
9432 hardcode_direct=no
9434 motorola)
9435 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9436 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9438 esac
9439 runpath_var='LD_RUN_PATH'
9440 hardcode_shlibpath_var=no
9443 sysv4.3*)
9444 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_shlibpath_var=no
9446 export_dynamic_flag_spec='-Bexport'
9449 sysv4*MP*)
9450 if test -d /usr/nec; then
9451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9452 hardcode_shlibpath_var=no
9453 runpath_var=LD_RUN_PATH
9454 hardcode_runpath_var=yes
9455 ld_shlibs=yes
9459 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9460 no_undefined_flag='${wl}-z,text'
9461 archive_cmds_need_lc=no
9462 hardcode_shlibpath_var=no
9463 runpath_var='LD_RUN_PATH'
9465 if test "$GCC" = yes; then
9466 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 else
9469 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9474 sysv5* | sco3.2v5* | sco5v6*)
9475 # Note: We can NOT use -z defs as we might desire, because we do not
9476 # link with -lc, and that would cause any symbols used from libc to
9477 # always be unresolved, which means just about no library would
9478 # ever link correctly. If we're not using GNU ld we use -z text
9479 # though, which does catch some bad symbols but isn't as heavy-handed
9480 # as -z defs.
9481 no_undefined_flag='${wl}-z,text'
9482 allow_undefined_flag='${wl}-z,nodefs'
9483 archive_cmds_need_lc=no
9484 hardcode_shlibpath_var=no
9485 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9486 hardcode_libdir_separator=':'
9487 link_all_deplibs=yes
9488 export_dynamic_flag_spec='${wl}-Bexport'
9489 runpath_var='LD_RUN_PATH'
9491 if test "$GCC" = yes; then
9492 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494 else
9495 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9500 uts4*)
9501 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_shlibpath_var=no
9507 ld_shlibs=no
9509 esac
9511 if test x$host_vendor = xsni; then
9512 case $host in
9513 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9514 export_dynamic_flag_spec='${wl}-Blargedynsym'
9516 esac
9520 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9521 echo "${ECHO_T}$ld_shlibs" >&6
9522 test "$ld_shlibs" = no && can_build_shared=no
9524 with_gnu_ld=$with_gnu_ld
9541 # Do we need to explicitly link libc?
9543 case "x$archive_cmds_need_lc" in
9544 x|xyes)
9545 # Assume -lc should be added
9546 archive_cmds_need_lc=yes
9548 if test "$enable_shared" = yes && test "$GCC" = yes; then
9549 case $archive_cmds in
9550 *'~'*)
9551 # FIXME: we may have to deal with multi-command sequences.
9553 '$CC '*)
9554 # Test whether the compiler implicitly links with -lc since on some
9555 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9556 # to ld, don't add -lc before -lgcc.
9557 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9558 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9559 $RM conftest*
9560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9563 (eval $ac_compile) 2>&5
9564 ac_status=$?
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } 2>conftest.err; then
9567 soname=conftest
9568 lib=conftest
9569 libobjs=conftest.$ac_objext
9570 deplibs=
9571 wl=$lt_prog_compiler_wl
9572 pic_flag=$lt_prog_compiler_pic
9573 compiler_flags=-v
9574 linker_flags=-v
9575 verstring=
9576 output_objdir=.
9577 libname=conftest
9578 lt_save_allow_undefined_flag=$allow_undefined_flag
9579 allow_undefined_flag=
9580 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9581 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9582 ac_status=$?
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }
9585 then
9586 archive_cmds_need_lc=no
9587 else
9588 archive_cmds_need_lc=yes
9590 allow_undefined_flag=$lt_save_allow_undefined_flag
9591 else
9592 cat conftest.err 1>&5
9594 $RM conftest*
9595 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9596 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9598 esac
9601 esac
9759 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9760 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9762 if test "$GCC" = yes; then
9763 case $host_os in
9764 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9765 *) lt_awk_arg="/^libraries:/" ;;
9766 esac
9767 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9768 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9769 # if the path contains ";" then we assume it to be the separator
9770 # otherwise default to the standard path separator (i.e. ":") - it is
9771 # assumed that no part of a normal pathname contains ";" but that should
9772 # okay in the real world where ";" in dirpaths is itself problematic.
9773 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9774 else
9775 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9777 # Ok, now we have the path, separated by spaces, we can step through it
9778 # and add multilib dir if necessary.
9779 lt_tmp_lt_search_path_spec=
9780 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9781 for lt_sys_path in $lt_search_path_spec; do
9782 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9783 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9784 else
9785 test -d "$lt_sys_path" && \
9786 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9788 done
9789 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9790 BEGIN {RS=" "; FS="/|\n";} {
9791 lt_foo="";
9792 lt_count=0;
9793 for (lt_i = NF; lt_i > 0; lt_i--) {
9794 if ($lt_i != "" && $lt_i != ".") {
9795 if ($lt_i == "..") {
9796 lt_count++;
9797 } else {
9798 if (lt_count == 0) {
9799 lt_foo="/" $lt_i lt_foo;
9800 } else {
9801 lt_count--;
9806 if (lt_foo != "") { lt_freq[lt_foo]++; }
9807 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9809 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9810 else
9811 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9813 library_names_spec=
9814 libname_spec='lib$name'
9815 soname_spec=
9816 shrext_cmds=".so"
9817 postinstall_cmds=
9818 postuninstall_cmds=
9819 finish_cmds=
9820 finish_eval=
9821 shlibpath_var=
9822 shlibpath_overrides_runpath=unknown
9823 version_type=none
9824 dynamic_linker="$host_os ld.so"
9825 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9826 need_lib_prefix=unknown
9827 hardcode_into_libs=no
9829 # when you set need_version to no, make sure it does not cause -set_version
9830 # flags to be left without arguments
9831 need_version=unknown
9833 case $host_os in
9834 aix3*)
9835 version_type=linux
9836 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9837 shlibpath_var=LIBPATH
9839 # AIX 3 has no versioning support, so we append a major version to the name.
9840 soname_spec='${libname}${release}${shared_ext}$major'
9843 aix[4-9]*)
9844 version_type=linux
9845 need_lib_prefix=no
9846 need_version=no
9847 hardcode_into_libs=yes
9848 if test "$host_cpu" = ia64; then
9849 # AIX 5 supports IA64
9850 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9851 shlibpath_var=LD_LIBRARY_PATH
9852 else
9853 # With GCC up to 2.95.x, collect2 would create an import file
9854 # for dependence libraries. The import file would start with
9855 # the line `#! .'. This would cause the generated library to
9856 # depend on `.', always an invalid library. This was fixed in
9857 # development snapshots of GCC prior to 3.0.
9858 case $host_os in
9859 aix4 | aix4.[01] | aix4.[01].*)
9860 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9861 echo ' yes '
9862 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9864 else
9865 can_build_shared=no
9868 esac
9869 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9870 # soname into executable. Probably we can add versioning support to
9871 # collect2, so additional links can be useful in future.
9872 if test "$aix_use_runtimelinking" = yes; then
9873 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9874 # instead of lib<name>.a to let people know that these are not
9875 # typical AIX shared libraries.
9876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9877 else
9878 # We preserve .a as extension for shared libraries through AIX4.2
9879 # and later when we are not doing run time linking.
9880 library_names_spec='${libname}${release}.a $libname.a'
9881 soname_spec='${libname}${release}${shared_ext}$major'
9883 shlibpath_var=LIBPATH
9887 amigaos*)
9888 case $host_cpu in
9889 powerpc)
9890 # Since July 2007 AmigaOS4 officially supports .so libraries.
9891 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9894 m68k)
9895 library_names_spec='$libname.ixlibrary $libname.a'
9896 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9897 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'
9899 esac
9902 beos*)
9903 library_names_spec='${libname}${shared_ext}'
9904 dynamic_linker="$host_os ld.so"
9905 shlibpath_var=LIBRARY_PATH
9908 bsdi[45]*)
9909 version_type=linux
9910 need_version=no
9911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9912 soname_spec='${libname}${release}${shared_ext}$major'
9913 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9914 shlibpath_var=LD_LIBRARY_PATH
9915 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9916 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9917 # the default ld.so.conf also contains /usr/contrib/lib and
9918 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9919 # libtool to hard-code these into programs
9922 cygwin* | mingw* | pw32* | cegcc*)
9923 version_type=windows
9924 shrext_cmds=".dll"
9925 need_version=no
9926 need_lib_prefix=no
9928 case $GCC,$host_os in
9929 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9930 library_names_spec='$libname.dll.a'
9931 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9932 postinstall_cmds='base_file=`basename \${file}`~
9933 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9934 dldir=$destdir/`dirname \$dlpath`~
9935 test -d \$dldir || mkdir -p \$dldir~
9936 $install_prog $dir/$dlname \$dldir/$dlname~
9937 chmod a+x \$dldir/$dlname~
9938 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9939 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9941 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9942 dlpath=$dir/\$dldll~
9943 $RM \$dlpath'
9944 shlibpath_overrides_runpath=yes
9946 case $host_os in
9947 cygwin*)
9948 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9949 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9950 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9952 mingw* | cegcc*)
9953 # MinGW DLLs use traditional 'lib' prefix
9954 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9955 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9956 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9957 # It is most probably a Windows format PATH printed by
9958 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9959 # path with ; separators, and with drive letters. We can handle the
9960 # drive letters (cygwin fileutils understands them), so leave them,
9961 # especially as we might pass files found there to a mingw objdump,
9962 # which wouldn't understand a cygwinified path. Ahh.
9963 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9964 else
9965 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9968 pw32*)
9969 # pw32 DLLs use 'pw' prefix rather than 'lib'
9970 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9972 esac
9976 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9978 esac
9979 dynamic_linker='Win32 ld.exe'
9980 # FIXME: first we should search . and the directory the executable is in
9981 shlibpath_var=PATH
9984 darwin* | rhapsody*)
9985 dynamic_linker="$host_os dyld"
9986 version_type=darwin
9987 need_lib_prefix=no
9988 need_version=no
9989 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9990 soname_spec='${libname}${release}${major}$shared_ext'
9991 shlibpath_overrides_runpath=yes
9992 shlibpath_var=DYLD_LIBRARY_PATH
9993 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9995 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9996 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9999 dgux*)
10000 version_type=linux
10001 need_lib_prefix=no
10002 need_version=no
10003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10004 soname_spec='${libname}${release}${shared_ext}$major'
10005 shlibpath_var=LD_LIBRARY_PATH
10008 freebsd1*)
10009 dynamic_linker=no
10012 freebsd* | dragonfly*)
10013 # DragonFly does not have aout. When/if they implement a new
10014 # versioning mechanism, adjust this.
10015 if test -x /usr/bin/objformat; then
10016 objformat=`/usr/bin/objformat`
10017 else
10018 case $host_os in
10019 freebsd[123]*) objformat=aout ;;
10020 *) objformat=elf ;;
10021 esac
10023 version_type=freebsd-$objformat
10024 case $version_type in
10025 freebsd-elf*)
10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10027 need_version=no
10028 need_lib_prefix=no
10030 freebsd-*)
10031 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10032 need_version=yes
10034 esac
10035 shlibpath_var=LD_LIBRARY_PATH
10036 case $host_os in
10037 freebsd2*)
10038 shlibpath_overrides_runpath=yes
10040 freebsd3.[01]* | freebsdelf3.[01]*)
10041 shlibpath_overrides_runpath=yes
10042 hardcode_into_libs=yes
10044 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10045 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10046 shlibpath_overrides_runpath=no
10047 hardcode_into_libs=yes
10049 *) # from 4.6 on, and DragonFly
10050 shlibpath_overrides_runpath=yes
10051 hardcode_into_libs=yes
10053 esac
10056 gnu*)
10057 version_type=linux
10058 need_lib_prefix=no
10059 need_version=no
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10061 soname_spec='${libname}${release}${shared_ext}$major'
10062 shlibpath_var=LD_LIBRARY_PATH
10063 hardcode_into_libs=yes
10066 hpux9* | hpux10* | hpux11*)
10067 # Give a soname corresponding to the major version so that dld.sl refuses to
10068 # link against other versions.
10069 version_type=sunos
10070 need_lib_prefix=no
10071 need_version=no
10072 case $host_cpu in
10073 ia64*)
10074 shrext_cmds='.so'
10075 hardcode_into_libs=yes
10076 dynamic_linker="$host_os dld.so"
10077 shlibpath_var=LD_LIBRARY_PATH
10078 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10080 soname_spec='${libname}${release}${shared_ext}$major'
10081 if test "X$HPUX_IA64_MODE" = X32; then
10082 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10083 else
10084 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10086 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10088 hppa*64*)
10089 shrext_cmds='.sl'
10090 hardcode_into_libs=yes
10091 dynamic_linker="$host_os dld.sl"
10092 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10093 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10095 soname_spec='${libname}${release}${shared_ext}$major'
10096 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10097 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10100 shrext_cmds='.sl'
10101 dynamic_linker="$host_os dld.sl"
10102 shlibpath_var=SHLIB_PATH
10103 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10105 soname_spec='${libname}${release}${shared_ext}$major'
10107 esac
10108 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10109 postinstall_cmds='chmod 555 $lib'
10112 interix[3-9]*)
10113 version_type=linux
10114 need_lib_prefix=no
10115 need_version=no
10116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10117 soname_spec='${libname}${release}${shared_ext}$major'
10118 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10119 shlibpath_var=LD_LIBRARY_PATH
10120 shlibpath_overrides_runpath=no
10121 hardcode_into_libs=yes
10124 irix5* | irix6* | nonstopux*)
10125 case $host_os in
10126 nonstopux*) version_type=nonstopux ;;
10128 if test "$lt_cv_prog_gnu_ld" = yes; then
10129 version_type=linux
10130 else
10131 version_type=irix
10132 fi ;;
10133 esac
10134 need_lib_prefix=no
10135 need_version=no
10136 soname_spec='${libname}${release}${shared_ext}$major'
10137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10138 case $host_os in
10139 irix5* | nonstopux*)
10140 libsuff= shlibsuff=
10143 case $LD in # libtool.m4 will add one of these switches to LD
10144 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10145 libsuff= shlibsuff= libmagic=32-bit;;
10146 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10147 libsuff=32 shlibsuff=N32 libmagic=N32;;
10148 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10149 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10150 *) libsuff= shlibsuff= libmagic=never-match;;
10151 esac
10153 esac
10154 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10155 shlibpath_overrides_runpath=no
10156 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10157 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10158 hardcode_into_libs=yes
10161 # No shared lib support for Linux oldld, aout, or coff.
10162 linux*oldld* | linux*aout* | linux*coff*)
10163 dynamic_linker=no
10166 # This must be Linux ELF.
10167 linux* | k*bsd*-gnu)
10168 version_type=linux
10169 need_lib_prefix=no
10170 need_version=no
10171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10172 soname_spec='${libname}${release}${shared_ext}$major'
10173 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10174 shlibpath_var=LD_LIBRARY_PATH
10175 shlibpath_overrides_runpath=no
10176 # Some binutils ld are patched to set DT_RUNPATH
10177 save_LDFLAGS=$LDFLAGS
10178 save_libdir=$libdir
10179 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10180 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10181 if test x$gcc_no_link = xyes; then
10182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184 { (exit 1); exit 1; }; }
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h. */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10194 main ()
10198 return 0;
10200 _ACEOF
10201 rm -f conftest.$ac_objext conftest$ac_exeext
10202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203 (eval $ac_link) 2>conftest.er1
10204 ac_status=$?
10205 grep -v '^ *+' conftest.er1 >conftest.err
10206 rm -f conftest.er1
10207 cat conftest.err >&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); } &&
10210 { ac_try='test -z "$ac_c_werror_flag"
10211 || test ! -s conftest.err'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10214 ac_status=$?
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; } &&
10217 { ac_try='test -s conftest$ac_exeext'
10218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10219 (eval $ac_try) 2>&5
10220 ac_status=$?
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); }; }; then
10223 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10224 shlibpath_overrides_runpath=yes
10227 else
10228 echo "$as_me: failed program was:" >&5
10229 sed 's/^/| /' conftest.$ac_ext >&5
10232 rm -f conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 LDFLAGS=$save_LDFLAGS
10235 libdir=$save_libdir
10237 # This implies no fast_install, which is unacceptable.
10238 # Some rework will be needed to allow for fast_install
10239 # before this can be enabled.
10240 hardcode_into_libs=yes
10242 # Append ld.so.conf contents to the search path
10243 if test -f /etc/ld.so.conf; then
10244 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' ' '`
10245 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10248 # We used to test for /lib/ld.so.1 and disable shared libraries on
10249 # powerpc, because MkLinux only supported shared libraries with the
10250 # GNU dynamic linker. Since this was broken with cross compilers,
10251 # most powerpc-linux boxes support dynamic linking these days and
10252 # people can always --disable-shared, the test was removed, and we
10253 # assume the GNU/Linux dynamic linker is in use.
10254 dynamic_linker='GNU/Linux ld.so'
10257 netbsd*)
10258 version_type=sunos
10259 need_lib_prefix=no
10260 need_version=no
10261 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10263 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10264 dynamic_linker='NetBSD (a.out) ld.so'
10265 else
10266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10267 soname_spec='${libname}${release}${shared_ext}$major'
10268 dynamic_linker='NetBSD ld.elf_so'
10270 shlibpath_var=LD_LIBRARY_PATH
10271 shlibpath_overrides_runpath=yes
10272 hardcode_into_libs=yes
10275 newsos6)
10276 version_type=linux
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10278 shlibpath_var=LD_LIBRARY_PATH
10279 shlibpath_overrides_runpath=yes
10282 *nto* | *qnx*)
10283 version_type=qnx
10284 need_lib_prefix=no
10285 need_version=no
10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10287 soname_spec='${libname}${release}${shared_ext}$major'
10288 shlibpath_var=LD_LIBRARY_PATH
10289 shlibpath_overrides_runpath=no
10290 hardcode_into_libs=yes
10291 dynamic_linker='ldqnx.so'
10294 openbsd*)
10295 version_type=sunos
10296 sys_lib_dlsearch_path_spec="/usr/lib"
10297 need_lib_prefix=no
10298 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10299 case $host_os in
10300 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10301 *) need_version=no ;;
10302 esac
10303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10304 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10305 shlibpath_var=LD_LIBRARY_PATH
10306 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10307 case $host_os in
10308 openbsd2.[89] | openbsd2.[89].*)
10309 shlibpath_overrides_runpath=no
10312 shlibpath_overrides_runpath=yes
10314 esac
10315 else
10316 shlibpath_overrides_runpath=yes
10320 os2*)
10321 libname_spec='$name'
10322 shrext_cmds=".dll"
10323 need_lib_prefix=no
10324 library_names_spec='$libname${shared_ext} $libname.a'
10325 dynamic_linker='OS/2 ld.exe'
10326 shlibpath_var=LIBPATH
10329 osf3* | osf4* | osf5*)
10330 version_type=osf
10331 need_lib_prefix=no
10332 need_version=no
10333 soname_spec='${libname}${release}${shared_ext}$major'
10334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335 shlibpath_var=LD_LIBRARY_PATH
10336 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10337 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10340 rdos*)
10341 dynamic_linker=no
10344 solaris*)
10345 version_type=linux
10346 need_lib_prefix=no
10347 need_version=no
10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10349 soname_spec='${libname}${release}${shared_ext}$major'
10350 shlibpath_var=LD_LIBRARY_PATH
10351 shlibpath_overrides_runpath=yes
10352 hardcode_into_libs=yes
10353 # ldd complains unless libraries are executable
10354 postinstall_cmds='chmod +x $lib'
10357 sunos4*)
10358 version_type=sunos
10359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10360 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10361 shlibpath_var=LD_LIBRARY_PATH
10362 shlibpath_overrides_runpath=yes
10363 if test "$with_gnu_ld" = yes; then
10364 need_lib_prefix=no
10366 need_version=yes
10369 sysv4 | sysv4.3*)
10370 version_type=linux
10371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10372 soname_spec='${libname}${release}${shared_ext}$major'
10373 shlibpath_var=LD_LIBRARY_PATH
10374 case $host_vendor in
10375 sni)
10376 shlibpath_overrides_runpath=no
10377 need_lib_prefix=no
10378 runpath_var=LD_RUN_PATH
10380 siemens)
10381 need_lib_prefix=no
10383 motorola)
10384 need_lib_prefix=no
10385 need_version=no
10386 shlibpath_overrides_runpath=no
10387 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10389 esac
10392 sysv4*MP*)
10393 if test -d /usr/nec ;then
10394 version_type=linux
10395 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10396 soname_spec='$libname${shared_ext}.$major'
10397 shlibpath_var=LD_LIBRARY_PATH
10401 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10402 version_type=freebsd-elf
10403 need_lib_prefix=no
10404 need_version=no
10405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10406 soname_spec='${libname}${release}${shared_ext}$major'
10407 shlibpath_var=LD_LIBRARY_PATH
10408 shlibpath_overrides_runpath=yes
10409 hardcode_into_libs=yes
10410 if test "$with_gnu_ld" = yes; then
10411 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10412 else
10413 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10414 case $host_os in
10415 sco3.2v5*)
10416 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10418 esac
10420 sys_lib_dlsearch_path_spec='/usr/lib'
10423 tpf*)
10424 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10425 version_type=linux
10426 need_lib_prefix=no
10427 need_version=no
10428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10429 shlibpath_var=LD_LIBRARY_PATH
10430 shlibpath_overrides_runpath=no
10431 hardcode_into_libs=yes
10434 uts4*)
10435 version_type=linux
10436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10437 soname_spec='${libname}${release}${shared_ext}$major'
10438 shlibpath_var=LD_LIBRARY_PATH
10442 dynamic_linker=no
10444 esac
10445 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10446 echo "${ECHO_T}$dynamic_linker" >&6
10447 test "$dynamic_linker" = no && can_build_shared=no
10449 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10450 if test "$GCC" = yes; then
10451 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10454 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10455 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10457 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10458 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10547 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10548 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10549 hardcode_action=
10550 if test -n "$hardcode_libdir_flag_spec" ||
10551 test -n "$runpath_var" ||
10552 test "X$hardcode_automatic" = "Xyes" ; then
10554 # We can hardcode non-existent directories.
10555 if test "$hardcode_direct" != no &&
10556 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10557 # have to relink, otherwise we might link with an installed library
10558 # when we should be linking with a yet-to-be-installed one
10559 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10560 test "$hardcode_minus_L" != no; then
10561 # Linking always hardcodes the temporary library directory.
10562 hardcode_action=relink
10563 else
10564 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10565 hardcode_action=immediate
10567 else
10568 # We cannot hardcode anything, or else we can only hardcode existing
10569 # directories.
10570 hardcode_action=unsupported
10572 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10573 echo "${ECHO_T}$hardcode_action" >&6
10575 if test "$hardcode_action" = relink ||
10576 test "$inherit_rpath" = yes; then
10577 # Fast installation is not supported
10578 enable_fast_install=no
10579 elif test "$shlibpath_overrides_runpath" = yes ||
10580 test "$enable_shared" = no; then
10581 # Fast installation is not necessary
10582 enable_fast_install=needless
10590 if test "x$enable_dlopen" != xyes; then
10591 enable_dlopen=unknown
10592 enable_dlopen_self=unknown
10593 enable_dlopen_self_static=unknown
10594 else
10595 lt_cv_dlopen=no
10596 lt_cv_dlopen_libs=
10598 case $host_os in
10599 beos*)
10600 lt_cv_dlopen="load_add_on"
10601 lt_cv_dlopen_libs=
10602 lt_cv_dlopen_self=yes
10605 mingw* | pw32* | cegcc*)
10606 lt_cv_dlopen="LoadLibrary"
10607 lt_cv_dlopen_libs=
10610 cygwin*)
10611 lt_cv_dlopen="dlopen"
10612 lt_cv_dlopen_libs=
10615 darwin*)
10616 # if libdl is installed we need to link against it
10617 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10618 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10619 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10622 ac_check_lib_save_LIBS=$LIBS
10623 LIBS="-ldl $LIBS"
10624 if test x$gcc_no_link = xyes; then
10625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10627 { (exit 1); exit 1; }; }
10629 cat >conftest.$ac_ext <<_ACEOF
10630 /* confdefs.h. */
10631 _ACEOF
10632 cat confdefs.h >>conftest.$ac_ext
10633 cat >>conftest.$ac_ext <<_ACEOF
10634 /* end confdefs.h. */
10636 /* Override any gcc2 internal prototype to avoid an error. */
10637 #ifdef __cplusplus
10638 extern "C"
10639 #endif
10640 /* We use char because int might match the return type of a gcc2
10641 builtin and then its argument prototype would still apply. */
10642 char dlopen ();
10644 main ()
10646 dlopen ();
10648 return 0;
10650 _ACEOF
10651 rm -f conftest.$ac_objext conftest$ac_exeext
10652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10653 (eval $ac_link) 2>conftest.er1
10654 ac_status=$?
10655 grep -v '^ *+' conftest.er1 >conftest.err
10656 rm -f conftest.er1
10657 cat conftest.err >&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } &&
10660 { ac_try='test -z "$ac_c_werror_flag"
10661 || test ! -s conftest.err'
10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10663 (eval $ac_try) 2>&5
10664 ac_status=$?
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); }; } &&
10667 { ac_try='test -s conftest$ac_exeext'
10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10669 (eval $ac_try) 2>&5
10670 ac_status=$?
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }; }; then
10673 ac_cv_lib_dl_dlopen=yes
10674 else
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.$ac_ext >&5
10678 ac_cv_lib_dl_dlopen=no
10680 rm -f conftest.err conftest.$ac_objext \
10681 conftest$ac_exeext conftest.$ac_ext
10682 LIBS=$ac_check_lib_save_LIBS
10684 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10685 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10686 if test $ac_cv_lib_dl_dlopen = yes; then
10687 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10688 else
10690 lt_cv_dlopen="dyld"
10691 lt_cv_dlopen_libs=
10692 lt_cv_dlopen_self=yes
10699 echo "$as_me:$LINENO: checking for shl_load" >&5
10700 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10701 if test "${ac_cv_func_shl_load+set}" = set; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 else
10704 if test x$gcc_no_link = xyes; then
10705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10707 { (exit 1); exit 1; }; }
10709 cat >conftest.$ac_ext <<_ACEOF
10710 /* confdefs.h. */
10711 _ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10715 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10717 #define shl_load innocuous_shl_load
10719 /* System header to define __stub macros and hopefully few prototypes,
10720 which can conflict with char shl_load (); below.
10721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10722 <limits.h> exists even on freestanding compilers. */
10724 #ifdef __STDC__
10725 # include <limits.h>
10726 #else
10727 # include <assert.h>
10728 #endif
10730 #undef shl_load
10732 /* Override any gcc2 internal prototype to avoid an error. */
10733 #ifdef __cplusplus
10734 extern "C"
10736 #endif
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10739 char shl_load ();
10740 /* The GNU C library defines this for functions which it implements
10741 to always fail with ENOSYS. Some functions are actually named
10742 something starting with __ and the normal name is an alias. */
10743 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10744 choke me
10745 #else
10746 char (*f) () = shl_load;
10747 #endif
10748 #ifdef __cplusplus
10750 #endif
10753 main ()
10755 return f != shl_load;
10757 return 0;
10759 _ACEOF
10760 rm -f conftest.$ac_objext conftest$ac_exeext
10761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10762 (eval $ac_link) 2>conftest.er1
10763 ac_status=$?
10764 grep -v '^ *+' conftest.er1 >conftest.err
10765 rm -f conftest.er1
10766 cat conftest.err >&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); } &&
10769 { ac_try='test -z "$ac_c_werror_flag"
10770 || test ! -s conftest.err'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10773 ac_status=$?
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); }; } &&
10776 { ac_try='test -s conftest$ac_exeext'
10777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10778 (eval $ac_try) 2>&5
10779 ac_status=$?
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); }; }; then
10782 ac_cv_func_shl_load=yes
10783 else
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.$ac_ext >&5
10787 ac_cv_func_shl_load=no
10789 rm -f conftest.err conftest.$ac_objext \
10790 conftest$ac_exeext conftest.$ac_ext
10792 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10793 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10794 if test $ac_cv_func_shl_load = yes; then
10795 lt_cv_dlopen="shl_load"
10796 else
10797 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10798 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10799 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10801 else
10802 ac_check_lib_save_LIBS=$LIBS
10803 LIBS="-ldld $LIBS"
10804 if test x$gcc_no_link = xyes; then
10805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10807 { (exit 1); exit 1; }; }
10809 cat >conftest.$ac_ext <<_ACEOF
10810 /* confdefs.h. */
10811 _ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10816 /* Override any gcc2 internal prototype to avoid an error. */
10817 #ifdef __cplusplus
10818 extern "C"
10819 #endif
10820 /* We use char because int might match the return type of a gcc2
10821 builtin and then its argument prototype would still apply. */
10822 char shl_load ();
10824 main ()
10826 shl_load ();
10828 return 0;
10830 _ACEOF
10831 rm -f conftest.$ac_objext conftest$ac_exeext
10832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10833 (eval $ac_link) 2>conftest.er1
10834 ac_status=$?
10835 grep -v '^ *+' conftest.er1 >conftest.err
10836 rm -f conftest.er1
10837 cat conftest.err >&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } &&
10840 { ac_try='test -z "$ac_c_werror_flag"
10841 || test ! -s conftest.err'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10844 ac_status=$?
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; } &&
10847 { ac_try='test -s conftest$ac_exeext'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10850 ac_status=$?
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; }; then
10853 ac_cv_lib_dld_shl_load=yes
10854 else
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.$ac_ext >&5
10858 ac_cv_lib_dld_shl_load=no
10860 rm -f conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_lib_save_LIBS
10864 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10865 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10866 if test $ac_cv_lib_dld_shl_load = yes; then
10867 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10868 else
10869 echo "$as_me:$LINENO: checking for dlopen" >&5
10870 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10871 if test "${ac_cv_func_dlopen+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else
10874 if test x$gcc_no_link = xyes; then
10875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10877 { (exit 1); exit 1; }; }
10879 cat >conftest.$ac_ext <<_ACEOF
10880 /* confdefs.h. */
10881 _ACEOF
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10885 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10887 #define dlopen innocuous_dlopen
10889 /* System header to define __stub macros and hopefully few prototypes,
10890 which can conflict with char dlopen (); below.
10891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10892 <limits.h> exists even on freestanding compilers. */
10894 #ifdef __STDC__
10895 # include <limits.h>
10896 #else
10897 # include <assert.h>
10898 #endif
10900 #undef dlopen
10902 /* Override any gcc2 internal prototype to avoid an error. */
10903 #ifdef __cplusplus
10904 extern "C"
10906 #endif
10907 /* We use char because int might match the return type of a gcc2
10908 builtin and then its argument prototype would still apply. */
10909 char dlopen ();
10910 /* The GNU C library defines this for functions which it implements
10911 to always fail with ENOSYS. Some functions are actually named
10912 something starting with __ and the normal name is an alias. */
10913 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10914 choke me
10915 #else
10916 char (*f) () = dlopen;
10917 #endif
10918 #ifdef __cplusplus
10920 #endif
10923 main ()
10925 return f != dlopen;
10927 return 0;
10929 _ACEOF
10930 rm -f conftest.$ac_objext conftest$ac_exeext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10932 (eval $ac_link) 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try='test -z "$ac_c_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try='test -s conftest$ac_exeext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10949 ac_status=$?
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 ac_cv_func_dlopen=yes
10953 else
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10957 ac_cv_func_dlopen=no
10959 rm -f conftest.err conftest.$ac_objext \
10960 conftest$ac_exeext conftest.$ac_ext
10962 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10963 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10964 if test $ac_cv_func_dlopen = yes; then
10965 lt_cv_dlopen="dlopen"
10966 else
10967 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10968 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10969 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 else
10972 ac_check_lib_save_LIBS=$LIBS
10973 LIBS="-ldl $LIBS"
10974 if test x$gcc_no_link = xyes; then
10975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10977 { (exit 1); exit 1; }; }
10979 cat >conftest.$ac_ext <<_ACEOF
10980 /* confdefs.h. */
10981 _ACEOF
10982 cat confdefs.h >>conftest.$ac_ext
10983 cat >>conftest.$ac_ext <<_ACEOF
10984 /* end confdefs.h. */
10986 /* Override any gcc2 internal prototype to avoid an error. */
10987 #ifdef __cplusplus
10988 extern "C"
10989 #endif
10990 /* We use char because int might match the return type of a gcc2
10991 builtin and then its argument prototype would still apply. */
10992 char dlopen ();
10994 main ()
10996 dlopen ();
10998 return 0;
11000 _ACEOF
11001 rm -f conftest.$ac_objext conftest$ac_exeext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11003 (eval $ac_link) 2>conftest.er1
11004 ac_status=$?
11005 grep -v '^ *+' conftest.er1 >conftest.err
11006 rm -f conftest.er1
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -z "$ac_c_werror_flag"
11011 || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try='test -s conftest$ac_exeext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11020 ac_status=$?
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_lib_dl_dlopen=yes
11024 else
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.$ac_ext >&5
11028 ac_cv_lib_dl_dlopen=no
11030 rm -f conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11035 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11036 if test $ac_cv_lib_dl_dlopen = yes; then
11037 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11038 else
11039 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11040 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11041 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044 ac_check_lib_save_LIBS=$LIBS
11045 LIBS="-lsvld $LIBS"
11046 if test x$gcc_no_link = xyes; then
11047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11049 { (exit 1); exit 1; }; }
11051 cat >conftest.$ac_ext <<_ACEOF
11052 /* confdefs.h. */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11058 /* Override any gcc2 internal prototype to avoid an error. */
11059 #ifdef __cplusplus
11060 extern "C"
11061 #endif
11062 /* We use char because int might match the return type of a gcc2
11063 builtin and then its argument prototype would still apply. */
11064 char dlopen ();
11066 main ()
11068 dlopen ();
11070 return 0;
11072 _ACEOF
11073 rm -f conftest.$ac_objext conftest$ac_exeext
11074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11075 (eval $ac_link) 2>conftest.er1
11076 ac_status=$?
11077 grep -v '^ *+' conftest.er1 >conftest.err
11078 rm -f conftest.er1
11079 cat conftest.err >&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } &&
11082 { ac_try='test -z "$ac_c_werror_flag"
11083 || test ! -s conftest.err'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11086 ac_status=$?
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; } &&
11089 { ac_try='test -s conftest$ac_exeext'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11092 ac_status=$?
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; }; then
11095 ac_cv_lib_svld_dlopen=yes
11096 else
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11100 ac_cv_lib_svld_dlopen=no
11102 rm -f conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11107 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11108 if test $ac_cv_lib_svld_dlopen = yes; then
11109 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11110 else
11111 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11112 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11113 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-ldld $LIBS"
11118 if test x$gcc_no_link = xyes; then
11119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11121 { (exit 1); exit 1; }; }
11123 cat >conftest.$ac_ext <<_ACEOF
11124 /* confdefs.h. */
11125 _ACEOF
11126 cat confdefs.h >>conftest.$ac_ext
11127 cat >>conftest.$ac_ext <<_ACEOF
11128 /* end confdefs.h. */
11130 /* Override any gcc2 internal prototype to avoid an error. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 /* We use char because int might match the return type of a gcc2
11135 builtin and then its argument prototype would still apply. */
11136 char dld_link ();
11138 main ()
11140 dld_link ();
11142 return 0;
11144 _ACEOF
11145 rm -f conftest.$ac_objext conftest$ac_exeext
11146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11147 (eval $ac_link) 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } &&
11154 { ac_try='test -z "$ac_c_werror_flag"
11155 || test ! -s conftest.err'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11158 ac_status=$?
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; } &&
11161 { ac_try='test -s conftest$ac_exeext'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11164 ac_status=$?
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; }; then
11167 ac_cv_lib_dld_dld_link=yes
11168 else
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.$ac_ext >&5
11172 ac_cv_lib_dld_dld_link=no
11174 rm -f conftest.err conftest.$ac_objext \
11175 conftest$ac_exeext conftest.$ac_ext
11176 LIBS=$ac_check_lib_save_LIBS
11178 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11179 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11180 if test $ac_cv_lib_dld_dld_link = yes; then
11181 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11200 esac
11202 if test "x$lt_cv_dlopen" != xno; then
11203 enable_dlopen=yes
11204 else
11205 enable_dlopen=no
11208 case $lt_cv_dlopen in
11209 dlopen)
11210 save_CPPFLAGS="$CPPFLAGS"
11211 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11213 save_LDFLAGS="$LDFLAGS"
11214 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11216 save_LIBS="$LIBS"
11217 LIBS="$lt_cv_dlopen_libs $LIBS"
11219 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11220 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11221 if test "${lt_cv_dlopen_self+set}" = set; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 else
11224 if test "$cross_compiling" = yes; then :
11225 lt_cv_dlopen_self=cross
11226 else
11227 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11228 lt_status=$lt_dlunknown
11229 cat > conftest.$ac_ext <<_LT_EOF
11230 #line 11230 "configure"
11231 #include "confdefs.h"
11233 #if HAVE_DLFCN_H
11234 #include <dlfcn.h>
11235 #endif
11237 #include <stdio.h>
11239 #ifdef RTLD_GLOBAL
11240 # define LT_DLGLOBAL RTLD_GLOBAL
11241 #else
11242 # ifdef DL_GLOBAL
11243 # define LT_DLGLOBAL DL_GLOBAL
11244 # else
11245 # define LT_DLGLOBAL 0
11246 # endif
11247 #endif
11249 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11250 find out it does not work in some platform. */
11251 #ifndef LT_DLLAZY_OR_NOW
11252 # ifdef RTLD_LAZY
11253 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11254 # else
11255 # ifdef DL_LAZY
11256 # define LT_DLLAZY_OR_NOW DL_LAZY
11257 # else
11258 # ifdef RTLD_NOW
11259 # define LT_DLLAZY_OR_NOW RTLD_NOW
11260 # else
11261 # ifdef DL_NOW
11262 # define LT_DLLAZY_OR_NOW DL_NOW
11263 # else
11264 # define LT_DLLAZY_OR_NOW 0
11265 # endif
11266 # endif
11267 # endif
11268 # endif
11269 #endif
11271 void fnord() { int i=42;}
11272 int main ()
11274 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11275 int status = $lt_dlunknown;
11277 if (self)
11279 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11280 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11281 /* dlclose (self); */
11283 else
11284 puts (dlerror ());
11286 return status;
11288 _LT_EOF
11289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11290 (eval $ac_link) 2>&5
11291 ac_status=$?
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11294 (./conftest; exit; ) >&5 2>/dev/null
11295 lt_status=$?
11296 case x$lt_status in
11297 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11298 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11299 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11300 esac
11301 else :
11302 # compilation failed
11303 lt_cv_dlopen_self=no
11306 rm -fr conftest*
11310 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11311 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11313 if test "x$lt_cv_dlopen_self" = xyes; then
11314 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11315 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11316 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11317 if test "${lt_cv_dlopen_self_static+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11319 else
11320 if test "$cross_compiling" = yes; then :
11321 lt_cv_dlopen_self_static=cross
11322 else
11323 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11324 lt_status=$lt_dlunknown
11325 cat > conftest.$ac_ext <<_LT_EOF
11326 #line 11326 "configure"
11327 #include "confdefs.h"
11329 #if HAVE_DLFCN_H
11330 #include <dlfcn.h>
11331 #endif
11333 #include <stdio.h>
11335 #ifdef RTLD_GLOBAL
11336 # define LT_DLGLOBAL RTLD_GLOBAL
11337 #else
11338 # ifdef DL_GLOBAL
11339 # define LT_DLGLOBAL DL_GLOBAL
11340 # else
11341 # define LT_DLGLOBAL 0
11342 # endif
11343 #endif
11345 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11346 find out it does not work in some platform. */
11347 #ifndef LT_DLLAZY_OR_NOW
11348 # ifdef RTLD_LAZY
11349 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11350 # else
11351 # ifdef DL_LAZY
11352 # define LT_DLLAZY_OR_NOW DL_LAZY
11353 # else
11354 # ifdef RTLD_NOW
11355 # define LT_DLLAZY_OR_NOW RTLD_NOW
11356 # else
11357 # ifdef DL_NOW
11358 # define LT_DLLAZY_OR_NOW DL_NOW
11359 # else
11360 # define LT_DLLAZY_OR_NOW 0
11361 # endif
11362 # endif
11363 # endif
11364 # endif
11365 #endif
11367 void fnord() { int i=42;}
11368 int main ()
11370 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11371 int status = $lt_dlunknown;
11373 if (self)
11375 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11376 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11377 /* dlclose (self); */
11379 else
11380 puts (dlerror ());
11382 return status;
11384 _LT_EOF
11385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11386 (eval $ac_link) 2>&5
11387 ac_status=$?
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11390 (./conftest; exit; ) >&5 2>/dev/null
11391 lt_status=$?
11392 case x$lt_status in
11393 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11394 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11395 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11396 esac
11397 else :
11398 # compilation failed
11399 lt_cv_dlopen_self_static=no
11402 rm -fr conftest*
11406 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11407 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11410 CPPFLAGS="$save_CPPFLAGS"
11411 LDFLAGS="$save_LDFLAGS"
11412 LIBS="$save_LIBS"
11414 esac
11416 case $lt_cv_dlopen_self in
11417 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11418 *) enable_dlopen_self=unknown ;;
11419 esac
11421 case $lt_cv_dlopen_self_static in
11422 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11423 *) enable_dlopen_self_static=unknown ;;
11424 esac
11443 striplib=
11444 old_striplib=
11445 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11446 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11447 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11448 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11449 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11450 echo "$as_me:$LINENO: result: yes" >&5
11451 echo "${ECHO_T}yes" >&6
11452 else
11453 # FIXME - insert some real tests, host_os isn't really good enough
11454 case $host_os in
11455 darwin*)
11456 if test -n "$STRIP" ; then
11457 striplib="$STRIP -x"
11458 old_striplib="$STRIP -S"
11459 echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6
11461 else
11462 echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6
11467 echo "$as_me:$LINENO: result: no" >&5
11468 echo "${ECHO_T}no" >&6
11470 esac
11484 # Report which library types will actually be built
11485 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11486 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11487 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11488 echo "${ECHO_T}$can_build_shared" >&6
11490 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11491 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11492 test "$can_build_shared" = "no" && enable_shared=no
11494 # On AIX, shared libraries and static libraries use the same namespace, and
11495 # are all built from PIC.
11496 case $host_os in
11497 aix3*)
11498 test "$enable_shared" = yes && enable_static=no
11499 if test -n "$RANLIB"; then
11500 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11501 postinstall_cmds='$RANLIB $lib'
11505 aix[4-9]*)
11506 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11507 test "$enable_shared" = yes && enable_static=no
11510 esac
11511 echo "$as_me:$LINENO: result: $enable_shared" >&5
11512 echo "${ECHO_T}$enable_shared" >&6
11514 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11515 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11516 # Make sure either enable_shared or enable_static is yes.
11517 test "$enable_shared" = yes || enable_static=yes
11518 echo "$as_me:$LINENO: result: $enable_static" >&5
11519 echo "${ECHO_T}$enable_static" >&6
11525 ac_ext=c
11526 ac_cpp='$CPP $CPPFLAGS'
11527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11531 CC="$lt_save_CC"
11534 ac_ext=cc
11535 ac_cpp='$CXXCPP $CPPFLAGS'
11536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11540 archive_cmds_need_lc_CXX=no
11541 allow_undefined_flag_CXX=
11542 always_export_symbols_CXX=no
11543 archive_expsym_cmds_CXX=
11544 compiler_needs_object_CXX=no
11545 export_dynamic_flag_spec_CXX=
11546 hardcode_direct_CXX=no
11547 hardcode_direct_absolute_CXX=no
11548 hardcode_libdir_flag_spec_CXX=
11549 hardcode_libdir_flag_spec_ld_CXX=
11550 hardcode_libdir_separator_CXX=
11551 hardcode_minus_L_CXX=no
11552 hardcode_shlibpath_var_CXX=unsupported
11553 hardcode_automatic_CXX=no
11554 inherit_rpath_CXX=no
11555 module_cmds_CXX=
11556 module_expsym_cmds_CXX=
11557 link_all_deplibs_CXX=unknown
11558 old_archive_cmds_CXX=$old_archive_cmds
11559 no_undefined_flag_CXX=
11560 whole_archive_flag_spec_CXX=
11561 enable_shared_with_static_runtimes_CXX=no
11563 # Source file extension for C++ test sources.
11564 ac_ext=cpp
11566 # Object file extension for compiled C++ test sources.
11567 objext=o
11568 objext_CXX=$objext
11570 # No sense in running all these tests if we already determined that
11571 # the CXX compiler isn't working. Some variables (like enable_shared)
11572 # are currently assumed to apply to all compilers on this platform,
11573 # and will be corrupted by setting them based on a non-working compiler.
11574 if test "$_lt_caught_CXX_error" != yes; then
11575 # Code to be used in simple compile tests
11576 lt_simple_compile_test_code="int some_variable = 0;"
11578 # Code to be used in simple link tests
11579 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11581 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11588 # If no C compiler was specified, use CC.
11589 LTCC=${LTCC-"$CC"}
11591 # If no C compiler flags were specified, use CFLAGS.
11592 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11594 # Allow CC to be a program name with arguments.
11595 compiler=$CC
11598 # save warnings/boilerplate of simple test code
11599 ac_outfile=conftest.$ac_objext
11600 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11601 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11602 _lt_compiler_boilerplate=`cat conftest.err`
11603 $RM conftest*
11605 ac_outfile=conftest.$ac_objext
11606 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11607 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11608 _lt_linker_boilerplate=`cat conftest.err`
11609 $RM -r conftest*
11612 # Allow CC to be a program name with arguments.
11613 lt_save_CC=$CC
11614 lt_save_LD=$LD
11615 lt_save_GCC=$GCC
11616 GCC=$GXX
11617 lt_save_with_gnu_ld=$with_gnu_ld
11618 lt_save_path_LD=$lt_cv_path_LD
11619 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11620 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11621 else
11622 $as_unset lt_cv_prog_gnu_ld
11624 if test -n "${lt_cv_path_LDCXX+set}"; then
11625 lt_cv_path_LD=$lt_cv_path_LDCXX
11626 else
11627 $as_unset lt_cv_path_LD
11629 test -z "${LDCXX+set}" || LD=$LDCXX
11630 CC=${CXX-"c++"}
11631 compiler=$CC
11632 compiler_CXX=$CC
11633 for cc_temp in $compiler""; do
11634 case $cc_temp in
11635 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11636 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11637 \-*) ;;
11638 *) break;;
11639 esac
11640 done
11641 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11644 if test -n "$compiler"; then
11645 # We don't want -fno-exception when compiling C++ code, so set the
11646 # no_builtin_flag separately
11647 if test "$GXX" = yes; then
11648 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11649 else
11650 lt_prog_compiler_no_builtin_flag_CXX=
11653 if test "$GXX" = yes; then
11654 # Set up default GNU C++ configuration
11658 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11659 if test "${with_gnu_ld+set}" = set; then
11660 withval="$with_gnu_ld"
11661 test "$withval" = no || with_gnu_ld=yes
11662 else
11663 with_gnu_ld=no
11665 ac_prog=ld
11666 if test "$GCC" = yes; then
11667 # Check if gcc -print-prog-name=ld gives a path.
11668 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11669 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11670 case $host in
11671 *-*-mingw*)
11672 # gcc leaves a trailing carriage return which upsets mingw
11673 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11675 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11676 esac
11677 case $ac_prog in
11678 # Accept absolute paths.
11679 [\\/]* | ?:[\\/]*)
11680 re_direlt='/[^/][^/]*/\.\./'
11681 # Canonicalize the pathname of ld
11682 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11683 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11684 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11685 done
11686 test -z "$LD" && LD="$ac_prog"
11689 # If it fails, then pretend we aren't using GCC.
11690 ac_prog=ld
11693 # If it is relative, then search for the first ld in PATH.
11694 with_gnu_ld=unknown
11696 esac
11697 elif test "$with_gnu_ld" = yes; then
11698 echo "$as_me:$LINENO: checking for GNU ld" >&5
11699 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11700 else
11701 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11702 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11704 if test "${lt_cv_path_LD+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 else
11707 if test -z "$LD"; then
11708 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11709 for ac_dir in $PATH; do
11710 IFS="$lt_save_ifs"
11711 test -z "$ac_dir" && ac_dir=.
11712 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11713 lt_cv_path_LD="$ac_dir/$ac_prog"
11714 # Check to see if the program is GNU ld. I'd rather use --version,
11715 # but apparently some variants of GNU ld only accept -v.
11716 # Break only if it was the GNU/non-GNU ld that we prefer.
11717 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11718 *GNU* | *'with BFD'*)
11719 test "$with_gnu_ld" != no && break
11722 test "$with_gnu_ld" != yes && break
11724 esac
11726 done
11727 IFS="$lt_save_ifs"
11728 else
11729 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11733 LD="$lt_cv_path_LD"
11734 if test -n "$LD"; then
11735 echo "$as_me:$LINENO: result: $LD" >&5
11736 echo "${ECHO_T}$LD" >&6
11737 else
11738 echo "$as_me:$LINENO: result: no" >&5
11739 echo "${ECHO_T}no" >&6
11741 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11742 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11743 { (exit 1); exit 1; }; }
11744 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11745 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11746 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 else
11749 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11750 case `$LD -v 2>&1 </dev/null` in
11751 *GNU* | *'with BFD'*)
11752 lt_cv_prog_gnu_ld=yes
11755 lt_cv_prog_gnu_ld=no
11757 esac
11759 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11760 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11761 with_gnu_ld=$lt_cv_prog_gnu_ld
11769 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11770 # archiving commands below assume that GNU ld is being used.
11771 if test "$with_gnu_ld" = yes; then
11772 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11773 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'
11775 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11776 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11778 # If archive_cmds runs LD, not CC, wlarc should be empty
11779 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11780 # investigate it a little bit more. (MM)
11781 wlarc='${wl}'
11783 # ancient GNU ld didn't support --whole-archive et. al.
11784 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11785 $GREP 'no-whole-archive' > /dev/null; then
11786 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11787 else
11788 whole_archive_flag_spec_CXX=
11790 else
11791 with_gnu_ld=no
11792 wlarc=
11794 # A generic and very simple default shared library creation
11795 # command for GNU C++ for the case where it uses the native
11796 # linker, instead of GNU ld. If possible, this setting should
11797 # overridden to take advantage of the native linker features on
11798 # the platform it is being used on.
11799 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11802 # Commands to make compiler produce verbose output that lists
11803 # what "hidden" libraries, object files and flags are used when
11804 # linking a shared library.
11805 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11807 else
11808 GXX=no
11809 with_gnu_ld=no
11810 wlarc=
11813 # PORTME: fill in a description of your system's C++ link characteristics
11814 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11815 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11816 ld_shlibs_CXX=yes
11817 case $host_os in
11818 aix3*)
11819 # FIXME: insert proper C++ library support
11820 ld_shlibs_CXX=no
11822 aix[4-9]*)
11823 if test "$host_cpu" = ia64; then
11824 # On IA64, the linker does run time linking by default, so we don't
11825 # have to do anything special.
11826 aix_use_runtimelinking=no
11827 exp_sym_flag='-Bexport'
11828 no_entry_flag=""
11829 else
11830 aix_use_runtimelinking=no
11832 # Test if we are trying to use run time linking or normal
11833 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11834 # need to do runtime linking.
11835 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11836 for ld_flag in $LDFLAGS; do
11837 case $ld_flag in
11838 *-brtl*)
11839 aix_use_runtimelinking=yes
11840 break
11842 esac
11843 done
11845 esac
11847 exp_sym_flag='-bexport'
11848 no_entry_flag='-bnoentry'
11851 # When large executables or shared objects are built, AIX ld can
11852 # have problems creating the table of contents. If linking a library
11853 # or program results in "error TOC overflow" add -mminimal-toc to
11854 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11855 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11857 archive_cmds_CXX=''
11858 hardcode_direct_CXX=yes
11859 hardcode_direct_absolute_CXX=yes
11860 hardcode_libdir_separator_CXX=':'
11861 link_all_deplibs_CXX=yes
11862 file_list_spec_CXX='${wl}-f,'
11864 if test "$GXX" = yes; then
11865 case $host_os in aix4.[012]|aix4.[012].*)
11866 # We only want to do this on AIX 4.2 and lower, the check
11867 # below for broken collect2 doesn't work under 4.3+
11868 collect2name=`${CC} -print-prog-name=collect2`
11869 if test -f "$collect2name" &&
11870 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11871 then
11872 # We have reworked collect2
11874 else
11875 # We have old collect2
11876 hardcode_direct_CXX=unsupported
11877 # It fails to find uninstalled libraries when the uninstalled
11878 # path is not listed in the libpath. Setting hardcode_minus_L
11879 # to unsupported forces relinking
11880 hardcode_minus_L_CXX=yes
11881 hardcode_libdir_flag_spec_CXX='-L$libdir'
11882 hardcode_libdir_separator_CXX=
11884 esac
11885 shared_flag='-shared'
11886 if test "$aix_use_runtimelinking" = yes; then
11887 shared_flag="$shared_flag "'${wl}-G'
11889 else
11890 # not using gcc
11891 if test "$host_cpu" = ia64; then
11892 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11893 # chokes on -Wl,-G. The following line is correct:
11894 shared_flag='-G'
11895 else
11896 if test "$aix_use_runtimelinking" = yes; then
11897 shared_flag='${wl}-G'
11898 else
11899 shared_flag='${wl}-bM:SRE'
11904 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11905 # It seems that -bexpall does not export symbols beginning with
11906 # underscore (_), so it is better to generate a list of symbols to
11907 # export.
11908 always_export_symbols_CXX=yes
11909 if test "$aix_use_runtimelinking" = yes; then
11910 # Warning - without using the other runtime loading flags (-brtl),
11911 # -berok will link without error, but may produce a broken library.
11912 allow_undefined_flag_CXX='-berok'
11913 # Determine the default libpath from the value encoded in an empty
11914 # executable.
11915 if test x$gcc_no_link = xyes; then
11916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11918 { (exit 1); exit 1; }; }
11920 cat >conftest.$ac_ext <<_ACEOF
11921 /* confdefs.h. */
11922 _ACEOF
11923 cat confdefs.h >>conftest.$ac_ext
11924 cat >>conftest.$ac_ext <<_ACEOF
11925 /* end confdefs.h. */
11928 main ()
11932 return 0;
11934 _ACEOF
11935 rm -f conftest.$ac_objext conftest$ac_exeext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11937 (eval $ac_link) 2>conftest.er1
11938 ac_status=$?
11939 grep -v '^ *+' conftest.er1 >conftest.err
11940 rm -f conftest.er1
11941 cat conftest.err >&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } &&
11944 { ac_try='test -z "$ac_cxx_werror_flag"
11945 || test ! -s conftest.err'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11948 ac_status=$?
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; } &&
11951 { ac_try='test -s conftest$ac_exeext'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11954 ac_status=$?
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; }; then
11958 lt_aix_libpath_sed='
11959 /Import File Strings/,/^$/ {
11960 /^0/ {
11961 s/^0 *\(.*\)$/\1/
11965 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11966 # Check for a 64-bit object if we didn't find anything.
11967 if test -z "$aix_libpath"; then
11968 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11970 else
11971 echo "$as_me: failed program was:" >&5
11972 sed 's/^/| /' conftest.$ac_ext >&5
11975 rm -f conftest.err conftest.$ac_objext \
11976 conftest$ac_exeext conftest.$ac_ext
11977 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11979 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11981 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"
11982 else
11983 if test "$host_cpu" = ia64; then
11984 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11985 allow_undefined_flag_CXX="-z nodefs"
11986 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"
11987 else
11988 # Determine the default libpath from the value encoded in an
11989 # empty executable.
11990 if test x$gcc_no_link = xyes; then
11991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11993 { (exit 1); exit 1; }; }
11995 cat >conftest.$ac_ext <<_ACEOF
11996 /* confdefs.h. */
11997 _ACEOF
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12003 main ()
12007 return 0;
12009 _ACEOF
12010 rm -f conftest.$ac_objext conftest$ac_exeext
12011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12012 (eval $ac_link) 2>conftest.er1
12013 ac_status=$?
12014 grep -v '^ *+' conftest.er1 >conftest.err
12015 rm -f conftest.er1
12016 cat conftest.err >&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 { ac_try='test -z "$ac_cxx_werror_flag"
12020 || test ! -s conftest.err'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12023 ac_status=$?
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; } &&
12026 { ac_try='test -s conftest$ac_exeext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12029 ac_status=$?
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12033 lt_aix_libpath_sed='
12034 /Import File Strings/,/^$/ {
12035 /^0/ {
12036 s/^0 *\(.*\)$/\1/
12040 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12041 # Check for a 64-bit object if we didn't find anything.
12042 if test -z "$aix_libpath"; then
12043 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12045 else
12046 echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.$ac_ext >&5
12050 rm -f conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12054 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12055 # Warning - without using the other run time loading flags,
12056 # -berok will link without error, but may produce a broken library.
12057 no_undefined_flag_CXX=' ${wl}-bernotok'
12058 allow_undefined_flag_CXX=' ${wl}-berok'
12059 # Exported symbols can be pulled into shared objects from archives
12060 whole_archive_flag_spec_CXX='$convenience'
12061 archive_cmds_need_lc_CXX=yes
12062 # This is similar to how AIX traditionally builds its shared
12063 # libraries.
12064 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'
12069 beos*)
12070 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12071 allow_undefined_flag_CXX=unsupported
12072 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12073 # support --undefined. This deserves some investigation. FIXME
12074 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12075 else
12076 ld_shlibs_CXX=no
12080 chorus*)
12081 case $cc_basename in
12083 # FIXME: insert proper C++ library support
12084 ld_shlibs_CXX=no
12086 esac
12089 cygwin* | mingw* | pw32* | cegcc*)
12090 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12091 # as there is no search path for DLLs.
12092 hardcode_libdir_flag_spec_CXX='-L$libdir'
12093 allow_undefined_flag_CXX=unsupported
12094 always_export_symbols_CXX=no
12095 enable_shared_with_static_runtimes_CXX=yes
12097 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12098 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'
12099 # If the export-symbols file already is a .def file (1st line
12100 # is EXPORTS), use it as is; otherwise, prepend...
12101 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12102 cp $export_symbols $output_objdir/$soname.def;
12103 else
12104 echo EXPORTS > $output_objdir/$soname.def;
12105 cat $export_symbols >> $output_objdir/$soname.def;
12107 $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'
12108 else
12109 ld_shlibs_CXX=no
12112 darwin* | rhapsody*)
12115 archive_cmds_need_lc_CXX=no
12116 hardcode_direct_CXX=no
12117 hardcode_automatic_CXX=yes
12118 hardcode_shlibpath_var_CXX=unsupported
12119 whole_archive_flag_spec_CXX=''
12120 link_all_deplibs_CXX=yes
12121 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12122 case $cc_basename in
12123 ifort*) _lt_dar_can_shared=yes ;;
12124 *) _lt_dar_can_shared=$GCC ;;
12125 esac
12126 if test "$_lt_dar_can_shared" = "yes"; then
12127 output_verbose_link_cmd=echo
12128 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}"
12129 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12130 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}"
12131 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}"
12132 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12133 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}"
12134 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}"
12137 else
12138 ld_shlibs_CXX=no
12143 dgux*)
12144 case $cc_basename in
12145 ec++*)
12146 # FIXME: insert proper C++ library support
12147 ld_shlibs_CXX=no
12149 ghcx*)
12150 # Green Hills C++ Compiler
12151 # FIXME: insert proper C++ library support
12152 ld_shlibs_CXX=no
12155 # FIXME: insert proper C++ library support
12156 ld_shlibs_CXX=no
12158 esac
12161 freebsd[12]*)
12162 # C++ shared libraries reported to be fairly broken before
12163 # switch to ELF
12164 ld_shlibs_CXX=no
12167 freebsd-elf*)
12168 archive_cmds_need_lc_CXX=no
12171 freebsd* | dragonfly*)
12172 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12173 # conventions
12174 ld_shlibs_CXX=yes
12177 gnu*)
12180 hpux9*)
12181 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12182 hardcode_libdir_separator_CXX=:
12183 export_dynamic_flag_spec_CXX='${wl}-E'
12184 hardcode_direct_CXX=yes
12185 hardcode_minus_L_CXX=yes # Not in the search PATH,
12186 # but as the default
12187 # location of the library.
12189 case $cc_basename in
12190 CC*)
12191 # FIXME: insert proper C++ library support
12192 ld_shlibs_CXX=no
12194 aCC*)
12195 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'
12196 # Commands to make compiler produce verbose output that lists
12197 # what "hidden" libraries, object files and flags are used when
12198 # linking a shared library.
12200 # There doesn't appear to be a way to prevent this compiler from
12201 # explicitly linking system object files so we need to strip them
12202 # from the output so that they don't get included in the library
12203 # dependencies.
12204 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'
12207 if test "$GXX" = yes; then
12208 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'
12209 else
12210 # FIXME: insert proper C++ library support
12211 ld_shlibs_CXX=no
12214 esac
12217 hpux10*|hpux11*)
12218 if test $with_gnu_ld = no; then
12219 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12220 hardcode_libdir_separator_CXX=:
12222 case $host_cpu in
12223 hppa*64*|ia64*)
12226 export_dynamic_flag_spec_CXX='${wl}-E'
12228 esac
12230 case $host_cpu in
12231 hppa*64*|ia64*)
12232 hardcode_direct_CXX=no
12233 hardcode_shlibpath_var_CXX=no
12236 hardcode_direct_CXX=yes
12237 hardcode_direct_absolute_CXX=yes
12238 hardcode_minus_L_CXX=yes # Not in the search PATH,
12239 # but as the default
12240 # location of the library.
12242 esac
12244 case $cc_basename in
12245 CC*)
12246 # FIXME: insert proper C++ library support
12247 ld_shlibs_CXX=no
12249 aCC*)
12250 case $host_cpu in
12251 hppa*64*)
12252 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12254 ia64*)
12255 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12258 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12260 esac
12261 # Commands to make compiler produce verbose output that lists
12262 # what "hidden" libraries, object files and flags are used when
12263 # linking a shared library.
12265 # There doesn't appear to be a way to prevent this compiler from
12266 # explicitly linking system object files so we need to strip them
12267 # from the output so that they don't get included in the library
12268 # dependencies.
12269 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'
12272 if test "$GXX" = yes; then
12273 if test $with_gnu_ld = no; then
12274 case $host_cpu in
12275 hppa*64*)
12276 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12278 ia64*)
12279 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12282 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'
12284 esac
12286 else
12287 # FIXME: insert proper C++ library support
12288 ld_shlibs_CXX=no
12291 esac
12294 interix[3-9]*)
12295 hardcode_direct_CXX=no
12296 hardcode_shlibpath_var_CXX=no
12297 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12298 export_dynamic_flag_spec_CXX='${wl}-E'
12299 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12300 # Instead, shared libraries are loaded at an image base (0x10000000 by
12301 # default) and relocated if they conflict, which is a slow very memory
12302 # consuming and fragmenting process. To avoid this, we pick a random,
12303 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12304 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12305 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'
12306 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'
12308 irix5* | irix6*)
12309 case $cc_basename in
12310 CC*)
12311 # SGI C++
12312 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'
12314 # Archives containing C++ object files must be created using
12315 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12316 # necessary to make sure instantiated templates are included
12317 # in the archive.
12318 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12321 if test "$GXX" = yes; then
12322 if test "$with_gnu_ld" = no; then
12323 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'
12324 else
12325 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'
12328 link_all_deplibs_CXX=yes
12330 esac
12331 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12332 hardcode_libdir_separator_CXX=:
12333 inherit_rpath_CXX=yes
12336 linux* | k*bsd*-gnu)
12337 case $cc_basename in
12338 KCC*)
12339 # Kuck and Associates, Inc. (KAI) C++ Compiler
12341 # KCC will only create a shared library if the output file
12342 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12343 # to its proper name (with version) after linking.
12344 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'
12345 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'
12346 # Commands to make compiler produce verbose output that lists
12347 # what "hidden" libraries, object files and flags are used when
12348 # linking a shared library.
12350 # There doesn't appear to be a way to prevent this compiler from
12351 # explicitly linking system object files so we need to strip them
12352 # from the output so that they don't get included in the library
12353 # dependencies.
12354 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'
12356 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12357 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12359 # Archives containing C++ object files must be created using
12360 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12361 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12363 icpc* | ecpc* )
12364 # Intel C++
12365 with_gnu_ld=yes
12366 # version 8.0 and above of icpc choke on multiply defined symbols
12367 # if we add $predep_objects and $postdep_objects, however 7.1 and
12368 # earlier do not add the objects themselves.
12369 case `$CC -V 2>&1` in
12370 *"Version 7."*)
12371 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12372 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'
12374 *) # Version 8.0 or newer
12375 tmp_idyn=
12376 case $host_cpu in
12377 ia64*) tmp_idyn=' -i_dynamic';;
12378 esac
12379 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12380 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'
12382 esac
12383 archive_cmds_need_lc_CXX=no
12384 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12385 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12386 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12388 pgCC* | pgcpp*)
12389 # Portland Group C++ compiler
12390 case `$CC -V` in
12391 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12392 prelink_cmds_CXX='tpldir=Template.dir~
12393 rm -rf $tpldir~
12394 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12395 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12396 old_archive_cmds_CXX='tpldir=Template.dir~
12397 rm -rf $tpldir~
12398 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12399 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12400 $RANLIB $oldlib'
12401 archive_cmds_CXX='tpldir=Template.dir~
12402 rm -rf $tpldir~
12403 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12404 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12405 archive_expsym_cmds_CXX='tpldir=Template.dir~
12406 rm -rf $tpldir~
12407 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12408 $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'
12410 *) # Version 6 will use weak symbols
12411 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12412 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'
12414 esac
12416 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12417 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12418 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'
12420 cxx*)
12421 # Compaq C++
12422 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12423 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'
12425 runpath_var=LD_RUN_PATH
12426 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12427 hardcode_libdir_separator_CXX=:
12429 # Commands to make compiler produce verbose output that lists
12430 # what "hidden" libraries, object files and flags are used when
12431 # linking a shared library.
12433 # There doesn't appear to be a way to prevent this compiler from
12434 # explicitly linking system object files so we need to strip them
12435 # from the output so that they don't get included in the library
12436 # dependencies.
12437 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'
12439 xl*)
12440 # IBM XL 8.0 on PPC, with GNU ld
12441 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12442 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12443 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12444 if test "x$supports_anon_versioning" = xyes; then
12445 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12446 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12447 echo "local: *; };" >> $output_objdir/$libname.ver~
12448 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12452 case `$CC -V 2>&1 | sed 5q` in
12453 *Sun\ C*)
12454 # Sun C++ 5.9
12455 no_undefined_flag_CXX=' -zdefs'
12456 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12457 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'
12458 hardcode_libdir_flag_spec_CXX='-R$libdir'
12459 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'
12460 compiler_needs_object_CXX=yes
12462 # Not sure whether something based on
12463 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12464 # would be better.
12465 output_verbose_link_cmd='echo'
12467 # Archives containing C++ object files must be created using
12468 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12469 # necessary to make sure instantiated templates are included
12470 # in the archive.
12471 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12473 esac
12475 esac
12478 lynxos*)
12479 # FIXME: insert proper C++ library support
12480 ld_shlibs_CXX=no
12483 m88k*)
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12488 mvs*)
12489 case $cc_basename in
12490 cxx*)
12491 # FIXME: insert proper C++ library support
12492 ld_shlibs_CXX=no
12495 # FIXME: insert proper C++ library support
12496 ld_shlibs_CXX=no
12498 esac
12501 netbsd*)
12502 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12503 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12504 wlarc=
12505 hardcode_libdir_flag_spec_CXX='-R$libdir'
12506 hardcode_direct_CXX=yes
12507 hardcode_shlibpath_var_CXX=no
12509 # Workaround some broken pre-1.5 toolchains
12510 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12513 *nto* | *qnx*)
12514 ld_shlibs_CXX=yes
12517 openbsd2*)
12518 # C++ shared libraries are fairly broken
12519 ld_shlibs_CXX=no
12522 openbsd*)
12523 if test -f /usr/libexec/ld.so; then
12524 hardcode_direct_CXX=yes
12525 hardcode_shlibpath_var_CXX=no
12526 hardcode_direct_absolute_CXX=yes
12527 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12528 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12529 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12530 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12531 export_dynamic_flag_spec_CXX='${wl}-E'
12532 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12534 output_verbose_link_cmd=echo
12535 else
12536 ld_shlibs_CXX=no
12540 osf3* | osf4* | osf5*)
12541 case $cc_basename in
12542 KCC*)
12543 # Kuck and Associates, Inc. (KAI) C++ Compiler
12545 # KCC will only create a shared library if the output file
12546 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12547 # to its proper name (with version) after linking.
12548 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'
12550 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12551 hardcode_libdir_separator_CXX=:
12553 # Archives containing C++ object files must be created using
12554 # the KAI C++ compiler.
12555 case $host in
12556 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12557 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12558 esac
12560 RCC*)
12561 # Rational C++ 2.4.1
12562 # FIXME: insert proper C++ library support
12563 ld_shlibs_CXX=no
12565 cxx*)
12566 case $host in
12567 osf3*)
12568 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12569 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'
12570 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12573 allow_undefined_flag_CXX=' -expect_unresolved \*'
12574 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'
12575 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12576 echo "-hidden">> $lib.exp~
12577 $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~
12578 $RM $lib.exp'
12579 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12581 esac
12583 hardcode_libdir_separator_CXX=:
12585 # Commands to make compiler produce verbose output that lists
12586 # what "hidden" libraries, object files and flags are used when
12587 # linking a shared library.
12589 # There doesn't appear to be a way to prevent this compiler from
12590 # explicitly linking system object files so we need to strip them
12591 # from the output so that they don't get included in the library
12592 # dependencies.
12593 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'
12596 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12597 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12598 case $host in
12599 osf3*)
12600 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'
12603 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'
12605 esac
12607 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12608 hardcode_libdir_separator_CXX=:
12610 # Commands to make compiler produce verbose output that lists
12611 # what "hidden" libraries, object files and flags are used when
12612 # linking a shared library.
12613 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12615 else
12616 # FIXME: insert proper C++ library support
12617 ld_shlibs_CXX=no
12620 esac
12623 psos*)
12624 # FIXME: insert proper C++ library support
12625 ld_shlibs_CXX=no
12628 sunos4*)
12629 case $cc_basename in
12630 CC*)
12631 # Sun C++ 4.x
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12635 lcc*)
12636 # Lucid
12637 # FIXME: insert proper C++ library support
12638 ld_shlibs_CXX=no
12641 # FIXME: insert proper C++ library support
12642 ld_shlibs_CXX=no
12644 esac
12647 solaris*)
12648 case $cc_basename in
12649 CC*)
12650 # Sun C++ 4.2, 5.x and Centerline C++
12651 archive_cmds_need_lc_CXX=yes
12652 no_undefined_flag_CXX=' -zdefs'
12653 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12655 $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'
12657 hardcode_libdir_flag_spec_CXX='-R$libdir'
12658 hardcode_shlibpath_var_CXX=no
12659 case $host_os in
12660 solaris2.[0-5] | solaris2.[0-5].*) ;;
12662 # The compiler driver will combine and reorder linker options,
12663 # but understands `-z linker_flag'.
12664 # Supported since Solaris 2.6 (maybe 2.5.1?)
12665 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12667 esac
12668 link_all_deplibs_CXX=yes
12670 output_verbose_link_cmd='echo'
12672 # Archives containing C++ object files must be created using
12673 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12674 # necessary to make sure instantiated templates are included
12675 # in the archive.
12676 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12678 gcx*)
12679 # Green Hills C++ Compiler
12680 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12682 # The C++ compiler must be used to create the archive.
12683 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12686 # GNU C++ compiler with Solaris linker
12687 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12688 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12689 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12690 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12691 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12692 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12694 # Commands to make compiler produce verbose output that lists
12695 # what "hidden" libraries, object files and flags are used when
12696 # linking a shared library.
12697 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12698 else
12699 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12700 # platform.
12701 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12702 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12703 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12705 # Commands to make compiler produce verbose output that lists
12706 # what "hidden" libraries, object files and flags are used when
12707 # linking a shared library.
12708 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12711 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12712 case $host_os in
12713 solaris2.[0-5] | solaris2.[0-5].*) ;;
12715 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12717 esac
12720 esac
12723 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12724 no_undefined_flag_CXX='${wl}-z,text'
12725 archive_cmds_need_lc_CXX=no
12726 hardcode_shlibpath_var_CXX=no
12727 runpath_var='LD_RUN_PATH'
12729 case $cc_basename in
12730 CC*)
12731 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12732 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12735 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12736 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12738 esac
12741 sysv5* | sco3.2v5* | sco5v6*)
12742 # Note: We can NOT use -z defs as we might desire, because we do not
12743 # link with -lc, and that would cause any symbols used from libc to
12744 # always be unresolved, which means just about no library would
12745 # ever link correctly. If we're not using GNU ld we use -z text
12746 # though, which does catch some bad symbols but isn't as heavy-handed
12747 # as -z defs.
12748 no_undefined_flag_CXX='${wl}-z,text'
12749 allow_undefined_flag_CXX='${wl}-z,nodefs'
12750 archive_cmds_need_lc_CXX=no
12751 hardcode_shlibpath_var_CXX=no
12752 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12753 hardcode_libdir_separator_CXX=':'
12754 link_all_deplibs_CXX=yes
12755 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12756 runpath_var='LD_RUN_PATH'
12758 case $cc_basename in
12759 CC*)
12760 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12761 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12764 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12765 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12767 esac
12770 tandem*)
12771 case $cc_basename in
12772 NCC*)
12773 # NonStop-UX NCC 3.20
12774 # FIXME: insert proper C++ library support
12775 ld_shlibs_CXX=no
12778 # FIXME: insert proper C++ library support
12779 ld_shlibs_CXX=no
12781 esac
12784 vxworks*)
12785 # FIXME: insert proper C++ library support
12786 ld_shlibs_CXX=no
12790 # FIXME: insert proper C++ library support
12791 ld_shlibs_CXX=no
12793 esac
12795 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12796 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12797 test "$ld_shlibs_CXX" = no && can_build_shared=no
12799 GCC_CXX="$GXX"
12800 LD_CXX="$LD"
12802 ## CAVEAT EMPTOR:
12803 ## There is no encapsulation within the following macros, do not change
12804 ## the running order or otherwise move them around unless you know exactly
12805 ## what you are doing...
12806 # Dependencies to place before and after the object being linked:
12807 predep_objects_CXX=
12808 postdep_objects_CXX=
12809 predeps_CXX=
12810 postdeps_CXX=
12811 compiler_lib_search_path_CXX=
12813 cat > conftest.$ac_ext <<_LT_EOF
12814 class Foo
12816 public:
12817 Foo (void) { a = 0; }
12818 private:
12819 int a;
12821 _LT_EOF
12823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12824 (eval $ac_compile) 2>&5
12825 ac_status=$?
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); }; then
12828 # Parse the compiler output and extract the necessary
12829 # objects, libraries and library flags.
12831 # Sentinel used to keep track of whether or not we are before
12832 # the conftest object file.
12833 pre_test_object_deps_done=no
12835 for p in `eval "$output_verbose_link_cmd"`; do
12836 case $p in
12838 -L* | -R* | -l*)
12839 # Some compilers place space between "-{L,R}" and the path.
12840 # Remove the space.
12841 if test $p = "-L" ||
12842 test $p = "-R"; then
12843 prev=$p
12844 continue
12845 else
12846 prev=
12849 if test "$pre_test_object_deps_done" = no; then
12850 case $p in
12851 -L* | -R*)
12852 # Internal compiler library paths should come after those
12853 # provided the user. The postdeps already come after the
12854 # user supplied libs so there is no need to process them.
12855 if test -z "$compiler_lib_search_path_CXX"; then
12856 compiler_lib_search_path_CXX="${prev}${p}"
12857 else
12858 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12861 # The "-l" case would never come before the object being
12862 # linked, so don't bother handling this case.
12863 esac
12864 else
12865 if test -z "$postdeps_CXX"; then
12866 postdeps_CXX="${prev}${p}"
12867 else
12868 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12873 *.$objext)
12874 # This assumes that the test object file only shows up
12875 # once in the compiler output.
12876 if test "$p" = "conftest.$objext"; then
12877 pre_test_object_deps_done=yes
12878 continue
12881 if test "$pre_test_object_deps_done" = no; then
12882 if test -z "$predep_objects_CXX"; then
12883 predep_objects_CXX="$p"
12884 else
12885 predep_objects_CXX="$predep_objects_CXX $p"
12887 else
12888 if test -z "$postdep_objects_CXX"; then
12889 postdep_objects_CXX="$p"
12890 else
12891 postdep_objects_CXX="$postdep_objects_CXX $p"
12896 *) ;; # Ignore the rest.
12898 esac
12899 done
12901 # Clean up.
12902 rm -f a.out a.exe
12903 else
12904 echo "libtool.m4: error: problem compiling CXX test program"
12907 $RM -f confest.$objext
12909 # PORTME: override above test on systems where it is broken
12910 case $host_os in
12911 interix[3-9]*)
12912 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12913 # hack all around it, let's just trust "g++" to DTRT.
12914 predep_objects_CXX=
12915 postdep_objects_CXX=
12916 postdeps_CXX=
12919 linux*)
12920 case `$CC -V 2>&1 | sed 5q` in
12921 *Sun\ C*)
12922 # Sun C++ 5.9
12924 # The more standards-conforming stlport4 library is
12925 # incompatible with the Cstd library. Avoid specifying
12926 # it if it's in CXXFLAGS. Ignore libCrun as
12927 # -library=stlport4 depends on it.
12928 case " $CXX $CXXFLAGS " in
12929 *" -library=stlport4 "*)
12930 solaris_use_stlport4=yes
12932 esac
12934 if test "$solaris_use_stlport4" != yes; then
12935 postdeps_CXX='-library=Cstd -library=Crun'
12938 esac
12941 solaris*)
12942 case $cc_basename in
12943 CC*)
12944 # The more standards-conforming stlport4 library is
12945 # incompatible with the Cstd library. Avoid specifying
12946 # it if it's in CXXFLAGS. Ignore libCrun as
12947 # -library=stlport4 depends on it.
12948 case " $CXX $CXXFLAGS " in
12949 *" -library=stlport4 "*)
12950 solaris_use_stlport4=yes
12952 esac
12954 # Adding this requires a known-good setup of shared libraries for
12955 # Sun compiler versions before 5.6, else PIC objects from an old
12956 # archive will be linked into the output, leading to subtle bugs.
12957 if test "$solaris_use_stlport4" != yes; then
12958 postdeps_CXX='-library=Cstd -library=Crun'
12961 esac
12963 esac
12966 case " $postdeps_CXX " in
12967 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12968 esac
12969 compiler_lib_search_dirs_CXX=
12970 if test -n "${compiler_lib_search_path_CXX}"; then
12971 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13004 lt_prog_compiler_wl_CXX=
13005 lt_prog_compiler_pic_CXX=
13006 lt_prog_compiler_static_CXX=
13008 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13009 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13011 # C++ specific cases for pic, static, wl, etc.
13012 if test "$GXX" = yes; then
13013 lt_prog_compiler_wl_CXX='-Wl,'
13014 lt_prog_compiler_static_CXX='-static'
13016 case $host_os in
13017 aix*)
13018 # All AIX code is PIC.
13019 if test "$host_cpu" = ia64; then
13020 # AIX 5 now supports IA64 processor
13021 lt_prog_compiler_static_CXX='-Bstatic'
13025 amigaos*)
13026 case $host_cpu in
13027 powerpc)
13028 # see comment about AmigaOS4 .so support
13029 lt_prog_compiler_pic_CXX='-fPIC'
13031 m68k)
13032 # FIXME: we need at least 68020 code to build shared libraries, but
13033 # adding the `-m68020' flag to GCC prevents building anything better,
13034 # like `-m68040'.
13035 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13037 esac
13040 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13041 # PIC is the default for these OSes.
13043 mingw* | cygwin* | os2* | pw32* | cegcc*)
13044 # This hack is so that the source file can tell whether it is being
13045 # built for inclusion in a dll (and should export symbols for example).
13046 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13047 # (--disable-auto-import) libraries
13048 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13050 darwin* | rhapsody*)
13051 # PIC is the default on this platform
13052 # Common symbols not allowed in MH_DYLIB files
13053 lt_prog_compiler_pic_CXX='-fno-common'
13055 *djgpp*)
13056 # DJGPP does not support shared libraries at all
13057 lt_prog_compiler_pic_CXX=
13059 interix[3-9]*)
13060 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13061 # Instead, we relocate shared libraries at runtime.
13063 sysv4*MP*)
13064 if test -d /usr/nec; then
13065 lt_prog_compiler_pic_CXX=-Kconform_pic
13068 hpux*)
13069 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13070 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13071 # sets the default TLS model and affects inlining.
13072 case $host_cpu in
13073 hppa*64*)
13076 lt_prog_compiler_pic_CXX='-fPIC'
13078 esac
13080 *qnx* | *nto*)
13081 # QNX uses GNU C++, but need to define -shared option too, otherwise
13082 # it will coredump.
13083 lt_prog_compiler_pic_CXX='-fPIC -shared'
13086 lt_prog_compiler_pic_CXX='-fPIC'
13088 esac
13089 else
13090 case $host_os in
13091 aix[4-9]*)
13092 # All AIX code is PIC.
13093 if test "$host_cpu" = ia64; then
13094 # AIX 5 now supports IA64 processor
13095 lt_prog_compiler_static_CXX='-Bstatic'
13096 else
13097 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13100 chorus*)
13101 case $cc_basename in
13102 cxch68*)
13103 # Green Hills C++ Compiler
13104 # _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"
13106 esac
13108 dgux*)
13109 case $cc_basename in
13110 ec++*)
13111 lt_prog_compiler_pic_CXX='-KPIC'
13113 ghcx*)
13114 # Green Hills C++ Compiler
13115 lt_prog_compiler_pic_CXX='-pic'
13119 esac
13121 freebsd* | dragonfly*)
13122 # FreeBSD uses GNU C++
13124 hpux9* | hpux10* | hpux11*)
13125 case $cc_basename in
13126 CC*)
13127 lt_prog_compiler_wl_CXX='-Wl,'
13128 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13129 if test "$host_cpu" != ia64; then
13130 lt_prog_compiler_pic_CXX='+Z'
13133 aCC*)
13134 lt_prog_compiler_wl_CXX='-Wl,'
13135 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13136 case $host_cpu in
13137 hppa*64*|ia64*)
13138 # +Z the default
13141 lt_prog_compiler_pic_CXX='+Z'
13143 esac
13147 esac
13149 interix*)
13150 # This is c89, which is MS Visual C++ (no shared libs)
13151 # Anyone wants to do a port?
13153 irix5* | irix6* | nonstopux*)
13154 case $cc_basename in
13155 CC*)
13156 lt_prog_compiler_wl_CXX='-Wl,'
13157 lt_prog_compiler_static_CXX='-non_shared'
13158 # CC pic flag -KPIC is the default.
13162 esac
13164 linux* | k*bsd*-gnu)
13165 case $cc_basename in
13166 KCC*)
13167 # KAI C++ Compiler
13168 lt_prog_compiler_wl_CXX='--backend -Wl,'
13169 lt_prog_compiler_pic_CXX='-fPIC'
13171 ecpc* )
13172 # old Intel C++ for x86_64 which still supported -KPIC.
13173 lt_prog_compiler_wl_CXX='-Wl,'
13174 lt_prog_compiler_pic_CXX='-KPIC'
13175 lt_prog_compiler_static_CXX='-static'
13177 icpc* )
13178 # Intel C++, used to be incompatible with GCC.
13179 # ICC 10 doesn't accept -KPIC any more.
13180 lt_prog_compiler_wl_CXX='-Wl,'
13181 lt_prog_compiler_pic_CXX='-fPIC'
13182 lt_prog_compiler_static_CXX='-static'
13184 pgCC* | pgcpp*)
13185 # Portland Group C++ compiler
13186 lt_prog_compiler_wl_CXX='-Wl,'
13187 lt_prog_compiler_pic_CXX='-fpic'
13188 lt_prog_compiler_static_CXX='-Bstatic'
13190 cxx*)
13191 # Compaq C++
13192 # Make sure the PIC flag is empty. It appears that all Alpha
13193 # Linux and Compaq Tru64 Unix objects are PIC.
13194 lt_prog_compiler_pic_CXX=
13195 lt_prog_compiler_static_CXX='-non_shared'
13197 xlc* | xlC*)
13198 # IBM XL 8.0 on PPC
13199 lt_prog_compiler_wl_CXX='-Wl,'
13200 lt_prog_compiler_pic_CXX='-qpic'
13201 lt_prog_compiler_static_CXX='-qstaticlink'
13204 case `$CC -V 2>&1 | sed 5q` in
13205 *Sun\ C*)
13206 # Sun C++ 5.9
13207 lt_prog_compiler_pic_CXX='-KPIC'
13208 lt_prog_compiler_static_CXX='-Bstatic'
13209 lt_prog_compiler_wl_CXX='-Qoption ld '
13211 esac
13213 esac
13215 lynxos*)
13217 m88k*)
13219 mvs*)
13220 case $cc_basename in
13221 cxx*)
13222 lt_prog_compiler_pic_CXX='-W c,exportall'
13226 esac
13228 netbsd*)
13230 *qnx* | *nto*)
13231 # QNX uses GNU C++, but need to define -shared option too, otherwise
13232 # it will coredump.
13233 lt_prog_compiler_pic_CXX='-fPIC -shared'
13235 osf3* | osf4* | osf5*)
13236 case $cc_basename in
13237 KCC*)
13238 lt_prog_compiler_wl_CXX='--backend -Wl,'
13240 RCC*)
13241 # Rational C++ 2.4.1
13242 lt_prog_compiler_pic_CXX='-pic'
13244 cxx*)
13245 # Digital/Compaq C++
13246 lt_prog_compiler_wl_CXX='-Wl,'
13247 # Make sure the PIC flag is empty. It appears that all Alpha
13248 # Linux and Compaq Tru64 Unix objects are PIC.
13249 lt_prog_compiler_pic_CXX=
13250 lt_prog_compiler_static_CXX='-non_shared'
13254 esac
13256 psos*)
13258 solaris*)
13259 case $cc_basename in
13260 CC*)
13261 # Sun C++ 4.2, 5.x and Centerline C++
13262 lt_prog_compiler_pic_CXX='-KPIC'
13263 lt_prog_compiler_static_CXX='-Bstatic'
13264 lt_prog_compiler_wl_CXX='-Qoption ld '
13266 gcx*)
13267 # Green Hills C++ Compiler
13268 lt_prog_compiler_pic_CXX='-PIC'
13272 esac
13274 sunos4*)
13275 case $cc_basename in
13276 CC*)
13277 # Sun C++ 4.x
13278 lt_prog_compiler_pic_CXX='-pic'
13279 lt_prog_compiler_static_CXX='-Bstatic'
13281 lcc*)
13282 # Lucid
13283 lt_prog_compiler_pic_CXX='-pic'
13287 esac
13289 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13290 case $cc_basename in
13291 CC*)
13292 lt_prog_compiler_wl_CXX='-Wl,'
13293 lt_prog_compiler_pic_CXX='-KPIC'
13294 lt_prog_compiler_static_CXX='-Bstatic'
13296 esac
13298 tandem*)
13299 case $cc_basename in
13300 NCC*)
13301 # NonStop-UX NCC 3.20
13302 lt_prog_compiler_pic_CXX='-KPIC'
13306 esac
13308 vxworks*)
13311 lt_prog_compiler_can_build_shared_CXX=no
13313 esac
13316 case $host_os in
13317 # For platforms which do not support PIC, -DPIC is meaningless:
13318 *djgpp*)
13319 lt_prog_compiler_pic_CXX=
13322 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13324 esac
13325 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13326 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13331 # Check to make sure the PIC flag actually works.
13333 if test -n "$lt_prog_compiler_pic_CXX"; then
13334 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13335 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13336 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 else
13339 lt_cv_prog_compiler_pic_works_CXX=no
13340 ac_outfile=conftest.$ac_objext
13341 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13342 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13343 # Insert the option either (1) after the last *FLAGS variable, or
13344 # (2) before a word containing "conftest.", or (3) at the end.
13345 # Note that $ac_compile itself does not contain backslashes and begins
13346 # with a dollar sign (not a hyphen), so the echo should work correctly.
13347 # The option is referenced via a variable to avoid confusing sed.
13348 lt_compile=`echo "$ac_compile" | $SED \
13349 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13350 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13351 -e 's:$: $lt_compiler_flag:'`
13352 (eval echo "\"\$as_me:13352: $lt_compile\"" >&5)
13353 (eval "$lt_compile" 2>conftest.err)
13354 ac_status=$?
13355 cat conftest.err >&5
13356 echo "$as_me:13356: \$? = $ac_status" >&5
13357 if (exit $ac_status) && test -s "$ac_outfile"; then
13358 # The compiler can only warn and ignore the option if not recognized
13359 # So say no if there are warnings other than the usual output.
13360 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13361 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13362 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13363 lt_cv_prog_compiler_pic_works_CXX=yes
13366 $RM conftest*
13369 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13370 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13372 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13373 case $lt_prog_compiler_pic_CXX in
13374 "" | " "*) ;;
13375 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13376 esac
13377 else
13378 lt_prog_compiler_pic_CXX=
13379 lt_prog_compiler_can_build_shared_CXX=no
13387 # Check to make sure the static flag actually works.
13389 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13390 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13391 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13392 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 else
13395 lt_cv_prog_compiler_static_works_CXX=no
13396 save_LDFLAGS="$LDFLAGS"
13397 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13398 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13399 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13400 # The linker can only warn and ignore the option if not recognized
13401 # So say no if there are warnings
13402 if test -s conftest.err; then
13403 # Append any errors to the config.log.
13404 cat conftest.err 1>&5
13405 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13406 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13407 if diff conftest.exp conftest.er2 >/dev/null; then
13408 lt_cv_prog_compiler_static_works_CXX=yes
13410 else
13411 lt_cv_prog_compiler_static_works_CXX=yes
13414 $RM -r conftest*
13415 LDFLAGS="$save_LDFLAGS"
13418 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13419 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13421 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13423 else
13424 lt_prog_compiler_static_CXX=
13430 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13431 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13432 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 else
13435 lt_cv_prog_compiler_c_o_CXX=no
13436 $RM -r conftest 2>/dev/null
13437 mkdir conftest
13438 cd conftest
13439 mkdir out
13440 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13442 lt_compiler_flag="-o out/conftest2.$ac_objext"
13443 # Insert the option either (1) after the last *FLAGS variable, or
13444 # (2) before a word containing "conftest.", or (3) at the end.
13445 # Note that $ac_compile itself does not contain backslashes and begins
13446 # with a dollar sign (not a hyphen), so the echo should work correctly.
13447 lt_compile=`echo "$ac_compile" | $SED \
13448 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13449 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13450 -e 's:$: $lt_compiler_flag:'`
13451 (eval echo "\"\$as_me:13451: $lt_compile\"" >&5)
13452 (eval "$lt_compile" 2>out/conftest.err)
13453 ac_status=$?
13454 cat out/conftest.err >&5
13455 echo "$as_me:13455: \$? = $ac_status" >&5
13456 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13457 then
13458 # The compiler can only warn and ignore the option if not recognized
13459 # So say no if there are warnings
13460 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13461 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13462 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13463 lt_cv_prog_compiler_c_o_CXX=yes
13466 chmod u+w . 2>&5
13467 $RM conftest*
13468 # SGI C++ compiler will create directory out/ii_files/ for
13469 # template instantiation
13470 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13471 $RM out/* && rmdir out
13472 cd ..
13473 $RM -r conftest
13474 $RM conftest*
13477 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13478 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13482 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13483 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13484 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487 lt_cv_prog_compiler_c_o_CXX=no
13488 $RM -r conftest 2>/dev/null
13489 mkdir conftest
13490 cd conftest
13491 mkdir out
13492 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13494 lt_compiler_flag="-o out/conftest2.$ac_objext"
13495 # Insert the option either (1) after the last *FLAGS variable, or
13496 # (2) before a word containing "conftest.", or (3) at the end.
13497 # Note that $ac_compile itself does not contain backslashes and begins
13498 # with a dollar sign (not a hyphen), so the echo should work correctly.
13499 lt_compile=`echo "$ac_compile" | $SED \
13500 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13502 -e 's:$: $lt_compiler_flag:'`
13503 (eval echo "\"\$as_me:13503: $lt_compile\"" >&5)
13504 (eval "$lt_compile" 2>out/conftest.err)
13505 ac_status=$?
13506 cat out/conftest.err >&5
13507 echo "$as_me:13507: \$? = $ac_status" >&5
13508 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13509 then
13510 # The compiler can only warn and ignore the option if not recognized
13511 # So say no if there are warnings
13512 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13513 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13514 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13515 lt_cv_prog_compiler_c_o_CXX=yes
13518 chmod u+w . 2>&5
13519 $RM conftest*
13520 # SGI C++ compiler will create directory out/ii_files/ for
13521 # template instantiation
13522 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13523 $RM out/* && rmdir out
13524 cd ..
13525 $RM -r conftest
13526 $RM conftest*
13529 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13530 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13535 hard_links="nottested"
13536 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13537 # do not overwrite the value of need_locks provided by the user
13538 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13539 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13540 hard_links=yes
13541 $RM conftest*
13542 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13543 touch conftest.a
13544 ln conftest.a conftest.b 2>&5 || hard_links=no
13545 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13546 echo "$as_me:$LINENO: result: $hard_links" >&5
13547 echo "${ECHO_T}$hard_links" >&6
13548 if test "$hard_links" = no; then
13549 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13550 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13551 need_locks=warn
13553 else
13554 need_locks=no
13559 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13560 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13562 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13563 case $host_os in
13564 aix[4-9]*)
13565 # If we're using GNU nm, then we don't want the "-C" option.
13566 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13567 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13568 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'
13569 else
13570 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'
13573 pw32*)
13574 export_symbols_cmds_CXX="$ltdll_cmds"
13576 cygwin* | mingw* | cegcc*)
13577 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'
13580 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13582 esac
13583 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13585 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13586 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13587 test "$ld_shlibs_CXX" = no && can_build_shared=no
13589 with_gnu_ld_CXX=$with_gnu_ld
13597 # Do we need to explicitly link libc?
13599 case "x$archive_cmds_need_lc_CXX" in
13600 x|xyes)
13601 # Assume -lc should be added
13602 archive_cmds_need_lc_CXX=yes
13604 if test "$enable_shared" = yes && test "$GCC" = yes; then
13605 case $archive_cmds_CXX in
13606 *'~'*)
13607 # FIXME: we may have to deal with multi-command sequences.
13609 '$CC '*)
13610 # Test whether the compiler implicitly links with -lc since on some
13611 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13612 # to ld, don't add -lc before -lgcc.
13613 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13614 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13615 $RM conftest*
13616 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13619 (eval $ac_compile) 2>&5
13620 ac_status=$?
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } 2>conftest.err; then
13623 soname=conftest
13624 lib=conftest
13625 libobjs=conftest.$ac_objext
13626 deplibs=
13627 wl=$lt_prog_compiler_wl_CXX
13628 pic_flag=$lt_prog_compiler_pic_CXX
13629 compiler_flags=-v
13630 linker_flags=-v
13631 verstring=
13632 output_objdir=.
13633 libname=conftest
13634 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13635 allow_undefined_flag_CXX=
13636 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13637 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }
13641 then
13642 archive_cmds_need_lc_CXX=no
13643 else
13644 archive_cmds_need_lc_CXX=yes
13646 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13647 else
13648 cat conftest.err 1>&5
13650 $RM conftest*
13651 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13652 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13654 esac
13657 esac
13722 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13723 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13725 library_names_spec=
13726 libname_spec='lib$name'
13727 soname_spec=
13728 shrext_cmds=".so"
13729 postinstall_cmds=
13730 postuninstall_cmds=
13731 finish_cmds=
13732 finish_eval=
13733 shlibpath_var=
13734 shlibpath_overrides_runpath=unknown
13735 version_type=none
13736 dynamic_linker="$host_os ld.so"
13737 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13738 need_lib_prefix=unknown
13739 hardcode_into_libs=no
13741 # when you set need_version to no, make sure it does not cause -set_version
13742 # flags to be left without arguments
13743 need_version=unknown
13745 case $host_os in
13746 aix3*)
13747 version_type=linux
13748 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13749 shlibpath_var=LIBPATH
13751 # AIX 3 has no versioning support, so we append a major version to the name.
13752 soname_spec='${libname}${release}${shared_ext}$major'
13755 aix[4-9]*)
13756 version_type=linux
13757 need_lib_prefix=no
13758 need_version=no
13759 hardcode_into_libs=yes
13760 if test "$host_cpu" = ia64; then
13761 # AIX 5 supports IA64
13762 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13763 shlibpath_var=LD_LIBRARY_PATH
13764 else
13765 # With GCC up to 2.95.x, collect2 would create an import file
13766 # for dependence libraries. The import file would start with
13767 # the line `#! .'. This would cause the generated library to
13768 # depend on `.', always an invalid library. This was fixed in
13769 # development snapshots of GCC prior to 3.0.
13770 case $host_os in
13771 aix4 | aix4.[01] | aix4.[01].*)
13772 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13773 echo ' yes '
13774 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13776 else
13777 can_build_shared=no
13780 esac
13781 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13782 # soname into executable. Probably we can add versioning support to
13783 # collect2, so additional links can be useful in future.
13784 if test "$aix_use_runtimelinking" = yes; then
13785 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13786 # instead of lib<name>.a to let people know that these are not
13787 # typical AIX shared libraries.
13788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13789 else
13790 # We preserve .a as extension for shared libraries through AIX4.2
13791 # and later when we are not doing run time linking.
13792 library_names_spec='${libname}${release}.a $libname.a'
13793 soname_spec='${libname}${release}${shared_ext}$major'
13795 shlibpath_var=LIBPATH
13799 amigaos*)
13800 case $host_cpu in
13801 powerpc)
13802 # Since July 2007 AmigaOS4 officially supports .so libraries.
13803 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13806 m68k)
13807 library_names_spec='$libname.ixlibrary $libname.a'
13808 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13809 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'
13811 esac
13814 beos*)
13815 library_names_spec='${libname}${shared_ext}'
13816 dynamic_linker="$host_os ld.so"
13817 shlibpath_var=LIBRARY_PATH
13820 bsdi[45]*)
13821 version_type=linux
13822 need_version=no
13823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13824 soname_spec='${libname}${release}${shared_ext}$major'
13825 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13826 shlibpath_var=LD_LIBRARY_PATH
13827 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13828 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13829 # the default ld.so.conf also contains /usr/contrib/lib and
13830 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13831 # libtool to hard-code these into programs
13834 cygwin* | mingw* | pw32* | cegcc*)
13835 version_type=windows
13836 shrext_cmds=".dll"
13837 need_version=no
13838 need_lib_prefix=no
13840 case $GCC,$host_os in
13841 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13842 library_names_spec='$libname.dll.a'
13843 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13844 postinstall_cmds='base_file=`basename \${file}`~
13845 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13846 dldir=$destdir/`dirname \$dlpath`~
13847 test -d \$dldir || mkdir -p \$dldir~
13848 $install_prog $dir/$dlname \$dldir/$dlname~
13849 chmod a+x \$dldir/$dlname~
13850 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13851 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13853 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13854 dlpath=$dir/\$dldll~
13855 $RM \$dlpath'
13856 shlibpath_overrides_runpath=yes
13858 case $host_os in
13859 cygwin*)
13860 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13861 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13862 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13864 mingw* | cegcc*)
13865 # MinGW DLLs use traditional 'lib' prefix
13866 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13867 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13868 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13869 # It is most probably a Windows format PATH printed by
13870 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13871 # path with ; separators, and with drive letters. We can handle the
13872 # drive letters (cygwin fileutils understands them), so leave them,
13873 # especially as we might pass files found there to a mingw objdump,
13874 # which wouldn't understand a cygwinified path. Ahh.
13875 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13876 else
13877 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13880 pw32*)
13881 # pw32 DLLs use 'pw' prefix rather than 'lib'
13882 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13884 esac
13888 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13890 esac
13891 dynamic_linker='Win32 ld.exe'
13892 # FIXME: first we should search . and the directory the executable is in
13893 shlibpath_var=PATH
13896 darwin* | rhapsody*)
13897 dynamic_linker="$host_os dyld"
13898 version_type=darwin
13899 need_lib_prefix=no
13900 need_version=no
13901 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13902 soname_spec='${libname}${release}${major}$shared_ext'
13903 shlibpath_overrides_runpath=yes
13904 shlibpath_var=DYLD_LIBRARY_PATH
13905 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13907 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13910 dgux*)
13911 version_type=linux
13912 need_lib_prefix=no
13913 need_version=no
13914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13915 soname_spec='${libname}${release}${shared_ext}$major'
13916 shlibpath_var=LD_LIBRARY_PATH
13919 freebsd1*)
13920 dynamic_linker=no
13923 freebsd* | dragonfly*)
13924 # DragonFly does not have aout. When/if they implement a new
13925 # versioning mechanism, adjust this.
13926 if test -x /usr/bin/objformat; then
13927 objformat=`/usr/bin/objformat`
13928 else
13929 case $host_os in
13930 freebsd[123]*) objformat=aout ;;
13931 *) objformat=elf ;;
13932 esac
13934 version_type=freebsd-$objformat
13935 case $version_type in
13936 freebsd-elf*)
13937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13938 need_version=no
13939 need_lib_prefix=no
13941 freebsd-*)
13942 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13943 need_version=yes
13945 esac
13946 shlibpath_var=LD_LIBRARY_PATH
13947 case $host_os in
13948 freebsd2*)
13949 shlibpath_overrides_runpath=yes
13951 freebsd3.[01]* | freebsdelf3.[01]*)
13952 shlibpath_overrides_runpath=yes
13953 hardcode_into_libs=yes
13955 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13956 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13957 shlibpath_overrides_runpath=no
13958 hardcode_into_libs=yes
13960 *) # from 4.6 on, and DragonFly
13961 shlibpath_overrides_runpath=yes
13962 hardcode_into_libs=yes
13964 esac
13967 gnu*)
13968 version_type=linux
13969 need_lib_prefix=no
13970 need_version=no
13971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13972 soname_spec='${libname}${release}${shared_ext}$major'
13973 shlibpath_var=LD_LIBRARY_PATH
13974 hardcode_into_libs=yes
13977 hpux9* | hpux10* | hpux11*)
13978 # Give a soname corresponding to the major version so that dld.sl refuses to
13979 # link against other versions.
13980 version_type=sunos
13981 need_lib_prefix=no
13982 need_version=no
13983 case $host_cpu in
13984 ia64*)
13985 shrext_cmds='.so'
13986 hardcode_into_libs=yes
13987 dynamic_linker="$host_os dld.so"
13988 shlibpath_var=LD_LIBRARY_PATH
13989 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13991 soname_spec='${libname}${release}${shared_ext}$major'
13992 if test "X$HPUX_IA64_MODE" = X32; then
13993 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13994 else
13995 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13997 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13999 hppa*64*)
14000 shrext_cmds='.sl'
14001 hardcode_into_libs=yes
14002 dynamic_linker="$host_os dld.sl"
14003 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14004 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14006 soname_spec='${libname}${release}${shared_ext}$major'
14007 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14008 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14011 shrext_cmds='.sl'
14012 dynamic_linker="$host_os dld.sl"
14013 shlibpath_var=SHLIB_PATH
14014 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14016 soname_spec='${libname}${release}${shared_ext}$major'
14018 esac
14019 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14020 postinstall_cmds='chmod 555 $lib'
14023 interix[3-9]*)
14024 version_type=linux
14025 need_lib_prefix=no
14026 need_version=no
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14030 shlibpath_var=LD_LIBRARY_PATH
14031 shlibpath_overrides_runpath=no
14032 hardcode_into_libs=yes
14035 irix5* | irix6* | nonstopux*)
14036 case $host_os in
14037 nonstopux*) version_type=nonstopux ;;
14039 if test "$lt_cv_prog_gnu_ld" = yes; then
14040 version_type=linux
14041 else
14042 version_type=irix
14043 fi ;;
14044 esac
14045 need_lib_prefix=no
14046 need_version=no
14047 soname_spec='${libname}${release}${shared_ext}$major'
14048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14049 case $host_os in
14050 irix5* | nonstopux*)
14051 libsuff= shlibsuff=
14054 case $LD in # libtool.m4 will add one of these switches to LD
14055 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14056 libsuff= shlibsuff= libmagic=32-bit;;
14057 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14058 libsuff=32 shlibsuff=N32 libmagic=N32;;
14059 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14060 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14061 *) libsuff= shlibsuff= libmagic=never-match;;
14062 esac
14064 esac
14065 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14066 shlibpath_overrides_runpath=no
14067 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14068 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14069 hardcode_into_libs=yes
14072 # No shared lib support for Linux oldld, aout, or coff.
14073 linux*oldld* | linux*aout* | linux*coff*)
14074 dynamic_linker=no
14077 # This must be Linux ELF.
14078 linux* | k*bsd*-gnu)
14079 version_type=linux
14080 need_lib_prefix=no
14081 need_version=no
14082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14083 soname_spec='${libname}${release}${shared_ext}$major'
14084 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14085 shlibpath_var=LD_LIBRARY_PATH
14086 shlibpath_overrides_runpath=no
14087 # Some binutils ld are patched to set DT_RUNPATH
14088 save_LDFLAGS=$LDFLAGS
14089 save_libdir=$libdir
14090 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14091 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14092 if test x$gcc_no_link = xyes; then
14093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14095 { (exit 1); exit 1; }; }
14097 cat >conftest.$ac_ext <<_ACEOF
14098 /* confdefs.h. */
14099 _ACEOF
14100 cat confdefs.h >>conftest.$ac_ext
14101 cat >>conftest.$ac_ext <<_ACEOF
14102 /* end confdefs.h. */
14105 main ()
14109 return 0;
14111 _ACEOF
14112 rm -f conftest.$ac_objext conftest$ac_exeext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14114 (eval $ac_link) 2>conftest.er1
14115 ac_status=$?
14116 grep -v '^ *+' conftest.er1 >conftest.err
14117 rm -f conftest.er1
14118 cat conftest.err >&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); } &&
14121 { ac_try='test -z "$ac_cxx_werror_flag"
14122 || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try='test -s conftest$ac_exeext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14135 shlibpath_overrides_runpath=yes
14138 else
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.$ac_ext >&5
14143 rm -f conftest.err conftest.$ac_objext \
14144 conftest$ac_exeext conftest.$ac_ext
14145 LDFLAGS=$save_LDFLAGS
14146 libdir=$save_libdir
14148 # This implies no fast_install, which is unacceptable.
14149 # Some rework will be needed to allow for fast_install
14150 # before this can be enabled.
14151 hardcode_into_libs=yes
14153 # Append ld.so.conf contents to the search path
14154 if test -f /etc/ld.so.conf; then
14155 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' ' '`
14156 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14159 # We used to test for /lib/ld.so.1 and disable shared libraries on
14160 # powerpc, because MkLinux only supported shared libraries with the
14161 # GNU dynamic linker. Since this was broken with cross compilers,
14162 # most powerpc-linux boxes support dynamic linking these days and
14163 # people can always --disable-shared, the test was removed, and we
14164 # assume the GNU/Linux dynamic linker is in use.
14165 dynamic_linker='GNU/Linux ld.so'
14168 netbsd*)
14169 version_type=sunos
14170 need_lib_prefix=no
14171 need_version=no
14172 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14174 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14175 dynamic_linker='NetBSD (a.out) ld.so'
14176 else
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14178 soname_spec='${libname}${release}${shared_ext}$major'
14179 dynamic_linker='NetBSD ld.elf_so'
14181 shlibpath_var=LD_LIBRARY_PATH
14182 shlibpath_overrides_runpath=yes
14183 hardcode_into_libs=yes
14186 newsos6)
14187 version_type=linux
14188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14189 shlibpath_var=LD_LIBRARY_PATH
14190 shlibpath_overrides_runpath=yes
14193 *nto* | *qnx*)
14194 version_type=qnx
14195 need_lib_prefix=no
14196 need_version=no
14197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14198 soname_spec='${libname}${release}${shared_ext}$major'
14199 shlibpath_var=LD_LIBRARY_PATH
14200 shlibpath_overrides_runpath=no
14201 hardcode_into_libs=yes
14202 dynamic_linker='ldqnx.so'
14205 openbsd*)
14206 version_type=sunos
14207 sys_lib_dlsearch_path_spec="/usr/lib"
14208 need_lib_prefix=no
14209 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14210 case $host_os in
14211 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14212 *) need_version=no ;;
14213 esac
14214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14216 shlibpath_var=LD_LIBRARY_PATH
14217 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14218 case $host_os in
14219 openbsd2.[89] | openbsd2.[89].*)
14220 shlibpath_overrides_runpath=no
14223 shlibpath_overrides_runpath=yes
14225 esac
14226 else
14227 shlibpath_overrides_runpath=yes
14231 os2*)
14232 libname_spec='$name'
14233 shrext_cmds=".dll"
14234 need_lib_prefix=no
14235 library_names_spec='$libname${shared_ext} $libname.a'
14236 dynamic_linker='OS/2 ld.exe'
14237 shlibpath_var=LIBPATH
14240 osf3* | osf4* | osf5*)
14241 version_type=osf
14242 need_lib_prefix=no
14243 need_version=no
14244 soname_spec='${libname}${release}${shared_ext}$major'
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246 shlibpath_var=LD_LIBRARY_PATH
14247 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14248 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14251 rdos*)
14252 dynamic_linker=no
14255 solaris*)
14256 version_type=linux
14257 need_lib_prefix=no
14258 need_version=no
14259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14260 soname_spec='${libname}${release}${shared_ext}$major'
14261 shlibpath_var=LD_LIBRARY_PATH
14262 shlibpath_overrides_runpath=yes
14263 hardcode_into_libs=yes
14264 # ldd complains unless libraries are executable
14265 postinstall_cmds='chmod +x $lib'
14268 sunos4*)
14269 version_type=sunos
14270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14271 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14272 shlibpath_var=LD_LIBRARY_PATH
14273 shlibpath_overrides_runpath=yes
14274 if test "$with_gnu_ld" = yes; then
14275 need_lib_prefix=no
14277 need_version=yes
14280 sysv4 | sysv4.3*)
14281 version_type=linux
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14283 soname_spec='${libname}${release}${shared_ext}$major'
14284 shlibpath_var=LD_LIBRARY_PATH
14285 case $host_vendor in
14286 sni)
14287 shlibpath_overrides_runpath=no
14288 need_lib_prefix=no
14289 runpath_var=LD_RUN_PATH
14291 siemens)
14292 need_lib_prefix=no
14294 motorola)
14295 need_lib_prefix=no
14296 need_version=no
14297 shlibpath_overrides_runpath=no
14298 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14300 esac
14303 sysv4*MP*)
14304 if test -d /usr/nec ;then
14305 version_type=linux
14306 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14307 soname_spec='$libname${shared_ext}.$major'
14308 shlibpath_var=LD_LIBRARY_PATH
14312 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14313 version_type=freebsd-elf
14314 need_lib_prefix=no
14315 need_version=no
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14317 soname_spec='${libname}${release}${shared_ext}$major'
14318 shlibpath_var=LD_LIBRARY_PATH
14319 shlibpath_overrides_runpath=yes
14320 hardcode_into_libs=yes
14321 if test "$with_gnu_ld" = yes; then
14322 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14323 else
14324 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14325 case $host_os in
14326 sco3.2v5*)
14327 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14329 esac
14331 sys_lib_dlsearch_path_spec='/usr/lib'
14334 tpf*)
14335 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14336 version_type=linux
14337 need_lib_prefix=no
14338 need_version=no
14339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14340 shlibpath_var=LD_LIBRARY_PATH
14341 shlibpath_overrides_runpath=no
14342 hardcode_into_libs=yes
14345 uts4*)
14346 version_type=linux
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 shlibpath_var=LD_LIBRARY_PATH
14353 dynamic_linker=no
14355 esac
14356 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14357 echo "${ECHO_T}$dynamic_linker" >&6
14358 test "$dynamic_linker" = no && can_build_shared=no
14360 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14361 if test "$GCC" = yes; then
14362 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14365 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14366 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14368 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14369 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14407 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14408 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14409 hardcode_action_CXX=
14410 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14411 test -n "$runpath_var_CXX" ||
14412 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14414 # We can hardcode non-existent directories.
14415 if test "$hardcode_direct_CXX" != no &&
14416 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14417 # have to relink, otherwise we might link with an installed library
14418 # when we should be linking with a yet-to-be-installed one
14419 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14420 test "$hardcode_minus_L_CXX" != no; then
14421 # Linking always hardcodes the temporary library directory.
14422 hardcode_action_CXX=relink
14423 else
14424 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14425 hardcode_action_CXX=immediate
14427 else
14428 # We cannot hardcode anything, or else we can only hardcode existing
14429 # directories.
14430 hardcode_action_CXX=unsupported
14432 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14433 echo "${ECHO_T}$hardcode_action_CXX" >&6
14435 if test "$hardcode_action_CXX" = relink ||
14436 test "$inherit_rpath_CXX" = yes; then
14437 # Fast installation is not supported
14438 enable_fast_install=no
14439 elif test "$shlibpath_overrides_runpath" = yes ||
14440 test "$enable_shared" = no; then
14441 # Fast installation is not necessary
14442 enable_fast_install=needless
14451 fi # test -n "$compiler"
14453 CC=$lt_save_CC
14454 LDCXX=$LD
14455 LD=$lt_save_LD
14456 GCC=$lt_save_GCC
14457 with_gnu_ld=$lt_save_with_gnu_ld
14458 lt_cv_path_LDCXX=$lt_cv_path_LD
14459 lt_cv_path_LD=$lt_save_path_LD
14460 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14461 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14462 fi # test "$_lt_caught_CXX_error" != yes
14464 ac_ext=c
14465 ac_cpp='$CPP $CPPFLAGS'
14466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14482 ac_config_commands="$ac_config_commands libtool"
14487 # Only expand once:
14493 # Possibly disable most of the library.
14494 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14495 ## than just ignoring the results. Faster /and/ more correct, win win.
14497 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
14498 if test "${enable_hosted_libstdcxx+set}" = set; then
14499 enableval="$enable_hosted_libstdcxx"
14501 else
14502 case "$host" in
14503 arm*-*-symbianelf*)
14504 enable_hosted_libstdcxx=no
14507 enable_hosted_libstdcxx=yes
14509 esac
14511 if test "$enable_hosted_libstdcxx" = no; then
14512 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14513 echo "$as_me: Only freestanding libraries will be built" >&6;}
14514 is_hosted=no
14515 hosted_define=0
14516 enable_abi_check=no
14517 enable_libstdcxx_pch=no
14518 else
14519 is_hosted=yes
14520 hosted_define=1
14524 cat >>confdefs.h <<_ACEOF
14525 #define _GLIBCXX_HOSTED $hosted_define
14526 _ACEOF
14530 # Enable compiler support that doesn't require linking.
14532 echo "$as_me:$LINENO: checking for exception model to use" >&5
14533 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
14536 ac_ext=cc
14537 ac_cpp='$CXXCPP $CPPFLAGS'
14538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14542 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
14543 if test "${enable_sjlj_exceptions+set}" = set; then
14544 enableval="$enable_sjlj_exceptions"
14546 case "$enableval" in
14547 yes|no|auto) ;;
14548 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14549 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14550 { (exit 1); exit 1; }; } ;;
14551 esac
14553 else
14554 enable_sjlj_exceptions=auto
14558 if test $enable_sjlj_exceptions = auto; then
14559 # Botheration. Now we've got to detect the exception model. Link tests
14560 # against libgcc.a are problematic since we've not been given proper -L
14561 # bits for single-tree newlib and libgloss.
14563 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14564 cat > conftest.$ac_ext << EOF
14565 #line 14565 "configure"
14566 struct S { ~S(); };
14567 void bar();
14568 void foo()
14570 S s;
14571 bar();
14574 old_CXXFLAGS="$CXXFLAGS"
14575 CXXFLAGS=-S
14576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14577 (eval $ac_compile) 2>&5
14578 ac_status=$?
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; then
14581 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14582 enable_sjlj_exceptions=yes
14583 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14584 enable_sjlj_exceptions=no
14585 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14586 enable_sjlj_exceptions=no
14589 CXXFLAGS="$old_CXXFLAGS"
14590 rm -f conftest*
14593 # This is a tad weird, for hysterical raisins. We have to map
14594 # enable/disable to two different models.
14595 case $enable_sjlj_exceptions in
14596 yes)
14598 cat >>confdefs.h <<\_ACEOF
14599 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14600 _ACEOF
14602 ac_exception_model_name=sjlj
14605 ac_exception_model_name="call frame"
14608 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14609 echo "$as_me: error: unable to detect exception model" >&2;}
14610 { (exit 1); exit 1; }; }
14612 esac
14613 ac_ext=c
14614 ac_cpp='$CPP $CPPFLAGS'
14615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14619 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14620 echo "${ECHO_T}$ac_exception_model_name" >&6
14623 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
14624 if test "${enable_libstdcxx_pch+set}" = set; then
14625 enableval="$enable_libstdcxx_pch"
14627 case "$enableval" in
14628 yes|no) ;;
14629 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14630 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14631 { (exit 1); exit 1; }; } ;;
14632 esac
14634 else
14635 enable_libstdcxx_pch=$is_hosted
14638 if test $enable_libstdcxx_pch = yes; then
14639 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14640 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
14641 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14642 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 else
14644 ac_save_CXXFLAGS="$CXXFLAGS"
14645 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14648 ac_ext=cc
14649 ac_cpp='$CXXCPP $CPPFLAGS'
14650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14654 echo '#include <math.h>' > conftest.h
14655 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14656 -o conftest.h.gch 1>&5 2>&1 &&
14657 echo '#error "pch failed"' > conftest.h &&
14658 echo '#include "conftest.h"' > conftest.cc &&
14659 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14660 then
14661 glibcxx_cv_prog_CXX_pch=yes
14662 else
14663 glibcxx_cv_prog_CXX_pch=no
14665 rm -f conftest*
14666 CXXFLAGS=$ac_save_CXXFLAGS
14667 ac_ext=c
14668 ac_cpp='$CPP $CPPFLAGS'
14669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14675 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14676 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
14677 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14680 echo "$as_me:$LINENO: checking for enabled PCH" >&5
14681 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
14682 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14683 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
14686 if test $enable_libstdcxx_pch = yes; then
14687 glibcxx_PCHFLAGS="-include bits/stdc++.h"
14688 else
14689 glibcxx_PCHFLAGS=""
14696 ac_ext=cc
14697 ac_cpp='$CXXCPP $CPPFLAGS'
14698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14702 old_CXXFLAGS="$CXXFLAGS"
14704 # Compile unoptimized.
14705 CXXFLAGS='-O0 -S'
14707 # Fake what AC_TRY_COMPILE does, without linking as this is
14708 # unnecessary for a builtins test.
14710 cat > conftest.$ac_ext << EOF
14711 #line 14711 "configure"
14712 int main()
14714 // NB: _Atomic_word not necessarily int.
14715 typedef int atomic_type;
14716 atomic_type c1;
14717 atomic_type c2;
14718 const atomic_type c3(0);
14719 __sync_fetch_and_add(&c1, c2);
14720 __sync_val_compare_and_swap(&c1, c3, c2);
14721 __sync_lock_test_and_set(&c1, c3);
14722 __sync_lock_release(&c1);
14723 __sync_synchronize();
14724 return 0;
14728 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14729 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; then
14735 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14736 enable_atomic_builtinsi=no
14737 else
14739 cat >>confdefs.h <<\_ACEOF
14740 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14741 _ACEOF
14743 enable_atomic_builtinsi=yes
14746 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14747 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14748 rm -f conftest*
14750 cat > conftest.$ac_ext << EOF
14751 #line 14751 "configure"
14752 int main()
14754 typedef bool atomic_type;
14755 atomic_type c1;
14756 atomic_type c2;
14757 const atomic_type c3(0);
14758 __sync_fetch_and_add(&c1, c2);
14759 __sync_val_compare_and_swap(&c1, c3, c2);
14760 __sync_lock_test_and_set(&c1, c3);
14761 __sync_lock_release(&c1);
14762 __sync_synchronize();
14763 return 0;
14767 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14768 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14770 (eval $ac_compile) 2>&5
14771 ac_status=$?
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; then
14774 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14775 enable_atomic_builtinsb=no
14776 else
14778 cat >>confdefs.h <<\_ACEOF
14779 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14780 _ACEOF
14782 enable_atomic_builtinsb=yes
14785 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14786 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14787 rm -f conftest*
14789 CXXFLAGS="$old_CXXFLAGS"
14790 ac_ext=c
14791 ac_cpp='$CPP $CPPFLAGS'
14792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14797 # Set atomicity_dir to builtins if either of above tests pass.
14798 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14799 atomicity_dir=cpu/generic/atomicity_builtins
14802 # If still generic, set to mutex.
14803 if test $atomicity_dir = "cpu/generic" ; then
14804 atomicity_dir=cpu/generic/atomicity_mutex
14805 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14806 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14807 if test $target_thread_file = single; then
14808 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14809 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14810 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14811 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14812 else
14813 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14814 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14815 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14816 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14822 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14823 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14824 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14825 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14826 echo "${ECHO_T}$target_thread_file" >&6
14828 if test $target_thread_file != single; then
14830 cat >>confdefs.h <<\_ACEOF
14831 #define HAVE_GTHR_DEFAULT 1
14832 _ACEOF
14836 glibcxx_thread_h=gthr-$target_thread_file.h
14838 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14839 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14840 enable_thread=yes
14841 else
14842 enable_thread=no
14848 # Checks for compiler support that doesn't require linking.
14850 # All these tests are for C++; save the language and the compiler flags.
14851 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14852 # found in GLIBCXX_CONFIGURE.
14855 ac_ext=cc
14856 ac_cpp='$CXXCPP $CPPFLAGS'
14857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14861 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14862 ac_save_CXXFLAGS="$CXXFLAGS"
14864 # Check for maintainer-mode bits.
14865 if test x"$USE_MAINTAINER_MODE" = xno; then
14866 WERROR=''
14867 else
14868 WERROR='-Werror'
14871 # Check for -ffunction-sections -fdata-sections
14872 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14873 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14874 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14875 cat >conftest.$ac_ext <<_ACEOF
14876 /* confdefs.h. */
14877 _ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 int foo; void bar() { };
14883 main ()
14887 return 0;
14889 _ACEOF
14890 rm -f conftest.$ac_objext
14891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14892 (eval $ac_compile) 2>conftest.er1
14893 ac_status=$?
14894 grep -v '^ *+' conftest.er1 >conftest.err
14895 rm -f conftest.er1
14896 cat conftest.err >&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); } &&
14899 { ac_try='test -z "$ac_cxx_werror_flag"
14900 || test ! -s conftest.err'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14903 ac_status=$?
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; } &&
14906 { ac_try='test -s conftest.$ac_objext'
14907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14908 (eval $ac_try) 2>&5
14909 ac_status=$?
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; }; then
14912 ac_fdsections=yes
14913 else
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14917 ac_fdsections=no
14919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14920 if test "$ac_test_CXXFLAGS" = set; then
14921 CXXFLAGS="$ac_save_CXXFLAGS"
14922 else
14923 # this is the suspicious part
14924 CXXFLAGS=''
14926 if test x"$ac_fdsections" = x"yes"; then
14927 SECTION_FLAGS='-ffunction-sections -fdata-sections'
14929 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14930 echo "${ECHO_T}$ac_fdsections" >&6
14932 ac_ext=c
14933 ac_cpp='$CPP $CPPFLAGS'
14934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14943 echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14944 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14945 if test "${ac_standard_layout+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14951 ac_ext=cc
14952 ac_cpp='$CXXCPP $CPPFLAGS'
14953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14957 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14958 ac_save_CXXFLAGS="$CXXFLAGS"
14959 CXXFLAGS='-std=gnu++0x'
14961 cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h. */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h. */
14967 struct b
14969 bool t;
14971 // Need standard layout relaxation from POD
14972 private:
14973 b& operator=(const b&);
14974 b(const b&);
14977 main ()
14979 b tst1 = { false };
14981 return 0;
14983 _ACEOF
14984 rm -f conftest.$ac_objext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14986 (eval $ac_compile) 2>conftest.er1
14987 ac_status=$?
14988 grep -v '^ *+' conftest.er1 >conftest.err
14989 rm -f conftest.er1
14990 cat conftest.err >&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } &&
14993 { ac_try='test -z "$ac_cxx_werror_flag"
14994 || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14997 ac_status=$?
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_standard_layout=yes
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_standard_layout=no
15013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15015 CXXFLAGS="$ac_save_CXXFLAGS"
15016 ac_ext=c
15017 ac_cpp='$CPP $CPPFLAGS'
15018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15025 echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
15026 echo "${ECHO_T}$ac_standard_layout" >&6
15027 if test x"$ac_standard_layout" = x"yes"; then
15029 cat >>confdefs.h <<\_ACEOF
15030 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
15031 _ACEOF
15036 # Enable all the variable C++ runtime options that don't require linking.
15038 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
15039 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
15040 # Check whether --enable-cstdio or --disable-cstdio was given.
15041 if test "${enable_cstdio+set}" = set; then
15042 enableval="$enable_cstdio"
15044 case "$enableval" in
15045 stdio) ;;
15046 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
15047 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
15048 { (exit 1); exit 1; }; } ;;
15049 esac
15051 else
15052 enable_cstdio=stdio
15056 # Now that libio has been removed, you can have any color you want as long
15057 # as it's black. This is one big no-op until other packages are added, but
15058 # showing the framework never hurts.
15059 case ${enable_cstdio} in
15060 stdio)
15061 CSTDIO_H=config/io/c_io_stdio.h
15062 BASIC_FILE_H=config/io/basic_file_stdio.h
15063 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15064 echo "$as_me:$LINENO: result: stdio" >&5
15065 echo "${ECHO_T}stdio" >&6
15067 esac
15074 # Check whether --enable-clocale or --disable-clocale was given.
15075 if test "${enable_clocale+set}" = set; then
15076 enableval="$enable_clocale"
15078 case "$enableval" in
15079 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15080 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
15081 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
15082 { (exit 1); exit 1; }; } ;;
15083 esac
15085 else
15086 enable_clocale=auto
15090 # Deal with gettext issues. Default to not using it (=no) until we detect
15091 # support for it later. Let the user turn it off via --e/d, but let that
15092 # default to on for easier handling.
15093 USE_NLS=no
15094 # Check whether --enable-nls or --disable-nls was given.
15095 if test "${enable_nls+set}" = set; then
15096 enableval="$enable_nls"
15098 else
15099 enable_nls=yes
15102 # Either a known packaage, or "auto"
15103 if test $enable_clocale = no || test $enable_clocale = yes; then
15104 enable_clocale=auto
15106 enable_clocale_flag=$enable_clocale
15108 # Probe for locale model to use if none specified.
15109 # Default to "generic".
15110 if test $enable_clocale_flag = auto; then
15111 case ${target_os} in
15112 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15113 enable_clocale_flag=gnu
15115 darwin* | freebsd*)
15116 enable_clocale_flag=darwin
15119 enable_clocale_flag=generic
15121 esac
15124 # Sanity check model, and test for special functionality.
15125 if test $enable_clocale_flag = gnu; then
15126 cat >conftest.$ac_ext <<_ACEOF
15127 /* confdefs.h. */
15128 _ACEOF
15129 cat confdefs.h >>conftest.$ac_ext
15130 cat >>conftest.$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15133 #include <features.h>
15134 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15135 _GLIBCXX_ok
15136 #endif
15138 _ACEOF
15139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15140 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
15141 enable_clocale_flag=gnu
15142 else
15143 enable_clocale_flag=generic
15145 rm -f conftest*
15148 if test $enable_clocale = auto; then
15149 # Test for bugs early in glibc-2.2.x series
15150 if test "$cross_compiling" = yes; then
15151 enable_clocale_flag=generic
15152 else
15153 cat >conftest.$ac_ext <<_ACEOF
15154 /* confdefs.h. */
15155 _ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15160 #define _GNU_SOURCE 1
15161 #include <locale.h>
15162 #include <string.h>
15163 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15164 extern __typeof(newlocale) __newlocale;
15165 extern __typeof(duplocale) __duplocale;
15166 extern __typeof(strcoll_l) __strcoll_l;
15167 #endif
15168 int main()
15170 const char __one[] = "Äuglein Augmen";
15171 const char __two[] = "Äuglein";
15172 int i;
15173 int j;
15174 __locale_t loc;
15175 __locale_t loc_dup;
15176 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15177 loc_dup = __duplocale(loc);
15178 i = __strcoll_l(__one, __two, loc);
15179 j = __strcoll_l(__one, __two, loc_dup);
15180 return 0;
15183 _ACEOF
15184 rm -f conftest$ac_exeext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15186 (eval $ac_link) 2>&5
15187 ac_status=$?
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 enable_clocale_flag=gnu
15196 else
15197 echo "$as_me: program exited with status $ac_status" >&5
15198 echo "$as_me: failed program was:" >&5
15199 sed 's/^/| /' conftest.$ac_ext >&5
15201 ( exit $ac_status )
15202 enable_clocale_flag=generic
15204 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15208 # Set it to scream when it hurts.
15209 ac_save_CFLAGS="$CFLAGS"
15210 CFLAGS="-Wimplicit-function-declaration -Werror"
15212 # Use strxfrm_l if available.
15213 cat >conftest.$ac_ext <<_ACEOF
15214 /* confdefs.h. */
15215 _ACEOF
15216 cat confdefs.h >>conftest.$ac_ext
15217 cat >>conftest.$ac_ext <<_ACEOF
15218 /* end confdefs.h. */
15219 #define _GNU_SOURCE 1
15220 #include <string.h>
15221 #include <locale.h>
15223 main ()
15225 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15227 return 0;
15229 _ACEOF
15230 rm -f conftest.$ac_objext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15232 (eval $ac_compile) 2>conftest.er1
15233 ac_status=$?
15234 grep -v '^ *+' conftest.er1 >conftest.err
15235 rm -f conftest.er1
15236 cat conftest.err >&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } &&
15239 { ac_try='test -z "$ac_c_werror_flag"
15240 || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try='test -s conftest.$ac_objext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15253 cat >>confdefs.h <<\_ACEOF
15254 #define HAVE_STRXFRM_L 1
15255 _ACEOF
15257 else
15258 echo "$as_me: failed program was:" >&5
15259 sed 's/^/| /' conftest.$ac_ext >&5
15262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15264 # Use strerror_l if available.
15265 cat >conftest.$ac_ext <<_ACEOF
15266 /* confdefs.h. */
15267 _ACEOF
15268 cat confdefs.h >>conftest.$ac_ext
15269 cat >>conftest.$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 #define _GNU_SOURCE 1
15272 #include <string.h>
15273 #include <locale.h>
15275 main ()
15277 __locale_t loc; strerror_l(5, loc);
15279 return 0;
15281 _ACEOF
15282 rm -f conftest.$ac_objext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15284 (eval $ac_compile) 2>conftest.er1
15285 ac_status=$?
15286 grep -v '^ *+' conftest.er1 >conftest.err
15287 rm -f conftest.er1
15288 cat conftest.err >&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try='test -z "$ac_c_werror_flag"
15292 || test ! -s conftest.err'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15295 ac_status=$?
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try='test -s conftest.$ac_objext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15305 cat >>confdefs.h <<\_ACEOF
15306 #define HAVE_STRERROR_L 1
15307 _ACEOF
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15316 CFLAGS="$ac_save_CFLAGS"
15319 # Perhaps use strerror_r if available, and strerror_l isn't.
15320 ac_save_CFLAGS="$CFLAGS"
15321 CFLAGS="-Wimplicit-function-declaration -Werror"
15322 cat >conftest.$ac_ext <<_ACEOF
15323 /* confdefs.h. */
15324 _ACEOF
15325 cat confdefs.h >>conftest.$ac_ext
15326 cat >>conftest.$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 #define _GNU_SOURCE 1
15329 #include <string.h>
15330 #include <locale.h>
15332 main ()
15334 char s[128]; strerror_r(5, s, 128);
15336 return 0;
15338 _ACEOF
15339 rm -f conftest.$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15342 ac_status=$?
15343 grep -v '^ *+' conftest.er1 >conftest.err
15344 rm -f conftest.er1
15345 cat conftest.err >&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try='test -z "$ac_c_werror_flag"
15349 || test ! -s conftest.err'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15352 ac_status=$?
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; } &&
15355 { ac_try='test -s conftest.$ac_objext'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15358 ac_status=$?
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; }; then
15362 cat >>confdefs.h <<\_ACEOF
15363 #define HAVE_STRERROR_R 1
15364 _ACEOF
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15372 CFLAGS="$ac_save_CFLAGS"
15374 # Set configure bits for specified locale package
15375 echo "$as_me:$LINENO: checking for C locale to use" >&5
15376 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
15377 case ${enable_clocale_flag} in
15378 generic)
15379 echo "$as_me:$LINENO: result: generic" >&5
15380 echo "${ECHO_T}generic" >&6
15382 CLOCALE_H=config/locale/generic/c_locale.h
15383 CLOCALE_CC=config/locale/generic/c_locale.cc
15384 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15385 CCOLLATE_CC=config/locale/generic/collate_members.cc
15386 CCTYPE_CC=config/locale/generic/ctype_members.cc
15387 CMESSAGES_H=config/locale/generic/messages_members.h
15388 CMESSAGES_CC=config/locale/generic/messages_members.cc
15389 CMONEY_CC=config/locale/generic/monetary_members.cc
15390 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15391 CTIME_H=config/locale/generic/time_members.h
15392 CTIME_CC=config/locale/generic/time_members.cc
15393 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15395 darwin)
15396 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15397 echo "${ECHO_T}darwin or freebsd" >&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/darwin/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
15413 gnu)
15414 echo "$as_me:$LINENO: result: gnu" >&5
15415 echo "${ECHO_T}gnu" >&6
15417 # Declare intention to use gettext, and add support for specific
15418 # languages.
15419 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15420 ALL_LINGUAS="de fr"
15422 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15423 # Extract the first word of "msgfmt", so it can be a program name with args.
15424 set dummy msgfmt; ac_word=$2
15425 echo "$as_me:$LINENO: checking for $ac_word" >&5
15426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15427 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430 if test -n "$check_msgfmt"; then
15431 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15432 else
15433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15434 for as_dir in $PATH
15436 IFS=$as_save_IFS
15437 test -z "$as_dir" && as_dir=.
15438 for ac_exec_ext in '' $ac_executable_extensions; do
15439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15440 ac_cv_prog_check_msgfmt="yes"
15441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15442 break 2
15444 done
15445 done
15447 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15450 check_msgfmt=$ac_cv_prog_check_msgfmt
15451 if test -n "$check_msgfmt"; then
15452 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15453 echo "${ECHO_T}$check_msgfmt" >&6
15454 else
15455 echo "$as_me:$LINENO: result: no" >&5
15456 echo "${ECHO_T}no" >&6
15459 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15460 USE_NLS=yes
15462 # Export the build objects.
15463 for ling in $ALL_LINGUAS; do \
15464 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15465 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15466 done
15470 CLOCALE_H=config/locale/gnu/c_locale.h
15471 CLOCALE_CC=config/locale/gnu/c_locale.cc
15472 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15473 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15474 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15475 CMESSAGES_H=config/locale/gnu/messages_members.h
15476 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15477 CMONEY_CC=config/locale/gnu/monetary_members.cc
15478 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15479 CTIME_H=config/locale/gnu/time_members.h
15480 CTIME_CC=config/locale/gnu/time_members.cc
15481 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15483 ieee_1003.1-2001)
15484 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15485 echo "${ECHO_T}IEEE 1003.1" >&6
15487 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15488 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15489 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15490 CCOLLATE_CC=config/locale/generic/collate_members.cc
15491 CCTYPE_CC=config/locale/generic/ctype_members.cc
15492 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15493 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15494 CMONEY_CC=config/locale/generic/monetary_members.cc
15495 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15496 CTIME_H=config/locale/generic/time_members.h
15497 CTIME_CC=config/locale/generic/time_members.cc
15498 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15500 esac
15502 # This is where the testsuite looks for locale catalogs, using the
15503 # -DLOCALEDIR define during testsuite compilation.
15504 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15507 # A standalone libintl (e.g., GNU libintl) may be in use.
15508 if test $USE_NLS = yes; then
15510 for ac_header in libintl.h
15512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15514 echo "$as_me:$LINENO: checking for $ac_header" >&5
15515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15517 echo $ECHO_N "(cached) $ECHO_C" >&6
15519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15521 else
15522 # Is the header compilable?
15523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15525 cat >conftest.$ac_ext <<_ACEOF
15526 /* confdefs.h. */
15527 _ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15532 #include <$ac_header>
15533 _ACEOF
15534 rm -f conftest.$ac_objext
15535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536 (eval $ac_compile) 2>conftest.er1
15537 ac_status=$?
15538 grep -v '^ *+' conftest.er1 >conftest.err
15539 rm -f conftest.er1
15540 cat conftest.err >&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } &&
15543 { ac_try='test -z "$ac_c_werror_flag"
15544 || test ! -s conftest.err'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15547 ac_status=$?
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; } &&
15550 { ac_try='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15553 ac_status=$?
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_header_compiler=yes
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15561 ac_header_compiler=no
15563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15565 echo "${ECHO_T}$ac_header_compiler" >&6
15567 # Is the header present?
15568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15570 cat >conftest.$ac_ext <<_ACEOF
15571 /* confdefs.h. */
15572 _ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576 #include <$ac_header>
15577 _ACEOF
15578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15580 ac_status=$?
15581 grep -v '^ *+' conftest.er1 >conftest.err
15582 rm -f conftest.er1
15583 cat conftest.err >&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); } >/dev/null; then
15586 if test -s conftest.err; then
15587 ac_cpp_err=$ac_c_preproc_warn_flag
15588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15589 else
15590 ac_cpp_err=
15592 else
15593 ac_cpp_err=yes
15595 if test -z "$ac_cpp_err"; then
15596 ac_header_preproc=yes
15597 else
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.$ac_ext >&5
15601 ac_header_preproc=no
15603 rm -f conftest.err conftest.$ac_ext
15604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15605 echo "${ECHO_T}$ac_header_preproc" >&6
15607 # So? What about this header?
15608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15609 yes:no: )
15610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15614 ac_header_preproc=yes
15616 no:yes:* )
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15630 cat <<\_ASBOX
15631 ## ----------------------------------------- ##
15632 ## Report this to the package-unused lists. ##
15633 ## ----------------------------------------- ##
15634 _ASBOX
15636 sed "s/^/$as_me: WARNING: /" >&2
15638 esac
15639 echo "$as_me:$LINENO: checking for $ac_header" >&5
15640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15642 echo $ECHO_N "(cached) $ECHO_C" >&6
15643 else
15644 eval "$as_ac_Header=\$ac_header_preproc"
15646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15651 cat >>confdefs.h <<_ACEOF
15652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15653 _ACEOF
15655 else
15656 USE_NLS=no
15659 done
15661 echo "$as_me:$LINENO: checking for library containing gettext" >&5
15662 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
15663 if test "${ac_cv_search_gettext+set}" = set; then
15664 echo $ECHO_N "(cached) $ECHO_C" >&6
15665 else
15666 ac_func_search_save_LIBS=$LIBS
15667 ac_cv_search_gettext=no
15668 if test x$gcc_no_link = xyes; then
15669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15671 { (exit 1); exit 1; }; }
15673 cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15680 /* Override any gcc2 internal prototype to avoid an error. */
15681 #ifdef __cplusplus
15682 extern "C"
15683 #endif
15684 /* We use char because int might match the return type of a gcc2
15685 builtin and then its argument prototype would still apply. */
15686 char gettext ();
15688 main ()
15690 gettext ();
15692 return 0;
15694 _ACEOF
15695 rm -f conftest.$ac_objext conftest$ac_exeext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15697 (eval $ac_link) 2>conftest.er1
15698 ac_status=$?
15699 grep -v '^ *+' conftest.er1 >conftest.err
15700 rm -f conftest.er1
15701 cat conftest.err >&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); } &&
15704 { ac_try='test -z "$ac_c_werror_flag"
15705 || test ! -s conftest.err'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15708 ac_status=$?
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; } &&
15711 { ac_try='test -s conftest$ac_exeext'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15714 ac_status=$?
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; }; then
15717 ac_cv_search_gettext="none required"
15718 else
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.$ac_ext >&5
15723 rm -f conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15725 if test "$ac_cv_search_gettext" = no; then
15726 for ac_lib in intl; do
15727 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15728 if test x$gcc_no_link = xyes; then
15729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15731 { (exit 1); exit 1; }; }
15733 cat >conftest.$ac_ext <<_ACEOF
15734 /* confdefs.h. */
15735 _ACEOF
15736 cat confdefs.h >>conftest.$ac_ext
15737 cat >>conftest.$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15740 /* Override any gcc2 internal prototype to avoid an error. */
15741 #ifdef __cplusplus
15742 extern "C"
15743 #endif
15744 /* We use char because int might match the return type of a gcc2
15745 builtin and then its argument prototype would still apply. */
15746 char gettext ();
15748 main ()
15750 gettext ();
15752 return 0;
15754 _ACEOF
15755 rm -f conftest.$ac_objext conftest$ac_exeext
15756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15757 (eval $ac_link) 2>conftest.er1
15758 ac_status=$?
15759 grep -v '^ *+' conftest.er1 >conftest.err
15760 rm -f conftest.er1
15761 cat conftest.err >&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } &&
15764 { ac_try='test -z "$ac_c_werror_flag"
15765 || test ! -s conftest.err'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15768 ac_status=$?
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; } &&
15771 { ac_try='test -s conftest$ac_exeext'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5
15774 ac_status=$?
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; }; then
15777 ac_cv_search_gettext="-l$ac_lib"
15778 break
15779 else
15780 echo "$as_me: failed program was:" >&5
15781 sed 's/^/| /' conftest.$ac_ext >&5
15784 rm -f conftest.err conftest.$ac_objext \
15785 conftest$ac_exeext conftest.$ac_ext
15786 done
15788 LIBS=$ac_func_search_save_LIBS
15790 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15791 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15792 if test "$ac_cv_search_gettext" != no; then
15793 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15795 else
15796 USE_NLS=no
15800 if test $USE_NLS = yes; then
15802 cat >>confdefs.h <<\_ACEOF
15803 #define _GLIBCXX_USE_NLS 1
15804 _ACEOF
15823 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15824 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15825 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15826 if test "${enable_libstdcxx_allocator+set}" = set; then
15827 enableval="$enable_libstdcxx_allocator"
15829 case "$enableval" in
15830 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15831 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15832 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15833 { (exit 1); exit 1; }; } ;;
15834 esac
15836 else
15837 enable_libstdcxx_allocator=auto
15841 # If they didn't use this option switch, or if they specified --enable
15842 # with no specific model, we'll have to look for one. If they
15843 # specified --disable (???), do likewise.
15844 if test $enable_libstdcxx_allocator = no ||
15845 test $enable_libstdcxx_allocator = yes;
15846 then
15847 enable_libstdcxx_allocator=auto
15850 # Either a known package, or "auto". Auto implies the default choice
15851 # for a particular platform.
15852 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15854 # Probe for host-specific support if no specific model is specified.
15855 # Default to "new".
15856 if test $enable_libstdcxx_allocator_flag = auto; then
15857 case ${target_os} in
15858 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15859 enable_libstdcxx_allocator_flag=new
15862 enable_libstdcxx_allocator_flag=new
15864 esac
15866 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15867 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15870 # Set configure bits for specified locale package
15871 case ${enable_libstdcxx_allocator_flag} in
15872 bitmap)
15873 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15874 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15876 malloc)
15877 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15878 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15881 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15882 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15884 new)
15885 ALLOCATOR_H=config/allocator/new_allocator_base.h
15886 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15888 pool)
15889 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15890 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15892 esac
15898 # Check whether --enable-cheaders or --disable-cheaders was given.
15899 if test "${enable_cheaders+set}" = set; then
15900 enableval="$enable_cheaders"
15902 case "$enableval" in
15903 c|c_std|c_global) ;;
15904 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15905 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15906 { (exit 1); exit 1; }; } ;;
15907 esac
15909 else
15910 enable_cheaders=$c_model
15913 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15914 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15916 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15918 # Allow overrides to configure.host here.
15919 if test $enable_cheaders = c_global; then
15920 c_compatibility=yes
15923 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15924 c_extra=yes
15934 # Check whether --enable-long-long or --disable-long-long was given.
15935 if test "${enable_long_long+set}" = set; then
15936 enableval="$enable_long_long"
15938 case "$enableval" in
15939 yes|no) ;;
15940 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15941 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15942 { (exit 1); exit 1; }; } ;;
15943 esac
15945 else
15946 enable_long_long=yes
15949 if test $enable_long_long = yes; then
15951 cat >>confdefs.h <<\_ACEOF
15952 #define _GLIBCXX_USE_LONG_LONG 1
15953 _ACEOF
15956 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15957 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15958 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15959 echo "${ECHO_T}$enable_long_long" >&6
15962 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15963 if test "${enable_wchar_t+set}" = set; then
15964 enableval="$enable_wchar_t"
15966 case "$enableval" in
15967 yes|no) ;;
15968 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15969 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15970 { (exit 1); exit 1; }; } ;;
15971 esac
15973 else
15974 enable_wchar_t=yes
15978 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15980 for ac_header in wchar.h
15982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15984 echo "$as_me:$LINENO: checking for $ac_header" >&5
15985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15991 else
15992 # Is the header compilable?
15993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 $ac_includes_default
16002 #include <$ac_header>
16003 _ACEOF
16004 rm -f conftest.$ac_objext
16005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16006 (eval $ac_compile) 2>conftest.er1
16007 ac_status=$?
16008 grep -v '^ *+' conftest.er1 >conftest.err
16009 rm -f conftest.er1
16010 cat conftest.err >&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } &&
16013 { ac_try='test -z "$ac_c_werror_flag"
16014 || test ! -s conftest.err'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try='test -s conftest.$ac_objext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16023 ac_status=$?
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_header_compiler=yes
16027 else
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16031 ac_header_compiler=no
16033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16035 echo "${ECHO_T}$ac_header_compiler" >&6
16037 # Is the header present?
16038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 #include <$ac_header>
16047 _ACEOF
16048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16050 ac_status=$?
16051 grep -v '^ *+' conftest.er1 >conftest.err
16052 rm -f conftest.er1
16053 cat conftest.err >&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } >/dev/null; then
16056 if test -s conftest.err; then
16057 ac_cpp_err=$ac_c_preproc_warn_flag
16058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16059 else
16060 ac_cpp_err=
16062 else
16063 ac_cpp_err=yes
16065 if test -z "$ac_cpp_err"; then
16066 ac_header_preproc=yes
16067 else
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.$ac_ext >&5
16071 ac_header_preproc=no
16073 rm -f conftest.err conftest.$ac_ext
16074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16075 echo "${ECHO_T}$ac_header_preproc" >&6
16077 # So? What about this header?
16078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16079 yes:no: )
16080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16084 ac_header_preproc=yes
16086 no:yes:* )
16087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16091 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16092 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16093 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16094 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16097 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16098 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16100 cat <<\_ASBOX
16101 ## ----------------------------------------- ##
16102 ## Report this to the package-unused lists. ##
16103 ## ----------------------------------------- ##
16104 _ASBOX
16106 sed "s/^/$as_me: WARNING: /" >&2
16108 esac
16109 echo "$as_me:$LINENO: checking for $ac_header" >&5
16110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16112 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 else
16114 eval "$as_ac_Header=\$ac_header_preproc"
16116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16121 cat >>confdefs.h <<_ACEOF
16122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16123 _ACEOF
16124 ac_has_wchar_h=yes
16125 else
16126 ac_has_wchar_h=no
16129 done
16131 echo "$as_me:$LINENO: checking for mbstate_t" >&5
16132 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 #include <wchar.h>
16141 main ()
16143 mbstate_t teststate;
16145 return 0;
16147 _ACEOF
16148 rm -f conftest.$ac_objext
16149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16150 (eval $ac_compile) 2>conftest.er1
16151 ac_status=$?
16152 grep -v '^ *+' conftest.er1 >conftest.err
16153 rm -f conftest.er1
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } &&
16157 { ac_try='test -z "$ac_c_werror_flag"
16158 || test ! -s conftest.err'
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16160 (eval $ac_try) 2>&5
16161 ac_status=$?
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); }; } &&
16164 { ac_try='test -s conftest.$ac_objext'
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16167 ac_status=$?
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; }; then
16170 have_mbstate_t=yes
16171 else
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 have_mbstate_t=no
16177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16178 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
16179 echo "${ECHO_T}$have_mbstate_t" >&6
16180 if test x"$have_mbstate_t" = xyes; then
16182 cat >>confdefs.h <<\_ACEOF
16183 #define HAVE_MBSTATE_T 1
16184 _ACEOF
16188 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16189 # ac_has_wchar_h.
16191 for ac_header in wctype.h
16193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16195 echo "$as_me:$LINENO: checking for $ac_header" >&5
16196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16202 else
16203 # Is the header compilable?
16204 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16206 cat >conftest.$ac_ext <<_ACEOF
16207 /* confdefs.h. */
16208 _ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 $ac_includes_default
16213 #include <$ac_header>
16214 _ACEOF
16215 rm -f conftest.$ac_objext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16217 (eval $ac_compile) 2>conftest.er1
16218 ac_status=$?
16219 grep -v '^ *+' conftest.er1 >conftest.err
16220 rm -f conftest.er1
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } &&
16224 { ac_try='test -z "$ac_c_werror_flag"
16225 || test ! -s conftest.err'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try='test -s conftest.$ac_objext'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16234 ac_status=$?
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; }; then
16237 ac_header_compiler=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16242 ac_header_compiler=no
16244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16246 echo "${ECHO_T}$ac_header_compiler" >&6
16248 # Is the header present?
16249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16251 cat >conftest.$ac_ext <<_ACEOF
16252 /* confdefs.h. */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 #include <$ac_header>
16258 _ACEOF
16259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } >/dev/null; then
16267 if test -s conftest.err; then
16268 ac_cpp_err=$ac_c_preproc_warn_flag
16269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16270 else
16271 ac_cpp_err=
16273 else
16274 ac_cpp_err=yes
16276 if test -z "$ac_cpp_err"; then
16277 ac_header_preproc=yes
16278 else
16279 echo "$as_me: failed program was:" >&5
16280 sed 's/^/| /' conftest.$ac_ext >&5
16282 ac_header_preproc=no
16284 rm -f conftest.err conftest.$ac_ext
16285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16286 echo "${ECHO_T}$ac_header_preproc" >&6
16288 # So? What about this header?
16289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16290 yes:no: )
16291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16295 ac_header_preproc=yes
16297 no:yes:* )
16298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16311 cat <<\_ASBOX
16312 ## ----------------------------------------- ##
16313 ## Report this to the package-unused lists. ##
16314 ## ----------------------------------------- ##
16315 _ASBOX
16317 sed "s/^/$as_me: WARNING: /" >&2
16319 esac
16320 echo "$as_me:$LINENO: checking for $ac_header" >&5
16321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16323 echo $ECHO_N "(cached) $ECHO_C" >&6
16324 else
16325 eval "$as_ac_Header=\$ac_header_preproc"
16327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16332 cat >>confdefs.h <<_ACEOF
16333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16334 _ACEOF
16335 ac_has_wctype_h=yes
16336 else
16337 ac_has_wctype_h=no
16340 done
16343 if test x"$enable_wchar_t" = x"yes"; then
16347 ac_ext=cc
16348 ac_cpp='$CXXCPP $CPPFLAGS'
16349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16354 if test x"$ac_has_wchar_h" = xyes &&
16355 test x"$ac_has_wctype_h" = xyes; then
16356 cat >conftest.$ac_ext <<_ACEOF
16357 /* confdefs.h. */
16358 _ACEOF
16359 cat confdefs.h >>conftest.$ac_ext
16360 cat >>conftest.$ac_ext <<_ACEOF
16361 /* end confdefs.h. */
16362 #include <wchar.h>
16363 #include <stddef.h>
16364 wint_t i;
16365 long l = WEOF;
16366 long j = WCHAR_MIN;
16367 long k = WCHAR_MAX;
16368 namespace test
16370 using ::btowc;
16371 using ::fgetwc;
16372 using ::fgetws;
16373 using ::fputwc;
16374 using ::fputws;
16375 using ::fwide;
16376 using ::fwprintf;
16377 using ::fwscanf;
16378 using ::getwc;
16379 using ::getwchar;
16380 using ::mbrlen;
16381 using ::mbrtowc;
16382 using ::mbsinit;
16383 using ::mbsrtowcs;
16384 using ::putwc;
16385 using ::putwchar;
16386 using ::swprintf;
16387 using ::swscanf;
16388 using ::ungetwc;
16389 using ::vfwprintf;
16390 using ::vswprintf;
16391 using ::vwprintf;
16392 using ::wcrtomb;
16393 using ::wcscat;
16394 using ::wcschr;
16395 using ::wcscmp;
16396 using ::wcscoll;
16397 using ::wcscpy;
16398 using ::wcscspn;
16399 using ::wcsftime;
16400 using ::wcslen;
16401 using ::wcsncat;
16402 using ::wcsncmp;
16403 using ::wcsncpy;
16404 using ::wcspbrk;
16405 using ::wcsrchr;
16406 using ::wcsrtombs;
16407 using ::wcsspn;
16408 using ::wcsstr;
16409 using ::wcstod;
16410 using ::wcstok;
16411 using ::wcstol;
16412 using ::wcstoul;
16413 using ::wcsxfrm;
16414 using ::wctob;
16415 using ::wmemchr;
16416 using ::wmemcmp;
16417 using ::wmemcpy;
16418 using ::wmemmove;
16419 using ::wmemset;
16420 using ::wprintf;
16421 using ::wscanf;
16425 main ()
16429 return 0;
16431 _ACEOF
16432 rm -f conftest.$ac_objext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16434 (eval $ac_compile) 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try='test -z "$ac_cxx_werror_flag"
16442 || test ! -s conftest.err'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; } &&
16448 { ac_try='test -s conftest.$ac_objext'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16455 else
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.$ac_ext >&5
16459 enable_wchar_t=no
16461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16462 else
16463 enable_wchar_t=no
16466 ac_ext=c
16467 ac_cpp='$CPP $CPPFLAGS'
16468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16474 if test x"$enable_wchar_t" = x"yes"; then
16476 cat >>confdefs.h <<\_ACEOF
16477 #define _GLIBCXX_USE_WCHAR_T 1
16478 _ACEOF
16482 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16483 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
16484 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16485 echo "${ECHO_T}$enable_wchar_t" >&6
16489 # Check whether --enable-c99 or --disable-c99 was given.
16490 if test "${enable_c99+set}" = set; then
16491 enableval="$enable_c99"
16493 case "$enableval" in
16494 yes|no) ;;
16495 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16496 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16497 { (exit 1); exit 1; }; } ;;
16498 esac
16500 else
16501 enable_c99=yes
16505 if test x"$enable_c99" = x"yes"; then
16509 ac_ext=cc
16510 ac_cpp='$CXXCPP $CPPFLAGS'
16511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16516 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16517 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16518 # spuriously enabled.
16519 # Long term, -std=c++0x could be even better, could manage to explicitely
16520 # request C99 facilities to the underlying C headers.
16521 ac_save_CXXFLAGS="$CXXFLAGS"
16522 CXXFLAGS="$CXXFLAGS -std=c++98"
16523 ac_save_LIBS="$LIBS"
16524 ac_save_gcc_no_link="$gcc_no_link"
16526 if test x$gcc_no_link != xyes; then
16527 # Use -fno-exceptions to that the C driver can link these tests without
16528 # hitting undefined references to personality routines.
16529 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16530 echo "$as_me:$LINENO: checking for sin in -lm" >&5
16531 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
16532 if test "${ac_cv_lib_m_sin+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 else
16535 ac_check_lib_save_LIBS=$LIBS
16536 LIBS="-lm $LIBS"
16537 if test x$gcc_no_link = xyes; then
16538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16540 { (exit 1); exit 1; }; }
16542 cat >conftest.$ac_ext <<_ACEOF
16543 /* confdefs.h. */
16544 _ACEOF
16545 cat confdefs.h >>conftest.$ac_ext
16546 cat >>conftest.$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16549 /* Override any gcc2 internal prototype to avoid an error. */
16550 #ifdef __cplusplus
16551 extern "C"
16552 #endif
16553 /* We use char because int might match the return type of a gcc2
16554 builtin and then its argument prototype would still apply. */
16555 char sin ();
16557 main ()
16559 sin ();
16561 return 0;
16563 _ACEOF
16564 rm -f conftest.$ac_objext conftest$ac_exeext
16565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16566 (eval $ac_link) 2>conftest.er1
16567 ac_status=$?
16568 grep -v '^ *+' conftest.er1 >conftest.err
16569 rm -f conftest.er1
16570 cat conftest.err >&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } &&
16573 { ac_try='test -z "$ac_cxx_werror_flag"
16574 || test ! -s conftest.err'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16577 ac_status=$?
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try='test -s conftest$ac_exeext'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16583 ac_status=$?
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; }; then
16586 ac_cv_lib_m_sin=yes
16587 else
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16591 ac_cv_lib_m_sin=no
16593 rm -f conftest.err conftest.$ac_objext \
16594 conftest$ac_exeext conftest.$ac_ext
16595 LIBS=$ac_check_lib_save_LIBS
16597 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16598 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
16599 if test $ac_cv_lib_m_sin = yes; then
16601 LIBS="$LIBS -lm"
16603 else
16605 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16606 gcc_no_link=yes
16612 # Check for the existence of <math.h> functions used if C99 is enabled.
16613 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16614 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
16615 if test "${glibcxx_cv_c99_math+set}" = set; then
16616 echo $ECHO_N "(cached) $ECHO_C" >&6
16617 else
16619 if test x$gcc_no_link = xyes; then
16620 cat >conftest.$ac_ext <<_ACEOF
16621 /* confdefs.h. */
16622 _ACEOF
16623 cat confdefs.h >>conftest.$ac_ext
16624 cat >>conftest.$ac_ext <<_ACEOF
16625 /* end confdefs.h. */
16626 #include <math.h>
16627 volatile double d1, d2;
16628 volatile int i;
16630 main ()
16632 i = fpclassify(d1);
16633 i = isfinite(d1);
16634 i = isinf(d1);
16635 i = isnan(d1);
16636 i = isnormal(d1);
16637 i = signbit(d1);
16638 i = isgreater(d1, d2);
16639 i = isgreaterequal(d1, d2);
16640 i = isless(d1, d2);
16641 i = islessequal(d1, d2);
16642 i = islessgreater(d1, d2);
16643 i = islessgreater(d1, d2);
16644 i = isunordered(d1, d2);
16647 return 0;
16649 _ACEOF
16650 rm -f conftest.$ac_objext
16651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16652 (eval $ac_compile) 2>conftest.er1
16653 ac_status=$?
16654 grep -v '^ *+' conftest.er1 >conftest.err
16655 rm -f conftest.er1
16656 cat conftest.err >&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } &&
16659 { ac_try='test -z "$ac_cxx_werror_flag"
16660 || test ! -s conftest.err'
16661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16662 (eval $ac_try) 2>&5
16663 ac_status=$?
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }; } &&
16666 { ac_try='test -s conftest.$ac_objext'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16669 ac_status=$?
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; }; then
16672 glibcxx_cv_c99_math=yes
16673 else
16674 echo "$as_me: failed program was:" >&5
16675 sed 's/^/| /' conftest.$ac_ext >&5
16677 glibcxx_cv_c99_math=no
16679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16680 else
16681 if test x$gcc_no_link = xyes; then
16682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16684 { (exit 1); exit 1; }; }
16686 cat >conftest.$ac_ext <<_ACEOF
16687 /* confdefs.h. */
16688 _ACEOF
16689 cat confdefs.h >>conftest.$ac_ext
16690 cat >>conftest.$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16692 #include <math.h>
16693 volatile double d1, d2;
16694 volatile int i;
16696 main ()
16698 i = fpclassify(d1);
16699 i = isfinite(d1);
16700 i = isinf(d1);
16701 i = isnan(d1);
16702 i = isnormal(d1);
16703 i = signbit(d1);
16704 i = isgreater(d1, d2);
16705 i = isgreaterequal(d1, d2);
16706 i = isless(d1, d2);
16707 i = islessequal(d1, d2);
16708 i = islessgreater(d1, d2);
16709 i = islessgreater(d1, d2);
16710 i = isunordered(d1, d2);
16713 return 0;
16715 _ACEOF
16716 rm -f conftest.$ac_objext conftest$ac_exeext
16717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16718 (eval $ac_link) 2>conftest.er1
16719 ac_status=$?
16720 grep -v '^ *+' conftest.er1 >conftest.err
16721 rm -f conftest.er1
16722 cat conftest.err >&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } &&
16725 { ac_try='test -z "$ac_cxx_werror_flag"
16726 || test ! -s conftest.err'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16729 ac_status=$?
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; } &&
16732 { ac_try='test -s conftest$ac_exeext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 glibcxx_cv_c99_math=yes
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16743 glibcxx_cv_c99_math=no
16745 rm -f conftest.err conftest.$ac_objext \
16746 conftest$ac_exeext conftest.$ac_ext
16751 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16752 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16753 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16755 cat >>confdefs.h <<\_ACEOF
16756 #define _GLIBCXX_USE_C99_MATH 1
16757 _ACEOF
16761 # Check for the existence of <complex.h> complex math functions.
16762 # This is necessary even though libstdc++ uses the builtin versions
16763 # of these functions, because if the builtin cannot be used, a reference
16764 # to the library function is emitted.
16766 for ac_header in tgmath.h
16768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16770 echo "$as_me:$LINENO: checking for $ac_header" >&5
16771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16773 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16777 else
16778 # Is the header compilable?
16779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16781 cat >conftest.$ac_ext <<_ACEOF
16782 /* confdefs.h. */
16783 _ACEOF
16784 cat confdefs.h >>conftest.$ac_ext
16785 cat >>conftest.$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 $ac_includes_default
16788 #include <$ac_header>
16789 _ACEOF
16790 rm -f conftest.$ac_objext
16791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16792 (eval $ac_compile) 2>conftest.er1
16793 ac_status=$?
16794 grep -v '^ *+' conftest.er1 >conftest.err
16795 rm -f conftest.er1
16796 cat conftest.err >&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); } &&
16799 { ac_try='test -z "$ac_cxx_werror_flag"
16800 || test ! -s conftest.err'
16801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16802 (eval $ac_try) 2>&5
16803 ac_status=$?
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); }; } &&
16806 { ac_try='test -s conftest.$ac_objext'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16809 ac_status=$?
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; }; then
16812 ac_header_compiler=yes
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16817 ac_header_compiler=no
16819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16821 echo "${ECHO_T}$ac_header_compiler" >&6
16823 # Is the header present?
16824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16826 cat >conftest.$ac_ext <<_ACEOF
16827 /* confdefs.h. */
16828 _ACEOF
16829 cat confdefs.h >>conftest.$ac_ext
16830 cat >>conftest.$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 #include <$ac_header>
16833 _ACEOF
16834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16836 ac_status=$?
16837 grep -v '^ *+' conftest.er1 >conftest.err
16838 rm -f conftest.er1
16839 cat conftest.err >&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); } >/dev/null; then
16842 if test -s conftest.err; then
16843 ac_cpp_err=$ac_cxx_preproc_warn_flag
16844 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16845 else
16846 ac_cpp_err=
16848 else
16849 ac_cpp_err=yes
16851 if test -z "$ac_cpp_err"; then
16852 ac_header_preproc=yes
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16857 ac_header_preproc=no
16859 rm -f conftest.err conftest.$ac_ext
16860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16861 echo "${ECHO_T}$ac_header_preproc" >&6
16863 # So? What about this header?
16864 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16865 yes:no: )
16866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16869 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16870 ac_header_preproc=yes
16872 no:yes:* )
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16877 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16878 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16879 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16886 cat <<\_ASBOX
16887 ## ----------------------------------------- ##
16888 ## Report this to the package-unused lists. ##
16889 ## ----------------------------------------- ##
16890 _ASBOX
16892 sed "s/^/$as_me: WARNING: /" >&2
16894 esac
16895 echo "$as_me:$LINENO: checking for $ac_header" >&5
16896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 eval "$as_ac_Header=\$ac_header_preproc"
16902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16907 cat >>confdefs.h <<_ACEOF
16908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16909 _ACEOF
16910 ac_has_tgmath_h=yes
16911 else
16912 ac_has_tgmath_h=no
16915 done
16918 for ac_header in complex.h
16920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16922 echo "$as_me:$LINENO: checking for $ac_header" >&5
16923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16929 else
16930 # Is the header compilable?
16931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16933 cat >conftest.$ac_ext <<_ACEOF
16934 /* confdefs.h. */
16935 _ACEOF
16936 cat confdefs.h >>conftest.$ac_ext
16937 cat >>conftest.$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 $ac_includes_default
16940 #include <$ac_header>
16941 _ACEOF
16942 rm -f conftest.$ac_objext
16943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16944 (eval $ac_compile) 2>conftest.er1
16945 ac_status=$?
16946 grep -v '^ *+' conftest.er1 >conftest.err
16947 rm -f conftest.er1
16948 cat conftest.err >&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } &&
16951 { ac_try='test -z "$ac_cxx_werror_flag"
16952 || test ! -s conftest.err'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; } &&
16958 { ac_try='test -s conftest.$ac_objext'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16961 ac_status=$?
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; }; then
16964 ac_header_compiler=yes
16965 else
16966 echo "$as_me: failed program was:" >&5
16967 sed 's/^/| /' conftest.$ac_ext >&5
16969 ac_header_compiler=no
16971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16973 echo "${ECHO_T}$ac_header_compiler" >&6
16975 # Is the header present?
16976 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16977 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16978 cat >conftest.$ac_ext <<_ACEOF
16979 /* confdefs.h. */
16980 _ACEOF
16981 cat confdefs.h >>conftest.$ac_ext
16982 cat >>conftest.$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 #include <$ac_header>
16985 _ACEOF
16986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } >/dev/null; then
16994 if test -s conftest.err; then
16995 ac_cpp_err=$ac_cxx_preproc_warn_flag
16996 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16997 else
16998 ac_cpp_err=
17000 else
17001 ac_cpp_err=yes
17003 if test -z "$ac_cpp_err"; then
17004 ac_header_preproc=yes
17005 else
17006 echo "$as_me: failed program was:" >&5
17007 sed 's/^/| /' conftest.$ac_ext >&5
17009 ac_header_preproc=no
17011 rm -f conftest.err conftest.$ac_ext
17012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17013 echo "${ECHO_T}$ac_header_preproc" >&6
17015 # So? What about this header?
17016 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17017 yes:no: )
17018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17022 ac_header_preproc=yes
17024 no:yes:* )
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17038 cat <<\_ASBOX
17039 ## ----------------------------------------- ##
17040 ## Report this to the package-unused lists. ##
17041 ## ----------------------------------------- ##
17042 _ASBOX
17044 sed "s/^/$as_me: WARNING: /" >&2
17046 esac
17047 echo "$as_me:$LINENO: checking for $ac_header" >&5
17048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17051 else
17052 eval "$as_ac_Header=\$ac_header_preproc"
17054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17059 cat >>confdefs.h <<_ACEOF
17060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17061 _ACEOF
17062 ac_has_complex_h=yes
17063 else
17064 ac_has_complex_h=no
17067 done
17069 glibcxx_cv_c99_complex=no;
17070 if test x"$ac_has_complex_h" = x"yes"; then
17071 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
17072 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
17073 if test x$gcc_no_link = xyes; then
17074 cat >conftest.$ac_ext <<_ACEOF
17075 /* confdefs.h. */
17076 _ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080 #include <complex.h>
17081 typedef __complex__ float float_type;
17082 typedef __complex__ double double_type;
17083 typedef __complex__ long double ld_type;
17084 volatile float_type tmpf;
17085 volatile double_type tmpd;
17086 volatile ld_type tmpld;
17087 volatile float f;
17088 volatile double d;
17089 volatile long double ld;
17091 main ()
17093 f = cabsf(tmpf);
17094 f = cargf(tmpf);
17095 tmpf = ccosf(tmpf);
17096 tmpf = ccoshf(tmpf);
17097 tmpf = cexpf(tmpf);
17098 tmpf = clogf(tmpf);
17099 tmpf = csinf(tmpf);
17100 tmpf = csinhf(tmpf);
17101 tmpf = csqrtf(tmpf);
17102 tmpf = ctanf(tmpf);
17103 tmpf = ctanhf(tmpf);
17104 tmpf = cpowf(tmpf, tmpf);
17105 tmpf = cprojf(tmpf);
17106 d = cabs(tmpd);
17107 d = carg(tmpd);
17108 tmpd = ccos(tmpd);
17109 tmpd = ccosh(tmpd);
17110 tmpd = cexp(tmpd);
17111 tmpd = clog(tmpd);
17112 tmpd = csin(tmpd);
17113 tmpd = csinh(tmpd);
17114 tmpd = csqrt(tmpd);
17115 tmpd = ctan(tmpd);
17116 tmpd = ctanh(tmpd);
17117 tmpd = cpow(tmpd, tmpd);
17118 tmpd = cproj(tmpd);
17119 ld = cabsl(tmpld);
17120 ld = cargl(tmpld);
17121 tmpld = ccosl(tmpld);
17122 tmpld = ccoshl(tmpld);
17123 tmpld = cexpl(tmpld);
17124 tmpld = clogl(tmpld);
17125 tmpld = csinl(tmpld);
17126 tmpld = csinhl(tmpld);
17127 tmpld = csqrtl(tmpld);
17128 tmpld = ctanl(tmpld);
17129 tmpld = ctanhl(tmpld);
17130 tmpld = cpowl(tmpld, tmpld);
17131 tmpld = cprojl(tmpld);
17134 return 0;
17136 _ACEOF
17137 rm -f conftest.$ac_objext
17138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17139 (eval $ac_compile) 2>conftest.er1
17140 ac_status=$?
17141 grep -v '^ *+' conftest.er1 >conftest.err
17142 rm -f conftest.er1
17143 cat conftest.err >&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); } &&
17146 { ac_try='test -z "$ac_cxx_werror_flag"
17147 || test ! -s conftest.err'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17150 ac_status=$?
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; } &&
17153 { ac_try='test -s conftest.$ac_objext'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17156 ac_status=$?
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; }; then
17159 glibcxx_cv_c99_complex=yes
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17164 glibcxx_cv_c99_complex=no
17166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17167 else
17168 if test x$gcc_no_link = xyes; then
17169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17171 { (exit 1); exit 1; }; }
17173 cat >conftest.$ac_ext <<_ACEOF
17174 /* confdefs.h. */
17175 _ACEOF
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179 #include <complex.h>
17180 typedef __complex__ float float_type;
17181 typedef __complex__ double double_type;
17182 typedef __complex__ long double ld_type;
17183 volatile float_type tmpf;
17184 volatile double_type tmpd;
17185 volatile ld_type tmpld;
17186 volatile float f;
17187 volatile double d;
17188 volatile long double ld;
17190 main ()
17192 f = cabsf(tmpf);
17193 f = cargf(tmpf);
17194 tmpf = ccosf(tmpf);
17195 tmpf = ccoshf(tmpf);
17196 tmpf = cexpf(tmpf);
17197 tmpf = clogf(tmpf);
17198 tmpf = csinf(tmpf);
17199 tmpf = csinhf(tmpf);
17200 tmpf = csqrtf(tmpf);
17201 tmpf = ctanf(tmpf);
17202 tmpf = ctanhf(tmpf);
17203 tmpf = cpowf(tmpf, tmpf);
17204 tmpf = cprojf(tmpf);
17205 d = cabs(tmpd);
17206 d = carg(tmpd);
17207 tmpd = ccos(tmpd);
17208 tmpd = ccosh(tmpd);
17209 tmpd = cexp(tmpd);
17210 tmpd = clog(tmpd);
17211 tmpd = csin(tmpd);
17212 tmpd = csinh(tmpd);
17213 tmpd = csqrt(tmpd);
17214 tmpd = ctan(tmpd);
17215 tmpd = ctanh(tmpd);
17216 tmpd = cpow(tmpd, tmpd);
17217 tmpd = cproj(tmpd);
17218 ld = cabsl(tmpld);
17219 ld = cargl(tmpld);
17220 tmpld = ccosl(tmpld);
17221 tmpld = ccoshl(tmpld);
17222 tmpld = cexpl(tmpld);
17223 tmpld = clogl(tmpld);
17224 tmpld = csinl(tmpld);
17225 tmpld = csinhl(tmpld);
17226 tmpld = csqrtl(tmpld);
17227 tmpld = ctanl(tmpld);
17228 tmpld = ctanhl(tmpld);
17229 tmpld = cpowl(tmpld, tmpld);
17230 tmpld = cprojl(tmpld);
17233 return 0;
17235 _ACEOF
17236 rm -f conftest.$ac_objext conftest$ac_exeext
17237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17238 (eval $ac_link) 2>conftest.er1
17239 ac_status=$?
17240 grep -v '^ *+' conftest.er1 >conftest.err
17241 rm -f conftest.er1
17242 cat conftest.err >&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } &&
17245 { ac_try='test -z "$ac_cxx_werror_flag"
17246 || test ! -s conftest.err'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17249 ac_status=$?
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; } &&
17252 { ac_try='test -s conftest$ac_exeext'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17258 glibcxx_cv_c99_complex=yes
17259 else
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.$ac_ext >&5
17263 glibcxx_cv_c99_complex=no
17265 rm -f conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17269 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
17270 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
17271 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17273 cat >>confdefs.h <<\_ACEOF
17274 #define _GLIBCXX_USE_C99_COMPLEX 1
17275 _ACEOF
17279 # Check for the existence in <stdio.h> of vscanf, et. al.
17280 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
17281 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
17282 if test "${glibcxx_cv_c99_stdio+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 else
17286 if test x$gcc_no_link = xyes; then
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 #include <stdio.h>
17294 #include <stdarg.h>
17295 void foo(char* fmt, ...)
17297 va_list args; va_start(args, fmt);
17298 vfscanf(stderr, "%i", args);
17299 vscanf("%i", args);
17300 vsnprintf(fmt, 0, "%i", args);
17301 vsscanf(fmt, "%i", args);
17304 main ()
17306 snprintf("12", 0, "%i");
17308 return 0;
17310 _ACEOF
17311 rm -f conftest.$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_cxx_werror_flag"
17321 || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 glibcxx_cv_c99_stdio=yes
17334 else
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17338 glibcxx_cv_c99_stdio=no
17340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17345 { (exit 1); exit 1; }; }
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 #include <stdio.h>
17354 #include <stdarg.h>
17355 void foo(char* fmt, ...)
17357 va_list args; va_start(args, fmt);
17358 vfscanf(stderr, "%i", args);
17359 vscanf("%i", args);
17360 vsnprintf(fmt, 0, "%i", args);
17361 vsscanf(fmt, "%i", args);
17364 main ()
17366 snprintf("12", 0, "%i");
17368 return 0;
17370 _ACEOF
17371 rm -f conftest.$ac_objext conftest$ac_exeext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17373 (eval $ac_link) 2>conftest.er1
17374 ac_status=$?
17375 grep -v '^ *+' conftest.er1 >conftest.err
17376 rm -f conftest.er1
17377 cat conftest.err >&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } &&
17380 { ac_try='test -z "$ac_cxx_werror_flag"
17381 || test ! -s conftest.err'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17384 ac_status=$?
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } &&
17387 { ac_try='test -s conftest$ac_exeext'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; }; then
17393 glibcxx_cv_c99_stdio=yes
17394 else
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17398 glibcxx_cv_c99_stdio=no
17400 rm -f conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17406 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
17407 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
17409 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17410 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17411 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
17412 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17416 if test x$gcc_no_link = xyes; then
17417 cat >conftest.$ac_ext <<_ACEOF
17418 /* confdefs.h. */
17419 _ACEOF
17420 cat confdefs.h >>conftest.$ac_ext
17421 cat >>conftest.$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17423 #include <stdlib.h>
17424 volatile float f;
17425 volatile long double ld;
17426 volatile unsigned long long ll;
17427 lldiv_t mydivt;
17429 main ()
17431 char* tmp;
17432 f = strtof("gnu", &tmp);
17433 ld = strtold("gnu", &tmp);
17434 ll = strtoll("gnu", &tmp, 10);
17435 ll = strtoull("gnu", &tmp, 10);
17436 ll = llabs(10);
17437 mydivt = lldiv(10,1);
17438 ll = mydivt.quot;
17439 ll = mydivt.rem;
17440 ll = atoll("10");
17441 _Exit(0);
17444 return 0;
17446 _ACEOF
17447 rm -f conftest.$ac_objext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17449 (eval $ac_compile) 2>conftest.er1
17450 ac_status=$?
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_cxx_werror_flag"
17457 || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 glibcxx_cv_c99_stdlib=yes
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17474 glibcxx_cv_c99_stdlib=no
17476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 else
17478 if test x$gcc_no_link = xyes; then
17479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17481 { (exit 1); exit 1; }; }
17483 cat >conftest.$ac_ext <<_ACEOF
17484 /* confdefs.h. */
17485 _ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489 #include <stdlib.h>
17490 volatile float f;
17491 volatile long double ld;
17492 volatile unsigned long long ll;
17493 lldiv_t mydivt;
17495 main ()
17497 char* tmp;
17498 f = strtof("gnu", &tmp);
17499 ld = strtold("gnu", &tmp);
17500 ll = strtoll("gnu", &tmp, 10);
17501 ll = strtoull("gnu", &tmp, 10);
17502 ll = llabs(10);
17503 mydivt = lldiv(10,1);
17504 ll = mydivt.quot;
17505 ll = mydivt.rem;
17506 ll = atoll("10");
17507 _Exit(0);
17510 return 0;
17512 _ACEOF
17513 rm -f conftest.$ac_objext conftest$ac_exeext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17515 (eval $ac_link) 2>conftest.er1
17516 ac_status=$?
17517 grep -v '^ *+' conftest.er1 >conftest.err
17518 rm -f conftest.er1
17519 cat conftest.err >&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try='test -z "$ac_cxx_werror_flag"
17523 || test ! -s conftest.err'
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; } &&
17529 { ac_try='test -s conftest$ac_exeext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 glibcxx_cv_c99_stdlib=yes
17536 else
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17540 glibcxx_cv_c99_stdlib=no
17542 rm -f conftest.err conftest.$ac_objext \
17543 conftest$ac_exeext conftest.$ac_ext
17548 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
17549 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
17551 # Check for the existence in <wchar.h> of wcstold, etc.
17552 glibcxx_cv_c99_wchar=no;
17553 if test x"$ac_has_wchar_h" = xyes &&
17554 test x"$ac_has_wctype_h" = xyes; then
17555 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17556 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 #include <wchar.h>
17564 namespace test
17566 using ::wcstold;
17567 using ::wcstoll;
17568 using ::wcstoull;
17572 main ()
17576 return 0;
17578 _ACEOF
17579 rm -f conftest.$ac_objext
17580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17581 (eval $ac_compile) 2>conftest.er1
17582 ac_status=$?
17583 grep -v '^ *+' conftest.er1 >conftest.err
17584 rm -f conftest.er1
17585 cat conftest.err >&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } &&
17588 { ac_try='test -z "$ac_cxx_werror_flag"
17589 || test ! -s conftest.err'
17590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 (eval $ac_try) 2>&5
17592 ac_status=$?
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); }; } &&
17595 { ac_try='test -s conftest.$ac_objext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17598 ac_status=$?
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 glibcxx_cv_c99_wchar=yes
17602 else
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17606 glibcxx_cv_c99_wchar=no
17608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17610 # Checks for wide character functions that may not be present.
17611 # Injection of these is wrapped with guard macros.
17612 # NB: only put functions here, instead of immediately above, if
17613 # absolutely necessary.
17614 cat >conftest.$ac_ext <<_ACEOF
17615 /* confdefs.h. */
17616 _ACEOF
17617 cat confdefs.h >>conftest.$ac_ext
17618 cat >>conftest.$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620 #include <wchar.h>
17621 namespace test { using ::vfwscanf; }
17623 main ()
17627 return 0;
17629 _ACEOF
17630 rm -f conftest.$ac_objext
17631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17632 (eval $ac_compile) 2>conftest.er1
17633 ac_status=$?
17634 grep -v '^ *+' conftest.er1 >conftest.err
17635 rm -f conftest.er1
17636 cat conftest.err >&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } &&
17639 { ac_try='test -z "$ac_cxx_werror_flag"
17640 || test ! -s conftest.err'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17643 ac_status=$?
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; } &&
17646 { ac_try='test -s conftest.$ac_objext'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; }; then
17653 cat >>confdefs.h <<\_ACEOF
17654 #define HAVE_VFWSCANF 1
17655 _ACEOF
17657 else
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.$ac_ext >&5
17662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17664 cat >conftest.$ac_ext <<_ACEOF
17665 /* confdefs.h. */
17666 _ACEOF
17667 cat confdefs.h >>conftest.$ac_ext
17668 cat >>conftest.$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 #include <wchar.h>
17671 namespace test { using ::vswscanf; }
17673 main ()
17677 return 0;
17679 _ACEOF
17680 rm -f conftest.$ac_objext
17681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17682 (eval $ac_compile) 2>conftest.er1
17683 ac_status=$?
17684 grep -v '^ *+' conftest.er1 >conftest.err
17685 rm -f conftest.er1
17686 cat conftest.err >&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try='test -z "$ac_cxx_werror_flag"
17690 || test ! -s conftest.err'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; } &&
17696 { ac_try='test -s conftest.$ac_objext'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; }; then
17703 cat >>confdefs.h <<\_ACEOF
17704 #define HAVE_VSWSCANF 1
17705 _ACEOF
17707 else
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.$ac_ext >&5
17712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720 #include <wchar.h>
17721 namespace test { using ::vwscanf; }
17723 main ()
17727 return 0;
17729 _ACEOF
17730 rm -f conftest.$ac_objext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17732 (eval $ac_compile) 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } &&
17739 { ac_try='test -z "$ac_cxx_werror_flag"
17740 || test ! -s conftest.err'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17743 ac_status=$?
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; } &&
17746 { ac_try='test -s conftest.$ac_objext'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17753 cat >>confdefs.h <<\_ACEOF
17754 #define HAVE_VWSCANF 1
17755 _ACEOF
17757 else
17758 echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.$ac_ext >&5
17762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17764 cat >conftest.$ac_ext <<_ACEOF
17765 /* confdefs.h. */
17766 _ACEOF
17767 cat confdefs.h >>conftest.$ac_ext
17768 cat >>conftest.$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17770 #include <wchar.h>
17771 namespace test { using ::wcstof; }
17773 main ()
17777 return 0;
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17782 (eval $ac_compile) 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try='test -z "$ac_cxx_werror_flag"
17790 || test ! -s conftest.err'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; } &&
17796 { ac_try='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17799 ac_status=$?
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_WCSTOF 1
17805 _ACEOF
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17814 cat >conftest.$ac_ext <<_ACEOF
17815 /* confdefs.h. */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820 #include <wctype.h>
17822 main ()
17824 wint_t t; int i = iswblank(t);
17826 return 0;
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831 (eval $ac_compile) 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try='test -z "$ac_cxx_werror_flag"
17839 || test ! -s conftest.err'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17842 ac_status=$?
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } &&
17845 { ac_try='test -s conftest.$ac_objext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17852 cat >>confdefs.h <<\_ACEOF
17853 #define HAVE_ISWBLANK 1
17854 _ACEOF
17856 else
17857 echo "$as_me: failed program was:" >&5
17858 sed 's/^/| /' conftest.$ac_ext >&5
17861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17863 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17864 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17867 # Option parsed, now set things appropriately.
17868 if test x"$glibcxx_cv_c99_math" = x"no" ||
17869 test x"$glibcxx_cv_c99_complex" = x"no" ||
17870 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17871 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17872 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17873 enable_c99=no;
17874 else
17876 cat >>confdefs.h <<\_ACEOF
17877 #define _GLIBCXX_USE_C99 1
17878 _ACEOF
17882 gcc_no_link="$ac_save_gcc_no_link"
17883 LIBS="$ac_save_LIBS"
17884 CXXFLAGS="$ac_save_CXXFLAGS"
17885 ac_ext=c
17886 ac_cpp='$CPP $CPPFLAGS'
17887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17893 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17894 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17895 echo "$as_me:$LINENO: result: $enable_c99" >&5
17896 echo "${ECHO_T}$enable_c99" >&6
17899 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17900 if test "${enable_concept_checks+set}" = set; then
17901 enableval="$enable_concept_checks"
17903 case "$enableval" in
17904 yes|no) ;;
17905 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17906 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17907 { (exit 1); exit 1; }; } ;;
17908 esac
17910 else
17911 enable_concept_checks=no
17914 if test $enable_concept_checks = yes; then
17916 cat >>confdefs.h <<\_ACEOF
17917 #define _GLIBCXX_CONCEPT_CHECKS 1
17918 _ACEOF
17923 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17924 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17925 enableval="$enable_libstdcxx_debug_flags"
17926 case "x$enable_libstdcxx_debug_flags" in
17927 xno | x) enable_libstdcxx_debug_flags= ;;
17928 x-*) ;;
17929 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17930 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17931 { (exit 1); exit 1; }; } ;;
17932 esac
17933 else
17934 enable_libstdcxx_debug_flags="-g3 -O0"
17938 # Option parsed, now set things appropriately
17939 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17942 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17943 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17946 echo "$as_me:$LINENO: checking for additional debug build" >&5
17947 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17948 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17949 if test "${enable_libstdcxx_debug+set}" = set; then
17950 enableval="$enable_libstdcxx_debug"
17952 case "$enableval" in
17953 yes|no) ;;
17954 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17955 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17956 { (exit 1); exit 1; }; } ;;
17957 esac
17959 else
17960 enable_libstdcxx_debug=no
17963 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17964 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17969 enable_parallel=no;
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17974 enable_parallel=yes;
17975 else
17976 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17977 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17980 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17981 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17982 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17983 echo "${ECHO_T}$enable_parallel" >&6
17986 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17987 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17988 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17989 if test "${enable_cxx_flags+set}" = set; then
17990 enableval="$enable_cxx_flags"
17991 case "x$enable_cxx_flags" in
17992 xno | x) enable_cxx_flags= ;;
17993 x-*) ;;
17994 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17995 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17996 { (exit 1); exit 1; }; } ;;
17997 esac
17998 else
17999 enable_cxx_flags=
18003 # Run through flags (either default or command-line) and set anything
18004 # extra (e.g., #defines) that must accompany particular g++ options.
18005 if test -n "$enable_cxx_flags"; then
18006 for f in $enable_cxx_flags; do
18007 case "$f" in
18008 -fhonor-std) ;;
18009 -*) ;;
18010 *) # and we're trying to pass /what/ exactly?
18011 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
18012 echo "$as_me: error: compiler flags start with a -" >&2;}
18013 { (exit 1); exit 1; }; } ;;
18014 esac
18015 done
18018 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18019 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
18020 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
18024 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
18025 if test "${enable_fully_dynamic_string+set}" = set; then
18026 enableval="$enable_fully_dynamic_string"
18028 case "$enableval" in
18029 yes|no) ;;
18030 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
18031 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
18032 { (exit 1); exit 1; }; } ;;
18033 esac
18035 else
18036 enable_fully_dynamic_string=no
18039 if test $enable_fully_dynamic_string = yes; then
18041 cat >>confdefs.h <<\_ACEOF
18042 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
18043 _ACEOF
18048 # Checks for operating systems support that doesn't require linking.
18051 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
18052 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
18053 if test "${glibcxx_cv_system_error1+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 else
18057 cat >conftest.$ac_ext <<_ACEOF
18058 /* confdefs.h. */
18059 _ACEOF
18060 cat confdefs.h >>conftest.$ac_ext
18061 cat >>conftest.$ac_ext <<_ACEOF
18062 /* end confdefs.h. */
18063 #include <errno.h>
18065 main ()
18067 int i = EOWNERDEAD;
18069 return 0;
18071 _ACEOF
18072 rm -f conftest.$ac_objext
18073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18074 (eval $ac_compile) 2>conftest.er1
18075 ac_status=$?
18076 grep -v '^ *+' conftest.er1 >conftest.err
18077 rm -f conftest.er1
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } &&
18081 { ac_try='test -z "$ac_c_werror_flag"
18082 || test ! -s conftest.err'
18083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18084 (eval $ac_try) 2>&5
18085 ac_status=$?
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); }; } &&
18088 { ac_try='test -s conftest.$ac_objext'
18089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090 (eval $ac_try) 2>&5
18091 ac_status=$?
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); }; }; then
18094 glibcxx_cv_system_error1=yes
18095 else
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18099 glibcxx_cv_system_error1=no
18101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18105 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
18106 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
18107 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18109 cat >>confdefs.h <<\_ACEOF
18110 #define HAVE_EOWNERDEAD 1
18111 _ACEOF
18114 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
18115 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
18116 if test "${glibcxx_cv_system_error2+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18118 else
18120 cat >conftest.$ac_ext <<_ACEOF
18121 /* confdefs.h. */
18122 _ACEOF
18123 cat confdefs.h >>conftest.$ac_ext
18124 cat >>conftest.$ac_ext <<_ACEOF
18125 /* end confdefs.h. */
18126 #include <errno.h>
18128 main ()
18130 int i = ENOTRECOVERABLE;
18132 return 0;
18134 _ACEOF
18135 rm -f conftest.$ac_objext
18136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18137 (eval $ac_compile) 2>conftest.er1
18138 ac_status=$?
18139 grep -v '^ *+' conftest.er1 >conftest.err
18140 rm -f conftest.er1
18141 cat conftest.err >&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); } &&
18144 { ac_try='test -z "$ac_c_werror_flag"
18145 || test ! -s conftest.err'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18148 ac_status=$?
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; } &&
18151 { ac_try='test -s conftest.$ac_objext'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18154 ac_status=$?
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; }; then
18157 glibcxx_cv_system_error2=yes
18158 else
18159 echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.$ac_ext >&5
18162 glibcxx_cv_system_error2=no
18164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18168 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
18169 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
18170 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18172 cat >>confdefs.h <<\_ACEOF
18173 #define HAVE_ENOTRECOVERABLE 1
18174 _ACEOF
18177 echo "$as_me:$LINENO: checking for ENOLINK" >&5
18178 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
18179 if test "${glibcxx_cv_system_error3+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 else
18183 cat >conftest.$ac_ext <<_ACEOF
18184 /* confdefs.h. */
18185 _ACEOF
18186 cat confdefs.h >>conftest.$ac_ext
18187 cat >>conftest.$ac_ext <<_ACEOF
18188 /* end confdefs.h. */
18189 #include <errno.h>
18191 main ()
18193 int i = ENOLINK;
18195 return 0;
18197 _ACEOF
18198 rm -f conftest.$ac_objext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18200 (eval $ac_compile) 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try='test -z "$ac_c_werror_flag"
18208 || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try='test -s conftest.$ac_objext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18217 ac_status=$?
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 glibcxx_cv_system_error3=yes
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 glibcxx_cv_system_error3=no
18227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18231 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
18232 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
18233 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18235 cat >>confdefs.h <<\_ACEOF
18236 #define HAVE_ENOLINK 1
18237 _ACEOF
18240 echo "$as_me:$LINENO: checking for EPROTO" >&5
18241 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
18242 if test "${glibcxx_cv_system_error4+set}" = set; then
18243 echo $ECHO_N "(cached) $ECHO_C" >&6
18244 else
18246 cat >conftest.$ac_ext <<_ACEOF
18247 /* confdefs.h. */
18248 _ACEOF
18249 cat confdefs.h >>conftest.$ac_ext
18250 cat >>conftest.$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252 #include <errno.h>
18254 main ()
18256 int i = EPROTO;
18258 return 0;
18260 _ACEOF
18261 rm -f conftest.$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18264 ac_status=$?
18265 grep -v '^ *+' conftest.er1 >conftest.err
18266 rm -f conftest.er1
18267 cat conftest.err >&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try='test -z "$ac_c_werror_flag"
18271 || test ! -s conftest.err'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18274 ac_status=$?
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; } &&
18277 { ac_try='test -s conftest.$ac_objext'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; }; then
18283 glibcxx_cv_system_error4=yes
18284 else
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18288 glibcxx_cv_system_error4=no
18290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18294 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
18295 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
18296 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18298 cat >>confdefs.h <<\_ACEOF
18299 #define HAVE_EPROTO 1
18300 _ACEOF
18303 echo "$as_me:$LINENO: checking for ENODATA" >&5
18304 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
18305 if test "${glibcxx_cv_system_error5+set}" = set; then
18306 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 else
18309 cat >conftest.$ac_ext <<_ACEOF
18310 /* confdefs.h. */
18311 _ACEOF
18312 cat confdefs.h >>conftest.$ac_ext
18313 cat >>conftest.$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18315 #include <errno.h>
18317 main ()
18319 int i = ENODATA;
18321 return 0;
18323 _ACEOF
18324 rm -f conftest.$ac_objext
18325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18326 (eval $ac_compile) 2>conftest.er1
18327 ac_status=$?
18328 grep -v '^ *+' conftest.er1 >conftest.err
18329 rm -f conftest.er1
18330 cat conftest.err >&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); } &&
18333 { ac_try='test -z "$ac_c_werror_flag"
18334 || test ! -s conftest.err'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; } &&
18340 { ac_try='test -s conftest.$ac_objext'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18343 ac_status=$?
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; }; then
18346 glibcxx_cv_system_error5=yes
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18351 glibcxx_cv_system_error5=no
18353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18357 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
18358 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
18359 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18361 cat >>confdefs.h <<\_ACEOF
18362 #define HAVE_ENODATA 1
18363 _ACEOF
18366 echo "$as_me:$LINENO: checking for ENOSR" >&5
18367 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
18368 if test "${glibcxx_cv_system_error6+set}" = set; then
18369 echo $ECHO_N "(cached) $ECHO_C" >&6
18370 else
18372 cat >conftest.$ac_ext <<_ACEOF
18373 /* confdefs.h. */
18374 _ACEOF
18375 cat confdefs.h >>conftest.$ac_ext
18376 cat >>conftest.$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 #include <errno.h>
18380 main ()
18382 int i = ENOSR;
18384 return 0;
18386 _ACEOF
18387 rm -f conftest.$ac_objext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18389 (eval $ac_compile) 2>conftest.er1
18390 ac_status=$?
18391 grep -v '^ *+' conftest.er1 >conftest.err
18392 rm -f conftest.er1
18393 cat conftest.err >&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } &&
18396 { ac_try='test -z "$ac_c_werror_flag"
18397 || test ! -s conftest.err'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; } &&
18403 { ac_try='test -s conftest.$ac_objext'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; }; then
18409 glibcxx_cv_system_error6=yes
18410 else
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.$ac_ext >&5
18414 glibcxx_cv_system_error6=no
18416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18420 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
18421 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
18422 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18424 cat >>confdefs.h <<\_ACEOF
18425 #define HAVE_ENOSR 1
18426 _ACEOF
18429 echo "$as_me:$LINENO: checking for ENOSTR" >&5
18430 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
18431 if test "${glibcxx_cv_system_error7+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 else
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #include <errno.h>
18443 main ()
18445 int i = ENOSTR;
18447 return 0;
18449 _ACEOF
18450 rm -f conftest.$ac_objext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18452 (eval $ac_compile) 2>conftest.er1
18453 ac_status=$?
18454 grep -v '^ *+' conftest.er1 >conftest.err
18455 rm -f conftest.er1
18456 cat conftest.err >&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } &&
18459 { ac_try='test -z "$ac_c_werror_flag"
18460 || test ! -s conftest.err'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 glibcxx_cv_system_error7=yes
18473 else
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18477 glibcxx_cv_system_error7=no
18479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18483 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
18484 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
18485 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18487 cat >>confdefs.h <<\_ACEOF
18488 #define HAVE_ENOSTR 1
18489 _ACEOF
18492 echo "$as_me:$LINENO: checking for ETIME" >&5
18493 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
18494 if test "${glibcxx_cv_system_error8+set}" = set; then
18495 echo $ECHO_N "(cached) $ECHO_C" >&6
18496 else
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <errno.h>
18506 main ()
18508 int i = ETIME;
18510 return 0;
18512 _ACEOF
18513 rm -f conftest.$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_c_werror_flag"
18523 || test ! -s conftest.err'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18526 ac_status=$?
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; } &&
18529 { ac_try='test -s conftest.$ac_objext'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18532 ac_status=$?
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; }; then
18535 glibcxx_cv_system_error8=yes
18536 else
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18540 glibcxx_cv_system_error8=no
18542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18546 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
18547 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
18548 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18550 cat >>confdefs.h <<\_ACEOF
18551 #define HAVE_ETIME 1
18552 _ACEOF
18555 echo "$as_me:$LINENO: checking for EBADMSG" >&5
18556 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
18557 if test "${glibcxx_cv_system_error9+set}" = set; then
18558 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 else
18561 cat >conftest.$ac_ext <<_ACEOF
18562 /* confdefs.h. */
18563 _ACEOF
18564 cat confdefs.h >>conftest.$ac_ext
18565 cat >>conftest.$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 #include <errno.h>
18569 main ()
18571 int i = EBADMSG;
18573 return 0;
18575 _ACEOF
18576 rm -f conftest.$ac_objext
18577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18578 (eval $ac_compile) 2>conftest.er1
18579 ac_status=$?
18580 grep -v '^ *+' conftest.er1 >conftest.err
18581 rm -f conftest.er1
18582 cat conftest.err >&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } &&
18585 { ac_try='test -z "$ac_c_werror_flag"
18586 || test ! -s conftest.err'
18587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18588 (eval $ac_try) 2>&5
18589 ac_status=$?
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; } &&
18592 { ac_try='test -s conftest.$ac_objext'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18595 ac_status=$?
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; }; then
18598 glibcxx_cv_system_error9=yes
18599 else
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18603 glibcxx_cv_system_error9=no
18605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18609 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
18610 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
18611 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18613 cat >>confdefs.h <<\_ACEOF
18614 #define HAVE_EBADMSG 1
18615 _ACEOF
18618 echo "$as_me:$LINENO: checking for ECANCELED" >&5
18619 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
18620 if test "${glibcxx_cv_system_error10+set}" = set; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18622 else
18624 cat >conftest.$ac_ext <<_ACEOF
18625 /* confdefs.h. */
18626 _ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 #include <errno.h>
18632 main ()
18634 int i = ECANCELED;
18636 return 0;
18638 _ACEOF
18639 rm -f conftest.$ac_objext
18640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18641 (eval $ac_compile) 2>conftest.er1
18642 ac_status=$?
18643 grep -v '^ *+' conftest.er1 >conftest.err
18644 rm -f conftest.er1
18645 cat conftest.err >&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } &&
18648 { ac_try='test -z "$ac_c_werror_flag"
18649 || test ! -s conftest.err'
18650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18651 (eval $ac_try) 2>&5
18652 ac_status=$?
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); }; } &&
18655 { ac_try='test -s conftest.$ac_objext'
18656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18657 (eval $ac_try) 2>&5
18658 ac_status=$?
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); }; }; then
18661 glibcxx_cv_system_error10=yes
18662 else
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18666 glibcxx_cv_system_error10=no
18668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18672 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
18673 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
18674 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18676 cat >>confdefs.h <<\_ACEOF
18677 #define HAVE_ECANCELED 1
18678 _ACEOF
18681 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18682 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18683 if test "${glibcxx_cv_system_error11+set}" = set; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18685 else
18687 cat >conftest.$ac_ext <<_ACEOF
18688 /* confdefs.h. */
18689 _ACEOF
18690 cat confdefs.h >>conftest.$ac_ext
18691 cat >>conftest.$ac_ext <<_ACEOF
18692 /* end confdefs.h. */
18693 #include <errno.h>
18695 main ()
18697 int i = EOVERFLOW;
18699 return 0;
18701 _ACEOF
18702 rm -f conftest.$ac_objext
18703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18704 (eval $ac_compile) 2>conftest.er1
18705 ac_status=$?
18706 grep -v '^ *+' conftest.er1 >conftest.err
18707 rm -f conftest.er1
18708 cat conftest.err >&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } &&
18711 { ac_try='test -z "$ac_c_werror_flag"
18712 || test ! -s conftest.err'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; } &&
18718 { ac_try='test -s conftest.$ac_objext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18721 ac_status=$?
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 glibcxx_cv_system_error11=yes
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18729 glibcxx_cv_system_error11=no
18731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18735 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18736 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18737 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18739 cat >>confdefs.h <<\_ACEOF
18740 #define HAVE_EOVERFLOW 1
18741 _ACEOF
18744 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18745 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18746 if test "${glibcxx_cv_system_error12+set}" = set; then
18747 echo $ECHO_N "(cached) $ECHO_C" >&6
18748 else
18750 cat >conftest.$ac_ext <<_ACEOF
18751 /* confdefs.h. */
18752 _ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 #include <errno.h>
18758 main ()
18760 int i = ENOTSUP;
18762 return 0;
18764 _ACEOF
18765 rm -f conftest.$ac_objext
18766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18767 (eval $ac_compile) 2>conftest.er1
18768 ac_status=$?
18769 grep -v '^ *+' conftest.er1 >conftest.err
18770 rm -f conftest.er1
18771 cat conftest.err >&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); } &&
18774 { ac_try='test -z "$ac_c_werror_flag"
18775 || test ! -s conftest.err'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18778 ac_status=$?
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; } &&
18781 { ac_try='test -s conftest.$ac_objext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 glibcxx_cv_system_error12=yes
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18792 glibcxx_cv_system_error12=no
18794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18798 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18799 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18800 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18802 cat >>confdefs.h <<\_ACEOF
18803 #define HAVE_ENOTSUP 1
18804 _ACEOF
18807 echo "$as_me:$LINENO: checking for EIDRM" >&5
18808 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18809 if test "${glibcxx_cv_system_error13+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 else
18813 cat >conftest.$ac_ext <<_ACEOF
18814 /* confdefs.h. */
18815 _ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 #include <errno.h>
18821 main ()
18823 int i = EIDRM;
18825 return 0;
18827 _ACEOF
18828 rm -f conftest.$ac_objext
18829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18830 (eval $ac_compile) 2>conftest.er1
18831 ac_status=$?
18832 grep -v '^ *+' conftest.er1 >conftest.err
18833 rm -f conftest.er1
18834 cat conftest.err >&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); } &&
18837 { ac_try='test -z "$ac_c_werror_flag"
18838 || test ! -s conftest.err'
18839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18840 (eval $ac_try) 2>&5
18841 ac_status=$?
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); }; } &&
18844 { ac_try='test -s conftest.$ac_objext'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18847 ac_status=$?
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; }; then
18850 glibcxx_cv_system_error13=yes
18851 else
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.$ac_ext >&5
18855 glibcxx_cv_system_error13=no
18857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18861 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18862 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18863 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18865 cat >>confdefs.h <<\_ACEOF
18866 #define HAVE_EIDRM 1
18867 _ACEOF
18870 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18871 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18872 if test "${glibcxx_cv_system_error14+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 else
18876 cat >conftest.$ac_ext <<_ACEOF
18877 /* confdefs.h. */
18878 _ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 #include <errno.h>
18884 main ()
18886 int i = ETXTBSY;
18888 return 0;
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18894 ac_status=$?
18895 grep -v '^ *+' conftest.er1 >conftest.err
18896 rm -f conftest.er1
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_c_werror_flag"
18901 || test ! -s conftest.err'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; } &&
18907 { ac_try='test -s conftest.$ac_objext'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18910 ac_status=$?
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; }; then
18913 glibcxx_cv_system_error14=yes
18914 else
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 glibcxx_cv_system_error14=no
18920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18924 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18925 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18926 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18928 cat >>confdefs.h <<\_ACEOF
18929 #define HAVE_ETXTBSY 1
18930 _ACEOF
18936 # For the streamoff typedef.
18941 ac_ext=cc
18942 ac_cpp='$CXXCPP $CPPFLAGS'
18943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18948 echo "$as_me:$LINENO: checking for int64_t" >&5
18949 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18950 if test "${glibcxx_cv_INT64_T+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 else
18954 cat >conftest.$ac_ext <<_ACEOF
18955 /* confdefs.h. */
18956 _ACEOF
18957 cat confdefs.h >>conftest.$ac_ext
18958 cat >>conftest.$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18960 #include <stdint.h>
18962 main ()
18964 int64_t var;
18966 return 0;
18968 _ACEOF
18969 rm -f conftest.$ac_objext
18970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18971 (eval $ac_compile) 2>conftest.er1
18972 ac_status=$?
18973 grep -v '^ *+' conftest.er1 >conftest.err
18974 rm -f conftest.er1
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } &&
18978 { ac_try='test -z "$ac_cxx_werror_flag"
18979 || test ! -s conftest.err'
18980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18981 (eval $ac_try) 2>&5
18982 ac_status=$?
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); }; } &&
18985 { ac_try='test -s conftest.$ac_objext'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18988 ac_status=$?
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; }; then
18991 glibcxx_cv_INT64_T=yes
18992 else
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.$ac_ext >&5
18996 glibcxx_cv_INT64_T=no
18998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19003 if test $glibcxx_cv_INT64_T = yes; then
19005 cat >>confdefs.h <<\_ACEOF
19006 #define HAVE_INT64_T 1
19007 _ACEOF
19009 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
19010 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
19012 echo "$as_me:$LINENO: checking for int64_t as long" >&5
19013 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
19014 if test "${glibcxx_cv_int64_t_long+set}" = set; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 else
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 #include <stdint.h>
19025 template<typename, typename> struct same { enum { value = -1 }; };
19026 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19027 int array[same<int64_t, long>::value];
19029 main ()
19033 return 0;
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_cxx_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 glibcxx_cv_int64_t_long=yes
19059 else
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19063 glibcxx_cv_int64_t_long=no
19065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19070 if test $glibcxx_cv_int64_t_long = yes; then
19072 cat >>confdefs.h <<\_ACEOF
19073 #define HAVE_INT64_T_LONG 1
19074 _ACEOF
19076 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
19077 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
19080 echo "$as_me:$LINENO: checking for int64_t as long long" >&5
19081 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
19082 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
19083 echo $ECHO_N "(cached) $ECHO_C" >&6
19084 else
19086 cat >conftest.$ac_ext <<_ACEOF
19087 /* confdefs.h. */
19088 _ACEOF
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 #include <stdint.h>
19093 template<typename, typename> struct same { enum { value = -1 }; };
19094 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19095 int array[same<int64_t, long long>::value];
19097 main ()
19101 return 0;
19103 _ACEOF
19104 rm -f conftest.$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try='test -z "$ac_cxx_werror_flag"
19114 || test ! -s conftest.err'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19117 ac_status=$?
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; } &&
19120 { ac_try='test -s conftest.$ac_objext'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; }; then
19126 glibcxx_cv_int64_t_long_long=yes
19127 else
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19131 glibcxx_cv_int64_t_long_long=no
19133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19138 if test $glibcxx_cv_int64_t_long_long = yes; then
19140 cat >>confdefs.h <<\_ACEOF
19141 #define HAVE_INT64_T_LONG_LONG 1
19142 _ACEOF
19144 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
19145 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
19149 ac_ext=c
19150 ac_cpp='$CPP $CPPFLAGS'
19151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19157 # For LFS support.
19161 ac_ext=cc
19162 ac_cpp='$CXXCPP $CPPFLAGS'
19163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19167 ac_save_CXXFLAGS="$CXXFLAGS"
19168 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19169 echo "$as_me:$LINENO: checking for LFS support" >&5
19170 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
19171 if test "${glibcxx_cv_LFS+set}" = set; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 else
19175 if test x$gcc_no_link = xyes; then
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 #include <unistd.h>
19183 #include <stdio.h>
19184 #include <sys/stat.h>
19187 main ()
19189 FILE* fp;
19190 fopen64("t", "w");
19191 fseeko64(fp, 0, SEEK_CUR);
19192 ftello64(fp);
19193 lseek64(1, 0, SEEK_CUR);
19194 struct stat64 buf;
19195 fstat64(1, &buf);
19197 return 0;
19199 _ACEOF
19200 rm -f conftest.$ac_objext
19201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19202 (eval $ac_compile) 2>conftest.er1
19203 ac_status=$?
19204 grep -v '^ *+' conftest.er1 >conftest.err
19205 rm -f conftest.er1
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } &&
19209 { ac_try='test -z "$ac_cxx_werror_flag"
19210 || test ! -s conftest.err'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19213 ac_status=$?
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; } &&
19216 { ac_try='test -s conftest.$ac_objext'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19219 ac_status=$?
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; }; then
19222 glibcxx_cv_LFS=yes
19223 else
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19227 glibcxx_cv_LFS=no
19229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19230 else
19231 if test x$gcc_no_link = xyes; then
19232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19234 { (exit 1); exit 1; }; }
19236 cat >conftest.$ac_ext <<_ACEOF
19237 /* confdefs.h. */
19238 _ACEOF
19239 cat confdefs.h >>conftest.$ac_ext
19240 cat >>conftest.$ac_ext <<_ACEOF
19241 /* end confdefs.h. */
19242 #include <unistd.h>
19243 #include <stdio.h>
19244 #include <sys/stat.h>
19247 main ()
19249 FILE* fp;
19250 fopen64("t", "w");
19251 fseeko64(fp, 0, SEEK_CUR);
19252 ftello64(fp);
19253 lseek64(1, 0, SEEK_CUR);
19254 struct stat64 buf;
19255 fstat64(1, &buf);
19257 return 0;
19259 _ACEOF
19260 rm -f conftest.$ac_objext conftest$ac_exeext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19262 (eval $ac_link) 2>conftest.er1
19263 ac_status=$?
19264 grep -v '^ *+' conftest.er1 >conftest.err
19265 rm -f conftest.er1
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } &&
19269 { ac_try='test -z "$ac_cxx_werror_flag"
19270 || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try='test -s conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19279 ac_status=$?
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19282 glibcxx_cv_LFS=yes
19283 else
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 glibcxx_cv_LFS=no
19289 rm -f conftest.err conftest.$ac_objext \
19290 conftest$ac_exeext conftest.$ac_ext
19295 if test $glibcxx_cv_LFS = yes; then
19297 cat >>confdefs.h <<\_ACEOF
19298 #define _GLIBCXX_USE_LFS 1
19299 _ACEOF
19302 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
19303 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
19304 CXXFLAGS="$ac_save_CXXFLAGS"
19305 ac_ext=c
19306 ac_cpp='$CPP $CPPFLAGS'
19307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19313 # For showmanyc_helper().
19316 for ac_header in sys/ioctl.h sys/filio.h
19318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19320 echo "$as_me:$LINENO: checking for $ac_header" >&5
19321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19323 echo $ECHO_N "(cached) $ECHO_C" >&6
19325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19327 else
19328 # Is the header compilable?
19329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19331 cat >conftest.$ac_ext <<_ACEOF
19332 /* confdefs.h. */
19333 _ACEOF
19334 cat confdefs.h >>conftest.$ac_ext
19335 cat >>conftest.$ac_ext <<_ACEOF
19336 /* end confdefs.h. */
19337 $ac_includes_default
19338 #include <$ac_header>
19339 _ACEOF
19340 rm -f conftest.$ac_objext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19342 (eval $ac_compile) 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try='test -s conftest.$ac_objext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_header_compiler=yes
19363 else
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19367 ac_header_compiler=no
19369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19371 echo "${ECHO_T}$ac_header_compiler" >&6
19373 # Is the header present?
19374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19376 cat >conftest.$ac_ext <<_ACEOF
19377 /* confdefs.h. */
19378 _ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #include <$ac_header>
19383 _ACEOF
19384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19386 ac_status=$?
19387 grep -v '^ *+' conftest.er1 >conftest.err
19388 rm -f conftest.er1
19389 cat conftest.err >&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } >/dev/null; then
19392 if test -s conftest.err; then
19393 ac_cpp_err=$ac_c_preproc_warn_flag
19394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19395 else
19396 ac_cpp_err=
19398 else
19399 ac_cpp_err=yes
19401 if test -z "$ac_cpp_err"; then
19402 ac_header_preproc=yes
19403 else
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19407 ac_header_preproc=no
19409 rm -f conftest.err conftest.$ac_ext
19410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19411 echo "${ECHO_T}$ac_header_preproc" >&6
19413 # So? What about this header?
19414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19415 yes:no: )
19416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19420 ac_header_preproc=yes
19422 no:yes:* )
19423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19436 cat <<\_ASBOX
19437 ## ----------------------------------------- ##
19438 ## Report this to the package-unused lists. ##
19439 ## ----------------------------------------- ##
19440 _ASBOX
19442 sed "s/^/$as_me: WARNING: /" >&2
19444 esac
19445 echo "$as_me:$LINENO: checking for $ac_header" >&5
19446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450 eval "$as_ac_Header=\$ac_header_preproc"
19452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19457 cat >>confdefs.h <<_ACEOF
19458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19459 _ACEOF
19463 done
19469 ac_ext=cc
19470 ac_cpp='$CXXCPP $CPPFLAGS'
19471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19475 ac_save_CXXFLAGS="$CXXFLAGS"
19476 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19478 echo "$as_me:$LINENO: checking for poll" >&5
19479 echo $ECHO_N "checking for poll... $ECHO_C" >&6
19480 if test "${glibcxx_cv_POLL+set}" = set; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 else
19484 if test x$gcc_no_link = xyes; then
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h. */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 #include <poll.h>
19493 main ()
19495 struct pollfd pfd[1];
19496 pfd[0].events = POLLIN;
19497 poll(pfd, 1, 0);
19499 return 0;
19501 _ACEOF
19502 rm -f conftest.$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try='test -z "$ac_cxx_werror_flag"
19512 || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19515 ac_status=$?
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19521 ac_status=$?
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 glibcxx_cv_POLL=yes
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19529 glibcxx_cv_POLL=no
19531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19532 else
19533 if test x$gcc_no_link = xyes; then
19534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19536 { (exit 1); exit 1; }; }
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 #include <poll.h>
19546 main ()
19548 struct pollfd pfd[1];
19549 pfd[0].events = POLLIN;
19550 poll(pfd, 1, 0);
19552 return 0;
19554 _ACEOF
19555 rm -f conftest.$ac_objext conftest$ac_exeext
19556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19557 (eval $ac_link) 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } &&
19564 { ac_try='test -z "$ac_cxx_werror_flag"
19565 || test ! -s conftest.err'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19568 ac_status=$?
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; } &&
19571 { ac_try='test -s conftest$ac_exeext'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19574 ac_status=$?
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; }; then
19577 glibcxx_cv_POLL=yes
19578 else
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19582 glibcxx_cv_POLL=no
19584 rm -f conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19590 if test $glibcxx_cv_POLL = yes; then
19592 cat >>confdefs.h <<\_ACEOF
19593 #define HAVE_POLL 1
19594 _ACEOF
19597 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
19598 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
19600 CXXFLAGS="$ac_save_CXXFLAGS"
19601 ac_ext=c
19602 ac_cpp='$CPP $CPPFLAGS'
19603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19612 ac_ext=cc
19613 ac_cpp='$CXXCPP $CPPFLAGS'
19614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19618 ac_save_CXXFLAGS="$CXXFLAGS"
19619 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19621 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
19622 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
19623 if test "${glibcxx_cv_S_ISREG+set}" = set; then
19624 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 else
19627 if test x$gcc_no_link = xyes; then
19628 cat >conftest.$ac_ext <<_ACEOF
19629 /* confdefs.h. */
19630 _ACEOF
19631 cat confdefs.h >>conftest.$ac_ext
19632 cat >>conftest.$ac_ext <<_ACEOF
19633 /* end confdefs.h. */
19634 #include <sys/stat.h>
19636 main ()
19638 struct stat buffer;
19639 fstat(0, &buffer);
19640 S_ISREG(buffer.st_mode);
19642 return 0;
19644 _ACEOF
19645 rm -f conftest.$ac_objext
19646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19647 (eval $ac_compile) 2>conftest.er1
19648 ac_status=$?
19649 grep -v '^ *+' conftest.er1 >conftest.err
19650 rm -f conftest.er1
19651 cat conftest.err >&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } &&
19654 { ac_try='test -z "$ac_cxx_werror_flag"
19655 || test ! -s conftest.err'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19658 ac_status=$?
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; } &&
19661 { ac_try='test -s conftest.$ac_objext'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; }; then
19667 glibcxx_cv_S_ISREG=yes
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19672 glibcxx_cv_S_ISREG=no
19674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19675 else
19676 if test x$gcc_no_link = xyes; then
19677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19679 { (exit 1); exit 1; }; }
19681 cat >conftest.$ac_ext <<_ACEOF
19682 /* confdefs.h. */
19683 _ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 #include <sys/stat.h>
19689 main ()
19691 struct stat buffer;
19692 fstat(0, &buffer);
19693 S_ISREG(buffer.st_mode);
19695 return 0;
19697 _ACEOF
19698 rm -f conftest.$ac_objext conftest$ac_exeext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19700 (eval $ac_link) 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try='test -z "$ac_cxx_werror_flag"
19708 || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest$ac_exeext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 glibcxx_cv_S_ISREG=yes
19721 else
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19725 glibcxx_cv_S_ISREG=no
19727 rm -f conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19733 if test "${glibcxx_cv_S_IFREG+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19735 else
19737 if test x$gcc_no_link = xyes; then
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h. */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 #include <sys/stat.h>
19746 main ()
19748 struct stat buffer;
19749 fstat(0, &buffer);
19750 S_IFREG & buffer.st_mode;
19752 return 0;
19754 _ACEOF
19755 rm -f conftest.$ac_objext
19756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19757 (eval $ac_compile) 2>conftest.er1
19758 ac_status=$?
19759 grep -v '^ *+' conftest.er1 >conftest.err
19760 rm -f conftest.er1
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } &&
19764 { ac_try='test -z "$ac_cxx_werror_flag"
19765 || test ! -s conftest.err'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19768 ac_status=$?
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try='test -s conftest.$ac_objext'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 glibcxx_cv_S_IFREG=yes
19778 else
19779 echo "$as_me: failed program was:" >&5
19780 sed 's/^/| /' conftest.$ac_ext >&5
19782 glibcxx_cv_S_IFREG=no
19784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19785 else
19786 if test x$gcc_no_link = xyes; then
19787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19789 { (exit 1); exit 1; }; }
19791 cat >conftest.$ac_ext <<_ACEOF
19792 /* confdefs.h. */
19793 _ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 #include <sys/stat.h>
19799 main ()
19801 struct stat buffer;
19802 fstat(0, &buffer);
19803 S_IFREG & buffer.st_mode;
19805 return 0;
19807 _ACEOF
19808 rm -f conftest.$ac_objext conftest$ac_exeext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19810 (eval $ac_link) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -z "$ac_cxx_werror_flag"
19818 || test ! -s conftest.err'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; } &&
19824 { ac_try='test -s conftest$ac_exeext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 glibcxx_cv_S_IFREG=yes
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 glibcxx_cv_S_IFREG=no
19837 rm -f conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19843 res=no
19844 if test $glibcxx_cv_S_ISREG = yes; then
19846 cat >>confdefs.h <<\_ACEOF
19847 #define HAVE_S_ISREG 1
19848 _ACEOF
19850 res=S_ISREG
19851 elif test $glibcxx_cv_S_IFREG = yes; then
19853 cat >>confdefs.h <<\_ACEOF
19854 #define HAVE_S_IFREG 1
19855 _ACEOF
19857 res=S_IFREG
19859 echo "$as_me:$LINENO: result: $res" >&5
19860 echo "${ECHO_T}$res" >&6
19862 CXXFLAGS="$ac_save_CXXFLAGS"
19863 ac_ext=c
19864 ac_cpp='$CPP $CPPFLAGS'
19865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19871 # For xsputn_2().
19873 for ac_header in sys/uio.h
19875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19877 echo "$as_me:$LINENO: checking for $ac_header" >&5
19878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19884 else
19885 # Is the header compilable?
19886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19888 cat >conftest.$ac_ext <<_ACEOF
19889 /* confdefs.h. */
19890 _ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19895 #include <$ac_header>
19896 _ACEOF
19897 rm -f conftest.$ac_objext
19898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19899 (eval $ac_compile) 2>conftest.er1
19900 ac_status=$?
19901 grep -v '^ *+' conftest.er1 >conftest.err
19902 rm -f conftest.er1
19903 cat conftest.err >&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } &&
19906 { ac_try='test -z "$ac_c_werror_flag"
19907 || test ! -s conftest.err'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; } &&
19913 { ac_try='test -s conftest.$ac_objext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19916 ac_status=$?
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 ac_header_compiler=yes
19920 else
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.$ac_ext >&5
19924 ac_header_compiler=no
19926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19928 echo "${ECHO_T}$ac_header_compiler" >&6
19930 # Is the header present?
19931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19933 cat >conftest.$ac_ext <<_ACEOF
19934 /* confdefs.h. */
19935 _ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 #include <$ac_header>
19940 _ACEOF
19941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19943 ac_status=$?
19944 grep -v '^ *+' conftest.er1 >conftest.err
19945 rm -f conftest.er1
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } >/dev/null; then
19949 if test -s conftest.err; then
19950 ac_cpp_err=$ac_c_preproc_warn_flag
19951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19952 else
19953 ac_cpp_err=
19955 else
19956 ac_cpp_err=yes
19958 if test -z "$ac_cpp_err"; then
19959 ac_header_preproc=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 ac_header_preproc=no
19966 rm -f conftest.err conftest.$ac_ext
19967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19968 echo "${ECHO_T}$ac_header_preproc" >&6
19970 # So? What about this header?
19971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19972 yes:no: )
19973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19977 ac_header_preproc=yes
19979 no:yes:* )
19980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19993 cat <<\_ASBOX
19994 ## ----------------------------------------- ##
19995 ## Report this to the package-unused lists. ##
19996 ## ----------------------------------------- ##
19997 _ASBOX
19999 sed "s/^/$as_me: WARNING: /" >&2
20001 esac
20002 echo "$as_me:$LINENO: checking for $ac_header" >&5
20003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20005 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 else
20007 eval "$as_ac_Header=\$ac_header_preproc"
20009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20014 cat >>confdefs.h <<_ACEOF
20015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20016 _ACEOF
20020 done
20026 ac_ext=cc
20027 ac_cpp='$CXXCPP $CPPFLAGS'
20028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20032 ac_save_CXXFLAGS="$CXXFLAGS"
20033 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20035 echo "$as_me:$LINENO: checking for writev" >&5
20036 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20037 if test "${glibcxx_cv_WRITEV+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 else
20041 if test x$gcc_no_link = xyes; then
20042 cat >conftest.$ac_ext <<_ACEOF
20043 /* confdefs.h. */
20044 _ACEOF
20045 cat confdefs.h >>conftest.$ac_ext
20046 cat >>conftest.$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 #include <sys/uio.h>
20050 main ()
20052 struct iovec iov[2];
20053 writev(0, iov, 0);
20055 return 0;
20057 _ACEOF
20058 rm -f conftest.$ac_objext
20059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20060 (eval $ac_compile) 2>conftest.er1
20061 ac_status=$?
20062 grep -v '^ *+' conftest.er1 >conftest.err
20063 rm -f conftest.er1
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } &&
20067 { ac_try='test -z "$ac_cxx_werror_flag"
20068 || test ! -s conftest.err'
20069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070 (eval $ac_try) 2>&5
20071 ac_status=$?
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; } &&
20074 { ac_try='test -s conftest.$ac_objext'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20077 ac_status=$?
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; }; then
20080 glibcxx_cv_WRITEV=yes
20081 else
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.$ac_ext >&5
20085 glibcxx_cv_WRITEV=no
20087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20088 else
20089 if test x$gcc_no_link = xyes; then
20090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20092 { (exit 1); exit 1; }; }
20094 cat >conftest.$ac_ext <<_ACEOF
20095 /* confdefs.h. */
20096 _ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 #include <sys/uio.h>
20102 main ()
20104 struct iovec iov[2];
20105 writev(0, iov, 0);
20107 return 0;
20109 _ACEOF
20110 rm -f conftest.$ac_objext conftest$ac_exeext
20111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20112 (eval $ac_link) 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -z "$ac_cxx_werror_flag"
20120 || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20123 ac_status=$?
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try='test -s conftest$ac_exeext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20129 ac_status=$?
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20132 glibcxx_cv_WRITEV=yes
20133 else
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20137 glibcxx_cv_WRITEV=no
20139 rm -f conftest.err conftest.$ac_objext \
20140 conftest$ac_exeext conftest.$ac_ext
20145 if test $glibcxx_cv_WRITEV = yes; then
20147 cat >>confdefs.h <<\_ACEOF
20148 #define HAVE_WRITEV 1
20149 _ACEOF
20152 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
20153 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
20155 CXXFLAGS="$ac_save_CXXFLAGS"
20156 ac_ext=c
20157 ac_cpp='$CPP $CPPFLAGS'
20158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20164 # For C99 support to TR1.
20169 ac_ext=cc
20170 ac_cpp='$CXXCPP $CPPFLAGS'
20171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20176 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20177 # undefined and fake C99 facilities may be spuriously enabled.
20178 ac_save_CXXFLAGS="$CXXFLAGS"
20179 CXXFLAGS="$CXXFLAGS -std=c++98"
20181 # Check for the existence of <complex.h> complex math functions used
20182 # by tr1/complex.
20184 for ac_header in complex.h
20186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20188 echo "$as_me:$LINENO: checking for $ac_header" >&5
20189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20191 echo $ECHO_N "(cached) $ECHO_C" >&6
20193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20195 else
20196 # Is the header compilable?
20197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20199 cat >conftest.$ac_ext <<_ACEOF
20200 /* confdefs.h. */
20201 _ACEOF
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 $ac_includes_default
20206 #include <$ac_header>
20207 _ACEOF
20208 rm -f conftest.$ac_objext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20210 (eval $ac_compile) 2>conftest.er1
20211 ac_status=$?
20212 grep -v '^ *+' conftest.er1 >conftest.err
20213 rm -f conftest.er1
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try='test -z "$ac_cxx_werror_flag"
20218 || test ! -s conftest.err'
20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20220 (eval $ac_try) 2>&5
20221 ac_status=$?
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); }; } &&
20224 { ac_try='test -s conftest.$ac_objext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20227 ac_status=$?
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 ac_header_compiler=yes
20231 else
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20235 ac_header_compiler=no
20237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20239 echo "${ECHO_T}$ac_header_compiler" >&6
20241 # Is the header present?
20242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20244 cat >conftest.$ac_ext <<_ACEOF
20245 /* confdefs.h. */
20246 _ACEOF
20247 cat confdefs.h >>conftest.$ac_ext
20248 cat >>conftest.$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20250 #include <$ac_header>
20251 _ACEOF
20252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } >/dev/null; then
20260 if test -s conftest.err; then
20261 ac_cpp_err=$ac_cxx_preproc_warn_flag
20262 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20263 else
20264 ac_cpp_err=
20266 else
20267 ac_cpp_err=yes
20269 if test -z "$ac_cpp_err"; then
20270 ac_header_preproc=yes
20271 else
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.$ac_ext >&5
20275 ac_header_preproc=no
20277 rm -f conftest.err conftest.$ac_ext
20278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20279 echo "${ECHO_T}$ac_header_preproc" >&6
20281 # So? What about this header?
20282 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20283 yes:no: )
20284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20288 ac_header_preproc=yes
20290 no:yes:* )
20291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20304 cat <<\_ASBOX
20305 ## ----------------------------------------- ##
20306 ## Report this to the package-unused lists. ##
20307 ## ----------------------------------------- ##
20308 _ASBOX
20310 sed "s/^/$as_me: WARNING: /" >&2
20312 esac
20313 echo "$as_me:$LINENO: checking for $ac_header" >&5
20314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20316 echo $ECHO_N "(cached) $ECHO_C" >&6
20317 else
20318 eval "$as_ac_Header=\$ac_header_preproc"
20320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20325 cat >>confdefs.h <<_ACEOF
20326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20327 _ACEOF
20328 ac_has_complex_h=yes
20329 else
20330 ac_has_complex_h=no
20333 done
20335 ac_c99_complex_tr1=no;
20336 if test x"$ac_has_complex_h" = x"yes"; then
20337 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
20338 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
20339 cat >conftest.$ac_ext <<_ACEOF
20340 /* confdefs.h. */
20341 _ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 #include <complex.h>
20347 main ()
20349 typedef __complex__ float float_type; float_type tmpf;
20350 cacosf(tmpf);
20351 casinf(tmpf);
20352 catanf(tmpf);
20353 cacoshf(tmpf);
20354 casinhf(tmpf);
20355 catanhf(tmpf);
20356 typedef __complex__ double double_type; double_type tmpd;
20357 cacos(tmpd);
20358 casin(tmpd);
20359 catan(tmpd);
20360 cacosh(tmpd);
20361 casinh(tmpd);
20362 catanh(tmpd);
20363 typedef __complex__ long double ld_type; ld_type tmpld;
20364 cacosl(tmpld);
20365 casinl(tmpld);
20366 catanl(tmpld);
20367 cacoshl(tmpld);
20368 casinhl(tmpld);
20369 catanhl(tmpld);
20372 return 0;
20374 _ACEOF
20375 rm -f conftest.$ac_objext
20376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20377 (eval $ac_compile) 2>conftest.er1
20378 ac_status=$?
20379 grep -v '^ *+' conftest.er1 >conftest.err
20380 rm -f conftest.er1
20381 cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 { ac_try='test -z "$ac_cxx_werror_flag"
20385 || test ! -s conftest.err'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20388 ac_status=$?
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try='test -s conftest.$ac_objext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20394 ac_status=$?
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 ac_c99_complex_tr1=yes
20398 else
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20402 ac_c99_complex_tr1=no
20404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20406 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
20407 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
20408 if test x"$ac_c99_complex_tr1" = x"yes"; then
20410 cat >>confdefs.h <<\_ACEOF
20411 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
20412 _ACEOF
20416 # Check for the existence of <ctype.h> functions.
20417 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20418 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
20419 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20421 else
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #include <ctype.h>
20431 main ()
20433 int ch;
20434 int ret;
20435 ret = isblank(ch);
20438 return 0;
20440 _ACEOF
20441 rm -f conftest.$ac_objext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20443 (eval $ac_compile) 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } &&
20450 { ac_try='test -z "$ac_cxx_werror_flag"
20451 || test ! -s conftest.err'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20454 ac_status=$?
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; } &&
20457 { ac_try='test -s conftest.$ac_objext'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20460 ac_status=$?
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; }; then
20463 glibcxx_cv_c99_ctype_tr1=yes
20464 else
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20468 glibcxx_cv_c99_ctype_tr1=no
20470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20474 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
20475 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
20476 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20478 cat >>confdefs.h <<\_ACEOF
20479 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
20480 _ACEOF
20484 # Check for the existence of <fenv.h> functions.
20486 for ac_header in fenv.h
20488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20490 echo "$as_me:$LINENO: checking for $ac_header" >&5
20491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20493 echo $ECHO_N "(cached) $ECHO_C" >&6
20495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20497 else
20498 # Is the header compilable?
20499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20501 cat >conftest.$ac_ext <<_ACEOF
20502 /* confdefs.h. */
20503 _ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 #include <$ac_header>
20509 _ACEOF
20510 rm -f conftest.$ac_objext
20511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20512 (eval $ac_compile) 2>conftest.er1
20513 ac_status=$?
20514 grep -v '^ *+' conftest.er1 >conftest.err
20515 rm -f conftest.er1
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } &&
20519 { ac_try='test -z "$ac_cxx_werror_flag"
20520 || test ! -s conftest.err'
20521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20522 (eval $ac_try) 2>&5
20523 ac_status=$?
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); }; } &&
20526 { ac_try='test -s conftest.$ac_objext'
20527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528 (eval $ac_try) 2>&5
20529 ac_status=$?
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; }; then
20532 ac_header_compiler=yes
20533 else
20534 echo "$as_me: failed program was:" >&5
20535 sed 's/^/| /' conftest.$ac_ext >&5
20537 ac_header_compiler=no
20539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20541 echo "${ECHO_T}$ac_header_compiler" >&6
20543 # Is the header present?
20544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20546 cat >conftest.$ac_ext <<_ACEOF
20547 /* confdefs.h. */
20548 _ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 #include <$ac_header>
20553 _ACEOF
20554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } >/dev/null; then
20562 if test -s conftest.err; then
20563 ac_cpp_err=$ac_cxx_preproc_warn_flag
20564 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20565 else
20566 ac_cpp_err=
20568 else
20569 ac_cpp_err=yes
20571 if test -z "$ac_cpp_err"; then
20572 ac_header_preproc=yes
20573 else
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20577 ac_header_preproc=no
20579 rm -f conftest.err conftest.$ac_ext
20580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20581 echo "${ECHO_T}$ac_header_preproc" >&6
20583 # So? What about this header?
20584 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20585 yes:no: )
20586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20590 ac_header_preproc=yes
20592 no:yes:* )
20593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20606 cat <<\_ASBOX
20607 ## ----------------------------------------- ##
20608 ## Report this to the package-unused lists. ##
20609 ## ----------------------------------------- ##
20610 _ASBOX
20612 sed "s/^/$as_me: WARNING: /" >&2
20614 esac
20615 echo "$as_me:$LINENO: checking for $ac_header" >&5
20616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20618 echo $ECHO_N "(cached) $ECHO_C" >&6
20619 else
20620 eval "$as_ac_Header=\$ac_header_preproc"
20622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20627 cat >>confdefs.h <<_ACEOF
20628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20629 _ACEOF
20630 ac_has_fenv_h=yes
20631 else
20632 ac_has_fenv_h=no
20635 done
20637 ac_c99_fenv_tr1=no;
20638 if test x"$ac_has_fenv_h" = x"yes"; then
20639 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20640 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
20641 cat >conftest.$ac_ext <<_ACEOF
20642 /* confdefs.h. */
20643 _ACEOF
20644 cat confdefs.h >>conftest.$ac_ext
20645 cat >>conftest.$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20647 #include <fenv.h>
20649 main ()
20651 int except, mode;
20652 fexcept_t* pflag;
20653 fenv_t* penv;
20654 int ret;
20655 ret = feclearexcept(except);
20656 ret = fegetexceptflag(pflag, except);
20657 ret = feraiseexcept(except);
20658 ret = fesetexceptflag(pflag, except);
20659 ret = fetestexcept(except);
20660 ret = fegetround();
20661 ret = fesetround(mode);
20662 ret = fegetenv(penv);
20663 ret = feholdexcept(penv);
20664 ret = fesetenv(penv);
20665 ret = feupdateenv(penv);
20668 return 0;
20670 _ACEOF
20671 rm -f conftest.$ac_objext
20672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20673 (eval $ac_compile) 2>conftest.er1
20674 ac_status=$?
20675 grep -v '^ *+' conftest.er1 >conftest.err
20676 rm -f conftest.er1
20677 cat conftest.err >&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } &&
20680 { ac_try='test -z "$ac_cxx_werror_flag"
20681 || test ! -s conftest.err'
20682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683 (eval $ac_try) 2>&5
20684 ac_status=$?
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; } &&
20687 { ac_try='test -s conftest.$ac_objext'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20690 ac_status=$?
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; }; then
20693 ac_c99_fenv_tr1=yes
20694 else
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.$ac_ext >&5
20698 ac_c99_fenv_tr1=no
20700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20702 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
20703 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
20704 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20706 cat >>confdefs.h <<\_ACEOF
20707 #define _GLIBCXX_USE_C99_FENV_TR1 1
20708 _ACEOF
20712 # Check for the existence of <stdint.h> types.
20713 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20714 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
20715 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20719 cat >conftest.$ac_ext <<_ACEOF
20720 /* confdefs.h. */
20721 _ACEOF
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 #define __STDC_LIMIT_MACROS
20726 #define __STDC_CONSTANT_MACROS
20727 #include <stdint.h>
20729 main ()
20731 typedef int8_t my_int8_t;
20732 my_int8_t i8 = INT8_MIN;
20733 i8 = INT8_MAX;
20734 typedef int16_t my_int16_t;
20735 my_int16_t i16 = INT16_MIN;
20736 i16 = INT16_MAX;
20737 typedef int32_t my_int32_t;
20738 my_int32_t i32 = INT32_MIN;
20739 i32 = INT32_MAX;
20740 typedef int64_t my_int64_t;
20741 my_int64_t i64 = INT64_MIN;
20742 i64 = INT64_MAX;
20743 typedef int_fast8_t my_int_fast8_t;
20744 my_int_fast8_t if8 = INT_FAST8_MIN;
20745 if8 = INT_FAST8_MAX;
20746 typedef int_fast16_t my_int_fast16_t;
20747 my_int_fast16_t if16 = INT_FAST16_MIN;
20748 if16 = INT_FAST16_MAX;
20749 typedef int_fast32_t my_int_fast32_t;
20750 my_int_fast32_t if32 = INT_FAST32_MIN;
20751 if32 = INT_FAST32_MAX;
20752 typedef int_fast64_t my_int_fast64_t;
20753 my_int_fast64_t if64 = INT_FAST64_MIN;
20754 if64 = INT_FAST64_MAX;
20755 typedef int_least8_t my_int_least8_t;
20756 my_int_least8_t il8 = INT_LEAST8_MIN;
20757 il8 = INT_LEAST8_MAX;
20758 typedef int_least16_t my_int_least16_t;
20759 my_int_least16_t il16 = INT_LEAST16_MIN;
20760 il16 = INT_LEAST16_MAX;
20761 typedef int_least32_t my_int_least32_t;
20762 my_int_least32_t il32 = INT_LEAST32_MIN;
20763 il32 = INT_LEAST32_MAX;
20764 typedef int_least64_t my_int_least64_t;
20765 my_int_least64_t il64 = INT_LEAST64_MIN;
20766 il64 = INT_LEAST64_MAX;
20767 typedef intmax_t my_intmax_t;
20768 my_intmax_t im = INTMAX_MAX;
20769 im = INTMAX_MIN;
20770 typedef intptr_t my_intptr_t;
20771 my_intptr_t ip = INTPTR_MAX;
20772 ip = INTPTR_MIN;
20773 typedef uint8_t my_uint8_t;
20774 my_uint8_t ui8 = UINT8_MAX;
20775 ui8 = UINT8_MAX;
20776 typedef uint16_t my_uint16_t;
20777 my_uint16_t ui16 = UINT16_MAX;
20778 ui16 = UINT16_MAX;
20779 typedef uint32_t my_uint32_t;
20780 my_uint32_t ui32 = UINT32_MAX;
20781 ui32 = UINT32_MAX;
20782 typedef uint64_t my_uint64_t;
20783 my_uint64_t ui64 = UINT64_MAX;
20784 ui64 = UINT64_MAX;
20785 typedef uint_fast8_t my_uint_fast8_t;
20786 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20787 uif8 = UINT_FAST8_MAX;
20788 typedef uint_fast16_t my_uint_fast16_t;
20789 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20790 uif16 = UINT_FAST16_MAX;
20791 typedef uint_fast32_t my_uint_fast32_t;
20792 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20793 uif32 = UINT_FAST32_MAX;
20794 typedef uint_fast64_t my_uint_fast64_t;
20795 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20796 uif64 = UINT_FAST64_MAX;
20797 typedef uint_least8_t my_uint_least8_t;
20798 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20799 uil8 = UINT_LEAST8_MAX;
20800 typedef uint_least16_t my_uint_least16_t;
20801 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20802 uil16 = UINT_LEAST16_MAX;
20803 typedef uint_least32_t my_uint_least32_t;
20804 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20805 uil32 = UINT_LEAST32_MAX;
20806 typedef uint_least64_t my_uint_least64_t;
20807 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20808 uil64 = UINT_LEAST64_MAX;
20809 typedef uintmax_t my_uintmax_t;
20810 my_uintmax_t uim = UINTMAX_MAX;
20811 uim = UINTMAX_MAX;
20812 typedef uintptr_t my_uintptr_t;
20813 my_uintptr_t uip = UINTPTR_MAX;
20814 uip = UINTPTR_MAX;
20817 return 0;
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20822 (eval $ac_compile) 2>conftest.er1
20823 ac_status=$?
20824 grep -v '^ *+' conftest.er1 >conftest.err
20825 rm -f conftest.er1
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } &&
20829 { ac_try='test -z "$ac_cxx_werror_flag"
20830 || test ! -s conftest.err'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20833 ac_status=$?
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; } &&
20836 { ac_try='test -s conftest.$ac_objext'
20837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20838 (eval $ac_try) 2>&5
20839 ac_status=$?
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); }; }; then
20842 glibcxx_cv_c99_stdint_tr1=yes
20843 else
20844 echo "$as_me: failed program was:" >&5
20845 sed 's/^/| /' conftest.$ac_ext >&5
20847 glibcxx_cv_c99_stdint_tr1=no
20849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20853 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
20854 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
20855 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20857 cat >>confdefs.h <<\_ACEOF
20858 #define _GLIBCXX_USE_C99_STDINT_TR1 1
20859 _ACEOF
20863 # Check for the existence of <math.h> functions.
20864 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
20865 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
20866 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20868 else
20870 cat >conftest.$ac_ext <<_ACEOF
20871 /* confdefs.h. */
20872 _ACEOF
20873 cat confdefs.h >>conftest.$ac_ext
20874 cat >>conftest.$ac_ext <<_ACEOF
20875 /* end confdefs.h. */
20876 #include <math.h>
20878 main ()
20880 typedef double_t my_double_t;
20881 typedef float_t my_float_t;
20882 acosh(0.0);
20883 acoshf(0.0f);
20884 acoshl(0.0l);
20885 asinh(0.0);
20886 asinhf(0.0f);
20887 asinhl(0.0l);
20888 atanh(0.0);
20889 atanhf(0.0f);
20890 atanhl(0.0l);
20891 cbrt(0.0);
20892 cbrtf(0.0f);
20893 cbrtl(0.0l);
20894 copysign(0.0, 0.0);
20895 copysignf(0.0f, 0.0f);
20896 copysignl(0.0l, 0.0l);
20897 erf(0.0);
20898 erff(0.0f);
20899 erfl(0.0l);
20900 erfc(0.0);
20901 erfcf(0.0f);
20902 erfcl(0.0l);
20903 exp2(0.0);
20904 exp2f(0.0f);
20905 exp2l(0.0l);
20906 expm1(0.0);
20907 expm1f(0.0f);
20908 expm1l(0.0l);
20909 fdim(0.0, 0.0);
20910 fdimf(0.0f, 0.0f);
20911 fdiml(0.0l, 0.0l);
20912 fma(0.0, 0.0, 0.0);
20913 fmaf(0.0f, 0.0f, 0.0f);
20914 fmal(0.0l, 0.0l, 0.0l);
20915 fmax(0.0, 0.0);
20916 fmaxf(0.0f, 0.0f);
20917 fmaxl(0.0l, 0.0l);
20918 fmin(0.0, 0.0);
20919 fminf(0.0f, 0.0f);
20920 fminl(0.0l, 0.0l);
20921 hypot(0.0, 0.0);
20922 hypotf(0.0f, 0.0f);
20923 hypotl(0.0l, 0.0l);
20924 ilogb(0.0);
20925 ilogbf(0.0f);
20926 ilogbl(0.0l);
20927 lgamma(0.0);
20928 lgammaf(0.0f);
20929 lgammal(0.0l);
20930 llrint(0.0);
20931 llrintf(0.0f);
20932 llrintl(0.0l);
20933 llround(0.0);
20934 llroundf(0.0f);
20935 llroundl(0.0l);
20936 log1p(0.0);
20937 log1pf(0.0f);
20938 log1pl(0.0l);
20939 log2(0.0);
20940 log2f(0.0f);
20941 log2l(0.0l);
20942 logb(0.0);
20943 logbf(0.0f);
20944 logbl(0.0l);
20945 lrint(0.0);
20946 lrintf(0.0f);
20947 lrintl(0.0l);
20948 lround(0.0);
20949 lroundf(0.0f);
20950 lroundl(0.0l);
20951 nan(0);
20952 nanf(0);
20953 nanl(0);
20954 nearbyint(0.0);
20955 nearbyintf(0.0f);
20956 nearbyintl(0.0l);
20957 nextafter(0.0, 0.0);
20958 nextafterf(0.0f, 0.0f);
20959 nextafterl(0.0l, 0.0l);
20960 nexttoward(0.0, 0.0);
20961 nexttowardf(0.0f, 0.0f);
20962 nexttowardl(0.0l, 0.0l);
20963 remainder(0.0, 0.0);
20964 remainderf(0.0f, 0.0f);
20965 remainderl(0.0l, 0.0l);
20966 remquo(0.0, 0.0, 0);
20967 remquo(0.0f, 0.0f, 0);
20968 remquo(0.0l, 0.0l, 0);
20969 rint(0.0);
20970 rintf(0.0f);
20971 rintl(0.0l);
20972 round(0.0);
20973 roundf(0.0f);
20974 roundl(0.0l);
20975 scalbln(0.0, 0l);
20976 scalblnf(0.0f, 0l);
20977 scalblnl(0.0l, 0l);
20978 scalbn(0.0, 0);
20979 scalbnf(0.0f, 0);
20980 scalbnl(0.0l, 0);
20981 tgamma(0.0);
20982 tgammaf(0.0f);
20983 tgammal(0.0l);
20984 trunc(0.0);
20985 truncf(0.0f);
20986 truncl(0.0l);
20989 return 0;
20991 _ACEOF
20992 rm -f conftest.$ac_objext
20993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20994 (eval $ac_compile) 2>conftest.er1
20995 ac_status=$?
20996 grep -v '^ *+' conftest.er1 >conftest.err
20997 rm -f conftest.er1
20998 cat conftest.err >&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } &&
21001 { ac_try='test -z "$ac_cxx_werror_flag"
21002 || test ! -s conftest.err'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; } &&
21008 { ac_try='test -s conftest.$ac_objext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21011 ac_status=$?
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 glibcxx_cv_c99_math_tr1=yes
21015 else
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21019 glibcxx_cv_c99_math_tr1=no
21021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21025 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
21026 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
21027 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
21029 cat >>confdefs.h <<\_ACEOF
21030 #define _GLIBCXX_USE_C99_MATH_TR1 1
21031 _ACEOF
21035 # Check for the existence of <inttypes.h> functions (NB: doesn't make
21036 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21037 ac_c99_inttypes_tr1=no;
21038 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21039 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
21040 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21041 cat >conftest.$ac_ext <<_ACEOF
21042 /* confdefs.h. */
21043 _ACEOF
21044 cat confdefs.h >>conftest.$ac_ext
21045 cat >>conftest.$ac_ext <<_ACEOF
21046 /* end confdefs.h. */
21047 #include <inttypes.h>
21049 main ()
21051 intmax_t i, numer, denom, base;
21052 const char* s;
21053 char** endptr;
21054 intmax_t ret = imaxabs(i);
21055 imaxdiv_t dret = imaxdiv(numer, denom);
21056 ret = strtoimax(s, endptr, base);
21057 uintmax_t uret = strtoumax(s, endptr, base);
21060 return 0;
21062 _ACEOF
21063 rm -f conftest.$ac_objext
21064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21065 (eval $ac_compile) 2>conftest.er1
21066 ac_status=$?
21067 grep -v '^ *+' conftest.er1 >conftest.err
21068 rm -f conftest.er1
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } &&
21072 { ac_try='test -z "$ac_cxx_werror_flag"
21073 || test ! -s conftest.err'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21076 ac_status=$?
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; } &&
21079 { ac_try='test -s conftest.$ac_objext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_c99_inttypes_tr1=yes
21086 else
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.$ac_ext >&5
21090 ac_c99_inttypes_tr1=no
21092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21094 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
21095 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
21096 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
21098 cat >>confdefs.h <<\_ACEOF
21099 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
21100 _ACEOF
21104 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
21105 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21106 ac_c99_inttypes_wchar_t_tr1=no;
21107 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21108 echo "$as_me:$LINENO: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21109 echo $ECHO_N "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21110 cat >conftest.$ac_ext <<_ACEOF
21111 /* confdefs.h. */
21112 _ACEOF
21113 cat confdefs.h >>conftest.$ac_ext
21114 cat >>conftest.$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21116 #include <inttypes.h>
21118 main ()
21120 intmax_t base;
21121 const wchar_t* s;
21122 wchar_t** endptr;
21123 intmax_t ret = wcstoimax(s, endptr, base);
21124 uintmax_t uret = wcstoumax(s, endptr, base);
21127 return 0;
21129 _ACEOF
21130 rm -f conftest.$ac_objext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21132 (eval $ac_compile) 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try='test -z "$ac_cxx_werror_flag"
21140 || test ! -s conftest.err'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; } &&
21146 { ac_try='test -s conftest.$ac_objext'
21147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148 (eval $ac_try) 2>&5
21149 ac_status=$?
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); }; }; then
21152 ac_c99_inttypes_wchar_t_tr1=yes
21153 else
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21157 ac_c99_inttypes_wchar_t_tr1=no
21159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21161 echo "$as_me:$LINENO: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21162 echo "${ECHO_T}$ac_c99_inttypes_wchar_t_tr1" >&6
21163 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21165 cat >>confdefs.h <<\_ACEOF
21166 #define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1
21167 _ACEOF
21171 # Check for the existence of the <stdbool.h> header.
21173 for ac_header in stdbool.h
21175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21177 echo "$as_me:$LINENO: checking for $ac_header" >&5
21178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21180 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21184 else
21185 # Is the header compilable?
21186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21188 cat >conftest.$ac_ext <<_ACEOF
21189 /* confdefs.h. */
21190 _ACEOF
21191 cat confdefs.h >>conftest.$ac_ext
21192 cat >>conftest.$ac_ext <<_ACEOF
21193 /* end confdefs.h. */
21194 $ac_includes_default
21195 #include <$ac_header>
21196 _ACEOF
21197 rm -f conftest.$ac_objext
21198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21199 (eval $ac_compile) 2>conftest.er1
21200 ac_status=$?
21201 grep -v '^ *+' conftest.er1 >conftest.err
21202 rm -f conftest.er1
21203 cat conftest.err >&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 { ac_try='test -z "$ac_cxx_werror_flag"
21207 || test ! -s conftest.err'
21208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209 (eval $ac_try) 2>&5
21210 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; } &&
21213 { ac_try='test -s conftest.$ac_objext'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21216 ac_status=$?
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; }; then
21219 ac_header_compiler=yes
21220 else
21221 echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.$ac_ext >&5
21224 ac_header_compiler=no
21226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21228 echo "${ECHO_T}$ac_header_compiler" >&6
21230 # Is the header present?
21231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 #include <$ac_header>
21240 _ACEOF
21241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } >/dev/null; then
21249 if test -s conftest.err; then
21250 ac_cpp_err=$ac_cxx_preproc_warn_flag
21251 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21252 else
21253 ac_cpp_err=
21255 else
21256 ac_cpp_err=yes
21258 if test -z "$ac_cpp_err"; then
21259 ac_header_preproc=yes
21260 else
21261 echo "$as_me: failed program was:" >&5
21262 sed 's/^/| /' conftest.$ac_ext >&5
21264 ac_header_preproc=no
21266 rm -f conftest.err conftest.$ac_ext
21267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21268 echo "${ECHO_T}$ac_header_preproc" >&6
21270 # So? What about this header?
21271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21272 yes:no: )
21273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21277 ac_header_preproc=yes
21279 no:yes:* )
21280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21293 cat <<\_ASBOX
21294 ## ----------------------------------------- ##
21295 ## Report this to the package-unused lists. ##
21296 ## ----------------------------------------- ##
21297 _ASBOX
21299 sed "s/^/$as_me: WARNING: /" >&2
21301 esac
21302 echo "$as_me:$LINENO: checking for $ac_header" >&5
21303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21305 echo $ECHO_N "(cached) $ECHO_C" >&6
21306 else
21307 eval "$as_ac_Header=\$ac_header_preproc"
21309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21314 cat >>confdefs.h <<_ACEOF
21315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21316 _ACEOF
21320 done
21323 CXXFLAGS="$ac_save_CXXFLAGS"
21324 ac_ext=c
21325 ac_cpp='$CPP $CPPFLAGS'
21326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21332 # For common values of EOF, SEEK_CUR, SEEK_END.
21335 echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
21336 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
21337 if test "${glibcxx_cv_stdio_macros+set}" = set; then
21338 echo $ECHO_N "(cached) $ECHO_C" >&6
21339 else
21341 cat >conftest.$ac_ext <<_ACEOF
21342 /* confdefs.h. */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 #include <stdio.h>
21349 main ()
21351 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
21352 unusual values...
21353 #endif
21356 return 0;
21358 _ACEOF
21359 rm -f conftest.$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21362 ac_status=$?
21363 grep -v '^ *+' conftest.er1 >conftest.err
21364 rm -f conftest.er1
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try='test -z "$ac_c_werror_flag"
21369 || test ! -s conftest.err'
21370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21371 (eval $ac_try) 2>&5
21372 ac_status=$?
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; } &&
21375 { ac_try='test -s conftest.$ac_objext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 glibcxx_cv_stdio_macros=yes
21382 else
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21386 glibcxx_cv_stdio_macros=no
21388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21392 echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
21393 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
21394 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
21396 cat >>confdefs.h <<\_ACEOF
21397 #define _GLIBCXX_STDIO_MACROS 1
21398 _ACEOF
21404 # For gettimeofday support.
21407 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21408 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21412 ac_ext=cc
21413 ac_cpp='$CXXCPP $CPPFLAGS'
21414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21418 ac_save_CXXFLAGS="$CXXFLAGS"
21419 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21421 ac_has_gettimeofday=no;
21423 for ac_header in sys/time.h
21425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21427 echo "$as_me:$LINENO: checking for $ac_header" >&5
21428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21430 echo $ECHO_N "(cached) $ECHO_C" >&6
21432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21434 else
21435 # Is the header compilable?
21436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21438 cat >conftest.$ac_ext <<_ACEOF
21439 /* confdefs.h. */
21440 _ACEOF
21441 cat confdefs.h >>conftest.$ac_ext
21442 cat >>conftest.$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21444 $ac_includes_default
21445 #include <$ac_header>
21446 _ACEOF
21447 rm -f conftest.$ac_objext
21448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21449 (eval $ac_compile) 2>conftest.er1
21450 ac_status=$?
21451 grep -v '^ *+' conftest.er1 >conftest.err
21452 rm -f conftest.er1
21453 cat conftest.err >&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); } &&
21456 { ac_try='test -z "$ac_cxx_werror_flag"
21457 || test ! -s conftest.err'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21460 ac_status=$?
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; } &&
21463 { ac_try='test -s conftest.$ac_objext'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21466 ac_status=$?
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_header_compiler=yes
21470 else
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.$ac_ext >&5
21474 ac_header_compiler=no
21476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21478 echo "${ECHO_T}$ac_header_compiler" >&6
21480 # Is the header present?
21481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21483 cat >conftest.$ac_ext <<_ACEOF
21484 /* confdefs.h. */
21485 _ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 #include <$ac_header>
21490 _ACEOF
21491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21493 ac_status=$?
21494 grep -v '^ *+' conftest.er1 >conftest.err
21495 rm -f conftest.er1
21496 cat conftest.err >&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); } >/dev/null; then
21499 if test -s conftest.err; then
21500 ac_cpp_err=$ac_cxx_preproc_warn_flag
21501 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21502 else
21503 ac_cpp_err=
21505 else
21506 ac_cpp_err=yes
21508 if test -z "$ac_cpp_err"; then
21509 ac_header_preproc=yes
21510 else
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.$ac_ext >&5
21514 ac_header_preproc=no
21516 rm -f conftest.err conftest.$ac_ext
21517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21518 echo "${ECHO_T}$ac_header_preproc" >&6
21520 # So? What about this header?
21521 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21522 yes:no: )
21523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21527 ac_header_preproc=yes
21529 no:yes:* )
21530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21543 cat <<\_ASBOX
21544 ## ----------------------------------------- ##
21545 ## Report this to the package-unused lists. ##
21546 ## ----------------------------------------- ##
21547 _ASBOX
21549 sed "s/^/$as_me: WARNING: /" >&2
21551 esac
21552 echo "$as_me:$LINENO: checking for $ac_header" >&5
21553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21556 else
21557 eval "$as_ac_Header=\$ac_header_preproc"
21559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21564 cat >>confdefs.h <<_ACEOF
21565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21566 _ACEOF
21567 ac_has_sys_time_h=yes
21568 else
21569 ac_has_sys_time_h=no
21572 done
21574 if test x"$ac_has_sys_time_h" = x"yes"; then
21575 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21576 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21577 if test x$gcc_no_link = xyes; then
21578 cat >conftest.$ac_ext <<_ACEOF
21579 /* confdefs.h. */
21580 _ACEOF
21581 cat confdefs.h >>conftest.$ac_ext
21582 cat >>conftest.$ac_ext <<_ACEOF
21583 /* end confdefs.h. */
21584 #include <sys/time.h>
21586 main ()
21588 timeval tv; gettimeofday(&tv, 0);
21590 return 0;
21592 _ACEOF
21593 rm -f conftest.$ac_objext
21594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21595 (eval $ac_compile) 2>conftest.er1
21596 ac_status=$?
21597 grep -v '^ *+' conftest.er1 >conftest.err
21598 rm -f conftest.er1
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } &&
21602 { ac_try='test -z "$ac_cxx_werror_flag"
21603 || test ! -s conftest.err'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21606 ac_status=$?
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; } &&
21609 { ac_try='test -s conftest.$ac_objext'
21610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21611 (eval $ac_try) 2>&5
21612 ac_status=$?
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; }; then
21615 ac_has_gettimeofday=yes
21616 else
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21620 ac_has_gettimeofday=no
21622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21623 else
21624 if test x$gcc_no_link = xyes; then
21625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21627 { (exit 1); exit 1; }; }
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 #include <sys/time.h>
21637 main ()
21639 timeval tv; gettimeofday(&tv, 0);
21641 return 0;
21643 _ACEOF
21644 rm -f conftest.$ac_objext conftest$ac_exeext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646 (eval $ac_link) 2>conftest.er1
21647 ac_status=$?
21648 grep -v '^ *+' conftest.er1 >conftest.err
21649 rm -f conftest.er1
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -z "$ac_cxx_werror_flag"
21654 || test ! -s conftest.err'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest$ac_exeext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21666 ac_has_gettimeofday=yes
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21671 ac_has_gettimeofday=no
21673 rm -f conftest.err conftest.$ac_objext \
21674 conftest$ac_exeext conftest.$ac_ext
21677 echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
21678 echo "${ECHO_T}$ac_has_gettimeofday" >&6
21681 if test x"$ac_has_gettimeofday" = x"yes"; then
21683 cat >>confdefs.h <<\_ACEOF
21684 #define _GLIBCXX_USE_GETTIMEOFDAY 1
21685 _ACEOF
21689 CXXFLAGS="$ac_save_CXXFLAGS"
21690 ac_ext=c
21691 ac_cpp='$CPP $CPPFLAGS'
21692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21698 # For clock_gettime support.
21699 # NB: The default is [no], because otherwise it requires linking.
21702 echo "$as_me:$LINENO: checking for clock_gettime clocks" >&5
21703 echo $ECHO_N "checking for clock_gettime clocks... $ECHO_C" >&6
21704 # Check whether --enable-clock-gettime or --disable-clock-gettime was given.
21705 if test "${enable_clock_gettime+set}" = set; then
21706 enableval="$enable_clock_gettime"
21708 case "$enableval" in
21709 yes|no|rt) ;;
21710 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clock-gettime" >&5
21711 echo "$as_me: error: Unknown argument to enable/disable clock-gettime" >&2;}
21712 { (exit 1); exit 1; }; } ;;
21713 esac
21715 else
21716 enable_clock_gettime=no
21722 ac_ext=cc
21723 ac_cpp='$CXXCPP $CPPFLAGS'
21724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21728 ac_save_CXXFLAGS="$CXXFLAGS"
21729 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21730 ac_save_LIBS="$LIBS"
21732 ac_has_clock_monotonic=no;
21733 ac_has_clock_realtime=no;
21735 if test x"$enable_clock_gettime" != x"no"; then
21737 if test x"$enable_clock_gettime" = x"rt"; then
21738 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21739 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21740 if test "${ac_cv_search_clock_gettime+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 else
21743 ac_func_search_save_LIBS=$LIBS
21744 ac_cv_search_clock_gettime=no
21745 if test x$gcc_no_link = xyes; then
21746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21748 { (exit 1); exit 1; }; }
21750 cat >conftest.$ac_ext <<_ACEOF
21751 /* confdefs.h. */
21752 _ACEOF
21753 cat confdefs.h >>conftest.$ac_ext
21754 cat >>conftest.$ac_ext <<_ACEOF
21755 /* end confdefs.h. */
21757 /* Override any gcc2 internal prototype to avoid an error. */
21758 #ifdef __cplusplus
21759 extern "C"
21760 #endif
21761 /* We use char because int might match the return type of a gcc2
21762 builtin and then its argument prototype would still apply. */
21763 char clock_gettime ();
21765 main ()
21767 clock_gettime ();
21769 return 0;
21771 _ACEOF
21772 rm -f conftest.$ac_objext conftest$ac_exeext
21773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21774 (eval $ac_link) 2>conftest.er1
21775 ac_status=$?
21776 grep -v '^ *+' conftest.er1 >conftest.err
21777 rm -f conftest.er1
21778 cat conftest.err >&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } &&
21781 { ac_try='test -z "$ac_cxx_werror_flag"
21782 || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest$ac_exeext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 ac_cv_search_clock_gettime="none required"
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21800 rm -f conftest.err conftest.$ac_objext \
21801 conftest$ac_exeext conftest.$ac_ext
21802 if test "$ac_cv_search_clock_gettime" = no; then
21803 for ac_lib in rt posix4; do
21804 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21805 if test x$gcc_no_link = xyes; then
21806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21808 { (exit 1); exit 1; }; }
21810 cat >conftest.$ac_ext <<_ACEOF
21811 /* confdefs.h. */
21812 _ACEOF
21813 cat confdefs.h >>conftest.$ac_ext
21814 cat >>conftest.$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21817 /* Override any gcc2 internal prototype to avoid an error. */
21818 #ifdef __cplusplus
21819 extern "C"
21820 #endif
21821 /* We use char because int might match the return type of a gcc2
21822 builtin and then its argument prototype would still apply. */
21823 char clock_gettime ();
21825 main ()
21827 clock_gettime ();
21829 return 0;
21831 _ACEOF
21832 rm -f conftest.$ac_objext conftest$ac_exeext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21834 (eval $ac_link) 2>conftest.er1
21835 ac_status=$?
21836 grep -v '^ *+' conftest.er1 >conftest.err
21837 rm -f conftest.er1
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } &&
21841 { ac_try='test -z "$ac_cxx_werror_flag"
21842 || test ! -s conftest.err'
21843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21844 (eval $ac_try) 2>&5
21845 ac_status=$?
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); }; } &&
21848 { ac_try='test -s conftest$ac_exeext'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21851 ac_status=$?
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; }; then
21854 ac_cv_search_clock_gettime="-l$ac_lib"
21855 break
21856 else
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21861 rm -f conftest.err conftest.$ac_objext \
21862 conftest$ac_exeext conftest.$ac_ext
21863 done
21865 LIBS=$ac_func_search_save_LIBS
21867 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21868 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21869 if test "$ac_cv_search_clock_gettime" != no; then
21870 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21874 else
21875 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21876 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21877 if test "${ac_cv_search_clock_gettime+set}" = set; then
21878 echo $ECHO_N "(cached) $ECHO_C" >&6
21879 else
21880 ac_func_search_save_LIBS=$LIBS
21881 ac_cv_search_clock_gettime=no
21882 if test x$gcc_no_link = xyes; then
21883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21885 { (exit 1); exit 1; }; }
21887 cat >conftest.$ac_ext <<_ACEOF
21888 /* confdefs.h. */
21889 _ACEOF
21890 cat confdefs.h >>conftest.$ac_ext
21891 cat >>conftest.$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21894 /* Override any gcc2 internal prototype to avoid an error. */
21895 #ifdef __cplusplus
21896 extern "C"
21897 #endif
21898 /* We use char because int might match the return type of a gcc2
21899 builtin and then its argument prototype would still apply. */
21900 char clock_gettime ();
21902 main ()
21904 clock_gettime ();
21906 return 0;
21908 _ACEOF
21909 rm -f conftest.$ac_objext conftest$ac_exeext
21910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21911 (eval $ac_link) 2>conftest.er1
21912 ac_status=$?
21913 grep -v '^ *+' conftest.er1 >conftest.err
21914 rm -f conftest.er1
21915 cat conftest.err >&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try='test -z "$ac_cxx_werror_flag"
21919 || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try='test -s conftest$ac_exeext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21928 ac_status=$?
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21931 ac_cv_search_clock_gettime="none required"
21932 else
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21937 rm -f conftest.err conftest.$ac_objext \
21938 conftest$ac_exeext conftest.$ac_ext
21939 if test "$ac_cv_search_clock_gettime" = no; then
21940 for ac_lib in posix4; do
21941 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21942 if test x$gcc_no_link = xyes; then
21943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21945 { (exit 1); exit 1; }; }
21947 cat >conftest.$ac_ext <<_ACEOF
21948 /* confdefs.h. */
21949 _ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21954 /* Override any gcc2 internal prototype to avoid an error. */
21955 #ifdef __cplusplus
21956 extern "C"
21957 #endif
21958 /* We use char because int might match the return type of a gcc2
21959 builtin and then its argument prototype would still apply. */
21960 char clock_gettime ();
21962 main ()
21964 clock_gettime ();
21966 return 0;
21968 _ACEOF
21969 rm -f conftest.$ac_objext conftest$ac_exeext
21970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21971 (eval $ac_link) 2>conftest.er1
21972 ac_status=$?
21973 grep -v '^ *+' conftest.er1 >conftest.err
21974 rm -f conftest.er1
21975 cat conftest.err >&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); } &&
21978 { ac_try='test -z "$ac_cxx_werror_flag"
21979 || test ! -s conftest.err'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21982 ac_status=$?
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; } &&
21985 { ac_try='test -s conftest$ac_exeext'
21986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987 (eval $ac_try) 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; }; then
21991 ac_cv_search_clock_gettime="-l$ac_lib"
21992 break
21993 else
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.$ac_ext >&5
21998 rm -f conftest.err conftest.$ac_objext \
21999 conftest$ac_exeext conftest.$ac_ext
22000 done
22002 LIBS=$ac_func_search_save_LIBS
22004 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22005 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22006 if test "$ac_cv_search_clock_gettime" != no; then
22007 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22013 case "$ac_cv_search_clock_gettime" in
22014 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
22015 esac
22018 for ac_header in unistd.h
22020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22022 echo "$as_me:$LINENO: checking for $ac_header" >&5
22023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22025 echo $ECHO_N "(cached) $ECHO_C" >&6
22027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22029 else
22030 # Is the header compilable?
22031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22033 cat >conftest.$ac_ext <<_ACEOF
22034 /* confdefs.h. */
22035 _ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 #include <$ac_header>
22041 _ACEOF
22042 rm -f conftest.$ac_objext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22044 (eval $ac_compile) 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try='test -z "$ac_cxx_werror_flag"
22052 || test ! -s conftest.err'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22055 ac_status=$?
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; } &&
22058 { ac_try='test -s conftest.$ac_objext'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22061 ac_status=$?
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22064 ac_header_compiler=yes
22065 else
22066 echo "$as_me: failed program was:" >&5
22067 sed 's/^/| /' conftest.$ac_ext >&5
22069 ac_header_compiler=no
22071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22073 echo "${ECHO_T}$ac_header_compiler" >&6
22075 # Is the header present?
22076 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22078 cat >conftest.$ac_ext <<_ACEOF
22079 /* confdefs.h. */
22080 _ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 #include <$ac_header>
22085 _ACEOF
22086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22088 ac_status=$?
22089 grep -v '^ *+' conftest.er1 >conftest.err
22090 rm -f conftest.er1
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } >/dev/null; then
22094 if test -s conftest.err; then
22095 ac_cpp_err=$ac_cxx_preproc_warn_flag
22096 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22097 else
22098 ac_cpp_err=
22100 else
22101 ac_cpp_err=yes
22103 if test -z "$ac_cpp_err"; then
22104 ac_header_preproc=yes
22105 else
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.$ac_ext >&5
22109 ac_header_preproc=no
22111 rm -f conftest.err conftest.$ac_ext
22112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22113 echo "${ECHO_T}$ac_header_preproc" >&6
22115 # So? What about this header?
22116 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22117 yes:no: )
22118 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22119 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22121 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22122 ac_header_preproc=yes
22124 no:yes:* )
22125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22129 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22130 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22131 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22132 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22135 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22136 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22138 cat <<\_ASBOX
22139 ## ----------------------------------------- ##
22140 ## Report this to the package-unused lists. ##
22141 ## ----------------------------------------- ##
22142 _ASBOX
22144 sed "s/^/$as_me: WARNING: /" >&2
22146 esac
22147 echo "$as_me:$LINENO: checking for $ac_header" >&5
22148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22150 echo $ECHO_N "(cached) $ECHO_C" >&6
22151 else
22152 eval "$as_ac_Header=\$ac_header_preproc"
22154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22159 cat >>confdefs.h <<_ACEOF
22160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22161 _ACEOF
22162 ac_has_unistd_h=yes
22163 else
22164 ac_has_unistd_h=no
22167 done
22170 if test x"$ac_has_unistd_h" = x"yes"; then
22171 echo "$as_me:$LINENO: checking for monotonic clock" >&5
22172 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
22173 if test x$gcc_no_link = xyes; then
22174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22176 { (exit 1); exit 1; }; }
22178 cat >conftest.$ac_ext <<_ACEOF
22179 /* confdefs.h. */
22180 _ACEOF
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 #include <unistd.h>
22185 #include <time.h>
22188 main ()
22190 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
22191 timespec tp;
22192 #endif
22193 clock_gettime(CLOCK_MONOTONIC, &tp);
22196 return 0;
22198 _ACEOF
22199 rm -f conftest.$ac_objext conftest$ac_exeext
22200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22201 (eval $ac_link) 2>conftest.er1
22202 ac_status=$?
22203 grep -v '^ *+' conftest.er1 >conftest.err
22204 rm -f conftest.er1
22205 cat conftest.err >&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); } &&
22208 { ac_try='test -z "$ac_cxx_werror_flag"
22209 || test ! -s conftest.err'
22210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211 (eval $ac_try) 2>&5
22212 ac_status=$?
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); }; } &&
22215 { ac_try='test -s conftest$ac_exeext'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; }; then
22221 ac_has_clock_monotonic=yes
22222 else
22223 echo "$as_me: failed program was:" >&5
22224 sed 's/^/| /' conftest.$ac_ext >&5
22226 ac_has_clock_monotonic=no
22228 rm -f conftest.err conftest.$ac_objext \
22229 conftest$ac_exeext conftest.$ac_ext
22231 echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
22232 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
22234 echo "$as_me:$LINENO: checking for realtime clock" >&5
22235 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
22236 if test x$gcc_no_link = xyes; then
22237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22239 { (exit 1); exit 1; }; }
22241 cat >conftest.$ac_ext <<_ACEOF
22242 /* confdefs.h. */
22243 _ACEOF
22244 cat confdefs.h >>conftest.$ac_ext
22245 cat >>conftest.$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247 #include <unistd.h>
22248 #include <time.h>
22251 main ()
22253 #if _POSIX_TIMERS > 0
22254 timespec tp;
22255 #endif
22256 clock_gettime(CLOCK_REALTIME, &tp);
22259 return 0;
22261 _ACEOF
22262 rm -f conftest.$ac_objext conftest$ac_exeext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22264 (eval $ac_link) 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } &&
22271 { ac_try='test -z "$ac_cxx_werror_flag"
22272 || test ! -s conftest.err'
22273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22274 (eval $ac_try) 2>&5
22275 ac_status=$?
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); }; } &&
22278 { ac_try='test -s conftest$ac_exeext'
22279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22280 (eval $ac_try) 2>&5
22281 ac_status=$?
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); }; }; then
22284 ac_has_clock_realtime=yes
22285 else
22286 echo "$as_me: failed program was:" >&5
22287 sed 's/^/| /' conftest.$ac_ext >&5
22289 ac_has_clock_realtime=no
22291 rm -f conftest.err conftest.$ac_objext \
22292 conftest$ac_exeext conftest.$ac_ext
22294 echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
22295 echo "${ECHO_T}$ac_has_clock_realtime" >&6
22300 if test x"$ac_has_clock_monotonic" = x"yes"; then
22302 cat >>confdefs.h <<\_ACEOF
22303 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
22304 _ACEOF
22308 if test x"$ac_has_clock_realtime" = x"yes"; then
22310 cat >>confdefs.h <<\_ACEOF
22311 #define _GLIBCXX_USE_CLOCK_REALTIME 1
22312 _ACEOF
22318 CXXFLAGS="$ac_save_CXXFLAGS"
22319 LIBS="$ac_save_LIBS"
22320 ac_ext=c
22321 ac_cpp='$CPP $CPPFLAGS'
22322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22328 # For gthread support
22332 ac_ext=cc
22333 ac_cpp='$CXXCPP $CPPFLAGS'
22334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22339 ac_save_CXXFLAGS="$CXXFLAGS"
22340 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
22342 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
22343 case $target_thread_file in
22344 posix)
22345 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
22346 esac
22348 echo "$as_me:$LINENO: checking for gthreads library" >&5
22349 echo $ECHO_N "checking for gthreads library... $ECHO_C" >&6
22351 cat >conftest.$ac_ext <<_ACEOF
22352 /* confdefs.h. */
22353 _ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 #include "gthr.h"
22359 main ()
22362 #ifndef __GTHREADS_CXX0X
22363 #error
22364 #endif
22366 // In case of POSIX threads check _POSIX_TIMEOUTS too.
22367 #if (defined(_PTHREADS) \
22368 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
22369 #error
22370 #endif
22373 return 0;
22375 _ACEOF
22376 rm -f conftest.$ac_objext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22378 (eval $ac_compile) 2>conftest.er1
22379 ac_status=$?
22380 grep -v '^ *+' conftest.er1 >conftest.err
22381 rm -f conftest.er1
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } &&
22385 { ac_try='test -z "$ac_cxx_werror_flag"
22386 || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try='test -s conftest.$ac_objext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 ac_has_gthreads=yes
22399 else
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22403 ac_has_gthreads=no
22405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22407 echo "$as_me:$LINENO: result: $ac_has_gthreads" >&5
22408 echo "${ECHO_T}$ac_has_gthreads" >&6
22410 if test x"$ac_has_gthreads" = x"yes"; then
22412 cat >>confdefs.h <<\_ACEOF
22413 #define _GLIBCXX_HAS_GTHREADS 1
22414 _ACEOF
22418 CXXFLAGS="$ac_save_CXXFLAGS"
22419 ac_ext=c
22420 ac_cpp='$CPP $CPPFLAGS'
22421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22427 # For nanosleep support
22430 echo "$as_me:$LINENO: checking for nanosleep" >&5
22431 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22435 ac_ext=cc
22436 ac_cpp='$CXXCPP $CPPFLAGS'
22437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22441 ac_save_CXXFLAGS="$CXXFLAGS"
22442 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22444 ac_has_nanosleep=no;
22446 for ac_header in time.h
22448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22450 echo "$as_me:$LINENO: checking for $ac_header" >&5
22451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22453 echo $ECHO_N "(cached) $ECHO_C" >&6
22455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22457 else
22458 # Is the header compilable?
22459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22461 cat >conftest.$ac_ext <<_ACEOF
22462 /* confdefs.h. */
22463 _ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 $ac_includes_default
22468 #include <$ac_header>
22469 _ACEOF
22470 rm -f conftest.$ac_objext
22471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22472 (eval $ac_compile) 2>conftest.er1
22473 ac_status=$?
22474 grep -v '^ *+' conftest.er1 >conftest.err
22475 rm -f conftest.er1
22476 cat conftest.err >&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); } &&
22479 { ac_try='test -z "$ac_cxx_werror_flag"
22480 || test ! -s conftest.err'
22481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22482 (eval $ac_try) 2>&5
22483 ac_status=$?
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; } &&
22486 { ac_try='test -s conftest.$ac_objext'
22487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488 (eval $ac_try) 2>&5
22489 ac_status=$?
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); }; }; then
22492 ac_header_compiler=yes
22493 else
22494 echo "$as_me: failed program was:" >&5
22495 sed 's/^/| /' conftest.$ac_ext >&5
22497 ac_header_compiler=no
22499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22501 echo "${ECHO_T}$ac_header_compiler" >&6
22503 # Is the header present?
22504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22506 cat >conftest.$ac_ext <<_ACEOF
22507 /* confdefs.h. */
22508 _ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 #include <$ac_header>
22513 _ACEOF
22514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22516 ac_status=$?
22517 grep -v '^ *+' conftest.er1 >conftest.err
22518 rm -f conftest.er1
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } >/dev/null; then
22522 if test -s conftest.err; then
22523 ac_cpp_err=$ac_cxx_preproc_warn_flag
22524 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22525 else
22526 ac_cpp_err=
22528 else
22529 ac_cpp_err=yes
22531 if test -z "$ac_cpp_err"; then
22532 ac_header_preproc=yes
22533 else
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22537 ac_header_preproc=no
22539 rm -f conftest.err conftest.$ac_ext
22540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22541 echo "${ECHO_T}$ac_header_preproc" >&6
22543 # So? What about this header?
22544 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22545 yes:no: )
22546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22549 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22550 ac_header_preproc=yes
22552 no:yes:* )
22553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22557 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22558 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22559 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22560 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22563 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22564 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22566 cat <<\_ASBOX
22567 ## ----------------------------------------- ##
22568 ## Report this to the package-unused lists. ##
22569 ## ----------------------------------------- ##
22570 _ASBOX
22572 sed "s/^/$as_me: WARNING: /" >&2
22574 esac
22575 echo "$as_me:$LINENO: checking for $ac_header" >&5
22576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22578 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 else
22580 eval "$as_ac_Header=\$ac_header_preproc"
22582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22587 cat >>confdefs.h <<_ACEOF
22588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22589 _ACEOF
22590 ac_has_time_h=yes
22591 else
22592 ac_has_time_h=no
22595 done
22597 if test x"$ac_has_time_h" = x"yes"; then
22598 echo "$as_me:$LINENO: checking for nanosleep" >&5
22599 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #include <time.h>
22608 main ()
22610 timespec ts; nanosleep(&ts, 0);
22612 return 0;
22614 _ACEOF
22615 rm -f conftest.$ac_objext
22616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22617 (eval $ac_compile) 2>conftest.er1
22618 ac_status=$?
22619 grep -v '^ *+' conftest.er1 >conftest.err
22620 rm -f conftest.er1
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } &&
22624 { ac_try='test -z "$ac_cxx_werror_flag"
22625 || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try='test -s conftest.$ac_objext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22634 ac_status=$?
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 ac_has_nanosleep=yes
22638 else
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22642 ac_has_nanosleep=no
22644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22646 echo "$as_me:$LINENO: result: $ac_has_nanosleep" >&5
22647 echo "${ECHO_T}$ac_has_nanosleep" >&6
22650 if test x"$ac_has_nanosleep" = x"yes"; then
22652 cat >>confdefs.h <<\_ACEOF
22653 #define _GLIBCXX_USE_NANOSLEEP 1
22654 _ACEOF
22658 CXXFLAGS="$ac_save_CXXFLAGS"
22659 ac_ext=c
22660 ac_cpp='$CPP $CPPFLAGS'
22661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22668 if test "${ac_cv_header_locale_h+set}" = set; then
22669 echo "$as_me:$LINENO: checking for locale.h" >&5
22670 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22671 if test "${ac_cv_header_locale_h+set}" = set; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22675 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22676 else
22677 # Is the header compilable?
22678 echo "$as_me:$LINENO: checking locale.h usability" >&5
22679 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
22680 cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h. */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 $ac_includes_default
22687 #include <locale.h>
22688 _ACEOF
22689 rm -f conftest.$ac_objext
22690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22691 (eval $ac_compile) 2>conftest.er1
22692 ac_status=$?
22693 grep -v '^ *+' conftest.er1 >conftest.err
22694 rm -f conftest.er1
22695 cat conftest.err >&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } &&
22698 { ac_try='test -z "$ac_c_werror_flag"
22699 || test ! -s conftest.err'
22700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22701 (eval $ac_try) 2>&5
22702 ac_status=$?
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); }; } &&
22705 { ac_try='test -s conftest.$ac_objext'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; }; then
22711 ac_header_compiler=yes
22712 else
22713 echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.$ac_ext >&5
22716 ac_header_compiler=no
22718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22720 echo "${ECHO_T}$ac_header_compiler" >&6
22722 # Is the header present?
22723 echo "$as_me:$LINENO: checking locale.h presence" >&5
22724 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
22725 cat >conftest.$ac_ext <<_ACEOF
22726 /* confdefs.h. */
22727 _ACEOF
22728 cat confdefs.h >>conftest.$ac_ext
22729 cat >>conftest.$ac_ext <<_ACEOF
22730 /* end confdefs.h. */
22731 #include <locale.h>
22732 _ACEOF
22733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22735 ac_status=$?
22736 grep -v '^ *+' conftest.er1 >conftest.err
22737 rm -f conftest.er1
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } >/dev/null; then
22741 if test -s conftest.err; then
22742 ac_cpp_err=$ac_c_preproc_warn_flag
22743 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22744 else
22745 ac_cpp_err=
22747 else
22748 ac_cpp_err=yes
22750 if test -z "$ac_cpp_err"; then
22751 ac_header_preproc=yes
22752 else
22753 echo "$as_me: failed program was:" >&5
22754 sed 's/^/| /' conftest.$ac_ext >&5
22756 ac_header_preproc=no
22758 rm -f conftest.err conftest.$ac_ext
22759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22760 echo "${ECHO_T}$ac_header_preproc" >&6
22762 # So? What about this header?
22763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22764 yes:no: )
22765 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
22766 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22767 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
22768 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
22769 ac_header_preproc=yes
22771 no:yes:* )
22772 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
22773 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
22774 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
22775 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
22776 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
22777 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
22778 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
22779 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
22780 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
22781 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
22782 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
22783 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
22785 cat <<\_ASBOX
22786 ## ----------------------------------------- ##
22787 ## Report this to the package-unused lists. ##
22788 ## ----------------------------------------- ##
22789 _ASBOX
22791 sed "s/^/$as_me: WARNING: /" >&2
22793 esac
22794 echo "$as_me:$LINENO: checking for locale.h" >&5
22795 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22796 if test "${ac_cv_header_locale_h+set}" = set; then
22797 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 else
22799 ac_cv_header_locale_h=$ac_header_preproc
22801 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22802 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22805 if test $ac_cv_header_locale_h = yes; then
22807 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22808 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22809 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
22810 echo $ECHO_N "(cached) $ECHO_C" >&6
22811 else
22812 cat >conftest.$ac_ext <<_ACEOF
22813 /* confdefs.h. */
22814 _ACEOF
22815 cat confdefs.h >>conftest.$ac_ext
22816 cat >>conftest.$ac_ext <<_ACEOF
22817 /* end confdefs.h. */
22818 #include <locale.h>
22820 main ()
22822 return LC_MESSAGES
22824 return 0;
22826 _ACEOF
22827 rm -f conftest.$ac_objext
22828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22829 (eval $ac_compile) 2>conftest.er1
22830 ac_status=$?
22831 grep -v '^ *+' conftest.er1 >conftest.err
22832 rm -f conftest.er1
22833 cat conftest.err >&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } &&
22836 { ac_try='test -z "$ac_c_werror_flag"
22837 || test ! -s conftest.err'
22838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22840 ac_status=$?
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); }; } &&
22843 { ac_try='test -s conftest.$ac_objext'
22844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22845 (eval $ac_try) 2>&5
22846 ac_status=$?
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); }; }; then
22849 ac_cv_val_LC_MESSAGES=yes
22850 else
22851 echo "$as_me: failed program was:" >&5
22852 sed 's/^/| /' conftest.$ac_ext >&5
22854 ac_cv_val_LC_MESSAGES=no
22856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22858 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
22859 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
22860 if test $ac_cv_val_LC_MESSAGES = yes; then
22862 cat >>confdefs.h <<\_ACEOF
22863 #define HAVE_LC_MESSAGES 1
22864 _ACEOF
22873 # Check for available headers.
22899 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
22900 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22901 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22902 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22903 wchar.h wctype.h
22905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22907 echo "$as_me:$LINENO: checking for $ac_header" >&5
22908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22914 else
22915 # Is the header compilable?
22916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22918 cat >conftest.$ac_ext <<_ACEOF
22919 /* confdefs.h. */
22920 _ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 $ac_includes_default
22925 #include <$ac_header>
22926 _ACEOF
22927 rm -f conftest.$ac_objext
22928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22929 (eval $ac_compile) 2>conftest.er1
22930 ac_status=$?
22931 grep -v '^ *+' conftest.er1 >conftest.err
22932 rm -f conftest.er1
22933 cat conftest.err >&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -z "$ac_c_werror_flag"
22937 || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try='test -s conftest.$ac_objext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_header_compiler=yes
22950 else
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22954 ac_header_compiler=no
22956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22958 echo "${ECHO_T}$ac_header_compiler" >&6
22960 # Is the header present?
22961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22963 cat >conftest.$ac_ext <<_ACEOF
22964 /* confdefs.h. */
22965 _ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969 #include <$ac_header>
22970 _ACEOF
22971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22973 ac_status=$?
22974 grep -v '^ *+' conftest.er1 >conftest.err
22975 rm -f conftest.er1
22976 cat conftest.err >&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } >/dev/null; then
22979 if test -s conftest.err; then
22980 ac_cpp_err=$ac_c_preproc_warn_flag
22981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22982 else
22983 ac_cpp_err=
22985 else
22986 ac_cpp_err=yes
22988 if test -z "$ac_cpp_err"; then
22989 ac_header_preproc=yes
22990 else
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.$ac_ext >&5
22994 ac_header_preproc=no
22996 rm -f conftest.err conftest.$ac_ext
22997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22998 echo "${ECHO_T}$ac_header_preproc" >&6
23000 # So? What about this header?
23001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23002 yes:no: )
23003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23007 ac_header_preproc=yes
23009 no:yes:* )
23010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23023 cat <<\_ASBOX
23024 ## ----------------------------------------- ##
23025 ## Report this to the package-unused lists. ##
23026 ## ----------------------------------------- ##
23027 _ASBOX
23029 sed "s/^/$as_me: WARNING: /" >&2
23031 esac
23032 echo "$as_me:$LINENO: checking for $ac_header" >&5
23033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23035 echo $ECHO_N "(cached) $ECHO_C" >&6
23036 else
23037 eval "$as_ac_Header=\$ac_header_preproc"
23039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23044 cat >>confdefs.h <<_ACEOF
23045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23046 _ACEOF
23050 done
23053 # Only do link tests if native. Else, hardcode.
23054 if $GLIBCXX_IS_NATIVE; then
23056 # We can do more elaborate tests that assume a working linker.
23057 CANADIAN=no
23061 # Check whether --with-gnu-ld or --without-gnu-ld was given.
23062 if test "${with_gnu_ld+set}" = set; then
23063 withval="$with_gnu_ld"
23064 test "$withval" = no || with_gnu_ld=yes
23065 else
23066 with_gnu_ld=no
23068 ac_prog=ld
23069 if test "$GCC" = yes; then
23070 # Check if gcc -print-prog-name=ld gives a path.
23071 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
23072 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
23073 case $host in
23074 *-*-mingw*)
23075 # gcc leaves a trailing carriage return which upsets mingw
23076 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23078 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23079 esac
23080 case $ac_prog in
23081 # Accept absolute paths.
23082 [\\/]* | ?:[\\/]*)
23083 re_direlt='/[^/][^/]*/\.\./'
23084 # Canonicalize the pathname of ld
23085 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23086 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23087 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23088 done
23089 test -z "$LD" && LD="$ac_prog"
23092 # If it fails, then pretend we aren't using GCC.
23093 ac_prog=ld
23096 # If it is relative, then search for the first ld in PATH.
23097 with_gnu_ld=unknown
23099 esac
23100 elif test "$with_gnu_ld" = yes; then
23101 echo "$as_me:$LINENO: checking for GNU ld" >&5
23102 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23103 else
23104 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23105 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23107 if test "${lt_cv_path_LD+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23109 else
23110 if test -z "$LD"; then
23111 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23112 for ac_dir in $PATH; do
23113 IFS="$lt_save_ifs"
23114 test -z "$ac_dir" && ac_dir=.
23115 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23116 lt_cv_path_LD="$ac_dir/$ac_prog"
23117 # Check to see if the program is GNU ld. I'd rather use --version,
23118 # but apparently some variants of GNU ld only accept -v.
23119 # Break only if it was the GNU/non-GNU ld that we prefer.
23120 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23121 *GNU* | *'with BFD'*)
23122 test "$with_gnu_ld" != no && break
23125 test "$with_gnu_ld" != yes && break
23127 esac
23129 done
23130 IFS="$lt_save_ifs"
23131 else
23132 lt_cv_path_LD="$LD" # Let the user override the test with a path.
23136 LD="$lt_cv_path_LD"
23137 if test -n "$LD"; then
23138 echo "$as_me:$LINENO: result: $LD" >&5
23139 echo "${ECHO_T}$LD" >&6
23140 else
23141 echo "$as_me:$LINENO: result: no" >&5
23142 echo "${ECHO_T}no" >&6
23144 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
23145 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
23146 { (exit 1); exit 1; }; }
23147 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23148 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
23149 if test "${lt_cv_prog_gnu_ld+set}" = set; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23151 else
23152 # I'd rather use --version here, but apparently some GNU lds only accept -v.
23153 case `$LD -v 2>&1 </dev/null` in
23154 *GNU* | *'with BFD'*)
23155 lt_cv_prog_gnu_ld=yes
23158 lt_cv_prog_gnu_ld=no
23160 esac
23162 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
23163 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
23164 with_gnu_ld=$lt_cv_prog_gnu_ld
23172 # If we're not using GNU ld, then there's no point in even trying these
23173 # tests. Check for that first. We should have already tested for gld
23174 # by now (in libtool), but require it now just to be safe...
23175 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
23176 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
23180 # The name set by libtool depends on the version of libtool. Shame on us
23181 # for depending on an impl detail, but c'est la vie. Older versions used
23182 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
23183 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
23184 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
23185 # set (hence we're using an older libtool), then set it.
23186 if test x${with_gnu_ld+set} != xset; then
23187 if test x${ac_cv_prog_gnu_ld+set} != xset; then
23188 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
23189 with_gnu_ld=no
23190 else
23191 with_gnu_ld=$ac_cv_prog_gnu_ld
23195 # Start by getting the version number. I think the libtool test already
23196 # does some of this, but throws away the result.
23197 glibcxx_ld_is_gold=no
23198 if test x"$with_gnu_ld" = x"yes"; then
23199 echo "$as_me:$LINENO: checking for ld version" >&5
23200 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
23202 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
23203 glibcxx_ld_is_gold=yes
23205 ldver=`$LD --version 2>/dev/null | head -1 | \
23206 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
23208 glibcxx_gnu_ld_version=`echo $ldver | \
23209 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
23210 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
23211 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
23214 # Set --gc-sections.
23215 glibcxx_have_gc_sections=no
23216 if test "$glibcxx_ld_is_gold" = "yes"; then
23217 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
23218 glibcxx_have_gc_sections=yes
23220 else
23221 glibcxx_gcsections_min_ld=21602
23222 if test x"$with_gnu_ld" = x"yes" &&
23223 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
23224 glibcxx_have_gc_sections=yes
23227 if test "$glibcxx_have_gc_sections" = "yes"; then
23228 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
23229 # NB: This flag only works reliably after 2.16.1. Configure tests
23230 # for this are difficult, so hard wire a value that should work.
23232 ac_test_CFLAGS="${CFLAGS+set}"
23233 ac_save_CFLAGS="$CFLAGS"
23234 CFLAGS='-Wl,--gc-sections'
23236 # Check for -Wl,--gc-sections
23237 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
23238 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
23239 if test x$gcc_no_link = xyes; then
23240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23242 { (exit 1); exit 1; }; }
23244 cat >conftest.$ac_ext <<_ACEOF
23245 /* confdefs.h. */
23246 _ACEOF
23247 cat confdefs.h >>conftest.$ac_ext
23248 cat >>conftest.$ac_ext <<_ACEOF
23249 /* end confdefs.h. */
23250 int one(void) { return 1; }
23251 int two(void) { return 2; }
23254 main ()
23256 two();
23258 return 0;
23260 _ACEOF
23261 rm -f conftest.$ac_objext conftest$ac_exeext
23262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23263 (eval $ac_link) 2>conftest.er1
23264 ac_status=$?
23265 grep -v '^ *+' conftest.er1 >conftest.err
23266 rm -f conftest.er1
23267 cat conftest.err >&5
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); } &&
23270 { ac_try='test -z "$ac_c_werror_flag"
23271 || test ! -s conftest.err'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; } &&
23277 { ac_try='test -s conftest$ac_exeext'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; }; then
23283 ac_gcsections=yes
23284 else
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23288 ac_gcsections=no
23290 rm -f conftest.err conftest.$ac_objext \
23291 conftest$ac_exeext conftest.$ac_ext
23292 if test "$ac_gcsections" = "yes"; then
23293 rm -f conftest.c
23294 touch conftest.c
23295 if $CC -c conftest.c; then
23296 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23297 grep "Warning: gc-sections option ignored" > /dev/null; then
23298 ac_gcsections=no
23301 rm -f conftest.c conftest.o conftest
23303 if test "$ac_gcsections" = "yes"; then
23304 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23306 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
23307 echo "${ECHO_T}$ac_gcsections" >&6
23309 if test "$ac_test_CFLAGS" = set; then
23310 CFLAGS="$ac_save_CFLAGS"
23311 else
23312 # this is the suspicious part
23313 CFLAGS=''
23317 # Set -z,relro.
23318 # Note this is only for shared objects.
23319 ac_ld_relro=no
23320 if test x"$with_gnu_ld" = x"yes"; then
23321 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
23322 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
23323 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23324 if test -n "$cxx_z_relo"; then
23325 OPT_LDFLAGS="-Wl,-z,relro"
23326 ac_ld_relro=yes
23328 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
23329 echo "${ECHO_T}$ac_ld_relro" >&6
23332 # Set linker optimization flags.
23333 if test x"$with_gnu_ld" = x"yes"; then
23334 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
23342 ac_save_CXXFLAGS="$CXXFLAGS"
23343 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23345 echo "$as_me:$LINENO: checking for sin in -lm" >&5
23346 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
23347 if test "${ac_cv_lib_m_sin+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23349 else
23350 ac_check_lib_save_LIBS=$LIBS
23351 LIBS="-lm $LIBS"
23352 if test x$gcc_no_link = xyes; then
23353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23355 { (exit 1); exit 1; }; }
23357 cat >conftest.$ac_ext <<_ACEOF
23358 /* confdefs.h. */
23359 _ACEOF
23360 cat confdefs.h >>conftest.$ac_ext
23361 cat >>conftest.$ac_ext <<_ACEOF
23362 /* end confdefs.h. */
23364 /* Override any gcc2 internal prototype to avoid an error. */
23365 #ifdef __cplusplus
23366 extern "C"
23367 #endif
23368 /* We use char because int might match the return type of a gcc2
23369 builtin and then its argument prototype would still apply. */
23370 char sin ();
23372 main ()
23374 sin ();
23376 return 0;
23378 _ACEOF
23379 rm -f conftest.$ac_objext conftest$ac_exeext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23381 (eval $ac_link) 2>conftest.er1
23382 ac_status=$?
23383 grep -v '^ *+' conftest.er1 >conftest.err
23384 rm -f conftest.er1
23385 cat conftest.err >&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try='test -z "$ac_c_werror_flag"
23389 || test ! -s conftest.err'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23392 ac_status=$?
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; } &&
23395 { ac_try='test -s conftest$ac_exeext'
23396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23397 (eval $ac_try) 2>&5
23398 ac_status=$?
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); }; }; then
23401 ac_cv_lib_m_sin=yes
23402 else
23403 echo "$as_me: failed program was:" >&5
23404 sed 's/^/| /' conftest.$ac_ext >&5
23406 ac_cv_lib_m_sin=no
23408 rm -f conftest.err conftest.$ac_objext \
23409 conftest$ac_exeext conftest.$ac_ext
23410 LIBS=$ac_check_lib_save_LIBS
23412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
23413 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
23414 if test $ac_cv_lib_m_sin = yes; then
23415 libm="-lm"
23418 ac_save_LIBS="$LIBS"
23419 LIBS="$LIBS $libm"
23423 echo "$as_me:$LINENO: checking for isinf declaration" >&5
23424 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
23425 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23426 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23428 else
23432 ac_ext=cc
23433 ac_cpp='$CXXCPP $CPPFLAGS'
23434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23438 cat >conftest.$ac_ext <<_ACEOF
23439 /* confdefs.h. */
23440 _ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 #include <math.h>
23445 #ifdef HAVE_IEEEFP_H
23446 #include <ieeefp.h>
23447 #endif
23450 main ()
23452 isinf(0);
23454 return 0;
23456 _ACEOF
23457 rm -f conftest.$ac_objext
23458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23459 (eval $ac_compile) 2>conftest.er1
23460 ac_status=$?
23461 grep -v '^ *+' conftest.er1 >conftest.err
23462 rm -f conftest.er1
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } &&
23466 { ac_try='test -z "$ac_cxx_werror_flag"
23467 || test ! -s conftest.err'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; } &&
23473 { ac_try='test -s conftest.$ac_objext'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; }; then
23479 glibcxx_cv_func_isinf_use=yes
23480 else
23481 echo "$as_me: failed program was:" >&5
23482 sed 's/^/| /' conftest.$ac_ext >&5
23484 glibcxx_cv_func_isinf_use=no
23486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23487 ac_ext=c
23488 ac_cpp='$CPP $CPPFLAGS'
23489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
23498 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
23500 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23502 for ac_func in isinf
23504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23505 echo "$as_me:$LINENO: checking for $ac_func" >&5
23506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23507 if eval "test \"\${$as_ac_var+set}\" = set"; then
23508 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 else
23510 if test x$gcc_no_link = xyes; then
23511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23513 { (exit 1); exit 1; }; }
23515 cat >conftest.$ac_ext <<_ACEOF
23516 /* confdefs.h. */
23517 _ACEOF
23518 cat confdefs.h >>conftest.$ac_ext
23519 cat >>conftest.$ac_ext <<_ACEOF
23520 /* end confdefs.h. */
23521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23523 #define $ac_func innocuous_$ac_func
23525 /* System header to define __stub macros and hopefully few prototypes,
23526 which can conflict with char $ac_func (); below.
23527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23528 <limits.h> exists even on freestanding compilers. */
23530 #ifdef __STDC__
23531 # include <limits.h>
23532 #else
23533 # include <assert.h>
23534 #endif
23536 #undef $ac_func
23538 /* Override any gcc2 internal prototype to avoid an error. */
23539 #ifdef __cplusplus
23540 extern "C"
23542 #endif
23543 /* We use char because int might match the return type of a gcc2
23544 builtin and then its argument prototype would still apply. */
23545 char $ac_func ();
23546 /* The GNU C library defines this for functions which it implements
23547 to always fail with ENOSYS. Some functions are actually named
23548 something starting with __ and the normal name is an alias. */
23549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23550 choke me
23551 #else
23552 char (*f) () = $ac_func;
23553 #endif
23554 #ifdef __cplusplus
23556 #endif
23559 main ()
23561 return f != $ac_func;
23563 return 0;
23565 _ACEOF
23566 rm -f conftest.$ac_objext conftest$ac_exeext
23567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23568 (eval $ac_link) 2>conftest.er1
23569 ac_status=$?
23570 grep -v '^ *+' conftest.er1 >conftest.err
23571 rm -f conftest.er1
23572 cat conftest.err >&5
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); } &&
23575 { ac_try='test -z "$ac_c_werror_flag"
23576 || test ! -s conftest.err'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23579 ac_status=$?
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; } &&
23582 { ac_try='test -s conftest$ac_exeext'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; }; then
23588 eval "$as_ac_var=yes"
23589 else
23590 echo "$as_me: failed program was:" >&5
23591 sed 's/^/| /' conftest.$ac_ext >&5
23593 eval "$as_ac_var=no"
23595 rm -f conftest.err conftest.$ac_objext \
23596 conftest$ac_exeext conftest.$ac_ext
23598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23600 if test `eval echo '${'$as_ac_var'}'` = yes; then
23601 cat >>confdefs.h <<_ACEOF
23602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23603 _ACEOF
23606 done
23608 else
23610 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
23611 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
23612 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23613 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23615 else
23619 ac_ext=cc
23620 ac_cpp='$CXXCPP $CPPFLAGS'
23621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23625 cat >conftest.$ac_ext <<_ACEOF
23626 /* confdefs.h. */
23627 _ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23631 #include <math.h>
23632 #ifdef HAVE_IEEEFP_H
23633 #include <ieeefp.h>
23634 #endif
23637 main ()
23639 _isinf(0);
23641 return 0;
23643 _ACEOF
23644 rm -f conftest.$ac_objext
23645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23646 (eval $ac_compile) 2>conftest.er1
23647 ac_status=$?
23648 grep -v '^ *+' conftest.er1 >conftest.err
23649 rm -f conftest.er1
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } &&
23653 { ac_try='test -z "$ac_cxx_werror_flag"
23654 || test ! -s conftest.err'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; } &&
23660 { ac_try='test -s conftest.$ac_objext'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; }; then
23666 glibcxx_cv_func__isinf_use=yes
23667 else
23668 echo "$as_me: failed program was:" >&5
23669 sed 's/^/| /' conftest.$ac_ext >&5
23671 glibcxx_cv_func__isinf_use=no
23673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23674 ac_ext=c
23675 ac_cpp='$CPP $CPPFLAGS'
23676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
23685 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
23687 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23689 for ac_func in _isinf
23691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23692 echo "$as_me:$LINENO: checking for $ac_func" >&5
23693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23694 if eval "test \"\${$as_ac_var+set}\" = set"; then
23695 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 else
23697 if test x$gcc_no_link = xyes; then
23698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23700 { (exit 1); exit 1; }; }
23702 cat >conftest.$ac_ext <<_ACEOF
23703 /* confdefs.h. */
23704 _ACEOF
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23710 #define $ac_func innocuous_$ac_func
23712 /* System header to define __stub macros and hopefully few prototypes,
23713 which can conflict with char $ac_func (); below.
23714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23715 <limits.h> exists even on freestanding compilers. */
23717 #ifdef __STDC__
23718 # include <limits.h>
23719 #else
23720 # include <assert.h>
23721 #endif
23723 #undef $ac_func
23725 /* Override any gcc2 internal prototype to avoid an error. */
23726 #ifdef __cplusplus
23727 extern "C"
23729 #endif
23730 /* We use char because int might match the return type of a gcc2
23731 builtin and then its argument prototype would still apply. */
23732 char $ac_func ();
23733 /* The GNU C library defines this for functions which it implements
23734 to always fail with ENOSYS. Some functions are actually named
23735 something starting with __ and the normal name is an alias. */
23736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23737 choke me
23738 #else
23739 char (*f) () = $ac_func;
23740 #endif
23741 #ifdef __cplusplus
23743 #endif
23746 main ()
23748 return f != $ac_func;
23750 return 0;
23752 _ACEOF
23753 rm -f conftest.$ac_objext conftest$ac_exeext
23754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23755 (eval $ac_link) 2>conftest.er1
23756 ac_status=$?
23757 grep -v '^ *+' conftest.er1 >conftest.err
23758 rm -f conftest.er1
23759 cat conftest.err >&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); } &&
23762 { ac_try='test -z "$ac_c_werror_flag"
23763 || test ! -s conftest.err'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; } &&
23769 { ac_try='test -s conftest$ac_exeext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 eval "$as_ac_var=yes"
23776 else
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.$ac_ext >&5
23780 eval "$as_ac_var=no"
23782 rm -f conftest.err conftest.$ac_objext \
23783 conftest$ac_exeext conftest.$ac_ext
23785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23787 if test `eval echo '${'$as_ac_var'}'` = yes; then
23788 cat >>confdefs.h <<_ACEOF
23789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23790 _ACEOF
23793 done
23803 echo "$as_me:$LINENO: checking for isnan declaration" >&5
23804 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
23805 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23806 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
23807 echo $ECHO_N "(cached) $ECHO_C" >&6
23808 else
23812 ac_ext=cc
23813 ac_cpp='$CXXCPP $CPPFLAGS'
23814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23818 cat >conftest.$ac_ext <<_ACEOF
23819 /* confdefs.h. */
23820 _ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824 #include <math.h>
23825 #ifdef HAVE_IEEEFP_H
23826 #include <ieeefp.h>
23827 #endif
23830 main ()
23832 isnan(0);
23834 return 0;
23836 _ACEOF
23837 rm -f conftest.$ac_objext
23838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23839 (eval $ac_compile) 2>conftest.er1
23840 ac_status=$?
23841 grep -v '^ *+' conftest.er1 >conftest.err
23842 rm -f conftest.er1
23843 cat conftest.err >&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); } &&
23846 { ac_try='test -z "$ac_cxx_werror_flag"
23847 || test ! -s conftest.err'
23848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849 (eval $ac_try) 2>&5
23850 ac_status=$?
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; } &&
23853 { ac_try='test -s conftest.$ac_objext'
23854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23855 (eval $ac_try) 2>&5
23856 ac_status=$?
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); }; }; then
23859 glibcxx_cv_func_isnan_use=yes
23860 else
23861 echo "$as_me: failed program was:" >&5
23862 sed 's/^/| /' conftest.$ac_ext >&5
23864 glibcxx_cv_func_isnan_use=no
23866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23867 ac_ext=c
23868 ac_cpp='$CPP $CPPFLAGS'
23869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
23878 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
23880 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23882 for ac_func in isnan
23884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23885 echo "$as_me:$LINENO: checking for $ac_func" >&5
23886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23887 if eval "test \"\${$as_ac_var+set}\" = set"; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 else
23890 if test x$gcc_no_link = xyes; then
23891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23893 { (exit 1); exit 1; }; }
23895 cat >conftest.$ac_ext <<_ACEOF
23896 /* confdefs.h. */
23897 _ACEOF
23898 cat confdefs.h >>conftest.$ac_ext
23899 cat >>conftest.$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23903 #define $ac_func innocuous_$ac_func
23905 /* System header to define __stub macros and hopefully few prototypes,
23906 which can conflict with char $ac_func (); below.
23907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23908 <limits.h> exists even on freestanding compilers. */
23910 #ifdef __STDC__
23911 # include <limits.h>
23912 #else
23913 # include <assert.h>
23914 #endif
23916 #undef $ac_func
23918 /* Override any gcc2 internal prototype to avoid an error. */
23919 #ifdef __cplusplus
23920 extern "C"
23922 #endif
23923 /* We use char because int might match the return type of a gcc2
23924 builtin and then its argument prototype would still apply. */
23925 char $ac_func ();
23926 /* The GNU C library defines this for functions which it implements
23927 to always fail with ENOSYS. Some functions are actually named
23928 something starting with __ and the normal name is an alias. */
23929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23930 choke me
23931 #else
23932 char (*f) () = $ac_func;
23933 #endif
23934 #ifdef __cplusplus
23936 #endif
23939 main ()
23941 return f != $ac_func;
23943 return 0;
23945 _ACEOF
23946 rm -f conftest.$ac_objext conftest$ac_exeext
23947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23948 (eval $ac_link) 2>conftest.er1
23949 ac_status=$?
23950 grep -v '^ *+' conftest.er1 >conftest.err
23951 rm -f conftest.er1
23952 cat conftest.err >&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } &&
23955 { ac_try='test -z "$ac_c_werror_flag"
23956 || test ! -s conftest.err'
23957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958 (eval $ac_try) 2>&5
23959 ac_status=$?
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; } &&
23962 { ac_try='test -s conftest$ac_exeext'
23963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23964 (eval $ac_try) 2>&5
23965 ac_status=$?
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); }; }; then
23968 eval "$as_ac_var=yes"
23969 else
23970 echo "$as_me: failed program was:" >&5
23971 sed 's/^/| /' conftest.$ac_ext >&5
23973 eval "$as_ac_var=no"
23975 rm -f conftest.err conftest.$ac_objext \
23976 conftest$ac_exeext conftest.$ac_ext
23978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23980 if test `eval echo '${'$as_ac_var'}'` = yes; then
23981 cat >>confdefs.h <<_ACEOF
23982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23983 _ACEOF
23986 done
23988 else
23990 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
23991 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
23992 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23993 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
23994 echo $ECHO_N "(cached) $ECHO_C" >&6
23995 else
23999 ac_ext=cc
24000 ac_cpp='$CXXCPP $CPPFLAGS'
24001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24005 cat >conftest.$ac_ext <<_ACEOF
24006 /* confdefs.h. */
24007 _ACEOF
24008 cat confdefs.h >>conftest.$ac_ext
24009 cat >>conftest.$ac_ext <<_ACEOF
24010 /* end confdefs.h. */
24011 #include <math.h>
24012 #ifdef HAVE_IEEEFP_H
24013 #include <ieeefp.h>
24014 #endif
24017 main ()
24019 _isnan(0);
24021 return 0;
24023 _ACEOF
24024 rm -f conftest.$ac_objext
24025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24026 (eval $ac_compile) 2>conftest.er1
24027 ac_status=$?
24028 grep -v '^ *+' conftest.er1 >conftest.err
24029 rm -f conftest.er1
24030 cat conftest.err >&5
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); } &&
24033 { ac_try='test -z "$ac_cxx_werror_flag"
24034 || test ! -s conftest.err'
24035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24036 (eval $ac_try) 2>&5
24037 ac_status=$?
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); }; } &&
24040 { ac_try='test -s conftest.$ac_objext'
24041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042 (eval $ac_try) 2>&5
24043 ac_status=$?
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); }; }; then
24046 glibcxx_cv_func__isnan_use=yes
24047 else
24048 echo "$as_me: failed program was:" >&5
24049 sed 's/^/| /' conftest.$ac_ext >&5
24051 glibcxx_cv_func__isnan_use=no
24053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24054 ac_ext=c
24055 ac_cpp='$CPP $CPPFLAGS'
24056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
24065 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
24067 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
24069 for ac_func in _isnan
24071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24072 echo "$as_me:$LINENO: checking for $ac_func" >&5
24073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24074 if eval "test \"\${$as_ac_var+set}\" = set"; then
24075 echo $ECHO_N "(cached) $ECHO_C" >&6
24076 else
24077 if test x$gcc_no_link = xyes; then
24078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24080 { (exit 1); exit 1; }; }
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24090 #define $ac_func innocuous_$ac_func
24092 /* System header to define __stub macros and hopefully few prototypes,
24093 which can conflict with char $ac_func (); below.
24094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24095 <limits.h> exists even on freestanding compilers. */
24097 #ifdef __STDC__
24098 # include <limits.h>
24099 #else
24100 # include <assert.h>
24101 #endif
24103 #undef $ac_func
24105 /* Override any gcc2 internal prototype to avoid an error. */
24106 #ifdef __cplusplus
24107 extern "C"
24109 #endif
24110 /* We use char because int might match the return type of a gcc2
24111 builtin and then its argument prototype would still apply. */
24112 char $ac_func ();
24113 /* The GNU C library defines this for functions which it implements
24114 to always fail with ENOSYS. Some functions are actually named
24115 something starting with __ and the normal name is an alias. */
24116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24117 choke me
24118 #else
24119 char (*f) () = $ac_func;
24120 #endif
24121 #ifdef __cplusplus
24123 #endif
24126 main ()
24128 return f != $ac_func;
24130 return 0;
24132 _ACEOF
24133 rm -f conftest.$ac_objext conftest$ac_exeext
24134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24135 (eval $ac_link) 2>conftest.er1
24136 ac_status=$?
24137 grep -v '^ *+' conftest.er1 >conftest.err
24138 rm -f conftest.er1
24139 cat conftest.err >&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } &&
24142 { ac_try='test -z "$ac_c_werror_flag"
24143 || test ! -s conftest.err'
24144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24145 (eval $ac_try) 2>&5
24146 ac_status=$?
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; } &&
24149 { ac_try='test -s conftest$ac_exeext'
24150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151 (eval $ac_try) 2>&5
24152 ac_status=$?
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); }; }; then
24155 eval "$as_ac_var=yes"
24156 else
24157 echo "$as_me: failed program was:" >&5
24158 sed 's/^/| /' conftest.$ac_ext >&5
24160 eval "$as_ac_var=no"
24162 rm -f conftest.err conftest.$ac_objext \
24163 conftest$ac_exeext conftest.$ac_ext
24165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24167 if test `eval echo '${'$as_ac_var'}'` = yes; then
24168 cat >>confdefs.h <<_ACEOF
24169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24170 _ACEOF
24173 done
24183 echo "$as_me:$LINENO: checking for finite declaration" >&5
24184 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
24185 if test x${glibcxx_cv_func_finite_use+set} != xset; then
24186 if test "${glibcxx_cv_func_finite_use+set}" = set; then
24187 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 else
24192 ac_ext=cc
24193 ac_cpp='$CXXCPP $CPPFLAGS'
24194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24198 cat >conftest.$ac_ext <<_ACEOF
24199 /* confdefs.h. */
24200 _ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24204 #include <math.h>
24205 #ifdef HAVE_IEEEFP_H
24206 #include <ieeefp.h>
24207 #endif
24210 main ()
24212 finite(0);
24214 return 0;
24216 _ACEOF
24217 rm -f conftest.$ac_objext
24218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24219 (eval $ac_compile) 2>conftest.er1
24220 ac_status=$?
24221 grep -v '^ *+' conftest.er1 >conftest.err
24222 rm -f conftest.er1
24223 cat conftest.err >&5
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); } &&
24226 { ac_try='test -z "$ac_cxx_werror_flag"
24227 || test ! -s conftest.err'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24230 ac_status=$?
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; } &&
24233 { ac_try='test -s conftest.$ac_objext'
24234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24235 (eval $ac_try) 2>&5
24236 ac_status=$?
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; }; then
24239 glibcxx_cv_func_finite_use=yes
24240 else
24241 echo "$as_me: failed program was:" >&5
24242 sed 's/^/| /' conftest.$ac_ext >&5
24244 glibcxx_cv_func_finite_use=no
24246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24247 ac_ext=c
24248 ac_cpp='$CPP $CPPFLAGS'
24249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
24258 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
24260 if test x$glibcxx_cv_func_finite_use = x"yes"; then
24262 for ac_func in finite
24264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24265 echo "$as_me:$LINENO: checking for $ac_func" >&5
24266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24267 if eval "test \"\${$as_ac_var+set}\" = set"; then
24268 echo $ECHO_N "(cached) $ECHO_C" >&6
24269 else
24270 if test x$gcc_no_link = xyes; then
24271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24273 { (exit 1); exit 1; }; }
24275 cat >conftest.$ac_ext <<_ACEOF
24276 /* confdefs.h. */
24277 _ACEOF
24278 cat confdefs.h >>conftest.$ac_ext
24279 cat >>conftest.$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24283 #define $ac_func innocuous_$ac_func
24285 /* System header to define __stub macros and hopefully few prototypes,
24286 which can conflict with char $ac_func (); below.
24287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24288 <limits.h> exists even on freestanding compilers. */
24290 #ifdef __STDC__
24291 # include <limits.h>
24292 #else
24293 # include <assert.h>
24294 #endif
24296 #undef $ac_func
24298 /* Override any gcc2 internal prototype to avoid an error. */
24299 #ifdef __cplusplus
24300 extern "C"
24302 #endif
24303 /* We use char because int might match the return type of a gcc2
24304 builtin and then its argument prototype would still apply. */
24305 char $ac_func ();
24306 /* The GNU C library defines this for functions which it implements
24307 to always fail with ENOSYS. Some functions are actually named
24308 something starting with __ and the normal name is an alias. */
24309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24310 choke me
24311 #else
24312 char (*f) () = $ac_func;
24313 #endif
24314 #ifdef __cplusplus
24316 #endif
24319 main ()
24321 return f != $ac_func;
24323 return 0;
24325 _ACEOF
24326 rm -f conftest.$ac_objext conftest$ac_exeext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24328 (eval $ac_link) 2>conftest.er1
24329 ac_status=$?
24330 grep -v '^ *+' conftest.er1 >conftest.err
24331 rm -f conftest.er1
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try='test -z "$ac_c_werror_flag"
24336 || test ! -s conftest.err'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24339 ac_status=$?
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; } &&
24342 { ac_try='test -s conftest$ac_exeext'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24345 ac_status=$?
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; }; then
24348 eval "$as_ac_var=yes"
24349 else
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.$ac_ext >&5
24353 eval "$as_ac_var=no"
24355 rm -f conftest.err conftest.$ac_objext \
24356 conftest$ac_exeext conftest.$ac_ext
24358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24360 if test `eval echo '${'$as_ac_var'}'` = yes; then
24361 cat >>confdefs.h <<_ACEOF
24362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24363 _ACEOF
24366 done
24368 else
24370 echo "$as_me:$LINENO: checking for _finite declaration" >&5
24371 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
24372 if test x${glibcxx_cv_func__finite_use+set} != xset; then
24373 if test "${glibcxx_cv_func__finite_use+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24375 else
24379 ac_ext=cc
24380 ac_cpp='$CXXCPP $CPPFLAGS'
24381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24385 cat >conftest.$ac_ext <<_ACEOF
24386 /* confdefs.h. */
24387 _ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 #include <math.h>
24392 #ifdef HAVE_IEEEFP_H
24393 #include <ieeefp.h>
24394 #endif
24397 main ()
24399 _finite(0);
24401 return 0;
24403 _ACEOF
24404 rm -f conftest.$ac_objext
24405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24406 (eval $ac_compile) 2>conftest.er1
24407 ac_status=$?
24408 grep -v '^ *+' conftest.er1 >conftest.err
24409 rm -f conftest.er1
24410 cat conftest.err >&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); } &&
24413 { ac_try='test -z "$ac_cxx_werror_flag"
24414 || test ! -s conftest.err'
24415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24416 (eval $ac_try) 2>&5
24417 ac_status=$?
24418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24419 (exit $ac_status); }; } &&
24420 { ac_try='test -s conftest.$ac_objext'
24421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24422 (eval $ac_try) 2>&5
24423 ac_status=$?
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); }; }; then
24426 glibcxx_cv_func__finite_use=yes
24427 else
24428 echo "$as_me: failed program was:" >&5
24429 sed 's/^/| /' conftest.$ac_ext >&5
24431 glibcxx_cv_func__finite_use=no
24433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24434 ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
24445 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
24447 if test x$glibcxx_cv_func__finite_use = x"yes"; then
24449 for ac_func in _finite
24451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24452 echo "$as_me:$LINENO: checking for $ac_func" >&5
24453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24454 if eval "test \"\${$as_ac_var+set}\" = set"; then
24455 echo $ECHO_N "(cached) $ECHO_C" >&6
24456 else
24457 if test x$gcc_no_link = xyes; then
24458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24460 { (exit 1); exit 1; }; }
24462 cat >conftest.$ac_ext <<_ACEOF
24463 /* confdefs.h. */
24464 _ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24470 #define $ac_func innocuous_$ac_func
24472 /* System header to define __stub macros and hopefully few prototypes,
24473 which can conflict with char $ac_func (); below.
24474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24475 <limits.h> exists even on freestanding compilers. */
24477 #ifdef __STDC__
24478 # include <limits.h>
24479 #else
24480 # include <assert.h>
24481 #endif
24483 #undef $ac_func
24485 /* Override any gcc2 internal prototype to avoid an error. */
24486 #ifdef __cplusplus
24487 extern "C"
24489 #endif
24490 /* We use char because int might match the return type of a gcc2
24491 builtin and then its argument prototype would still apply. */
24492 char $ac_func ();
24493 /* The GNU C library defines this for functions which it implements
24494 to always fail with ENOSYS. Some functions are actually named
24495 something starting with __ and the normal name is an alias. */
24496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24497 choke me
24498 #else
24499 char (*f) () = $ac_func;
24500 #endif
24501 #ifdef __cplusplus
24503 #endif
24506 main ()
24508 return f != $ac_func;
24510 return 0;
24512 _ACEOF
24513 rm -f conftest.$ac_objext conftest$ac_exeext
24514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24515 (eval $ac_link) 2>conftest.er1
24516 ac_status=$?
24517 grep -v '^ *+' conftest.er1 >conftest.err
24518 rm -f conftest.er1
24519 cat conftest.err >&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } &&
24522 { ac_try='test -z "$ac_c_werror_flag"
24523 || test ! -s conftest.err'
24524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24525 (eval $ac_try) 2>&5
24526 ac_status=$?
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); }; } &&
24529 { ac_try='test -s conftest$ac_exeext'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24532 ac_status=$?
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; }; then
24535 eval "$as_ac_var=yes"
24536 else
24537 echo "$as_me: failed program was:" >&5
24538 sed 's/^/| /' conftest.$ac_ext >&5
24540 eval "$as_ac_var=no"
24542 rm -f conftest.err conftest.$ac_objext \
24543 conftest$ac_exeext conftest.$ac_ext
24545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24547 if test `eval echo '${'$as_ac_var'}'` = yes; then
24548 cat >>confdefs.h <<_ACEOF
24549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24550 _ACEOF
24553 done
24563 echo "$as_me:$LINENO: checking for copysign declaration" >&5
24564 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
24565 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
24566 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
24567 echo $ECHO_N "(cached) $ECHO_C" >&6
24568 else
24572 ac_ext=cc
24573 ac_cpp='$CXXCPP $CPPFLAGS'
24574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 #include <math.h>
24586 main ()
24588 copysign(0, 0);
24590 return 0;
24592 _ACEOF
24593 rm -f conftest.$ac_objext
24594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24595 (eval $ac_compile) 2>conftest.er1
24596 ac_status=$?
24597 grep -v '^ *+' conftest.er1 >conftest.err
24598 rm -f conftest.er1
24599 cat conftest.err >&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); } &&
24602 { ac_try='test -z "$ac_cxx_werror_flag"
24603 || test ! -s conftest.err'
24604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24605 (eval $ac_try) 2>&5
24606 ac_status=$?
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); }; } &&
24609 { ac_try='test -s conftest.$ac_objext'
24610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24611 (eval $ac_try) 2>&5
24612 ac_status=$?
24613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24614 (exit $ac_status); }; }; then
24615 glibcxx_cv_func_copysign_use=yes
24616 else
24617 echo "$as_me: failed program was:" >&5
24618 sed 's/^/| /' conftest.$ac_ext >&5
24620 glibcxx_cv_func_copysign_use=no
24622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24623 ac_ext=c
24624 ac_cpp='$CPP $CPPFLAGS'
24625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
24634 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
24636 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
24638 for ac_func in copysign
24640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24641 echo "$as_me:$LINENO: checking for $ac_func" >&5
24642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24643 if eval "test \"\${$as_ac_var+set}\" = set"; then
24644 echo $ECHO_N "(cached) $ECHO_C" >&6
24645 else
24646 if test x$gcc_no_link = xyes; then
24647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24649 { (exit 1); exit 1; }; }
24651 cat >conftest.$ac_ext <<_ACEOF
24652 /* confdefs.h. */
24653 _ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24659 #define $ac_func innocuous_$ac_func
24661 /* System header to define __stub macros and hopefully few prototypes,
24662 which can conflict with char $ac_func (); below.
24663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24664 <limits.h> exists even on freestanding compilers. */
24666 #ifdef __STDC__
24667 # include <limits.h>
24668 #else
24669 # include <assert.h>
24670 #endif
24672 #undef $ac_func
24674 /* Override any gcc2 internal prototype to avoid an error. */
24675 #ifdef __cplusplus
24676 extern "C"
24678 #endif
24679 /* We use char because int might match the return type of a gcc2
24680 builtin and then its argument prototype would still apply. */
24681 char $ac_func ();
24682 /* The GNU C library defines this for functions which it implements
24683 to always fail with ENOSYS. Some functions are actually named
24684 something starting with __ and the normal name is an alias. */
24685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24686 choke me
24687 #else
24688 char (*f) () = $ac_func;
24689 #endif
24690 #ifdef __cplusplus
24692 #endif
24695 main ()
24697 return f != $ac_func;
24699 return 0;
24701 _ACEOF
24702 rm -f conftest.$ac_objext conftest$ac_exeext
24703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24704 (eval $ac_link) 2>conftest.er1
24705 ac_status=$?
24706 grep -v '^ *+' conftest.er1 >conftest.err
24707 rm -f conftest.er1
24708 cat conftest.err >&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); } &&
24711 { ac_try='test -z "$ac_c_werror_flag"
24712 || test ! -s conftest.err'
24713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24714 (eval $ac_try) 2>&5
24715 ac_status=$?
24716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717 (exit $ac_status); }; } &&
24718 { ac_try='test -s conftest$ac_exeext'
24719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24720 (eval $ac_try) 2>&5
24721 ac_status=$?
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); }; }; then
24724 eval "$as_ac_var=yes"
24725 else
24726 echo "$as_me: failed program was:" >&5
24727 sed 's/^/| /' conftest.$ac_ext >&5
24729 eval "$as_ac_var=no"
24731 rm -f conftest.err conftest.$ac_objext \
24732 conftest$ac_exeext conftest.$ac_ext
24734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24736 if test `eval echo '${'$as_ac_var'}'` = yes; then
24737 cat >>confdefs.h <<_ACEOF
24738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24739 _ACEOF
24742 done
24744 else
24746 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
24747 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
24748 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
24749 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
24750 echo $ECHO_N "(cached) $ECHO_C" >&6
24751 else
24755 ac_ext=cc
24756 ac_cpp='$CXXCPP $CPPFLAGS'
24757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24761 cat >conftest.$ac_ext <<_ACEOF
24762 /* confdefs.h. */
24763 _ACEOF
24764 cat confdefs.h >>conftest.$ac_ext
24765 cat >>conftest.$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24767 #include <math.h>
24769 main ()
24771 _copysign(0, 0);
24773 return 0;
24775 _ACEOF
24776 rm -f conftest.$ac_objext
24777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24778 (eval $ac_compile) 2>conftest.er1
24779 ac_status=$?
24780 grep -v '^ *+' conftest.er1 >conftest.err
24781 rm -f conftest.er1
24782 cat conftest.err >&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); } &&
24785 { ac_try='test -z "$ac_cxx_werror_flag"
24786 || test ! -s conftest.err'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24789 ac_status=$?
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; } &&
24792 { ac_try='test -s conftest.$ac_objext'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; }; then
24798 glibcxx_cv_func__copysign_use=yes
24799 else
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.$ac_ext >&5
24803 glibcxx_cv_func__copysign_use=no
24805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24806 ac_ext=c
24807 ac_cpp='$CPP $CPPFLAGS'
24808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
24817 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
24819 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
24821 for ac_func in _copysign
24823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24824 echo "$as_me:$LINENO: checking for $ac_func" >&5
24825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24826 if eval "test \"\${$as_ac_var+set}\" = set"; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 else
24829 if test x$gcc_no_link = xyes; then
24830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24832 { (exit 1); exit 1; }; }
24834 cat >conftest.$ac_ext <<_ACEOF
24835 /* confdefs.h. */
24836 _ACEOF
24837 cat confdefs.h >>conftest.$ac_ext
24838 cat >>conftest.$ac_ext <<_ACEOF
24839 /* end confdefs.h. */
24840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24842 #define $ac_func innocuous_$ac_func
24844 /* System header to define __stub macros and hopefully few prototypes,
24845 which can conflict with char $ac_func (); below.
24846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24847 <limits.h> exists even on freestanding compilers. */
24849 #ifdef __STDC__
24850 # include <limits.h>
24851 #else
24852 # include <assert.h>
24853 #endif
24855 #undef $ac_func
24857 /* Override any gcc2 internal prototype to avoid an error. */
24858 #ifdef __cplusplus
24859 extern "C"
24861 #endif
24862 /* We use char because int might match the return type of a gcc2
24863 builtin and then its argument prototype would still apply. */
24864 char $ac_func ();
24865 /* The GNU C library defines this for functions which it implements
24866 to always fail with ENOSYS. Some functions are actually named
24867 something starting with __ and the normal name is an alias. */
24868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24869 choke me
24870 #else
24871 char (*f) () = $ac_func;
24872 #endif
24873 #ifdef __cplusplus
24875 #endif
24878 main ()
24880 return f != $ac_func;
24882 return 0;
24884 _ACEOF
24885 rm -f conftest.$ac_objext conftest$ac_exeext
24886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24887 (eval $ac_link) 2>conftest.er1
24888 ac_status=$?
24889 grep -v '^ *+' conftest.er1 >conftest.err
24890 rm -f conftest.er1
24891 cat conftest.err >&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); } &&
24894 { ac_try='test -z "$ac_c_werror_flag"
24895 || test ! -s conftest.err'
24896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897 (eval $ac_try) 2>&5
24898 ac_status=$?
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); }; } &&
24901 { ac_try='test -s conftest$ac_exeext'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24904 ac_status=$?
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; }; then
24907 eval "$as_ac_var=yes"
24908 else
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.$ac_ext >&5
24912 eval "$as_ac_var=no"
24914 rm -f conftest.err conftest.$ac_objext \
24915 conftest$ac_exeext conftest.$ac_ext
24917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24919 if test `eval echo '${'$as_ac_var'}'` = yes; then
24920 cat >>confdefs.h <<_ACEOF
24921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24922 _ACEOF
24925 done
24935 echo "$as_me:$LINENO: checking for sincos declaration" >&5
24936 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
24937 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
24938 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24940 else
24944 ac_ext=cc
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24950 cat >conftest.$ac_ext <<_ACEOF
24951 /* confdefs.h. */
24952 _ACEOF
24953 cat confdefs.h >>conftest.$ac_ext
24954 cat >>conftest.$ac_ext <<_ACEOF
24955 /* end confdefs.h. */
24956 #include <math.h>
24958 main ()
24960 sincos(0, 0, 0);
24962 return 0;
24964 _ACEOF
24965 rm -f conftest.$ac_objext
24966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24967 (eval $ac_compile) 2>conftest.er1
24968 ac_status=$?
24969 grep -v '^ *+' conftest.er1 >conftest.err
24970 rm -f conftest.er1
24971 cat conftest.err >&5
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); } &&
24974 { ac_try='test -z "$ac_cxx_werror_flag"
24975 || test ! -s conftest.err'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24978 ac_status=$?
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; } &&
24981 { ac_try='test -s conftest.$ac_objext'
24982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24983 (eval $ac_try) 2>&5
24984 ac_status=$?
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); }; }; then
24987 glibcxx_cv_func_sincos_use=yes
24988 else
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.$ac_ext >&5
24992 glibcxx_cv_func_sincos_use=no
24994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24995 ac_ext=c
24996 ac_cpp='$CPP $CPPFLAGS'
24997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
25006 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
25008 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
25010 for ac_func in sincos
25012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25013 echo "$as_me:$LINENO: checking for $ac_func" >&5
25014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25015 if eval "test \"\${$as_ac_var+set}\" = set"; then
25016 echo $ECHO_N "(cached) $ECHO_C" >&6
25017 else
25018 if test x$gcc_no_link = xyes; then
25019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25021 { (exit 1); exit 1; }; }
25023 cat >conftest.$ac_ext <<_ACEOF
25024 /* confdefs.h. */
25025 _ACEOF
25026 cat confdefs.h >>conftest.$ac_ext
25027 cat >>conftest.$ac_ext <<_ACEOF
25028 /* end confdefs.h. */
25029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25031 #define $ac_func innocuous_$ac_func
25033 /* System header to define __stub macros and hopefully few prototypes,
25034 which can conflict with char $ac_func (); below.
25035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25036 <limits.h> exists even on freestanding compilers. */
25038 #ifdef __STDC__
25039 # include <limits.h>
25040 #else
25041 # include <assert.h>
25042 #endif
25044 #undef $ac_func
25046 /* Override any gcc2 internal prototype to avoid an error. */
25047 #ifdef __cplusplus
25048 extern "C"
25050 #endif
25051 /* We use char because int might match the return type of a gcc2
25052 builtin and then its argument prototype would still apply. */
25053 char $ac_func ();
25054 /* The GNU C library defines this for functions which it implements
25055 to always fail with ENOSYS. Some functions are actually named
25056 something starting with __ and the normal name is an alias. */
25057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25058 choke me
25059 #else
25060 char (*f) () = $ac_func;
25061 #endif
25062 #ifdef __cplusplus
25064 #endif
25067 main ()
25069 return f != $ac_func;
25071 return 0;
25073 _ACEOF
25074 rm -f conftest.$ac_objext conftest$ac_exeext
25075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25076 (eval $ac_link) 2>conftest.er1
25077 ac_status=$?
25078 grep -v '^ *+' conftest.er1 >conftest.err
25079 rm -f conftest.er1
25080 cat conftest.err >&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } &&
25083 { ac_try='test -z "$ac_c_werror_flag"
25084 || test ! -s conftest.err'
25085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25086 (eval $ac_try) 2>&5
25087 ac_status=$?
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); }; } &&
25090 { ac_try='test -s conftest$ac_exeext'
25091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25092 (eval $ac_try) 2>&5
25093 ac_status=$?
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); }; }; then
25096 eval "$as_ac_var=yes"
25097 else
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.$ac_ext >&5
25101 eval "$as_ac_var=no"
25103 rm -f conftest.err conftest.$ac_objext \
25104 conftest$ac_exeext conftest.$ac_ext
25106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25108 if test `eval echo '${'$as_ac_var'}'` = yes; then
25109 cat >>confdefs.h <<_ACEOF
25110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25111 _ACEOF
25114 done
25116 else
25118 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
25119 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
25120 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
25121 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
25122 echo $ECHO_N "(cached) $ECHO_C" >&6
25123 else
25127 ac_ext=cc
25128 ac_cpp='$CXXCPP $CPPFLAGS'
25129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133 cat >conftest.$ac_ext <<_ACEOF
25134 /* confdefs.h. */
25135 _ACEOF
25136 cat confdefs.h >>conftest.$ac_ext
25137 cat >>conftest.$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25139 #include <math.h>
25141 main ()
25143 _sincos(0, 0, 0);
25145 return 0;
25147 _ACEOF
25148 rm -f conftest.$ac_objext
25149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25150 (eval $ac_compile) 2>conftest.er1
25151 ac_status=$?
25152 grep -v '^ *+' conftest.er1 >conftest.err
25153 rm -f conftest.er1
25154 cat conftest.err >&5
25155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156 (exit $ac_status); } &&
25157 { ac_try='test -z "$ac_cxx_werror_flag"
25158 || test ! -s conftest.err'
25159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160 (eval $ac_try) 2>&5
25161 ac_status=$?
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); }; } &&
25164 { ac_try='test -s conftest.$ac_objext'
25165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25166 (eval $ac_try) 2>&5
25167 ac_status=$?
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); }; }; then
25170 glibcxx_cv_func__sincos_use=yes
25171 else
25172 echo "$as_me: failed program was:" >&5
25173 sed 's/^/| /' conftest.$ac_ext >&5
25175 glibcxx_cv_func__sincos_use=no
25177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25178 ac_ext=c
25179 ac_cpp='$CPP $CPPFLAGS'
25180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
25189 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
25191 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
25193 for ac_func in _sincos
25195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25196 echo "$as_me:$LINENO: checking for $ac_func" >&5
25197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25198 if eval "test \"\${$as_ac_var+set}\" = set"; then
25199 echo $ECHO_N "(cached) $ECHO_C" >&6
25200 else
25201 if test x$gcc_no_link = xyes; then
25202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25204 { (exit 1); exit 1; }; }
25206 cat >conftest.$ac_ext <<_ACEOF
25207 /* confdefs.h. */
25208 _ACEOF
25209 cat confdefs.h >>conftest.$ac_ext
25210 cat >>conftest.$ac_ext <<_ACEOF
25211 /* end confdefs.h. */
25212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25214 #define $ac_func innocuous_$ac_func
25216 /* System header to define __stub macros and hopefully few prototypes,
25217 which can conflict with char $ac_func (); below.
25218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25219 <limits.h> exists even on freestanding compilers. */
25221 #ifdef __STDC__
25222 # include <limits.h>
25223 #else
25224 # include <assert.h>
25225 #endif
25227 #undef $ac_func
25229 /* Override any gcc2 internal prototype to avoid an error. */
25230 #ifdef __cplusplus
25231 extern "C"
25233 #endif
25234 /* We use char because int might match the return type of a gcc2
25235 builtin and then its argument prototype would still apply. */
25236 char $ac_func ();
25237 /* The GNU C library defines this for functions which it implements
25238 to always fail with ENOSYS. Some functions are actually named
25239 something starting with __ and the normal name is an alias. */
25240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25241 choke me
25242 #else
25243 char (*f) () = $ac_func;
25244 #endif
25245 #ifdef __cplusplus
25247 #endif
25250 main ()
25252 return f != $ac_func;
25254 return 0;
25256 _ACEOF
25257 rm -f conftest.$ac_objext conftest$ac_exeext
25258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25259 (eval $ac_link) 2>conftest.er1
25260 ac_status=$?
25261 grep -v '^ *+' conftest.er1 >conftest.err
25262 rm -f conftest.er1
25263 cat conftest.err >&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } &&
25266 { ac_try='test -z "$ac_c_werror_flag"
25267 || test ! -s conftest.err'
25268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25269 (eval $ac_try) 2>&5
25270 ac_status=$?
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); }; } &&
25273 { ac_try='test -s conftest$ac_exeext'
25274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25275 (eval $ac_try) 2>&5
25276 ac_status=$?
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); }; }; then
25279 eval "$as_ac_var=yes"
25280 else
25281 echo "$as_me: failed program was:" >&5
25282 sed 's/^/| /' conftest.$ac_ext >&5
25284 eval "$as_ac_var=no"
25286 rm -f conftest.err conftest.$ac_objext \
25287 conftest$ac_exeext conftest.$ac_ext
25289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25291 if test `eval echo '${'$as_ac_var'}'` = yes; then
25292 cat >>confdefs.h <<_ACEOF
25293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25294 _ACEOF
25297 done
25307 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
25308 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
25309 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
25310 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
25311 echo $ECHO_N "(cached) $ECHO_C" >&6
25312 else
25316 ac_ext=cc
25317 ac_cpp='$CXXCPP $CPPFLAGS'
25318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25322 cat >conftest.$ac_ext <<_ACEOF
25323 /* confdefs.h. */
25324 _ACEOF
25325 cat confdefs.h >>conftest.$ac_ext
25326 cat >>conftest.$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25328 #include <math.h>
25329 #ifdef HAVE_IEEEFP_H
25330 #include <ieeefp.h>
25331 #endif
25334 main ()
25336 fpclass(0);
25338 return 0;
25340 _ACEOF
25341 rm -f conftest.$ac_objext
25342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25343 (eval $ac_compile) 2>conftest.er1
25344 ac_status=$?
25345 grep -v '^ *+' conftest.er1 >conftest.err
25346 rm -f conftest.er1
25347 cat conftest.err >&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } &&
25350 { ac_try='test -z "$ac_cxx_werror_flag"
25351 || test ! -s conftest.err'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; } &&
25357 { ac_try='test -s conftest.$ac_objext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25360 ac_status=$?
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 glibcxx_cv_func_fpclass_use=yes
25364 else
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25368 glibcxx_cv_func_fpclass_use=no
25370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25371 ac_ext=c
25372 ac_cpp='$CPP $CPPFLAGS'
25373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
25382 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
25384 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
25386 for ac_func in fpclass
25388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25389 echo "$as_me:$LINENO: checking for $ac_func" >&5
25390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25391 if eval "test \"\${$as_ac_var+set}\" = set"; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 else
25394 if test x$gcc_no_link = xyes; then
25395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25397 { (exit 1); exit 1; }; }
25399 cat >conftest.$ac_ext <<_ACEOF
25400 /* confdefs.h. */
25401 _ACEOF
25402 cat confdefs.h >>conftest.$ac_ext
25403 cat >>conftest.$ac_ext <<_ACEOF
25404 /* end confdefs.h. */
25405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25407 #define $ac_func innocuous_$ac_func
25409 /* System header to define __stub macros and hopefully few prototypes,
25410 which can conflict with char $ac_func (); below.
25411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25412 <limits.h> exists even on freestanding compilers. */
25414 #ifdef __STDC__
25415 # include <limits.h>
25416 #else
25417 # include <assert.h>
25418 #endif
25420 #undef $ac_func
25422 /* Override any gcc2 internal prototype to avoid an error. */
25423 #ifdef __cplusplus
25424 extern "C"
25426 #endif
25427 /* We use char because int might match the return type of a gcc2
25428 builtin and then its argument prototype would still apply. */
25429 char $ac_func ();
25430 /* The GNU C library defines this for functions which it implements
25431 to always fail with ENOSYS. Some functions are actually named
25432 something starting with __ and the normal name is an alias. */
25433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25434 choke me
25435 #else
25436 char (*f) () = $ac_func;
25437 #endif
25438 #ifdef __cplusplus
25440 #endif
25443 main ()
25445 return f != $ac_func;
25447 return 0;
25449 _ACEOF
25450 rm -f conftest.$ac_objext conftest$ac_exeext
25451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25452 (eval $ac_link) 2>conftest.er1
25453 ac_status=$?
25454 grep -v '^ *+' conftest.er1 >conftest.err
25455 rm -f conftest.er1
25456 cat conftest.err >&5
25457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458 (exit $ac_status); } &&
25459 { ac_try='test -z "$ac_c_werror_flag"
25460 || test ! -s conftest.err'
25461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25462 (eval $ac_try) 2>&5
25463 ac_status=$?
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); }; } &&
25466 { ac_try='test -s conftest$ac_exeext'
25467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25468 (eval $ac_try) 2>&5
25469 ac_status=$?
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); }; }; then
25472 eval "$as_ac_var=yes"
25473 else
25474 echo "$as_me: failed program was:" >&5
25475 sed 's/^/| /' conftest.$ac_ext >&5
25477 eval "$as_ac_var=no"
25479 rm -f conftest.err conftest.$ac_objext \
25480 conftest$ac_exeext conftest.$ac_ext
25482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25484 if test `eval echo '${'$as_ac_var'}'` = yes; then
25485 cat >>confdefs.h <<_ACEOF
25486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25487 _ACEOF
25490 done
25492 else
25494 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
25495 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
25496 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
25497 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
25498 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 else
25503 ac_ext=cc
25504 ac_cpp='$CXXCPP $CPPFLAGS'
25505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25509 cat >conftest.$ac_ext <<_ACEOF
25510 /* confdefs.h. */
25511 _ACEOF
25512 cat confdefs.h >>conftest.$ac_ext
25513 cat >>conftest.$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25515 #include <math.h>
25516 #ifdef HAVE_IEEEFP_H
25517 #include <ieeefp.h>
25518 #endif
25521 main ()
25523 _fpclass(0);
25525 return 0;
25527 _ACEOF
25528 rm -f conftest.$ac_objext
25529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25530 (eval $ac_compile) 2>conftest.er1
25531 ac_status=$?
25532 grep -v '^ *+' conftest.er1 >conftest.err
25533 rm -f conftest.er1
25534 cat conftest.err >&5
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); } &&
25537 { ac_try='test -z "$ac_cxx_werror_flag"
25538 || test ! -s conftest.err'
25539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25540 (eval $ac_try) 2>&5
25541 ac_status=$?
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); }; } &&
25544 { ac_try='test -s conftest.$ac_objext'
25545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546 (eval $ac_try) 2>&5
25547 ac_status=$?
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); }; }; then
25550 glibcxx_cv_func__fpclass_use=yes
25551 else
25552 echo "$as_me: failed program was:" >&5
25553 sed 's/^/| /' conftest.$ac_ext >&5
25555 glibcxx_cv_func__fpclass_use=no
25557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25558 ac_ext=c
25559 ac_cpp='$CPP $CPPFLAGS'
25560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
25569 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
25571 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
25573 for ac_func in _fpclass
25575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25576 echo "$as_me:$LINENO: checking for $ac_func" >&5
25577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25578 if eval "test \"\${$as_ac_var+set}\" = set"; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 else
25581 if test x$gcc_no_link = xyes; then
25582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25584 { (exit 1); exit 1; }; }
25586 cat >conftest.$ac_ext <<_ACEOF
25587 /* confdefs.h. */
25588 _ACEOF
25589 cat confdefs.h >>conftest.$ac_ext
25590 cat >>conftest.$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25594 #define $ac_func innocuous_$ac_func
25596 /* System header to define __stub macros and hopefully few prototypes,
25597 which can conflict with char $ac_func (); below.
25598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25599 <limits.h> exists even on freestanding compilers. */
25601 #ifdef __STDC__
25602 # include <limits.h>
25603 #else
25604 # include <assert.h>
25605 #endif
25607 #undef $ac_func
25609 /* Override any gcc2 internal prototype to avoid an error. */
25610 #ifdef __cplusplus
25611 extern "C"
25613 #endif
25614 /* We use char because int might match the return type of a gcc2
25615 builtin and then its argument prototype would still apply. */
25616 char $ac_func ();
25617 /* The GNU C library defines this for functions which it implements
25618 to always fail with ENOSYS. Some functions are actually named
25619 something starting with __ and the normal name is an alias. */
25620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25621 choke me
25622 #else
25623 char (*f) () = $ac_func;
25624 #endif
25625 #ifdef __cplusplus
25627 #endif
25630 main ()
25632 return f != $ac_func;
25634 return 0;
25636 _ACEOF
25637 rm -f conftest.$ac_objext conftest$ac_exeext
25638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25639 (eval $ac_link) 2>conftest.er1
25640 ac_status=$?
25641 grep -v '^ *+' conftest.er1 >conftest.err
25642 rm -f conftest.er1
25643 cat conftest.err >&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); } &&
25646 { ac_try='test -z "$ac_c_werror_flag"
25647 || test ! -s conftest.err'
25648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25649 (eval $ac_try) 2>&5
25650 ac_status=$?
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); }; } &&
25653 { ac_try='test -s conftest$ac_exeext'
25654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25655 (eval $ac_try) 2>&5
25656 ac_status=$?
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); }; }; then
25659 eval "$as_ac_var=yes"
25660 else
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25664 eval "$as_ac_var=no"
25666 rm -f conftest.err conftest.$ac_objext \
25667 conftest$ac_exeext conftest.$ac_ext
25669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25671 if test `eval echo '${'$as_ac_var'}'` = yes; then
25672 cat >>confdefs.h <<_ACEOF
25673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25674 _ACEOF
25677 done
25687 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
25688 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
25689 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
25690 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
25691 echo $ECHO_N "(cached) $ECHO_C" >&6
25692 else
25696 ac_ext=cc
25697 ac_cpp='$CXXCPP $CPPFLAGS'
25698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25702 cat >conftest.$ac_ext <<_ACEOF
25703 /* confdefs.h. */
25704 _ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25708 #include <math.h>
25709 #ifdef HAVE_IEEEFP_H
25710 #include <ieeefp.h>
25711 #endif
25714 main ()
25716 qfpclass(0);
25718 return 0;
25720 _ACEOF
25721 rm -f conftest.$ac_objext
25722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25723 (eval $ac_compile) 2>conftest.er1
25724 ac_status=$?
25725 grep -v '^ *+' conftest.er1 >conftest.err
25726 rm -f conftest.er1
25727 cat conftest.err >&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); } &&
25730 { ac_try='test -z "$ac_cxx_werror_flag"
25731 || test ! -s conftest.err'
25732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25733 (eval $ac_try) 2>&5
25734 ac_status=$?
25735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25736 (exit $ac_status); }; } &&
25737 { ac_try='test -s conftest.$ac_objext'
25738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25739 (eval $ac_try) 2>&5
25740 ac_status=$?
25741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25742 (exit $ac_status); }; }; then
25743 glibcxx_cv_func_qfpclass_use=yes
25744 else
25745 echo "$as_me: failed program was:" >&5
25746 sed 's/^/| /' conftest.$ac_ext >&5
25748 glibcxx_cv_func_qfpclass_use=no
25750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25751 ac_ext=c
25752 ac_cpp='$CPP $CPPFLAGS'
25753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
25762 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
25764 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
25766 for ac_func in qfpclass
25768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25769 echo "$as_me:$LINENO: checking for $ac_func" >&5
25770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25771 if eval "test \"\${$as_ac_var+set}\" = set"; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 else
25774 if test x$gcc_no_link = xyes; then
25775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25777 { (exit 1); exit 1; }; }
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h. */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25787 #define $ac_func innocuous_$ac_func
25789 /* System header to define __stub macros and hopefully few prototypes,
25790 which can conflict with char $ac_func (); below.
25791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25792 <limits.h> exists even on freestanding compilers. */
25794 #ifdef __STDC__
25795 # include <limits.h>
25796 #else
25797 # include <assert.h>
25798 #endif
25800 #undef $ac_func
25802 /* Override any gcc2 internal prototype to avoid an error. */
25803 #ifdef __cplusplus
25804 extern "C"
25806 #endif
25807 /* We use char because int might match the return type of a gcc2
25808 builtin and then its argument prototype would still apply. */
25809 char $ac_func ();
25810 /* The GNU C library defines this for functions which it implements
25811 to always fail with ENOSYS. Some functions are actually named
25812 something starting with __ and the normal name is an alias. */
25813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25814 choke me
25815 #else
25816 char (*f) () = $ac_func;
25817 #endif
25818 #ifdef __cplusplus
25820 #endif
25823 main ()
25825 return f != $ac_func;
25827 return 0;
25829 _ACEOF
25830 rm -f conftest.$ac_objext conftest$ac_exeext
25831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25832 (eval $ac_link) 2>conftest.er1
25833 ac_status=$?
25834 grep -v '^ *+' conftest.er1 >conftest.err
25835 rm -f conftest.er1
25836 cat conftest.err >&5
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); } &&
25839 { ac_try='test -z "$ac_c_werror_flag"
25840 || test ! -s conftest.err'
25841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25842 (eval $ac_try) 2>&5
25843 ac_status=$?
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); }; } &&
25846 { ac_try='test -s conftest$ac_exeext'
25847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25848 (eval $ac_try) 2>&5
25849 ac_status=$?
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); }; }; then
25852 eval "$as_ac_var=yes"
25853 else
25854 echo "$as_me: failed program was:" >&5
25855 sed 's/^/| /' conftest.$ac_ext >&5
25857 eval "$as_ac_var=no"
25859 rm -f conftest.err conftest.$ac_objext \
25860 conftest$ac_exeext conftest.$ac_ext
25862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25864 if test `eval echo '${'$as_ac_var'}'` = yes; then
25865 cat >>confdefs.h <<_ACEOF
25866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25867 _ACEOF
25870 done
25872 else
25874 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
25875 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
25876 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
25877 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
25878 echo $ECHO_N "(cached) $ECHO_C" >&6
25879 else
25883 ac_ext=cc
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889 cat >conftest.$ac_ext <<_ACEOF
25890 /* confdefs.h. */
25891 _ACEOF
25892 cat confdefs.h >>conftest.$ac_ext
25893 cat >>conftest.$ac_ext <<_ACEOF
25894 /* end confdefs.h. */
25895 #include <math.h>
25896 #ifdef HAVE_IEEEFP_H
25897 #include <ieeefp.h>
25898 #endif
25901 main ()
25903 _qfpclass(0);
25905 return 0;
25907 _ACEOF
25908 rm -f conftest.$ac_objext
25909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25910 (eval $ac_compile) 2>conftest.er1
25911 ac_status=$?
25912 grep -v '^ *+' conftest.er1 >conftest.err
25913 rm -f conftest.er1
25914 cat conftest.err >&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } &&
25917 { ac_try='test -z "$ac_cxx_werror_flag"
25918 || test ! -s conftest.err'
25919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25920 (eval $ac_try) 2>&5
25921 ac_status=$?
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); }; } &&
25924 { ac_try='test -s conftest.$ac_objext'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25927 ac_status=$?
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; }; then
25930 glibcxx_cv_func__qfpclass_use=yes
25931 else
25932 echo "$as_me: failed program was:" >&5
25933 sed 's/^/| /' conftest.$ac_ext >&5
25935 glibcxx_cv_func__qfpclass_use=no
25937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25938 ac_ext=c
25939 ac_cpp='$CPP $CPPFLAGS'
25940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
25949 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
25951 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
25953 for ac_func in _qfpclass
25955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25956 echo "$as_me:$LINENO: checking for $ac_func" >&5
25957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25958 if eval "test \"\${$as_ac_var+set}\" = set"; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25960 else
25961 if test x$gcc_no_link = xyes; then
25962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25964 { (exit 1); exit 1; }; }
25966 cat >conftest.$ac_ext <<_ACEOF
25967 /* confdefs.h. */
25968 _ACEOF
25969 cat confdefs.h >>conftest.$ac_ext
25970 cat >>conftest.$ac_ext <<_ACEOF
25971 /* end confdefs.h. */
25972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25974 #define $ac_func innocuous_$ac_func
25976 /* System header to define __stub macros and hopefully few prototypes,
25977 which can conflict with char $ac_func (); below.
25978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25979 <limits.h> exists even on freestanding compilers. */
25981 #ifdef __STDC__
25982 # include <limits.h>
25983 #else
25984 # include <assert.h>
25985 #endif
25987 #undef $ac_func
25989 /* Override any gcc2 internal prototype to avoid an error. */
25990 #ifdef __cplusplus
25991 extern "C"
25993 #endif
25994 /* We use char because int might match the return type of a gcc2
25995 builtin and then its argument prototype would still apply. */
25996 char $ac_func ();
25997 /* The GNU C library defines this for functions which it implements
25998 to always fail with ENOSYS. Some functions are actually named
25999 something starting with __ and the normal name is an alias. */
26000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26001 choke me
26002 #else
26003 char (*f) () = $ac_func;
26004 #endif
26005 #ifdef __cplusplus
26007 #endif
26010 main ()
26012 return f != $ac_func;
26014 return 0;
26016 _ACEOF
26017 rm -f conftest.$ac_objext conftest$ac_exeext
26018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26019 (eval $ac_link) 2>conftest.er1
26020 ac_status=$?
26021 grep -v '^ *+' conftest.er1 >conftest.err
26022 rm -f conftest.er1
26023 cat conftest.err >&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); } &&
26026 { ac_try='test -z "$ac_c_werror_flag"
26027 || test ! -s conftest.err'
26028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26029 (eval $ac_try) 2>&5
26030 ac_status=$?
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); }; } &&
26033 { ac_try='test -s conftest$ac_exeext'
26034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26035 (eval $ac_try) 2>&5
26036 ac_status=$?
26037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 (exit $ac_status); }; }; then
26039 eval "$as_ac_var=yes"
26040 else
26041 echo "$as_me: failed program was:" >&5
26042 sed 's/^/| /' conftest.$ac_ext >&5
26044 eval "$as_ac_var=no"
26046 rm -f conftest.err conftest.$ac_objext \
26047 conftest$ac_exeext conftest.$ac_ext
26049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26051 if test `eval echo '${'$as_ac_var'}'` = yes; then
26052 cat >>confdefs.h <<_ACEOF
26053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26054 _ACEOF
26057 done
26067 echo "$as_me:$LINENO: checking for hypot declaration" >&5
26068 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
26069 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
26070 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 else
26076 ac_ext=cc
26077 ac_cpp='$CXXCPP $CPPFLAGS'
26078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26082 cat >conftest.$ac_ext <<_ACEOF
26083 /* confdefs.h. */
26084 _ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088 #include <math.h>
26090 main ()
26092 hypot(0, 0);
26094 return 0;
26096 _ACEOF
26097 rm -f conftest.$ac_objext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26099 (eval $ac_compile) 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } &&
26106 { ac_try='test -z "$ac_cxx_werror_flag"
26107 || test ! -s conftest.err'
26108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109 (eval $ac_try) 2>&5
26110 ac_status=$?
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; } &&
26113 { ac_try='test -s conftest.$ac_objext'
26114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26115 (eval $ac_try) 2>&5
26116 ac_status=$?
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); }; }; then
26119 glibcxx_cv_func_hypot_use=yes
26120 else
26121 echo "$as_me: failed program was:" >&5
26122 sed 's/^/| /' conftest.$ac_ext >&5
26124 glibcxx_cv_func_hypot_use=no
26126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26127 ac_ext=c
26128 ac_cpp='$CPP $CPPFLAGS'
26129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
26138 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
26140 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
26142 for ac_func in hypot
26144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26145 echo "$as_me:$LINENO: checking for $ac_func" >&5
26146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26147 if eval "test \"\${$as_ac_var+set}\" = set"; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26149 else
26150 if test x$gcc_no_link = xyes; then
26151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26153 { (exit 1); exit 1; }; }
26155 cat >conftest.$ac_ext <<_ACEOF
26156 /* confdefs.h. */
26157 _ACEOF
26158 cat confdefs.h >>conftest.$ac_ext
26159 cat >>conftest.$ac_ext <<_ACEOF
26160 /* end confdefs.h. */
26161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26163 #define $ac_func innocuous_$ac_func
26165 /* System header to define __stub macros and hopefully few prototypes,
26166 which can conflict with char $ac_func (); below.
26167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26168 <limits.h> exists even on freestanding compilers. */
26170 #ifdef __STDC__
26171 # include <limits.h>
26172 #else
26173 # include <assert.h>
26174 #endif
26176 #undef $ac_func
26178 /* Override any gcc2 internal prototype to avoid an error. */
26179 #ifdef __cplusplus
26180 extern "C"
26182 #endif
26183 /* We use char because int might match the return type of a gcc2
26184 builtin and then its argument prototype would still apply. */
26185 char $ac_func ();
26186 /* The GNU C library defines this for functions which it implements
26187 to always fail with ENOSYS. Some functions are actually named
26188 something starting with __ and the normal name is an alias. */
26189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26190 choke me
26191 #else
26192 char (*f) () = $ac_func;
26193 #endif
26194 #ifdef __cplusplus
26196 #endif
26199 main ()
26201 return f != $ac_func;
26203 return 0;
26205 _ACEOF
26206 rm -f conftest.$ac_objext conftest$ac_exeext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26208 (eval $ac_link) 2>conftest.er1
26209 ac_status=$?
26210 grep -v '^ *+' conftest.er1 >conftest.err
26211 rm -f conftest.er1
26212 cat conftest.err >&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } &&
26215 { ac_try='test -z "$ac_c_werror_flag"
26216 || test ! -s conftest.err'
26217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26218 (eval $ac_try) 2>&5
26219 ac_status=$?
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); }; } &&
26222 { ac_try='test -s conftest$ac_exeext'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26225 ac_status=$?
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; }; then
26228 eval "$as_ac_var=yes"
26229 else
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26233 eval "$as_ac_var=no"
26235 rm -f conftest.err conftest.$ac_objext \
26236 conftest$ac_exeext conftest.$ac_ext
26238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26240 if test `eval echo '${'$as_ac_var'}'` = yes; then
26241 cat >>confdefs.h <<_ACEOF
26242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26243 _ACEOF
26246 done
26248 else
26250 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
26251 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
26252 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
26253 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 else
26259 ac_ext=cc
26260 ac_cpp='$CXXCPP $CPPFLAGS'
26261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26265 cat >conftest.$ac_ext <<_ACEOF
26266 /* confdefs.h. */
26267 _ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26271 #include <math.h>
26273 main ()
26275 _hypot(0, 0);
26277 return 0;
26279 _ACEOF
26280 rm -f conftest.$ac_objext
26281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26282 (eval $ac_compile) 2>conftest.er1
26283 ac_status=$?
26284 grep -v '^ *+' conftest.er1 >conftest.err
26285 rm -f conftest.er1
26286 cat conftest.err >&5
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); } &&
26289 { ac_try='test -z "$ac_cxx_werror_flag"
26290 || test ! -s conftest.err'
26291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292 (eval $ac_try) 2>&5
26293 ac_status=$?
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); }; } &&
26296 { ac_try='test -s conftest.$ac_objext'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26299 ac_status=$?
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; }; then
26302 glibcxx_cv_func__hypot_use=yes
26303 else
26304 echo "$as_me: failed program was:" >&5
26305 sed 's/^/| /' conftest.$ac_ext >&5
26307 glibcxx_cv_func__hypot_use=no
26309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26310 ac_ext=c
26311 ac_cpp='$CPP $CPPFLAGS'
26312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
26321 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
26323 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
26325 for ac_func in _hypot
26327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26328 echo "$as_me:$LINENO: checking for $ac_func" >&5
26329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26330 if eval "test \"\${$as_ac_var+set}\" = set"; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26332 else
26333 if test x$gcc_no_link = xyes; then
26334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26336 { (exit 1); exit 1; }; }
26338 cat >conftest.$ac_ext <<_ACEOF
26339 /* confdefs.h. */
26340 _ACEOF
26341 cat confdefs.h >>conftest.$ac_ext
26342 cat >>conftest.$ac_ext <<_ACEOF
26343 /* end confdefs.h. */
26344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26346 #define $ac_func innocuous_$ac_func
26348 /* System header to define __stub macros and hopefully few prototypes,
26349 which can conflict with char $ac_func (); below.
26350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26351 <limits.h> exists even on freestanding compilers. */
26353 #ifdef __STDC__
26354 # include <limits.h>
26355 #else
26356 # include <assert.h>
26357 #endif
26359 #undef $ac_func
26361 /* Override any gcc2 internal prototype to avoid an error. */
26362 #ifdef __cplusplus
26363 extern "C"
26365 #endif
26366 /* We use char because int might match the return type of a gcc2
26367 builtin and then its argument prototype would still apply. */
26368 char $ac_func ();
26369 /* The GNU C library defines this for functions which it implements
26370 to always fail with ENOSYS. Some functions are actually named
26371 something starting with __ and the normal name is an alias. */
26372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26373 choke me
26374 #else
26375 char (*f) () = $ac_func;
26376 #endif
26377 #ifdef __cplusplus
26379 #endif
26382 main ()
26384 return f != $ac_func;
26386 return 0;
26388 _ACEOF
26389 rm -f conftest.$ac_objext conftest$ac_exeext
26390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26391 (eval $ac_link) 2>conftest.er1
26392 ac_status=$?
26393 grep -v '^ *+' conftest.er1 >conftest.err
26394 rm -f conftest.er1
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } &&
26398 { ac_try='test -z "$ac_c_werror_flag"
26399 || test ! -s conftest.err'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26402 ac_status=$?
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; } &&
26405 { ac_try='test -s conftest$ac_exeext'
26406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26407 (eval $ac_try) 2>&5
26408 ac_status=$?
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); }; }; then
26411 eval "$as_ac_var=yes"
26412 else
26413 echo "$as_me: failed program was:" >&5
26414 sed 's/^/| /' conftest.$ac_ext >&5
26416 eval "$as_ac_var=no"
26418 rm -f conftest.err conftest.$ac_objext \
26419 conftest$ac_exeext conftest.$ac_ext
26421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26423 if test `eval echo '${'$as_ac_var'}'` = yes; then
26424 cat >>confdefs.h <<_ACEOF
26425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26426 _ACEOF
26429 done
26439 echo "$as_me:$LINENO: checking for float trig functions" >&5
26440 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
26441 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
26442 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 else
26447 ac_ext=cc
26448 ac_cpp='$CXXCPP $CPPFLAGS'
26449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26453 cat >conftest.$ac_ext <<_ACEOF
26454 /* confdefs.h. */
26455 _ACEOF
26456 cat confdefs.h >>conftest.$ac_ext
26457 cat >>conftest.$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26459 #include <math.h>
26461 main ()
26463 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
26465 return 0;
26467 _ACEOF
26468 rm -f conftest.$ac_objext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26470 (eval $ac_compile) 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try='test -z "$ac_cxx_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26481 ac_status=$?
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try='test -s conftest.$ac_objext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26487 ac_status=$?
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26490 glibcxx_cv_func_float_trig_use=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26495 glibcxx_cv_func_float_trig_use=no
26497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26498 ac_ext=c
26499 ac_cpp='$CPP $CPPFLAGS'
26500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
26507 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
26508 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
26518 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
26520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26521 echo "$as_me:$LINENO: checking for $ac_func" >&5
26522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26523 if eval "test \"\${$as_ac_var+set}\" = set"; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26525 else
26526 if test x$gcc_no_link = xyes; then
26527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26529 { (exit 1); exit 1; }; }
26531 cat >conftest.$ac_ext <<_ACEOF
26532 /* confdefs.h. */
26533 _ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26539 #define $ac_func innocuous_$ac_func
26541 /* System header to define __stub macros and hopefully few prototypes,
26542 which can conflict with char $ac_func (); below.
26543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26544 <limits.h> exists even on freestanding compilers. */
26546 #ifdef __STDC__
26547 # include <limits.h>
26548 #else
26549 # include <assert.h>
26550 #endif
26552 #undef $ac_func
26554 /* Override any gcc2 internal prototype to avoid an error. */
26555 #ifdef __cplusplus
26556 extern "C"
26558 #endif
26559 /* We use char because int might match the return type of a gcc2
26560 builtin and then its argument prototype would still apply. */
26561 char $ac_func ();
26562 /* The GNU C library defines this for functions which it implements
26563 to always fail with ENOSYS. Some functions are actually named
26564 something starting with __ and the normal name is an alias. */
26565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26566 choke me
26567 #else
26568 char (*f) () = $ac_func;
26569 #endif
26570 #ifdef __cplusplus
26572 #endif
26575 main ()
26577 return f != $ac_func;
26579 return 0;
26581 _ACEOF
26582 rm -f conftest.$ac_objext conftest$ac_exeext
26583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26584 (eval $ac_link) 2>conftest.er1
26585 ac_status=$?
26586 grep -v '^ *+' conftest.er1 >conftest.err
26587 rm -f conftest.er1
26588 cat conftest.err >&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } &&
26591 { ac_try='test -z "$ac_c_werror_flag"
26592 || test ! -s conftest.err'
26593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26594 (eval $ac_try) 2>&5
26595 ac_status=$?
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); }; } &&
26598 { ac_try='test -s conftest$ac_exeext'
26599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600 (eval $ac_try) 2>&5
26601 ac_status=$?
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); }; }; then
26604 eval "$as_ac_var=yes"
26605 else
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.$ac_ext >&5
26609 eval "$as_ac_var=no"
26611 rm -f conftest.err conftest.$ac_objext \
26612 conftest$ac_exeext conftest.$ac_ext
26614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26616 if test `eval echo '${'$as_ac_var'}'` = yes; then
26617 cat >>confdefs.h <<_ACEOF
26618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26619 _ACEOF
26622 done
26624 else
26625 echo "$as_me:$LINENO: checking for _float trig functions" >&5
26626 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26627 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26629 else
26633 ac_ext=cc
26634 ac_cpp='$CXXCPP $CPPFLAGS'
26635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26639 cat >conftest.$ac_ext <<_ACEOF
26640 /* confdefs.h. */
26641 _ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26645 #include <math.h>
26647 main ()
26649 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
26651 return 0;
26653 _ACEOF
26654 rm -f conftest.$ac_objext
26655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26656 (eval $ac_compile) 2>conftest.er1
26657 ac_status=$?
26658 grep -v '^ *+' conftest.er1 >conftest.err
26659 rm -f conftest.er1
26660 cat conftest.err >&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); } &&
26663 { ac_try='test -z "$ac_cxx_werror_flag"
26664 || test ! -s conftest.err'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26667 ac_status=$?
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; } &&
26670 { ac_try='test -s conftest.$ac_objext'
26671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26672 (eval $ac_try) 2>&5
26673 ac_status=$?
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); }; }; then
26676 glibcxx_cv_func__float_trig_use=yes
26677 else
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.$ac_ext >&5
26681 glibcxx_cv_func__float_trig_use=no
26683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26684 ac_ext=c
26685 ac_cpp='$CPP $CPPFLAGS'
26686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26693 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26694 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26704 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
26706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26707 echo "$as_me:$LINENO: checking for $ac_func" >&5
26708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26709 if eval "test \"\${$as_ac_var+set}\" = set"; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 else
26712 if test x$gcc_no_link = xyes; then
26713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26715 { (exit 1); exit 1; }; }
26717 cat >conftest.$ac_ext <<_ACEOF
26718 /* confdefs.h. */
26719 _ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26725 #define $ac_func innocuous_$ac_func
26727 /* System header to define __stub macros and hopefully few prototypes,
26728 which can conflict with char $ac_func (); below.
26729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26730 <limits.h> exists even on freestanding compilers. */
26732 #ifdef __STDC__
26733 # include <limits.h>
26734 #else
26735 # include <assert.h>
26736 #endif
26738 #undef $ac_func
26740 /* Override any gcc2 internal prototype to avoid an error. */
26741 #ifdef __cplusplus
26742 extern "C"
26744 #endif
26745 /* We use char because int might match the return type of a gcc2
26746 builtin and then its argument prototype would still apply. */
26747 char $ac_func ();
26748 /* The GNU C library defines this for functions which it implements
26749 to always fail with ENOSYS. Some functions are actually named
26750 something starting with __ and the normal name is an alias. */
26751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26752 choke me
26753 #else
26754 char (*f) () = $ac_func;
26755 #endif
26756 #ifdef __cplusplus
26758 #endif
26761 main ()
26763 return f != $ac_func;
26765 return 0;
26767 _ACEOF
26768 rm -f conftest.$ac_objext conftest$ac_exeext
26769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26770 (eval $ac_link) 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try='test -z "$ac_c_werror_flag"
26778 || test ! -s conftest.err'
26779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780 (eval $ac_try) 2>&5
26781 ac_status=$?
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); }; } &&
26784 { ac_try='test -s conftest$ac_exeext'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; }; then
26790 eval "$as_ac_var=yes"
26791 else
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26795 eval "$as_ac_var=no"
26797 rm -f conftest.err conftest.$ac_objext \
26798 conftest$ac_exeext conftest.$ac_ext
26800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26802 if test `eval echo '${'$as_ac_var'}'` = yes; then
26803 cat >>confdefs.h <<_ACEOF
26804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26805 _ACEOF
26808 done
26826 echo "$as_me:$LINENO: checking for float round functions" >&5
26827 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
26828 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
26829 echo $ECHO_N "(cached) $ECHO_C" >&6
26830 else
26834 ac_ext=cc
26835 ac_cpp='$CXXCPP $CPPFLAGS'
26836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26840 cat >conftest.$ac_ext <<_ACEOF
26841 /* confdefs.h. */
26842 _ACEOF
26843 cat confdefs.h >>conftest.$ac_ext
26844 cat >>conftest.$ac_ext <<_ACEOF
26845 /* end confdefs.h. */
26846 #include <math.h>
26848 main ()
26850 ceilf (0); floorf (0);
26852 return 0;
26854 _ACEOF
26855 rm -f conftest.$ac_objext
26856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26857 (eval $ac_compile) 2>conftest.er1
26858 ac_status=$?
26859 grep -v '^ *+' conftest.er1 >conftest.err
26860 rm -f conftest.er1
26861 cat conftest.err >&5
26862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863 (exit $ac_status); } &&
26864 { ac_try='test -z "$ac_cxx_werror_flag"
26865 || test ! -s conftest.err'
26866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867 (eval $ac_try) 2>&5
26868 ac_status=$?
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); }; } &&
26871 { ac_try='test -s conftest.$ac_objext'
26872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26873 (eval $ac_try) 2>&5
26874 ac_status=$?
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26877 glibcxx_cv_func_float_round_use=yes
26878 else
26879 echo "$as_me: failed program was:" >&5
26880 sed 's/^/| /' conftest.$ac_ext >&5
26882 glibcxx_cv_func_float_round_use=no
26884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26885 ac_ext=c
26886 ac_cpp='$CPP $CPPFLAGS'
26887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
26894 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
26895 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
26898 for ac_func in ceilf floorf
26900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26901 echo "$as_me:$LINENO: checking for $ac_func" >&5
26902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26903 if eval "test \"\${$as_ac_var+set}\" = set"; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 else
26906 if test x$gcc_no_link = xyes; then
26907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26909 { (exit 1); exit 1; }; }
26911 cat >conftest.$ac_ext <<_ACEOF
26912 /* confdefs.h. */
26913 _ACEOF
26914 cat confdefs.h >>conftest.$ac_ext
26915 cat >>conftest.$ac_ext <<_ACEOF
26916 /* end confdefs.h. */
26917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26919 #define $ac_func innocuous_$ac_func
26921 /* System header to define __stub macros and hopefully few prototypes,
26922 which can conflict with char $ac_func (); below.
26923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26924 <limits.h> exists even on freestanding compilers. */
26926 #ifdef __STDC__
26927 # include <limits.h>
26928 #else
26929 # include <assert.h>
26930 #endif
26932 #undef $ac_func
26934 /* Override any gcc2 internal prototype to avoid an error. */
26935 #ifdef __cplusplus
26936 extern "C"
26938 #endif
26939 /* We use char because int might match the return type of a gcc2
26940 builtin and then its argument prototype would still apply. */
26941 char $ac_func ();
26942 /* The GNU C library defines this for functions which it implements
26943 to always fail with ENOSYS. Some functions are actually named
26944 something starting with __ and the normal name is an alias. */
26945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26946 choke me
26947 #else
26948 char (*f) () = $ac_func;
26949 #endif
26950 #ifdef __cplusplus
26952 #endif
26955 main ()
26957 return f != $ac_func;
26959 return 0;
26961 _ACEOF
26962 rm -f conftest.$ac_objext conftest$ac_exeext
26963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26964 (eval $ac_link) 2>conftest.er1
26965 ac_status=$?
26966 grep -v '^ *+' conftest.er1 >conftest.err
26967 rm -f conftest.er1
26968 cat conftest.err >&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } &&
26971 { ac_try='test -z "$ac_c_werror_flag"
26972 || test ! -s conftest.err'
26973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974 (eval $ac_try) 2>&5
26975 ac_status=$?
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); }; } &&
26978 { ac_try='test -s conftest$ac_exeext'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26981 ac_status=$?
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; }; then
26984 eval "$as_ac_var=yes"
26985 else
26986 echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.$ac_ext >&5
26989 eval "$as_ac_var=no"
26991 rm -f conftest.err conftest.$ac_objext \
26992 conftest$ac_exeext conftest.$ac_ext
26994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26996 if test `eval echo '${'$as_ac_var'}'` = yes; then
26997 cat >>confdefs.h <<_ACEOF
26998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26999 _ACEOF
27002 done
27004 else
27005 echo "$as_me:$LINENO: checking for _float round functions" >&5
27006 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
27007 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
27008 echo $ECHO_N "(cached) $ECHO_C" >&6
27009 else
27013 ac_ext=cc
27014 ac_cpp='$CXXCPP $CPPFLAGS'
27015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27019 cat >conftest.$ac_ext <<_ACEOF
27020 /* confdefs.h. */
27021 _ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27025 #include <math.h>
27027 main ()
27029 _ceilf (0); _floorf (0);
27031 return 0;
27033 _ACEOF
27034 rm -f conftest.$ac_objext
27035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27036 (eval $ac_compile) 2>conftest.er1
27037 ac_status=$?
27038 grep -v '^ *+' conftest.er1 >conftest.err
27039 rm -f conftest.er1
27040 cat conftest.err >&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); } &&
27043 { ac_try='test -z "$ac_cxx_werror_flag"
27044 || test ! -s conftest.err'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; } &&
27050 { ac_try='test -s conftest.$ac_objext'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27053 ac_status=$?
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; }; then
27056 glibcxx_cv_func__float_round_use=yes
27057 else
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27061 glibcxx_cv_func__float_round_use=no
27063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27064 ac_ext=c
27065 ac_cpp='$CPP $CPPFLAGS'
27066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
27073 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
27074 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27077 for ac_func in _ceilf _floorf
27079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27080 echo "$as_me:$LINENO: checking for $ac_func" >&5
27081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27082 if eval "test \"\${$as_ac_var+set}\" = set"; then
27083 echo $ECHO_N "(cached) $ECHO_C" >&6
27084 else
27085 if test x$gcc_no_link = xyes; then
27086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27088 { (exit 1); exit 1; }; }
27090 cat >conftest.$ac_ext <<_ACEOF
27091 /* confdefs.h. */
27092 _ACEOF
27093 cat confdefs.h >>conftest.$ac_ext
27094 cat >>conftest.$ac_ext <<_ACEOF
27095 /* end confdefs.h. */
27096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27098 #define $ac_func innocuous_$ac_func
27100 /* System header to define __stub macros and hopefully few prototypes,
27101 which can conflict with char $ac_func (); below.
27102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27103 <limits.h> exists even on freestanding compilers. */
27105 #ifdef __STDC__
27106 # include <limits.h>
27107 #else
27108 # include <assert.h>
27109 #endif
27111 #undef $ac_func
27113 /* Override any gcc2 internal prototype to avoid an error. */
27114 #ifdef __cplusplus
27115 extern "C"
27117 #endif
27118 /* We use char because int might match the return type of a gcc2
27119 builtin and then its argument prototype would still apply. */
27120 char $ac_func ();
27121 /* The GNU C library defines this for functions which it implements
27122 to always fail with ENOSYS. Some functions are actually named
27123 something starting with __ and the normal name is an alias. */
27124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27125 choke me
27126 #else
27127 char (*f) () = $ac_func;
27128 #endif
27129 #ifdef __cplusplus
27131 #endif
27134 main ()
27136 return f != $ac_func;
27138 return 0;
27140 _ACEOF
27141 rm -f conftest.$ac_objext conftest$ac_exeext
27142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27143 (eval $ac_link) 2>conftest.er1
27144 ac_status=$?
27145 grep -v '^ *+' conftest.er1 >conftest.err
27146 rm -f conftest.er1
27147 cat conftest.err >&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try='test -z "$ac_c_werror_flag"
27151 || test ! -s conftest.err'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27154 ac_status=$?
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; } &&
27157 { ac_try='test -s conftest$ac_exeext'
27158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27159 (eval $ac_try) 2>&5
27160 ac_status=$?
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); }; }; then
27163 eval "$as_ac_var=yes"
27164 else
27165 echo "$as_me: failed program was:" >&5
27166 sed 's/^/| /' conftest.$ac_ext >&5
27168 eval "$as_ac_var=no"
27170 rm -f conftest.err conftest.$ac_objext \
27171 conftest$ac_exeext conftest.$ac_ext
27173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27175 if test `eval echo '${'$as_ac_var'}'` = yes; then
27176 cat >>confdefs.h <<_ACEOF
27177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27178 _ACEOF
27181 done
27193 echo "$as_me:$LINENO: checking for expf declaration" >&5
27194 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
27195 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27196 if test "${glibcxx_cv_func_expf_use+set}" = set; then
27197 echo $ECHO_N "(cached) $ECHO_C" >&6
27198 else
27202 ac_ext=cc
27203 ac_cpp='$CXXCPP $CPPFLAGS'
27204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27208 cat >conftest.$ac_ext <<_ACEOF
27209 /* confdefs.h. */
27210 _ACEOF
27211 cat confdefs.h >>conftest.$ac_ext
27212 cat >>conftest.$ac_ext <<_ACEOF
27213 /* end confdefs.h. */
27214 #include <math.h>
27215 #ifdef HAVE_IEEEFP_H
27216 #include <ieeefp.h>
27217 #endif
27220 main ()
27222 expf(0);
27224 return 0;
27226 _ACEOF
27227 rm -f conftest.$ac_objext
27228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27229 (eval $ac_compile) 2>conftest.er1
27230 ac_status=$?
27231 grep -v '^ *+' conftest.er1 >conftest.err
27232 rm -f conftest.er1
27233 cat conftest.err >&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); } &&
27236 { ac_try='test -z "$ac_cxx_werror_flag"
27237 || test ! -s conftest.err'
27238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27239 (eval $ac_try) 2>&5
27240 ac_status=$?
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); }; } &&
27243 { ac_try='test -s conftest.$ac_objext'
27244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245 (eval $ac_try) 2>&5
27246 ac_status=$?
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); }; }; then
27249 glibcxx_cv_func_expf_use=yes
27250 else
27251 echo "$as_me: failed program was:" >&5
27252 sed 's/^/| /' conftest.$ac_ext >&5
27254 glibcxx_cv_func_expf_use=no
27256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27257 ac_ext=c
27258 ac_cpp='$CPP $CPPFLAGS'
27259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
27268 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
27270 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27272 for ac_func in expf
27274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27275 echo "$as_me:$LINENO: checking for $ac_func" >&5
27276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27277 if eval "test \"\${$as_ac_var+set}\" = set"; then
27278 echo $ECHO_N "(cached) $ECHO_C" >&6
27279 else
27280 if test x$gcc_no_link = xyes; then
27281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27283 { (exit 1); exit 1; }; }
27285 cat >conftest.$ac_ext <<_ACEOF
27286 /* confdefs.h. */
27287 _ACEOF
27288 cat confdefs.h >>conftest.$ac_ext
27289 cat >>conftest.$ac_ext <<_ACEOF
27290 /* end confdefs.h. */
27291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27293 #define $ac_func innocuous_$ac_func
27295 /* System header to define __stub macros and hopefully few prototypes,
27296 which can conflict with char $ac_func (); below.
27297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27298 <limits.h> exists even on freestanding compilers. */
27300 #ifdef __STDC__
27301 # include <limits.h>
27302 #else
27303 # include <assert.h>
27304 #endif
27306 #undef $ac_func
27308 /* Override any gcc2 internal prototype to avoid an error. */
27309 #ifdef __cplusplus
27310 extern "C"
27312 #endif
27313 /* We use char because int might match the return type of a gcc2
27314 builtin and then its argument prototype would still apply. */
27315 char $ac_func ();
27316 /* The GNU C library defines this for functions which it implements
27317 to always fail with ENOSYS. Some functions are actually named
27318 something starting with __ and the normal name is an alias. */
27319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27320 choke me
27321 #else
27322 char (*f) () = $ac_func;
27323 #endif
27324 #ifdef __cplusplus
27326 #endif
27329 main ()
27331 return f != $ac_func;
27333 return 0;
27335 _ACEOF
27336 rm -f conftest.$ac_objext conftest$ac_exeext
27337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27338 (eval $ac_link) 2>conftest.er1
27339 ac_status=$?
27340 grep -v '^ *+' conftest.er1 >conftest.err
27341 rm -f conftest.er1
27342 cat conftest.err >&5
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); } &&
27345 { ac_try='test -z "$ac_c_werror_flag"
27346 || test ! -s conftest.err'
27347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27348 (eval $ac_try) 2>&5
27349 ac_status=$?
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); }; } &&
27352 { ac_try='test -s conftest$ac_exeext'
27353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354 (eval $ac_try) 2>&5
27355 ac_status=$?
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; }; then
27358 eval "$as_ac_var=yes"
27359 else
27360 echo "$as_me: failed program was:" >&5
27361 sed 's/^/| /' conftest.$ac_ext >&5
27363 eval "$as_ac_var=no"
27365 rm -f conftest.err conftest.$ac_objext \
27366 conftest$ac_exeext conftest.$ac_ext
27368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27370 if test `eval echo '${'$as_ac_var'}'` = yes; then
27371 cat >>confdefs.h <<_ACEOF
27372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27373 _ACEOF
27376 done
27378 else
27380 echo "$as_me:$LINENO: checking for _expf declaration" >&5
27381 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
27382 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27383 if test "${glibcxx_cv_func__expf_use+set}" = set; then
27384 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 else
27389 ac_ext=cc
27390 ac_cpp='$CXXCPP $CPPFLAGS'
27391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27395 cat >conftest.$ac_ext <<_ACEOF
27396 /* confdefs.h. */
27397 _ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27401 #include <math.h>
27402 #ifdef HAVE_IEEEFP_H
27403 #include <ieeefp.h>
27404 #endif
27407 main ()
27409 _expf(0);
27411 return 0;
27413 _ACEOF
27414 rm -f conftest.$ac_objext
27415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27416 (eval $ac_compile) 2>conftest.er1
27417 ac_status=$?
27418 grep -v '^ *+' conftest.er1 >conftest.err
27419 rm -f conftest.er1
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try='test -z "$ac_cxx_werror_flag"
27424 || test ! -s conftest.err'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; } &&
27430 { ac_try='test -s conftest.$ac_objext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 glibcxx_cv_func__expf_use=yes
27437 else
27438 echo "$as_me: failed program was:" >&5
27439 sed 's/^/| /' conftest.$ac_ext >&5
27441 glibcxx_cv_func__expf_use=no
27443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27444 ac_ext=c
27445 ac_cpp='$CPP $CPPFLAGS'
27446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
27455 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
27457 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27459 for ac_func in _expf
27461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27462 echo "$as_me:$LINENO: checking for $ac_func" >&5
27463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27464 if eval "test \"\${$as_ac_var+set}\" = set"; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 else
27467 if test x$gcc_no_link = xyes; then
27468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27470 { (exit 1); exit 1; }; }
27472 cat >conftest.$ac_ext <<_ACEOF
27473 /* confdefs.h. */
27474 _ACEOF
27475 cat confdefs.h >>conftest.$ac_ext
27476 cat >>conftest.$ac_ext <<_ACEOF
27477 /* end confdefs.h. */
27478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27480 #define $ac_func innocuous_$ac_func
27482 /* System header to define __stub macros and hopefully few prototypes,
27483 which can conflict with char $ac_func (); below.
27484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27485 <limits.h> exists even on freestanding compilers. */
27487 #ifdef __STDC__
27488 # include <limits.h>
27489 #else
27490 # include <assert.h>
27491 #endif
27493 #undef $ac_func
27495 /* Override any gcc2 internal prototype to avoid an error. */
27496 #ifdef __cplusplus
27497 extern "C"
27499 #endif
27500 /* We use char because int might match the return type of a gcc2
27501 builtin and then its argument prototype would still apply. */
27502 char $ac_func ();
27503 /* The GNU C library defines this for functions which it implements
27504 to always fail with ENOSYS. Some functions are actually named
27505 something starting with __ and the normal name is an alias. */
27506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27507 choke me
27508 #else
27509 char (*f) () = $ac_func;
27510 #endif
27511 #ifdef __cplusplus
27513 #endif
27516 main ()
27518 return f != $ac_func;
27520 return 0;
27522 _ACEOF
27523 rm -f conftest.$ac_objext conftest$ac_exeext
27524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27525 (eval $ac_link) 2>conftest.er1
27526 ac_status=$?
27527 grep -v '^ *+' conftest.er1 >conftest.err
27528 rm -f conftest.er1
27529 cat conftest.err >&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); } &&
27532 { ac_try='test -z "$ac_c_werror_flag"
27533 || test ! -s conftest.err'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27536 ac_status=$?
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; } &&
27539 { ac_try='test -s conftest$ac_exeext'
27540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541 (eval $ac_try) 2>&5
27542 ac_status=$?
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; }; then
27545 eval "$as_ac_var=yes"
27546 else
27547 echo "$as_me: failed program was:" >&5
27548 sed 's/^/| /' conftest.$ac_ext >&5
27550 eval "$as_ac_var=no"
27552 rm -f conftest.err conftest.$ac_objext \
27553 conftest$ac_exeext conftest.$ac_ext
27555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27557 if test `eval echo '${'$as_ac_var'}'` = yes; then
27558 cat >>confdefs.h <<_ACEOF
27559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27560 _ACEOF
27563 done
27573 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
27574 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
27575 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27576 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 else
27582 ac_ext=cc
27583 ac_cpp='$CXXCPP $CPPFLAGS'
27584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 #include <math.h>
27595 #ifdef HAVE_IEEEFP_H
27596 #include <ieeefp.h>
27597 #endif
27600 main ()
27602 isnanf(0);
27604 return 0;
27606 _ACEOF
27607 rm -f conftest.$ac_objext
27608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27609 (eval $ac_compile) 2>conftest.er1
27610 ac_status=$?
27611 grep -v '^ *+' conftest.er1 >conftest.err
27612 rm -f conftest.er1
27613 cat conftest.err >&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } &&
27616 { ac_try='test -z "$ac_cxx_werror_flag"
27617 || test ! -s conftest.err'
27618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27619 (eval $ac_try) 2>&5
27620 ac_status=$?
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); }; } &&
27623 { ac_try='test -s conftest.$ac_objext'
27624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27625 (eval $ac_try) 2>&5
27626 ac_status=$?
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); }; }; then
27629 glibcxx_cv_func_isnanf_use=yes
27630 else
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.$ac_ext >&5
27634 glibcxx_cv_func_isnanf_use=no
27636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27637 ac_ext=c
27638 ac_cpp='$CPP $CPPFLAGS'
27639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
27648 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
27650 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27652 for ac_func in isnanf
27654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27655 echo "$as_me:$LINENO: checking for $ac_func" >&5
27656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27657 if eval "test \"\${$as_ac_var+set}\" = set"; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27659 else
27660 if test x$gcc_no_link = xyes; then
27661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27663 { (exit 1); exit 1; }; }
27665 cat >conftest.$ac_ext <<_ACEOF
27666 /* confdefs.h. */
27667 _ACEOF
27668 cat confdefs.h >>conftest.$ac_ext
27669 cat >>conftest.$ac_ext <<_ACEOF
27670 /* end confdefs.h. */
27671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27673 #define $ac_func innocuous_$ac_func
27675 /* System header to define __stub macros and hopefully few prototypes,
27676 which can conflict with char $ac_func (); below.
27677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27678 <limits.h> exists even on freestanding compilers. */
27680 #ifdef __STDC__
27681 # include <limits.h>
27682 #else
27683 # include <assert.h>
27684 #endif
27686 #undef $ac_func
27688 /* Override any gcc2 internal prototype to avoid an error. */
27689 #ifdef __cplusplus
27690 extern "C"
27692 #endif
27693 /* We use char because int might match the return type of a gcc2
27694 builtin and then its argument prototype would still apply. */
27695 char $ac_func ();
27696 /* The GNU C library defines this for functions which it implements
27697 to always fail with ENOSYS. Some functions are actually named
27698 something starting with __ and the normal name is an alias. */
27699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27700 choke me
27701 #else
27702 char (*f) () = $ac_func;
27703 #endif
27704 #ifdef __cplusplus
27706 #endif
27709 main ()
27711 return f != $ac_func;
27713 return 0;
27715 _ACEOF
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try='test -z "$ac_c_werror_flag"
27726 || test ! -s conftest.err'
27727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27728 (eval $ac_try) 2>&5
27729 ac_status=$?
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); }; } &&
27732 { ac_try='test -s conftest$ac_exeext'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27735 ac_status=$?
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; }; then
27738 eval "$as_ac_var=yes"
27739 else
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27743 eval "$as_ac_var=no"
27745 rm -f conftest.err conftest.$ac_objext \
27746 conftest$ac_exeext conftest.$ac_ext
27748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27750 if test `eval echo '${'$as_ac_var'}'` = yes; then
27751 cat >>confdefs.h <<_ACEOF
27752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27753 _ACEOF
27756 done
27758 else
27760 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
27761 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
27762 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27763 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 else
27769 ac_ext=cc
27770 ac_cpp='$CXXCPP $CPPFLAGS'
27771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27775 cat >conftest.$ac_ext <<_ACEOF
27776 /* confdefs.h. */
27777 _ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781 #include <math.h>
27782 #ifdef HAVE_IEEEFP_H
27783 #include <ieeefp.h>
27784 #endif
27787 main ()
27789 _isnanf(0);
27791 return 0;
27793 _ACEOF
27794 rm -f conftest.$ac_objext
27795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27796 (eval $ac_compile) 2>conftest.er1
27797 ac_status=$?
27798 grep -v '^ *+' conftest.er1 >conftest.err
27799 rm -f conftest.er1
27800 cat conftest.err >&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } &&
27803 { ac_try='test -z "$ac_cxx_werror_flag"
27804 || test ! -s conftest.err'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27807 ac_status=$?
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; } &&
27810 { ac_try='test -s conftest.$ac_objext'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27813 ac_status=$?
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27816 glibcxx_cv_func__isnanf_use=yes
27817 else
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27821 glibcxx_cv_func__isnanf_use=no
27823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27824 ac_ext=c
27825 ac_cpp='$CPP $CPPFLAGS'
27826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
27835 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
27837 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27839 for ac_func in _isnanf
27841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27842 echo "$as_me:$LINENO: checking for $ac_func" >&5
27843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27844 if eval "test \"\${$as_ac_var+set}\" = set"; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 if test x$gcc_no_link = xyes; then
27848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27850 { (exit 1); exit 1; }; }
27852 cat >conftest.$ac_ext <<_ACEOF
27853 /* confdefs.h. */
27854 _ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27860 #define $ac_func innocuous_$ac_func
27862 /* System header to define __stub macros and hopefully few prototypes,
27863 which can conflict with char $ac_func (); below.
27864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27865 <limits.h> exists even on freestanding compilers. */
27867 #ifdef __STDC__
27868 # include <limits.h>
27869 #else
27870 # include <assert.h>
27871 #endif
27873 #undef $ac_func
27875 /* Override any gcc2 internal prototype to avoid an error. */
27876 #ifdef __cplusplus
27877 extern "C"
27879 #endif
27880 /* We use char because int might match the return type of a gcc2
27881 builtin and then its argument prototype would still apply. */
27882 char $ac_func ();
27883 /* The GNU C library defines this for functions which it implements
27884 to always fail with ENOSYS. Some functions are actually named
27885 something starting with __ and the normal name is an alias. */
27886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27887 choke me
27888 #else
27889 char (*f) () = $ac_func;
27890 #endif
27891 #ifdef __cplusplus
27893 #endif
27896 main ()
27898 return f != $ac_func;
27900 return 0;
27902 _ACEOF
27903 rm -f conftest.$ac_objext conftest$ac_exeext
27904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27905 (eval $ac_link) 2>conftest.er1
27906 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try='test -z "$ac_c_werror_flag"
27913 || test ! -s conftest.err'
27914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27915 (eval $ac_try) 2>&5
27916 ac_status=$?
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); }; } &&
27919 { ac_try='test -s conftest$ac_exeext'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27922 ac_status=$?
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; }; then
27925 eval "$as_ac_var=yes"
27926 else
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.$ac_ext >&5
27930 eval "$as_ac_var=no"
27932 rm -f conftest.err conftest.$ac_objext \
27933 conftest$ac_exeext conftest.$ac_ext
27935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27937 if test `eval echo '${'$as_ac_var'}'` = yes; then
27938 cat >>confdefs.h <<_ACEOF
27939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27940 _ACEOF
27943 done
27953 echo "$as_me:$LINENO: checking for isinff declaration" >&5
27954 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
27955 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27956 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27962 ac_ext=cc
27963 ac_cpp='$CXXCPP $CPPFLAGS'
27964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27968 cat >conftest.$ac_ext <<_ACEOF
27969 /* confdefs.h. */
27970 _ACEOF
27971 cat confdefs.h >>conftest.$ac_ext
27972 cat >>conftest.$ac_ext <<_ACEOF
27973 /* end confdefs.h. */
27974 #include <math.h>
27975 #ifdef HAVE_IEEEFP_H
27976 #include <ieeefp.h>
27977 #endif
27980 main ()
27982 isinff(0);
27984 return 0;
27986 _ACEOF
27987 rm -f conftest.$ac_objext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27989 (eval $ac_compile) 2>conftest.er1
27990 ac_status=$?
27991 grep -v '^ *+' conftest.er1 >conftest.err
27992 rm -f conftest.er1
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } &&
27996 { ac_try='test -z "$ac_cxx_werror_flag"
27997 || test ! -s conftest.err'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28000 ac_status=$?
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try='test -s conftest.$ac_objext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28009 glibcxx_cv_func_isinff_use=yes
28010 else
28011 echo "$as_me: failed program was:" >&5
28012 sed 's/^/| /' conftest.$ac_ext >&5
28014 glibcxx_cv_func_isinff_use=no
28016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28017 ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
28028 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
28030 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28032 for ac_func in isinff
28034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28035 echo "$as_me:$LINENO: checking for $ac_func" >&5
28036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28037 if eval "test \"\${$as_ac_var+set}\" = set"; then
28038 echo $ECHO_N "(cached) $ECHO_C" >&6
28039 else
28040 if test x$gcc_no_link = xyes; then
28041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28043 { (exit 1); exit 1; }; }
28045 cat >conftest.$ac_ext <<_ACEOF
28046 /* confdefs.h. */
28047 _ACEOF
28048 cat confdefs.h >>conftest.$ac_ext
28049 cat >>conftest.$ac_ext <<_ACEOF
28050 /* end confdefs.h. */
28051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28053 #define $ac_func innocuous_$ac_func
28055 /* System header to define __stub macros and hopefully few prototypes,
28056 which can conflict with char $ac_func (); below.
28057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28058 <limits.h> exists even on freestanding compilers. */
28060 #ifdef __STDC__
28061 # include <limits.h>
28062 #else
28063 # include <assert.h>
28064 #endif
28066 #undef $ac_func
28068 /* Override any gcc2 internal prototype to avoid an error. */
28069 #ifdef __cplusplus
28070 extern "C"
28072 #endif
28073 /* We use char because int might match the return type of a gcc2
28074 builtin and then its argument prototype would still apply. */
28075 char $ac_func ();
28076 /* The GNU C library defines this for functions which it implements
28077 to always fail with ENOSYS. Some functions are actually named
28078 something starting with __ and the normal name is an alias. */
28079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28080 choke me
28081 #else
28082 char (*f) () = $ac_func;
28083 #endif
28084 #ifdef __cplusplus
28086 #endif
28089 main ()
28091 return f != $ac_func;
28093 return 0;
28095 _ACEOF
28096 rm -f conftest.$ac_objext conftest$ac_exeext
28097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28098 (eval $ac_link) 2>conftest.er1
28099 ac_status=$?
28100 grep -v '^ *+' conftest.er1 >conftest.err
28101 rm -f conftest.er1
28102 cat conftest.err >&5
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); } &&
28105 { ac_try='test -z "$ac_c_werror_flag"
28106 || test ! -s conftest.err'
28107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28108 (eval $ac_try) 2>&5
28109 ac_status=$?
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; } &&
28112 { ac_try='test -s conftest$ac_exeext'
28113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28114 (eval $ac_try) 2>&5
28115 ac_status=$?
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); }; }; then
28118 eval "$as_ac_var=yes"
28119 else
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.$ac_ext >&5
28123 eval "$as_ac_var=no"
28125 rm -f conftest.err conftest.$ac_objext \
28126 conftest$ac_exeext conftest.$ac_ext
28128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28130 if test `eval echo '${'$as_ac_var'}'` = yes; then
28131 cat >>confdefs.h <<_ACEOF
28132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28133 _ACEOF
28136 done
28138 else
28140 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
28141 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
28142 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28143 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28145 else
28149 ac_ext=cc
28150 ac_cpp='$CXXCPP $CPPFLAGS'
28151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28155 cat >conftest.$ac_ext <<_ACEOF
28156 /* confdefs.h. */
28157 _ACEOF
28158 cat confdefs.h >>conftest.$ac_ext
28159 cat >>conftest.$ac_ext <<_ACEOF
28160 /* end confdefs.h. */
28161 #include <math.h>
28162 #ifdef HAVE_IEEEFP_H
28163 #include <ieeefp.h>
28164 #endif
28167 main ()
28169 _isinff(0);
28171 return 0;
28173 _ACEOF
28174 rm -f conftest.$ac_objext
28175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28176 (eval $ac_compile) 2>conftest.er1
28177 ac_status=$?
28178 grep -v '^ *+' conftest.er1 >conftest.err
28179 rm -f conftest.er1
28180 cat conftest.err >&5
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); } &&
28183 { ac_try='test -z "$ac_cxx_werror_flag"
28184 || test ! -s conftest.err'
28185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28186 (eval $ac_try) 2>&5
28187 ac_status=$?
28188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 (exit $ac_status); }; } &&
28190 { ac_try='test -s conftest.$ac_objext'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28193 ac_status=$?
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; }; then
28196 glibcxx_cv_func__isinff_use=yes
28197 else
28198 echo "$as_me: failed program was:" >&5
28199 sed 's/^/| /' conftest.$ac_ext >&5
28201 glibcxx_cv_func__isinff_use=no
28203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28204 ac_ext=c
28205 ac_cpp='$CPP $CPPFLAGS'
28206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
28215 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
28217 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28219 for ac_func in _isinff
28221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28222 echo "$as_me:$LINENO: checking for $ac_func" >&5
28223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28224 if eval "test \"\${$as_ac_var+set}\" = set"; then
28225 echo $ECHO_N "(cached) $ECHO_C" >&6
28226 else
28227 if test x$gcc_no_link = xyes; then
28228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28230 { (exit 1); exit 1; }; }
28232 cat >conftest.$ac_ext <<_ACEOF
28233 /* confdefs.h. */
28234 _ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h. */
28238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28240 #define $ac_func innocuous_$ac_func
28242 /* System header to define __stub macros and hopefully few prototypes,
28243 which can conflict with char $ac_func (); below.
28244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28245 <limits.h> exists even on freestanding compilers. */
28247 #ifdef __STDC__
28248 # include <limits.h>
28249 #else
28250 # include <assert.h>
28251 #endif
28253 #undef $ac_func
28255 /* Override any gcc2 internal prototype to avoid an error. */
28256 #ifdef __cplusplus
28257 extern "C"
28259 #endif
28260 /* We use char because int might match the return type of a gcc2
28261 builtin and then its argument prototype would still apply. */
28262 char $ac_func ();
28263 /* The GNU C library defines this for functions which it implements
28264 to always fail with ENOSYS. Some functions are actually named
28265 something starting with __ and the normal name is an alias. */
28266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28267 choke me
28268 #else
28269 char (*f) () = $ac_func;
28270 #endif
28271 #ifdef __cplusplus
28273 #endif
28276 main ()
28278 return f != $ac_func;
28280 return 0;
28282 _ACEOF
28283 rm -f conftest.$ac_objext conftest$ac_exeext
28284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28285 (eval $ac_link) 2>conftest.er1
28286 ac_status=$?
28287 grep -v '^ *+' conftest.er1 >conftest.err
28288 rm -f conftest.er1
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } &&
28292 { ac_try='test -z "$ac_c_werror_flag"
28293 || test ! -s conftest.err'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28296 ac_status=$?
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; } &&
28299 { ac_try='test -s conftest$ac_exeext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28305 eval "$as_ac_var=yes"
28306 else
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28310 eval "$as_ac_var=no"
28312 rm -f conftest.err conftest.$ac_objext \
28313 conftest$ac_exeext conftest.$ac_ext
28315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28317 if test `eval echo '${'$as_ac_var'}'` = yes; then
28318 cat >>confdefs.h <<_ACEOF
28319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320 _ACEOF
28323 done
28333 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
28334 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
28335 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28336 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
28337 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 else
28342 ac_ext=cc
28343 ac_cpp='$CXXCPP $CPPFLAGS'
28344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28348 cat >conftest.$ac_ext <<_ACEOF
28349 /* confdefs.h. */
28350 _ACEOF
28351 cat confdefs.h >>conftest.$ac_ext
28352 cat >>conftest.$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354 #include <math.h>
28356 main ()
28358 atan2f(0, 0);
28360 return 0;
28362 _ACEOF
28363 rm -f conftest.$ac_objext
28364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28365 (eval $ac_compile) 2>conftest.er1
28366 ac_status=$?
28367 grep -v '^ *+' conftest.er1 >conftest.err
28368 rm -f conftest.er1
28369 cat conftest.err >&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try='test -z "$ac_cxx_werror_flag"
28373 || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28376 ac_status=$?
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try='test -s conftest.$ac_objext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28382 ac_status=$?
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28385 glibcxx_cv_func_atan2f_use=yes
28386 else
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.$ac_ext >&5
28390 glibcxx_cv_func_atan2f_use=no
28392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28393 ac_ext=c
28394 ac_cpp='$CPP $CPPFLAGS'
28395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
28404 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
28406 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28408 for ac_func in atan2f
28410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28411 echo "$as_me:$LINENO: checking for $ac_func" >&5
28412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28413 if eval "test \"\${$as_ac_var+set}\" = set"; then
28414 echo $ECHO_N "(cached) $ECHO_C" >&6
28415 else
28416 if test x$gcc_no_link = xyes; then
28417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28419 { (exit 1); exit 1; }; }
28421 cat >conftest.$ac_ext <<_ACEOF
28422 /* confdefs.h. */
28423 _ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28429 #define $ac_func innocuous_$ac_func
28431 /* System header to define __stub macros and hopefully few prototypes,
28432 which can conflict with char $ac_func (); below.
28433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28434 <limits.h> exists even on freestanding compilers. */
28436 #ifdef __STDC__
28437 # include <limits.h>
28438 #else
28439 # include <assert.h>
28440 #endif
28442 #undef $ac_func
28444 /* Override any gcc2 internal prototype to avoid an error. */
28445 #ifdef __cplusplus
28446 extern "C"
28448 #endif
28449 /* We use char because int might match the return type of a gcc2
28450 builtin and then its argument prototype would still apply. */
28451 char $ac_func ();
28452 /* The GNU C library defines this for functions which it implements
28453 to always fail with ENOSYS. Some functions are actually named
28454 something starting with __ and the normal name is an alias. */
28455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28456 choke me
28457 #else
28458 char (*f) () = $ac_func;
28459 #endif
28460 #ifdef __cplusplus
28462 #endif
28465 main ()
28467 return f != $ac_func;
28469 return 0;
28471 _ACEOF
28472 rm -f conftest.$ac_objext conftest$ac_exeext
28473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28474 (eval $ac_link) 2>conftest.er1
28475 ac_status=$?
28476 grep -v '^ *+' conftest.er1 >conftest.err
28477 rm -f conftest.er1
28478 cat conftest.err >&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); } &&
28481 { ac_try='test -z "$ac_c_werror_flag"
28482 || test ! -s conftest.err'
28483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28484 (eval $ac_try) 2>&5
28485 ac_status=$?
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); }; } &&
28488 { ac_try='test -s conftest$ac_exeext'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28491 ac_status=$?
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; }; then
28494 eval "$as_ac_var=yes"
28495 else
28496 echo "$as_me: failed program was:" >&5
28497 sed 's/^/| /' conftest.$ac_ext >&5
28499 eval "$as_ac_var=no"
28501 rm -f conftest.err conftest.$ac_objext \
28502 conftest$ac_exeext conftest.$ac_ext
28504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28506 if test `eval echo '${'$as_ac_var'}'` = yes; then
28507 cat >>confdefs.h <<_ACEOF
28508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28509 _ACEOF
28512 done
28514 else
28516 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
28517 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
28518 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28519 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
28520 echo $ECHO_N "(cached) $ECHO_C" >&6
28521 else
28525 ac_ext=cc
28526 ac_cpp='$CXXCPP $CPPFLAGS'
28527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28531 cat >conftest.$ac_ext <<_ACEOF
28532 /* confdefs.h. */
28533 _ACEOF
28534 cat confdefs.h >>conftest.$ac_ext
28535 cat >>conftest.$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28537 #include <math.h>
28539 main ()
28541 _atan2f(0, 0);
28543 return 0;
28545 _ACEOF
28546 rm -f conftest.$ac_objext
28547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28548 (eval $ac_compile) 2>conftest.er1
28549 ac_status=$?
28550 grep -v '^ *+' conftest.er1 >conftest.err
28551 rm -f conftest.er1
28552 cat conftest.err >&5
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); } &&
28555 { ac_try='test -z "$ac_cxx_werror_flag"
28556 || test ! -s conftest.err'
28557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28558 (eval $ac_try) 2>&5
28559 ac_status=$?
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); }; } &&
28562 { ac_try='test -s conftest.$ac_objext'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28565 ac_status=$?
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 glibcxx_cv_func__atan2f_use=yes
28569 else
28570 echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.$ac_ext >&5
28573 glibcxx_cv_func__atan2f_use=no
28575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28576 ac_ext=c
28577 ac_cpp='$CPP $CPPFLAGS'
28578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
28587 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
28589 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28591 for ac_func in _atan2f
28593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28594 echo "$as_me:$LINENO: checking for $ac_func" >&5
28595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28596 if eval "test \"\${$as_ac_var+set}\" = set"; then
28597 echo $ECHO_N "(cached) $ECHO_C" >&6
28598 else
28599 if test x$gcc_no_link = xyes; then
28600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28602 { (exit 1); exit 1; }; }
28604 cat >conftest.$ac_ext <<_ACEOF
28605 /* confdefs.h. */
28606 _ACEOF
28607 cat confdefs.h >>conftest.$ac_ext
28608 cat >>conftest.$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28612 #define $ac_func innocuous_$ac_func
28614 /* System header to define __stub macros and hopefully few prototypes,
28615 which can conflict with char $ac_func (); below.
28616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28617 <limits.h> exists even on freestanding compilers. */
28619 #ifdef __STDC__
28620 # include <limits.h>
28621 #else
28622 # include <assert.h>
28623 #endif
28625 #undef $ac_func
28627 /* Override any gcc2 internal prototype to avoid an error. */
28628 #ifdef __cplusplus
28629 extern "C"
28631 #endif
28632 /* We use char because int might match the return type of a gcc2
28633 builtin and then its argument prototype would still apply. */
28634 char $ac_func ();
28635 /* The GNU C library defines this for functions which it implements
28636 to always fail with ENOSYS. Some functions are actually named
28637 something starting with __ and the normal name is an alias. */
28638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28639 choke me
28640 #else
28641 char (*f) () = $ac_func;
28642 #endif
28643 #ifdef __cplusplus
28645 #endif
28648 main ()
28650 return f != $ac_func;
28652 return 0;
28654 _ACEOF
28655 rm -f conftest.$ac_objext conftest$ac_exeext
28656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28657 (eval $ac_link) 2>conftest.er1
28658 ac_status=$?
28659 grep -v '^ *+' conftest.er1 >conftest.err
28660 rm -f conftest.er1
28661 cat conftest.err >&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try='test -z "$ac_c_werror_flag"
28665 || test ! -s conftest.err'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; } &&
28671 { ac_try='test -s conftest$ac_exeext'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28677 eval "$as_ac_var=yes"
28678 else
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28682 eval "$as_ac_var=no"
28684 rm -f conftest.err conftest.$ac_objext \
28685 conftest$ac_exeext conftest.$ac_ext
28687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28689 if test `eval echo '${'$as_ac_var'}'` = yes; then
28690 cat >>confdefs.h <<_ACEOF
28691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28692 _ACEOF
28695 done
28705 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
28706 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
28707 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28708 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 else
28714 ac_ext=cc
28715 ac_cpp='$CXXCPP $CPPFLAGS'
28716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28720 cat >conftest.$ac_ext <<_ACEOF
28721 /* confdefs.h. */
28722 _ACEOF
28723 cat confdefs.h >>conftest.$ac_ext
28724 cat >>conftest.$ac_ext <<_ACEOF
28725 /* end confdefs.h. */
28726 #include <math.h>
28727 #ifdef HAVE_IEEEFP_H
28728 #include <ieeefp.h>
28729 #endif
28732 main ()
28734 fabsf(0);
28736 return 0;
28738 _ACEOF
28739 rm -f conftest.$ac_objext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 2>conftest.er1
28742 ac_status=$?
28743 grep -v '^ *+' conftest.er1 >conftest.err
28744 rm -f conftest.er1
28745 cat conftest.err >&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try='test -z "$ac_cxx_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try='test -s conftest.$ac_objext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 glibcxx_cv_func_fabsf_use=yes
28762 else
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28766 glibcxx_cv_func_fabsf_use=no
28768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28769 ac_ext=c
28770 ac_cpp='$CPP $CPPFLAGS'
28771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28779 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
28780 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
28782 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28784 for ac_func in fabsf
28786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28787 echo "$as_me:$LINENO: checking for $ac_func" >&5
28788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28789 if eval "test \"\${$as_ac_var+set}\" = set"; then
28790 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 else
28792 if test x$gcc_no_link = xyes; then
28793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28795 { (exit 1); exit 1; }; }
28797 cat >conftest.$ac_ext <<_ACEOF
28798 /* confdefs.h. */
28799 _ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h. */
28803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28805 #define $ac_func innocuous_$ac_func
28807 /* System header to define __stub macros and hopefully few prototypes,
28808 which can conflict with char $ac_func (); below.
28809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28810 <limits.h> exists even on freestanding compilers. */
28812 #ifdef __STDC__
28813 # include <limits.h>
28814 #else
28815 # include <assert.h>
28816 #endif
28818 #undef $ac_func
28820 /* Override any gcc2 internal prototype to avoid an error. */
28821 #ifdef __cplusplus
28822 extern "C"
28824 #endif
28825 /* We use char because int might match the return type of a gcc2
28826 builtin and then its argument prototype would still apply. */
28827 char $ac_func ();
28828 /* The GNU C library defines this for functions which it implements
28829 to always fail with ENOSYS. Some functions are actually named
28830 something starting with __ and the normal name is an alias. */
28831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28832 choke me
28833 #else
28834 char (*f) () = $ac_func;
28835 #endif
28836 #ifdef __cplusplus
28838 #endif
28841 main ()
28843 return f != $ac_func;
28845 return 0;
28847 _ACEOF
28848 rm -f conftest.$ac_objext conftest$ac_exeext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28850 (eval $ac_link) 2>conftest.er1
28851 ac_status=$?
28852 grep -v '^ *+' conftest.er1 >conftest.err
28853 rm -f conftest.er1
28854 cat conftest.err >&5
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); } &&
28857 { ac_try='test -z "$ac_c_werror_flag"
28858 || test ! -s conftest.err'
28859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 (eval $ac_try) 2>&5
28861 ac_status=$?
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); }; } &&
28864 { ac_try='test -s conftest$ac_exeext'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28867 ac_status=$?
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; }; then
28870 eval "$as_ac_var=yes"
28871 else
28872 echo "$as_me: failed program was:" >&5
28873 sed 's/^/| /' conftest.$ac_ext >&5
28875 eval "$as_ac_var=no"
28877 rm -f conftest.err conftest.$ac_objext \
28878 conftest$ac_exeext conftest.$ac_ext
28880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28882 if test `eval echo '${'$as_ac_var'}'` = yes; then
28883 cat >>confdefs.h <<_ACEOF
28884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28885 _ACEOF
28888 done
28890 else
28892 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
28893 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
28894 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28895 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
28896 echo $ECHO_N "(cached) $ECHO_C" >&6
28897 else
28901 ac_ext=cc
28902 ac_cpp='$CXXCPP $CPPFLAGS'
28903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28907 cat >conftest.$ac_ext <<_ACEOF
28908 /* confdefs.h. */
28909 _ACEOF
28910 cat confdefs.h >>conftest.$ac_ext
28911 cat >>conftest.$ac_ext <<_ACEOF
28912 /* end confdefs.h. */
28913 #include <math.h>
28914 #ifdef HAVE_IEEEFP_H
28915 #include <ieeefp.h>
28916 #endif
28919 main ()
28921 _fabsf(0);
28923 return 0;
28925 _ACEOF
28926 rm -f conftest.$ac_objext
28927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28928 (eval $ac_compile) 2>conftest.er1
28929 ac_status=$?
28930 grep -v '^ *+' conftest.er1 >conftest.err
28931 rm -f conftest.er1
28932 cat conftest.err >&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); } &&
28935 { ac_try='test -z "$ac_cxx_werror_flag"
28936 || test ! -s conftest.err'
28937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28938 (eval $ac_try) 2>&5
28939 ac_status=$?
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); }; } &&
28942 { ac_try='test -s conftest.$ac_objext'
28943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28944 (eval $ac_try) 2>&5
28945 ac_status=$?
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); }; }; then
28948 glibcxx_cv_func__fabsf_use=yes
28949 else
28950 echo "$as_me: failed program was:" >&5
28951 sed 's/^/| /' conftest.$ac_ext >&5
28953 glibcxx_cv_func__fabsf_use=no
28955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28956 ac_ext=c
28957 ac_cpp='$CPP $CPPFLAGS'
28958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
28967 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
28969 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28971 for ac_func in _fabsf
28973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28974 echo "$as_me:$LINENO: checking for $ac_func" >&5
28975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28976 if eval "test \"\${$as_ac_var+set}\" = set"; then
28977 echo $ECHO_N "(cached) $ECHO_C" >&6
28978 else
28979 if test x$gcc_no_link = xyes; then
28980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28982 { (exit 1); exit 1; }; }
28984 cat >conftest.$ac_ext <<_ACEOF
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28992 #define $ac_func innocuous_$ac_func
28994 /* System header to define __stub macros and hopefully few prototypes,
28995 which can conflict with char $ac_func (); below.
28996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28997 <limits.h> exists even on freestanding compilers. */
28999 #ifdef __STDC__
29000 # include <limits.h>
29001 #else
29002 # include <assert.h>
29003 #endif
29005 #undef $ac_func
29007 /* Override any gcc2 internal prototype to avoid an error. */
29008 #ifdef __cplusplus
29009 extern "C"
29011 #endif
29012 /* We use char because int might match the return type of a gcc2
29013 builtin and then its argument prototype would still apply. */
29014 char $ac_func ();
29015 /* The GNU C library defines this for functions which it implements
29016 to always fail with ENOSYS. Some functions are actually named
29017 something starting with __ and the normal name is an alias. */
29018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29019 choke me
29020 #else
29021 char (*f) () = $ac_func;
29022 #endif
29023 #ifdef __cplusplus
29025 #endif
29028 main ()
29030 return f != $ac_func;
29032 return 0;
29034 _ACEOF
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_c_werror_flag"
29045 || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29048 ac_status=$?
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try='test -s conftest$ac_exeext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 eval "$as_ac_var=yes"
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29062 eval "$as_ac_var=no"
29064 rm -f conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29069 if test `eval echo '${'$as_ac_var'}'` = yes; then
29070 cat >>confdefs.h <<_ACEOF
29071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29072 _ACEOF
29075 done
29085 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
29086 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
29087 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29088 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 else
29094 ac_ext=cc
29095 ac_cpp='$CXXCPP $CPPFLAGS'
29096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29100 cat >conftest.$ac_ext <<_ACEOF
29101 /* confdefs.h. */
29102 _ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106 #include <math.h>
29108 main ()
29110 fmodf(0, 0);
29112 return 0;
29114 _ACEOF
29115 rm -f conftest.$ac_objext
29116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29117 (eval $ac_compile) 2>conftest.er1
29118 ac_status=$?
29119 grep -v '^ *+' conftest.er1 >conftest.err
29120 rm -f conftest.er1
29121 cat conftest.err >&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } &&
29124 { ac_try='test -z "$ac_cxx_werror_flag"
29125 || test ! -s conftest.err'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29128 ac_status=$?
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; } &&
29131 { ac_try='test -s conftest.$ac_objext'
29132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 (eval $ac_try) 2>&5
29134 ac_status=$?
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; }; then
29137 glibcxx_cv_func_fmodf_use=yes
29138 else
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.$ac_ext >&5
29142 glibcxx_cv_func_fmodf_use=no
29144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29145 ac_ext=c
29146 ac_cpp='$CPP $CPPFLAGS'
29147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
29156 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
29158 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29160 for ac_func in fmodf
29162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29163 echo "$as_me:$LINENO: checking for $ac_func" >&5
29164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29165 if eval "test \"\${$as_ac_var+set}\" = set"; then
29166 echo $ECHO_N "(cached) $ECHO_C" >&6
29167 else
29168 if test x$gcc_no_link = xyes; then
29169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29171 { (exit 1); exit 1; }; }
29173 cat >conftest.$ac_ext <<_ACEOF
29174 /* confdefs.h. */
29175 _ACEOF
29176 cat confdefs.h >>conftest.$ac_ext
29177 cat >>conftest.$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29181 #define $ac_func innocuous_$ac_func
29183 /* System header to define __stub macros and hopefully few prototypes,
29184 which can conflict with char $ac_func (); below.
29185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29186 <limits.h> exists even on freestanding compilers. */
29188 #ifdef __STDC__
29189 # include <limits.h>
29190 #else
29191 # include <assert.h>
29192 #endif
29194 #undef $ac_func
29196 /* Override any gcc2 internal prototype to avoid an error. */
29197 #ifdef __cplusplus
29198 extern "C"
29200 #endif
29201 /* We use char because int might match the return type of a gcc2
29202 builtin and then its argument prototype would still apply. */
29203 char $ac_func ();
29204 /* The GNU C library defines this for functions which it implements
29205 to always fail with ENOSYS. Some functions are actually named
29206 something starting with __ and the normal name is an alias. */
29207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29208 choke me
29209 #else
29210 char (*f) () = $ac_func;
29211 #endif
29212 #ifdef __cplusplus
29214 #endif
29217 main ()
29219 return f != $ac_func;
29221 return 0;
29223 _ACEOF
29224 rm -f conftest.$ac_objext conftest$ac_exeext
29225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29226 (eval $ac_link) 2>conftest.er1
29227 ac_status=$?
29228 grep -v '^ *+' conftest.er1 >conftest.err
29229 rm -f conftest.er1
29230 cat conftest.err >&5
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); } &&
29233 { ac_try='test -z "$ac_c_werror_flag"
29234 || test ! -s conftest.err'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29237 ac_status=$?
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; } &&
29240 { ac_try='test -s conftest$ac_exeext'
29241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29242 (eval $ac_try) 2>&5
29243 ac_status=$?
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); }; }; then
29246 eval "$as_ac_var=yes"
29247 else
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29251 eval "$as_ac_var=no"
29253 rm -f conftest.err conftest.$ac_objext \
29254 conftest$ac_exeext conftest.$ac_ext
29256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29258 if test `eval echo '${'$as_ac_var'}'` = yes; then
29259 cat >>confdefs.h <<_ACEOF
29260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29261 _ACEOF
29264 done
29266 else
29268 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
29269 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
29270 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29271 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
29272 echo $ECHO_N "(cached) $ECHO_C" >&6
29273 else
29277 ac_ext=cc
29278 ac_cpp='$CXXCPP $CPPFLAGS'
29279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29283 cat >conftest.$ac_ext <<_ACEOF
29284 /* confdefs.h. */
29285 _ACEOF
29286 cat confdefs.h >>conftest.$ac_ext
29287 cat >>conftest.$ac_ext <<_ACEOF
29288 /* end confdefs.h. */
29289 #include <math.h>
29291 main ()
29293 _fmodf(0, 0);
29295 return 0;
29297 _ACEOF
29298 rm -f conftest.$ac_objext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29300 (eval $ac_compile) 2>conftest.er1
29301 ac_status=$?
29302 grep -v '^ *+' conftest.er1 >conftest.err
29303 rm -f conftest.er1
29304 cat conftest.err >&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } &&
29307 { ac_try='test -z "$ac_cxx_werror_flag"
29308 || test ! -s conftest.err'
29309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29310 (eval $ac_try) 2>&5
29311 ac_status=$?
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); }; } &&
29314 { ac_try='test -s conftest.$ac_objext'
29315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316 (eval $ac_try) 2>&5
29317 ac_status=$?
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); }; }; then
29320 glibcxx_cv_func__fmodf_use=yes
29321 else
29322 echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.$ac_ext >&5
29325 glibcxx_cv_func__fmodf_use=no
29327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29328 ac_ext=c
29329 ac_cpp='$CPP $CPPFLAGS'
29330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
29339 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
29341 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29343 for ac_func in _fmodf
29345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29346 echo "$as_me:$LINENO: checking for $ac_func" >&5
29347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29348 if eval "test \"\${$as_ac_var+set}\" = set"; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 else
29351 if test x$gcc_no_link = xyes; then
29352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29354 { (exit 1); exit 1; }; }
29356 cat >conftest.$ac_ext <<_ACEOF
29357 /* confdefs.h. */
29358 _ACEOF
29359 cat confdefs.h >>conftest.$ac_ext
29360 cat >>conftest.$ac_ext <<_ACEOF
29361 /* end confdefs.h. */
29362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29364 #define $ac_func innocuous_$ac_func
29366 /* System header to define __stub macros and hopefully few prototypes,
29367 which can conflict with char $ac_func (); below.
29368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29369 <limits.h> exists even on freestanding compilers. */
29371 #ifdef __STDC__
29372 # include <limits.h>
29373 #else
29374 # include <assert.h>
29375 #endif
29377 #undef $ac_func
29379 /* Override any gcc2 internal prototype to avoid an error. */
29380 #ifdef __cplusplus
29381 extern "C"
29383 #endif
29384 /* We use char because int might match the return type of a gcc2
29385 builtin and then its argument prototype would still apply. */
29386 char $ac_func ();
29387 /* The GNU C library defines this for functions which it implements
29388 to always fail with ENOSYS. Some functions are actually named
29389 something starting with __ and the normal name is an alias. */
29390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29391 choke me
29392 #else
29393 char (*f) () = $ac_func;
29394 #endif
29395 #ifdef __cplusplus
29397 #endif
29400 main ()
29402 return f != $ac_func;
29404 return 0;
29406 _ACEOF
29407 rm -f conftest.$ac_objext conftest$ac_exeext
29408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29409 (eval $ac_link) 2>conftest.er1
29410 ac_status=$?
29411 grep -v '^ *+' conftest.er1 >conftest.err
29412 rm -f conftest.er1
29413 cat conftest.err >&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } &&
29416 { ac_try='test -z "$ac_c_werror_flag"
29417 || test ! -s conftest.err'
29418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29419 (eval $ac_try) 2>&5
29420 ac_status=$?
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); }; } &&
29423 { ac_try='test -s conftest$ac_exeext'
29424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29425 (eval $ac_try) 2>&5
29426 ac_status=$?
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); }; }; then
29429 eval "$as_ac_var=yes"
29430 else
29431 echo "$as_me: failed program was:" >&5
29432 sed 's/^/| /' conftest.$ac_ext >&5
29434 eval "$as_ac_var=no"
29436 rm -f conftest.err conftest.$ac_objext \
29437 conftest$ac_exeext conftest.$ac_ext
29439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29441 if test `eval echo '${'$as_ac_var'}'` = yes; then
29442 cat >>confdefs.h <<_ACEOF
29443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29444 _ACEOF
29447 done
29457 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
29458 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
29459 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29460 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
29461 echo $ECHO_N "(cached) $ECHO_C" >&6
29462 else
29466 ac_ext=cc
29467 ac_cpp='$CXXCPP $CPPFLAGS'
29468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29472 cat >conftest.$ac_ext <<_ACEOF
29473 /* confdefs.h. */
29474 _ACEOF
29475 cat confdefs.h >>conftest.$ac_ext
29476 cat >>conftest.$ac_ext <<_ACEOF
29477 /* end confdefs.h. */
29478 #include <math.h>
29480 main ()
29482 frexpf(0, 0);
29484 return 0;
29486 _ACEOF
29487 rm -f conftest.$ac_objext
29488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29489 (eval $ac_compile) 2>conftest.er1
29490 ac_status=$?
29491 grep -v '^ *+' conftest.er1 >conftest.err
29492 rm -f conftest.er1
29493 cat conftest.err >&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); } &&
29496 { ac_try='test -z "$ac_cxx_werror_flag"
29497 || test ! -s conftest.err'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29500 ac_status=$?
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; } &&
29503 { ac_try='test -s conftest.$ac_objext'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29506 ac_status=$?
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; }; then
29509 glibcxx_cv_func_frexpf_use=yes
29510 else
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.$ac_ext >&5
29514 glibcxx_cv_func_frexpf_use=no
29516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29517 ac_ext=c
29518 ac_cpp='$CPP $CPPFLAGS'
29519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
29528 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
29530 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29532 for ac_func in frexpf
29534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29535 echo "$as_me:$LINENO: checking for $ac_func" >&5
29536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29537 if eval "test \"\${$as_ac_var+set}\" = set"; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 else
29540 if test x$gcc_no_link = xyes; then
29541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29543 { (exit 1); exit 1; }; }
29545 cat >conftest.$ac_ext <<_ACEOF
29546 /* confdefs.h. */
29547 _ACEOF
29548 cat confdefs.h >>conftest.$ac_ext
29549 cat >>conftest.$ac_ext <<_ACEOF
29550 /* end confdefs.h. */
29551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29553 #define $ac_func innocuous_$ac_func
29555 /* System header to define __stub macros and hopefully few prototypes,
29556 which can conflict with char $ac_func (); below.
29557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29558 <limits.h> exists even on freestanding compilers. */
29560 #ifdef __STDC__
29561 # include <limits.h>
29562 #else
29563 # include <assert.h>
29564 #endif
29566 #undef $ac_func
29568 /* Override any gcc2 internal prototype to avoid an error. */
29569 #ifdef __cplusplus
29570 extern "C"
29572 #endif
29573 /* We use char because int might match the return type of a gcc2
29574 builtin and then its argument prototype would still apply. */
29575 char $ac_func ();
29576 /* The GNU C library defines this for functions which it implements
29577 to always fail with ENOSYS. Some functions are actually named
29578 something starting with __ and the normal name is an alias. */
29579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29580 choke me
29581 #else
29582 char (*f) () = $ac_func;
29583 #endif
29584 #ifdef __cplusplus
29586 #endif
29589 main ()
29591 return f != $ac_func;
29593 return 0;
29595 _ACEOF
29596 rm -f conftest.$ac_objext conftest$ac_exeext
29597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29598 (eval $ac_link) 2>conftest.er1
29599 ac_status=$?
29600 grep -v '^ *+' conftest.er1 >conftest.err
29601 rm -f conftest.er1
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try='test -z "$ac_c_werror_flag"
29606 || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29609 ac_status=$?
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 eval "$as_ac_var=yes"
29619 else
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29623 eval "$as_ac_var=no"
29625 rm -f conftest.err conftest.$ac_objext \
29626 conftest$ac_exeext conftest.$ac_ext
29628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29630 if test `eval echo '${'$as_ac_var'}'` = yes; then
29631 cat >>confdefs.h <<_ACEOF
29632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29633 _ACEOF
29636 done
29638 else
29640 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
29641 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
29642 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29643 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
29644 echo $ECHO_N "(cached) $ECHO_C" >&6
29645 else
29649 ac_ext=cc
29650 ac_cpp='$CXXCPP $CPPFLAGS'
29651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29655 cat >conftest.$ac_ext <<_ACEOF
29656 /* confdefs.h. */
29657 _ACEOF
29658 cat confdefs.h >>conftest.$ac_ext
29659 cat >>conftest.$ac_ext <<_ACEOF
29660 /* end confdefs.h. */
29661 #include <math.h>
29663 main ()
29665 _frexpf(0, 0);
29667 return 0;
29669 _ACEOF
29670 rm -f conftest.$ac_objext
29671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29672 (eval $ac_compile) 2>conftest.er1
29673 ac_status=$?
29674 grep -v '^ *+' conftest.er1 >conftest.err
29675 rm -f conftest.er1
29676 cat conftest.err >&5
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); } &&
29679 { ac_try='test -z "$ac_cxx_werror_flag"
29680 || test ! -s conftest.err'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29683 ac_status=$?
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; } &&
29686 { ac_try='test -s conftest.$ac_objext'
29687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688 (eval $ac_try) 2>&5
29689 ac_status=$?
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; }; then
29692 glibcxx_cv_func__frexpf_use=yes
29693 else
29694 echo "$as_me: failed program was:" >&5
29695 sed 's/^/| /' conftest.$ac_ext >&5
29697 glibcxx_cv_func__frexpf_use=no
29699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29700 ac_ext=c
29701 ac_cpp='$CPP $CPPFLAGS'
29702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29710 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
29711 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
29713 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29715 for ac_func in _frexpf
29717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29718 echo "$as_me:$LINENO: checking for $ac_func" >&5
29719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29720 if eval "test \"\${$as_ac_var+set}\" = set"; then
29721 echo $ECHO_N "(cached) $ECHO_C" >&6
29722 else
29723 if test x$gcc_no_link = xyes; then
29724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29726 { (exit 1); exit 1; }; }
29728 cat >conftest.$ac_ext <<_ACEOF
29729 /* confdefs.h. */
29730 _ACEOF
29731 cat confdefs.h >>conftest.$ac_ext
29732 cat >>conftest.$ac_ext <<_ACEOF
29733 /* end confdefs.h. */
29734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29736 #define $ac_func innocuous_$ac_func
29738 /* System header to define __stub macros and hopefully few prototypes,
29739 which can conflict with char $ac_func (); below.
29740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29741 <limits.h> exists even on freestanding compilers. */
29743 #ifdef __STDC__
29744 # include <limits.h>
29745 #else
29746 # include <assert.h>
29747 #endif
29749 #undef $ac_func
29751 /* Override any gcc2 internal prototype to avoid an error. */
29752 #ifdef __cplusplus
29753 extern "C"
29755 #endif
29756 /* We use char because int might match the return type of a gcc2
29757 builtin and then its argument prototype would still apply. */
29758 char $ac_func ();
29759 /* The GNU C library defines this for functions which it implements
29760 to always fail with ENOSYS. Some functions are actually named
29761 something starting with __ and the normal name is an alias. */
29762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29763 choke me
29764 #else
29765 char (*f) () = $ac_func;
29766 #endif
29767 #ifdef __cplusplus
29769 #endif
29772 main ()
29774 return f != $ac_func;
29776 return 0;
29778 _ACEOF
29779 rm -f conftest.$ac_objext conftest$ac_exeext
29780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29781 (eval $ac_link) 2>conftest.er1
29782 ac_status=$?
29783 grep -v '^ *+' conftest.er1 >conftest.err
29784 rm -f conftest.er1
29785 cat conftest.err >&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); } &&
29788 { ac_try='test -z "$ac_c_werror_flag"
29789 || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29792 ac_status=$?
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try='test -s conftest$ac_exeext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29798 ac_status=$?
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 eval "$as_ac_var=yes"
29802 else
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.$ac_ext >&5
29806 eval "$as_ac_var=no"
29808 rm -f conftest.err conftest.$ac_objext \
29809 conftest$ac_exeext conftest.$ac_ext
29811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29813 if test `eval echo '${'$as_ac_var'}'` = yes; then
29814 cat >>confdefs.h <<_ACEOF
29815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29816 _ACEOF
29819 done
29829 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
29830 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
29831 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29832 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29834 else
29838 ac_ext=cc
29839 ac_cpp='$CXXCPP $CPPFLAGS'
29840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29844 cat >conftest.$ac_ext <<_ACEOF
29845 /* confdefs.h. */
29846 _ACEOF
29847 cat confdefs.h >>conftest.$ac_ext
29848 cat >>conftest.$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29850 #include <math.h>
29852 main ()
29854 hypotf(0, 0);
29856 return 0;
29858 _ACEOF
29859 rm -f conftest.$ac_objext
29860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29861 (eval $ac_compile) 2>conftest.er1
29862 ac_status=$?
29863 grep -v '^ *+' conftest.er1 >conftest.err
29864 rm -f conftest.er1
29865 cat conftest.err >&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); } &&
29868 { ac_try='test -z "$ac_cxx_werror_flag"
29869 || test ! -s conftest.err'
29870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29871 (eval $ac_try) 2>&5
29872 ac_status=$?
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); }; } &&
29875 { ac_try='test -s conftest.$ac_objext'
29876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29877 (eval $ac_try) 2>&5
29878 ac_status=$?
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); }; }; then
29881 glibcxx_cv_func_hypotf_use=yes
29882 else
29883 echo "$as_me: failed program was:" >&5
29884 sed 's/^/| /' conftest.$ac_ext >&5
29886 glibcxx_cv_func_hypotf_use=no
29888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29889 ac_ext=c
29890 ac_cpp='$CPP $CPPFLAGS'
29891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
29900 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
29902 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29904 for ac_func in hypotf
29906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29907 echo "$as_me:$LINENO: checking for $ac_func" >&5
29908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29909 if eval "test \"\${$as_ac_var+set}\" = set"; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29911 else
29912 if test x$gcc_no_link = xyes; then
29913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29915 { (exit 1); exit 1; }; }
29917 cat >conftest.$ac_ext <<_ACEOF
29918 /* confdefs.h. */
29919 _ACEOF
29920 cat confdefs.h >>conftest.$ac_ext
29921 cat >>conftest.$ac_ext <<_ACEOF
29922 /* end confdefs.h. */
29923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29925 #define $ac_func innocuous_$ac_func
29927 /* System header to define __stub macros and hopefully few prototypes,
29928 which can conflict with char $ac_func (); below.
29929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29930 <limits.h> exists even on freestanding compilers. */
29932 #ifdef __STDC__
29933 # include <limits.h>
29934 #else
29935 # include <assert.h>
29936 #endif
29938 #undef $ac_func
29940 /* Override any gcc2 internal prototype to avoid an error. */
29941 #ifdef __cplusplus
29942 extern "C"
29944 #endif
29945 /* We use char because int might match the return type of a gcc2
29946 builtin and then its argument prototype would still apply. */
29947 char $ac_func ();
29948 /* The GNU C library defines this for functions which it implements
29949 to always fail with ENOSYS. Some functions are actually named
29950 something starting with __ and the normal name is an alias. */
29951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29952 choke me
29953 #else
29954 char (*f) () = $ac_func;
29955 #endif
29956 #ifdef __cplusplus
29958 #endif
29961 main ()
29963 return f != $ac_func;
29965 return 0;
29967 _ACEOF
29968 rm -f conftest.$ac_objext conftest$ac_exeext
29969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29970 (eval $ac_link) 2>conftest.er1
29971 ac_status=$?
29972 grep -v '^ *+' conftest.er1 >conftest.err
29973 rm -f conftest.er1
29974 cat conftest.err >&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } &&
29977 { ac_try='test -z "$ac_c_werror_flag"
29978 || test ! -s conftest.err'
29979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29980 (eval $ac_try) 2>&5
29981 ac_status=$?
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; } &&
29984 { ac_try='test -s conftest$ac_exeext'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29987 ac_status=$?
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; }; then
29990 eval "$as_ac_var=yes"
29991 else
29992 echo "$as_me: failed program was:" >&5
29993 sed 's/^/| /' conftest.$ac_ext >&5
29995 eval "$as_ac_var=no"
29997 rm -f conftest.err conftest.$ac_objext \
29998 conftest$ac_exeext conftest.$ac_ext
30000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30002 if test `eval echo '${'$as_ac_var'}'` = yes; then
30003 cat >>confdefs.h <<_ACEOF
30004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30005 _ACEOF
30008 done
30010 else
30012 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
30013 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
30014 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30015 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30017 else
30021 ac_ext=cc
30022 ac_cpp='$CXXCPP $CPPFLAGS'
30023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30027 cat >conftest.$ac_ext <<_ACEOF
30028 /* confdefs.h. */
30029 _ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30033 #include <math.h>
30035 main ()
30037 _hypotf(0, 0);
30039 return 0;
30041 _ACEOF
30042 rm -f conftest.$ac_objext
30043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30044 (eval $ac_compile) 2>conftest.er1
30045 ac_status=$?
30046 grep -v '^ *+' conftest.er1 >conftest.err
30047 rm -f conftest.er1
30048 cat conftest.err >&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); } &&
30051 { ac_try='test -z "$ac_cxx_werror_flag"
30052 || test ! -s conftest.err'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; } &&
30058 { ac_try='test -s conftest.$ac_objext'
30059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30060 (eval $ac_try) 2>&5
30061 ac_status=$?
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); }; }; then
30064 glibcxx_cv_func__hypotf_use=yes
30065 else
30066 echo "$as_me: failed program was:" >&5
30067 sed 's/^/| /' conftest.$ac_ext >&5
30069 glibcxx_cv_func__hypotf_use=no
30071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30072 ac_ext=c
30073 ac_cpp='$CPP $CPPFLAGS'
30074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
30083 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
30085 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30087 for ac_func in _hypotf
30089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30090 echo "$as_me:$LINENO: checking for $ac_func" >&5
30091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30092 if eval "test \"\${$as_ac_var+set}\" = set"; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095 if test x$gcc_no_link = xyes; then
30096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30098 { (exit 1); exit 1; }; }
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30108 #define $ac_func innocuous_$ac_func
30110 /* System header to define __stub macros and hopefully few prototypes,
30111 which can conflict with char $ac_func (); below.
30112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30113 <limits.h> exists even on freestanding compilers. */
30115 #ifdef __STDC__
30116 # include <limits.h>
30117 #else
30118 # include <assert.h>
30119 #endif
30121 #undef $ac_func
30123 /* Override any gcc2 internal prototype to avoid an error. */
30124 #ifdef __cplusplus
30125 extern "C"
30127 #endif
30128 /* We use char because int might match the return type of a gcc2
30129 builtin and then its argument prototype would still apply. */
30130 char $ac_func ();
30131 /* The GNU C library defines this for functions which it implements
30132 to always fail with ENOSYS. Some functions are actually named
30133 something starting with __ and the normal name is an alias. */
30134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30135 choke me
30136 #else
30137 char (*f) () = $ac_func;
30138 #endif
30139 #ifdef __cplusplus
30141 #endif
30144 main ()
30146 return f != $ac_func;
30148 return 0;
30150 _ACEOF
30151 rm -f conftest.$ac_objext conftest$ac_exeext
30152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30153 (eval $ac_link) 2>conftest.er1
30154 ac_status=$?
30155 grep -v '^ *+' conftest.er1 >conftest.err
30156 rm -f conftest.er1
30157 cat conftest.err >&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); } &&
30160 { ac_try='test -z "$ac_c_werror_flag"
30161 || test ! -s conftest.err'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30164 ac_status=$?
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; } &&
30167 { ac_try='test -s conftest$ac_exeext'
30168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30169 (eval $ac_try) 2>&5
30170 ac_status=$?
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); }; }; then
30173 eval "$as_ac_var=yes"
30174 else
30175 echo "$as_me: failed program was:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30178 eval "$as_ac_var=no"
30180 rm -f conftest.err conftest.$ac_objext \
30181 conftest$ac_exeext conftest.$ac_ext
30183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30185 if test `eval echo '${'$as_ac_var'}'` = yes; then
30186 cat >>confdefs.h <<_ACEOF
30187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30188 _ACEOF
30191 done
30201 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
30202 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
30203 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30204 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
30205 echo $ECHO_N "(cached) $ECHO_C" >&6
30206 else
30210 ac_ext=cc
30211 ac_cpp='$CXXCPP $CPPFLAGS'
30212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30216 cat >conftest.$ac_ext <<_ACEOF
30217 /* confdefs.h. */
30218 _ACEOF
30219 cat confdefs.h >>conftest.$ac_ext
30220 cat >>conftest.$ac_ext <<_ACEOF
30221 /* end confdefs.h. */
30222 #include <math.h>
30224 main ()
30226 ldexpf(0, 0);
30228 return 0;
30230 _ACEOF
30231 rm -f conftest.$ac_objext
30232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30233 (eval $ac_compile) 2>conftest.er1
30234 ac_status=$?
30235 grep -v '^ *+' conftest.er1 >conftest.err
30236 rm -f conftest.er1
30237 cat conftest.err >&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); } &&
30240 { ac_try='test -z "$ac_cxx_werror_flag"
30241 || test ! -s conftest.err'
30242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30243 (eval $ac_try) 2>&5
30244 ac_status=$?
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); }; } &&
30247 { ac_try='test -s conftest.$ac_objext'
30248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30249 (eval $ac_try) 2>&5
30250 ac_status=$?
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); }; }; then
30253 glibcxx_cv_func_ldexpf_use=yes
30254 else
30255 echo "$as_me: failed program was:" >&5
30256 sed 's/^/| /' conftest.$ac_ext >&5
30258 glibcxx_cv_func_ldexpf_use=no
30260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30271 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
30272 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
30274 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30276 for ac_func in ldexpf
30278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30279 echo "$as_me:$LINENO: checking for $ac_func" >&5
30280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30281 if eval "test \"\${$as_ac_var+set}\" = set"; then
30282 echo $ECHO_N "(cached) $ECHO_C" >&6
30283 else
30284 if test x$gcc_no_link = xyes; then
30285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30287 { (exit 1); exit 1; }; }
30289 cat >conftest.$ac_ext <<_ACEOF
30290 /* confdefs.h. */
30291 _ACEOF
30292 cat confdefs.h >>conftest.$ac_ext
30293 cat >>conftest.$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30297 #define $ac_func innocuous_$ac_func
30299 /* System header to define __stub macros and hopefully few prototypes,
30300 which can conflict with char $ac_func (); below.
30301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30302 <limits.h> exists even on freestanding compilers. */
30304 #ifdef __STDC__
30305 # include <limits.h>
30306 #else
30307 # include <assert.h>
30308 #endif
30310 #undef $ac_func
30312 /* Override any gcc2 internal prototype to avoid an error. */
30313 #ifdef __cplusplus
30314 extern "C"
30316 #endif
30317 /* We use char because int might match the return type of a gcc2
30318 builtin and then its argument prototype would still apply. */
30319 char $ac_func ();
30320 /* The GNU C library defines this for functions which it implements
30321 to always fail with ENOSYS. Some functions are actually named
30322 something starting with __ and the normal name is an alias. */
30323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30324 choke me
30325 #else
30326 char (*f) () = $ac_func;
30327 #endif
30328 #ifdef __cplusplus
30330 #endif
30333 main ()
30335 return f != $ac_func;
30337 return 0;
30339 _ACEOF
30340 rm -f conftest.$ac_objext conftest$ac_exeext
30341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30342 (eval $ac_link) 2>conftest.er1
30343 ac_status=$?
30344 grep -v '^ *+' conftest.er1 >conftest.err
30345 rm -f conftest.er1
30346 cat conftest.err >&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); } &&
30349 { ac_try='test -z "$ac_c_werror_flag"
30350 || test ! -s conftest.err'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30353 ac_status=$?
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; } &&
30356 { ac_try='test -s conftest$ac_exeext'
30357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30358 (eval $ac_try) 2>&5
30359 ac_status=$?
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; }; then
30362 eval "$as_ac_var=yes"
30363 else
30364 echo "$as_me: failed program was:" >&5
30365 sed 's/^/| /' conftest.$ac_ext >&5
30367 eval "$as_ac_var=no"
30369 rm -f conftest.err conftest.$ac_objext \
30370 conftest$ac_exeext conftest.$ac_ext
30372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30374 if test `eval echo '${'$as_ac_var'}'` = yes; then
30375 cat >>confdefs.h <<_ACEOF
30376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30377 _ACEOF
30380 done
30382 else
30384 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
30385 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
30386 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30387 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 else
30393 ac_ext=cc
30394 ac_cpp='$CXXCPP $CPPFLAGS'
30395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30399 cat >conftest.$ac_ext <<_ACEOF
30400 /* confdefs.h. */
30401 _ACEOF
30402 cat confdefs.h >>conftest.$ac_ext
30403 cat >>conftest.$ac_ext <<_ACEOF
30404 /* end confdefs.h. */
30405 #include <math.h>
30407 main ()
30409 _ldexpf(0, 0);
30411 return 0;
30413 _ACEOF
30414 rm -f conftest.$ac_objext
30415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30416 (eval $ac_compile) 2>conftest.er1
30417 ac_status=$?
30418 grep -v '^ *+' conftest.er1 >conftest.err
30419 rm -f conftest.er1
30420 cat conftest.err >&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); } &&
30423 { ac_try='test -z "$ac_cxx_werror_flag"
30424 || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30427 ac_status=$?
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try='test -s conftest.$ac_objext'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30433 ac_status=$?
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436 glibcxx_cv_func__ldexpf_use=yes
30437 else
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30441 glibcxx_cv_func__ldexpf_use=no
30443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30444 ac_ext=c
30445 ac_cpp='$CPP $CPPFLAGS'
30446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
30455 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
30457 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30459 for ac_func in _ldexpf
30461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30462 echo "$as_me:$LINENO: checking for $ac_func" >&5
30463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30464 if eval "test \"\${$as_ac_var+set}\" = set"; then
30465 echo $ECHO_N "(cached) $ECHO_C" >&6
30466 else
30467 if test x$gcc_no_link = xyes; then
30468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30470 { (exit 1); exit 1; }; }
30472 cat >conftest.$ac_ext <<_ACEOF
30473 /* confdefs.h. */
30474 _ACEOF
30475 cat confdefs.h >>conftest.$ac_ext
30476 cat >>conftest.$ac_ext <<_ACEOF
30477 /* end confdefs.h. */
30478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30480 #define $ac_func innocuous_$ac_func
30482 /* System header to define __stub macros and hopefully few prototypes,
30483 which can conflict with char $ac_func (); below.
30484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30485 <limits.h> exists even on freestanding compilers. */
30487 #ifdef __STDC__
30488 # include <limits.h>
30489 #else
30490 # include <assert.h>
30491 #endif
30493 #undef $ac_func
30495 /* Override any gcc2 internal prototype to avoid an error. */
30496 #ifdef __cplusplus
30497 extern "C"
30499 #endif
30500 /* We use char because int might match the return type of a gcc2
30501 builtin and then its argument prototype would still apply. */
30502 char $ac_func ();
30503 /* The GNU C library defines this for functions which it implements
30504 to always fail with ENOSYS. Some functions are actually named
30505 something starting with __ and the normal name is an alias. */
30506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30507 choke me
30508 #else
30509 char (*f) () = $ac_func;
30510 #endif
30511 #ifdef __cplusplus
30513 #endif
30516 main ()
30518 return f != $ac_func;
30520 return 0;
30522 _ACEOF
30523 rm -f conftest.$ac_objext conftest$ac_exeext
30524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30525 (eval $ac_link) 2>conftest.er1
30526 ac_status=$?
30527 grep -v '^ *+' conftest.er1 >conftest.err
30528 rm -f conftest.er1
30529 cat conftest.err >&5
30530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30531 (exit $ac_status); } &&
30532 { ac_try='test -z "$ac_c_werror_flag"
30533 || test ! -s conftest.err'
30534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30535 (eval $ac_try) 2>&5
30536 ac_status=$?
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; } &&
30539 { ac_try='test -s conftest$ac_exeext'
30540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30541 (eval $ac_try) 2>&5
30542 ac_status=$?
30543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30544 (exit $ac_status); }; }; then
30545 eval "$as_ac_var=yes"
30546 else
30547 echo "$as_me: failed program was:" >&5
30548 sed 's/^/| /' conftest.$ac_ext >&5
30550 eval "$as_ac_var=no"
30552 rm -f conftest.err conftest.$ac_objext \
30553 conftest$ac_exeext conftest.$ac_ext
30555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30557 if test `eval echo '${'$as_ac_var'}'` = yes; then
30558 cat >>confdefs.h <<_ACEOF
30559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30560 _ACEOF
30563 done
30573 echo "$as_me:$LINENO: checking for logf declaration" >&5
30574 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
30575 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30576 if test "${glibcxx_cv_func_logf_use+set}" = set; then
30577 echo $ECHO_N "(cached) $ECHO_C" >&6
30578 else
30582 ac_ext=cc
30583 ac_cpp='$CXXCPP $CPPFLAGS'
30584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30588 cat >conftest.$ac_ext <<_ACEOF
30589 /* confdefs.h. */
30590 _ACEOF
30591 cat confdefs.h >>conftest.$ac_ext
30592 cat >>conftest.$ac_ext <<_ACEOF
30593 /* end confdefs.h. */
30594 #include <math.h>
30595 #ifdef HAVE_IEEEFP_H
30596 #include <ieeefp.h>
30597 #endif
30600 main ()
30602 logf(0);
30604 return 0;
30606 _ACEOF
30607 rm -f conftest.$ac_objext
30608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30609 (eval $ac_compile) 2>conftest.er1
30610 ac_status=$?
30611 grep -v '^ *+' conftest.er1 >conftest.err
30612 rm -f conftest.er1
30613 cat conftest.err >&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); } &&
30616 { ac_try='test -z "$ac_cxx_werror_flag"
30617 || test ! -s conftest.err'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30620 ac_status=$?
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; } &&
30623 { ac_try='test -s conftest.$ac_objext'
30624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30625 (eval $ac_try) 2>&5
30626 ac_status=$?
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); }; }; then
30629 glibcxx_cv_func_logf_use=yes
30630 else
30631 echo "$as_me: failed program was:" >&5
30632 sed 's/^/| /' conftest.$ac_ext >&5
30634 glibcxx_cv_func_logf_use=no
30636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30637 ac_ext=c
30638 ac_cpp='$CPP $CPPFLAGS'
30639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
30648 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
30650 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30652 for ac_func in logf
30654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30655 echo "$as_me:$LINENO: checking for $ac_func" >&5
30656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30657 if eval "test \"\${$as_ac_var+set}\" = set"; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30659 else
30660 if test x$gcc_no_link = xyes; then
30661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30663 { (exit 1); exit 1; }; }
30665 cat >conftest.$ac_ext <<_ACEOF
30666 /* confdefs.h. */
30667 _ACEOF
30668 cat confdefs.h >>conftest.$ac_ext
30669 cat >>conftest.$ac_ext <<_ACEOF
30670 /* end confdefs.h. */
30671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30673 #define $ac_func innocuous_$ac_func
30675 /* System header to define __stub macros and hopefully few prototypes,
30676 which can conflict with char $ac_func (); below.
30677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30678 <limits.h> exists even on freestanding compilers. */
30680 #ifdef __STDC__
30681 # include <limits.h>
30682 #else
30683 # include <assert.h>
30684 #endif
30686 #undef $ac_func
30688 /* Override any gcc2 internal prototype to avoid an error. */
30689 #ifdef __cplusplus
30690 extern "C"
30692 #endif
30693 /* We use char because int might match the return type of a gcc2
30694 builtin and then its argument prototype would still apply. */
30695 char $ac_func ();
30696 /* The GNU C library defines this for functions which it implements
30697 to always fail with ENOSYS. Some functions are actually named
30698 something starting with __ and the normal name is an alias. */
30699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30700 choke me
30701 #else
30702 char (*f) () = $ac_func;
30703 #endif
30704 #ifdef __cplusplus
30706 #endif
30709 main ()
30711 return f != $ac_func;
30713 return 0;
30715 _ACEOF
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30718 (eval $ac_link) 2>conftest.er1
30719 ac_status=$?
30720 grep -v '^ *+' conftest.er1 >conftest.err
30721 rm -f conftest.er1
30722 cat conftest.err >&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } &&
30725 { ac_try='test -z "$ac_c_werror_flag"
30726 || test ! -s conftest.err'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; } &&
30732 { ac_try='test -s conftest$ac_exeext'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30735 ac_status=$?
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; }; then
30738 eval "$as_ac_var=yes"
30739 else
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30743 eval "$as_ac_var=no"
30745 rm -f conftest.err conftest.$ac_objext \
30746 conftest$ac_exeext conftest.$ac_ext
30748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30750 if test `eval echo '${'$as_ac_var'}'` = yes; then
30751 cat >>confdefs.h <<_ACEOF
30752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30753 _ACEOF
30756 done
30758 else
30760 echo "$as_me:$LINENO: checking for _logf declaration" >&5
30761 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
30762 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30763 if test "${glibcxx_cv_func__logf_use+set}" = set; then
30764 echo $ECHO_N "(cached) $ECHO_C" >&6
30765 else
30769 ac_ext=cc
30770 ac_cpp='$CXXCPP $CPPFLAGS'
30771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30775 cat >conftest.$ac_ext <<_ACEOF
30776 /* confdefs.h. */
30777 _ACEOF
30778 cat confdefs.h >>conftest.$ac_ext
30779 cat >>conftest.$ac_ext <<_ACEOF
30780 /* end confdefs.h. */
30781 #include <math.h>
30782 #ifdef HAVE_IEEEFP_H
30783 #include <ieeefp.h>
30784 #endif
30787 main ()
30789 _logf(0);
30791 return 0;
30793 _ACEOF
30794 rm -f conftest.$ac_objext
30795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30796 (eval $ac_compile) 2>conftest.er1
30797 ac_status=$?
30798 grep -v '^ *+' conftest.er1 >conftest.err
30799 rm -f conftest.er1
30800 cat conftest.err >&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } &&
30803 { ac_try='test -z "$ac_cxx_werror_flag"
30804 || test ! -s conftest.err'
30805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30806 (eval $ac_try) 2>&5
30807 ac_status=$?
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); }; } &&
30810 { ac_try='test -s conftest.$ac_objext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30813 ac_status=$?
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30816 glibcxx_cv_func__logf_use=yes
30817 else
30818 echo "$as_me: failed program was:" >&5
30819 sed 's/^/| /' conftest.$ac_ext >&5
30821 glibcxx_cv_func__logf_use=no
30823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30824 ac_ext=c
30825 ac_cpp='$CPP $CPPFLAGS'
30826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
30835 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
30837 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30839 for ac_func in _logf
30841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30842 echo "$as_me:$LINENO: checking for $ac_func" >&5
30843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30844 if eval "test \"\${$as_ac_var+set}\" = set"; then
30845 echo $ECHO_N "(cached) $ECHO_C" >&6
30846 else
30847 if test x$gcc_no_link = xyes; then
30848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30850 { (exit 1); exit 1; }; }
30852 cat >conftest.$ac_ext <<_ACEOF
30853 /* confdefs.h. */
30854 _ACEOF
30855 cat confdefs.h >>conftest.$ac_ext
30856 cat >>conftest.$ac_ext <<_ACEOF
30857 /* end confdefs.h. */
30858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30860 #define $ac_func innocuous_$ac_func
30862 /* System header to define __stub macros and hopefully few prototypes,
30863 which can conflict with char $ac_func (); below.
30864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30865 <limits.h> exists even on freestanding compilers. */
30867 #ifdef __STDC__
30868 # include <limits.h>
30869 #else
30870 # include <assert.h>
30871 #endif
30873 #undef $ac_func
30875 /* Override any gcc2 internal prototype to avoid an error. */
30876 #ifdef __cplusplus
30877 extern "C"
30879 #endif
30880 /* We use char because int might match the return type of a gcc2
30881 builtin and then its argument prototype would still apply. */
30882 char $ac_func ();
30883 /* The GNU C library defines this for functions which it implements
30884 to always fail with ENOSYS. Some functions are actually named
30885 something starting with __ and the normal name is an alias. */
30886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30887 choke me
30888 #else
30889 char (*f) () = $ac_func;
30890 #endif
30891 #ifdef __cplusplus
30893 #endif
30896 main ()
30898 return f != $ac_func;
30900 return 0;
30902 _ACEOF
30903 rm -f conftest.$ac_objext conftest$ac_exeext
30904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30905 (eval $ac_link) 2>conftest.er1
30906 ac_status=$?
30907 grep -v '^ *+' conftest.er1 >conftest.err
30908 rm -f conftest.er1
30909 cat conftest.err >&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); } &&
30912 { ac_try='test -z "$ac_c_werror_flag"
30913 || test ! -s conftest.err'
30914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30915 (eval $ac_try) 2>&5
30916 ac_status=$?
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); }; } &&
30919 { ac_try='test -s conftest$ac_exeext'
30920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 (eval $ac_try) 2>&5
30922 ac_status=$?
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; }; then
30925 eval "$as_ac_var=yes"
30926 else
30927 echo "$as_me: failed program was:" >&5
30928 sed 's/^/| /' conftest.$ac_ext >&5
30930 eval "$as_ac_var=no"
30932 rm -f conftest.err conftest.$ac_objext \
30933 conftest$ac_exeext conftest.$ac_ext
30935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30937 if test `eval echo '${'$as_ac_var'}'` = yes; then
30938 cat >>confdefs.h <<_ACEOF
30939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30940 _ACEOF
30943 done
30953 echo "$as_me:$LINENO: checking for log10f declaration" >&5
30954 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
30955 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30956 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
30957 echo $ECHO_N "(cached) $ECHO_C" >&6
30958 else
30962 ac_ext=cc
30963 ac_cpp='$CXXCPP $CPPFLAGS'
30964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30968 cat >conftest.$ac_ext <<_ACEOF
30969 /* confdefs.h. */
30970 _ACEOF
30971 cat confdefs.h >>conftest.$ac_ext
30972 cat >>conftest.$ac_ext <<_ACEOF
30973 /* end confdefs.h. */
30974 #include <math.h>
30975 #ifdef HAVE_IEEEFP_H
30976 #include <ieeefp.h>
30977 #endif
30980 main ()
30982 log10f(0);
30984 return 0;
30986 _ACEOF
30987 rm -f conftest.$ac_objext
30988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30989 (eval $ac_compile) 2>conftest.er1
30990 ac_status=$?
30991 grep -v '^ *+' conftest.er1 >conftest.err
30992 rm -f conftest.er1
30993 cat conftest.err >&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try='test -z "$ac_cxx_werror_flag"
30997 || test ! -s conftest.err'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; } &&
31003 { ac_try='test -s conftest.$ac_objext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 glibcxx_cv_func_log10f_use=yes
31010 else
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.$ac_ext >&5
31014 glibcxx_cv_func_log10f_use=no
31016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31017 ac_ext=c
31018 ac_cpp='$CPP $CPPFLAGS'
31019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
31028 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
31030 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31032 for ac_func in log10f
31034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31035 echo "$as_me:$LINENO: checking for $ac_func" >&5
31036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31037 if eval "test \"\${$as_ac_var+set}\" = set"; then
31038 echo $ECHO_N "(cached) $ECHO_C" >&6
31039 else
31040 if test x$gcc_no_link = xyes; then
31041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31043 { (exit 1); exit 1; }; }
31045 cat >conftest.$ac_ext <<_ACEOF
31046 /* confdefs.h. */
31047 _ACEOF
31048 cat confdefs.h >>conftest.$ac_ext
31049 cat >>conftest.$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31053 #define $ac_func innocuous_$ac_func
31055 /* System header to define __stub macros and hopefully few prototypes,
31056 which can conflict with char $ac_func (); below.
31057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31058 <limits.h> exists even on freestanding compilers. */
31060 #ifdef __STDC__
31061 # include <limits.h>
31062 #else
31063 # include <assert.h>
31064 #endif
31066 #undef $ac_func
31068 /* Override any gcc2 internal prototype to avoid an error. */
31069 #ifdef __cplusplus
31070 extern "C"
31072 #endif
31073 /* We use char because int might match the return type of a gcc2
31074 builtin and then its argument prototype would still apply. */
31075 char $ac_func ();
31076 /* The GNU C library defines this for functions which it implements
31077 to always fail with ENOSYS. Some functions are actually named
31078 something starting with __ and the normal name is an alias. */
31079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31080 choke me
31081 #else
31082 char (*f) () = $ac_func;
31083 #endif
31084 #ifdef __cplusplus
31086 #endif
31089 main ()
31091 return f != $ac_func;
31093 return 0;
31095 _ACEOF
31096 rm -f conftest.$ac_objext conftest$ac_exeext
31097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31098 (eval $ac_link) 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try='test -z "$ac_c_werror_flag"
31106 || test ! -s conftest.err'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31109 ac_status=$?
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; } &&
31112 { ac_try='test -s conftest$ac_exeext'
31113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31114 (eval $ac_try) 2>&5
31115 ac_status=$?
31116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117 (exit $ac_status); }; }; then
31118 eval "$as_ac_var=yes"
31119 else
31120 echo "$as_me: failed program was:" >&5
31121 sed 's/^/| /' conftest.$ac_ext >&5
31123 eval "$as_ac_var=no"
31125 rm -f conftest.err conftest.$ac_objext \
31126 conftest$ac_exeext conftest.$ac_ext
31128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31130 if test `eval echo '${'$as_ac_var'}'` = yes; then
31131 cat >>confdefs.h <<_ACEOF
31132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31133 _ACEOF
31136 done
31138 else
31140 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
31141 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
31142 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31143 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
31144 echo $ECHO_N "(cached) $ECHO_C" >&6
31145 else
31149 ac_ext=cc
31150 ac_cpp='$CXXCPP $CPPFLAGS'
31151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31155 cat >conftest.$ac_ext <<_ACEOF
31156 /* confdefs.h. */
31157 _ACEOF
31158 cat confdefs.h >>conftest.$ac_ext
31159 cat >>conftest.$ac_ext <<_ACEOF
31160 /* end confdefs.h. */
31161 #include <math.h>
31162 #ifdef HAVE_IEEEFP_H
31163 #include <ieeefp.h>
31164 #endif
31167 main ()
31169 _log10f(0);
31171 return 0;
31173 _ACEOF
31174 rm -f conftest.$ac_objext
31175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31176 (eval $ac_compile) 2>conftest.er1
31177 ac_status=$?
31178 grep -v '^ *+' conftest.er1 >conftest.err
31179 rm -f conftest.er1
31180 cat conftest.err >&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); } &&
31183 { ac_try='test -z "$ac_cxx_werror_flag"
31184 || test ! -s conftest.err'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31187 ac_status=$?
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; } &&
31190 { ac_try='test -s conftest.$ac_objext'
31191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31192 (eval $ac_try) 2>&5
31193 ac_status=$?
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); }; }; then
31196 glibcxx_cv_func__log10f_use=yes
31197 else
31198 echo "$as_me: failed program was:" >&5
31199 sed 's/^/| /' conftest.$ac_ext >&5
31201 glibcxx_cv_func__log10f_use=no
31203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31204 ac_ext=c
31205 ac_cpp='$CPP $CPPFLAGS'
31206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
31215 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
31217 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31219 for ac_func in _log10f
31221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31222 echo "$as_me:$LINENO: checking for $ac_func" >&5
31223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31224 if eval "test \"\${$as_ac_var+set}\" = set"; then
31225 echo $ECHO_N "(cached) $ECHO_C" >&6
31226 else
31227 if test x$gcc_no_link = xyes; then
31228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31230 { (exit 1); exit 1; }; }
31232 cat >conftest.$ac_ext <<_ACEOF
31233 /* confdefs.h. */
31234 _ACEOF
31235 cat confdefs.h >>conftest.$ac_ext
31236 cat >>conftest.$ac_ext <<_ACEOF
31237 /* end confdefs.h. */
31238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31240 #define $ac_func innocuous_$ac_func
31242 /* System header to define __stub macros and hopefully few prototypes,
31243 which can conflict with char $ac_func (); below.
31244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31245 <limits.h> exists even on freestanding compilers. */
31247 #ifdef __STDC__
31248 # include <limits.h>
31249 #else
31250 # include <assert.h>
31251 #endif
31253 #undef $ac_func
31255 /* Override any gcc2 internal prototype to avoid an error. */
31256 #ifdef __cplusplus
31257 extern "C"
31259 #endif
31260 /* We use char because int might match the return type of a gcc2
31261 builtin and then its argument prototype would still apply. */
31262 char $ac_func ();
31263 /* The GNU C library defines this for functions which it implements
31264 to always fail with ENOSYS. Some functions are actually named
31265 something starting with __ and the normal name is an alias. */
31266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31267 choke me
31268 #else
31269 char (*f) () = $ac_func;
31270 #endif
31271 #ifdef __cplusplus
31273 #endif
31276 main ()
31278 return f != $ac_func;
31280 return 0;
31282 _ACEOF
31283 rm -f conftest.$ac_objext conftest$ac_exeext
31284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31285 (eval $ac_link) 2>conftest.er1
31286 ac_status=$?
31287 grep -v '^ *+' conftest.er1 >conftest.err
31288 rm -f conftest.er1
31289 cat conftest.err >&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); } &&
31292 { ac_try='test -z "$ac_c_werror_flag"
31293 || test ! -s conftest.err'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31296 ac_status=$?
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; } &&
31299 { ac_try='test -s conftest$ac_exeext'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; }; then
31305 eval "$as_ac_var=yes"
31306 else
31307 echo "$as_me: failed program was:" >&5
31308 sed 's/^/| /' conftest.$ac_ext >&5
31310 eval "$as_ac_var=no"
31312 rm -f conftest.err conftest.$ac_objext \
31313 conftest$ac_exeext conftest.$ac_ext
31315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31317 if test `eval echo '${'$as_ac_var'}'` = yes; then
31318 cat >>confdefs.h <<_ACEOF
31319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31320 _ACEOF
31323 done
31333 echo "$as_me:$LINENO: checking for modff declaration" >&5
31334 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
31335 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31336 if test "${glibcxx_cv_func_modff_use+set}" = set; then
31337 echo $ECHO_N "(cached) $ECHO_C" >&6
31338 else
31342 ac_ext=cc
31343 ac_cpp='$CXXCPP $CPPFLAGS'
31344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348 cat >conftest.$ac_ext <<_ACEOF
31349 /* confdefs.h. */
31350 _ACEOF
31351 cat confdefs.h >>conftest.$ac_ext
31352 cat >>conftest.$ac_ext <<_ACEOF
31353 /* end confdefs.h. */
31354 #include <math.h>
31356 main ()
31358 modff(0, 0);
31360 return 0;
31362 _ACEOF
31363 rm -f conftest.$ac_objext
31364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31365 (eval $ac_compile) 2>conftest.er1
31366 ac_status=$?
31367 grep -v '^ *+' conftest.er1 >conftest.err
31368 rm -f conftest.er1
31369 cat conftest.err >&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); } &&
31372 { ac_try='test -z "$ac_cxx_werror_flag"
31373 || test ! -s conftest.err'
31374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31375 (eval $ac_try) 2>&5
31376 ac_status=$?
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; } &&
31379 { ac_try='test -s conftest.$ac_objext'
31380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31381 (eval $ac_try) 2>&5
31382 ac_status=$?
31383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31384 (exit $ac_status); }; }; then
31385 glibcxx_cv_func_modff_use=yes
31386 else
31387 echo "$as_me: failed program was:" >&5
31388 sed 's/^/| /' conftest.$ac_ext >&5
31390 glibcxx_cv_func_modff_use=no
31392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31393 ac_ext=c
31394 ac_cpp='$CPP $CPPFLAGS'
31395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
31404 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
31406 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31408 for ac_func in modff
31410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31411 echo "$as_me:$LINENO: checking for $ac_func" >&5
31412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31413 if eval "test \"\${$as_ac_var+set}\" = set"; then
31414 echo $ECHO_N "(cached) $ECHO_C" >&6
31415 else
31416 if test x$gcc_no_link = xyes; then
31417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31419 { (exit 1); exit 1; }; }
31421 cat >conftest.$ac_ext <<_ACEOF
31422 /* confdefs.h. */
31423 _ACEOF
31424 cat confdefs.h >>conftest.$ac_ext
31425 cat >>conftest.$ac_ext <<_ACEOF
31426 /* end confdefs.h. */
31427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31429 #define $ac_func innocuous_$ac_func
31431 /* System header to define __stub macros and hopefully few prototypes,
31432 which can conflict with char $ac_func (); below.
31433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31434 <limits.h> exists even on freestanding compilers. */
31436 #ifdef __STDC__
31437 # include <limits.h>
31438 #else
31439 # include <assert.h>
31440 #endif
31442 #undef $ac_func
31444 /* Override any gcc2 internal prototype to avoid an error. */
31445 #ifdef __cplusplus
31446 extern "C"
31448 #endif
31449 /* We use char because int might match the return type of a gcc2
31450 builtin and then its argument prototype would still apply. */
31451 char $ac_func ();
31452 /* The GNU C library defines this for functions which it implements
31453 to always fail with ENOSYS. Some functions are actually named
31454 something starting with __ and the normal name is an alias. */
31455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31456 choke me
31457 #else
31458 char (*f) () = $ac_func;
31459 #endif
31460 #ifdef __cplusplus
31462 #endif
31465 main ()
31467 return f != $ac_func;
31469 return 0;
31471 _ACEOF
31472 rm -f conftest.$ac_objext conftest$ac_exeext
31473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31474 (eval $ac_link) 2>conftest.er1
31475 ac_status=$?
31476 grep -v '^ *+' conftest.er1 >conftest.err
31477 rm -f conftest.er1
31478 cat conftest.err >&5
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); } &&
31481 { ac_try='test -z "$ac_c_werror_flag"
31482 || test ! -s conftest.err'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31485 ac_status=$?
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; } &&
31488 { ac_try='test -s conftest$ac_exeext'
31489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31490 (eval $ac_try) 2>&5
31491 ac_status=$?
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); }; }; then
31494 eval "$as_ac_var=yes"
31495 else
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.$ac_ext >&5
31499 eval "$as_ac_var=no"
31501 rm -f conftest.err conftest.$ac_objext \
31502 conftest$ac_exeext conftest.$ac_ext
31504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31506 if test `eval echo '${'$as_ac_var'}'` = yes; then
31507 cat >>confdefs.h <<_ACEOF
31508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31509 _ACEOF
31512 done
31514 else
31516 echo "$as_me:$LINENO: checking for _modff declaration" >&5
31517 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
31518 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31519 if test "${glibcxx_cv_func__modff_use+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 else
31525 ac_ext=cc
31526 ac_cpp='$CXXCPP $CPPFLAGS'
31527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31531 cat >conftest.$ac_ext <<_ACEOF
31532 /* confdefs.h. */
31533 _ACEOF
31534 cat confdefs.h >>conftest.$ac_ext
31535 cat >>conftest.$ac_ext <<_ACEOF
31536 /* end confdefs.h. */
31537 #include <math.h>
31539 main ()
31541 _modff(0, 0);
31543 return 0;
31545 _ACEOF
31546 rm -f conftest.$ac_objext
31547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31548 (eval $ac_compile) 2>conftest.er1
31549 ac_status=$?
31550 grep -v '^ *+' conftest.er1 >conftest.err
31551 rm -f conftest.er1
31552 cat conftest.err >&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try='test -z "$ac_cxx_werror_flag"
31556 || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try='test -s conftest.$ac_objext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31565 ac_status=$?
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 glibcxx_cv_func__modff_use=yes
31569 else
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31573 glibcxx_cv_func__modff_use=no
31575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31576 ac_ext=c
31577 ac_cpp='$CPP $CPPFLAGS'
31578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
31587 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
31589 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31591 for ac_func in _modff
31593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31594 echo "$as_me:$LINENO: checking for $ac_func" >&5
31595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31596 if eval "test \"\${$as_ac_var+set}\" = set"; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31598 else
31599 if test x$gcc_no_link = xyes; then
31600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31602 { (exit 1); exit 1; }; }
31604 cat >conftest.$ac_ext <<_ACEOF
31605 /* confdefs.h. */
31606 _ACEOF
31607 cat confdefs.h >>conftest.$ac_ext
31608 cat >>conftest.$ac_ext <<_ACEOF
31609 /* end confdefs.h. */
31610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31612 #define $ac_func innocuous_$ac_func
31614 /* System header to define __stub macros and hopefully few prototypes,
31615 which can conflict with char $ac_func (); below.
31616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31617 <limits.h> exists even on freestanding compilers. */
31619 #ifdef __STDC__
31620 # include <limits.h>
31621 #else
31622 # include <assert.h>
31623 #endif
31625 #undef $ac_func
31627 /* Override any gcc2 internal prototype to avoid an error. */
31628 #ifdef __cplusplus
31629 extern "C"
31631 #endif
31632 /* We use char because int might match the return type of a gcc2
31633 builtin and then its argument prototype would still apply. */
31634 char $ac_func ();
31635 /* The GNU C library defines this for functions which it implements
31636 to always fail with ENOSYS. Some functions are actually named
31637 something starting with __ and the normal name is an alias. */
31638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31639 choke me
31640 #else
31641 char (*f) () = $ac_func;
31642 #endif
31643 #ifdef __cplusplus
31645 #endif
31648 main ()
31650 return f != $ac_func;
31652 return 0;
31654 _ACEOF
31655 rm -f conftest.$ac_objext conftest$ac_exeext
31656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31657 (eval $ac_link) 2>conftest.er1
31658 ac_status=$?
31659 grep -v '^ *+' conftest.er1 >conftest.err
31660 rm -f conftest.er1
31661 cat conftest.err >&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } &&
31664 { ac_try='test -z "$ac_c_werror_flag"
31665 || test ! -s conftest.err'
31666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31667 (eval $ac_try) 2>&5
31668 ac_status=$?
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; } &&
31671 { ac_try='test -s conftest$ac_exeext'
31672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31673 (eval $ac_try) 2>&5
31674 ac_status=$?
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); }; }; then
31677 eval "$as_ac_var=yes"
31678 else
31679 echo "$as_me: failed program was:" >&5
31680 sed 's/^/| /' conftest.$ac_ext >&5
31682 eval "$as_ac_var=no"
31684 rm -f conftest.err conftest.$ac_objext \
31685 conftest$ac_exeext conftest.$ac_ext
31687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31689 if test `eval echo '${'$as_ac_var'}'` = yes; then
31690 cat >>confdefs.h <<_ACEOF
31691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31692 _ACEOF
31695 done
31705 echo "$as_me:$LINENO: checking for modf declaration" >&5
31706 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
31707 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31708 if test "${glibcxx_cv_func_modf_use+set}" = set; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 else
31714 ac_ext=cc
31715 ac_cpp='$CXXCPP $CPPFLAGS'
31716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31720 cat >conftest.$ac_ext <<_ACEOF
31721 /* confdefs.h. */
31722 _ACEOF
31723 cat confdefs.h >>conftest.$ac_ext
31724 cat >>conftest.$ac_ext <<_ACEOF
31725 /* end confdefs.h. */
31726 #include <math.h>
31728 main ()
31730 modf(0, 0);
31732 return 0;
31734 _ACEOF
31735 rm -f conftest.$ac_objext
31736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31737 (eval $ac_compile) 2>conftest.er1
31738 ac_status=$?
31739 grep -v '^ *+' conftest.er1 >conftest.err
31740 rm -f conftest.er1
31741 cat conftest.err >&5
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); } &&
31744 { ac_try='test -z "$ac_cxx_werror_flag"
31745 || test ! -s conftest.err'
31746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31747 (eval $ac_try) 2>&5
31748 ac_status=$?
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; } &&
31751 { ac_try='test -s conftest.$ac_objext'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31754 ac_status=$?
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; }; then
31757 glibcxx_cv_func_modf_use=yes
31758 else
31759 echo "$as_me: failed program was:" >&5
31760 sed 's/^/| /' conftest.$ac_ext >&5
31762 glibcxx_cv_func_modf_use=no
31764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31765 ac_ext=c
31766 ac_cpp='$CPP $CPPFLAGS'
31767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
31776 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
31778 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31780 for ac_func in modf
31782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31783 echo "$as_me:$LINENO: checking for $ac_func" >&5
31784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31785 if eval "test \"\${$as_ac_var+set}\" = set"; then
31786 echo $ECHO_N "(cached) $ECHO_C" >&6
31787 else
31788 if test x$gcc_no_link = xyes; then
31789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31791 { (exit 1); exit 1; }; }
31793 cat >conftest.$ac_ext <<_ACEOF
31794 /* confdefs.h. */
31795 _ACEOF
31796 cat confdefs.h >>conftest.$ac_ext
31797 cat >>conftest.$ac_ext <<_ACEOF
31798 /* end confdefs.h. */
31799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31801 #define $ac_func innocuous_$ac_func
31803 /* System header to define __stub macros and hopefully few prototypes,
31804 which can conflict with char $ac_func (); below.
31805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31806 <limits.h> exists even on freestanding compilers. */
31808 #ifdef __STDC__
31809 # include <limits.h>
31810 #else
31811 # include <assert.h>
31812 #endif
31814 #undef $ac_func
31816 /* Override any gcc2 internal prototype to avoid an error. */
31817 #ifdef __cplusplus
31818 extern "C"
31820 #endif
31821 /* We use char because int might match the return type of a gcc2
31822 builtin and then its argument prototype would still apply. */
31823 char $ac_func ();
31824 /* The GNU C library defines this for functions which it implements
31825 to always fail with ENOSYS. Some functions are actually named
31826 something starting with __ and the normal name is an alias. */
31827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31828 choke me
31829 #else
31830 char (*f) () = $ac_func;
31831 #endif
31832 #ifdef __cplusplus
31834 #endif
31837 main ()
31839 return f != $ac_func;
31841 return 0;
31843 _ACEOF
31844 rm -f conftest.$ac_objext conftest$ac_exeext
31845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31846 (eval $ac_link) 2>conftest.er1
31847 ac_status=$?
31848 grep -v '^ *+' conftest.er1 >conftest.err
31849 rm -f conftest.er1
31850 cat conftest.err >&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } &&
31853 { ac_try='test -z "$ac_c_werror_flag"
31854 || test ! -s conftest.err'
31855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31856 (eval $ac_try) 2>&5
31857 ac_status=$?
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; } &&
31860 { ac_try='test -s conftest$ac_exeext'
31861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31862 (eval $ac_try) 2>&5
31863 ac_status=$?
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); }; }; then
31866 eval "$as_ac_var=yes"
31867 else
31868 echo "$as_me: failed program was:" >&5
31869 sed 's/^/| /' conftest.$ac_ext >&5
31871 eval "$as_ac_var=no"
31873 rm -f conftest.err conftest.$ac_objext \
31874 conftest$ac_exeext conftest.$ac_ext
31876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31878 if test `eval echo '${'$as_ac_var'}'` = yes; then
31879 cat >>confdefs.h <<_ACEOF
31880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31881 _ACEOF
31884 done
31886 else
31888 echo "$as_me:$LINENO: checking for _modf declaration" >&5
31889 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
31890 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31891 if test "${glibcxx_cv_func__modf_use+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 else
31897 ac_ext=cc
31898 ac_cpp='$CXXCPP $CPPFLAGS'
31899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31903 cat >conftest.$ac_ext <<_ACEOF
31904 /* confdefs.h. */
31905 _ACEOF
31906 cat confdefs.h >>conftest.$ac_ext
31907 cat >>conftest.$ac_ext <<_ACEOF
31908 /* end confdefs.h. */
31909 #include <math.h>
31911 main ()
31913 _modf(0, 0);
31915 return 0;
31917 _ACEOF
31918 rm -f conftest.$ac_objext
31919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31920 (eval $ac_compile) 2>conftest.er1
31921 ac_status=$?
31922 grep -v '^ *+' conftest.er1 >conftest.err
31923 rm -f conftest.er1
31924 cat conftest.err >&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } &&
31927 { ac_try='test -z "$ac_cxx_werror_flag"
31928 || test ! -s conftest.err'
31929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31930 (eval $ac_try) 2>&5
31931 ac_status=$?
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; } &&
31934 { ac_try='test -s conftest.$ac_objext'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31937 ac_status=$?
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; }; then
31940 glibcxx_cv_func__modf_use=yes
31941 else
31942 echo "$as_me: failed program was:" >&5
31943 sed 's/^/| /' conftest.$ac_ext >&5
31945 glibcxx_cv_func__modf_use=no
31947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31948 ac_ext=c
31949 ac_cpp='$CPP $CPPFLAGS'
31950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
31959 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
31961 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31963 for ac_func in _modf
31965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31966 echo "$as_me:$LINENO: checking for $ac_func" >&5
31967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31968 if eval "test \"\${$as_ac_var+set}\" = set"; then
31969 echo $ECHO_N "(cached) $ECHO_C" >&6
31970 else
31971 if test x$gcc_no_link = xyes; then
31972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31974 { (exit 1); exit 1; }; }
31976 cat >conftest.$ac_ext <<_ACEOF
31977 /* confdefs.h. */
31978 _ACEOF
31979 cat confdefs.h >>conftest.$ac_ext
31980 cat >>conftest.$ac_ext <<_ACEOF
31981 /* end confdefs.h. */
31982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31984 #define $ac_func innocuous_$ac_func
31986 /* System header to define __stub macros and hopefully few prototypes,
31987 which can conflict with char $ac_func (); below.
31988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31989 <limits.h> exists even on freestanding compilers. */
31991 #ifdef __STDC__
31992 # include <limits.h>
31993 #else
31994 # include <assert.h>
31995 #endif
31997 #undef $ac_func
31999 /* Override any gcc2 internal prototype to avoid an error. */
32000 #ifdef __cplusplus
32001 extern "C"
32003 #endif
32004 /* We use char because int might match the return type of a gcc2
32005 builtin and then its argument prototype would still apply. */
32006 char $ac_func ();
32007 /* The GNU C library defines this for functions which it implements
32008 to always fail with ENOSYS. Some functions are actually named
32009 something starting with __ and the normal name is an alias. */
32010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32011 choke me
32012 #else
32013 char (*f) () = $ac_func;
32014 #endif
32015 #ifdef __cplusplus
32017 #endif
32020 main ()
32022 return f != $ac_func;
32024 return 0;
32026 _ACEOF
32027 rm -f conftest.$ac_objext conftest$ac_exeext
32028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32029 (eval $ac_link) 2>conftest.er1
32030 ac_status=$?
32031 grep -v '^ *+' conftest.er1 >conftest.err
32032 rm -f conftest.er1
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } &&
32036 { ac_try='test -z "$ac_c_werror_flag"
32037 || test ! -s conftest.err'
32038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32039 (eval $ac_try) 2>&5
32040 ac_status=$?
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); }; } &&
32043 { ac_try='test -s conftest$ac_exeext'
32044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32045 (eval $ac_try) 2>&5
32046 ac_status=$?
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); }; }; then
32049 eval "$as_ac_var=yes"
32050 else
32051 echo "$as_me: failed program was:" >&5
32052 sed 's/^/| /' conftest.$ac_ext >&5
32054 eval "$as_ac_var=no"
32056 rm -f conftest.err conftest.$ac_objext \
32057 conftest$ac_exeext conftest.$ac_ext
32059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32061 if test `eval echo '${'$as_ac_var'}'` = yes; then
32062 cat >>confdefs.h <<_ACEOF
32063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32064 _ACEOF
32067 done
32077 echo "$as_me:$LINENO: checking for powf declaration" >&5
32078 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
32079 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32080 if test "${glibcxx_cv_func_powf_use+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32086 ac_ext=cc
32087 ac_cpp='$CXXCPP $CPPFLAGS'
32088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32092 cat >conftest.$ac_ext <<_ACEOF
32093 /* confdefs.h. */
32094 _ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098 #include <math.h>
32100 main ()
32102 powf(0, 0);
32104 return 0;
32106 _ACEOF
32107 rm -f conftest.$ac_objext
32108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32109 (eval $ac_compile) 2>conftest.er1
32110 ac_status=$?
32111 grep -v '^ *+' conftest.er1 >conftest.err
32112 rm -f conftest.er1
32113 cat conftest.err >&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); } &&
32116 { ac_try='test -z "$ac_cxx_werror_flag"
32117 || test ! -s conftest.err'
32118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32119 (eval $ac_try) 2>&5
32120 ac_status=$?
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); }; } &&
32123 { ac_try='test -s conftest.$ac_objext'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32126 ac_status=$?
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; }; then
32129 glibcxx_cv_func_powf_use=yes
32130 else
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.$ac_ext >&5
32134 glibcxx_cv_func_powf_use=no
32136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32137 ac_ext=c
32138 ac_cpp='$CPP $CPPFLAGS'
32139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
32148 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
32150 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32152 for ac_func in powf
32154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32155 echo "$as_me:$LINENO: checking for $ac_func" >&5
32156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32157 if eval "test \"\${$as_ac_var+set}\" = set"; then
32158 echo $ECHO_N "(cached) $ECHO_C" >&6
32159 else
32160 if test x$gcc_no_link = xyes; then
32161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32163 { (exit 1); exit 1; }; }
32165 cat >conftest.$ac_ext <<_ACEOF
32166 /* confdefs.h. */
32167 _ACEOF
32168 cat confdefs.h >>conftest.$ac_ext
32169 cat >>conftest.$ac_ext <<_ACEOF
32170 /* end confdefs.h. */
32171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32173 #define $ac_func innocuous_$ac_func
32175 /* System header to define __stub macros and hopefully few prototypes,
32176 which can conflict with char $ac_func (); below.
32177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32178 <limits.h> exists even on freestanding compilers. */
32180 #ifdef __STDC__
32181 # include <limits.h>
32182 #else
32183 # include <assert.h>
32184 #endif
32186 #undef $ac_func
32188 /* Override any gcc2 internal prototype to avoid an error. */
32189 #ifdef __cplusplus
32190 extern "C"
32192 #endif
32193 /* We use char because int might match the return type of a gcc2
32194 builtin and then its argument prototype would still apply. */
32195 char $ac_func ();
32196 /* The GNU C library defines this for functions which it implements
32197 to always fail with ENOSYS. Some functions are actually named
32198 something starting with __ and the normal name is an alias. */
32199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32200 choke me
32201 #else
32202 char (*f) () = $ac_func;
32203 #endif
32204 #ifdef __cplusplus
32206 #endif
32209 main ()
32211 return f != $ac_func;
32213 return 0;
32215 _ACEOF
32216 rm -f conftest.$ac_objext conftest$ac_exeext
32217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32218 (eval $ac_link) 2>conftest.er1
32219 ac_status=$?
32220 grep -v '^ *+' conftest.er1 >conftest.err
32221 rm -f conftest.er1
32222 cat conftest.err >&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); } &&
32225 { ac_try='test -z "$ac_c_werror_flag"
32226 || test ! -s conftest.err'
32227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32228 (eval $ac_try) 2>&5
32229 ac_status=$?
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); }; } &&
32232 { ac_try='test -s conftest$ac_exeext'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32235 ac_status=$?
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; }; then
32238 eval "$as_ac_var=yes"
32239 else
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32243 eval "$as_ac_var=no"
32245 rm -f conftest.err conftest.$ac_objext \
32246 conftest$ac_exeext conftest.$ac_ext
32248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32250 if test `eval echo '${'$as_ac_var'}'` = yes; then
32251 cat >>confdefs.h <<_ACEOF
32252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32253 _ACEOF
32256 done
32258 else
32260 echo "$as_me:$LINENO: checking for _powf declaration" >&5
32261 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
32262 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32263 if test "${glibcxx_cv_func__powf_use+set}" = set; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32265 else
32269 ac_ext=cc
32270 ac_cpp='$CXXCPP $CPPFLAGS'
32271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32275 cat >conftest.$ac_ext <<_ACEOF
32276 /* confdefs.h. */
32277 _ACEOF
32278 cat confdefs.h >>conftest.$ac_ext
32279 cat >>conftest.$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32281 #include <math.h>
32283 main ()
32285 _powf(0, 0);
32287 return 0;
32289 _ACEOF
32290 rm -f conftest.$ac_objext
32291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32292 (eval $ac_compile) 2>conftest.er1
32293 ac_status=$?
32294 grep -v '^ *+' conftest.er1 >conftest.err
32295 rm -f conftest.er1
32296 cat conftest.err >&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } &&
32299 { ac_try='test -z "$ac_cxx_werror_flag"
32300 || test ! -s conftest.err'
32301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32302 (eval $ac_try) 2>&5
32303 ac_status=$?
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); }; } &&
32306 { ac_try='test -s conftest.$ac_objext'
32307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32308 (eval $ac_try) 2>&5
32309 ac_status=$?
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); }; }; then
32312 glibcxx_cv_func__powf_use=yes
32313 else
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32317 glibcxx_cv_func__powf_use=no
32319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32320 ac_ext=c
32321 ac_cpp='$CPP $CPPFLAGS'
32322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
32331 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
32333 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32335 for ac_func in _powf
32337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32338 echo "$as_me:$LINENO: checking for $ac_func" >&5
32339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32340 if eval "test \"\${$as_ac_var+set}\" = set"; then
32341 echo $ECHO_N "(cached) $ECHO_C" >&6
32342 else
32343 if test x$gcc_no_link = xyes; then
32344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32346 { (exit 1); exit 1; }; }
32348 cat >conftest.$ac_ext <<_ACEOF
32349 /* confdefs.h. */
32350 _ACEOF
32351 cat confdefs.h >>conftest.$ac_ext
32352 cat >>conftest.$ac_ext <<_ACEOF
32353 /* end confdefs.h. */
32354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32356 #define $ac_func innocuous_$ac_func
32358 /* System header to define __stub macros and hopefully few prototypes,
32359 which can conflict with char $ac_func (); below.
32360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32361 <limits.h> exists even on freestanding compilers. */
32363 #ifdef __STDC__
32364 # include <limits.h>
32365 #else
32366 # include <assert.h>
32367 #endif
32369 #undef $ac_func
32371 /* Override any gcc2 internal prototype to avoid an error. */
32372 #ifdef __cplusplus
32373 extern "C"
32375 #endif
32376 /* We use char because int might match the return type of a gcc2
32377 builtin and then its argument prototype would still apply. */
32378 char $ac_func ();
32379 /* The GNU C library defines this for functions which it implements
32380 to always fail with ENOSYS. Some functions are actually named
32381 something starting with __ and the normal name is an alias. */
32382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32383 choke me
32384 #else
32385 char (*f) () = $ac_func;
32386 #endif
32387 #ifdef __cplusplus
32389 #endif
32392 main ()
32394 return f != $ac_func;
32396 return 0;
32398 _ACEOF
32399 rm -f conftest.$ac_objext conftest$ac_exeext
32400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32401 (eval $ac_link) 2>conftest.er1
32402 ac_status=$?
32403 grep -v '^ *+' conftest.er1 >conftest.err
32404 rm -f conftest.er1
32405 cat conftest.err >&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); } &&
32408 { ac_try='test -z "$ac_c_werror_flag"
32409 || test ! -s conftest.err'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32412 ac_status=$?
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; } &&
32415 { ac_try='test -s conftest$ac_exeext'
32416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32417 (eval $ac_try) 2>&5
32418 ac_status=$?
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); }; }; then
32421 eval "$as_ac_var=yes"
32422 else
32423 echo "$as_me: failed program was:" >&5
32424 sed 's/^/| /' conftest.$ac_ext >&5
32426 eval "$as_ac_var=no"
32428 rm -f conftest.err conftest.$ac_objext \
32429 conftest$ac_exeext conftest.$ac_ext
32431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32433 if test `eval echo '${'$as_ac_var'}'` = yes; then
32434 cat >>confdefs.h <<_ACEOF
32435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32436 _ACEOF
32439 done
32449 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
32450 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
32451 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32452 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 else
32458 ac_ext=cc
32459 ac_cpp='$CXXCPP $CPPFLAGS'
32460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32464 cat >conftest.$ac_ext <<_ACEOF
32465 /* confdefs.h. */
32466 _ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32470 #include <math.h>
32471 #ifdef HAVE_IEEEFP_H
32472 #include <ieeefp.h>
32473 #endif
32476 main ()
32478 sqrtf(0);
32480 return 0;
32482 _ACEOF
32483 rm -f conftest.$ac_objext
32484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32485 (eval $ac_compile) 2>conftest.er1
32486 ac_status=$?
32487 grep -v '^ *+' conftest.er1 >conftest.err
32488 rm -f conftest.er1
32489 cat conftest.err >&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); } &&
32492 { ac_try='test -z "$ac_cxx_werror_flag"
32493 || test ! -s conftest.err'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32496 ac_status=$?
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; } &&
32499 { ac_try='test -s conftest.$ac_objext'
32500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501 (eval $ac_try) 2>&5
32502 ac_status=$?
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; }; then
32505 glibcxx_cv_func_sqrtf_use=yes
32506 else
32507 echo "$as_me: failed program was:" >&5
32508 sed 's/^/| /' conftest.$ac_ext >&5
32510 glibcxx_cv_func_sqrtf_use=no
32512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32513 ac_ext=c
32514 ac_cpp='$CPP $CPPFLAGS'
32515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
32524 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
32526 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32528 for ac_func in sqrtf
32530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32531 echo "$as_me:$LINENO: checking for $ac_func" >&5
32532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32533 if eval "test \"\${$as_ac_var+set}\" = set"; then
32534 echo $ECHO_N "(cached) $ECHO_C" >&6
32535 else
32536 if test x$gcc_no_link = xyes; then
32537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32539 { (exit 1); exit 1; }; }
32541 cat >conftest.$ac_ext <<_ACEOF
32542 /* confdefs.h. */
32543 _ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32549 #define $ac_func innocuous_$ac_func
32551 /* System header to define __stub macros and hopefully few prototypes,
32552 which can conflict with char $ac_func (); below.
32553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32554 <limits.h> exists even on freestanding compilers. */
32556 #ifdef __STDC__
32557 # include <limits.h>
32558 #else
32559 # include <assert.h>
32560 #endif
32562 #undef $ac_func
32564 /* Override any gcc2 internal prototype to avoid an error. */
32565 #ifdef __cplusplus
32566 extern "C"
32568 #endif
32569 /* We use char because int might match the return type of a gcc2
32570 builtin and then its argument prototype would still apply. */
32571 char $ac_func ();
32572 /* The GNU C library defines this for functions which it implements
32573 to always fail with ENOSYS. Some functions are actually named
32574 something starting with __ and the normal name is an alias. */
32575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32576 choke me
32577 #else
32578 char (*f) () = $ac_func;
32579 #endif
32580 #ifdef __cplusplus
32582 #endif
32585 main ()
32587 return f != $ac_func;
32589 return 0;
32591 _ACEOF
32592 rm -f conftest.$ac_objext conftest$ac_exeext
32593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32594 (eval $ac_link) 2>conftest.er1
32595 ac_status=$?
32596 grep -v '^ *+' conftest.er1 >conftest.err
32597 rm -f conftest.er1
32598 cat conftest.err >&5
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); } &&
32601 { ac_try='test -z "$ac_c_werror_flag"
32602 || test ! -s conftest.err'
32603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32604 (eval $ac_try) 2>&5
32605 ac_status=$?
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); }; } &&
32608 { ac_try='test -s conftest$ac_exeext'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32611 ac_status=$?
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; }; then
32614 eval "$as_ac_var=yes"
32615 else
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32619 eval "$as_ac_var=no"
32621 rm -f conftest.err conftest.$ac_objext \
32622 conftest$ac_exeext conftest.$ac_ext
32624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32626 if test `eval echo '${'$as_ac_var'}'` = yes; then
32627 cat >>confdefs.h <<_ACEOF
32628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32629 _ACEOF
32632 done
32634 else
32636 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
32637 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
32638 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32639 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32641 else
32645 ac_ext=cc
32646 ac_cpp='$CXXCPP $CPPFLAGS'
32647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32651 cat >conftest.$ac_ext <<_ACEOF
32652 /* confdefs.h. */
32653 _ACEOF
32654 cat confdefs.h >>conftest.$ac_ext
32655 cat >>conftest.$ac_ext <<_ACEOF
32656 /* end confdefs.h. */
32657 #include <math.h>
32658 #ifdef HAVE_IEEEFP_H
32659 #include <ieeefp.h>
32660 #endif
32663 main ()
32665 _sqrtf(0);
32667 return 0;
32669 _ACEOF
32670 rm -f conftest.$ac_objext
32671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32672 (eval $ac_compile) 2>conftest.er1
32673 ac_status=$?
32674 grep -v '^ *+' conftest.er1 >conftest.err
32675 rm -f conftest.er1
32676 cat conftest.err >&5
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); } &&
32679 { ac_try='test -z "$ac_cxx_werror_flag"
32680 || test ! -s conftest.err'
32681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682 (eval $ac_try) 2>&5
32683 ac_status=$?
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; } &&
32686 { ac_try='test -s conftest.$ac_objext'
32687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688 (eval $ac_try) 2>&5
32689 ac_status=$?
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); }; }; then
32692 glibcxx_cv_func__sqrtf_use=yes
32693 else
32694 echo "$as_me: failed program was:" >&5
32695 sed 's/^/| /' conftest.$ac_ext >&5
32697 glibcxx_cv_func__sqrtf_use=no
32699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32700 ac_ext=c
32701 ac_cpp='$CPP $CPPFLAGS'
32702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32710 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
32711 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
32713 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32715 for ac_func in _sqrtf
32717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32718 echo "$as_me:$LINENO: checking for $ac_func" >&5
32719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32720 if eval "test \"\${$as_ac_var+set}\" = set"; then
32721 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 else
32723 if test x$gcc_no_link = xyes; then
32724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32726 { (exit 1); exit 1; }; }
32728 cat >conftest.$ac_ext <<_ACEOF
32729 /* confdefs.h. */
32730 _ACEOF
32731 cat confdefs.h >>conftest.$ac_ext
32732 cat >>conftest.$ac_ext <<_ACEOF
32733 /* end confdefs.h. */
32734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32736 #define $ac_func innocuous_$ac_func
32738 /* System header to define __stub macros and hopefully few prototypes,
32739 which can conflict with char $ac_func (); below.
32740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32741 <limits.h> exists even on freestanding compilers. */
32743 #ifdef __STDC__
32744 # include <limits.h>
32745 #else
32746 # include <assert.h>
32747 #endif
32749 #undef $ac_func
32751 /* Override any gcc2 internal prototype to avoid an error. */
32752 #ifdef __cplusplus
32753 extern "C"
32755 #endif
32756 /* We use char because int might match the return type of a gcc2
32757 builtin and then its argument prototype would still apply. */
32758 char $ac_func ();
32759 /* The GNU C library defines this for functions which it implements
32760 to always fail with ENOSYS. Some functions are actually named
32761 something starting with __ and the normal name is an alias. */
32762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32763 choke me
32764 #else
32765 char (*f) () = $ac_func;
32766 #endif
32767 #ifdef __cplusplus
32769 #endif
32772 main ()
32774 return f != $ac_func;
32776 return 0;
32778 _ACEOF
32779 rm -f conftest.$ac_objext conftest$ac_exeext
32780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32781 (eval $ac_link) 2>conftest.er1
32782 ac_status=$?
32783 grep -v '^ *+' conftest.er1 >conftest.err
32784 rm -f conftest.er1
32785 cat conftest.err >&5
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); } &&
32788 { ac_try='test -z "$ac_c_werror_flag"
32789 || test ! -s conftest.err'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32792 ac_status=$?
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; } &&
32795 { ac_try='test -s conftest$ac_exeext'
32796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32797 (eval $ac_try) 2>&5
32798 ac_status=$?
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); }; }; then
32801 eval "$as_ac_var=yes"
32802 else
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.$ac_ext >&5
32806 eval "$as_ac_var=no"
32808 rm -f conftest.err conftest.$ac_objext \
32809 conftest$ac_exeext conftest.$ac_ext
32811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32813 if test `eval echo '${'$as_ac_var'}'` = yes; then
32814 cat >>confdefs.h <<_ACEOF
32815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32816 _ACEOF
32819 done
32829 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
32830 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
32831 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32832 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
32833 echo $ECHO_N "(cached) $ECHO_C" >&6
32834 else
32838 ac_ext=cc
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32844 cat >conftest.$ac_ext <<_ACEOF
32845 /* confdefs.h. */
32846 _ACEOF
32847 cat confdefs.h >>conftest.$ac_ext
32848 cat >>conftest.$ac_ext <<_ACEOF
32849 /* end confdefs.h. */
32850 #include <math.h>
32852 main ()
32854 sincosf(0, 0, 0);
32856 return 0;
32858 _ACEOF
32859 rm -f conftest.$ac_objext
32860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32861 (eval $ac_compile) 2>conftest.er1
32862 ac_status=$?
32863 grep -v '^ *+' conftest.er1 >conftest.err
32864 rm -f conftest.er1
32865 cat conftest.err >&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); } &&
32868 { ac_try='test -z "$ac_cxx_werror_flag"
32869 || test ! -s conftest.err'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32872 ac_status=$?
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; } &&
32875 { ac_try='test -s conftest.$ac_objext'
32876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877 (eval $ac_try) 2>&5
32878 ac_status=$?
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; }; then
32881 glibcxx_cv_func_sincosf_use=yes
32882 else
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32886 glibcxx_cv_func_sincosf_use=no
32888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32889 ac_ext=c
32890 ac_cpp='$CPP $CPPFLAGS'
32891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32899 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
32900 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
32902 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32904 for ac_func in sincosf
32906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32907 echo "$as_me:$LINENO: checking for $ac_func" >&5
32908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32909 if eval "test \"\${$as_ac_var+set}\" = set"; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32911 else
32912 if test x$gcc_no_link = xyes; then
32913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32915 { (exit 1); exit 1; }; }
32917 cat >conftest.$ac_ext <<_ACEOF
32918 /* confdefs.h. */
32919 _ACEOF
32920 cat confdefs.h >>conftest.$ac_ext
32921 cat >>conftest.$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32925 #define $ac_func innocuous_$ac_func
32927 /* System header to define __stub macros and hopefully few prototypes,
32928 which can conflict with char $ac_func (); below.
32929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32930 <limits.h> exists even on freestanding compilers. */
32932 #ifdef __STDC__
32933 # include <limits.h>
32934 #else
32935 # include <assert.h>
32936 #endif
32938 #undef $ac_func
32940 /* Override any gcc2 internal prototype to avoid an error. */
32941 #ifdef __cplusplus
32942 extern "C"
32944 #endif
32945 /* We use char because int might match the return type of a gcc2
32946 builtin and then its argument prototype would still apply. */
32947 char $ac_func ();
32948 /* The GNU C library defines this for functions which it implements
32949 to always fail with ENOSYS. Some functions are actually named
32950 something starting with __ and the normal name is an alias. */
32951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32952 choke me
32953 #else
32954 char (*f) () = $ac_func;
32955 #endif
32956 #ifdef __cplusplus
32958 #endif
32961 main ()
32963 return f != $ac_func;
32965 return 0;
32967 _ACEOF
32968 rm -f conftest.$ac_objext conftest$ac_exeext
32969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32970 (eval $ac_link) 2>conftest.er1
32971 ac_status=$?
32972 grep -v '^ *+' conftest.er1 >conftest.err
32973 rm -f conftest.er1
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } &&
32977 { ac_try='test -z "$ac_c_werror_flag"
32978 || test ! -s conftest.err'
32979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32980 (eval $ac_try) 2>&5
32981 ac_status=$?
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); }; } &&
32984 { ac_try='test -s conftest$ac_exeext'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32987 ac_status=$?
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; }; then
32990 eval "$as_ac_var=yes"
32991 else
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32995 eval "$as_ac_var=no"
32997 rm -f conftest.err conftest.$ac_objext \
32998 conftest$ac_exeext conftest.$ac_ext
33000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33002 if test `eval echo '${'$as_ac_var'}'` = yes; then
33003 cat >>confdefs.h <<_ACEOF
33004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33005 _ACEOF
33008 done
33010 else
33012 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
33013 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
33014 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33015 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33017 else
33021 ac_ext=cc
33022 ac_cpp='$CXXCPP $CPPFLAGS'
33023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033 #include <math.h>
33035 main ()
33037 _sincosf(0, 0, 0);
33039 return 0;
33041 _ACEOF
33042 rm -f conftest.$ac_objext
33043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33044 (eval $ac_compile) 2>conftest.er1
33045 ac_status=$?
33046 grep -v '^ *+' conftest.er1 >conftest.err
33047 rm -f conftest.er1
33048 cat conftest.err >&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try='test -z "$ac_cxx_werror_flag"
33052 || test ! -s conftest.err'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33055 ac_status=$?
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; } &&
33058 { ac_try='test -s conftest.$ac_objext'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33064 glibcxx_cv_func__sincosf_use=yes
33065 else
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33069 glibcxx_cv_func__sincosf_use=no
33071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33072 ac_ext=c
33073 ac_cpp='$CPP $CPPFLAGS'
33074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
33083 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
33085 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33087 for ac_func in _sincosf
33089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33090 echo "$as_me:$LINENO: checking for $ac_func" >&5
33091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33092 if eval "test \"\${$as_ac_var+set}\" = set"; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33094 else
33095 if test x$gcc_no_link = xyes; then
33096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33098 { (exit 1); exit 1; }; }
33100 cat >conftest.$ac_ext <<_ACEOF
33101 /* confdefs.h. */
33102 _ACEOF
33103 cat confdefs.h >>conftest.$ac_ext
33104 cat >>conftest.$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33108 #define $ac_func innocuous_$ac_func
33110 /* System header to define __stub macros and hopefully few prototypes,
33111 which can conflict with char $ac_func (); below.
33112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33113 <limits.h> exists even on freestanding compilers. */
33115 #ifdef __STDC__
33116 # include <limits.h>
33117 #else
33118 # include <assert.h>
33119 #endif
33121 #undef $ac_func
33123 /* Override any gcc2 internal prototype to avoid an error. */
33124 #ifdef __cplusplus
33125 extern "C"
33127 #endif
33128 /* We use char because int might match the return type of a gcc2
33129 builtin and then its argument prototype would still apply. */
33130 char $ac_func ();
33131 /* The GNU C library defines this for functions which it implements
33132 to always fail with ENOSYS. Some functions are actually named
33133 something starting with __ and the normal name is an alias. */
33134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33135 choke me
33136 #else
33137 char (*f) () = $ac_func;
33138 #endif
33139 #ifdef __cplusplus
33141 #endif
33144 main ()
33146 return f != $ac_func;
33148 return 0;
33150 _ACEOF
33151 rm -f conftest.$ac_objext conftest$ac_exeext
33152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33153 (eval $ac_link) 2>conftest.er1
33154 ac_status=$?
33155 grep -v '^ *+' conftest.er1 >conftest.err
33156 rm -f conftest.er1
33157 cat conftest.err >&5
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); } &&
33160 { ac_try='test -z "$ac_c_werror_flag"
33161 || test ! -s conftest.err'
33162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33163 (eval $ac_try) 2>&5
33164 ac_status=$?
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; } &&
33167 { ac_try='test -s conftest$ac_exeext'
33168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33169 (eval $ac_try) 2>&5
33170 ac_status=$?
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); }; }; then
33173 eval "$as_ac_var=yes"
33174 else
33175 echo "$as_me: failed program was:" >&5
33176 sed 's/^/| /' conftest.$ac_ext >&5
33178 eval "$as_ac_var=no"
33180 rm -f conftest.err conftest.$ac_objext \
33181 conftest$ac_exeext conftest.$ac_ext
33183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33185 if test `eval echo '${'$as_ac_var'}'` = yes; then
33186 cat >>confdefs.h <<_ACEOF
33187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33188 _ACEOF
33191 done
33201 echo "$as_me:$LINENO: checking for finitef declaration" >&5
33202 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
33203 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33204 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
33205 echo $ECHO_N "(cached) $ECHO_C" >&6
33206 else
33210 ac_ext=cc
33211 ac_cpp='$CXXCPP $CPPFLAGS'
33212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33216 cat >conftest.$ac_ext <<_ACEOF
33217 /* confdefs.h. */
33218 _ACEOF
33219 cat confdefs.h >>conftest.$ac_ext
33220 cat >>conftest.$ac_ext <<_ACEOF
33221 /* end confdefs.h. */
33222 #include <math.h>
33223 #ifdef HAVE_IEEEFP_H
33224 #include <ieeefp.h>
33225 #endif
33228 main ()
33230 finitef(0);
33232 return 0;
33234 _ACEOF
33235 rm -f conftest.$ac_objext
33236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33237 (eval $ac_compile) 2>conftest.er1
33238 ac_status=$?
33239 grep -v '^ *+' conftest.er1 >conftest.err
33240 rm -f conftest.er1
33241 cat conftest.err >&5
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); } &&
33244 { ac_try='test -z "$ac_cxx_werror_flag"
33245 || test ! -s conftest.err'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33248 ac_status=$?
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; } &&
33251 { ac_try='test -s conftest.$ac_objext'
33252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33253 (eval $ac_try) 2>&5
33254 ac_status=$?
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); }; }; then
33257 glibcxx_cv_func_finitef_use=yes
33258 else
33259 echo "$as_me: failed program was:" >&5
33260 sed 's/^/| /' conftest.$ac_ext >&5
33262 glibcxx_cv_func_finitef_use=no
33264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33265 ac_ext=c
33266 ac_cpp='$CPP $CPPFLAGS'
33267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33275 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
33276 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
33278 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33280 for ac_func in finitef
33282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33283 echo "$as_me:$LINENO: checking for $ac_func" >&5
33284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33285 if eval "test \"\${$as_ac_var+set}\" = set"; then
33286 echo $ECHO_N "(cached) $ECHO_C" >&6
33287 else
33288 if test x$gcc_no_link = xyes; then
33289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33291 { (exit 1); exit 1; }; }
33293 cat >conftest.$ac_ext <<_ACEOF
33294 /* confdefs.h. */
33295 _ACEOF
33296 cat confdefs.h >>conftest.$ac_ext
33297 cat >>conftest.$ac_ext <<_ACEOF
33298 /* end confdefs.h. */
33299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33301 #define $ac_func innocuous_$ac_func
33303 /* System header to define __stub macros and hopefully few prototypes,
33304 which can conflict with char $ac_func (); below.
33305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33306 <limits.h> exists even on freestanding compilers. */
33308 #ifdef __STDC__
33309 # include <limits.h>
33310 #else
33311 # include <assert.h>
33312 #endif
33314 #undef $ac_func
33316 /* Override any gcc2 internal prototype to avoid an error. */
33317 #ifdef __cplusplus
33318 extern "C"
33320 #endif
33321 /* We use char because int might match the return type of a gcc2
33322 builtin and then its argument prototype would still apply. */
33323 char $ac_func ();
33324 /* The GNU C library defines this for functions which it implements
33325 to always fail with ENOSYS. Some functions are actually named
33326 something starting with __ and the normal name is an alias. */
33327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33328 choke me
33329 #else
33330 char (*f) () = $ac_func;
33331 #endif
33332 #ifdef __cplusplus
33334 #endif
33337 main ()
33339 return f != $ac_func;
33341 return 0;
33343 _ACEOF
33344 rm -f conftest.$ac_objext conftest$ac_exeext
33345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33346 (eval $ac_link) 2>conftest.er1
33347 ac_status=$?
33348 grep -v '^ *+' conftest.er1 >conftest.err
33349 rm -f conftest.er1
33350 cat conftest.err >&5
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); } &&
33353 { ac_try='test -z "$ac_c_werror_flag"
33354 || test ! -s conftest.err'
33355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33356 (eval $ac_try) 2>&5
33357 ac_status=$?
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); }; } &&
33360 { ac_try='test -s conftest$ac_exeext'
33361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362 (eval $ac_try) 2>&5
33363 ac_status=$?
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; }; then
33366 eval "$as_ac_var=yes"
33367 else
33368 echo "$as_me: failed program was:" >&5
33369 sed 's/^/| /' conftest.$ac_ext >&5
33371 eval "$as_ac_var=no"
33373 rm -f conftest.err conftest.$ac_objext \
33374 conftest$ac_exeext conftest.$ac_ext
33376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33378 if test `eval echo '${'$as_ac_var'}'` = yes; then
33379 cat >>confdefs.h <<_ACEOF
33380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33381 _ACEOF
33384 done
33386 else
33388 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
33389 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
33390 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33391 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
33392 echo $ECHO_N "(cached) $ECHO_C" >&6
33393 else
33397 ac_ext=cc
33398 ac_cpp='$CXXCPP $CPPFLAGS'
33399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33403 cat >conftest.$ac_ext <<_ACEOF
33404 /* confdefs.h. */
33405 _ACEOF
33406 cat confdefs.h >>conftest.$ac_ext
33407 cat >>conftest.$ac_ext <<_ACEOF
33408 /* end confdefs.h. */
33409 #include <math.h>
33410 #ifdef HAVE_IEEEFP_H
33411 #include <ieeefp.h>
33412 #endif
33415 main ()
33417 _finitef(0);
33419 return 0;
33421 _ACEOF
33422 rm -f conftest.$ac_objext
33423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33424 (eval $ac_compile) 2>conftest.er1
33425 ac_status=$?
33426 grep -v '^ *+' conftest.er1 >conftest.err
33427 rm -f conftest.er1
33428 cat conftest.err >&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); } &&
33431 { ac_try='test -z "$ac_cxx_werror_flag"
33432 || test ! -s conftest.err'
33433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33434 (eval $ac_try) 2>&5
33435 ac_status=$?
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; } &&
33438 { ac_try='test -s conftest.$ac_objext'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33441 ac_status=$?
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; }; then
33444 glibcxx_cv_func__finitef_use=yes
33445 else
33446 echo "$as_me: failed program was:" >&5
33447 sed 's/^/| /' conftest.$ac_ext >&5
33449 glibcxx_cv_func__finitef_use=no
33451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33452 ac_ext=c
33453 ac_cpp='$CPP $CPPFLAGS'
33454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33462 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
33463 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
33465 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33467 for ac_func in _finitef
33469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33470 echo "$as_me:$LINENO: checking for $ac_func" >&5
33471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33472 if eval "test \"\${$as_ac_var+set}\" = set"; then
33473 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 else
33475 if test x$gcc_no_link = xyes; then
33476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33478 { (exit 1); exit 1; }; }
33480 cat >conftest.$ac_ext <<_ACEOF
33481 /* confdefs.h. */
33482 _ACEOF
33483 cat confdefs.h >>conftest.$ac_ext
33484 cat >>conftest.$ac_ext <<_ACEOF
33485 /* end confdefs.h. */
33486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33488 #define $ac_func innocuous_$ac_func
33490 /* System header to define __stub macros and hopefully few prototypes,
33491 which can conflict with char $ac_func (); below.
33492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33493 <limits.h> exists even on freestanding compilers. */
33495 #ifdef __STDC__
33496 # include <limits.h>
33497 #else
33498 # include <assert.h>
33499 #endif
33501 #undef $ac_func
33503 /* Override any gcc2 internal prototype to avoid an error. */
33504 #ifdef __cplusplus
33505 extern "C"
33507 #endif
33508 /* We use char because int might match the return type of a gcc2
33509 builtin and then its argument prototype would still apply. */
33510 char $ac_func ();
33511 /* The GNU C library defines this for functions which it implements
33512 to always fail with ENOSYS. Some functions are actually named
33513 something starting with __ and the normal name is an alias. */
33514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33515 choke me
33516 #else
33517 char (*f) () = $ac_func;
33518 #endif
33519 #ifdef __cplusplus
33521 #endif
33524 main ()
33526 return f != $ac_func;
33528 return 0;
33530 _ACEOF
33531 rm -f conftest.$ac_objext conftest$ac_exeext
33532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33533 (eval $ac_link) 2>conftest.er1
33534 ac_status=$?
33535 grep -v '^ *+' conftest.er1 >conftest.err
33536 rm -f conftest.er1
33537 cat conftest.err >&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } &&
33540 { ac_try='test -z "$ac_c_werror_flag"
33541 || test ! -s conftest.err'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33544 ac_status=$?
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; } &&
33547 { ac_try='test -s conftest$ac_exeext'
33548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33549 (eval $ac_try) 2>&5
33550 ac_status=$?
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); }; }; then
33553 eval "$as_ac_var=yes"
33554 else
33555 echo "$as_me: failed program was:" >&5
33556 sed 's/^/| /' conftest.$ac_ext >&5
33558 eval "$as_ac_var=no"
33560 rm -f conftest.err conftest.$ac_objext \
33561 conftest$ac_exeext conftest.$ac_ext
33563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33565 if test `eval echo '${'$as_ac_var'}'` = yes; then
33566 cat >>confdefs.h <<_ACEOF
33567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33568 _ACEOF
33571 done
33581 echo "$as_me:$LINENO: checking for long double trig functions" >&5
33582 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
33583 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
33584 echo $ECHO_N "(cached) $ECHO_C" >&6
33585 else
33589 ac_ext=cc
33590 ac_cpp='$CXXCPP $CPPFLAGS'
33591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33595 cat >conftest.$ac_ext <<_ACEOF
33596 /* confdefs.h. */
33597 _ACEOF
33598 cat confdefs.h >>conftest.$ac_ext
33599 cat >>conftest.$ac_ext <<_ACEOF
33600 /* end confdefs.h. */
33601 #include <math.h>
33603 main ()
33605 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33607 return 0;
33609 _ACEOF
33610 rm -f conftest.$ac_objext
33611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33612 (eval $ac_compile) 2>conftest.er1
33613 ac_status=$?
33614 grep -v '^ *+' conftest.er1 >conftest.err
33615 rm -f conftest.er1
33616 cat conftest.err >&5
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); } &&
33619 { ac_try='test -z "$ac_cxx_werror_flag"
33620 || test ! -s conftest.err'
33621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33622 (eval $ac_try) 2>&5
33623 ac_status=$?
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); }; } &&
33626 { ac_try='test -s conftest.$ac_objext'
33627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33628 (eval $ac_try) 2>&5
33629 ac_status=$?
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); }; }; then
33632 glibcxx_cv_func_long_double_trig_use=yes
33633 else
33634 echo "$as_me: failed program was:" >&5
33635 sed 's/^/| /' conftest.$ac_ext >&5
33637 glibcxx_cv_func_long_double_trig_use=no
33639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33640 ac_ext=c
33641 ac_cpp='$CPP $CPPFLAGS'
33642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
33649 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
33650 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33660 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33663 echo "$as_me:$LINENO: checking for $ac_func" >&5
33664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33665 if eval "test \"\${$as_ac_var+set}\" = set"; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 else
33668 if test x$gcc_no_link = xyes; then
33669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33671 { (exit 1); exit 1; }; }
33673 cat >conftest.$ac_ext <<_ACEOF
33674 /* confdefs.h. */
33675 _ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33681 #define $ac_func innocuous_$ac_func
33683 /* System header to define __stub macros and hopefully few prototypes,
33684 which can conflict with char $ac_func (); below.
33685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33686 <limits.h> exists even on freestanding compilers. */
33688 #ifdef __STDC__
33689 # include <limits.h>
33690 #else
33691 # include <assert.h>
33692 #endif
33694 #undef $ac_func
33696 /* Override any gcc2 internal prototype to avoid an error. */
33697 #ifdef __cplusplus
33698 extern "C"
33700 #endif
33701 /* We use char because int might match the return type of a gcc2
33702 builtin and then its argument prototype would still apply. */
33703 char $ac_func ();
33704 /* The GNU C library defines this for functions which it implements
33705 to always fail with ENOSYS. Some functions are actually named
33706 something starting with __ and the normal name is an alias. */
33707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33708 choke me
33709 #else
33710 char (*f) () = $ac_func;
33711 #endif
33712 #ifdef __cplusplus
33714 #endif
33717 main ()
33719 return f != $ac_func;
33721 return 0;
33723 _ACEOF
33724 rm -f conftest.$ac_objext conftest$ac_exeext
33725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33726 (eval $ac_link) 2>conftest.er1
33727 ac_status=$?
33728 grep -v '^ *+' conftest.er1 >conftest.err
33729 rm -f conftest.er1
33730 cat conftest.err >&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); } &&
33733 { ac_try='test -z "$ac_c_werror_flag"
33734 || test ! -s conftest.err'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33737 ac_status=$?
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; } &&
33740 { ac_try='test -s conftest$ac_exeext'
33741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33742 (eval $ac_try) 2>&5
33743 ac_status=$?
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); }; }; then
33746 eval "$as_ac_var=yes"
33747 else
33748 echo "$as_me: failed program was:" >&5
33749 sed 's/^/| /' conftest.$ac_ext >&5
33751 eval "$as_ac_var=no"
33753 rm -f conftest.err conftest.$ac_objext \
33754 conftest$ac_exeext conftest.$ac_ext
33756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33758 if test `eval echo '${'$as_ac_var'}'` = yes; then
33759 cat >>confdefs.h <<_ACEOF
33760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33761 _ACEOF
33764 done
33766 else
33767 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
33768 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
33769 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
33770 echo $ECHO_N "(cached) $ECHO_C" >&6
33771 else
33775 ac_ext=cc
33776 ac_cpp='$CXXCPP $CPPFLAGS'
33777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33781 cat >conftest.$ac_ext <<_ACEOF
33782 /* confdefs.h. */
33783 _ACEOF
33784 cat confdefs.h >>conftest.$ac_ext
33785 cat >>conftest.$ac_ext <<_ACEOF
33786 /* end confdefs.h. */
33787 #include <math.h>
33789 main ()
33791 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33793 return 0;
33795 _ACEOF
33796 rm -f conftest.$ac_objext
33797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33798 (eval $ac_compile) 2>conftest.er1
33799 ac_status=$?
33800 grep -v '^ *+' conftest.er1 >conftest.err
33801 rm -f conftest.er1
33802 cat conftest.err >&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); } &&
33805 { ac_try='test -z "$ac_cxx_werror_flag"
33806 || test ! -s conftest.err'
33807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33808 (eval $ac_try) 2>&5
33809 ac_status=$?
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); }; } &&
33812 { ac_try='test -s conftest.$ac_objext'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33815 ac_status=$?
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; }; then
33818 glibcxx_cv_func__long_double_trig_use=yes
33819 else
33820 echo "$as_me: failed program was:" >&5
33821 sed 's/^/| /' conftest.$ac_ext >&5
33823 glibcxx_cv_func__long_double_trig_use=no
33825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33826 ac_ext=c
33827 ac_cpp='$CPP $CPPFLAGS'
33828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
33835 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
33836 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33846 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33849 echo "$as_me:$LINENO: checking for $ac_func" >&5
33850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33851 if eval "test \"\${$as_ac_var+set}\" = set"; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33853 else
33854 if test x$gcc_no_link = xyes; then
33855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33857 { (exit 1); exit 1; }; }
33859 cat >conftest.$ac_ext <<_ACEOF
33860 /* confdefs.h. */
33861 _ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33867 #define $ac_func innocuous_$ac_func
33869 /* System header to define __stub macros and hopefully few prototypes,
33870 which can conflict with char $ac_func (); below.
33871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33872 <limits.h> exists even on freestanding compilers. */
33874 #ifdef __STDC__
33875 # include <limits.h>
33876 #else
33877 # include <assert.h>
33878 #endif
33880 #undef $ac_func
33882 /* Override any gcc2 internal prototype to avoid an error. */
33883 #ifdef __cplusplus
33884 extern "C"
33886 #endif
33887 /* We use char because int might match the return type of a gcc2
33888 builtin and then its argument prototype would still apply. */
33889 char $ac_func ();
33890 /* The GNU C library defines this for functions which it implements
33891 to always fail with ENOSYS. Some functions are actually named
33892 something starting with __ and the normal name is an alias. */
33893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33894 choke me
33895 #else
33896 char (*f) () = $ac_func;
33897 #endif
33898 #ifdef __cplusplus
33900 #endif
33903 main ()
33905 return f != $ac_func;
33907 return 0;
33909 _ACEOF
33910 rm -f conftest.$ac_objext conftest$ac_exeext
33911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33912 (eval $ac_link) 2>conftest.er1
33913 ac_status=$?
33914 grep -v '^ *+' conftest.er1 >conftest.err
33915 rm -f conftest.er1
33916 cat conftest.err >&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); } &&
33919 { ac_try='test -z "$ac_c_werror_flag"
33920 || test ! -s conftest.err'
33921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33922 (eval $ac_try) 2>&5
33923 ac_status=$?
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); }; } &&
33926 { ac_try='test -s conftest$ac_exeext'
33927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33928 (eval $ac_try) 2>&5
33929 ac_status=$?
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); }; }; then
33932 eval "$as_ac_var=yes"
33933 else
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33937 eval "$as_ac_var=no"
33939 rm -f conftest.err conftest.$ac_objext \
33940 conftest$ac_exeext conftest.$ac_ext
33942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33944 if test `eval echo '${'$as_ac_var'}'` = yes; then
33945 cat >>confdefs.h <<_ACEOF
33946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33947 _ACEOF
33950 done
33968 echo "$as_me:$LINENO: checking for long double round functions" >&5
33969 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
33970 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
33971 echo $ECHO_N "(cached) $ECHO_C" >&6
33972 else
33976 ac_ext=cc
33977 ac_cpp='$CXXCPP $CPPFLAGS'
33978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33982 cat >conftest.$ac_ext <<_ACEOF
33983 /* confdefs.h. */
33984 _ACEOF
33985 cat confdefs.h >>conftest.$ac_ext
33986 cat >>conftest.$ac_ext <<_ACEOF
33987 /* end confdefs.h. */
33988 #include <math.h>
33990 main ()
33992 ceill (0); floorl (0);
33994 return 0;
33996 _ACEOF
33997 rm -f conftest.$ac_objext
33998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33999 (eval $ac_compile) 2>conftest.er1
34000 ac_status=$?
34001 grep -v '^ *+' conftest.er1 >conftest.err
34002 rm -f conftest.er1
34003 cat conftest.err >&5
34004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005 (exit $ac_status); } &&
34006 { ac_try='test -z "$ac_cxx_werror_flag"
34007 || test ! -s conftest.err'
34008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34009 (eval $ac_try) 2>&5
34010 ac_status=$?
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); }; } &&
34013 { ac_try='test -s conftest.$ac_objext'
34014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34015 (eval $ac_try) 2>&5
34016 ac_status=$?
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; }; then
34019 glibcxx_cv_func_long_double_round_use=yes
34020 else
34021 echo "$as_me: failed program was:" >&5
34022 sed 's/^/| /' conftest.$ac_ext >&5
34024 glibcxx_cv_func_long_double_round_use=no
34026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34027 ac_ext=c
34028 ac_cpp='$CPP $CPPFLAGS'
34029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34035 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
34036 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
34037 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34040 for ac_func in ceill floorl
34042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34043 echo "$as_me:$LINENO: checking for $ac_func" >&5
34044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34045 if eval "test \"\${$as_ac_var+set}\" = set"; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 else
34048 if test x$gcc_no_link = xyes; then
34049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34051 { (exit 1); exit 1; }; }
34053 cat >conftest.$ac_ext <<_ACEOF
34054 /* confdefs.h. */
34055 _ACEOF
34056 cat confdefs.h >>conftest.$ac_ext
34057 cat >>conftest.$ac_ext <<_ACEOF
34058 /* end confdefs.h. */
34059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34061 #define $ac_func innocuous_$ac_func
34063 /* System header to define __stub macros and hopefully few prototypes,
34064 which can conflict with char $ac_func (); below.
34065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34066 <limits.h> exists even on freestanding compilers. */
34068 #ifdef __STDC__
34069 # include <limits.h>
34070 #else
34071 # include <assert.h>
34072 #endif
34074 #undef $ac_func
34076 /* Override any gcc2 internal prototype to avoid an error. */
34077 #ifdef __cplusplus
34078 extern "C"
34080 #endif
34081 /* We use char because int might match the return type of a gcc2
34082 builtin and then its argument prototype would still apply. */
34083 char $ac_func ();
34084 /* The GNU C library defines this for functions which it implements
34085 to always fail with ENOSYS. Some functions are actually named
34086 something starting with __ and the normal name is an alias. */
34087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34088 choke me
34089 #else
34090 char (*f) () = $ac_func;
34091 #endif
34092 #ifdef __cplusplus
34094 #endif
34097 main ()
34099 return f != $ac_func;
34101 return 0;
34103 _ACEOF
34104 rm -f conftest.$ac_objext conftest$ac_exeext
34105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34106 (eval $ac_link) 2>conftest.er1
34107 ac_status=$?
34108 grep -v '^ *+' conftest.er1 >conftest.err
34109 rm -f conftest.er1
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } &&
34113 { ac_try='test -z "$ac_c_werror_flag"
34114 || test ! -s conftest.err'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34117 ac_status=$?
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; } &&
34120 { ac_try='test -s conftest$ac_exeext'
34121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34122 (eval $ac_try) 2>&5
34123 ac_status=$?
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); }; }; then
34126 eval "$as_ac_var=yes"
34127 else
34128 echo "$as_me: failed program was:" >&5
34129 sed 's/^/| /' conftest.$ac_ext >&5
34131 eval "$as_ac_var=no"
34133 rm -f conftest.err conftest.$ac_objext \
34134 conftest$ac_exeext conftest.$ac_ext
34136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34138 if test `eval echo '${'$as_ac_var'}'` = yes; then
34139 cat >>confdefs.h <<_ACEOF
34140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34141 _ACEOF
34144 done
34146 else
34147 echo "$as_me:$LINENO: checking for _long double round functions" >&5
34148 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
34149 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
34150 echo $ECHO_N "(cached) $ECHO_C" >&6
34151 else
34155 ac_ext=cc
34156 ac_cpp='$CXXCPP $CPPFLAGS'
34157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34161 cat >conftest.$ac_ext <<_ACEOF
34162 /* confdefs.h. */
34163 _ACEOF
34164 cat confdefs.h >>conftest.$ac_ext
34165 cat >>conftest.$ac_ext <<_ACEOF
34166 /* end confdefs.h. */
34167 #include <math.h>
34169 main ()
34171 _ceill (0); _floorl (0);
34173 return 0;
34175 _ACEOF
34176 rm -f conftest.$ac_objext
34177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34178 (eval $ac_compile) 2>conftest.er1
34179 ac_status=$?
34180 grep -v '^ *+' conftest.er1 >conftest.err
34181 rm -f conftest.er1
34182 cat conftest.err >&5
34183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34184 (exit $ac_status); } &&
34185 { ac_try='test -z "$ac_cxx_werror_flag"
34186 || test ! -s conftest.err'
34187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34188 (eval $ac_try) 2>&5
34189 ac_status=$?
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); }; } &&
34192 { ac_try='test -s conftest.$ac_objext'
34193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34194 (eval $ac_try) 2>&5
34195 ac_status=$?
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); }; }; then
34198 glibcxx_cv_func__long_double_round_use=yes
34199 else
34200 echo "$as_me: failed program was:" >&5
34201 sed 's/^/| /' conftest.$ac_ext >&5
34203 glibcxx_cv_func__long_double_round_use=no
34205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34206 ac_ext=c
34207 ac_cpp='$CPP $CPPFLAGS'
34208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
34215 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
34216 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34219 for ac_func in _ceill _floorl
34221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34222 echo "$as_me:$LINENO: checking for $ac_func" >&5
34223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34224 if eval "test \"\${$as_ac_var+set}\" = set"; then
34225 echo $ECHO_N "(cached) $ECHO_C" >&6
34226 else
34227 if test x$gcc_no_link = xyes; then
34228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34230 { (exit 1); exit 1; }; }
34232 cat >conftest.$ac_ext <<_ACEOF
34233 /* confdefs.h. */
34234 _ACEOF
34235 cat confdefs.h >>conftest.$ac_ext
34236 cat >>conftest.$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34240 #define $ac_func innocuous_$ac_func
34242 /* System header to define __stub macros and hopefully few prototypes,
34243 which can conflict with char $ac_func (); below.
34244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34245 <limits.h> exists even on freestanding compilers. */
34247 #ifdef __STDC__
34248 # include <limits.h>
34249 #else
34250 # include <assert.h>
34251 #endif
34253 #undef $ac_func
34255 /* Override any gcc2 internal prototype to avoid an error. */
34256 #ifdef __cplusplus
34257 extern "C"
34259 #endif
34260 /* We use char because int might match the return type of a gcc2
34261 builtin and then its argument prototype would still apply. */
34262 char $ac_func ();
34263 /* The GNU C library defines this for functions which it implements
34264 to always fail with ENOSYS. Some functions are actually named
34265 something starting with __ and the normal name is an alias. */
34266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34267 choke me
34268 #else
34269 char (*f) () = $ac_func;
34270 #endif
34271 #ifdef __cplusplus
34273 #endif
34276 main ()
34278 return f != $ac_func;
34280 return 0;
34282 _ACEOF
34283 rm -f conftest.$ac_objext conftest$ac_exeext
34284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34285 (eval $ac_link) 2>conftest.er1
34286 ac_status=$?
34287 grep -v '^ *+' conftest.er1 >conftest.err
34288 rm -f conftest.er1
34289 cat conftest.err >&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } &&
34292 { ac_try='test -z "$ac_c_werror_flag"
34293 || test ! -s conftest.err'
34294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34295 (eval $ac_try) 2>&5
34296 ac_status=$?
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); }; } &&
34299 { ac_try='test -s conftest$ac_exeext'
34300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34301 (eval $ac_try) 2>&5
34302 ac_status=$?
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); }; }; then
34305 eval "$as_ac_var=yes"
34306 else
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34310 eval "$as_ac_var=no"
34312 rm -f conftest.err conftest.$ac_objext \
34313 conftest$ac_exeext conftest.$ac_ext
34315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34317 if test `eval echo '${'$as_ac_var'}'` = yes; then
34318 cat >>confdefs.h <<_ACEOF
34319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34320 _ACEOF
34323 done
34335 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
34336 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
34337 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34338 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
34339 echo $ECHO_N "(cached) $ECHO_C" >&6
34340 else
34344 ac_ext=cc
34345 ac_cpp='$CXXCPP $CPPFLAGS'
34346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34350 cat >conftest.$ac_ext <<_ACEOF
34351 /* confdefs.h. */
34352 _ACEOF
34353 cat confdefs.h >>conftest.$ac_ext
34354 cat >>conftest.$ac_ext <<_ACEOF
34355 /* end confdefs.h. */
34356 #include <math.h>
34357 #ifdef HAVE_IEEEFP_H
34358 #include <ieeefp.h>
34359 #endif
34362 main ()
34364 isnanl(0);
34366 return 0;
34368 _ACEOF
34369 rm -f conftest.$ac_objext
34370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34371 (eval $ac_compile) 2>conftest.er1
34372 ac_status=$?
34373 grep -v '^ *+' conftest.er1 >conftest.err
34374 rm -f conftest.er1
34375 cat conftest.err >&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); } &&
34378 { ac_try='test -z "$ac_cxx_werror_flag"
34379 || test ! -s conftest.err'
34380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34381 (eval $ac_try) 2>&5
34382 ac_status=$?
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); }; } &&
34385 { ac_try='test -s conftest.$ac_objext'
34386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34387 (eval $ac_try) 2>&5
34388 ac_status=$?
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); }; }; then
34391 glibcxx_cv_func_isnanl_use=yes
34392 else
34393 echo "$as_me: failed program was:" >&5
34394 sed 's/^/| /' conftest.$ac_ext >&5
34396 glibcxx_cv_func_isnanl_use=no
34398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34399 ac_ext=c
34400 ac_cpp='$CPP $CPPFLAGS'
34401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
34410 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
34412 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34414 for ac_func in isnanl
34416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34417 echo "$as_me:$LINENO: checking for $ac_func" >&5
34418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34419 if eval "test \"\${$as_ac_var+set}\" = set"; then
34420 echo $ECHO_N "(cached) $ECHO_C" >&6
34421 else
34422 if test x$gcc_no_link = xyes; then
34423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34425 { (exit 1); exit 1; }; }
34427 cat >conftest.$ac_ext <<_ACEOF
34428 /* confdefs.h. */
34429 _ACEOF
34430 cat confdefs.h >>conftest.$ac_ext
34431 cat >>conftest.$ac_ext <<_ACEOF
34432 /* end confdefs.h. */
34433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34435 #define $ac_func innocuous_$ac_func
34437 /* System header to define __stub macros and hopefully few prototypes,
34438 which can conflict with char $ac_func (); below.
34439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34440 <limits.h> exists even on freestanding compilers. */
34442 #ifdef __STDC__
34443 # include <limits.h>
34444 #else
34445 # include <assert.h>
34446 #endif
34448 #undef $ac_func
34450 /* Override any gcc2 internal prototype to avoid an error. */
34451 #ifdef __cplusplus
34452 extern "C"
34454 #endif
34455 /* We use char because int might match the return type of a gcc2
34456 builtin and then its argument prototype would still apply. */
34457 char $ac_func ();
34458 /* The GNU C library defines this for functions which it implements
34459 to always fail with ENOSYS. Some functions are actually named
34460 something starting with __ and the normal name is an alias. */
34461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34462 choke me
34463 #else
34464 char (*f) () = $ac_func;
34465 #endif
34466 #ifdef __cplusplus
34468 #endif
34471 main ()
34473 return f != $ac_func;
34475 return 0;
34477 _ACEOF
34478 rm -f conftest.$ac_objext conftest$ac_exeext
34479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34480 (eval $ac_link) 2>conftest.er1
34481 ac_status=$?
34482 grep -v '^ *+' conftest.er1 >conftest.err
34483 rm -f conftest.er1
34484 cat conftest.err >&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); } &&
34487 { ac_try='test -z "$ac_c_werror_flag"
34488 || test ! -s conftest.err'
34489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34490 (eval $ac_try) 2>&5
34491 ac_status=$?
34492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34493 (exit $ac_status); }; } &&
34494 { ac_try='test -s conftest$ac_exeext'
34495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34496 (eval $ac_try) 2>&5
34497 ac_status=$?
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); }; }; then
34500 eval "$as_ac_var=yes"
34501 else
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.$ac_ext >&5
34505 eval "$as_ac_var=no"
34507 rm -f conftest.err conftest.$ac_objext \
34508 conftest$ac_exeext conftest.$ac_ext
34510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34512 if test `eval echo '${'$as_ac_var'}'` = yes; then
34513 cat >>confdefs.h <<_ACEOF
34514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34515 _ACEOF
34518 done
34520 else
34522 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
34523 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
34524 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34525 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34527 else
34531 ac_ext=cc
34532 ac_cpp='$CXXCPP $CPPFLAGS'
34533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34537 cat >conftest.$ac_ext <<_ACEOF
34538 /* confdefs.h. */
34539 _ACEOF
34540 cat confdefs.h >>conftest.$ac_ext
34541 cat >>conftest.$ac_ext <<_ACEOF
34542 /* end confdefs.h. */
34543 #include <math.h>
34544 #ifdef HAVE_IEEEFP_H
34545 #include <ieeefp.h>
34546 #endif
34549 main ()
34551 _isnanl(0);
34553 return 0;
34555 _ACEOF
34556 rm -f conftest.$ac_objext
34557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34558 (eval $ac_compile) 2>conftest.er1
34559 ac_status=$?
34560 grep -v '^ *+' conftest.er1 >conftest.err
34561 rm -f conftest.er1
34562 cat conftest.err >&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); } &&
34565 { ac_try='test -z "$ac_cxx_werror_flag"
34566 || test ! -s conftest.err'
34567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34568 (eval $ac_try) 2>&5
34569 ac_status=$?
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); }; } &&
34572 { ac_try='test -s conftest.$ac_objext'
34573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34574 (eval $ac_try) 2>&5
34575 ac_status=$?
34576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 (exit $ac_status); }; }; then
34578 glibcxx_cv_func__isnanl_use=yes
34579 else
34580 echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.$ac_ext >&5
34583 glibcxx_cv_func__isnanl_use=no
34585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34586 ac_ext=c
34587 ac_cpp='$CPP $CPPFLAGS'
34588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34596 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
34597 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
34599 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34601 for ac_func in _isnanl
34603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34604 echo "$as_me:$LINENO: checking for $ac_func" >&5
34605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34606 if eval "test \"\${$as_ac_var+set}\" = set"; then
34607 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 else
34609 if test x$gcc_no_link = xyes; then
34610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34612 { (exit 1); exit 1; }; }
34614 cat >conftest.$ac_ext <<_ACEOF
34615 /* confdefs.h. */
34616 _ACEOF
34617 cat confdefs.h >>conftest.$ac_ext
34618 cat >>conftest.$ac_ext <<_ACEOF
34619 /* end confdefs.h. */
34620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34622 #define $ac_func innocuous_$ac_func
34624 /* System header to define __stub macros and hopefully few prototypes,
34625 which can conflict with char $ac_func (); below.
34626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34627 <limits.h> exists even on freestanding compilers. */
34629 #ifdef __STDC__
34630 # include <limits.h>
34631 #else
34632 # include <assert.h>
34633 #endif
34635 #undef $ac_func
34637 /* Override any gcc2 internal prototype to avoid an error. */
34638 #ifdef __cplusplus
34639 extern "C"
34641 #endif
34642 /* We use char because int might match the return type of a gcc2
34643 builtin and then its argument prototype would still apply. */
34644 char $ac_func ();
34645 /* The GNU C library defines this for functions which it implements
34646 to always fail with ENOSYS. Some functions are actually named
34647 something starting with __ and the normal name is an alias. */
34648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34649 choke me
34650 #else
34651 char (*f) () = $ac_func;
34652 #endif
34653 #ifdef __cplusplus
34655 #endif
34658 main ()
34660 return f != $ac_func;
34662 return 0;
34664 _ACEOF
34665 rm -f conftest.$ac_objext conftest$ac_exeext
34666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34667 (eval $ac_link) 2>conftest.er1
34668 ac_status=$?
34669 grep -v '^ *+' conftest.er1 >conftest.err
34670 rm -f conftest.er1
34671 cat conftest.err >&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } &&
34674 { ac_try='test -z "$ac_c_werror_flag"
34675 || test ! -s conftest.err'
34676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34677 (eval $ac_try) 2>&5
34678 ac_status=$?
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); }; } &&
34681 { ac_try='test -s conftest$ac_exeext'
34682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34683 (eval $ac_try) 2>&5
34684 ac_status=$?
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); }; }; then
34687 eval "$as_ac_var=yes"
34688 else
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.$ac_ext >&5
34692 eval "$as_ac_var=no"
34694 rm -f conftest.err conftest.$ac_objext \
34695 conftest$ac_exeext conftest.$ac_ext
34697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34699 if test `eval echo '${'$as_ac_var'}'` = yes; then
34700 cat >>confdefs.h <<_ACEOF
34701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34702 _ACEOF
34705 done
34715 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
34716 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
34717 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34718 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
34719 echo $ECHO_N "(cached) $ECHO_C" >&6
34720 else
34724 ac_ext=cc
34725 ac_cpp='$CXXCPP $CPPFLAGS'
34726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34730 cat >conftest.$ac_ext <<_ACEOF
34731 /* confdefs.h. */
34732 _ACEOF
34733 cat confdefs.h >>conftest.$ac_ext
34734 cat >>conftest.$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34736 #include <math.h>
34737 #ifdef HAVE_IEEEFP_H
34738 #include <ieeefp.h>
34739 #endif
34742 main ()
34744 isinfl(0);
34746 return 0;
34748 _ACEOF
34749 rm -f conftest.$ac_objext
34750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34751 (eval $ac_compile) 2>conftest.er1
34752 ac_status=$?
34753 grep -v '^ *+' conftest.er1 >conftest.err
34754 rm -f conftest.er1
34755 cat conftest.err >&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); } &&
34758 { ac_try='test -z "$ac_cxx_werror_flag"
34759 || test ! -s conftest.err'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34762 ac_status=$?
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; } &&
34765 { ac_try='test -s conftest.$ac_objext'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34768 ac_status=$?
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; }; then
34771 glibcxx_cv_func_isinfl_use=yes
34772 else
34773 echo "$as_me: failed program was:" >&5
34774 sed 's/^/| /' conftest.$ac_ext >&5
34776 glibcxx_cv_func_isinfl_use=no
34778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
34790 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
34792 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
34794 for ac_func in isinfl
34796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34797 echo "$as_me:$LINENO: checking for $ac_func" >&5
34798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34799 if eval "test \"\${$as_ac_var+set}\" = set"; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34801 else
34802 if test x$gcc_no_link = xyes; then
34803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34805 { (exit 1); exit 1; }; }
34807 cat >conftest.$ac_ext <<_ACEOF
34808 /* confdefs.h. */
34809 _ACEOF
34810 cat confdefs.h >>conftest.$ac_ext
34811 cat >>conftest.$ac_ext <<_ACEOF
34812 /* end confdefs.h. */
34813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34815 #define $ac_func innocuous_$ac_func
34817 /* System header to define __stub macros and hopefully few prototypes,
34818 which can conflict with char $ac_func (); below.
34819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34820 <limits.h> exists even on freestanding compilers. */
34822 #ifdef __STDC__
34823 # include <limits.h>
34824 #else
34825 # include <assert.h>
34826 #endif
34828 #undef $ac_func
34830 /* Override any gcc2 internal prototype to avoid an error. */
34831 #ifdef __cplusplus
34832 extern "C"
34834 #endif
34835 /* We use char because int might match the return type of a gcc2
34836 builtin and then its argument prototype would still apply. */
34837 char $ac_func ();
34838 /* The GNU C library defines this for functions which it implements
34839 to always fail with ENOSYS. Some functions are actually named
34840 something starting with __ and the normal name is an alias. */
34841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34842 choke me
34843 #else
34844 char (*f) () = $ac_func;
34845 #endif
34846 #ifdef __cplusplus
34848 #endif
34851 main ()
34853 return f != $ac_func;
34855 return 0;
34857 _ACEOF
34858 rm -f conftest.$ac_objext conftest$ac_exeext
34859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34860 (eval $ac_link) 2>conftest.er1
34861 ac_status=$?
34862 grep -v '^ *+' conftest.er1 >conftest.err
34863 rm -f conftest.er1
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } &&
34867 { ac_try='test -z "$ac_c_werror_flag"
34868 || test ! -s conftest.err'
34869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 (eval $ac_try) 2>&5
34871 ac_status=$?
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; } &&
34874 { ac_try='test -s conftest$ac_exeext'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; }; then
34880 eval "$as_ac_var=yes"
34881 else
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.$ac_ext >&5
34885 eval "$as_ac_var=no"
34887 rm -f conftest.err conftest.$ac_objext \
34888 conftest$ac_exeext conftest.$ac_ext
34890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34892 if test `eval echo '${'$as_ac_var'}'` = yes; then
34893 cat >>confdefs.h <<_ACEOF
34894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34895 _ACEOF
34898 done
34900 else
34902 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
34903 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
34904 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
34905 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
34906 echo $ECHO_N "(cached) $ECHO_C" >&6
34907 else
34911 ac_ext=cc
34912 ac_cpp='$CXXCPP $CPPFLAGS'
34913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34917 cat >conftest.$ac_ext <<_ACEOF
34918 /* confdefs.h. */
34919 _ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923 #include <math.h>
34924 #ifdef HAVE_IEEEFP_H
34925 #include <ieeefp.h>
34926 #endif
34929 main ()
34931 _isinfl(0);
34933 return 0;
34935 _ACEOF
34936 rm -f conftest.$ac_objext
34937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34938 (eval $ac_compile) 2>conftest.er1
34939 ac_status=$?
34940 grep -v '^ *+' conftest.er1 >conftest.err
34941 rm -f conftest.er1
34942 cat conftest.err >&5
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); } &&
34945 { ac_try='test -z "$ac_cxx_werror_flag"
34946 || test ! -s conftest.err'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34949 ac_status=$?
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; } &&
34952 { ac_try='test -s conftest.$ac_objext'
34953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34954 (eval $ac_try) 2>&5
34955 ac_status=$?
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); }; }; then
34958 glibcxx_cv_func__isinfl_use=yes
34959 else
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.$ac_ext >&5
34963 glibcxx_cv_func__isinfl_use=no
34965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34966 ac_ext=c
34967 ac_cpp='$CPP $CPPFLAGS'
34968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
34977 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
34979 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
34981 for ac_func in _isinfl
34983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34984 echo "$as_me:$LINENO: checking for $ac_func" >&5
34985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34986 if eval "test \"\${$as_ac_var+set}\" = set"; then
34987 echo $ECHO_N "(cached) $ECHO_C" >&6
34988 else
34989 if test x$gcc_no_link = xyes; then
34990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34992 { (exit 1); exit 1; }; }
34994 cat >conftest.$ac_ext <<_ACEOF
34995 /* confdefs.h. */
34996 _ACEOF
34997 cat confdefs.h >>conftest.$ac_ext
34998 cat >>conftest.$ac_ext <<_ACEOF
34999 /* end confdefs.h. */
35000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35002 #define $ac_func innocuous_$ac_func
35004 /* System header to define __stub macros and hopefully few prototypes,
35005 which can conflict with char $ac_func (); below.
35006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35007 <limits.h> exists even on freestanding compilers. */
35009 #ifdef __STDC__
35010 # include <limits.h>
35011 #else
35012 # include <assert.h>
35013 #endif
35015 #undef $ac_func
35017 /* Override any gcc2 internal prototype to avoid an error. */
35018 #ifdef __cplusplus
35019 extern "C"
35021 #endif
35022 /* We use char because int might match the return type of a gcc2
35023 builtin and then its argument prototype would still apply. */
35024 char $ac_func ();
35025 /* The GNU C library defines this for functions which it implements
35026 to always fail with ENOSYS. Some functions are actually named
35027 something starting with __ and the normal name is an alias. */
35028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35029 choke me
35030 #else
35031 char (*f) () = $ac_func;
35032 #endif
35033 #ifdef __cplusplus
35035 #endif
35038 main ()
35040 return f != $ac_func;
35042 return 0;
35044 _ACEOF
35045 rm -f conftest.$ac_objext conftest$ac_exeext
35046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35047 (eval $ac_link) 2>conftest.er1
35048 ac_status=$?
35049 grep -v '^ *+' conftest.er1 >conftest.err
35050 rm -f conftest.er1
35051 cat conftest.err >&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); } &&
35054 { ac_try='test -z "$ac_c_werror_flag"
35055 || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35058 ac_status=$?
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try='test -s conftest$ac_exeext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35067 eval "$as_ac_var=yes"
35068 else
35069 echo "$as_me: failed program was:" >&5
35070 sed 's/^/| /' conftest.$ac_ext >&5
35072 eval "$as_ac_var=no"
35074 rm -f conftest.err conftest.$ac_objext \
35075 conftest$ac_exeext conftest.$ac_ext
35077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35079 if test `eval echo '${'$as_ac_var'}'` = yes; then
35080 cat >>confdefs.h <<_ACEOF
35081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35082 _ACEOF
35085 done
35095 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
35096 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
35097 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
35098 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
35099 echo $ECHO_N "(cached) $ECHO_C" >&6
35100 else
35104 ac_ext=cc
35105 ac_cpp='$CXXCPP $CPPFLAGS'
35106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35110 cat >conftest.$ac_ext <<_ACEOF
35111 /* confdefs.h. */
35112 _ACEOF
35113 cat confdefs.h >>conftest.$ac_ext
35114 cat >>conftest.$ac_ext <<_ACEOF
35115 /* end confdefs.h. */
35116 #include <math.h>
35118 main ()
35120 copysignl(0, 0);
35122 return 0;
35124 _ACEOF
35125 rm -f conftest.$ac_objext
35126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35127 (eval $ac_compile) 2>conftest.er1
35128 ac_status=$?
35129 grep -v '^ *+' conftest.er1 >conftest.err
35130 rm -f conftest.er1
35131 cat conftest.err >&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); } &&
35134 { ac_try='test -z "$ac_cxx_werror_flag"
35135 || test ! -s conftest.err'
35136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35137 (eval $ac_try) 2>&5
35138 ac_status=$?
35139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35140 (exit $ac_status); }; } &&
35141 { ac_try='test -s conftest.$ac_objext'
35142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35143 (eval $ac_try) 2>&5
35144 ac_status=$?
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); }; }; then
35147 glibcxx_cv_func_copysignl_use=yes
35148 else
35149 echo "$as_me: failed program was:" >&5
35150 sed 's/^/| /' conftest.$ac_ext >&5
35152 glibcxx_cv_func_copysignl_use=no
35154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35155 ac_ext=c
35156 ac_cpp='$CPP $CPPFLAGS'
35157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
35166 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
35168 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
35170 for ac_func in copysignl
35172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35173 echo "$as_me:$LINENO: checking for $ac_func" >&5
35174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35175 if eval "test \"\${$as_ac_var+set}\" = set"; then
35176 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 else
35178 if test x$gcc_no_link = xyes; then
35179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35181 { (exit 1); exit 1; }; }
35183 cat >conftest.$ac_ext <<_ACEOF
35184 /* confdefs.h. */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35191 #define $ac_func innocuous_$ac_func
35193 /* System header to define __stub macros and hopefully few prototypes,
35194 which can conflict with char $ac_func (); below.
35195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35196 <limits.h> exists even on freestanding compilers. */
35198 #ifdef __STDC__
35199 # include <limits.h>
35200 #else
35201 # include <assert.h>
35202 #endif
35204 #undef $ac_func
35206 /* Override any gcc2 internal prototype to avoid an error. */
35207 #ifdef __cplusplus
35208 extern "C"
35210 #endif
35211 /* We use char because int might match the return type of a gcc2
35212 builtin and then its argument prototype would still apply. */
35213 char $ac_func ();
35214 /* The GNU C library defines this for functions which it implements
35215 to always fail with ENOSYS. Some functions are actually named
35216 something starting with __ and the normal name is an alias. */
35217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35218 choke me
35219 #else
35220 char (*f) () = $ac_func;
35221 #endif
35222 #ifdef __cplusplus
35224 #endif
35227 main ()
35229 return f != $ac_func;
35231 return 0;
35233 _ACEOF
35234 rm -f conftest.$ac_objext conftest$ac_exeext
35235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35236 (eval $ac_link) 2>conftest.er1
35237 ac_status=$?
35238 grep -v '^ *+' conftest.er1 >conftest.err
35239 rm -f conftest.er1
35240 cat conftest.err >&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); } &&
35243 { ac_try='test -z "$ac_c_werror_flag"
35244 || test ! -s conftest.err'
35245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35246 (eval $ac_try) 2>&5
35247 ac_status=$?
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); }; } &&
35250 { ac_try='test -s conftest$ac_exeext'
35251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35252 (eval $ac_try) 2>&5
35253 ac_status=$?
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); }; }; then
35256 eval "$as_ac_var=yes"
35257 else
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.$ac_ext >&5
35261 eval "$as_ac_var=no"
35263 rm -f conftest.err conftest.$ac_objext \
35264 conftest$ac_exeext conftest.$ac_ext
35266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35268 if test `eval echo '${'$as_ac_var'}'` = yes; then
35269 cat >>confdefs.h <<_ACEOF
35270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35271 _ACEOF
35274 done
35276 else
35278 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
35279 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
35280 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
35281 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35287 ac_ext=cc
35288 ac_cpp='$CXXCPP $CPPFLAGS'
35289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35293 cat >conftest.$ac_ext <<_ACEOF
35294 /* confdefs.h. */
35295 _ACEOF
35296 cat confdefs.h >>conftest.$ac_ext
35297 cat >>conftest.$ac_ext <<_ACEOF
35298 /* end confdefs.h. */
35299 #include <math.h>
35301 main ()
35303 _copysignl(0, 0);
35305 return 0;
35307 _ACEOF
35308 rm -f conftest.$ac_objext
35309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35310 (eval $ac_compile) 2>conftest.er1
35311 ac_status=$?
35312 grep -v '^ *+' conftest.er1 >conftest.err
35313 rm -f conftest.er1
35314 cat conftest.err >&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } &&
35317 { ac_try='test -z "$ac_cxx_werror_flag"
35318 || test ! -s conftest.err'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35321 ac_status=$?
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; } &&
35324 { ac_try='test -s conftest.$ac_objext'
35325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35326 (eval $ac_try) 2>&5
35327 ac_status=$?
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); }; }; then
35330 glibcxx_cv_func__copysignl_use=yes
35331 else
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.$ac_ext >&5
35335 glibcxx_cv_func__copysignl_use=no
35337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35338 ac_ext=c
35339 ac_cpp='$CPP $CPPFLAGS'
35340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35348 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
35349 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
35351 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
35353 for ac_func in _copysignl
35355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35356 echo "$as_me:$LINENO: checking for $ac_func" >&5
35357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35358 if eval "test \"\${$as_ac_var+set}\" = set"; then
35359 echo $ECHO_N "(cached) $ECHO_C" >&6
35360 else
35361 if test x$gcc_no_link = xyes; then
35362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35364 { (exit 1); exit 1; }; }
35366 cat >conftest.$ac_ext <<_ACEOF
35367 /* confdefs.h. */
35368 _ACEOF
35369 cat confdefs.h >>conftest.$ac_ext
35370 cat >>conftest.$ac_ext <<_ACEOF
35371 /* end confdefs.h. */
35372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35374 #define $ac_func innocuous_$ac_func
35376 /* System header to define __stub macros and hopefully few prototypes,
35377 which can conflict with char $ac_func (); below.
35378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35379 <limits.h> exists even on freestanding compilers. */
35381 #ifdef __STDC__
35382 # include <limits.h>
35383 #else
35384 # include <assert.h>
35385 #endif
35387 #undef $ac_func
35389 /* Override any gcc2 internal prototype to avoid an error. */
35390 #ifdef __cplusplus
35391 extern "C"
35393 #endif
35394 /* We use char because int might match the return type of a gcc2
35395 builtin and then its argument prototype would still apply. */
35396 char $ac_func ();
35397 /* The GNU C library defines this for functions which it implements
35398 to always fail with ENOSYS. Some functions are actually named
35399 something starting with __ and the normal name is an alias. */
35400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35401 choke me
35402 #else
35403 char (*f) () = $ac_func;
35404 #endif
35405 #ifdef __cplusplus
35407 #endif
35410 main ()
35412 return f != $ac_func;
35414 return 0;
35416 _ACEOF
35417 rm -f conftest.$ac_objext conftest$ac_exeext
35418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35419 (eval $ac_link) 2>conftest.er1
35420 ac_status=$?
35421 grep -v '^ *+' conftest.er1 >conftest.err
35422 rm -f conftest.er1
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } &&
35426 { ac_try='test -z "$ac_c_werror_flag"
35427 || test ! -s conftest.err'
35428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35429 (eval $ac_try) 2>&5
35430 ac_status=$?
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); }; } &&
35433 { ac_try='test -s conftest$ac_exeext'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35436 ac_status=$?
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; }; then
35439 eval "$as_ac_var=yes"
35440 else
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.$ac_ext >&5
35444 eval "$as_ac_var=no"
35446 rm -f conftest.err conftest.$ac_objext \
35447 conftest$ac_exeext conftest.$ac_ext
35449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35451 if test `eval echo '${'$as_ac_var'}'` = yes; then
35452 cat >>confdefs.h <<_ACEOF
35453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35454 _ACEOF
35457 done
35467 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
35468 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
35469 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35470 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
35471 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 else
35476 ac_ext=cc
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35482 cat >conftest.$ac_ext <<_ACEOF
35483 /* confdefs.h. */
35484 _ACEOF
35485 cat confdefs.h >>conftest.$ac_ext
35486 cat >>conftest.$ac_ext <<_ACEOF
35487 /* end confdefs.h. */
35488 #include <math.h>
35490 main ()
35492 atan2l(0, 0);
35494 return 0;
35496 _ACEOF
35497 rm -f conftest.$ac_objext
35498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35499 (eval $ac_compile) 2>conftest.er1
35500 ac_status=$?
35501 grep -v '^ *+' conftest.er1 >conftest.err
35502 rm -f conftest.er1
35503 cat conftest.err >&5
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); } &&
35506 { ac_try='test -z "$ac_cxx_werror_flag"
35507 || test ! -s conftest.err'
35508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35509 (eval $ac_try) 2>&5
35510 ac_status=$?
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); }; } &&
35513 { ac_try='test -s conftest.$ac_objext'
35514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515 (eval $ac_try) 2>&5
35516 ac_status=$?
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); }; }; then
35519 glibcxx_cv_func_atan2l_use=yes
35520 else
35521 echo "$as_me: failed program was:" >&5
35522 sed 's/^/| /' conftest.$ac_ext >&5
35524 glibcxx_cv_func_atan2l_use=no
35526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35527 ac_ext=c
35528 ac_cpp='$CPP $CPPFLAGS'
35529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
35538 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
35540 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35542 for ac_func in atan2l
35544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35545 echo "$as_me:$LINENO: checking for $ac_func" >&5
35546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35547 if eval "test \"\${$as_ac_var+set}\" = set"; then
35548 echo $ECHO_N "(cached) $ECHO_C" >&6
35549 else
35550 if test x$gcc_no_link = xyes; then
35551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35553 { (exit 1); exit 1; }; }
35555 cat >conftest.$ac_ext <<_ACEOF
35556 /* confdefs.h. */
35557 _ACEOF
35558 cat confdefs.h >>conftest.$ac_ext
35559 cat >>conftest.$ac_ext <<_ACEOF
35560 /* end confdefs.h. */
35561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35563 #define $ac_func innocuous_$ac_func
35565 /* System header to define __stub macros and hopefully few prototypes,
35566 which can conflict with char $ac_func (); below.
35567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35568 <limits.h> exists even on freestanding compilers. */
35570 #ifdef __STDC__
35571 # include <limits.h>
35572 #else
35573 # include <assert.h>
35574 #endif
35576 #undef $ac_func
35578 /* Override any gcc2 internal prototype to avoid an error. */
35579 #ifdef __cplusplus
35580 extern "C"
35582 #endif
35583 /* We use char because int might match the return type of a gcc2
35584 builtin and then its argument prototype would still apply. */
35585 char $ac_func ();
35586 /* The GNU C library defines this for functions which it implements
35587 to always fail with ENOSYS. Some functions are actually named
35588 something starting with __ and the normal name is an alias. */
35589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35590 choke me
35591 #else
35592 char (*f) () = $ac_func;
35593 #endif
35594 #ifdef __cplusplus
35596 #endif
35599 main ()
35601 return f != $ac_func;
35603 return 0;
35605 _ACEOF
35606 rm -f conftest.$ac_objext conftest$ac_exeext
35607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35608 (eval $ac_link) 2>conftest.er1
35609 ac_status=$?
35610 grep -v '^ *+' conftest.er1 >conftest.err
35611 rm -f conftest.er1
35612 cat conftest.err >&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); } &&
35615 { ac_try='test -z "$ac_c_werror_flag"
35616 || test ! -s conftest.err'
35617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 (eval $ac_try) 2>&5
35619 ac_status=$?
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); }; } &&
35622 { ac_try='test -s conftest$ac_exeext'
35623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35624 (eval $ac_try) 2>&5
35625 ac_status=$?
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); }; }; then
35628 eval "$as_ac_var=yes"
35629 else
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.$ac_ext >&5
35633 eval "$as_ac_var=no"
35635 rm -f conftest.err conftest.$ac_objext \
35636 conftest$ac_exeext conftest.$ac_ext
35638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35640 if test `eval echo '${'$as_ac_var'}'` = yes; then
35641 cat >>confdefs.h <<_ACEOF
35642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35643 _ACEOF
35646 done
35648 else
35650 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
35651 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
35652 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35653 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
35654 echo $ECHO_N "(cached) $ECHO_C" >&6
35655 else
35659 ac_ext=cc
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35665 cat >conftest.$ac_ext <<_ACEOF
35666 /* confdefs.h. */
35667 _ACEOF
35668 cat confdefs.h >>conftest.$ac_ext
35669 cat >>conftest.$ac_ext <<_ACEOF
35670 /* end confdefs.h. */
35671 #include <math.h>
35673 main ()
35675 _atan2l(0, 0);
35677 return 0;
35679 _ACEOF
35680 rm -f conftest.$ac_objext
35681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35682 (eval $ac_compile) 2>conftest.er1
35683 ac_status=$?
35684 grep -v '^ *+' conftest.er1 >conftest.err
35685 rm -f conftest.er1
35686 cat conftest.err >&5
35687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35688 (exit $ac_status); } &&
35689 { ac_try='test -z "$ac_cxx_werror_flag"
35690 || test ! -s conftest.err'
35691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35692 (eval $ac_try) 2>&5
35693 ac_status=$?
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); }; } &&
35696 { ac_try='test -s conftest.$ac_objext'
35697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35698 (eval $ac_try) 2>&5
35699 ac_status=$?
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); }; }; then
35702 glibcxx_cv_func__atan2l_use=yes
35703 else
35704 echo "$as_me: failed program was:" >&5
35705 sed 's/^/| /' conftest.$ac_ext >&5
35707 glibcxx_cv_func__atan2l_use=no
35709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35710 ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
35721 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
35723 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35725 for ac_func in _atan2l
35727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35728 echo "$as_me:$LINENO: checking for $ac_func" >&5
35729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35730 if eval "test \"\${$as_ac_var+set}\" = set"; then
35731 echo $ECHO_N "(cached) $ECHO_C" >&6
35732 else
35733 if test x$gcc_no_link = xyes; then
35734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35736 { (exit 1); exit 1; }; }
35738 cat >conftest.$ac_ext <<_ACEOF
35739 /* confdefs.h. */
35740 _ACEOF
35741 cat confdefs.h >>conftest.$ac_ext
35742 cat >>conftest.$ac_ext <<_ACEOF
35743 /* end confdefs.h. */
35744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35746 #define $ac_func innocuous_$ac_func
35748 /* System header to define __stub macros and hopefully few prototypes,
35749 which can conflict with char $ac_func (); below.
35750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35751 <limits.h> exists even on freestanding compilers. */
35753 #ifdef __STDC__
35754 # include <limits.h>
35755 #else
35756 # include <assert.h>
35757 #endif
35759 #undef $ac_func
35761 /* Override any gcc2 internal prototype to avoid an error. */
35762 #ifdef __cplusplus
35763 extern "C"
35765 #endif
35766 /* We use char because int might match the return type of a gcc2
35767 builtin and then its argument prototype would still apply. */
35768 char $ac_func ();
35769 /* The GNU C library defines this for functions which it implements
35770 to always fail with ENOSYS. Some functions are actually named
35771 something starting with __ and the normal name is an alias. */
35772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35773 choke me
35774 #else
35775 char (*f) () = $ac_func;
35776 #endif
35777 #ifdef __cplusplus
35779 #endif
35782 main ()
35784 return f != $ac_func;
35786 return 0;
35788 _ACEOF
35789 rm -f conftest.$ac_objext conftest$ac_exeext
35790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35791 (eval $ac_link) 2>conftest.er1
35792 ac_status=$?
35793 grep -v '^ *+' conftest.er1 >conftest.err
35794 rm -f conftest.er1
35795 cat conftest.err >&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); } &&
35798 { ac_try='test -z "$ac_c_werror_flag"
35799 || test ! -s conftest.err'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35802 ac_status=$?
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; } &&
35805 { ac_try='test -s conftest$ac_exeext'
35806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 (eval $ac_try) 2>&5
35808 ac_status=$?
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); }; }; then
35811 eval "$as_ac_var=yes"
35812 else
35813 echo "$as_me: failed program was:" >&5
35814 sed 's/^/| /' conftest.$ac_ext >&5
35816 eval "$as_ac_var=no"
35818 rm -f conftest.err conftest.$ac_objext \
35819 conftest$ac_exeext conftest.$ac_ext
35821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35823 if test `eval echo '${'$as_ac_var'}'` = yes; then
35824 cat >>confdefs.h <<_ACEOF
35825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35826 _ACEOF
35829 done
35839 echo "$as_me:$LINENO: checking for expl declaration" >&5
35840 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
35841 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35842 if test "${glibcxx_cv_func_expl_use+set}" = set; then
35843 echo $ECHO_N "(cached) $ECHO_C" >&6
35844 else
35848 ac_ext=cc
35849 ac_cpp='$CXXCPP $CPPFLAGS'
35850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35854 cat >conftest.$ac_ext <<_ACEOF
35855 /* confdefs.h. */
35856 _ACEOF
35857 cat confdefs.h >>conftest.$ac_ext
35858 cat >>conftest.$ac_ext <<_ACEOF
35859 /* end confdefs.h. */
35860 #include <math.h>
35861 #ifdef HAVE_IEEEFP_H
35862 #include <ieeefp.h>
35863 #endif
35866 main ()
35868 expl(0);
35870 return 0;
35872 _ACEOF
35873 rm -f conftest.$ac_objext
35874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35875 (eval $ac_compile) 2>conftest.er1
35876 ac_status=$?
35877 grep -v '^ *+' conftest.er1 >conftest.err
35878 rm -f conftest.er1
35879 cat conftest.err >&5
35880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881 (exit $ac_status); } &&
35882 { ac_try='test -z "$ac_cxx_werror_flag"
35883 || test ! -s conftest.err'
35884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35885 (eval $ac_try) 2>&5
35886 ac_status=$?
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); }; } &&
35889 { ac_try='test -s conftest.$ac_objext'
35890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35891 (eval $ac_try) 2>&5
35892 ac_status=$?
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); }; }; then
35895 glibcxx_cv_func_expl_use=yes
35896 else
35897 echo "$as_me: failed program was:" >&5
35898 sed 's/^/| /' conftest.$ac_ext >&5
35900 glibcxx_cv_func_expl_use=no
35902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35903 ac_ext=c
35904 ac_cpp='$CPP $CPPFLAGS'
35905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
35914 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
35916 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35918 for ac_func in expl
35920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35921 echo "$as_me:$LINENO: checking for $ac_func" >&5
35922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35923 if eval "test \"\${$as_ac_var+set}\" = set"; then
35924 echo $ECHO_N "(cached) $ECHO_C" >&6
35925 else
35926 if test x$gcc_no_link = xyes; then
35927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35929 { (exit 1); exit 1; }; }
35931 cat >conftest.$ac_ext <<_ACEOF
35932 /* confdefs.h. */
35933 _ACEOF
35934 cat confdefs.h >>conftest.$ac_ext
35935 cat >>conftest.$ac_ext <<_ACEOF
35936 /* end confdefs.h. */
35937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35939 #define $ac_func innocuous_$ac_func
35941 /* System header to define __stub macros and hopefully few prototypes,
35942 which can conflict with char $ac_func (); below.
35943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35944 <limits.h> exists even on freestanding compilers. */
35946 #ifdef __STDC__
35947 # include <limits.h>
35948 #else
35949 # include <assert.h>
35950 #endif
35952 #undef $ac_func
35954 /* Override any gcc2 internal prototype to avoid an error. */
35955 #ifdef __cplusplus
35956 extern "C"
35958 #endif
35959 /* We use char because int might match the return type of a gcc2
35960 builtin and then its argument prototype would still apply. */
35961 char $ac_func ();
35962 /* The GNU C library defines this for functions which it implements
35963 to always fail with ENOSYS. Some functions are actually named
35964 something starting with __ and the normal name is an alias. */
35965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35966 choke me
35967 #else
35968 char (*f) () = $ac_func;
35969 #endif
35970 #ifdef __cplusplus
35972 #endif
35975 main ()
35977 return f != $ac_func;
35979 return 0;
35981 _ACEOF
35982 rm -f conftest.$ac_objext conftest$ac_exeext
35983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35984 (eval $ac_link) 2>conftest.er1
35985 ac_status=$?
35986 grep -v '^ *+' conftest.er1 >conftest.err
35987 rm -f conftest.er1
35988 cat conftest.err >&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); } &&
35991 { ac_try='test -z "$ac_c_werror_flag"
35992 || test ! -s conftest.err'
35993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35994 (eval $ac_try) 2>&5
35995 ac_status=$?
35996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35997 (exit $ac_status); }; } &&
35998 { ac_try='test -s conftest$ac_exeext'
35999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36000 (eval $ac_try) 2>&5
36001 ac_status=$?
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); }; }; then
36004 eval "$as_ac_var=yes"
36005 else
36006 echo "$as_me: failed program was:" >&5
36007 sed 's/^/| /' conftest.$ac_ext >&5
36009 eval "$as_ac_var=no"
36011 rm -f conftest.err conftest.$ac_objext \
36012 conftest$ac_exeext conftest.$ac_ext
36014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36016 if test `eval echo '${'$as_ac_var'}'` = yes; then
36017 cat >>confdefs.h <<_ACEOF
36018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36019 _ACEOF
36022 done
36024 else
36026 echo "$as_me:$LINENO: checking for _expl declaration" >&5
36027 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
36028 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36029 if test "${glibcxx_cv_func__expl_use+set}" = set; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36031 else
36035 ac_ext=cc
36036 ac_cpp='$CXXCPP $CPPFLAGS'
36037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36041 cat >conftest.$ac_ext <<_ACEOF
36042 /* confdefs.h. */
36043 _ACEOF
36044 cat confdefs.h >>conftest.$ac_ext
36045 cat >>conftest.$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36047 #include <math.h>
36048 #ifdef HAVE_IEEEFP_H
36049 #include <ieeefp.h>
36050 #endif
36053 main ()
36055 _expl(0);
36057 return 0;
36059 _ACEOF
36060 rm -f conftest.$ac_objext
36061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36062 (eval $ac_compile) 2>conftest.er1
36063 ac_status=$?
36064 grep -v '^ *+' conftest.er1 >conftest.err
36065 rm -f conftest.er1
36066 cat conftest.err >&5
36067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36068 (exit $ac_status); } &&
36069 { ac_try='test -z "$ac_cxx_werror_flag"
36070 || test ! -s conftest.err'
36071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36072 (eval $ac_try) 2>&5
36073 ac_status=$?
36074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36075 (exit $ac_status); }; } &&
36076 { ac_try='test -s conftest.$ac_objext'
36077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078 (eval $ac_try) 2>&5
36079 ac_status=$?
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); }; }; then
36082 glibcxx_cv_func__expl_use=yes
36083 else
36084 echo "$as_me: failed program was:" >&5
36085 sed 's/^/| /' conftest.$ac_ext >&5
36087 glibcxx_cv_func__expl_use=no
36089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36090 ac_ext=c
36091 ac_cpp='$CPP $CPPFLAGS'
36092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
36101 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
36103 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36105 for ac_func in _expl
36107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36108 echo "$as_me:$LINENO: checking for $ac_func" >&5
36109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36110 if eval "test \"\${$as_ac_var+set}\" = set"; then
36111 echo $ECHO_N "(cached) $ECHO_C" >&6
36112 else
36113 if test x$gcc_no_link = xyes; then
36114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36116 { (exit 1); exit 1; }; }
36118 cat >conftest.$ac_ext <<_ACEOF
36119 /* confdefs.h. */
36120 _ACEOF
36121 cat confdefs.h >>conftest.$ac_ext
36122 cat >>conftest.$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36126 #define $ac_func innocuous_$ac_func
36128 /* System header to define __stub macros and hopefully few prototypes,
36129 which can conflict with char $ac_func (); below.
36130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36131 <limits.h> exists even on freestanding compilers. */
36133 #ifdef __STDC__
36134 # include <limits.h>
36135 #else
36136 # include <assert.h>
36137 #endif
36139 #undef $ac_func
36141 /* Override any gcc2 internal prototype to avoid an error. */
36142 #ifdef __cplusplus
36143 extern "C"
36145 #endif
36146 /* We use char because int might match the return type of a gcc2
36147 builtin and then its argument prototype would still apply. */
36148 char $ac_func ();
36149 /* The GNU C library defines this for functions which it implements
36150 to always fail with ENOSYS. Some functions are actually named
36151 something starting with __ and the normal name is an alias. */
36152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36153 choke me
36154 #else
36155 char (*f) () = $ac_func;
36156 #endif
36157 #ifdef __cplusplus
36159 #endif
36162 main ()
36164 return f != $ac_func;
36166 return 0;
36168 _ACEOF
36169 rm -f conftest.$ac_objext conftest$ac_exeext
36170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36171 (eval $ac_link) 2>conftest.er1
36172 ac_status=$?
36173 grep -v '^ *+' conftest.er1 >conftest.err
36174 rm -f conftest.er1
36175 cat conftest.err >&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); } &&
36178 { ac_try='test -z "$ac_c_werror_flag"
36179 || test ! -s conftest.err'
36180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36181 (eval $ac_try) 2>&5
36182 ac_status=$?
36183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36184 (exit $ac_status); }; } &&
36185 { ac_try='test -s conftest$ac_exeext'
36186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36187 (eval $ac_try) 2>&5
36188 ac_status=$?
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); }; }; then
36191 eval "$as_ac_var=yes"
36192 else
36193 echo "$as_me: failed program was:" >&5
36194 sed 's/^/| /' conftest.$ac_ext >&5
36196 eval "$as_ac_var=no"
36198 rm -f conftest.err conftest.$ac_objext \
36199 conftest$ac_exeext conftest.$ac_ext
36201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36203 if test `eval echo '${'$as_ac_var'}'` = yes; then
36204 cat >>confdefs.h <<_ACEOF
36205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36206 _ACEOF
36209 done
36219 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
36220 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
36221 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36222 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 else
36228 ac_ext=cc
36229 ac_cpp='$CXXCPP $CPPFLAGS'
36230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36234 cat >conftest.$ac_ext <<_ACEOF
36235 /* confdefs.h. */
36236 _ACEOF
36237 cat confdefs.h >>conftest.$ac_ext
36238 cat >>conftest.$ac_ext <<_ACEOF
36239 /* end confdefs.h. */
36240 #include <math.h>
36241 #ifdef HAVE_IEEEFP_H
36242 #include <ieeefp.h>
36243 #endif
36246 main ()
36248 fabsl(0);
36250 return 0;
36252 _ACEOF
36253 rm -f conftest.$ac_objext
36254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36255 (eval $ac_compile) 2>conftest.er1
36256 ac_status=$?
36257 grep -v '^ *+' conftest.er1 >conftest.err
36258 rm -f conftest.er1
36259 cat conftest.err >&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } &&
36262 { ac_try='test -z "$ac_cxx_werror_flag"
36263 || test ! -s conftest.err'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try='test -s conftest.$ac_objext'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36272 ac_status=$?
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; }; then
36275 glibcxx_cv_func_fabsl_use=yes
36276 else
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36280 glibcxx_cv_func_fabsl_use=no
36282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36283 ac_ext=c
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36293 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
36294 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
36296 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36298 for ac_func in fabsl
36300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36301 echo "$as_me:$LINENO: checking for $ac_func" >&5
36302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36303 if eval "test \"\${$as_ac_var+set}\" = set"; then
36304 echo $ECHO_N "(cached) $ECHO_C" >&6
36305 else
36306 if test x$gcc_no_link = xyes; then
36307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36309 { (exit 1); exit 1; }; }
36311 cat >conftest.$ac_ext <<_ACEOF
36312 /* confdefs.h. */
36313 _ACEOF
36314 cat confdefs.h >>conftest.$ac_ext
36315 cat >>conftest.$ac_ext <<_ACEOF
36316 /* end confdefs.h. */
36317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36319 #define $ac_func innocuous_$ac_func
36321 /* System header to define __stub macros and hopefully few prototypes,
36322 which can conflict with char $ac_func (); below.
36323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36324 <limits.h> exists even on freestanding compilers. */
36326 #ifdef __STDC__
36327 # include <limits.h>
36328 #else
36329 # include <assert.h>
36330 #endif
36332 #undef $ac_func
36334 /* Override any gcc2 internal prototype to avoid an error. */
36335 #ifdef __cplusplus
36336 extern "C"
36338 #endif
36339 /* We use char because int might match the return type of a gcc2
36340 builtin and then its argument prototype would still apply. */
36341 char $ac_func ();
36342 /* The GNU C library defines this for functions which it implements
36343 to always fail with ENOSYS. Some functions are actually named
36344 something starting with __ and the normal name is an alias. */
36345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36346 choke me
36347 #else
36348 char (*f) () = $ac_func;
36349 #endif
36350 #ifdef __cplusplus
36352 #endif
36355 main ()
36357 return f != $ac_func;
36359 return 0;
36361 _ACEOF
36362 rm -f conftest.$ac_objext conftest$ac_exeext
36363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36364 (eval $ac_link) 2>conftest.er1
36365 ac_status=$?
36366 grep -v '^ *+' conftest.er1 >conftest.err
36367 rm -f conftest.er1
36368 cat conftest.err >&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } &&
36371 { ac_try='test -z "$ac_c_werror_flag"
36372 || test ! -s conftest.err'
36373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36374 (eval $ac_try) 2>&5
36375 ac_status=$?
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); }; } &&
36378 { ac_try='test -s conftest$ac_exeext'
36379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36380 (eval $ac_try) 2>&5
36381 ac_status=$?
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); }; }; then
36384 eval "$as_ac_var=yes"
36385 else
36386 echo "$as_me: failed program was:" >&5
36387 sed 's/^/| /' conftest.$ac_ext >&5
36389 eval "$as_ac_var=no"
36391 rm -f conftest.err conftest.$ac_objext \
36392 conftest$ac_exeext conftest.$ac_ext
36394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36396 if test `eval echo '${'$as_ac_var'}'` = yes; then
36397 cat >>confdefs.h <<_ACEOF
36398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36399 _ACEOF
36402 done
36404 else
36406 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
36407 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
36408 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36409 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
36410 echo $ECHO_N "(cached) $ECHO_C" >&6
36411 else
36415 ac_ext=cc
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36421 cat >conftest.$ac_ext <<_ACEOF
36422 /* confdefs.h. */
36423 _ACEOF
36424 cat confdefs.h >>conftest.$ac_ext
36425 cat >>conftest.$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36427 #include <math.h>
36428 #ifdef HAVE_IEEEFP_H
36429 #include <ieeefp.h>
36430 #endif
36433 main ()
36435 _fabsl(0);
36437 return 0;
36439 _ACEOF
36440 rm -f conftest.$ac_objext
36441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36442 (eval $ac_compile) 2>conftest.er1
36443 ac_status=$?
36444 grep -v '^ *+' conftest.er1 >conftest.err
36445 rm -f conftest.er1
36446 cat conftest.err >&5
36447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36448 (exit $ac_status); } &&
36449 { ac_try='test -z "$ac_cxx_werror_flag"
36450 || test ! -s conftest.err'
36451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36452 (eval $ac_try) 2>&5
36453 ac_status=$?
36454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36455 (exit $ac_status); }; } &&
36456 { ac_try='test -s conftest.$ac_objext'
36457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 (eval $ac_try) 2>&5
36459 ac_status=$?
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; }; then
36462 glibcxx_cv_func__fabsl_use=yes
36463 else
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.$ac_ext >&5
36467 glibcxx_cv_func__fabsl_use=no
36469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36470 ac_ext=c
36471 ac_cpp='$CPP $CPPFLAGS'
36472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36481 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36483 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36485 for ac_func in _fabsl
36487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36488 echo "$as_me:$LINENO: checking for $ac_func" >&5
36489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36490 if eval "test \"\${$as_ac_var+set}\" = set"; then
36491 echo $ECHO_N "(cached) $ECHO_C" >&6
36492 else
36493 if test x$gcc_no_link = xyes; then
36494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36496 { (exit 1); exit 1; }; }
36498 cat >conftest.$ac_ext <<_ACEOF
36499 /* confdefs.h. */
36500 _ACEOF
36501 cat confdefs.h >>conftest.$ac_ext
36502 cat >>conftest.$ac_ext <<_ACEOF
36503 /* end confdefs.h. */
36504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36506 #define $ac_func innocuous_$ac_func
36508 /* System header to define __stub macros and hopefully few prototypes,
36509 which can conflict with char $ac_func (); below.
36510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36511 <limits.h> exists even on freestanding compilers. */
36513 #ifdef __STDC__
36514 # include <limits.h>
36515 #else
36516 # include <assert.h>
36517 #endif
36519 #undef $ac_func
36521 /* Override any gcc2 internal prototype to avoid an error. */
36522 #ifdef __cplusplus
36523 extern "C"
36525 #endif
36526 /* We use char because int might match the return type of a gcc2
36527 builtin and then its argument prototype would still apply. */
36528 char $ac_func ();
36529 /* The GNU C library defines this for functions which it implements
36530 to always fail with ENOSYS. Some functions are actually named
36531 something starting with __ and the normal name is an alias. */
36532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36533 choke me
36534 #else
36535 char (*f) () = $ac_func;
36536 #endif
36537 #ifdef __cplusplus
36539 #endif
36542 main ()
36544 return f != $ac_func;
36546 return 0;
36548 _ACEOF
36549 rm -f conftest.$ac_objext conftest$ac_exeext
36550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36551 (eval $ac_link) 2>conftest.er1
36552 ac_status=$?
36553 grep -v '^ *+' conftest.er1 >conftest.err
36554 rm -f conftest.er1
36555 cat conftest.err >&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); } &&
36558 { ac_try='test -z "$ac_c_werror_flag"
36559 || test ! -s conftest.err'
36560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36561 (eval $ac_try) 2>&5
36562 ac_status=$?
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); }; } &&
36565 { ac_try='test -s conftest$ac_exeext'
36566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36567 (eval $ac_try) 2>&5
36568 ac_status=$?
36569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36570 (exit $ac_status); }; }; then
36571 eval "$as_ac_var=yes"
36572 else
36573 echo "$as_me: failed program was:" >&5
36574 sed 's/^/| /' conftest.$ac_ext >&5
36576 eval "$as_ac_var=no"
36578 rm -f conftest.err conftest.$ac_objext \
36579 conftest$ac_exeext conftest.$ac_ext
36581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36583 if test `eval echo '${'$as_ac_var'}'` = yes; then
36584 cat >>confdefs.h <<_ACEOF
36585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36589 done
36599 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
36600 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
36601 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36602 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
36603 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 else
36608 ac_ext=cc
36609 ac_cpp='$CXXCPP $CPPFLAGS'
36610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36614 cat >conftest.$ac_ext <<_ACEOF
36615 /* confdefs.h. */
36616 _ACEOF
36617 cat confdefs.h >>conftest.$ac_ext
36618 cat >>conftest.$ac_ext <<_ACEOF
36619 /* end confdefs.h. */
36620 #include <math.h>
36622 main ()
36624 fmodl(0, 0);
36626 return 0;
36628 _ACEOF
36629 rm -f conftest.$ac_objext
36630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36631 (eval $ac_compile) 2>conftest.er1
36632 ac_status=$?
36633 grep -v '^ *+' conftest.er1 >conftest.err
36634 rm -f conftest.er1
36635 cat conftest.err >&5
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); } &&
36638 { ac_try='test -z "$ac_cxx_werror_flag"
36639 || test ! -s conftest.err'
36640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36641 (eval $ac_try) 2>&5
36642 ac_status=$?
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); }; } &&
36645 { ac_try='test -s conftest.$ac_objext'
36646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36647 (eval $ac_try) 2>&5
36648 ac_status=$?
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); }; }; then
36651 glibcxx_cv_func_fmodl_use=yes
36652 else
36653 echo "$as_me: failed program was:" >&5
36654 sed 's/^/| /' conftest.$ac_ext >&5
36656 glibcxx_cv_func_fmodl_use=no
36658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36659 ac_ext=c
36660 ac_cpp='$CPP $CPPFLAGS'
36661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36669 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
36670 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
36672 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36674 for ac_func in fmodl
36676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36677 echo "$as_me:$LINENO: checking for $ac_func" >&5
36678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36679 if eval "test \"\${$as_ac_var+set}\" = set"; then
36680 echo $ECHO_N "(cached) $ECHO_C" >&6
36681 else
36682 if test x$gcc_no_link = xyes; then
36683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36685 { (exit 1); exit 1; }; }
36687 cat >conftest.$ac_ext <<_ACEOF
36688 /* confdefs.h. */
36689 _ACEOF
36690 cat confdefs.h >>conftest.$ac_ext
36691 cat >>conftest.$ac_ext <<_ACEOF
36692 /* end confdefs.h. */
36693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36695 #define $ac_func innocuous_$ac_func
36697 /* System header to define __stub macros and hopefully few prototypes,
36698 which can conflict with char $ac_func (); below.
36699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36700 <limits.h> exists even on freestanding compilers. */
36702 #ifdef __STDC__
36703 # include <limits.h>
36704 #else
36705 # include <assert.h>
36706 #endif
36708 #undef $ac_func
36710 /* Override any gcc2 internal prototype to avoid an error. */
36711 #ifdef __cplusplus
36712 extern "C"
36714 #endif
36715 /* We use char because int might match the return type of a gcc2
36716 builtin and then its argument prototype would still apply. */
36717 char $ac_func ();
36718 /* The GNU C library defines this for functions which it implements
36719 to always fail with ENOSYS. Some functions are actually named
36720 something starting with __ and the normal name is an alias. */
36721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36722 choke me
36723 #else
36724 char (*f) () = $ac_func;
36725 #endif
36726 #ifdef __cplusplus
36728 #endif
36731 main ()
36733 return f != $ac_func;
36735 return 0;
36737 _ACEOF
36738 rm -f conftest.$ac_objext conftest$ac_exeext
36739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36740 (eval $ac_link) 2>conftest.er1
36741 ac_status=$?
36742 grep -v '^ *+' conftest.er1 >conftest.err
36743 rm -f conftest.er1
36744 cat conftest.err >&5
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); } &&
36747 { ac_try='test -z "$ac_c_werror_flag"
36748 || test ! -s conftest.err'
36749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36750 (eval $ac_try) 2>&5
36751 ac_status=$?
36752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36753 (exit $ac_status); }; } &&
36754 { ac_try='test -s conftest$ac_exeext'
36755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36756 (eval $ac_try) 2>&5
36757 ac_status=$?
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); }; }; then
36760 eval "$as_ac_var=yes"
36761 else
36762 echo "$as_me: failed program was:" >&5
36763 sed 's/^/| /' conftest.$ac_ext >&5
36765 eval "$as_ac_var=no"
36767 rm -f conftest.err conftest.$ac_objext \
36768 conftest$ac_exeext conftest.$ac_ext
36770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36772 if test `eval echo '${'$as_ac_var'}'` = yes; then
36773 cat >>confdefs.h <<_ACEOF
36774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36775 _ACEOF
36778 done
36780 else
36782 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
36783 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
36784 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36785 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
36786 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 else
36791 ac_ext=cc
36792 ac_cpp='$CXXCPP $CPPFLAGS'
36793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36797 cat >conftest.$ac_ext <<_ACEOF
36798 /* confdefs.h. */
36799 _ACEOF
36800 cat confdefs.h >>conftest.$ac_ext
36801 cat >>conftest.$ac_ext <<_ACEOF
36802 /* end confdefs.h. */
36803 #include <math.h>
36805 main ()
36807 _fmodl(0, 0);
36809 return 0;
36811 _ACEOF
36812 rm -f conftest.$ac_objext
36813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36814 (eval $ac_compile) 2>conftest.er1
36815 ac_status=$?
36816 grep -v '^ *+' conftest.er1 >conftest.err
36817 rm -f conftest.er1
36818 cat conftest.err >&5
36819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820 (exit $ac_status); } &&
36821 { ac_try='test -z "$ac_cxx_werror_flag"
36822 || test ! -s conftest.err'
36823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824 (eval $ac_try) 2>&5
36825 ac_status=$?
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); }; } &&
36828 { ac_try='test -s conftest.$ac_objext'
36829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36830 (eval $ac_try) 2>&5
36831 ac_status=$?
36832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833 (exit $ac_status); }; }; then
36834 glibcxx_cv_func__fmodl_use=yes
36835 else
36836 echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.$ac_ext >&5
36839 glibcxx_cv_func__fmodl_use=no
36841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36842 ac_ext=c
36843 ac_cpp='$CPP $CPPFLAGS'
36844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
36853 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
36855 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36857 for ac_func in _fmodl
36859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36860 echo "$as_me:$LINENO: checking for $ac_func" >&5
36861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36862 if eval "test \"\${$as_ac_var+set}\" = set"; then
36863 echo $ECHO_N "(cached) $ECHO_C" >&6
36864 else
36865 if test x$gcc_no_link = xyes; then
36866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36868 { (exit 1); exit 1; }; }
36870 cat >conftest.$ac_ext <<_ACEOF
36871 /* confdefs.h. */
36872 _ACEOF
36873 cat confdefs.h >>conftest.$ac_ext
36874 cat >>conftest.$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36878 #define $ac_func innocuous_$ac_func
36880 /* System header to define __stub macros and hopefully few prototypes,
36881 which can conflict with char $ac_func (); below.
36882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36883 <limits.h> exists even on freestanding compilers. */
36885 #ifdef __STDC__
36886 # include <limits.h>
36887 #else
36888 # include <assert.h>
36889 #endif
36891 #undef $ac_func
36893 /* Override any gcc2 internal prototype to avoid an error. */
36894 #ifdef __cplusplus
36895 extern "C"
36897 #endif
36898 /* We use char because int might match the return type of a gcc2
36899 builtin and then its argument prototype would still apply. */
36900 char $ac_func ();
36901 /* The GNU C library defines this for functions which it implements
36902 to always fail with ENOSYS. Some functions are actually named
36903 something starting with __ and the normal name is an alias. */
36904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36905 choke me
36906 #else
36907 char (*f) () = $ac_func;
36908 #endif
36909 #ifdef __cplusplus
36911 #endif
36914 main ()
36916 return f != $ac_func;
36918 return 0;
36920 _ACEOF
36921 rm -f conftest.$ac_objext conftest$ac_exeext
36922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36923 (eval $ac_link) 2>conftest.er1
36924 ac_status=$?
36925 grep -v '^ *+' conftest.er1 >conftest.err
36926 rm -f conftest.er1
36927 cat conftest.err >&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); } &&
36930 { ac_try='test -z "$ac_c_werror_flag"
36931 || test ! -s conftest.err'
36932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36933 (eval $ac_try) 2>&5
36934 ac_status=$?
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); }; } &&
36937 { ac_try='test -s conftest$ac_exeext'
36938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36939 (eval $ac_try) 2>&5
36940 ac_status=$?
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); }; }; then
36943 eval "$as_ac_var=yes"
36944 else
36945 echo "$as_me: failed program was:" >&5
36946 sed 's/^/| /' conftest.$ac_ext >&5
36948 eval "$as_ac_var=no"
36950 rm -f conftest.err conftest.$ac_objext \
36951 conftest$ac_exeext conftest.$ac_ext
36953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36955 if test `eval echo '${'$as_ac_var'}'` = yes; then
36956 cat >>confdefs.h <<_ACEOF
36957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36958 _ACEOF
36961 done
36971 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
36972 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
36973 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36974 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
36975 echo $ECHO_N "(cached) $ECHO_C" >&6
36976 else
36980 ac_ext=cc
36981 ac_cpp='$CXXCPP $CPPFLAGS'
36982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986 cat >conftest.$ac_ext <<_ACEOF
36987 /* confdefs.h. */
36988 _ACEOF
36989 cat confdefs.h >>conftest.$ac_ext
36990 cat >>conftest.$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36992 #include <math.h>
36994 main ()
36996 frexpl(0, 0);
36998 return 0;
37000 _ACEOF
37001 rm -f conftest.$ac_objext
37002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37003 (eval $ac_compile) 2>conftest.er1
37004 ac_status=$?
37005 grep -v '^ *+' conftest.er1 >conftest.err
37006 rm -f conftest.er1
37007 cat conftest.err >&5
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); } &&
37010 { ac_try='test -z "$ac_cxx_werror_flag"
37011 || test ! -s conftest.err'
37012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013 (eval $ac_try) 2>&5
37014 ac_status=$?
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); }; } &&
37017 { ac_try='test -s conftest.$ac_objext'
37018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37019 (eval $ac_try) 2>&5
37020 ac_status=$?
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); }; }; then
37023 glibcxx_cv_func_frexpl_use=yes
37024 else
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.$ac_ext >&5
37028 glibcxx_cv_func_frexpl_use=no
37030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37031 ac_ext=c
37032 ac_cpp='$CPP $CPPFLAGS'
37033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
37042 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
37044 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37046 for ac_func in frexpl
37048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37049 echo "$as_me:$LINENO: checking for $ac_func" >&5
37050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37051 if eval "test \"\${$as_ac_var+set}\" = set"; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 else
37054 if test x$gcc_no_link = xyes; then
37055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37057 { (exit 1); exit 1; }; }
37059 cat >conftest.$ac_ext <<_ACEOF
37060 /* confdefs.h. */
37061 _ACEOF
37062 cat confdefs.h >>conftest.$ac_ext
37063 cat >>conftest.$ac_ext <<_ACEOF
37064 /* end confdefs.h. */
37065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37067 #define $ac_func innocuous_$ac_func
37069 /* System header to define __stub macros and hopefully few prototypes,
37070 which can conflict with char $ac_func (); below.
37071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37072 <limits.h> exists even on freestanding compilers. */
37074 #ifdef __STDC__
37075 # include <limits.h>
37076 #else
37077 # include <assert.h>
37078 #endif
37080 #undef $ac_func
37082 /* Override any gcc2 internal prototype to avoid an error. */
37083 #ifdef __cplusplus
37084 extern "C"
37086 #endif
37087 /* We use char because int might match the return type of a gcc2
37088 builtin and then its argument prototype would still apply. */
37089 char $ac_func ();
37090 /* The GNU C library defines this for functions which it implements
37091 to always fail with ENOSYS. Some functions are actually named
37092 something starting with __ and the normal name is an alias. */
37093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37094 choke me
37095 #else
37096 char (*f) () = $ac_func;
37097 #endif
37098 #ifdef __cplusplus
37100 #endif
37103 main ()
37105 return f != $ac_func;
37107 return 0;
37109 _ACEOF
37110 rm -f conftest.$ac_objext conftest$ac_exeext
37111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37112 (eval $ac_link) 2>conftest.er1
37113 ac_status=$?
37114 grep -v '^ *+' conftest.er1 >conftest.err
37115 rm -f conftest.er1
37116 cat conftest.err >&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); } &&
37119 { ac_try='test -z "$ac_c_werror_flag"
37120 || test ! -s conftest.err'
37121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37122 (eval $ac_try) 2>&5
37123 ac_status=$?
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); }; } &&
37126 { ac_try='test -s conftest$ac_exeext'
37127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37128 (eval $ac_try) 2>&5
37129 ac_status=$?
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); }; }; then
37132 eval "$as_ac_var=yes"
37133 else
37134 echo "$as_me: failed program was:" >&5
37135 sed 's/^/| /' conftest.$ac_ext >&5
37137 eval "$as_ac_var=no"
37139 rm -f conftest.err conftest.$ac_objext \
37140 conftest$ac_exeext conftest.$ac_ext
37142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37144 if test `eval echo '${'$as_ac_var'}'` = yes; then
37145 cat >>confdefs.h <<_ACEOF
37146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37147 _ACEOF
37150 done
37152 else
37154 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
37155 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
37156 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37157 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
37158 echo $ECHO_N "(cached) $ECHO_C" >&6
37159 else
37163 ac_ext=cc
37164 ac_cpp='$CXXCPP $CPPFLAGS'
37165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37169 cat >conftest.$ac_ext <<_ACEOF
37170 /* confdefs.h. */
37171 _ACEOF
37172 cat confdefs.h >>conftest.$ac_ext
37173 cat >>conftest.$ac_ext <<_ACEOF
37174 /* end confdefs.h. */
37175 #include <math.h>
37177 main ()
37179 _frexpl(0, 0);
37181 return 0;
37183 _ACEOF
37184 rm -f conftest.$ac_objext
37185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37186 (eval $ac_compile) 2>conftest.er1
37187 ac_status=$?
37188 grep -v '^ *+' conftest.er1 >conftest.err
37189 rm -f conftest.er1
37190 cat conftest.err >&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); } &&
37193 { ac_try='test -z "$ac_cxx_werror_flag"
37194 || test ! -s conftest.err'
37195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37196 (eval $ac_try) 2>&5
37197 ac_status=$?
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); }; } &&
37200 { ac_try='test -s conftest.$ac_objext'
37201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202 (eval $ac_try) 2>&5
37203 ac_status=$?
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); }; }; then
37206 glibcxx_cv_func__frexpl_use=yes
37207 else
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.$ac_ext >&5
37211 glibcxx_cv_func__frexpl_use=no
37213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37214 ac_ext=c
37215 ac_cpp='$CPP $CPPFLAGS'
37216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37224 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
37225 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
37227 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37229 for ac_func in _frexpl
37231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37232 echo "$as_me:$LINENO: checking for $ac_func" >&5
37233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37234 if eval "test \"\${$as_ac_var+set}\" = set"; then
37235 echo $ECHO_N "(cached) $ECHO_C" >&6
37236 else
37237 if test x$gcc_no_link = xyes; then
37238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37240 { (exit 1); exit 1; }; }
37242 cat >conftest.$ac_ext <<_ACEOF
37243 /* confdefs.h. */
37244 _ACEOF
37245 cat confdefs.h >>conftest.$ac_ext
37246 cat >>conftest.$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37250 #define $ac_func innocuous_$ac_func
37252 /* System header to define __stub macros and hopefully few prototypes,
37253 which can conflict with char $ac_func (); below.
37254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37255 <limits.h> exists even on freestanding compilers. */
37257 #ifdef __STDC__
37258 # include <limits.h>
37259 #else
37260 # include <assert.h>
37261 #endif
37263 #undef $ac_func
37265 /* Override any gcc2 internal prototype to avoid an error. */
37266 #ifdef __cplusplus
37267 extern "C"
37269 #endif
37270 /* We use char because int might match the return type of a gcc2
37271 builtin and then its argument prototype would still apply. */
37272 char $ac_func ();
37273 /* The GNU C library defines this for functions which it implements
37274 to always fail with ENOSYS. Some functions are actually named
37275 something starting with __ and the normal name is an alias. */
37276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37277 choke me
37278 #else
37279 char (*f) () = $ac_func;
37280 #endif
37281 #ifdef __cplusplus
37283 #endif
37286 main ()
37288 return f != $ac_func;
37290 return 0;
37292 _ACEOF
37293 rm -f conftest.$ac_objext conftest$ac_exeext
37294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37295 (eval $ac_link) 2>conftest.er1
37296 ac_status=$?
37297 grep -v '^ *+' conftest.er1 >conftest.err
37298 rm -f conftest.er1
37299 cat conftest.err >&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } &&
37302 { ac_try='test -z "$ac_c_werror_flag"
37303 || test ! -s conftest.err'
37304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37305 (eval $ac_try) 2>&5
37306 ac_status=$?
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); }; } &&
37309 { ac_try='test -s conftest$ac_exeext'
37310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37311 (eval $ac_try) 2>&5
37312 ac_status=$?
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); }; }; then
37315 eval "$as_ac_var=yes"
37316 else
37317 echo "$as_me: failed program was:" >&5
37318 sed 's/^/| /' conftest.$ac_ext >&5
37320 eval "$as_ac_var=no"
37322 rm -f conftest.err conftest.$ac_objext \
37323 conftest$ac_exeext conftest.$ac_ext
37325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37327 if test `eval echo '${'$as_ac_var'}'` = yes; then
37328 cat >>confdefs.h <<_ACEOF
37329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37330 _ACEOF
37333 done
37343 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
37344 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
37345 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37346 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
37347 echo $ECHO_N "(cached) $ECHO_C" >&6
37348 else
37352 ac_ext=cc
37353 ac_cpp='$CXXCPP $CPPFLAGS'
37354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37358 cat >conftest.$ac_ext <<_ACEOF
37359 /* confdefs.h. */
37360 _ACEOF
37361 cat confdefs.h >>conftest.$ac_ext
37362 cat >>conftest.$ac_ext <<_ACEOF
37363 /* end confdefs.h. */
37364 #include <math.h>
37366 main ()
37368 hypotl(0, 0);
37370 return 0;
37372 _ACEOF
37373 rm -f conftest.$ac_objext
37374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37375 (eval $ac_compile) 2>conftest.er1
37376 ac_status=$?
37377 grep -v '^ *+' conftest.er1 >conftest.err
37378 rm -f conftest.er1
37379 cat conftest.err >&5
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); } &&
37382 { ac_try='test -z "$ac_cxx_werror_flag"
37383 || test ! -s conftest.err'
37384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37385 (eval $ac_try) 2>&5
37386 ac_status=$?
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); }; } &&
37389 { ac_try='test -s conftest.$ac_objext'
37390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37391 (eval $ac_try) 2>&5
37392 ac_status=$?
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); }; }; then
37395 glibcxx_cv_func_hypotl_use=yes
37396 else
37397 echo "$as_me: failed program was:" >&5
37398 sed 's/^/| /' conftest.$ac_ext >&5
37400 glibcxx_cv_func_hypotl_use=no
37402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37403 ac_ext=c
37404 ac_cpp='$CPP $CPPFLAGS'
37405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37413 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
37414 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
37416 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37418 for ac_func in hypotl
37420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37421 echo "$as_me:$LINENO: checking for $ac_func" >&5
37422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37423 if eval "test \"\${$as_ac_var+set}\" = set"; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37425 else
37426 if test x$gcc_no_link = xyes; then
37427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37429 { (exit 1); exit 1; }; }
37431 cat >conftest.$ac_ext <<_ACEOF
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37439 #define $ac_func innocuous_$ac_func
37441 /* System header to define __stub macros and hopefully few prototypes,
37442 which can conflict with char $ac_func (); below.
37443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37444 <limits.h> exists even on freestanding compilers. */
37446 #ifdef __STDC__
37447 # include <limits.h>
37448 #else
37449 # include <assert.h>
37450 #endif
37452 #undef $ac_func
37454 /* Override any gcc2 internal prototype to avoid an error. */
37455 #ifdef __cplusplus
37456 extern "C"
37458 #endif
37459 /* We use char because int might match the return type of a gcc2
37460 builtin and then its argument prototype would still apply. */
37461 char $ac_func ();
37462 /* The GNU C library defines this for functions which it implements
37463 to always fail with ENOSYS. Some functions are actually named
37464 something starting with __ and the normal name is an alias. */
37465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37466 choke me
37467 #else
37468 char (*f) () = $ac_func;
37469 #endif
37470 #ifdef __cplusplus
37472 #endif
37475 main ()
37477 return f != $ac_func;
37479 return 0;
37481 _ACEOF
37482 rm -f conftest.$ac_objext conftest$ac_exeext
37483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37484 (eval $ac_link) 2>conftest.er1
37485 ac_status=$?
37486 grep -v '^ *+' conftest.er1 >conftest.err
37487 rm -f conftest.er1
37488 cat conftest.err >&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); } &&
37491 { ac_try='test -z "$ac_c_werror_flag"
37492 || test ! -s conftest.err'
37493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37494 (eval $ac_try) 2>&5
37495 ac_status=$?
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); }; } &&
37498 { ac_try='test -s conftest$ac_exeext'
37499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37500 (eval $ac_try) 2>&5
37501 ac_status=$?
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); }; }; then
37504 eval "$as_ac_var=yes"
37505 else
37506 echo "$as_me: failed program was:" >&5
37507 sed 's/^/| /' conftest.$ac_ext >&5
37509 eval "$as_ac_var=no"
37511 rm -f conftest.err conftest.$ac_objext \
37512 conftest$ac_exeext conftest.$ac_ext
37514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37516 if test `eval echo '${'$as_ac_var'}'` = yes; then
37517 cat >>confdefs.h <<_ACEOF
37518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37519 _ACEOF
37522 done
37524 else
37526 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37527 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37528 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37529 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37530 echo $ECHO_N "(cached) $ECHO_C" >&6
37531 else
37535 ac_ext=cc
37536 ac_cpp='$CXXCPP $CPPFLAGS'
37537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37541 cat >conftest.$ac_ext <<_ACEOF
37542 /* confdefs.h. */
37543 _ACEOF
37544 cat confdefs.h >>conftest.$ac_ext
37545 cat >>conftest.$ac_ext <<_ACEOF
37546 /* end confdefs.h. */
37547 #include <math.h>
37549 main ()
37551 _hypotl(0, 0);
37553 return 0;
37555 _ACEOF
37556 rm -f conftest.$ac_objext
37557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37558 (eval $ac_compile) 2>conftest.er1
37559 ac_status=$?
37560 grep -v '^ *+' conftest.er1 >conftest.err
37561 rm -f conftest.er1
37562 cat conftest.err >&5
37563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37564 (exit $ac_status); } &&
37565 { ac_try='test -z "$ac_cxx_werror_flag"
37566 || test ! -s conftest.err'
37567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37568 (eval $ac_try) 2>&5
37569 ac_status=$?
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); }; } &&
37572 { ac_try='test -s conftest.$ac_objext'
37573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37574 (eval $ac_try) 2>&5
37575 ac_status=$?
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); }; }; then
37578 glibcxx_cv_func__hypotl_use=yes
37579 else
37580 echo "$as_me: failed program was:" >&5
37581 sed 's/^/| /' conftest.$ac_ext >&5
37583 glibcxx_cv_func__hypotl_use=no
37585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37586 ac_ext=c
37587 ac_cpp='$CPP $CPPFLAGS'
37588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37596 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37597 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37599 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37601 for ac_func in _hypotl
37603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37604 echo "$as_me:$LINENO: checking for $ac_func" >&5
37605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37606 if eval "test \"\${$as_ac_var+set}\" = set"; then
37607 echo $ECHO_N "(cached) $ECHO_C" >&6
37608 else
37609 if test x$gcc_no_link = xyes; then
37610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37612 { (exit 1); exit 1; }; }
37614 cat >conftest.$ac_ext <<_ACEOF
37615 /* confdefs.h. */
37616 _ACEOF
37617 cat confdefs.h >>conftest.$ac_ext
37618 cat >>conftest.$ac_ext <<_ACEOF
37619 /* end confdefs.h. */
37620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37622 #define $ac_func innocuous_$ac_func
37624 /* System header to define __stub macros and hopefully few prototypes,
37625 which can conflict with char $ac_func (); below.
37626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37627 <limits.h> exists even on freestanding compilers. */
37629 #ifdef __STDC__
37630 # include <limits.h>
37631 #else
37632 # include <assert.h>
37633 #endif
37635 #undef $ac_func
37637 /* Override any gcc2 internal prototype to avoid an error. */
37638 #ifdef __cplusplus
37639 extern "C"
37641 #endif
37642 /* We use char because int might match the return type of a gcc2
37643 builtin and then its argument prototype would still apply. */
37644 char $ac_func ();
37645 /* The GNU C library defines this for functions which it implements
37646 to always fail with ENOSYS. Some functions are actually named
37647 something starting with __ and the normal name is an alias. */
37648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37649 choke me
37650 #else
37651 char (*f) () = $ac_func;
37652 #endif
37653 #ifdef __cplusplus
37655 #endif
37658 main ()
37660 return f != $ac_func;
37662 return 0;
37664 _ACEOF
37665 rm -f conftest.$ac_objext conftest$ac_exeext
37666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37667 (eval $ac_link) 2>conftest.er1
37668 ac_status=$?
37669 grep -v '^ *+' conftest.er1 >conftest.err
37670 rm -f conftest.er1
37671 cat conftest.err >&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); } &&
37674 { ac_try='test -z "$ac_c_werror_flag"
37675 || test ! -s conftest.err'
37676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37677 (eval $ac_try) 2>&5
37678 ac_status=$?
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); }; } &&
37681 { ac_try='test -s conftest$ac_exeext'
37682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37683 (eval $ac_try) 2>&5
37684 ac_status=$?
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); }; }; then
37687 eval "$as_ac_var=yes"
37688 else
37689 echo "$as_me: failed program was:" >&5
37690 sed 's/^/| /' conftest.$ac_ext >&5
37692 eval "$as_ac_var=no"
37694 rm -f conftest.err conftest.$ac_objext \
37695 conftest$ac_exeext conftest.$ac_ext
37697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37699 if test `eval echo '${'$as_ac_var'}'` = yes; then
37700 cat >>confdefs.h <<_ACEOF
37701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37702 _ACEOF
37705 done
37715 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37716 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37717 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37718 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37719 echo $ECHO_N "(cached) $ECHO_C" >&6
37720 else
37724 ac_ext=cc
37725 ac_cpp='$CXXCPP $CPPFLAGS'
37726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37730 cat >conftest.$ac_ext <<_ACEOF
37731 /* confdefs.h. */
37732 _ACEOF
37733 cat confdefs.h >>conftest.$ac_ext
37734 cat >>conftest.$ac_ext <<_ACEOF
37735 /* end confdefs.h. */
37736 #include <math.h>
37738 main ()
37740 ldexpl(0, 0);
37742 return 0;
37744 _ACEOF
37745 rm -f conftest.$ac_objext
37746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37747 (eval $ac_compile) 2>conftest.er1
37748 ac_status=$?
37749 grep -v '^ *+' conftest.er1 >conftest.err
37750 rm -f conftest.er1
37751 cat conftest.err >&5
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); } &&
37754 { ac_try='test -z "$ac_cxx_werror_flag"
37755 || test ! -s conftest.err'
37756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37757 (eval $ac_try) 2>&5
37758 ac_status=$?
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); }; } &&
37761 { ac_try='test -s conftest.$ac_objext'
37762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37763 (eval $ac_try) 2>&5
37764 ac_status=$?
37765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37766 (exit $ac_status); }; }; then
37767 glibcxx_cv_func_ldexpl_use=yes
37768 else
37769 echo "$as_me: failed program was:" >&5
37770 sed 's/^/| /' conftest.$ac_ext >&5
37772 glibcxx_cv_func_ldexpl_use=no
37774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37775 ac_ext=c
37776 ac_cpp='$CPP $CPPFLAGS'
37777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37785 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
37786 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
37788 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37790 for ac_func in ldexpl
37792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37793 echo "$as_me:$LINENO: checking for $ac_func" >&5
37794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37795 if eval "test \"\${$as_ac_var+set}\" = set"; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37797 else
37798 if test x$gcc_no_link = xyes; then
37799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37801 { (exit 1); exit 1; }; }
37803 cat >conftest.$ac_ext <<_ACEOF
37804 /* confdefs.h. */
37805 _ACEOF
37806 cat confdefs.h >>conftest.$ac_ext
37807 cat >>conftest.$ac_ext <<_ACEOF
37808 /* end confdefs.h. */
37809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37811 #define $ac_func innocuous_$ac_func
37813 /* System header to define __stub macros and hopefully few prototypes,
37814 which can conflict with char $ac_func (); below.
37815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37816 <limits.h> exists even on freestanding compilers. */
37818 #ifdef __STDC__
37819 # include <limits.h>
37820 #else
37821 # include <assert.h>
37822 #endif
37824 #undef $ac_func
37826 /* Override any gcc2 internal prototype to avoid an error. */
37827 #ifdef __cplusplus
37828 extern "C"
37830 #endif
37831 /* We use char because int might match the return type of a gcc2
37832 builtin and then its argument prototype would still apply. */
37833 char $ac_func ();
37834 /* The GNU C library defines this for functions which it implements
37835 to always fail with ENOSYS. Some functions are actually named
37836 something starting with __ and the normal name is an alias. */
37837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37838 choke me
37839 #else
37840 char (*f) () = $ac_func;
37841 #endif
37842 #ifdef __cplusplus
37844 #endif
37847 main ()
37849 return f != $ac_func;
37851 return 0;
37853 _ACEOF
37854 rm -f conftest.$ac_objext conftest$ac_exeext
37855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37856 (eval $ac_link) 2>conftest.er1
37857 ac_status=$?
37858 grep -v '^ *+' conftest.er1 >conftest.err
37859 rm -f conftest.er1
37860 cat conftest.err >&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } &&
37863 { ac_try='test -z "$ac_c_werror_flag"
37864 || test ! -s conftest.err'
37865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37866 (eval $ac_try) 2>&5
37867 ac_status=$?
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); }; } &&
37870 { ac_try='test -s conftest$ac_exeext'
37871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37872 (eval $ac_try) 2>&5
37873 ac_status=$?
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); }; }; then
37876 eval "$as_ac_var=yes"
37877 else
37878 echo "$as_me: failed program was:" >&5
37879 sed 's/^/| /' conftest.$ac_ext >&5
37881 eval "$as_ac_var=no"
37883 rm -f conftest.err conftest.$ac_objext \
37884 conftest$ac_exeext conftest.$ac_ext
37886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37888 if test `eval echo '${'$as_ac_var'}'` = yes; then
37889 cat >>confdefs.h <<_ACEOF
37890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37891 _ACEOF
37894 done
37896 else
37898 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
37899 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
37900 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37901 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 else
37907 ac_ext=cc
37908 ac_cpp='$CXXCPP $CPPFLAGS'
37909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37913 cat >conftest.$ac_ext <<_ACEOF
37914 /* confdefs.h. */
37915 _ACEOF
37916 cat confdefs.h >>conftest.$ac_ext
37917 cat >>conftest.$ac_ext <<_ACEOF
37918 /* end confdefs.h. */
37919 #include <math.h>
37921 main ()
37923 _ldexpl(0, 0);
37925 return 0;
37927 _ACEOF
37928 rm -f conftest.$ac_objext
37929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37930 (eval $ac_compile) 2>conftest.er1
37931 ac_status=$?
37932 grep -v '^ *+' conftest.er1 >conftest.err
37933 rm -f conftest.er1
37934 cat conftest.err >&5
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); } &&
37937 { ac_try='test -z "$ac_cxx_werror_flag"
37938 || test ! -s conftest.err'
37939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37940 (eval $ac_try) 2>&5
37941 ac_status=$?
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); }; } &&
37944 { ac_try='test -s conftest.$ac_objext'
37945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37946 (eval $ac_try) 2>&5
37947 ac_status=$?
37948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37949 (exit $ac_status); }; }; then
37950 glibcxx_cv_func__ldexpl_use=yes
37951 else
37952 echo "$as_me: failed program was:" >&5
37953 sed 's/^/| /' conftest.$ac_ext >&5
37955 glibcxx_cv_func__ldexpl_use=no
37957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37958 ac_ext=c
37959 ac_cpp='$CPP $CPPFLAGS'
37960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
37969 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
37971 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37973 for ac_func in _ldexpl
37975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37976 echo "$as_me:$LINENO: checking for $ac_func" >&5
37977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37978 if eval "test \"\${$as_ac_var+set}\" = set"; then
37979 echo $ECHO_N "(cached) $ECHO_C" >&6
37980 else
37981 if test x$gcc_no_link = xyes; then
37982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37984 { (exit 1); exit 1; }; }
37986 cat >conftest.$ac_ext <<_ACEOF
37987 /* confdefs.h. */
37988 _ACEOF
37989 cat confdefs.h >>conftest.$ac_ext
37990 cat >>conftest.$ac_ext <<_ACEOF
37991 /* end confdefs.h. */
37992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37994 #define $ac_func innocuous_$ac_func
37996 /* System header to define __stub macros and hopefully few prototypes,
37997 which can conflict with char $ac_func (); below.
37998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37999 <limits.h> exists even on freestanding compilers. */
38001 #ifdef __STDC__
38002 # include <limits.h>
38003 #else
38004 # include <assert.h>
38005 #endif
38007 #undef $ac_func
38009 /* Override any gcc2 internal prototype to avoid an error. */
38010 #ifdef __cplusplus
38011 extern "C"
38013 #endif
38014 /* We use char because int might match the return type of a gcc2
38015 builtin and then its argument prototype would still apply. */
38016 char $ac_func ();
38017 /* The GNU C library defines this for functions which it implements
38018 to always fail with ENOSYS. Some functions are actually named
38019 something starting with __ and the normal name is an alias. */
38020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38021 choke me
38022 #else
38023 char (*f) () = $ac_func;
38024 #endif
38025 #ifdef __cplusplus
38027 #endif
38030 main ()
38032 return f != $ac_func;
38034 return 0;
38036 _ACEOF
38037 rm -f conftest.$ac_objext conftest$ac_exeext
38038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38039 (eval $ac_link) 2>conftest.er1
38040 ac_status=$?
38041 grep -v '^ *+' conftest.er1 >conftest.err
38042 rm -f conftest.er1
38043 cat conftest.err >&5
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); } &&
38046 { ac_try='test -z "$ac_c_werror_flag"
38047 || test ! -s conftest.err'
38048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38049 (eval $ac_try) 2>&5
38050 ac_status=$?
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); }; } &&
38053 { ac_try='test -s conftest$ac_exeext'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38056 ac_status=$?
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; }; then
38059 eval "$as_ac_var=yes"
38060 else
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
38064 eval "$as_ac_var=no"
38066 rm -f conftest.err conftest.$ac_objext \
38067 conftest$ac_exeext conftest.$ac_ext
38069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38071 if test `eval echo '${'$as_ac_var'}'` = yes; then
38072 cat >>confdefs.h <<_ACEOF
38073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38074 _ACEOF
38077 done
38087 echo "$as_me:$LINENO: checking for logl declaration" >&5
38088 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
38089 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38090 if test "${glibcxx_cv_func_logl_use+set}" = set; then
38091 echo $ECHO_N "(cached) $ECHO_C" >&6
38092 else
38096 ac_ext=cc
38097 ac_cpp='$CXXCPP $CPPFLAGS'
38098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38102 cat >conftest.$ac_ext <<_ACEOF
38103 /* confdefs.h. */
38104 _ACEOF
38105 cat confdefs.h >>conftest.$ac_ext
38106 cat >>conftest.$ac_ext <<_ACEOF
38107 /* end confdefs.h. */
38108 #include <math.h>
38109 #ifdef HAVE_IEEEFP_H
38110 #include <ieeefp.h>
38111 #endif
38114 main ()
38116 logl(0);
38118 return 0;
38120 _ACEOF
38121 rm -f conftest.$ac_objext
38122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38123 (eval $ac_compile) 2>conftest.er1
38124 ac_status=$?
38125 grep -v '^ *+' conftest.er1 >conftest.err
38126 rm -f conftest.er1
38127 cat conftest.err >&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); } &&
38130 { ac_try='test -z "$ac_cxx_werror_flag"
38131 || test ! -s conftest.err'
38132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38133 (eval $ac_try) 2>&5
38134 ac_status=$?
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); }; } &&
38137 { ac_try='test -s conftest.$ac_objext'
38138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38139 (eval $ac_try) 2>&5
38140 ac_status=$?
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); }; }; then
38143 glibcxx_cv_func_logl_use=yes
38144 else
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.$ac_ext >&5
38148 glibcxx_cv_func_logl_use=no
38150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38151 ac_ext=c
38152 ac_cpp='$CPP $CPPFLAGS'
38153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
38162 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
38164 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38166 for ac_func in logl
38168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38169 echo "$as_me:$LINENO: checking for $ac_func" >&5
38170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38171 if eval "test \"\${$as_ac_var+set}\" = set"; then
38172 echo $ECHO_N "(cached) $ECHO_C" >&6
38173 else
38174 if test x$gcc_no_link = xyes; then
38175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38177 { (exit 1); exit 1; }; }
38179 cat >conftest.$ac_ext <<_ACEOF
38180 /* confdefs.h. */
38181 _ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38187 #define $ac_func innocuous_$ac_func
38189 /* System header to define __stub macros and hopefully few prototypes,
38190 which can conflict with char $ac_func (); below.
38191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38192 <limits.h> exists even on freestanding compilers. */
38194 #ifdef __STDC__
38195 # include <limits.h>
38196 #else
38197 # include <assert.h>
38198 #endif
38200 #undef $ac_func
38202 /* Override any gcc2 internal prototype to avoid an error. */
38203 #ifdef __cplusplus
38204 extern "C"
38206 #endif
38207 /* We use char because int might match the return type of a gcc2
38208 builtin and then its argument prototype would still apply. */
38209 char $ac_func ();
38210 /* The GNU C library defines this for functions which it implements
38211 to always fail with ENOSYS. Some functions are actually named
38212 something starting with __ and the normal name is an alias. */
38213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38214 choke me
38215 #else
38216 char (*f) () = $ac_func;
38217 #endif
38218 #ifdef __cplusplus
38220 #endif
38223 main ()
38225 return f != $ac_func;
38227 return 0;
38229 _ACEOF
38230 rm -f conftest.$ac_objext conftest$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232 (eval $ac_link) 2>conftest.er1
38233 ac_status=$?
38234 grep -v '^ *+' conftest.er1 >conftest.err
38235 rm -f conftest.er1
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try='test -z "$ac_c_werror_flag"
38240 || test ! -s conftest.err'
38241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38242 (eval $ac_try) 2>&5
38243 ac_status=$?
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); }; } &&
38246 { ac_try='test -s conftest$ac_exeext'
38247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248 (eval $ac_try) 2>&5
38249 ac_status=$?
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); }; }; then
38252 eval "$as_ac_var=yes"
38253 else
38254 echo "$as_me: failed program was:" >&5
38255 sed 's/^/| /' conftest.$ac_ext >&5
38257 eval "$as_ac_var=no"
38259 rm -f conftest.err conftest.$ac_objext \
38260 conftest$ac_exeext conftest.$ac_ext
38262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38264 if test `eval echo '${'$as_ac_var'}'` = yes; then
38265 cat >>confdefs.h <<_ACEOF
38266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38267 _ACEOF
38270 done
38272 else
38274 echo "$as_me:$LINENO: checking for _logl declaration" >&5
38275 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
38276 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38277 if test "${glibcxx_cv_func__logl_use+set}" = set; then
38278 echo $ECHO_N "(cached) $ECHO_C" >&6
38279 else
38283 ac_ext=cc
38284 ac_cpp='$CXXCPP $CPPFLAGS'
38285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38289 cat >conftest.$ac_ext <<_ACEOF
38290 /* confdefs.h. */
38291 _ACEOF
38292 cat confdefs.h >>conftest.$ac_ext
38293 cat >>conftest.$ac_ext <<_ACEOF
38294 /* end confdefs.h. */
38295 #include <math.h>
38296 #ifdef HAVE_IEEEFP_H
38297 #include <ieeefp.h>
38298 #endif
38301 main ()
38303 _logl(0);
38305 return 0;
38307 _ACEOF
38308 rm -f conftest.$ac_objext
38309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38310 (eval $ac_compile) 2>conftest.er1
38311 ac_status=$?
38312 grep -v '^ *+' conftest.er1 >conftest.err
38313 rm -f conftest.er1
38314 cat conftest.err >&5
38315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38316 (exit $ac_status); } &&
38317 { ac_try='test -z "$ac_cxx_werror_flag"
38318 || test ! -s conftest.err'
38319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38320 (eval $ac_try) 2>&5
38321 ac_status=$?
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); }; } &&
38324 { ac_try='test -s conftest.$ac_objext'
38325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38326 (eval $ac_try) 2>&5
38327 ac_status=$?
38328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38329 (exit $ac_status); }; }; then
38330 glibcxx_cv_func__logl_use=yes
38331 else
38332 echo "$as_me: failed program was:" >&5
38333 sed 's/^/| /' conftest.$ac_ext >&5
38335 glibcxx_cv_func__logl_use=no
38337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38338 ac_ext=c
38339 ac_cpp='$CPP $CPPFLAGS'
38340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38348 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
38349 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
38351 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38353 for ac_func in _logl
38355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38356 echo "$as_me:$LINENO: checking for $ac_func" >&5
38357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38358 if eval "test \"\${$as_ac_var+set}\" = set"; then
38359 echo $ECHO_N "(cached) $ECHO_C" >&6
38360 else
38361 if test x$gcc_no_link = xyes; then
38362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38364 { (exit 1); exit 1; }; }
38366 cat >conftest.$ac_ext <<_ACEOF
38367 /* confdefs.h. */
38368 _ACEOF
38369 cat confdefs.h >>conftest.$ac_ext
38370 cat >>conftest.$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38374 #define $ac_func innocuous_$ac_func
38376 /* System header to define __stub macros and hopefully few prototypes,
38377 which can conflict with char $ac_func (); below.
38378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38379 <limits.h> exists even on freestanding compilers. */
38381 #ifdef __STDC__
38382 # include <limits.h>
38383 #else
38384 # include <assert.h>
38385 #endif
38387 #undef $ac_func
38389 /* Override any gcc2 internal prototype to avoid an error. */
38390 #ifdef __cplusplus
38391 extern "C"
38393 #endif
38394 /* We use char because int might match the return type of a gcc2
38395 builtin and then its argument prototype would still apply. */
38396 char $ac_func ();
38397 /* The GNU C library defines this for functions which it implements
38398 to always fail with ENOSYS. Some functions are actually named
38399 something starting with __ and the normal name is an alias. */
38400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38401 choke me
38402 #else
38403 char (*f) () = $ac_func;
38404 #endif
38405 #ifdef __cplusplus
38407 #endif
38410 main ()
38412 return f != $ac_func;
38414 return 0;
38416 _ACEOF
38417 rm -f conftest.$ac_objext conftest$ac_exeext
38418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38419 (eval $ac_link) 2>conftest.er1
38420 ac_status=$?
38421 grep -v '^ *+' conftest.er1 >conftest.err
38422 rm -f conftest.er1
38423 cat conftest.err >&5
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); } &&
38426 { ac_try='test -z "$ac_c_werror_flag"
38427 || test ! -s conftest.err'
38428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38429 (eval $ac_try) 2>&5
38430 ac_status=$?
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); }; } &&
38433 { ac_try='test -s conftest$ac_exeext'
38434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38435 (eval $ac_try) 2>&5
38436 ac_status=$?
38437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38438 (exit $ac_status); }; }; then
38439 eval "$as_ac_var=yes"
38440 else
38441 echo "$as_me: failed program was:" >&5
38442 sed 's/^/| /' conftest.$ac_ext >&5
38444 eval "$as_ac_var=no"
38446 rm -f conftest.err conftest.$ac_objext \
38447 conftest$ac_exeext conftest.$ac_ext
38449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38451 if test `eval echo '${'$as_ac_var'}'` = yes; then
38452 cat >>confdefs.h <<_ACEOF
38453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38454 _ACEOF
38457 done
38467 echo "$as_me:$LINENO: checking for log10l declaration" >&5
38468 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38469 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38470 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38471 echo $ECHO_N "(cached) $ECHO_C" >&6
38472 else
38476 ac_ext=cc
38477 ac_cpp='$CXXCPP $CPPFLAGS'
38478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38482 cat >conftest.$ac_ext <<_ACEOF
38483 /* confdefs.h. */
38484 _ACEOF
38485 cat confdefs.h >>conftest.$ac_ext
38486 cat >>conftest.$ac_ext <<_ACEOF
38487 /* end confdefs.h. */
38488 #include <math.h>
38489 #ifdef HAVE_IEEEFP_H
38490 #include <ieeefp.h>
38491 #endif
38494 main ()
38496 log10l(0);
38498 return 0;
38500 _ACEOF
38501 rm -f conftest.$ac_objext
38502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38503 (eval $ac_compile) 2>conftest.er1
38504 ac_status=$?
38505 grep -v '^ *+' conftest.er1 >conftest.err
38506 rm -f conftest.er1
38507 cat conftest.err >&5
38508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38509 (exit $ac_status); } &&
38510 { ac_try='test -z "$ac_cxx_werror_flag"
38511 || test ! -s conftest.err'
38512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513 (eval $ac_try) 2>&5
38514 ac_status=$?
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; } &&
38517 { ac_try='test -s conftest.$ac_objext'
38518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38519 (eval $ac_try) 2>&5
38520 ac_status=$?
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); }; }; then
38523 glibcxx_cv_func_log10l_use=yes
38524 else
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38528 glibcxx_cv_func_log10l_use=no
38530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38531 ac_ext=c
38532 ac_cpp='$CPP $CPPFLAGS'
38533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38542 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38544 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38546 for ac_func in log10l
38548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38549 echo "$as_me:$LINENO: checking for $ac_func" >&5
38550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38551 if eval "test \"\${$as_ac_var+set}\" = set"; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 else
38554 if test x$gcc_no_link = xyes; then
38555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38557 { (exit 1); exit 1; }; }
38559 cat >conftest.$ac_ext <<_ACEOF
38560 /* confdefs.h. */
38561 _ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38567 #define $ac_func innocuous_$ac_func
38569 /* System header to define __stub macros and hopefully few prototypes,
38570 which can conflict with char $ac_func (); below.
38571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38572 <limits.h> exists even on freestanding compilers. */
38574 #ifdef __STDC__
38575 # include <limits.h>
38576 #else
38577 # include <assert.h>
38578 #endif
38580 #undef $ac_func
38582 /* Override any gcc2 internal prototype to avoid an error. */
38583 #ifdef __cplusplus
38584 extern "C"
38586 #endif
38587 /* We use char because int might match the return type of a gcc2
38588 builtin and then its argument prototype would still apply. */
38589 char $ac_func ();
38590 /* The GNU C library defines this for functions which it implements
38591 to always fail with ENOSYS. Some functions are actually named
38592 something starting with __ and the normal name is an alias. */
38593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38594 choke me
38595 #else
38596 char (*f) () = $ac_func;
38597 #endif
38598 #ifdef __cplusplus
38600 #endif
38603 main ()
38605 return f != $ac_func;
38607 return 0;
38609 _ACEOF
38610 rm -f conftest.$ac_objext conftest$ac_exeext
38611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38612 (eval $ac_link) 2>conftest.er1
38613 ac_status=$?
38614 grep -v '^ *+' conftest.er1 >conftest.err
38615 rm -f conftest.er1
38616 cat conftest.err >&5
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); } &&
38619 { ac_try='test -z "$ac_c_werror_flag"
38620 || test ! -s conftest.err'
38621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38622 (eval $ac_try) 2>&5
38623 ac_status=$?
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); }; } &&
38626 { ac_try='test -s conftest$ac_exeext'
38627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628 (eval $ac_try) 2>&5
38629 ac_status=$?
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); }; }; then
38632 eval "$as_ac_var=yes"
38633 else
38634 echo "$as_me: failed program was:" >&5
38635 sed 's/^/| /' conftest.$ac_ext >&5
38637 eval "$as_ac_var=no"
38639 rm -f conftest.err conftest.$ac_objext \
38640 conftest$ac_exeext conftest.$ac_ext
38642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38644 if test `eval echo '${'$as_ac_var'}'` = yes; then
38645 cat >>confdefs.h <<_ACEOF
38646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38647 _ACEOF
38650 done
38652 else
38654 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38655 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38656 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38657 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38658 echo $ECHO_N "(cached) $ECHO_C" >&6
38659 else
38663 ac_ext=cc
38664 ac_cpp='$CXXCPP $CPPFLAGS'
38665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38669 cat >conftest.$ac_ext <<_ACEOF
38670 /* confdefs.h. */
38671 _ACEOF
38672 cat confdefs.h >>conftest.$ac_ext
38673 cat >>conftest.$ac_ext <<_ACEOF
38674 /* end confdefs.h. */
38675 #include <math.h>
38676 #ifdef HAVE_IEEEFP_H
38677 #include <ieeefp.h>
38678 #endif
38681 main ()
38683 _log10l(0);
38685 return 0;
38687 _ACEOF
38688 rm -f conftest.$ac_objext
38689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38690 (eval $ac_compile) 2>conftest.er1
38691 ac_status=$?
38692 grep -v '^ *+' conftest.er1 >conftest.err
38693 rm -f conftest.er1
38694 cat conftest.err >&5
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); } &&
38697 { ac_try='test -z "$ac_cxx_werror_flag"
38698 || test ! -s conftest.err'
38699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38700 (eval $ac_try) 2>&5
38701 ac_status=$?
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); }; } &&
38704 { ac_try='test -s conftest.$ac_objext'
38705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38706 (eval $ac_try) 2>&5
38707 ac_status=$?
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); }; }; then
38710 glibcxx_cv_func__log10l_use=yes
38711 else
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.$ac_ext >&5
38715 glibcxx_cv_func__log10l_use=no
38717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38718 ac_ext=c
38719 ac_cpp='$CPP $CPPFLAGS'
38720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38729 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38731 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38733 for ac_func in _log10l
38735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38736 echo "$as_me:$LINENO: checking for $ac_func" >&5
38737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38738 if eval "test \"\${$as_ac_var+set}\" = set"; then
38739 echo $ECHO_N "(cached) $ECHO_C" >&6
38740 else
38741 if test x$gcc_no_link = xyes; then
38742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38744 { (exit 1); exit 1; }; }
38746 cat >conftest.$ac_ext <<_ACEOF
38747 /* confdefs.h. */
38748 _ACEOF
38749 cat confdefs.h >>conftest.$ac_ext
38750 cat >>conftest.$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38754 #define $ac_func innocuous_$ac_func
38756 /* System header to define __stub macros and hopefully few prototypes,
38757 which can conflict with char $ac_func (); below.
38758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38759 <limits.h> exists even on freestanding compilers. */
38761 #ifdef __STDC__
38762 # include <limits.h>
38763 #else
38764 # include <assert.h>
38765 #endif
38767 #undef $ac_func
38769 /* Override any gcc2 internal prototype to avoid an error. */
38770 #ifdef __cplusplus
38771 extern "C"
38773 #endif
38774 /* We use char because int might match the return type of a gcc2
38775 builtin and then its argument prototype would still apply. */
38776 char $ac_func ();
38777 /* The GNU C library defines this for functions which it implements
38778 to always fail with ENOSYS. Some functions are actually named
38779 something starting with __ and the normal name is an alias. */
38780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38781 choke me
38782 #else
38783 char (*f) () = $ac_func;
38784 #endif
38785 #ifdef __cplusplus
38787 #endif
38790 main ()
38792 return f != $ac_func;
38794 return 0;
38796 _ACEOF
38797 rm -f conftest.$ac_objext conftest$ac_exeext
38798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38799 (eval $ac_link) 2>conftest.er1
38800 ac_status=$?
38801 grep -v '^ *+' conftest.er1 >conftest.err
38802 rm -f conftest.er1
38803 cat conftest.err >&5
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); } &&
38806 { ac_try='test -z "$ac_c_werror_flag"
38807 || test ! -s conftest.err'
38808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38809 (eval $ac_try) 2>&5
38810 ac_status=$?
38811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812 (exit $ac_status); }; } &&
38813 { ac_try='test -s conftest$ac_exeext'
38814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38815 (eval $ac_try) 2>&5
38816 ac_status=$?
38817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818 (exit $ac_status); }; }; then
38819 eval "$as_ac_var=yes"
38820 else
38821 echo "$as_me: failed program was:" >&5
38822 sed 's/^/| /' conftest.$ac_ext >&5
38824 eval "$as_ac_var=no"
38826 rm -f conftest.err conftest.$ac_objext \
38827 conftest$ac_exeext conftest.$ac_ext
38829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38831 if test `eval echo '${'$as_ac_var'}'` = yes; then
38832 cat >>confdefs.h <<_ACEOF
38833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38834 _ACEOF
38837 done
38847 echo "$as_me:$LINENO: checking for modfl declaration" >&5
38848 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38849 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38850 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38852 else
38856 ac_ext=cc
38857 ac_cpp='$CXXCPP $CPPFLAGS'
38858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38862 cat >conftest.$ac_ext <<_ACEOF
38863 /* confdefs.h. */
38864 _ACEOF
38865 cat confdefs.h >>conftest.$ac_ext
38866 cat >>conftest.$ac_ext <<_ACEOF
38867 /* end confdefs.h. */
38868 #include <math.h>
38870 main ()
38872 modfl(0, 0);
38874 return 0;
38876 _ACEOF
38877 rm -f conftest.$ac_objext
38878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38879 (eval $ac_compile) 2>conftest.er1
38880 ac_status=$?
38881 grep -v '^ *+' conftest.er1 >conftest.err
38882 rm -f conftest.er1
38883 cat conftest.err >&5
38884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38885 (exit $ac_status); } &&
38886 { ac_try='test -z "$ac_cxx_werror_flag"
38887 || test ! -s conftest.err'
38888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38889 (eval $ac_try) 2>&5
38890 ac_status=$?
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); }; } &&
38893 { ac_try='test -s conftest.$ac_objext'
38894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38895 (eval $ac_try) 2>&5
38896 ac_status=$?
38897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38898 (exit $ac_status); }; }; then
38899 glibcxx_cv_func_modfl_use=yes
38900 else
38901 echo "$as_me: failed program was:" >&5
38902 sed 's/^/| /' conftest.$ac_ext >&5
38904 glibcxx_cv_func_modfl_use=no
38906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38907 ac_ext=c
38908 ac_cpp='$CPP $CPPFLAGS'
38909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38918 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38920 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38922 for ac_func in modfl
38924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38925 echo "$as_me:$LINENO: checking for $ac_func" >&5
38926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38927 if eval "test \"\${$as_ac_var+set}\" = set"; then
38928 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 else
38930 if test x$gcc_no_link = xyes; then
38931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38933 { (exit 1); exit 1; }; }
38935 cat >conftest.$ac_ext <<_ACEOF
38936 /* confdefs.h. */
38937 _ACEOF
38938 cat confdefs.h >>conftest.$ac_ext
38939 cat >>conftest.$ac_ext <<_ACEOF
38940 /* end confdefs.h. */
38941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38943 #define $ac_func innocuous_$ac_func
38945 /* System header to define __stub macros and hopefully few prototypes,
38946 which can conflict with char $ac_func (); below.
38947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38948 <limits.h> exists even on freestanding compilers. */
38950 #ifdef __STDC__
38951 # include <limits.h>
38952 #else
38953 # include <assert.h>
38954 #endif
38956 #undef $ac_func
38958 /* Override any gcc2 internal prototype to avoid an error. */
38959 #ifdef __cplusplus
38960 extern "C"
38962 #endif
38963 /* We use char because int might match the return type of a gcc2
38964 builtin and then its argument prototype would still apply. */
38965 char $ac_func ();
38966 /* The GNU C library defines this for functions which it implements
38967 to always fail with ENOSYS. Some functions are actually named
38968 something starting with __ and the normal name is an alias. */
38969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38970 choke me
38971 #else
38972 char (*f) () = $ac_func;
38973 #endif
38974 #ifdef __cplusplus
38976 #endif
38979 main ()
38981 return f != $ac_func;
38983 return 0;
38985 _ACEOF
38986 rm -f conftest.$ac_objext conftest$ac_exeext
38987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38988 (eval $ac_link) 2>conftest.er1
38989 ac_status=$?
38990 grep -v '^ *+' conftest.er1 >conftest.err
38991 rm -f conftest.er1
38992 cat conftest.err >&5
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); } &&
38995 { ac_try='test -z "$ac_c_werror_flag"
38996 || test ! -s conftest.err'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
38999 ac_status=$?
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; } &&
39002 { ac_try='test -s conftest$ac_exeext'
39003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39004 (eval $ac_try) 2>&5
39005 ac_status=$?
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); }; }; then
39008 eval "$as_ac_var=yes"
39009 else
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39013 eval "$as_ac_var=no"
39015 rm -f conftest.err conftest.$ac_objext \
39016 conftest$ac_exeext conftest.$ac_ext
39018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39020 if test `eval echo '${'$as_ac_var'}'` = yes; then
39021 cat >>confdefs.h <<_ACEOF
39022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39023 _ACEOF
39026 done
39028 else
39030 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
39031 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
39032 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39033 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
39034 echo $ECHO_N "(cached) $ECHO_C" >&6
39035 else
39039 ac_ext=cc
39040 ac_cpp='$CXXCPP $CPPFLAGS'
39041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39045 cat >conftest.$ac_ext <<_ACEOF
39046 /* confdefs.h. */
39047 _ACEOF
39048 cat confdefs.h >>conftest.$ac_ext
39049 cat >>conftest.$ac_ext <<_ACEOF
39050 /* end confdefs.h. */
39051 #include <math.h>
39053 main ()
39055 _modfl(0, 0);
39057 return 0;
39059 _ACEOF
39060 rm -f conftest.$ac_objext
39061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39062 (eval $ac_compile) 2>conftest.er1
39063 ac_status=$?
39064 grep -v '^ *+' conftest.er1 >conftest.err
39065 rm -f conftest.er1
39066 cat conftest.err >&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } &&
39069 { ac_try='test -z "$ac_cxx_werror_flag"
39070 || test ! -s conftest.err'
39071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39072 (eval $ac_try) 2>&5
39073 ac_status=$?
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); }; } &&
39076 { ac_try='test -s conftest.$ac_objext'
39077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39078 (eval $ac_try) 2>&5
39079 ac_status=$?
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); }; }; then
39082 glibcxx_cv_func__modfl_use=yes
39083 else
39084 echo "$as_me: failed program was:" >&5
39085 sed 's/^/| /' conftest.$ac_ext >&5
39087 glibcxx_cv_func__modfl_use=no
39089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39090 ac_ext=c
39091 ac_cpp='$CPP $CPPFLAGS'
39092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
39101 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
39103 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39105 for ac_func in _modfl
39107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39108 echo "$as_me:$LINENO: checking for $ac_func" >&5
39109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39110 if eval "test \"\${$as_ac_var+set}\" = set"; then
39111 echo $ECHO_N "(cached) $ECHO_C" >&6
39112 else
39113 if test x$gcc_no_link = xyes; then
39114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39116 { (exit 1); exit 1; }; }
39118 cat >conftest.$ac_ext <<_ACEOF
39119 /* confdefs.h. */
39120 _ACEOF
39121 cat confdefs.h >>conftest.$ac_ext
39122 cat >>conftest.$ac_ext <<_ACEOF
39123 /* end confdefs.h. */
39124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39126 #define $ac_func innocuous_$ac_func
39128 /* System header to define __stub macros and hopefully few prototypes,
39129 which can conflict with char $ac_func (); below.
39130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39131 <limits.h> exists even on freestanding compilers. */
39133 #ifdef __STDC__
39134 # include <limits.h>
39135 #else
39136 # include <assert.h>
39137 #endif
39139 #undef $ac_func
39141 /* Override any gcc2 internal prototype to avoid an error. */
39142 #ifdef __cplusplus
39143 extern "C"
39145 #endif
39146 /* We use char because int might match the return type of a gcc2
39147 builtin and then its argument prototype would still apply. */
39148 char $ac_func ();
39149 /* The GNU C library defines this for functions which it implements
39150 to always fail with ENOSYS. Some functions are actually named
39151 something starting with __ and the normal name is an alias. */
39152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39153 choke me
39154 #else
39155 char (*f) () = $ac_func;
39156 #endif
39157 #ifdef __cplusplus
39159 #endif
39162 main ()
39164 return f != $ac_func;
39166 return 0;
39168 _ACEOF
39169 rm -f conftest.$ac_objext conftest$ac_exeext
39170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39171 (eval $ac_link) 2>conftest.er1
39172 ac_status=$?
39173 grep -v '^ *+' conftest.er1 >conftest.err
39174 rm -f conftest.er1
39175 cat conftest.err >&5
39176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39177 (exit $ac_status); } &&
39178 { ac_try='test -z "$ac_c_werror_flag"
39179 || test ! -s conftest.err'
39180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39181 (eval $ac_try) 2>&5
39182 ac_status=$?
39183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184 (exit $ac_status); }; } &&
39185 { ac_try='test -s conftest$ac_exeext'
39186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187 (eval $ac_try) 2>&5
39188 ac_status=$?
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; }; then
39191 eval "$as_ac_var=yes"
39192 else
39193 echo "$as_me: failed program was:" >&5
39194 sed 's/^/| /' conftest.$ac_ext >&5
39196 eval "$as_ac_var=no"
39198 rm -f conftest.err conftest.$ac_objext \
39199 conftest$ac_exeext conftest.$ac_ext
39201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39203 if test `eval echo '${'$as_ac_var'}'` = yes; then
39204 cat >>confdefs.h <<_ACEOF
39205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39206 _ACEOF
39209 done
39219 echo "$as_me:$LINENO: checking for powl declaration" >&5
39220 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
39221 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39222 if test "${glibcxx_cv_func_powl_use+set}" = set; then
39223 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39228 ac_ext=cc
39229 ac_cpp='$CXXCPP $CPPFLAGS'
39230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39234 cat >conftest.$ac_ext <<_ACEOF
39235 /* confdefs.h. */
39236 _ACEOF
39237 cat confdefs.h >>conftest.$ac_ext
39238 cat >>conftest.$ac_ext <<_ACEOF
39239 /* end confdefs.h. */
39240 #include <math.h>
39242 main ()
39244 powl(0, 0);
39246 return 0;
39248 _ACEOF
39249 rm -f conftest.$ac_objext
39250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39251 (eval $ac_compile) 2>conftest.er1
39252 ac_status=$?
39253 grep -v '^ *+' conftest.er1 >conftest.err
39254 rm -f conftest.er1
39255 cat conftest.err >&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); } &&
39258 { ac_try='test -z "$ac_cxx_werror_flag"
39259 || test ! -s conftest.err'
39260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39261 (eval $ac_try) 2>&5
39262 ac_status=$?
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); }; } &&
39265 { ac_try='test -s conftest.$ac_objext'
39266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39267 (eval $ac_try) 2>&5
39268 ac_status=$?
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); }; }; then
39271 glibcxx_cv_func_powl_use=yes
39272 else
39273 echo "$as_me: failed program was:" >&5
39274 sed 's/^/| /' conftest.$ac_ext >&5
39276 glibcxx_cv_func_powl_use=no
39278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39279 ac_ext=c
39280 ac_cpp='$CPP $CPPFLAGS'
39281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
39290 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
39292 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39294 for ac_func in powl
39296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39297 echo "$as_me:$LINENO: checking for $ac_func" >&5
39298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39299 if eval "test \"\${$as_ac_var+set}\" = set"; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 else
39302 if test x$gcc_no_link = xyes; then
39303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39305 { (exit 1); exit 1; }; }
39307 cat >conftest.$ac_ext <<_ACEOF
39308 /* confdefs.h. */
39309 _ACEOF
39310 cat confdefs.h >>conftest.$ac_ext
39311 cat >>conftest.$ac_ext <<_ACEOF
39312 /* end confdefs.h. */
39313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39315 #define $ac_func innocuous_$ac_func
39317 /* System header to define __stub macros and hopefully few prototypes,
39318 which can conflict with char $ac_func (); below.
39319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39320 <limits.h> exists even on freestanding compilers. */
39322 #ifdef __STDC__
39323 # include <limits.h>
39324 #else
39325 # include <assert.h>
39326 #endif
39328 #undef $ac_func
39330 /* Override any gcc2 internal prototype to avoid an error. */
39331 #ifdef __cplusplus
39332 extern "C"
39334 #endif
39335 /* We use char because int might match the return type of a gcc2
39336 builtin and then its argument prototype would still apply. */
39337 char $ac_func ();
39338 /* The GNU C library defines this for functions which it implements
39339 to always fail with ENOSYS. Some functions are actually named
39340 something starting with __ and the normal name is an alias. */
39341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39342 choke me
39343 #else
39344 char (*f) () = $ac_func;
39345 #endif
39346 #ifdef __cplusplus
39348 #endif
39351 main ()
39353 return f != $ac_func;
39355 return 0;
39357 _ACEOF
39358 rm -f conftest.$ac_objext conftest$ac_exeext
39359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39360 (eval $ac_link) 2>conftest.er1
39361 ac_status=$?
39362 grep -v '^ *+' conftest.er1 >conftest.err
39363 rm -f conftest.er1
39364 cat conftest.err >&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); } &&
39367 { ac_try='test -z "$ac_c_werror_flag"
39368 || test ! -s conftest.err'
39369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370 (eval $ac_try) 2>&5
39371 ac_status=$?
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); }; } &&
39374 { ac_try='test -s conftest$ac_exeext'
39375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39376 (eval $ac_try) 2>&5
39377 ac_status=$?
39378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379 (exit $ac_status); }; }; then
39380 eval "$as_ac_var=yes"
39381 else
39382 echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39385 eval "$as_ac_var=no"
39387 rm -f conftest.err conftest.$ac_objext \
39388 conftest$ac_exeext conftest.$ac_ext
39390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39392 if test `eval echo '${'$as_ac_var'}'` = yes; then
39393 cat >>confdefs.h <<_ACEOF
39394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39395 _ACEOF
39398 done
39400 else
39402 echo "$as_me:$LINENO: checking for _powl declaration" >&5
39403 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
39404 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39405 if test "${glibcxx_cv_func__powl_use+set}" = set; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39407 else
39411 ac_ext=cc
39412 ac_cpp='$CXXCPP $CPPFLAGS'
39413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39417 cat >conftest.$ac_ext <<_ACEOF
39418 /* confdefs.h. */
39419 _ACEOF
39420 cat confdefs.h >>conftest.$ac_ext
39421 cat >>conftest.$ac_ext <<_ACEOF
39422 /* end confdefs.h. */
39423 #include <math.h>
39425 main ()
39427 _powl(0, 0);
39429 return 0;
39431 _ACEOF
39432 rm -f conftest.$ac_objext
39433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39434 (eval $ac_compile) 2>conftest.er1
39435 ac_status=$?
39436 grep -v '^ *+' conftest.er1 >conftest.err
39437 rm -f conftest.er1
39438 cat conftest.err >&5
39439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39440 (exit $ac_status); } &&
39441 { ac_try='test -z "$ac_cxx_werror_flag"
39442 || test ! -s conftest.err'
39443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39444 (eval $ac_try) 2>&5
39445 ac_status=$?
39446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39447 (exit $ac_status); }; } &&
39448 { ac_try='test -s conftest.$ac_objext'
39449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39450 (eval $ac_try) 2>&5
39451 ac_status=$?
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); }; }; then
39454 glibcxx_cv_func__powl_use=yes
39455 else
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39459 glibcxx_cv_func__powl_use=no
39461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39462 ac_ext=c
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39473 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39475 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39477 for ac_func in _powl
39479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39480 echo "$as_me:$LINENO: checking for $ac_func" >&5
39481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39482 if eval "test \"\${$as_ac_var+set}\" = set"; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 if test x$gcc_no_link = xyes; then
39486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39488 { (exit 1); exit 1; }; }
39490 cat >conftest.$ac_ext <<_ACEOF
39491 /* confdefs.h. */
39492 _ACEOF
39493 cat confdefs.h >>conftest.$ac_ext
39494 cat >>conftest.$ac_ext <<_ACEOF
39495 /* end confdefs.h. */
39496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39498 #define $ac_func innocuous_$ac_func
39500 /* System header to define __stub macros and hopefully few prototypes,
39501 which can conflict with char $ac_func (); below.
39502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39503 <limits.h> exists even on freestanding compilers. */
39505 #ifdef __STDC__
39506 # include <limits.h>
39507 #else
39508 # include <assert.h>
39509 #endif
39511 #undef $ac_func
39513 /* Override any gcc2 internal prototype to avoid an error. */
39514 #ifdef __cplusplus
39515 extern "C"
39517 #endif
39518 /* We use char because int might match the return type of a gcc2
39519 builtin and then its argument prototype would still apply. */
39520 char $ac_func ();
39521 /* The GNU C library defines this for functions which it implements
39522 to always fail with ENOSYS. Some functions are actually named
39523 something starting with __ and the normal name is an alias. */
39524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39525 choke me
39526 #else
39527 char (*f) () = $ac_func;
39528 #endif
39529 #ifdef __cplusplus
39531 #endif
39534 main ()
39536 return f != $ac_func;
39538 return 0;
39540 _ACEOF
39541 rm -f conftest.$ac_objext conftest$ac_exeext
39542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39543 (eval $ac_link) 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try='test -z "$ac_c_werror_flag"
39551 || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39554 ac_status=$?
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try='test -s conftest$ac_exeext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 eval "$as_ac_var=yes"
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39568 eval "$as_ac_var=no"
39570 rm -f conftest.err conftest.$ac_objext \
39571 conftest$ac_exeext conftest.$ac_ext
39573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39575 if test `eval echo '${'$as_ac_var'}'` = yes; then
39576 cat >>confdefs.h <<_ACEOF
39577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39578 _ACEOF
39581 done
39591 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39592 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39593 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39594 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39595 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 else
39600 ac_ext=cc
39601 ac_cpp='$CXXCPP $CPPFLAGS'
39602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39606 cat >conftest.$ac_ext <<_ACEOF
39607 /* confdefs.h. */
39608 _ACEOF
39609 cat confdefs.h >>conftest.$ac_ext
39610 cat >>conftest.$ac_ext <<_ACEOF
39611 /* end confdefs.h. */
39612 #include <math.h>
39613 #ifdef HAVE_IEEEFP_H
39614 #include <ieeefp.h>
39615 #endif
39618 main ()
39620 sqrtl(0);
39622 return 0;
39624 _ACEOF
39625 rm -f conftest.$ac_objext
39626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39627 (eval $ac_compile) 2>conftest.er1
39628 ac_status=$?
39629 grep -v '^ *+' conftest.er1 >conftest.err
39630 rm -f conftest.er1
39631 cat conftest.err >&5
39632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39633 (exit $ac_status); } &&
39634 { ac_try='test -z "$ac_cxx_werror_flag"
39635 || test ! -s conftest.err'
39636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39637 (eval $ac_try) 2>&5
39638 ac_status=$?
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); }; } &&
39641 { ac_try='test -s conftest.$ac_objext'
39642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39643 (eval $ac_try) 2>&5
39644 ac_status=$?
39645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646 (exit $ac_status); }; }; then
39647 glibcxx_cv_func_sqrtl_use=yes
39648 else
39649 echo "$as_me: failed program was:" >&5
39650 sed 's/^/| /' conftest.$ac_ext >&5
39652 glibcxx_cv_func_sqrtl_use=no
39654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39655 ac_ext=c
39656 ac_cpp='$CPP $CPPFLAGS'
39657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39666 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39668 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39670 for ac_func in sqrtl
39672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39673 echo "$as_me:$LINENO: checking for $ac_func" >&5
39674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39675 if eval "test \"\${$as_ac_var+set}\" = set"; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678 if test x$gcc_no_link = xyes; then
39679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39681 { (exit 1); exit 1; }; }
39683 cat >conftest.$ac_ext <<_ACEOF
39684 /* confdefs.h. */
39685 _ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39691 #define $ac_func innocuous_$ac_func
39693 /* System header to define __stub macros and hopefully few prototypes,
39694 which can conflict with char $ac_func (); below.
39695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39696 <limits.h> exists even on freestanding compilers. */
39698 #ifdef __STDC__
39699 # include <limits.h>
39700 #else
39701 # include <assert.h>
39702 #endif
39704 #undef $ac_func
39706 /* Override any gcc2 internal prototype to avoid an error. */
39707 #ifdef __cplusplus
39708 extern "C"
39710 #endif
39711 /* We use char because int might match the return type of a gcc2
39712 builtin and then its argument prototype would still apply. */
39713 char $ac_func ();
39714 /* The GNU C library defines this for functions which it implements
39715 to always fail with ENOSYS. Some functions are actually named
39716 something starting with __ and the normal name is an alias. */
39717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39718 choke me
39719 #else
39720 char (*f) () = $ac_func;
39721 #endif
39722 #ifdef __cplusplus
39724 #endif
39727 main ()
39729 return f != $ac_func;
39731 return 0;
39733 _ACEOF
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39736 (eval $ac_link) 2>conftest.er1
39737 ac_status=$?
39738 grep -v '^ *+' conftest.er1 >conftest.err
39739 rm -f conftest.er1
39740 cat conftest.err >&5
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); } &&
39743 { ac_try='test -z "$ac_c_werror_flag"
39744 || test ! -s conftest.err'
39745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39746 (eval $ac_try) 2>&5
39747 ac_status=$?
39748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39749 (exit $ac_status); }; } &&
39750 { ac_try='test -s conftest$ac_exeext'
39751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39752 (eval $ac_try) 2>&5
39753 ac_status=$?
39754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39755 (exit $ac_status); }; }; then
39756 eval "$as_ac_var=yes"
39757 else
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39761 eval "$as_ac_var=no"
39763 rm -f conftest.err conftest.$ac_objext \
39764 conftest$ac_exeext conftest.$ac_ext
39766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39768 if test `eval echo '${'$as_ac_var'}'` = yes; then
39769 cat >>confdefs.h <<_ACEOF
39770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39771 _ACEOF
39774 done
39776 else
39778 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39779 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39780 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39781 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39783 else
39787 ac_ext=cc
39788 ac_cpp='$CXXCPP $CPPFLAGS'
39789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39793 cat >conftest.$ac_ext <<_ACEOF
39794 /* confdefs.h. */
39795 _ACEOF
39796 cat confdefs.h >>conftest.$ac_ext
39797 cat >>conftest.$ac_ext <<_ACEOF
39798 /* end confdefs.h. */
39799 #include <math.h>
39800 #ifdef HAVE_IEEEFP_H
39801 #include <ieeefp.h>
39802 #endif
39805 main ()
39807 _sqrtl(0);
39809 return 0;
39811 _ACEOF
39812 rm -f conftest.$ac_objext
39813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39814 (eval $ac_compile) 2>conftest.er1
39815 ac_status=$?
39816 grep -v '^ *+' conftest.er1 >conftest.err
39817 rm -f conftest.er1
39818 cat conftest.err >&5
39819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39820 (exit $ac_status); } &&
39821 { ac_try='test -z "$ac_cxx_werror_flag"
39822 || test ! -s conftest.err'
39823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39824 (eval $ac_try) 2>&5
39825 ac_status=$?
39826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39827 (exit $ac_status); }; } &&
39828 { ac_try='test -s conftest.$ac_objext'
39829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39830 (eval $ac_try) 2>&5
39831 ac_status=$?
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); }; }; then
39834 glibcxx_cv_func__sqrtl_use=yes
39835 else
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.$ac_ext >&5
39839 glibcxx_cv_func__sqrtl_use=no
39841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39842 ac_ext=c
39843 ac_cpp='$CPP $CPPFLAGS'
39844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39853 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39855 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39857 for ac_func in _sqrtl
39859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39860 echo "$as_me:$LINENO: checking for $ac_func" >&5
39861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39862 if eval "test \"\${$as_ac_var+set}\" = set"; then
39863 echo $ECHO_N "(cached) $ECHO_C" >&6
39864 else
39865 if test x$gcc_no_link = xyes; then
39866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39868 { (exit 1); exit 1; }; }
39870 cat >conftest.$ac_ext <<_ACEOF
39871 /* confdefs.h. */
39872 _ACEOF
39873 cat confdefs.h >>conftest.$ac_ext
39874 cat >>conftest.$ac_ext <<_ACEOF
39875 /* end confdefs.h. */
39876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39878 #define $ac_func innocuous_$ac_func
39880 /* System header to define __stub macros and hopefully few prototypes,
39881 which can conflict with char $ac_func (); below.
39882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39883 <limits.h> exists even on freestanding compilers. */
39885 #ifdef __STDC__
39886 # include <limits.h>
39887 #else
39888 # include <assert.h>
39889 #endif
39891 #undef $ac_func
39893 /* Override any gcc2 internal prototype to avoid an error. */
39894 #ifdef __cplusplus
39895 extern "C"
39897 #endif
39898 /* We use char because int might match the return type of a gcc2
39899 builtin and then its argument prototype would still apply. */
39900 char $ac_func ();
39901 /* The GNU C library defines this for functions which it implements
39902 to always fail with ENOSYS. Some functions are actually named
39903 something starting with __ and the normal name is an alias. */
39904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39905 choke me
39906 #else
39907 char (*f) () = $ac_func;
39908 #endif
39909 #ifdef __cplusplus
39911 #endif
39914 main ()
39916 return f != $ac_func;
39918 return 0;
39920 _ACEOF
39921 rm -f conftest.$ac_objext conftest$ac_exeext
39922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39923 (eval $ac_link) 2>conftest.er1
39924 ac_status=$?
39925 grep -v '^ *+' conftest.er1 >conftest.err
39926 rm -f conftest.er1
39927 cat conftest.err >&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); } &&
39930 { ac_try='test -z "$ac_c_werror_flag"
39931 || test ! -s conftest.err'
39932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39933 (eval $ac_try) 2>&5
39934 ac_status=$?
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); }; } &&
39937 { ac_try='test -s conftest$ac_exeext'
39938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939 (eval $ac_try) 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; }; then
39943 eval "$as_ac_var=yes"
39944 else
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.$ac_ext >&5
39948 eval "$as_ac_var=no"
39950 rm -f conftest.err conftest.$ac_objext \
39951 conftest$ac_exeext conftest.$ac_ext
39953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39955 if test `eval echo '${'$as_ac_var'}'` = yes; then
39956 cat >>confdefs.h <<_ACEOF
39957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39958 _ACEOF
39961 done
39971 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39972 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39973 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39974 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39975 echo $ECHO_N "(cached) $ECHO_C" >&6
39976 else
39980 ac_ext=cc
39981 ac_cpp='$CXXCPP $CPPFLAGS'
39982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39986 cat >conftest.$ac_ext <<_ACEOF
39987 /* confdefs.h. */
39988 _ACEOF
39989 cat confdefs.h >>conftest.$ac_ext
39990 cat >>conftest.$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39992 #include <math.h>
39994 main ()
39996 sincosl(0, 0, 0);
39998 return 0;
40000 _ACEOF
40001 rm -f conftest.$ac_objext
40002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40003 (eval $ac_compile) 2>conftest.er1
40004 ac_status=$?
40005 grep -v '^ *+' conftest.er1 >conftest.err
40006 rm -f conftest.er1
40007 cat conftest.err >&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } &&
40010 { ac_try='test -z "$ac_cxx_werror_flag"
40011 || test ! -s conftest.err'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40014 ac_status=$?
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; } &&
40017 { ac_try='test -s conftest.$ac_objext'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40020 ac_status=$?
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; }; then
40023 glibcxx_cv_func_sincosl_use=yes
40024 else
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40028 glibcxx_cv_func_sincosl_use=no
40030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40031 ac_ext=c
40032 ac_cpp='$CPP $CPPFLAGS'
40033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
40042 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
40044 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40046 for ac_func in sincosl
40048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40049 echo "$as_me:$LINENO: checking for $ac_func" >&5
40050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40051 if eval "test \"\${$as_ac_var+set}\" = set"; then
40052 echo $ECHO_N "(cached) $ECHO_C" >&6
40053 else
40054 if test x$gcc_no_link = xyes; then
40055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40057 { (exit 1); exit 1; }; }
40059 cat >conftest.$ac_ext <<_ACEOF
40060 /* confdefs.h. */
40061 _ACEOF
40062 cat confdefs.h >>conftest.$ac_ext
40063 cat >>conftest.$ac_ext <<_ACEOF
40064 /* end confdefs.h. */
40065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40067 #define $ac_func innocuous_$ac_func
40069 /* System header to define __stub macros and hopefully few prototypes,
40070 which can conflict with char $ac_func (); below.
40071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40072 <limits.h> exists even on freestanding compilers. */
40074 #ifdef __STDC__
40075 # include <limits.h>
40076 #else
40077 # include <assert.h>
40078 #endif
40080 #undef $ac_func
40082 /* Override any gcc2 internal prototype to avoid an error. */
40083 #ifdef __cplusplus
40084 extern "C"
40086 #endif
40087 /* We use char because int might match the return type of a gcc2
40088 builtin and then its argument prototype would still apply. */
40089 char $ac_func ();
40090 /* The GNU C library defines this for functions which it implements
40091 to always fail with ENOSYS. Some functions are actually named
40092 something starting with __ and the normal name is an alias. */
40093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40094 choke me
40095 #else
40096 char (*f) () = $ac_func;
40097 #endif
40098 #ifdef __cplusplus
40100 #endif
40103 main ()
40105 return f != $ac_func;
40107 return 0;
40109 _ACEOF
40110 rm -f conftest.$ac_objext conftest$ac_exeext
40111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40112 (eval $ac_link) 2>conftest.er1
40113 ac_status=$?
40114 grep -v '^ *+' conftest.er1 >conftest.err
40115 rm -f conftest.er1
40116 cat conftest.err >&5
40117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40118 (exit $ac_status); } &&
40119 { ac_try='test -z "$ac_c_werror_flag"
40120 || test ! -s conftest.err'
40121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40122 (eval $ac_try) 2>&5
40123 ac_status=$?
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); }; } &&
40126 { ac_try='test -s conftest$ac_exeext'
40127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40128 (eval $ac_try) 2>&5
40129 ac_status=$?
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); }; }; then
40132 eval "$as_ac_var=yes"
40133 else
40134 echo "$as_me: failed program was:" >&5
40135 sed 's/^/| /' conftest.$ac_ext >&5
40137 eval "$as_ac_var=no"
40139 rm -f conftest.err conftest.$ac_objext \
40140 conftest$ac_exeext conftest.$ac_ext
40142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40144 if test `eval echo '${'$as_ac_var'}'` = yes; then
40145 cat >>confdefs.h <<_ACEOF
40146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40147 _ACEOF
40150 done
40152 else
40154 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
40155 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
40156 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40157 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
40158 echo $ECHO_N "(cached) $ECHO_C" >&6
40159 else
40163 ac_ext=cc
40164 ac_cpp='$CXXCPP $CPPFLAGS'
40165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40169 cat >conftest.$ac_ext <<_ACEOF
40170 /* confdefs.h. */
40171 _ACEOF
40172 cat confdefs.h >>conftest.$ac_ext
40173 cat >>conftest.$ac_ext <<_ACEOF
40174 /* end confdefs.h. */
40175 #include <math.h>
40177 main ()
40179 _sincosl(0, 0, 0);
40181 return 0;
40183 _ACEOF
40184 rm -f conftest.$ac_objext
40185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40186 (eval $ac_compile) 2>conftest.er1
40187 ac_status=$?
40188 grep -v '^ *+' conftest.er1 >conftest.err
40189 rm -f conftest.er1
40190 cat conftest.err >&5
40191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192 (exit $ac_status); } &&
40193 { ac_try='test -z "$ac_cxx_werror_flag"
40194 || test ! -s conftest.err'
40195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40196 (eval $ac_try) 2>&5
40197 ac_status=$?
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); }; } &&
40200 { ac_try='test -s conftest.$ac_objext'
40201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202 (eval $ac_try) 2>&5
40203 ac_status=$?
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); }; }; then
40206 glibcxx_cv_func__sincosl_use=yes
40207 else
40208 echo "$as_me: failed program was:" >&5
40209 sed 's/^/| /' conftest.$ac_ext >&5
40211 glibcxx_cv_func__sincosl_use=no
40213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40214 ac_ext=c
40215 ac_cpp='$CPP $CPPFLAGS'
40216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40224 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
40225 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
40227 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40229 for ac_func in _sincosl
40231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40232 echo "$as_me:$LINENO: checking for $ac_func" >&5
40233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40234 if eval "test \"\${$as_ac_var+set}\" = set"; then
40235 echo $ECHO_N "(cached) $ECHO_C" >&6
40236 else
40237 if test x$gcc_no_link = xyes; then
40238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40240 { (exit 1); exit 1; }; }
40242 cat >conftest.$ac_ext <<_ACEOF
40243 /* confdefs.h. */
40244 _ACEOF
40245 cat confdefs.h >>conftest.$ac_ext
40246 cat >>conftest.$ac_ext <<_ACEOF
40247 /* end confdefs.h. */
40248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40250 #define $ac_func innocuous_$ac_func
40252 /* System header to define __stub macros and hopefully few prototypes,
40253 which can conflict with char $ac_func (); below.
40254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40255 <limits.h> exists even on freestanding compilers. */
40257 #ifdef __STDC__
40258 # include <limits.h>
40259 #else
40260 # include <assert.h>
40261 #endif
40263 #undef $ac_func
40265 /* Override any gcc2 internal prototype to avoid an error. */
40266 #ifdef __cplusplus
40267 extern "C"
40269 #endif
40270 /* We use char because int might match the return type of a gcc2
40271 builtin and then its argument prototype would still apply. */
40272 char $ac_func ();
40273 /* The GNU C library defines this for functions which it implements
40274 to always fail with ENOSYS. Some functions are actually named
40275 something starting with __ and the normal name is an alias. */
40276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40277 choke me
40278 #else
40279 char (*f) () = $ac_func;
40280 #endif
40281 #ifdef __cplusplus
40283 #endif
40286 main ()
40288 return f != $ac_func;
40290 return 0;
40292 _ACEOF
40293 rm -f conftest.$ac_objext conftest$ac_exeext
40294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40295 (eval $ac_link) 2>conftest.er1
40296 ac_status=$?
40297 grep -v '^ *+' conftest.er1 >conftest.err
40298 rm -f conftest.er1
40299 cat conftest.err >&5
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); } &&
40302 { ac_try='test -z "$ac_c_werror_flag"
40303 || test ! -s conftest.err'
40304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40305 (eval $ac_try) 2>&5
40306 ac_status=$?
40307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40308 (exit $ac_status); }; } &&
40309 { ac_try='test -s conftest$ac_exeext'
40310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40311 (eval $ac_try) 2>&5
40312 ac_status=$?
40313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40314 (exit $ac_status); }; }; then
40315 eval "$as_ac_var=yes"
40316 else
40317 echo "$as_me: failed program was:" >&5
40318 sed 's/^/| /' conftest.$ac_ext >&5
40320 eval "$as_ac_var=no"
40322 rm -f conftest.err conftest.$ac_objext \
40323 conftest$ac_exeext conftest.$ac_ext
40325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40327 if test `eval echo '${'$as_ac_var'}'` = yes; then
40328 cat >>confdefs.h <<_ACEOF
40329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40330 _ACEOF
40333 done
40343 echo "$as_me:$LINENO: checking for finitel declaration" >&5
40344 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
40345 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40346 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
40347 echo $ECHO_N "(cached) $ECHO_C" >&6
40348 else
40352 ac_ext=cc
40353 ac_cpp='$CXXCPP $CPPFLAGS'
40354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40358 cat >conftest.$ac_ext <<_ACEOF
40359 /* confdefs.h. */
40360 _ACEOF
40361 cat confdefs.h >>conftest.$ac_ext
40362 cat >>conftest.$ac_ext <<_ACEOF
40363 /* end confdefs.h. */
40364 #include <math.h>
40365 #ifdef HAVE_IEEEFP_H
40366 #include <ieeefp.h>
40367 #endif
40370 main ()
40372 finitel(0);
40374 return 0;
40376 _ACEOF
40377 rm -f conftest.$ac_objext
40378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40379 (eval $ac_compile) 2>conftest.er1
40380 ac_status=$?
40381 grep -v '^ *+' conftest.er1 >conftest.err
40382 rm -f conftest.er1
40383 cat conftest.err >&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); } &&
40386 { ac_try='test -z "$ac_cxx_werror_flag"
40387 || test ! -s conftest.err'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40390 ac_status=$?
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; } &&
40393 { ac_try='test -s conftest.$ac_objext'
40394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395 (eval $ac_try) 2>&5
40396 ac_status=$?
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); }; }; then
40399 glibcxx_cv_func_finitel_use=yes
40400 else
40401 echo "$as_me: failed program was:" >&5
40402 sed 's/^/| /' conftest.$ac_ext >&5
40404 glibcxx_cv_func_finitel_use=no
40406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40407 ac_ext=c
40408 ac_cpp='$CPP $CPPFLAGS'
40409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
40418 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
40420 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40422 for ac_func in finitel
40424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40425 echo "$as_me:$LINENO: checking for $ac_func" >&5
40426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40427 if eval "test \"\${$as_ac_var+set}\" = set"; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 else
40430 if test x$gcc_no_link = xyes; then
40431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40433 { (exit 1); exit 1; }; }
40435 cat >conftest.$ac_ext <<_ACEOF
40436 /* confdefs.h. */
40437 _ACEOF
40438 cat confdefs.h >>conftest.$ac_ext
40439 cat >>conftest.$ac_ext <<_ACEOF
40440 /* end confdefs.h. */
40441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40443 #define $ac_func innocuous_$ac_func
40445 /* System header to define __stub macros and hopefully few prototypes,
40446 which can conflict with char $ac_func (); below.
40447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40448 <limits.h> exists even on freestanding compilers. */
40450 #ifdef __STDC__
40451 # include <limits.h>
40452 #else
40453 # include <assert.h>
40454 #endif
40456 #undef $ac_func
40458 /* Override any gcc2 internal prototype to avoid an error. */
40459 #ifdef __cplusplus
40460 extern "C"
40462 #endif
40463 /* We use char because int might match the return type of a gcc2
40464 builtin and then its argument prototype would still apply. */
40465 char $ac_func ();
40466 /* The GNU C library defines this for functions which it implements
40467 to always fail with ENOSYS. Some functions are actually named
40468 something starting with __ and the normal name is an alias. */
40469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40470 choke me
40471 #else
40472 char (*f) () = $ac_func;
40473 #endif
40474 #ifdef __cplusplus
40476 #endif
40479 main ()
40481 return f != $ac_func;
40483 return 0;
40485 _ACEOF
40486 rm -f conftest.$ac_objext conftest$ac_exeext
40487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40488 (eval $ac_link) 2>conftest.er1
40489 ac_status=$?
40490 grep -v '^ *+' conftest.er1 >conftest.err
40491 rm -f conftest.er1
40492 cat conftest.err >&5
40493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40494 (exit $ac_status); } &&
40495 { ac_try='test -z "$ac_c_werror_flag"
40496 || test ! -s conftest.err'
40497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40498 (eval $ac_try) 2>&5
40499 ac_status=$?
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); }; } &&
40502 { ac_try='test -s conftest$ac_exeext'
40503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40504 (eval $ac_try) 2>&5
40505 ac_status=$?
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); }; }; then
40508 eval "$as_ac_var=yes"
40509 else
40510 echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40513 eval "$as_ac_var=no"
40515 rm -f conftest.err conftest.$ac_objext \
40516 conftest$ac_exeext conftest.$ac_ext
40518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40520 if test `eval echo '${'$as_ac_var'}'` = yes; then
40521 cat >>confdefs.h <<_ACEOF
40522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40523 _ACEOF
40526 done
40528 else
40530 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40531 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40532 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40533 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40534 echo $ECHO_N "(cached) $ECHO_C" >&6
40535 else
40539 ac_ext=cc
40540 ac_cpp='$CXXCPP $CPPFLAGS'
40541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40545 cat >conftest.$ac_ext <<_ACEOF
40546 /* confdefs.h. */
40547 _ACEOF
40548 cat confdefs.h >>conftest.$ac_ext
40549 cat >>conftest.$ac_ext <<_ACEOF
40550 /* end confdefs.h. */
40551 #include <math.h>
40552 #ifdef HAVE_IEEEFP_H
40553 #include <ieeefp.h>
40554 #endif
40557 main ()
40559 _finitel(0);
40561 return 0;
40563 _ACEOF
40564 rm -f conftest.$ac_objext
40565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40566 (eval $ac_compile) 2>conftest.er1
40567 ac_status=$?
40568 grep -v '^ *+' conftest.er1 >conftest.err
40569 rm -f conftest.er1
40570 cat conftest.err >&5
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); } &&
40573 { ac_try='test -z "$ac_cxx_werror_flag"
40574 || test ! -s conftest.err'
40575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40576 (eval $ac_try) 2>&5
40577 ac_status=$?
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); }; } &&
40580 { ac_try='test -s conftest.$ac_objext'
40581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40582 (eval $ac_try) 2>&5
40583 ac_status=$?
40584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40585 (exit $ac_status); }; }; then
40586 glibcxx_cv_func__finitel_use=yes
40587 else
40588 echo "$as_me: failed program was:" >&5
40589 sed 's/^/| /' conftest.$ac_ext >&5
40591 glibcxx_cv_func__finitel_use=no
40593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40594 ac_ext=c
40595 ac_cpp='$CPP $CPPFLAGS'
40596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40605 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40607 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40609 for ac_func in _finitel
40611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40612 echo "$as_me:$LINENO: checking for $ac_func" >&5
40613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40614 if eval "test \"\${$as_ac_var+set}\" = set"; then
40615 echo $ECHO_N "(cached) $ECHO_C" >&6
40616 else
40617 if test x$gcc_no_link = xyes; then
40618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40620 { (exit 1); exit 1; }; }
40622 cat >conftest.$ac_ext <<_ACEOF
40623 /* confdefs.h. */
40624 _ACEOF
40625 cat confdefs.h >>conftest.$ac_ext
40626 cat >>conftest.$ac_ext <<_ACEOF
40627 /* end confdefs.h. */
40628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40630 #define $ac_func innocuous_$ac_func
40632 /* System header to define __stub macros and hopefully few prototypes,
40633 which can conflict with char $ac_func (); below.
40634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40635 <limits.h> exists even on freestanding compilers. */
40637 #ifdef __STDC__
40638 # include <limits.h>
40639 #else
40640 # include <assert.h>
40641 #endif
40643 #undef $ac_func
40645 /* Override any gcc2 internal prototype to avoid an error. */
40646 #ifdef __cplusplus
40647 extern "C"
40649 #endif
40650 /* We use char because int might match the return type of a gcc2
40651 builtin and then its argument prototype would still apply. */
40652 char $ac_func ();
40653 /* The GNU C library defines this for functions which it implements
40654 to always fail with ENOSYS. Some functions are actually named
40655 something starting with __ and the normal name is an alias. */
40656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40657 choke me
40658 #else
40659 char (*f) () = $ac_func;
40660 #endif
40661 #ifdef __cplusplus
40663 #endif
40666 main ()
40668 return f != $ac_func;
40670 return 0;
40672 _ACEOF
40673 rm -f conftest.$ac_objext conftest$ac_exeext
40674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40675 (eval $ac_link) 2>conftest.er1
40676 ac_status=$?
40677 grep -v '^ *+' conftest.er1 >conftest.err
40678 rm -f conftest.er1
40679 cat conftest.err >&5
40680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40681 (exit $ac_status); } &&
40682 { ac_try='test -z "$ac_c_werror_flag"
40683 || test ! -s conftest.err'
40684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40685 (eval $ac_try) 2>&5
40686 ac_status=$?
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); }; } &&
40689 { ac_try='test -s conftest$ac_exeext'
40690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40691 (eval $ac_try) 2>&5
40692 ac_status=$?
40693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40694 (exit $ac_status); }; }; then
40695 eval "$as_ac_var=yes"
40696 else
40697 echo "$as_me: failed program was:" >&5
40698 sed 's/^/| /' conftest.$ac_ext >&5
40700 eval "$as_ac_var=no"
40702 rm -f conftest.err conftest.$ac_objext \
40703 conftest$ac_exeext conftest.$ac_ext
40705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40707 if test `eval echo '${'$as_ac_var'}'` = yes; then
40708 cat >>confdefs.h <<_ACEOF
40709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40710 _ACEOF
40713 done
40722 LIBS="$ac_save_LIBS"
40723 CXXFLAGS="$ac_save_CXXFLAGS"
40727 echo "$as_me:$LINENO: checking for main in -lm" >&5
40728 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
40729 if test "${ac_cv_lib_m_main+set}" = set; then
40730 echo $ECHO_N "(cached) $ECHO_C" >&6
40731 else
40732 ac_check_lib_save_LIBS=$LIBS
40733 LIBS="-lm $LIBS"
40734 if test x$gcc_no_link = xyes; then
40735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40737 { (exit 1); exit 1; }; }
40739 cat >conftest.$ac_ext <<_ACEOF
40740 /* confdefs.h. */
40741 _ACEOF
40742 cat confdefs.h >>conftest.$ac_ext
40743 cat >>conftest.$ac_ext <<_ACEOF
40744 /* end confdefs.h. */
40748 main ()
40750 main ();
40752 return 0;
40754 _ACEOF
40755 rm -f conftest.$ac_objext conftest$ac_exeext
40756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40757 (eval $ac_link) 2>conftest.er1
40758 ac_status=$?
40759 grep -v '^ *+' conftest.er1 >conftest.err
40760 rm -f conftest.er1
40761 cat conftest.err >&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); } &&
40764 { ac_try='test -z "$ac_c_werror_flag"
40765 || test ! -s conftest.err'
40766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40767 (eval $ac_try) 2>&5
40768 ac_status=$?
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); }; } &&
40771 { ac_try='test -s conftest$ac_exeext'
40772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40773 (eval $ac_try) 2>&5
40774 ac_status=$?
40775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 (exit $ac_status); }; }; then
40777 ac_cv_lib_m_main=yes
40778 else
40779 echo "$as_me: failed program was:" >&5
40780 sed 's/^/| /' conftest.$ac_ext >&5
40782 ac_cv_lib_m_main=no
40784 rm -f conftest.err conftest.$ac_objext \
40785 conftest$ac_exeext conftest.$ac_ext
40786 LIBS=$ac_check_lib_save_LIBS
40788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
40789 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
40790 if test $ac_cv_lib_m_main = yes; then
40791 cat >>confdefs.h <<_ACEOF
40792 #define HAVE_LIBM 1
40793 _ACEOF
40795 LIBS="-lm $LIBS"
40800 for ac_func in copysignf
40802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40803 echo "$as_me:$LINENO: checking for $ac_func" >&5
40804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40805 if eval "test \"\${$as_ac_var+set}\" = set"; then
40806 echo $ECHO_N "(cached) $ECHO_C" >&6
40807 else
40808 if test x$gcc_no_link = xyes; then
40809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40811 { (exit 1); exit 1; }; }
40813 cat >conftest.$ac_ext <<_ACEOF
40814 /* confdefs.h. */
40815 _ACEOF
40816 cat confdefs.h >>conftest.$ac_ext
40817 cat >>conftest.$ac_ext <<_ACEOF
40818 /* end confdefs.h. */
40819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40821 #define $ac_func innocuous_$ac_func
40823 /* System header to define __stub macros and hopefully few prototypes,
40824 which can conflict with char $ac_func (); below.
40825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40826 <limits.h> exists even on freestanding compilers. */
40828 #ifdef __STDC__
40829 # include <limits.h>
40830 #else
40831 # include <assert.h>
40832 #endif
40834 #undef $ac_func
40836 /* Override any gcc2 internal prototype to avoid an error. */
40837 #ifdef __cplusplus
40838 extern "C"
40840 #endif
40841 /* We use char because int might match the return type of a gcc2
40842 builtin and then its argument prototype would still apply. */
40843 char $ac_func ();
40844 /* The GNU C library defines this for functions which it implements
40845 to always fail with ENOSYS. Some functions are actually named
40846 something starting with __ and the normal name is an alias. */
40847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40848 choke me
40849 #else
40850 char (*f) () = $ac_func;
40851 #endif
40852 #ifdef __cplusplus
40854 #endif
40857 main ()
40859 return f != $ac_func;
40861 return 0;
40863 _ACEOF
40864 rm -f conftest.$ac_objext conftest$ac_exeext
40865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40866 (eval $ac_link) 2>conftest.er1
40867 ac_status=$?
40868 grep -v '^ *+' conftest.er1 >conftest.err
40869 rm -f conftest.er1
40870 cat conftest.err >&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); } &&
40873 { ac_try='test -z "$ac_c_werror_flag"
40874 || test ! -s conftest.err'
40875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40876 (eval $ac_try) 2>&5
40877 ac_status=$?
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); }; } &&
40880 { ac_try='test -s conftest$ac_exeext'
40881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40882 (eval $ac_try) 2>&5
40883 ac_status=$?
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); }; }; then
40886 eval "$as_ac_var=yes"
40887 else
40888 echo "$as_me: failed program was:" >&5
40889 sed 's/^/| /' conftest.$ac_ext >&5
40891 eval "$as_ac_var=no"
40893 rm -f conftest.err conftest.$ac_objext \
40894 conftest$ac_exeext conftest.$ac_ext
40896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40898 if test `eval echo '${'$as_ac_var'}'` = yes; then
40899 cat >>confdefs.h <<_ACEOF
40900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40901 _ACEOF
40903 else
40904 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
40906 done
40910 for ac_func in __signbit
40912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40913 echo "$as_me:$LINENO: checking for $ac_func" >&5
40914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40915 if eval "test \"\${$as_ac_var+set}\" = set"; then
40916 echo $ECHO_N "(cached) $ECHO_C" >&6
40917 else
40918 if test x$gcc_no_link = xyes; then
40919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40921 { (exit 1); exit 1; }; }
40923 cat >conftest.$ac_ext <<_ACEOF
40924 /* confdefs.h. */
40925 _ACEOF
40926 cat confdefs.h >>conftest.$ac_ext
40927 cat >>conftest.$ac_ext <<_ACEOF
40928 /* end confdefs.h. */
40929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40931 #define $ac_func innocuous_$ac_func
40933 /* System header to define __stub macros and hopefully few prototypes,
40934 which can conflict with char $ac_func (); below.
40935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40936 <limits.h> exists even on freestanding compilers. */
40938 #ifdef __STDC__
40939 # include <limits.h>
40940 #else
40941 # include <assert.h>
40942 #endif
40944 #undef $ac_func
40946 /* Override any gcc2 internal prototype to avoid an error. */
40947 #ifdef __cplusplus
40948 extern "C"
40950 #endif
40951 /* We use char because int might match the return type of a gcc2
40952 builtin and then its argument prototype would still apply. */
40953 char $ac_func ();
40954 /* The GNU C library defines this for functions which it implements
40955 to always fail with ENOSYS. Some functions are actually named
40956 something starting with __ and the normal name is an alias. */
40957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40958 choke me
40959 #else
40960 char (*f) () = $ac_func;
40961 #endif
40962 #ifdef __cplusplus
40964 #endif
40967 main ()
40969 return f != $ac_func;
40971 return 0;
40973 _ACEOF
40974 rm -f conftest.$ac_objext conftest$ac_exeext
40975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40976 (eval $ac_link) 2>conftest.er1
40977 ac_status=$?
40978 grep -v '^ *+' conftest.er1 >conftest.err
40979 rm -f conftest.er1
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } &&
40983 { ac_try='test -z "$ac_c_werror_flag"
40984 || test ! -s conftest.err'
40985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40986 (eval $ac_try) 2>&5
40987 ac_status=$?
40988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 (exit $ac_status); }; } &&
40990 { ac_try='test -s conftest$ac_exeext'
40991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40992 (eval $ac_try) 2>&5
40993 ac_status=$?
40994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40995 (exit $ac_status); }; }; then
40996 eval "$as_ac_var=yes"
40997 else
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.$ac_ext >&5
41001 eval "$as_ac_var=no"
41003 rm -f conftest.err conftest.$ac_objext \
41004 conftest$ac_exeext conftest.$ac_ext
41006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41008 if test `eval echo '${'$as_ac_var'}'` = yes; then
41009 cat >>confdefs.h <<_ACEOF
41010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41011 _ACEOF
41013 else
41014 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
41016 done
41020 for ac_func in __signbitf
41022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41023 echo "$as_me:$LINENO: checking for $ac_func" >&5
41024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41025 if eval "test \"\${$as_ac_var+set}\" = set"; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 else
41028 if test x$gcc_no_link = xyes; then
41029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41031 { (exit 1); exit 1; }; }
41033 cat >conftest.$ac_ext <<_ACEOF
41034 /* confdefs.h. */
41035 _ACEOF
41036 cat confdefs.h >>conftest.$ac_ext
41037 cat >>conftest.$ac_ext <<_ACEOF
41038 /* end confdefs.h. */
41039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41041 #define $ac_func innocuous_$ac_func
41043 /* System header to define __stub macros and hopefully few prototypes,
41044 which can conflict with char $ac_func (); below.
41045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41046 <limits.h> exists even on freestanding compilers. */
41048 #ifdef __STDC__
41049 # include <limits.h>
41050 #else
41051 # include <assert.h>
41052 #endif
41054 #undef $ac_func
41056 /* Override any gcc2 internal prototype to avoid an error. */
41057 #ifdef __cplusplus
41058 extern "C"
41060 #endif
41061 /* We use char because int might match the return type of a gcc2
41062 builtin and then its argument prototype would still apply. */
41063 char $ac_func ();
41064 /* The GNU C library defines this for functions which it implements
41065 to always fail with ENOSYS. Some functions are actually named
41066 something starting with __ and the normal name is an alias. */
41067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41068 choke me
41069 #else
41070 char (*f) () = $ac_func;
41071 #endif
41072 #ifdef __cplusplus
41074 #endif
41077 main ()
41079 return f != $ac_func;
41081 return 0;
41083 _ACEOF
41084 rm -f conftest.$ac_objext conftest$ac_exeext
41085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41086 (eval $ac_link) 2>conftest.er1
41087 ac_status=$?
41088 grep -v '^ *+' conftest.er1 >conftest.err
41089 rm -f conftest.er1
41090 cat conftest.err >&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); } &&
41093 { ac_try='test -z "$ac_c_werror_flag"
41094 || test ! -s conftest.err'
41095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41096 (eval $ac_try) 2>&5
41097 ac_status=$?
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); }; } &&
41100 { ac_try='test -s conftest$ac_exeext'
41101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41102 (eval $ac_try) 2>&5
41103 ac_status=$?
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); }; }; then
41106 eval "$as_ac_var=yes"
41107 else
41108 echo "$as_me: failed program was:" >&5
41109 sed 's/^/| /' conftest.$ac_ext >&5
41111 eval "$as_ac_var=no"
41113 rm -f conftest.err conftest.$ac_objext \
41114 conftest$ac_exeext conftest.$ac_ext
41116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41118 if test `eval echo '${'$as_ac_var'}'` = yes; then
41119 cat >>confdefs.h <<_ACEOF
41120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41121 _ACEOF
41123 else
41124 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
41126 done
41129 if test x$ac_cv_func_copysignl = x"yes"; then
41131 for ac_func in __signbitl
41133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41134 echo "$as_me:$LINENO: checking for $ac_func" >&5
41135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41136 if eval "test \"\${$as_ac_var+set}\" = set"; then
41137 echo $ECHO_N "(cached) $ECHO_C" >&6
41138 else
41139 if test x$gcc_no_link = xyes; then
41140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41142 { (exit 1); exit 1; }; }
41144 cat >conftest.$ac_ext <<_ACEOF
41145 /* confdefs.h. */
41146 _ACEOF
41147 cat confdefs.h >>conftest.$ac_ext
41148 cat >>conftest.$ac_ext <<_ACEOF
41149 /* end confdefs.h. */
41150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41152 #define $ac_func innocuous_$ac_func
41154 /* System header to define __stub macros and hopefully few prototypes,
41155 which can conflict with char $ac_func (); below.
41156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41157 <limits.h> exists even on freestanding compilers. */
41159 #ifdef __STDC__
41160 # include <limits.h>
41161 #else
41162 # include <assert.h>
41163 #endif
41165 #undef $ac_func
41167 /* Override any gcc2 internal prototype to avoid an error. */
41168 #ifdef __cplusplus
41169 extern "C"
41171 #endif
41172 /* We use char because int might match the return type of a gcc2
41173 builtin and then its argument prototype would still apply. */
41174 char $ac_func ();
41175 /* The GNU C library defines this for functions which it implements
41176 to always fail with ENOSYS. Some functions are actually named
41177 something starting with __ and the normal name is an alias. */
41178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41179 choke me
41180 #else
41181 char (*f) () = $ac_func;
41182 #endif
41183 #ifdef __cplusplus
41185 #endif
41188 main ()
41190 return f != $ac_func;
41192 return 0;
41194 _ACEOF
41195 rm -f conftest.$ac_objext conftest$ac_exeext
41196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41197 (eval $ac_link) 2>conftest.er1
41198 ac_status=$?
41199 grep -v '^ *+' conftest.er1 >conftest.err
41200 rm -f conftest.er1
41201 cat conftest.err >&5
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); } &&
41204 { ac_try='test -z "$ac_c_werror_flag"
41205 || test ! -s conftest.err'
41206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41207 (eval $ac_try) 2>&5
41208 ac_status=$?
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); }; } &&
41211 { ac_try='test -s conftest$ac_exeext'
41212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213 (eval $ac_try) 2>&5
41214 ac_status=$?
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); }; }; then
41217 eval "$as_ac_var=yes"
41218 else
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41222 eval "$as_ac_var=no"
41224 rm -f conftest.err conftest.$ac_objext \
41225 conftest$ac_exeext conftest.$ac_ext
41227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41229 if test `eval echo '${'$as_ac_var'}'` = yes; then
41230 cat >>confdefs.h <<_ACEOF
41231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41232 _ACEOF
41234 else
41235 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
41237 done
41241 # Used in libmath/Makefile.am.
41242 if test -n "$LIBMATHOBJS"; then
41243 need_libmath=yes
41248 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41249 ac_save_CXXFLAGS="$CXXFLAGS"
41250 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41253 echo "$as_me:$LINENO: checking for strtold declaration" >&5
41254 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
41255 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41256 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
41257 echo $ECHO_N "(cached) $ECHO_C" >&6
41258 else
41262 ac_ext=cc
41263 ac_cpp='$CXXCPP $CPPFLAGS'
41264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41268 cat >conftest.$ac_ext <<_ACEOF
41269 /* confdefs.h. */
41270 _ACEOF
41271 cat confdefs.h >>conftest.$ac_ext
41272 cat >>conftest.$ac_ext <<_ACEOF
41273 /* end confdefs.h. */
41274 #include <stdlib.h>
41276 main ()
41278 strtold(0, 0);
41280 return 0;
41282 _ACEOF
41283 rm -f conftest.$ac_objext
41284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41285 (eval $ac_compile) 2>conftest.er1
41286 ac_status=$?
41287 grep -v '^ *+' conftest.er1 >conftest.err
41288 rm -f conftest.er1
41289 cat conftest.err >&5
41290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291 (exit $ac_status); } &&
41292 { ac_try='test -z "$ac_cxx_werror_flag"
41293 || test ! -s conftest.err'
41294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41295 (eval $ac_try) 2>&5
41296 ac_status=$?
41297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41298 (exit $ac_status); }; } &&
41299 { ac_try='test -s conftest.$ac_objext'
41300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41301 (eval $ac_try) 2>&5
41302 ac_status=$?
41303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41304 (exit $ac_status); }; }; then
41305 glibcxx_cv_func_strtold_use=yes
41306 else
41307 echo "$as_me: failed program was:" >&5
41308 sed 's/^/| /' conftest.$ac_ext >&5
41310 glibcxx_cv_func_strtold_use=no
41312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41313 ac_ext=c
41314 ac_cpp='$CPP $CPPFLAGS'
41315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
41324 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
41325 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41327 for ac_func in strtold
41329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41330 echo "$as_me:$LINENO: checking for $ac_func" >&5
41331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41332 if eval "test \"\${$as_ac_var+set}\" = set"; then
41333 echo $ECHO_N "(cached) $ECHO_C" >&6
41334 else
41335 if test x$gcc_no_link = xyes; then
41336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41338 { (exit 1); exit 1; }; }
41340 cat >conftest.$ac_ext <<_ACEOF
41341 /* confdefs.h. */
41342 _ACEOF
41343 cat confdefs.h >>conftest.$ac_ext
41344 cat >>conftest.$ac_ext <<_ACEOF
41345 /* end confdefs.h. */
41346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41348 #define $ac_func innocuous_$ac_func
41350 /* System header to define __stub macros and hopefully few prototypes,
41351 which can conflict with char $ac_func (); below.
41352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41353 <limits.h> exists even on freestanding compilers. */
41355 #ifdef __STDC__
41356 # include <limits.h>
41357 #else
41358 # include <assert.h>
41359 #endif
41361 #undef $ac_func
41363 /* Override any gcc2 internal prototype to avoid an error. */
41364 #ifdef __cplusplus
41365 extern "C"
41367 #endif
41368 /* We use char because int might match the return type of a gcc2
41369 builtin and then its argument prototype would still apply. */
41370 char $ac_func ();
41371 /* The GNU C library defines this for functions which it implements
41372 to always fail with ENOSYS. Some functions are actually named
41373 something starting with __ and the normal name is an alias. */
41374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41375 choke me
41376 #else
41377 char (*f) () = $ac_func;
41378 #endif
41379 #ifdef __cplusplus
41381 #endif
41384 main ()
41386 return f != $ac_func;
41388 return 0;
41390 _ACEOF
41391 rm -f conftest.$ac_objext conftest$ac_exeext
41392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41393 (eval $ac_link) 2>conftest.er1
41394 ac_status=$?
41395 grep -v '^ *+' conftest.er1 >conftest.err
41396 rm -f conftest.er1
41397 cat conftest.err >&5
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); } &&
41400 { ac_try='test -z "$ac_c_werror_flag"
41401 || test ! -s conftest.err'
41402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41403 (eval $ac_try) 2>&5
41404 ac_status=$?
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); }; } &&
41407 { ac_try='test -s conftest$ac_exeext'
41408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41409 (eval $ac_try) 2>&5
41410 ac_status=$?
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; }; then
41413 eval "$as_ac_var=yes"
41414 else
41415 echo "$as_me: failed program was:" >&5
41416 sed 's/^/| /' conftest.$ac_ext >&5
41418 eval "$as_ac_var=no"
41420 rm -f conftest.err conftest.$ac_objext \
41421 conftest$ac_exeext conftest.$ac_ext
41423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41425 if test `eval echo '${'$as_ac_var'}'` = yes; then
41426 cat >>confdefs.h <<_ACEOF
41427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41428 _ACEOF
41431 done
41439 echo "$as_me:$LINENO: checking for strtof declaration" >&5
41440 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
41441 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41442 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
41443 echo $ECHO_N "(cached) $ECHO_C" >&6
41444 else
41448 ac_ext=cc
41449 ac_cpp='$CXXCPP $CPPFLAGS'
41450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41454 cat >conftest.$ac_ext <<_ACEOF
41455 /* confdefs.h. */
41456 _ACEOF
41457 cat confdefs.h >>conftest.$ac_ext
41458 cat >>conftest.$ac_ext <<_ACEOF
41459 /* end confdefs.h. */
41460 #include <stdlib.h>
41462 main ()
41464 strtof(0, 0);
41466 return 0;
41468 _ACEOF
41469 rm -f conftest.$ac_objext
41470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41471 (eval $ac_compile) 2>conftest.er1
41472 ac_status=$?
41473 grep -v '^ *+' conftest.er1 >conftest.err
41474 rm -f conftest.er1
41475 cat conftest.err >&5
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); } &&
41478 { ac_try='test -z "$ac_cxx_werror_flag"
41479 || test ! -s conftest.err'
41480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41481 (eval $ac_try) 2>&5
41482 ac_status=$?
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); }; } &&
41485 { ac_try='test -s conftest.$ac_objext'
41486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41487 (eval $ac_try) 2>&5
41488 ac_status=$?
41489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41490 (exit $ac_status); }; }; then
41491 glibcxx_cv_func_strtof_use=yes
41492 else
41493 echo "$as_me: failed program was:" >&5
41494 sed 's/^/| /' conftest.$ac_ext >&5
41496 glibcxx_cv_func_strtof_use=no
41498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41499 ac_ext=c
41500 ac_cpp='$CPP $CPPFLAGS'
41501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
41510 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
41511 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41513 for ac_func in strtof
41515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41516 echo "$as_me:$LINENO: checking for $ac_func" >&5
41517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41518 if eval "test \"\${$as_ac_var+set}\" = set"; then
41519 echo $ECHO_N "(cached) $ECHO_C" >&6
41520 else
41521 if test x$gcc_no_link = xyes; then
41522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41524 { (exit 1); exit 1; }; }
41526 cat >conftest.$ac_ext <<_ACEOF
41527 /* confdefs.h. */
41528 _ACEOF
41529 cat confdefs.h >>conftest.$ac_ext
41530 cat >>conftest.$ac_ext <<_ACEOF
41531 /* end confdefs.h. */
41532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41534 #define $ac_func innocuous_$ac_func
41536 /* System header to define __stub macros and hopefully few prototypes,
41537 which can conflict with char $ac_func (); below.
41538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41539 <limits.h> exists even on freestanding compilers. */
41541 #ifdef __STDC__
41542 # include <limits.h>
41543 #else
41544 # include <assert.h>
41545 #endif
41547 #undef $ac_func
41549 /* Override any gcc2 internal prototype to avoid an error. */
41550 #ifdef __cplusplus
41551 extern "C"
41553 #endif
41554 /* We use char because int might match the return type of a gcc2
41555 builtin and then its argument prototype would still apply. */
41556 char $ac_func ();
41557 /* The GNU C library defines this for functions which it implements
41558 to always fail with ENOSYS. Some functions are actually named
41559 something starting with __ and the normal name is an alias. */
41560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41561 choke me
41562 #else
41563 char (*f) () = $ac_func;
41564 #endif
41565 #ifdef __cplusplus
41567 #endif
41570 main ()
41572 return f != $ac_func;
41574 return 0;
41576 _ACEOF
41577 rm -f conftest.$ac_objext conftest$ac_exeext
41578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41579 (eval $ac_link) 2>conftest.er1
41580 ac_status=$?
41581 grep -v '^ *+' conftest.er1 >conftest.err
41582 rm -f conftest.er1
41583 cat conftest.err >&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); } &&
41586 { ac_try='test -z "$ac_c_werror_flag"
41587 || test ! -s conftest.err'
41588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41589 (eval $ac_try) 2>&5
41590 ac_status=$?
41591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41592 (exit $ac_status); }; } &&
41593 { ac_try='test -s conftest$ac_exeext'
41594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41595 (eval $ac_try) 2>&5
41596 ac_status=$?
41597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41598 (exit $ac_status); }; }; then
41599 eval "$as_ac_var=yes"
41600 else
41601 echo "$as_me: failed program was:" >&5
41602 sed 's/^/| /' conftest.$ac_ext >&5
41604 eval "$as_ac_var=no"
41606 rm -f conftest.err conftest.$ac_objext \
41607 conftest$ac_exeext conftest.$ac_ext
41609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41611 if test `eval echo '${'$as_ac_var'}'` = yes; then
41612 cat >>confdefs.h <<_ACEOF
41613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41614 _ACEOF
41617 done
41625 CXXFLAGS="$ac_save_CXXFLAGS"
41628 # For /dev/random and /dev/urandom for TR1.
41631 echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
41632 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
41633 if test "${glibcxx_cv_random_tr1+set}" = set; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 else
41637 if test -r /dev/random && test -r /dev/urandom; then
41638 glibcxx_cv_random_tr1=yes;
41639 else
41640 glibcxx_cv_random_tr1=no;
41645 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
41646 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
41648 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
41650 cat >>confdefs.h <<\_ACEOF
41651 #define _GLIBCXX_USE_RANDOM_TR1 1
41652 _ACEOF
41658 # For TLS support.
41660 # Check whether --enable-tls or --disable-tls was given.
41661 if test "${enable_tls+set}" = set; then
41662 enableval="$enable_tls"
41664 case "$enableval" in
41665 yes|no) ;;
41666 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41667 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41668 { (exit 1); exit 1; }; } ;;
41669 esac
41671 else
41672 enable_tls=yes
41675 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41676 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41677 if test "${gcc_cv_have_tls+set}" = set; then
41678 echo $ECHO_N "(cached) $ECHO_C" >&6
41679 else
41681 if test "$cross_compiling" = yes; then
41682 if test x$gcc_no_link = xyes; then
41683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41685 { (exit 1); exit 1; }; }
41687 cat >conftest.$ac_ext <<_ACEOF
41688 __thread int a; int b; int main() { return a = b; }
41689 _ACEOF
41690 rm -f conftest.$ac_objext conftest$ac_exeext
41691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41692 (eval $ac_link) 2>conftest.er1
41693 ac_status=$?
41694 grep -v '^ *+' conftest.er1 >conftest.err
41695 rm -f conftest.er1
41696 cat conftest.err >&5
41697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698 (exit $ac_status); } &&
41699 { ac_try='test -z "$ac_c_werror_flag"
41700 || test ! -s conftest.err'
41701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41702 (eval $ac_try) 2>&5
41703 ac_status=$?
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); }; } &&
41706 { ac_try='test -s conftest$ac_exeext'
41707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41708 (eval $ac_try) 2>&5
41709 ac_status=$?
41710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41711 (exit $ac_status); }; }; then
41712 gcc_cv_have_tls=yes
41713 else
41714 echo "$as_me: failed program was:" >&5
41715 sed 's/^/| /' conftest.$ac_ext >&5
41717 gcc_cv_have_tls=no
41719 rm -f conftest.err conftest.$ac_objext \
41720 conftest$ac_exeext conftest.$ac_ext
41723 else
41724 cat >conftest.$ac_ext <<_ACEOF
41725 __thread int a; int b; int main() { return a = b; }
41726 _ACEOF
41727 rm -f conftest$ac_exeext
41728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41729 (eval $ac_link) 2>&5
41730 ac_status=$?
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41734 (eval $ac_try) 2>&5
41735 ac_status=$?
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); }; }; then
41738 chktls_save_LDFLAGS="$LDFLAGS"
41739 LDFLAGS="-static $LDFLAGS"
41740 if test x$gcc_no_link = xyes; then
41741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41743 { (exit 1); exit 1; }; }
41745 cat >conftest.$ac_ext <<_ACEOF
41746 int main() { return 0; }
41747 _ACEOF
41748 rm -f conftest.$ac_objext conftest$ac_exeext
41749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41750 (eval $ac_link) 2>conftest.er1
41751 ac_status=$?
41752 grep -v '^ *+' conftest.er1 >conftest.err
41753 rm -f conftest.er1
41754 cat conftest.err >&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } &&
41757 { ac_try='test -z "$ac_c_werror_flag"
41758 || test ! -s conftest.err'
41759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41760 (eval $ac_try) 2>&5
41761 ac_status=$?
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; } &&
41764 { ac_try='test -s conftest$ac_exeext'
41765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41766 (eval $ac_try) 2>&5
41767 ac_status=$?
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); }; }; then
41770 if test "$cross_compiling" = yes; then
41771 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41772 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41773 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41774 See \`config.log' for more details." >&5
41775 echo "$as_me: error: cannot run test program while cross compiling
41776 See \`config.log' for more details." >&2;}
41777 { (exit 1); exit 1; }; }; }
41778 else
41779 cat >conftest.$ac_ext <<_ACEOF
41780 __thread int a; int b; int main() { return a = b; }
41781 _ACEOF
41782 rm -f conftest$ac_exeext
41783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41784 (eval $ac_link) 2>&5
41785 ac_status=$?
41786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41789 (eval $ac_try) 2>&5
41790 ac_status=$?
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); }; }; then
41793 gcc_cv_have_tls=yes
41794 else
41795 echo "$as_me: program exited with status $ac_status" >&5
41796 echo "$as_me: failed program was:" >&5
41797 sed 's/^/| /' conftest.$ac_ext >&5
41799 ( exit $ac_status )
41800 gcc_cv_have_tls=no
41802 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41804 else
41805 echo "$as_me: failed program was:" >&5
41806 sed 's/^/| /' conftest.$ac_ext >&5
41808 gcc_cv_have_tls=yes
41810 rm -f conftest.err conftest.$ac_objext \
41811 conftest$ac_exeext conftest.$ac_ext
41812 LDFLAGS="$chktls_save_LDFLAGS"
41813 if test $gcc_cv_have_tls = yes; then
41814 chktls_save_CFLAGS="$CFLAGS"
41815 thread_CFLAGS=failed
41816 for flag in '' '-pthread' '-lpthread'; do
41817 CFLAGS="$flag $chktls_save_CFLAGS"
41818 if test x$gcc_no_link = xyes; then
41819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41821 { (exit 1); exit 1; }; }
41823 cat >conftest.$ac_ext <<_ACEOF
41824 /* confdefs.h. */
41825 _ACEOF
41826 cat confdefs.h >>conftest.$ac_ext
41827 cat >>conftest.$ac_ext <<_ACEOF
41828 /* end confdefs.h. */
41829 #include <pthread.h>
41830 void *g(void *d) { return NULL; }
41832 main ()
41834 pthread_t t; pthread_create(&t,NULL,g,NULL);
41836 return 0;
41838 _ACEOF
41839 rm -f conftest.$ac_objext conftest$ac_exeext
41840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41841 (eval $ac_link) 2>conftest.er1
41842 ac_status=$?
41843 grep -v '^ *+' conftest.er1 >conftest.err
41844 rm -f conftest.er1
41845 cat conftest.err >&5
41846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41847 (exit $ac_status); } &&
41848 { ac_try='test -z "$ac_c_werror_flag"
41849 || test ! -s conftest.err'
41850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41851 (eval $ac_try) 2>&5
41852 ac_status=$?
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); }; } &&
41855 { ac_try='test -s conftest$ac_exeext'
41856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41857 (eval $ac_try) 2>&5
41858 ac_status=$?
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); }; }; then
41861 thread_CFLAGS="$flag"
41862 else
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41867 rm -f conftest.err conftest.$ac_objext \
41868 conftest$ac_exeext conftest.$ac_ext
41869 if test "X$thread_CFLAGS" != Xfailed; then
41870 break
41872 done
41873 CFLAGS="$chktls_save_CFLAGS"
41874 if test "X$thread_CFLAGS" != Xfailed; then
41875 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41876 if test "$cross_compiling" = yes; then
41877 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41878 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41879 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41880 See \`config.log' for more details." >&5
41881 echo "$as_me: error: cannot run test program while cross compiling
41882 See \`config.log' for more details." >&2;}
41883 { (exit 1); exit 1; }; }; }
41884 else
41885 cat >conftest.$ac_ext <<_ACEOF
41886 /* confdefs.h. */
41887 _ACEOF
41888 cat confdefs.h >>conftest.$ac_ext
41889 cat >>conftest.$ac_ext <<_ACEOF
41890 /* end confdefs.h. */
41891 #include <pthread.h>
41892 __thread int a;
41893 static int *a_in_other_thread;
41894 static void *
41895 thread_func (void *arg)
41897 a_in_other_thread = &a;
41898 return (void *)0;
41901 main ()
41903 pthread_t thread;
41904 void *thread_retval;
41905 int *a_in_main_thread;
41906 if (pthread_create (&thread, (pthread_attr_t *)0,
41907 thread_func, (void *)0))
41908 return 0;
41909 a_in_main_thread = &a;
41910 if (pthread_join (thread, &thread_retval))
41911 return 0;
41912 return (a_in_other_thread == a_in_main_thread);
41914 return 0;
41916 _ACEOF
41917 rm -f conftest$ac_exeext
41918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41919 (eval $ac_link) 2>&5
41920 ac_status=$?
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41924 (eval $ac_try) 2>&5
41925 ac_status=$?
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); }; }; then
41928 gcc_cv_have_tls=yes
41929 else
41930 echo "$as_me: program exited with status $ac_status" >&5
41931 echo "$as_me: failed program was:" >&5
41932 sed 's/^/| /' conftest.$ac_ext >&5
41934 ( exit $ac_status )
41935 gcc_cv_have_tls=no
41937 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41939 CFLAGS="$chktls_save_CFLAGS"
41942 else
41943 echo "$as_me: program exited with status $ac_status" >&5
41944 echo "$as_me: failed program was:" >&5
41945 sed 's/^/| /' conftest.$ac_ext >&5
41947 ( exit $ac_status )
41948 gcc_cv_have_tls=no
41950 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41953 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41954 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41955 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41957 cat >>confdefs.h <<\_ACEOF
41958 #define HAVE_TLS 1
41959 _ACEOF
41963 # For _Unwind_GetIPInfo.
41967 ac_ext=cc
41968 ac_cpp='$CXXCPP $CPPFLAGS'
41969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41973 ac_save_CXXFLAGS="$CXXFLAGS"
41974 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41975 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41976 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41977 if test "${gcc_cv_getipinfo+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 else
41981 if test x$gcc_no_link = xyes; then
41982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41984 { (exit 1); exit 1; }; }
41986 cat >conftest.$ac_ext <<_ACEOF
41987 /* confdefs.h. */
41988 _ACEOF
41989 cat confdefs.h >>conftest.$ac_ext
41990 cat >>conftest.$ac_ext <<_ACEOF
41991 /* end confdefs.h. */
41992 extern "C" { extern void _Unwind_GetIPInfo(); }
41994 main ()
41996 _Unwind_GetIPInfo();
41998 return 0;
42000 _ACEOF
42001 rm -f conftest.$ac_objext conftest$ac_exeext
42002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42003 (eval $ac_link) 2>conftest.er1
42004 ac_status=$?
42005 grep -v '^ *+' conftest.er1 >conftest.err
42006 rm -f conftest.er1
42007 cat conftest.err >&5
42008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42009 (exit $ac_status); } &&
42010 { ac_try='test -z "$ac_cxx_werror_flag"
42011 || test ! -s conftest.err'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42014 ac_status=$?
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; } &&
42017 { ac_try='test -s conftest$ac_exeext'
42018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42019 (eval $ac_try) 2>&5
42020 ac_status=$?
42021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022 (exit $ac_status); }; }; then
42023 gcc_cv_getipinfo=yes
42024 else
42025 echo "$as_me: failed program was:" >&5
42026 sed 's/^/| /' conftest.$ac_ext >&5
42028 gcc_cv_getipinfo=no
42030 rm -f conftest.err conftest.$ac_objext \
42031 conftest$ac_exeext conftest.$ac_ext
42035 if test $gcc_cv_getipinfo = yes; then
42037 cat >>confdefs.h <<\_ACEOF
42038 #define HAVE_GETIPINFO 1
42039 _ACEOF
42042 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
42043 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
42044 CXXFLAGS="$ac_save_CXXFLAGS"
42045 ac_ext=c
42046 ac_cpp='$CPP $CPPFLAGS'
42047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42053 # For iconv support.
42055 if test "X$prefix" = "XNONE"; then
42056 acl_final_prefix="$ac_default_prefix"
42057 else
42058 acl_final_prefix="$prefix"
42060 if test "X$exec_prefix" = "XNONE"; then
42061 acl_final_exec_prefix='${prefix}'
42062 else
42063 acl_final_exec_prefix="$exec_prefix"
42065 acl_save_prefix="$prefix"
42066 prefix="$acl_final_prefix"
42067 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42068 prefix="$acl_save_prefix"
42071 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42072 if test "${with_gnu_ld+set}" = set; then
42073 withval="$with_gnu_ld"
42074 test "$withval" = no || with_gnu_ld=yes
42075 else
42076 with_gnu_ld=no
42078 # Prepare PATH_SEPARATOR.
42079 # The user is always right.
42080 if test "${PATH_SEPARATOR+set}" != set; then
42081 echo "#! /bin/sh" >conf$$.sh
42082 echo "exit 0" >>conf$$.sh
42083 chmod +x conf$$.sh
42084 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42085 PATH_SEPARATOR=';'
42086 else
42087 PATH_SEPARATOR=:
42089 rm -f conf$$.sh
42091 ac_prog=ld
42092 if test "$GCC" = yes; then
42093 # Check if gcc -print-prog-name=ld gives a path.
42094 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42095 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42096 case $host in
42097 *-*-mingw*)
42098 # gcc leaves a trailing carriage return which upsets mingw
42099 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42101 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42102 esac
42103 case $ac_prog in
42104 # Accept absolute paths.
42105 [\\/]* | [A-Za-z]:[\\/]*)
42106 re_direlt='/[^/][^/]*/\.\./'
42107 # Canonicalize the path of ld
42108 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42109 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42110 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42111 done
42112 test -z "$LD" && LD="$ac_prog"
42115 # If it fails, then pretend we aren't using GCC.
42116 ac_prog=ld
42119 # If it is relative, then search for the first ld in PATH.
42120 with_gnu_ld=unknown
42122 esac
42123 elif test "$with_gnu_ld" = yes; then
42124 echo "$as_me:$LINENO: checking for GNU ld" >&5
42125 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42126 else
42127 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42128 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42130 if test "${acl_cv_path_LD+set}" = set; then
42131 echo $ECHO_N "(cached) $ECHO_C" >&6
42132 else
42133 if test -z "$LD"; then
42134 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42135 for ac_dir in $PATH; do
42136 test -z "$ac_dir" && ac_dir=.
42137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42138 acl_cv_path_LD="$ac_dir/$ac_prog"
42139 # Check to see if the program is GNU ld. I'd rather use --version,
42140 # but apparently some GNU ld's only accept -v.
42141 # Break only if it was the GNU/non-GNU ld that we prefer.
42142 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42143 test "$with_gnu_ld" != no && break
42144 else
42145 test "$with_gnu_ld" != yes && break
42148 done
42149 IFS="$ac_save_ifs"
42150 else
42151 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42155 LD="$acl_cv_path_LD"
42156 if test -n "$LD"; then
42157 echo "$as_me:$LINENO: result: $LD" >&5
42158 echo "${ECHO_T}$LD" >&6
42159 else
42160 echo "$as_me:$LINENO: result: no" >&5
42161 echo "${ECHO_T}no" >&6
42163 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42164 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42165 { (exit 1); exit 1; }; }
42166 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42167 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42168 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42169 echo $ECHO_N "(cached) $ECHO_C" >&6
42170 else
42171 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42172 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42173 acl_cv_prog_gnu_ld=yes
42174 else
42175 acl_cv_prog_gnu_ld=no
42178 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42179 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42180 with_gnu_ld=$acl_cv_prog_gnu_ld
42184 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42185 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42186 if test "${acl_cv_rpath+set}" = set; then
42187 echo $ECHO_N "(cached) $ECHO_C" >&6
42188 else
42190 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42191 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42192 . ./conftest.sh
42193 rm -f ./conftest.sh
42194 acl_cv_rpath=done
42197 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42198 echo "${ECHO_T}$acl_cv_rpath" >&6
42199 wl="$acl_cv_wl"
42200 libext="$acl_cv_libext"
42201 shlibext="$acl_cv_shlibext"
42202 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42203 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42204 hardcode_direct="$acl_cv_hardcode_direct"
42205 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42206 # Check whether --enable-rpath or --disable-rpath was given.
42207 if test "${enable_rpath+set}" = set; then
42208 enableval="$enable_rpath"
42210 else
42211 enable_rpath=yes
42220 use_additional=yes
42222 acl_save_prefix="$prefix"
42223 prefix="$acl_final_prefix"
42224 acl_save_exec_prefix="$exec_prefix"
42225 exec_prefix="$acl_final_exec_prefix"
42227 eval additional_includedir=\"$includedir\"
42228 eval additional_libdir=\"$libdir\"
42230 exec_prefix="$acl_save_exec_prefix"
42231 prefix="$acl_save_prefix"
42234 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42235 if test "${with_libiconv_prefix+set}" = set; then
42236 withval="$with_libiconv_prefix"
42238 if test "X$withval" = "Xno"; then
42239 use_additional=no
42240 else
42241 if test "X$withval" = "X"; then
42243 acl_save_prefix="$prefix"
42244 prefix="$acl_final_prefix"
42245 acl_save_exec_prefix="$exec_prefix"
42246 exec_prefix="$acl_final_exec_prefix"
42248 eval additional_includedir=\"$includedir\"
42249 eval additional_libdir=\"$libdir\"
42251 exec_prefix="$acl_save_exec_prefix"
42252 prefix="$acl_save_prefix"
42254 else
42255 additional_includedir="$withval/include"
42256 additional_libdir="$withval/lib"
42261 LIBICONV=
42262 LTLIBICONV=
42263 INCICONV=
42264 rpathdirs=
42265 ltrpathdirs=
42266 names_already_handled=
42267 names_next_round='iconv '
42268 while test -n "$names_next_round"; do
42269 names_this_round="$names_next_round"
42270 names_next_round=
42271 for name in $names_this_round; do
42272 already_handled=
42273 for n in $names_already_handled; do
42274 if test "$n" = "$name"; then
42275 already_handled=yes
42276 break
42278 done
42279 if test -z "$already_handled"; then
42280 names_already_handled="$names_already_handled $name"
42281 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42282 eval value=\"\$HAVE_LIB$uppername\"
42283 if test -n "$value"; then
42284 if test "$value" = yes; then
42285 eval value=\"\$LIB$uppername\"
42286 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42287 eval value=\"\$LTLIB$uppername\"
42288 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42289 else
42292 else
42293 found_dir=
42294 found_la=
42295 found_so=
42296 found_a=
42297 if test $use_additional = yes; then
42298 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42299 found_dir="$additional_libdir"
42300 found_so="$additional_libdir/lib$name.$shlibext"
42301 if test -f "$additional_libdir/lib$name.la"; then
42302 found_la="$additional_libdir/lib$name.la"
42304 else
42305 if test -f "$additional_libdir/lib$name.$libext"; then
42306 found_dir="$additional_libdir"
42307 found_a="$additional_libdir/lib$name.$libext"
42308 if test -f "$additional_libdir/lib$name.la"; then
42309 found_la="$additional_libdir/lib$name.la"
42314 if test "X$found_dir" = "X"; then
42315 for x in $LDFLAGS $LTLIBICONV; do
42317 acl_save_prefix="$prefix"
42318 prefix="$acl_final_prefix"
42319 acl_save_exec_prefix="$exec_prefix"
42320 exec_prefix="$acl_final_exec_prefix"
42321 eval x=\"$x\"
42322 exec_prefix="$acl_save_exec_prefix"
42323 prefix="$acl_save_prefix"
42325 case "$x" in
42326 -L*)
42327 dir=`echo "X$x" | sed -e 's/^X-L//'`
42328 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42329 found_dir="$dir"
42330 found_so="$dir/lib$name.$shlibext"
42331 if test -f "$dir/lib$name.la"; then
42332 found_la="$dir/lib$name.la"
42334 else
42335 if test -f "$dir/lib$name.$libext"; then
42336 found_dir="$dir"
42337 found_a="$dir/lib$name.$libext"
42338 if test -f "$dir/lib$name.la"; then
42339 found_la="$dir/lib$name.la"
42344 esac
42345 if test "X$found_dir" != "X"; then
42346 break
42348 done
42350 if test "X$found_dir" != "X"; then
42351 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42352 if test "X$found_so" != "X"; then
42353 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42354 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42355 else
42356 haveit=
42357 for x in $ltrpathdirs; do
42358 if test "X$x" = "X$found_dir"; then
42359 haveit=yes
42360 break
42362 done
42363 if test -z "$haveit"; then
42364 ltrpathdirs="$ltrpathdirs $found_dir"
42366 if test "$hardcode_direct" = yes; then
42367 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42368 else
42369 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42370 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42371 haveit=
42372 for x in $rpathdirs; do
42373 if test "X$x" = "X$found_dir"; then
42374 haveit=yes
42375 break
42377 done
42378 if test -z "$haveit"; then
42379 rpathdirs="$rpathdirs $found_dir"
42381 else
42382 haveit=
42383 for x in $LDFLAGS $LIBICONV; do
42385 acl_save_prefix="$prefix"
42386 prefix="$acl_final_prefix"
42387 acl_save_exec_prefix="$exec_prefix"
42388 exec_prefix="$acl_final_exec_prefix"
42389 eval x=\"$x\"
42390 exec_prefix="$acl_save_exec_prefix"
42391 prefix="$acl_save_prefix"
42393 if test "X$x" = "X-L$found_dir"; then
42394 haveit=yes
42395 break
42397 done
42398 if test -z "$haveit"; then
42399 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42401 if test "$hardcode_minus_L" != no; then
42402 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42403 else
42404 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42409 else
42410 if test "X$found_a" != "X"; then
42411 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42412 else
42413 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42416 additional_includedir=
42417 case "$found_dir" in
42418 */lib | */lib/)
42419 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42420 additional_includedir="$basedir/include"
42422 esac
42423 if test "X$additional_includedir" != "X"; then
42424 if test "X$additional_includedir" != "X/usr/include"; then
42425 haveit=
42426 if test "X$additional_includedir" = "X/usr/local/include"; then
42427 if test -n "$GCC"; then
42428 case $host_os in
42429 linux*) haveit=yes;;
42430 esac
42433 if test -z "$haveit"; then
42434 for x in $CPPFLAGS $INCICONV; do
42436 acl_save_prefix="$prefix"
42437 prefix="$acl_final_prefix"
42438 acl_save_exec_prefix="$exec_prefix"
42439 exec_prefix="$acl_final_exec_prefix"
42440 eval x=\"$x\"
42441 exec_prefix="$acl_save_exec_prefix"
42442 prefix="$acl_save_prefix"
42444 if test "X$x" = "X-I$additional_includedir"; then
42445 haveit=yes
42446 break
42448 done
42449 if test -z "$haveit"; then
42450 if test -d "$additional_includedir"; then
42451 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42457 if test -n "$found_la"; then
42458 save_libdir="$libdir"
42459 case "$found_la" in
42460 */* | *\\*) . "$found_la" ;;
42461 *) . "./$found_la" ;;
42462 esac
42463 libdir="$save_libdir"
42464 for dep in $dependency_libs; do
42465 case "$dep" in
42466 -L*)
42467 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42468 if test "X$additional_libdir" != "X/usr/lib"; then
42469 haveit=
42470 if test "X$additional_libdir" = "X/usr/local/lib"; then
42471 if test -n "$GCC"; then
42472 case $host_os in
42473 linux*) haveit=yes;;
42474 esac
42477 if test -z "$haveit"; then
42478 haveit=
42479 for x in $LDFLAGS $LIBICONV; do
42481 acl_save_prefix="$prefix"
42482 prefix="$acl_final_prefix"
42483 acl_save_exec_prefix="$exec_prefix"
42484 exec_prefix="$acl_final_exec_prefix"
42485 eval x=\"$x\"
42486 exec_prefix="$acl_save_exec_prefix"
42487 prefix="$acl_save_prefix"
42489 if test "X$x" = "X-L$additional_libdir"; then
42490 haveit=yes
42491 break
42493 done
42494 if test -z "$haveit"; then
42495 if test -d "$additional_libdir"; then
42496 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42499 haveit=
42500 for x in $LDFLAGS $LTLIBICONV; do
42502 acl_save_prefix="$prefix"
42503 prefix="$acl_final_prefix"
42504 acl_save_exec_prefix="$exec_prefix"
42505 exec_prefix="$acl_final_exec_prefix"
42506 eval x=\"$x\"
42507 exec_prefix="$acl_save_exec_prefix"
42508 prefix="$acl_save_prefix"
42510 if test "X$x" = "X-L$additional_libdir"; then
42511 haveit=yes
42512 break
42514 done
42515 if test -z "$haveit"; then
42516 if test -d "$additional_libdir"; then
42517 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42523 -R*)
42524 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42525 if test "$enable_rpath" != no; then
42526 haveit=
42527 for x in $rpathdirs; do
42528 if test "X$x" = "X$dir"; then
42529 haveit=yes
42530 break
42532 done
42533 if test -z "$haveit"; then
42534 rpathdirs="$rpathdirs $dir"
42536 haveit=
42537 for x in $ltrpathdirs; do
42538 if test "X$x" = "X$dir"; then
42539 haveit=yes
42540 break
42542 done
42543 if test -z "$haveit"; then
42544 ltrpathdirs="$ltrpathdirs $dir"
42548 -l*)
42549 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42551 *.la)
42552 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42555 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42556 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42558 esac
42559 done
42561 else
42562 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42563 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42567 done
42568 done
42569 if test "X$rpathdirs" != "X"; then
42570 if test -n "$hardcode_libdir_separator"; then
42571 alldirs=
42572 for found_dir in $rpathdirs; do
42573 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42574 done
42575 acl_save_libdir="$libdir"
42576 libdir="$alldirs"
42577 eval flag=\"$hardcode_libdir_flag_spec\"
42578 libdir="$acl_save_libdir"
42579 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42580 else
42581 for found_dir in $rpathdirs; do
42582 acl_save_libdir="$libdir"
42583 libdir="$found_dir"
42584 eval flag=\"$hardcode_libdir_flag_spec\"
42585 libdir="$acl_save_libdir"
42586 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42587 done
42590 if test "X$ltrpathdirs" != "X"; then
42591 for found_dir in $ltrpathdirs; do
42592 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42593 done
42602 am_save_CPPFLAGS="$CPPFLAGS"
42604 for element in $INCICONV; do
42605 haveit=
42606 for x in $CPPFLAGS; do
42608 acl_save_prefix="$prefix"
42609 prefix="$acl_final_prefix"
42610 acl_save_exec_prefix="$exec_prefix"
42611 exec_prefix="$acl_final_exec_prefix"
42612 eval x=\"$x\"
42613 exec_prefix="$acl_save_exec_prefix"
42614 prefix="$acl_save_prefix"
42616 if test "X$x" = "X$element"; then
42617 haveit=yes
42618 break
42620 done
42621 if test -z "$haveit"; then
42622 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42624 done
42627 echo "$as_me:$LINENO: checking for iconv" >&5
42628 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42629 if test "${am_cv_func_iconv+set}" = set; then
42630 echo $ECHO_N "(cached) $ECHO_C" >&6
42631 else
42633 am_cv_func_iconv="no, consider installing GNU libiconv"
42634 am_cv_lib_iconv=no
42635 if test x$gcc_no_link = xyes; then
42636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42638 { (exit 1); exit 1; }; }
42640 cat >conftest.$ac_ext <<_ACEOF
42641 /* confdefs.h. */
42642 _ACEOF
42643 cat confdefs.h >>conftest.$ac_ext
42644 cat >>conftest.$ac_ext <<_ACEOF
42645 /* end confdefs.h. */
42646 #include <stdlib.h>
42647 #include <iconv.h>
42649 main ()
42651 iconv_t cd = iconv_open("","");
42652 iconv(cd,NULL,NULL,NULL,NULL);
42653 iconv_close(cd);
42655 return 0;
42657 _ACEOF
42658 rm -f conftest.$ac_objext conftest$ac_exeext
42659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42660 (eval $ac_link) 2>conftest.er1
42661 ac_status=$?
42662 grep -v '^ *+' conftest.er1 >conftest.err
42663 rm -f conftest.er1
42664 cat conftest.err >&5
42665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42666 (exit $ac_status); } &&
42667 { ac_try='test -z "$ac_c_werror_flag"
42668 || test ! -s conftest.err'
42669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42670 (eval $ac_try) 2>&5
42671 ac_status=$?
42672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42673 (exit $ac_status); }; } &&
42674 { ac_try='test -s conftest$ac_exeext'
42675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42676 (eval $ac_try) 2>&5
42677 ac_status=$?
42678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42679 (exit $ac_status); }; }; then
42680 am_cv_func_iconv=yes
42681 else
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.$ac_ext >&5
42686 rm -f conftest.err conftest.$ac_objext \
42687 conftest$ac_exeext conftest.$ac_ext
42688 if test "$am_cv_func_iconv" != yes; then
42689 am_save_LIBS="$LIBS"
42690 LIBS="$LIBS $LIBICONV"
42691 if test x$gcc_no_link = xyes; then
42692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42694 { (exit 1); exit 1; }; }
42696 cat >conftest.$ac_ext <<_ACEOF
42697 /* confdefs.h. */
42698 _ACEOF
42699 cat confdefs.h >>conftest.$ac_ext
42700 cat >>conftest.$ac_ext <<_ACEOF
42701 /* end confdefs.h. */
42702 #include <stdlib.h>
42703 #include <iconv.h>
42705 main ()
42707 iconv_t cd = iconv_open("","");
42708 iconv(cd,NULL,NULL,NULL,NULL);
42709 iconv_close(cd);
42711 return 0;
42713 _ACEOF
42714 rm -f conftest.$ac_objext conftest$ac_exeext
42715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42716 (eval $ac_link) 2>conftest.er1
42717 ac_status=$?
42718 grep -v '^ *+' conftest.er1 >conftest.err
42719 rm -f conftest.er1
42720 cat conftest.err >&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); } &&
42723 { ac_try='test -z "$ac_c_werror_flag"
42724 || test ! -s conftest.err'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42727 ac_status=$?
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; } &&
42730 { ac_try='test -s conftest$ac_exeext'
42731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42732 (eval $ac_try) 2>&5
42733 ac_status=$?
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); }; }; then
42736 am_cv_lib_iconv=yes
42737 am_cv_func_iconv=yes
42738 else
42739 echo "$as_me: failed program was:" >&5
42740 sed 's/^/| /' conftest.$ac_ext >&5
42743 rm -f conftest.err conftest.$ac_objext \
42744 conftest$ac_exeext conftest.$ac_ext
42745 LIBS="$am_save_LIBS"
42749 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42750 echo "${ECHO_T}$am_cv_func_iconv" >&6
42751 if test "$am_cv_func_iconv" = yes; then
42753 cat >>confdefs.h <<\_ACEOF
42754 #define HAVE_ICONV 1
42755 _ACEOF
42758 if test "$am_cv_lib_iconv" = yes; then
42759 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42760 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42761 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42762 echo "${ECHO_T}$LIBICONV" >&6
42763 else
42764 CPPFLAGS="$am_save_CPPFLAGS"
42765 LIBICONV=
42766 LTLIBICONV=
42771 if test "$am_cv_func_iconv" = yes; then
42772 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42773 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42774 if test "${am_cv_proto_iconv+set}" = set; then
42775 echo $ECHO_N "(cached) $ECHO_C" >&6
42776 else
42778 cat >conftest.$ac_ext <<_ACEOF
42779 /* confdefs.h. */
42780 _ACEOF
42781 cat confdefs.h >>conftest.$ac_ext
42782 cat >>conftest.$ac_ext <<_ACEOF
42783 /* end confdefs.h. */
42785 #include <stdlib.h>
42786 #include <iconv.h>
42787 extern
42788 #ifdef __cplusplus
42790 #endif
42791 #if defined(__STDC__) || defined(__cplusplus)
42792 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42793 #else
42794 size_t iconv();
42795 #endif
42798 main ()
42802 return 0;
42804 _ACEOF
42805 rm -f conftest.$ac_objext
42806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42807 (eval $ac_compile) 2>conftest.er1
42808 ac_status=$?
42809 grep -v '^ *+' conftest.er1 >conftest.err
42810 rm -f conftest.er1
42811 cat conftest.err >&5
42812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42813 (exit $ac_status); } &&
42814 { ac_try='test -z "$ac_c_werror_flag"
42815 || test ! -s conftest.err'
42816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42817 (eval $ac_try) 2>&5
42818 ac_status=$?
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); }; } &&
42821 { ac_try='test -s conftest.$ac_objext'
42822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42823 (eval $ac_try) 2>&5
42824 ac_status=$?
42825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42826 (exit $ac_status); }; }; then
42827 am_cv_proto_iconv_arg1=""
42828 else
42829 echo "$as_me: failed program was:" >&5
42830 sed 's/^/| /' conftest.$ac_ext >&5
42832 am_cv_proto_iconv_arg1="const"
42834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42835 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);"
42838 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42839 echo "$as_me:$LINENO: result: ${ac_t:-
42840 }$am_cv_proto_iconv" >&5
42841 echo "${ECHO_T}${ac_t:-
42842 }$am_cv_proto_iconv" >&6
42844 cat >>confdefs.h <<_ACEOF
42845 #define ICONV_CONST $am_cv_proto_iconv_arg1
42846 _ACEOF
42851 else
42853 # This lets us hard-code the functionality we know we'll have in the cross
42854 # target environment. "Let" is a sugar-coated word placed on an especially
42855 # dull and tedious hack, actually.
42857 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42858 # that involve linking, can't be used:
42859 # "cannot open sim-crt0.o"
42860 # "cannot open crt0.o"
42861 # etc. All this is because there currently exists no unified, consistent
42862 # way for top level CC information to be passed down to target directories:
42863 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42864 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42865 # crosses can be removed.
42867 # If Canadian cross, then don't pick up tools from the build directory.
42868 # Used only in GLIBCXX_EXPORT_INCLUDES.
42869 if test -n "$with_cross_host" &&
42870 test x"$build_alias" != x"$with_cross_host" &&
42871 test x"$build" != x"$target";
42872 then
42873 CANADIAN=yes
42874 else
42875 CANADIAN=no
42878 # Construct crosses by hand, eliminating bits that need ld...
42879 # GLIBCXX_CHECK_MATH_SUPPORT
42881 # First, test for "known" system libraries. We may be using newlib even
42882 # on a hosted environment.
42883 if test "x${with_newlib}" = "xyes"; then
42884 os_include_dir="os/newlib"
42885 cat >>confdefs.h <<\_ACEOF
42886 #define HAVE_HYPOT 1
42887 _ACEOF
42890 # GLIBCXX_CHECK_STDLIB_SUPPORT
42891 cat >>confdefs.h <<\_ACEOF
42892 #define HAVE_STRTOF 1
42893 _ACEOF
42896 cat >>confdefs.h <<\_ACEOF
42897 #define HAVE_ACOSF 1
42898 _ACEOF
42900 cat >>confdefs.h <<\_ACEOF
42901 #define HAVE_ASINF 1
42902 _ACEOF
42904 cat >>confdefs.h <<\_ACEOF
42905 #define HAVE_ATAN2F 1
42906 _ACEOF
42908 cat >>confdefs.h <<\_ACEOF
42909 #define HAVE_ATANF 1
42910 _ACEOF
42912 cat >>confdefs.h <<\_ACEOF
42913 #define HAVE_CEILF 1
42914 _ACEOF
42916 cat >>confdefs.h <<\_ACEOF
42917 #define HAVE_COPYSIGN 1
42918 _ACEOF
42920 cat >>confdefs.h <<\_ACEOF
42921 #define HAVE_COPYSIGNF 1
42922 _ACEOF
42924 cat >>confdefs.h <<\_ACEOF
42925 #define HAVE_COSF 1
42926 _ACEOF
42928 cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_COSHF 1
42930 _ACEOF
42932 cat >>confdefs.h <<\_ACEOF
42933 #define HAVE_EXPF 1
42934 _ACEOF
42936 cat >>confdefs.h <<\_ACEOF
42937 #define HAVE_FABSF 1
42938 _ACEOF
42940 cat >>confdefs.h <<\_ACEOF
42941 #define HAVE_FLOORF 1
42942 _ACEOF
42944 cat >>confdefs.h <<\_ACEOF
42945 #define HAVE_FMODF 1
42946 _ACEOF
42948 cat >>confdefs.h <<\_ACEOF
42949 #define HAVE_FREXPF 1
42950 _ACEOF
42952 cat >>confdefs.h <<\_ACEOF
42953 #define HAVE_LDEXPF 1
42954 _ACEOF
42956 cat >>confdefs.h <<\_ACEOF
42957 #define HAVE_LOG10F 1
42958 _ACEOF
42960 cat >>confdefs.h <<\_ACEOF
42961 #define HAVE_LOGF 1
42962 _ACEOF
42964 cat >>confdefs.h <<\_ACEOF
42965 #define HAVE_MODFF 1
42966 _ACEOF
42968 cat >>confdefs.h <<\_ACEOF
42969 #define HAVE_POWF 1
42970 _ACEOF
42972 cat >>confdefs.h <<\_ACEOF
42973 #define HAVE_SINF 1
42974 _ACEOF
42976 cat >>confdefs.h <<\_ACEOF
42977 #define HAVE_SINHF 1
42978 _ACEOF
42980 cat >>confdefs.h <<\_ACEOF
42981 #define HAVE_SQRTF 1
42982 _ACEOF
42984 cat >>confdefs.h <<\_ACEOF
42985 #define HAVE_TANF 1
42986 _ACEOF
42988 cat >>confdefs.h <<\_ACEOF
42989 #define HAVE_TANHF 1
42990 _ACEOF
42993 cat >>confdefs.h <<\_ACEOF
42994 #define HAVE_ICONV 1
42995 _ACEOF
42997 else
42999 # Base decisions on target environment.
43000 case "${host}" in
43001 arm*-*-symbianelf*)
43002 # This is a freestanding configuration; there is nothing to do here.
43005 mips*-sde-elf*)
43006 # These definitions are for the SDE C library rather than newlib.
43007 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43010 # All these tests are for C++; save the language and the compiler flags.
43011 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43012 # found in GLIBCXX_CONFIGURE.
43015 ac_ext=cc
43016 ac_cpp='$CXXCPP $CPPFLAGS'
43017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43021 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43022 ac_save_CXXFLAGS="$CXXFLAGS"
43024 # Check for maintainer-mode bits.
43025 if test x"$USE_MAINTAINER_MODE" = xno; then
43026 WERROR=''
43027 else
43028 WERROR='-Werror'
43031 # Check for -ffunction-sections -fdata-sections
43032 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43033 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43034 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43035 cat >conftest.$ac_ext <<_ACEOF
43036 /* confdefs.h. */
43037 _ACEOF
43038 cat confdefs.h >>conftest.$ac_ext
43039 cat >>conftest.$ac_ext <<_ACEOF
43040 /* end confdefs.h. */
43041 int foo; void bar() { };
43043 main ()
43047 return 0;
43049 _ACEOF
43050 rm -f conftest.$ac_objext
43051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43052 (eval $ac_compile) 2>conftest.er1
43053 ac_status=$?
43054 grep -v '^ *+' conftest.er1 >conftest.err
43055 rm -f conftest.er1
43056 cat conftest.err >&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); } &&
43059 { ac_try='test -z "$ac_cxx_werror_flag"
43060 || test ! -s conftest.err'
43061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43062 (eval $ac_try) 2>&5
43063 ac_status=$?
43064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43065 (exit $ac_status); }; } &&
43066 { ac_try='test -s conftest.$ac_objext'
43067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43068 (eval $ac_try) 2>&5
43069 ac_status=$?
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); }; }; then
43072 ac_fdsections=yes
43073 else
43074 echo "$as_me: failed program was:" >&5
43075 sed 's/^/| /' conftest.$ac_ext >&5
43077 ac_fdsections=no
43079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43080 if test "$ac_test_CXXFLAGS" = set; then
43081 CXXFLAGS="$ac_save_CXXFLAGS"
43082 else
43083 # this is the suspicious part
43084 CXXFLAGS=''
43086 if test x"$ac_fdsections" = x"yes"; then
43087 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43089 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43090 echo "${ECHO_T}$ac_fdsections" >&6
43092 ac_ext=c
43093 ac_cpp='$CPP $CPPFLAGS'
43094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43102 # If we're not using GNU ld, then there's no point in even trying these
43103 # tests. Check for that first. We should have already tested for gld
43104 # by now (in libtool), but require it now just to be safe...
43105 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43106 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43110 # The name set by libtool depends on the version of libtool. Shame on us
43111 # for depending on an impl detail, but c'est la vie. Older versions used
43112 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43113 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43114 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43115 # set (hence we're using an older libtool), then set it.
43116 if test x${with_gnu_ld+set} != xset; then
43117 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43118 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43119 with_gnu_ld=no
43120 else
43121 with_gnu_ld=$ac_cv_prog_gnu_ld
43125 # Start by getting the version number. I think the libtool test already
43126 # does some of this, but throws away the result.
43127 glibcxx_ld_is_gold=no
43128 if test x"$with_gnu_ld" = x"yes"; then
43129 echo "$as_me:$LINENO: checking for ld version" >&5
43130 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43132 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43133 glibcxx_ld_is_gold=yes
43135 ldver=`$LD --version 2>/dev/null | head -1 | \
43136 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43138 glibcxx_gnu_ld_version=`echo $ldver | \
43139 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43140 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43141 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43144 # Set --gc-sections.
43145 glibcxx_have_gc_sections=no
43146 if test "$glibcxx_ld_is_gold" = "yes"; then
43147 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43148 glibcxx_have_gc_sections=yes
43150 else
43151 glibcxx_gcsections_min_ld=21602
43152 if test x"$with_gnu_ld" = x"yes" &&
43153 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43154 glibcxx_have_gc_sections=yes
43157 if test "$glibcxx_have_gc_sections" = "yes"; then
43158 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43159 # NB: This flag only works reliably after 2.16.1. Configure tests
43160 # for this are difficult, so hard wire a value that should work.
43162 ac_test_CFLAGS="${CFLAGS+set}"
43163 ac_save_CFLAGS="$CFLAGS"
43164 CFLAGS='-Wl,--gc-sections'
43166 # Check for -Wl,--gc-sections
43167 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43168 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43169 if test x$gcc_no_link = xyes; then
43170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43172 { (exit 1); exit 1; }; }
43174 cat >conftest.$ac_ext <<_ACEOF
43175 /* confdefs.h. */
43176 _ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43180 int one(void) { return 1; }
43181 int two(void) { return 2; }
43184 main ()
43186 two();
43188 return 0;
43190 _ACEOF
43191 rm -f conftest.$ac_objext conftest$ac_exeext
43192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43193 (eval $ac_link) 2>conftest.er1
43194 ac_status=$?
43195 grep -v '^ *+' conftest.er1 >conftest.err
43196 rm -f conftest.er1
43197 cat conftest.err >&5
43198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199 (exit $ac_status); } &&
43200 { ac_try='test -z "$ac_c_werror_flag"
43201 || test ! -s conftest.err'
43202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43203 (eval $ac_try) 2>&5
43204 ac_status=$?
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); }; } &&
43207 { ac_try='test -s conftest$ac_exeext'
43208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43209 (eval $ac_try) 2>&5
43210 ac_status=$?
43211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43212 (exit $ac_status); }; }; then
43213 ac_gcsections=yes
43214 else
43215 echo "$as_me: failed program was:" >&5
43216 sed 's/^/| /' conftest.$ac_ext >&5
43218 ac_gcsections=no
43220 rm -f conftest.err conftest.$ac_objext \
43221 conftest$ac_exeext conftest.$ac_ext
43222 if test "$ac_gcsections" = "yes"; then
43223 rm -f conftest.c
43224 touch conftest.c
43225 if $CC -c conftest.c; then
43226 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43227 grep "Warning: gc-sections option ignored" > /dev/null; then
43228 ac_gcsections=no
43231 rm -f conftest.c conftest.o conftest
43233 if test "$ac_gcsections" = "yes"; then
43234 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43236 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43237 echo "${ECHO_T}$ac_gcsections" >&6
43239 if test "$ac_test_CFLAGS" = set; then
43240 CFLAGS="$ac_save_CFLAGS"
43241 else
43242 # this is the suspicious part
43243 CFLAGS=''
43247 # Set -z,relro.
43248 # Note this is only for shared objects.
43249 ac_ld_relro=no
43250 if test x"$with_gnu_ld" = x"yes"; then
43251 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43252 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43253 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43254 if test -n "$cxx_z_relo"; then
43255 OPT_LDFLAGS="-Wl,-z,relro"
43256 ac_ld_relro=yes
43258 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43259 echo "${ECHO_T}$ac_ld_relro" >&6
43262 # Set linker optimization flags.
43263 if test x"$with_gnu_ld" = x"yes"; then
43264 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43272 ac_save_CXXFLAGS="$CXXFLAGS"
43273 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43275 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43276 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43277 if test "${ac_cv_lib_m_sin+set}" = set; then
43278 echo $ECHO_N "(cached) $ECHO_C" >&6
43279 else
43280 ac_check_lib_save_LIBS=$LIBS
43281 LIBS="-lm $LIBS"
43282 if test x$gcc_no_link = xyes; then
43283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43285 { (exit 1); exit 1; }; }
43287 cat >conftest.$ac_ext <<_ACEOF
43288 /* confdefs.h. */
43289 _ACEOF
43290 cat confdefs.h >>conftest.$ac_ext
43291 cat >>conftest.$ac_ext <<_ACEOF
43292 /* end confdefs.h. */
43294 /* Override any gcc2 internal prototype to avoid an error. */
43295 #ifdef __cplusplus
43296 extern "C"
43297 #endif
43298 /* We use char because int might match the return type of a gcc2
43299 builtin and then its argument prototype would still apply. */
43300 char sin ();
43302 main ()
43304 sin ();
43306 return 0;
43308 _ACEOF
43309 rm -f conftest.$ac_objext conftest$ac_exeext
43310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43311 (eval $ac_link) 2>conftest.er1
43312 ac_status=$?
43313 grep -v '^ *+' conftest.er1 >conftest.err
43314 rm -f conftest.er1
43315 cat conftest.err >&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); } &&
43318 { ac_try='test -z "$ac_c_werror_flag"
43319 || test ! -s conftest.err'
43320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43321 (eval $ac_try) 2>&5
43322 ac_status=$?
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); }; } &&
43325 { ac_try='test -s conftest$ac_exeext'
43326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43327 (eval $ac_try) 2>&5
43328 ac_status=$?
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); }; }; then
43331 ac_cv_lib_m_sin=yes
43332 else
43333 echo "$as_me: failed program was:" >&5
43334 sed 's/^/| /' conftest.$ac_ext >&5
43336 ac_cv_lib_m_sin=no
43338 rm -f conftest.err conftest.$ac_objext \
43339 conftest$ac_exeext conftest.$ac_ext
43340 LIBS=$ac_check_lib_save_LIBS
43342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43343 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43344 if test $ac_cv_lib_m_sin = yes; then
43345 libm="-lm"
43348 ac_save_LIBS="$LIBS"
43349 LIBS="$LIBS $libm"
43353 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43354 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43355 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43356 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43357 echo $ECHO_N "(cached) $ECHO_C" >&6
43358 else
43362 ac_ext=cc
43363 ac_cpp='$CXXCPP $CPPFLAGS'
43364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43368 cat >conftest.$ac_ext <<_ACEOF
43369 /* confdefs.h. */
43370 _ACEOF
43371 cat confdefs.h >>conftest.$ac_ext
43372 cat >>conftest.$ac_ext <<_ACEOF
43373 /* end confdefs.h. */
43374 #include <math.h>
43375 #ifdef HAVE_IEEEFP_H
43376 #include <ieeefp.h>
43377 #endif
43380 main ()
43382 isinf(0);
43384 return 0;
43386 _ACEOF
43387 rm -f conftest.$ac_objext
43388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43389 (eval $ac_compile) 2>conftest.er1
43390 ac_status=$?
43391 grep -v '^ *+' conftest.er1 >conftest.err
43392 rm -f conftest.er1
43393 cat conftest.err >&5
43394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43395 (exit $ac_status); } &&
43396 { ac_try='test -z "$ac_cxx_werror_flag"
43397 || test ! -s conftest.err'
43398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43399 (eval $ac_try) 2>&5
43400 ac_status=$?
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); }; } &&
43403 { ac_try='test -s conftest.$ac_objext'
43404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43405 (eval $ac_try) 2>&5
43406 ac_status=$?
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); }; }; then
43409 glibcxx_cv_func_isinf_use=yes
43410 else
43411 echo "$as_me: failed program was:" >&5
43412 sed 's/^/| /' conftest.$ac_ext >&5
43414 glibcxx_cv_func_isinf_use=no
43416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43417 ac_ext=c
43418 ac_cpp='$CPP $CPPFLAGS'
43419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43428 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43430 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43432 for ac_func in isinf
43434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43435 echo "$as_me:$LINENO: checking for $ac_func" >&5
43436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43437 if eval "test \"\${$as_ac_var+set}\" = set"; then
43438 echo $ECHO_N "(cached) $ECHO_C" >&6
43439 else
43440 if test x$gcc_no_link = xyes; then
43441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43443 { (exit 1); exit 1; }; }
43445 cat >conftest.$ac_ext <<_ACEOF
43446 /* confdefs.h. */
43447 _ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43453 #define $ac_func innocuous_$ac_func
43455 /* System header to define __stub macros and hopefully few prototypes,
43456 which can conflict with char $ac_func (); below.
43457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43458 <limits.h> exists even on freestanding compilers. */
43460 #ifdef __STDC__
43461 # include <limits.h>
43462 #else
43463 # include <assert.h>
43464 #endif
43466 #undef $ac_func
43468 /* Override any gcc2 internal prototype to avoid an error. */
43469 #ifdef __cplusplus
43470 extern "C"
43472 #endif
43473 /* We use char because int might match the return type of a gcc2
43474 builtin and then its argument prototype would still apply. */
43475 char $ac_func ();
43476 /* The GNU C library defines this for functions which it implements
43477 to always fail with ENOSYS. Some functions are actually named
43478 something starting with __ and the normal name is an alias. */
43479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43480 choke me
43481 #else
43482 char (*f) () = $ac_func;
43483 #endif
43484 #ifdef __cplusplus
43486 #endif
43489 main ()
43491 return f != $ac_func;
43493 return 0;
43495 _ACEOF
43496 rm -f conftest.$ac_objext conftest$ac_exeext
43497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43498 (eval $ac_link) 2>conftest.er1
43499 ac_status=$?
43500 grep -v '^ *+' conftest.er1 >conftest.err
43501 rm -f conftest.er1
43502 cat conftest.err >&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } &&
43505 { ac_try='test -z "$ac_c_werror_flag"
43506 || test ! -s conftest.err'
43507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508 (eval $ac_try) 2>&5
43509 ac_status=$?
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; } &&
43512 { ac_try='test -s conftest$ac_exeext'
43513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43514 (eval $ac_try) 2>&5
43515 ac_status=$?
43516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517 (exit $ac_status); }; }; then
43518 eval "$as_ac_var=yes"
43519 else
43520 echo "$as_me: failed program was:" >&5
43521 sed 's/^/| /' conftest.$ac_ext >&5
43523 eval "$as_ac_var=no"
43525 rm -f conftest.err conftest.$ac_objext \
43526 conftest$ac_exeext conftest.$ac_ext
43528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43530 if test `eval echo '${'$as_ac_var'}'` = yes; then
43531 cat >>confdefs.h <<_ACEOF
43532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43533 _ACEOF
43536 done
43538 else
43540 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43541 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43542 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43543 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43544 echo $ECHO_N "(cached) $ECHO_C" >&6
43545 else
43549 ac_ext=cc
43550 ac_cpp='$CXXCPP $CPPFLAGS'
43551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43555 cat >conftest.$ac_ext <<_ACEOF
43556 /* confdefs.h. */
43557 _ACEOF
43558 cat confdefs.h >>conftest.$ac_ext
43559 cat >>conftest.$ac_ext <<_ACEOF
43560 /* end confdefs.h. */
43561 #include <math.h>
43562 #ifdef HAVE_IEEEFP_H
43563 #include <ieeefp.h>
43564 #endif
43567 main ()
43569 _isinf(0);
43571 return 0;
43573 _ACEOF
43574 rm -f conftest.$ac_objext
43575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43576 (eval $ac_compile) 2>conftest.er1
43577 ac_status=$?
43578 grep -v '^ *+' conftest.er1 >conftest.err
43579 rm -f conftest.er1
43580 cat conftest.err >&5
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); } &&
43583 { ac_try='test -z "$ac_cxx_werror_flag"
43584 || test ! -s conftest.err'
43585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43586 (eval $ac_try) 2>&5
43587 ac_status=$?
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); }; } &&
43590 { ac_try='test -s conftest.$ac_objext'
43591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43592 (eval $ac_try) 2>&5
43593 ac_status=$?
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); }; }; then
43596 glibcxx_cv_func__isinf_use=yes
43597 else
43598 echo "$as_me: failed program was:" >&5
43599 sed 's/^/| /' conftest.$ac_ext >&5
43601 glibcxx_cv_func__isinf_use=no
43603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43604 ac_ext=c
43605 ac_cpp='$CPP $CPPFLAGS'
43606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43615 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43617 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43619 for ac_func in _isinf
43621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43622 echo "$as_me:$LINENO: checking for $ac_func" >&5
43623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43624 if eval "test \"\${$as_ac_var+set}\" = set"; then
43625 echo $ECHO_N "(cached) $ECHO_C" >&6
43626 else
43627 if test x$gcc_no_link = xyes; then
43628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43630 { (exit 1); exit 1; }; }
43632 cat >conftest.$ac_ext <<_ACEOF
43633 /* confdefs.h. */
43634 _ACEOF
43635 cat confdefs.h >>conftest.$ac_ext
43636 cat >>conftest.$ac_ext <<_ACEOF
43637 /* end confdefs.h. */
43638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43640 #define $ac_func innocuous_$ac_func
43642 /* System header to define __stub macros and hopefully few prototypes,
43643 which can conflict with char $ac_func (); below.
43644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43645 <limits.h> exists even on freestanding compilers. */
43647 #ifdef __STDC__
43648 # include <limits.h>
43649 #else
43650 # include <assert.h>
43651 #endif
43653 #undef $ac_func
43655 /* Override any gcc2 internal prototype to avoid an error. */
43656 #ifdef __cplusplus
43657 extern "C"
43659 #endif
43660 /* We use char because int might match the return type of a gcc2
43661 builtin and then its argument prototype would still apply. */
43662 char $ac_func ();
43663 /* The GNU C library defines this for functions which it implements
43664 to always fail with ENOSYS. Some functions are actually named
43665 something starting with __ and the normal name is an alias. */
43666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43667 choke me
43668 #else
43669 char (*f) () = $ac_func;
43670 #endif
43671 #ifdef __cplusplus
43673 #endif
43676 main ()
43678 return f != $ac_func;
43680 return 0;
43682 _ACEOF
43683 rm -f conftest.$ac_objext conftest$ac_exeext
43684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43685 (eval $ac_link) 2>conftest.er1
43686 ac_status=$?
43687 grep -v '^ *+' conftest.er1 >conftest.err
43688 rm -f conftest.er1
43689 cat conftest.err >&5
43690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43691 (exit $ac_status); } &&
43692 { ac_try='test -z "$ac_c_werror_flag"
43693 || test ! -s conftest.err'
43694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43695 (eval $ac_try) 2>&5
43696 ac_status=$?
43697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43698 (exit $ac_status); }; } &&
43699 { ac_try='test -s conftest$ac_exeext'
43700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43701 (eval $ac_try) 2>&5
43702 ac_status=$?
43703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43704 (exit $ac_status); }; }; then
43705 eval "$as_ac_var=yes"
43706 else
43707 echo "$as_me: failed program was:" >&5
43708 sed 's/^/| /' conftest.$ac_ext >&5
43710 eval "$as_ac_var=no"
43712 rm -f conftest.err conftest.$ac_objext \
43713 conftest$ac_exeext conftest.$ac_ext
43715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43717 if test `eval echo '${'$as_ac_var'}'` = yes; then
43718 cat >>confdefs.h <<_ACEOF
43719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43720 _ACEOF
43723 done
43733 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43734 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43735 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43736 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43737 echo $ECHO_N "(cached) $ECHO_C" >&6
43738 else
43742 ac_ext=cc
43743 ac_cpp='$CXXCPP $CPPFLAGS'
43744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43748 cat >conftest.$ac_ext <<_ACEOF
43749 /* confdefs.h. */
43750 _ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43754 #include <math.h>
43755 #ifdef HAVE_IEEEFP_H
43756 #include <ieeefp.h>
43757 #endif
43760 main ()
43762 isnan(0);
43764 return 0;
43766 _ACEOF
43767 rm -f conftest.$ac_objext
43768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43769 (eval $ac_compile) 2>conftest.er1
43770 ac_status=$?
43771 grep -v '^ *+' conftest.er1 >conftest.err
43772 rm -f conftest.er1
43773 cat conftest.err >&5
43774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43775 (exit $ac_status); } &&
43776 { ac_try='test -z "$ac_cxx_werror_flag"
43777 || test ! -s conftest.err'
43778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779 (eval $ac_try) 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; } &&
43783 { ac_try='test -s conftest.$ac_objext'
43784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43785 (eval $ac_try) 2>&5
43786 ac_status=$?
43787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788 (exit $ac_status); }; }; then
43789 glibcxx_cv_func_isnan_use=yes
43790 else
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.$ac_ext >&5
43794 glibcxx_cv_func_isnan_use=no
43796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43797 ac_ext=c
43798 ac_cpp='$CPP $CPPFLAGS'
43799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43808 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43810 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43812 for ac_func in isnan
43814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43815 echo "$as_me:$LINENO: checking for $ac_func" >&5
43816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43817 if eval "test \"\${$as_ac_var+set}\" = set"; then
43818 echo $ECHO_N "(cached) $ECHO_C" >&6
43819 else
43820 if test x$gcc_no_link = xyes; then
43821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43823 { (exit 1); exit 1; }; }
43825 cat >conftest.$ac_ext <<_ACEOF
43826 /* confdefs.h. */
43827 _ACEOF
43828 cat confdefs.h >>conftest.$ac_ext
43829 cat >>conftest.$ac_ext <<_ACEOF
43830 /* end confdefs.h. */
43831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43833 #define $ac_func innocuous_$ac_func
43835 /* System header to define __stub macros and hopefully few prototypes,
43836 which can conflict with char $ac_func (); below.
43837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43838 <limits.h> exists even on freestanding compilers. */
43840 #ifdef __STDC__
43841 # include <limits.h>
43842 #else
43843 # include <assert.h>
43844 #endif
43846 #undef $ac_func
43848 /* Override any gcc2 internal prototype to avoid an error. */
43849 #ifdef __cplusplus
43850 extern "C"
43852 #endif
43853 /* We use char because int might match the return type of a gcc2
43854 builtin and then its argument prototype would still apply. */
43855 char $ac_func ();
43856 /* The GNU C library defines this for functions which it implements
43857 to always fail with ENOSYS. Some functions are actually named
43858 something starting with __ and the normal name is an alias. */
43859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43860 choke me
43861 #else
43862 char (*f) () = $ac_func;
43863 #endif
43864 #ifdef __cplusplus
43866 #endif
43869 main ()
43871 return f != $ac_func;
43873 return 0;
43875 _ACEOF
43876 rm -f conftest.$ac_objext conftest$ac_exeext
43877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43878 (eval $ac_link) 2>conftest.er1
43879 ac_status=$?
43880 grep -v '^ *+' conftest.er1 >conftest.err
43881 rm -f conftest.er1
43882 cat conftest.err >&5
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); } &&
43885 { ac_try='test -z "$ac_c_werror_flag"
43886 || test ! -s conftest.err'
43887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43888 (eval $ac_try) 2>&5
43889 ac_status=$?
43890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43891 (exit $ac_status); }; } &&
43892 { ac_try='test -s conftest$ac_exeext'
43893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43894 (eval $ac_try) 2>&5
43895 ac_status=$?
43896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43897 (exit $ac_status); }; }; then
43898 eval "$as_ac_var=yes"
43899 else
43900 echo "$as_me: failed program was:" >&5
43901 sed 's/^/| /' conftest.$ac_ext >&5
43903 eval "$as_ac_var=no"
43905 rm -f conftest.err conftest.$ac_objext \
43906 conftest$ac_exeext conftest.$ac_ext
43908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43910 if test `eval echo '${'$as_ac_var'}'` = yes; then
43911 cat >>confdefs.h <<_ACEOF
43912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43913 _ACEOF
43916 done
43918 else
43920 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43921 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43922 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43923 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43924 echo $ECHO_N "(cached) $ECHO_C" >&6
43925 else
43929 ac_ext=cc
43930 ac_cpp='$CXXCPP $CPPFLAGS'
43931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43935 cat >conftest.$ac_ext <<_ACEOF
43936 /* confdefs.h. */
43937 _ACEOF
43938 cat confdefs.h >>conftest.$ac_ext
43939 cat >>conftest.$ac_ext <<_ACEOF
43940 /* end confdefs.h. */
43941 #include <math.h>
43942 #ifdef HAVE_IEEEFP_H
43943 #include <ieeefp.h>
43944 #endif
43947 main ()
43949 _isnan(0);
43951 return 0;
43953 _ACEOF
43954 rm -f conftest.$ac_objext
43955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43956 (eval $ac_compile) 2>conftest.er1
43957 ac_status=$?
43958 grep -v '^ *+' conftest.er1 >conftest.err
43959 rm -f conftest.er1
43960 cat conftest.err >&5
43961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962 (exit $ac_status); } &&
43963 { ac_try='test -z "$ac_cxx_werror_flag"
43964 || test ! -s conftest.err'
43965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43966 (eval $ac_try) 2>&5
43967 ac_status=$?
43968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969 (exit $ac_status); }; } &&
43970 { ac_try='test -s conftest.$ac_objext'
43971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43972 (eval $ac_try) 2>&5
43973 ac_status=$?
43974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43975 (exit $ac_status); }; }; then
43976 glibcxx_cv_func__isnan_use=yes
43977 else
43978 echo "$as_me: failed program was:" >&5
43979 sed 's/^/| /' conftest.$ac_ext >&5
43981 glibcxx_cv_func__isnan_use=no
43983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43984 ac_ext=c
43985 ac_cpp='$CPP $CPPFLAGS'
43986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43995 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43997 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43999 for ac_func in _isnan
44001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44002 echo "$as_me:$LINENO: checking for $ac_func" >&5
44003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44004 if eval "test \"\${$as_ac_var+set}\" = set"; then
44005 echo $ECHO_N "(cached) $ECHO_C" >&6
44006 else
44007 if test x$gcc_no_link = xyes; then
44008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44010 { (exit 1); exit 1; }; }
44012 cat >conftest.$ac_ext <<_ACEOF
44013 /* confdefs.h. */
44014 _ACEOF
44015 cat confdefs.h >>conftest.$ac_ext
44016 cat >>conftest.$ac_ext <<_ACEOF
44017 /* end confdefs.h. */
44018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44020 #define $ac_func innocuous_$ac_func
44022 /* System header to define __stub macros and hopefully few prototypes,
44023 which can conflict with char $ac_func (); below.
44024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44025 <limits.h> exists even on freestanding compilers. */
44027 #ifdef __STDC__
44028 # include <limits.h>
44029 #else
44030 # include <assert.h>
44031 #endif
44033 #undef $ac_func
44035 /* Override any gcc2 internal prototype to avoid an error. */
44036 #ifdef __cplusplus
44037 extern "C"
44039 #endif
44040 /* We use char because int might match the return type of a gcc2
44041 builtin and then its argument prototype would still apply. */
44042 char $ac_func ();
44043 /* The GNU C library defines this for functions which it implements
44044 to always fail with ENOSYS. Some functions are actually named
44045 something starting with __ and the normal name is an alias. */
44046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44047 choke me
44048 #else
44049 char (*f) () = $ac_func;
44050 #endif
44051 #ifdef __cplusplus
44053 #endif
44056 main ()
44058 return f != $ac_func;
44060 return 0;
44062 _ACEOF
44063 rm -f conftest.$ac_objext conftest$ac_exeext
44064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44065 (eval $ac_link) 2>conftest.er1
44066 ac_status=$?
44067 grep -v '^ *+' conftest.er1 >conftest.err
44068 rm -f conftest.er1
44069 cat conftest.err >&5
44070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44071 (exit $ac_status); } &&
44072 { ac_try='test -z "$ac_c_werror_flag"
44073 || test ! -s conftest.err'
44074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44075 (eval $ac_try) 2>&5
44076 ac_status=$?
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); }; } &&
44079 { ac_try='test -s conftest$ac_exeext'
44080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44081 (eval $ac_try) 2>&5
44082 ac_status=$?
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); }; }; then
44085 eval "$as_ac_var=yes"
44086 else
44087 echo "$as_me: failed program was:" >&5
44088 sed 's/^/| /' conftest.$ac_ext >&5
44090 eval "$as_ac_var=no"
44092 rm -f conftest.err conftest.$ac_objext \
44093 conftest$ac_exeext conftest.$ac_ext
44095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44097 if test `eval echo '${'$as_ac_var'}'` = yes; then
44098 cat >>confdefs.h <<_ACEOF
44099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44100 _ACEOF
44103 done
44113 echo "$as_me:$LINENO: checking for finite declaration" >&5
44114 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44115 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44116 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44117 echo $ECHO_N "(cached) $ECHO_C" >&6
44118 else
44122 ac_ext=cc
44123 ac_cpp='$CXXCPP $CPPFLAGS'
44124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44128 cat >conftest.$ac_ext <<_ACEOF
44129 /* confdefs.h. */
44130 _ACEOF
44131 cat confdefs.h >>conftest.$ac_ext
44132 cat >>conftest.$ac_ext <<_ACEOF
44133 /* end confdefs.h. */
44134 #include <math.h>
44135 #ifdef HAVE_IEEEFP_H
44136 #include <ieeefp.h>
44137 #endif
44140 main ()
44142 finite(0);
44144 return 0;
44146 _ACEOF
44147 rm -f conftest.$ac_objext
44148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44149 (eval $ac_compile) 2>conftest.er1
44150 ac_status=$?
44151 grep -v '^ *+' conftest.er1 >conftest.err
44152 rm -f conftest.er1
44153 cat conftest.err >&5
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); } &&
44156 { ac_try='test -z "$ac_cxx_werror_flag"
44157 || test ! -s conftest.err'
44158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44159 (eval $ac_try) 2>&5
44160 ac_status=$?
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); }; } &&
44163 { ac_try='test -s conftest.$ac_objext'
44164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44165 (eval $ac_try) 2>&5
44166 ac_status=$?
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; }; then
44169 glibcxx_cv_func_finite_use=yes
44170 else
44171 echo "$as_me: failed program was:" >&5
44172 sed 's/^/| /' conftest.$ac_ext >&5
44174 glibcxx_cv_func_finite_use=no
44176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44177 ac_ext=c
44178 ac_cpp='$CPP $CPPFLAGS'
44179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44188 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44190 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44192 for ac_func in finite
44194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44195 echo "$as_me:$LINENO: checking for $ac_func" >&5
44196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44197 if eval "test \"\${$as_ac_var+set}\" = set"; then
44198 echo $ECHO_N "(cached) $ECHO_C" >&6
44199 else
44200 if test x$gcc_no_link = xyes; then
44201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44203 { (exit 1); exit 1; }; }
44205 cat >conftest.$ac_ext <<_ACEOF
44206 /* confdefs.h. */
44207 _ACEOF
44208 cat confdefs.h >>conftest.$ac_ext
44209 cat >>conftest.$ac_ext <<_ACEOF
44210 /* end confdefs.h. */
44211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44213 #define $ac_func innocuous_$ac_func
44215 /* System header to define __stub macros and hopefully few prototypes,
44216 which can conflict with char $ac_func (); below.
44217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44218 <limits.h> exists even on freestanding compilers. */
44220 #ifdef __STDC__
44221 # include <limits.h>
44222 #else
44223 # include <assert.h>
44224 #endif
44226 #undef $ac_func
44228 /* Override any gcc2 internal prototype to avoid an error. */
44229 #ifdef __cplusplus
44230 extern "C"
44232 #endif
44233 /* We use char because int might match the return type of a gcc2
44234 builtin and then its argument prototype would still apply. */
44235 char $ac_func ();
44236 /* The GNU C library defines this for functions which it implements
44237 to always fail with ENOSYS. Some functions are actually named
44238 something starting with __ and the normal name is an alias. */
44239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44240 choke me
44241 #else
44242 char (*f) () = $ac_func;
44243 #endif
44244 #ifdef __cplusplus
44246 #endif
44249 main ()
44251 return f != $ac_func;
44253 return 0;
44255 _ACEOF
44256 rm -f conftest.$ac_objext conftest$ac_exeext
44257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44258 (eval $ac_link) 2>conftest.er1
44259 ac_status=$?
44260 grep -v '^ *+' conftest.er1 >conftest.err
44261 rm -f conftest.er1
44262 cat conftest.err >&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } &&
44265 { ac_try='test -z "$ac_c_werror_flag"
44266 || test ! -s conftest.err'
44267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268 (eval $ac_try) 2>&5
44269 ac_status=$?
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); }; } &&
44272 { ac_try='test -s conftest$ac_exeext'
44273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44274 (eval $ac_try) 2>&5
44275 ac_status=$?
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); }; }; then
44278 eval "$as_ac_var=yes"
44279 else
44280 echo "$as_me: failed program was:" >&5
44281 sed 's/^/| /' conftest.$ac_ext >&5
44283 eval "$as_ac_var=no"
44285 rm -f conftest.err conftest.$ac_objext \
44286 conftest$ac_exeext conftest.$ac_ext
44288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44290 if test `eval echo '${'$as_ac_var'}'` = yes; then
44291 cat >>confdefs.h <<_ACEOF
44292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44293 _ACEOF
44296 done
44298 else
44300 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44301 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44302 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44303 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44304 echo $ECHO_N "(cached) $ECHO_C" >&6
44305 else
44309 ac_ext=cc
44310 ac_cpp='$CXXCPP $CPPFLAGS'
44311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44315 cat >conftest.$ac_ext <<_ACEOF
44316 /* confdefs.h. */
44317 _ACEOF
44318 cat confdefs.h >>conftest.$ac_ext
44319 cat >>conftest.$ac_ext <<_ACEOF
44320 /* end confdefs.h. */
44321 #include <math.h>
44322 #ifdef HAVE_IEEEFP_H
44323 #include <ieeefp.h>
44324 #endif
44327 main ()
44329 _finite(0);
44331 return 0;
44333 _ACEOF
44334 rm -f conftest.$ac_objext
44335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44336 (eval $ac_compile) 2>conftest.er1
44337 ac_status=$?
44338 grep -v '^ *+' conftest.er1 >conftest.err
44339 rm -f conftest.er1
44340 cat conftest.err >&5
44341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44342 (exit $ac_status); } &&
44343 { ac_try='test -z "$ac_cxx_werror_flag"
44344 || test ! -s conftest.err'
44345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44346 (eval $ac_try) 2>&5
44347 ac_status=$?
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); }; } &&
44350 { ac_try='test -s conftest.$ac_objext'
44351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44352 (eval $ac_try) 2>&5
44353 ac_status=$?
44354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44355 (exit $ac_status); }; }; then
44356 glibcxx_cv_func__finite_use=yes
44357 else
44358 echo "$as_me: failed program was:" >&5
44359 sed 's/^/| /' conftest.$ac_ext >&5
44361 glibcxx_cv_func__finite_use=no
44363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44364 ac_ext=c
44365 ac_cpp='$CPP $CPPFLAGS'
44366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44375 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44377 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44379 for ac_func in _finite
44381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44382 echo "$as_me:$LINENO: checking for $ac_func" >&5
44383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44384 if eval "test \"\${$as_ac_var+set}\" = set"; then
44385 echo $ECHO_N "(cached) $ECHO_C" >&6
44386 else
44387 if test x$gcc_no_link = xyes; then
44388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44390 { (exit 1); exit 1; }; }
44392 cat >conftest.$ac_ext <<_ACEOF
44393 /* confdefs.h. */
44394 _ACEOF
44395 cat confdefs.h >>conftest.$ac_ext
44396 cat >>conftest.$ac_ext <<_ACEOF
44397 /* end confdefs.h. */
44398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44400 #define $ac_func innocuous_$ac_func
44402 /* System header to define __stub macros and hopefully few prototypes,
44403 which can conflict with char $ac_func (); below.
44404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44405 <limits.h> exists even on freestanding compilers. */
44407 #ifdef __STDC__
44408 # include <limits.h>
44409 #else
44410 # include <assert.h>
44411 #endif
44413 #undef $ac_func
44415 /* Override any gcc2 internal prototype to avoid an error. */
44416 #ifdef __cplusplus
44417 extern "C"
44419 #endif
44420 /* We use char because int might match the return type of a gcc2
44421 builtin and then its argument prototype would still apply. */
44422 char $ac_func ();
44423 /* The GNU C library defines this for functions which it implements
44424 to always fail with ENOSYS. Some functions are actually named
44425 something starting with __ and the normal name is an alias. */
44426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44427 choke me
44428 #else
44429 char (*f) () = $ac_func;
44430 #endif
44431 #ifdef __cplusplus
44433 #endif
44436 main ()
44438 return f != $ac_func;
44440 return 0;
44442 _ACEOF
44443 rm -f conftest.$ac_objext conftest$ac_exeext
44444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44445 (eval $ac_link) 2>conftest.er1
44446 ac_status=$?
44447 grep -v '^ *+' conftest.er1 >conftest.err
44448 rm -f conftest.er1
44449 cat conftest.err >&5
44450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44451 (exit $ac_status); } &&
44452 { ac_try='test -z "$ac_c_werror_flag"
44453 || test ! -s conftest.err'
44454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44455 (eval $ac_try) 2>&5
44456 ac_status=$?
44457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458 (exit $ac_status); }; } &&
44459 { ac_try='test -s conftest$ac_exeext'
44460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44461 (eval $ac_try) 2>&5
44462 ac_status=$?
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); }; }; then
44465 eval "$as_ac_var=yes"
44466 else
44467 echo "$as_me: failed program was:" >&5
44468 sed 's/^/| /' conftest.$ac_ext >&5
44470 eval "$as_ac_var=no"
44472 rm -f conftest.err conftest.$ac_objext \
44473 conftest$ac_exeext conftest.$ac_ext
44475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44477 if test `eval echo '${'$as_ac_var'}'` = yes; then
44478 cat >>confdefs.h <<_ACEOF
44479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44480 _ACEOF
44483 done
44493 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44494 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44495 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44496 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44497 echo $ECHO_N "(cached) $ECHO_C" >&6
44498 else
44502 ac_ext=cc
44503 ac_cpp='$CXXCPP $CPPFLAGS'
44504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
44516 main ()
44518 copysign(0, 0);
44520 return 0;
44522 _ACEOF
44523 rm -f conftest.$ac_objext
44524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44525 (eval $ac_compile) 2>conftest.er1
44526 ac_status=$?
44527 grep -v '^ *+' conftest.er1 >conftest.err
44528 rm -f conftest.er1
44529 cat conftest.err >&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); } &&
44532 { ac_try='test -z "$ac_cxx_werror_flag"
44533 || test ! -s conftest.err'
44534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44535 (eval $ac_try) 2>&5
44536 ac_status=$?
44537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44538 (exit $ac_status); }; } &&
44539 { ac_try='test -s conftest.$ac_objext'
44540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44541 (eval $ac_try) 2>&5
44542 ac_status=$?
44543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44544 (exit $ac_status); }; }; then
44545 glibcxx_cv_func_copysign_use=yes
44546 else
44547 echo "$as_me: failed program was:" >&5
44548 sed 's/^/| /' conftest.$ac_ext >&5
44550 glibcxx_cv_func_copysign_use=no
44552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44553 ac_ext=c
44554 ac_cpp='$CPP $CPPFLAGS'
44555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44564 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44566 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44568 for ac_func in copysign
44570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44571 echo "$as_me:$LINENO: checking for $ac_func" >&5
44572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44573 if eval "test \"\${$as_ac_var+set}\" = set"; then
44574 echo $ECHO_N "(cached) $ECHO_C" >&6
44575 else
44576 if test x$gcc_no_link = xyes; then
44577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44579 { (exit 1); exit 1; }; }
44581 cat >conftest.$ac_ext <<_ACEOF
44582 /* confdefs.h. */
44583 _ACEOF
44584 cat confdefs.h >>conftest.$ac_ext
44585 cat >>conftest.$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44589 #define $ac_func innocuous_$ac_func
44591 /* System header to define __stub macros and hopefully few prototypes,
44592 which can conflict with char $ac_func (); below.
44593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44594 <limits.h> exists even on freestanding compilers. */
44596 #ifdef __STDC__
44597 # include <limits.h>
44598 #else
44599 # include <assert.h>
44600 #endif
44602 #undef $ac_func
44604 /* Override any gcc2 internal prototype to avoid an error. */
44605 #ifdef __cplusplus
44606 extern "C"
44608 #endif
44609 /* We use char because int might match the return type of a gcc2
44610 builtin and then its argument prototype would still apply. */
44611 char $ac_func ();
44612 /* The GNU C library defines this for functions which it implements
44613 to always fail with ENOSYS. Some functions are actually named
44614 something starting with __ and the normal name is an alias. */
44615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44616 choke me
44617 #else
44618 char (*f) () = $ac_func;
44619 #endif
44620 #ifdef __cplusplus
44622 #endif
44625 main ()
44627 return f != $ac_func;
44629 return 0;
44631 _ACEOF
44632 rm -f conftest.$ac_objext conftest$ac_exeext
44633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44634 (eval $ac_link) 2>conftest.er1
44635 ac_status=$?
44636 grep -v '^ *+' conftest.er1 >conftest.err
44637 rm -f conftest.er1
44638 cat conftest.err >&5
44639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640 (exit $ac_status); } &&
44641 { ac_try='test -z "$ac_c_werror_flag"
44642 || test ! -s conftest.err'
44643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44644 (eval $ac_try) 2>&5
44645 ac_status=$?
44646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44647 (exit $ac_status); }; } &&
44648 { ac_try='test -s conftest$ac_exeext'
44649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44650 (eval $ac_try) 2>&5
44651 ac_status=$?
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); }; }; then
44654 eval "$as_ac_var=yes"
44655 else
44656 echo "$as_me: failed program was:" >&5
44657 sed 's/^/| /' conftest.$ac_ext >&5
44659 eval "$as_ac_var=no"
44661 rm -f conftest.err conftest.$ac_objext \
44662 conftest$ac_exeext conftest.$ac_ext
44664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44666 if test `eval echo '${'$as_ac_var'}'` = yes; then
44667 cat >>confdefs.h <<_ACEOF
44668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44669 _ACEOF
44672 done
44674 else
44676 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44677 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44678 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44679 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44680 echo $ECHO_N "(cached) $ECHO_C" >&6
44681 else
44685 ac_ext=cc
44686 ac_cpp='$CXXCPP $CPPFLAGS'
44687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
44699 main ()
44701 _copysign(0, 0);
44703 return 0;
44705 _ACEOF
44706 rm -f conftest.$ac_objext
44707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44708 (eval $ac_compile) 2>conftest.er1
44709 ac_status=$?
44710 grep -v '^ *+' conftest.er1 >conftest.err
44711 rm -f conftest.er1
44712 cat conftest.err >&5
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); } &&
44715 { ac_try='test -z "$ac_cxx_werror_flag"
44716 || test ! -s conftest.err'
44717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44718 (eval $ac_try) 2>&5
44719 ac_status=$?
44720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721 (exit $ac_status); }; } &&
44722 { ac_try='test -s conftest.$ac_objext'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44725 ac_status=$?
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; }; then
44728 glibcxx_cv_func__copysign_use=yes
44729 else
44730 echo "$as_me: failed program was:" >&5
44731 sed 's/^/| /' conftest.$ac_ext >&5
44733 glibcxx_cv_func__copysign_use=no
44735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44736 ac_ext=c
44737 ac_cpp='$CPP $CPPFLAGS'
44738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44747 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44749 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44751 for ac_func in _copysign
44753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44754 echo "$as_me:$LINENO: checking for $ac_func" >&5
44755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44756 if eval "test \"\${$as_ac_var+set}\" = set"; then
44757 echo $ECHO_N "(cached) $ECHO_C" >&6
44758 else
44759 if test x$gcc_no_link = xyes; then
44760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44762 { (exit 1); exit 1; }; }
44764 cat >conftest.$ac_ext <<_ACEOF
44765 /* confdefs.h. */
44766 _ACEOF
44767 cat confdefs.h >>conftest.$ac_ext
44768 cat >>conftest.$ac_ext <<_ACEOF
44769 /* end confdefs.h. */
44770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44772 #define $ac_func innocuous_$ac_func
44774 /* System header to define __stub macros and hopefully few prototypes,
44775 which can conflict with char $ac_func (); below.
44776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44777 <limits.h> exists even on freestanding compilers. */
44779 #ifdef __STDC__
44780 # include <limits.h>
44781 #else
44782 # include <assert.h>
44783 #endif
44785 #undef $ac_func
44787 /* Override any gcc2 internal prototype to avoid an error. */
44788 #ifdef __cplusplus
44789 extern "C"
44791 #endif
44792 /* We use char because int might match the return type of a gcc2
44793 builtin and then its argument prototype would still apply. */
44794 char $ac_func ();
44795 /* The GNU C library defines this for functions which it implements
44796 to always fail with ENOSYS. Some functions are actually named
44797 something starting with __ and the normal name is an alias. */
44798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44799 choke me
44800 #else
44801 char (*f) () = $ac_func;
44802 #endif
44803 #ifdef __cplusplus
44805 #endif
44808 main ()
44810 return f != $ac_func;
44812 return 0;
44814 _ACEOF
44815 rm -f conftest.$ac_objext conftest$ac_exeext
44816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44817 (eval $ac_link) 2>conftest.er1
44818 ac_status=$?
44819 grep -v '^ *+' conftest.er1 >conftest.err
44820 rm -f conftest.er1
44821 cat conftest.err >&5
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); } &&
44824 { ac_try='test -z "$ac_c_werror_flag"
44825 || test ! -s conftest.err'
44826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44827 (eval $ac_try) 2>&5
44828 ac_status=$?
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); }; } &&
44831 { ac_try='test -s conftest$ac_exeext'
44832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44833 (eval $ac_try) 2>&5
44834 ac_status=$?
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); }; }; then
44837 eval "$as_ac_var=yes"
44838 else
44839 echo "$as_me: failed program was:" >&5
44840 sed 's/^/| /' conftest.$ac_ext >&5
44842 eval "$as_ac_var=no"
44844 rm -f conftest.err conftest.$ac_objext \
44845 conftest$ac_exeext conftest.$ac_ext
44847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44849 if test `eval echo '${'$as_ac_var'}'` = yes; then
44850 cat >>confdefs.h <<_ACEOF
44851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44852 _ACEOF
44855 done
44865 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44866 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44867 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44868 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44869 echo $ECHO_N "(cached) $ECHO_C" >&6
44870 else
44874 ac_ext=cc
44875 ac_cpp='$CXXCPP $CPPFLAGS'
44876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
44888 main ()
44890 sincos(0, 0, 0);
44892 return 0;
44894 _ACEOF
44895 rm -f conftest.$ac_objext
44896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44897 (eval $ac_compile) 2>conftest.er1
44898 ac_status=$?
44899 grep -v '^ *+' conftest.er1 >conftest.err
44900 rm -f conftest.er1
44901 cat conftest.err >&5
44902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44903 (exit $ac_status); } &&
44904 { ac_try='test -z "$ac_cxx_werror_flag"
44905 || test ! -s conftest.err'
44906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44907 (eval $ac_try) 2>&5
44908 ac_status=$?
44909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44910 (exit $ac_status); }; } &&
44911 { ac_try='test -s conftest.$ac_objext'
44912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44913 (eval $ac_try) 2>&5
44914 ac_status=$?
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); }; }; then
44917 glibcxx_cv_func_sincos_use=yes
44918 else
44919 echo "$as_me: failed program was:" >&5
44920 sed 's/^/| /' conftest.$ac_ext >&5
44922 glibcxx_cv_func_sincos_use=no
44924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44925 ac_ext=c
44926 ac_cpp='$CPP $CPPFLAGS'
44927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44936 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44938 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44940 for ac_func in sincos
44942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44943 echo "$as_me:$LINENO: checking for $ac_func" >&5
44944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44945 if eval "test \"\${$as_ac_var+set}\" = set"; then
44946 echo $ECHO_N "(cached) $ECHO_C" >&6
44947 else
44948 if test x$gcc_no_link = xyes; then
44949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44951 { (exit 1); exit 1; }; }
44953 cat >conftest.$ac_ext <<_ACEOF
44954 /* confdefs.h. */
44955 _ACEOF
44956 cat confdefs.h >>conftest.$ac_ext
44957 cat >>conftest.$ac_ext <<_ACEOF
44958 /* end confdefs.h. */
44959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44961 #define $ac_func innocuous_$ac_func
44963 /* System header to define __stub macros and hopefully few prototypes,
44964 which can conflict with char $ac_func (); below.
44965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44966 <limits.h> exists even on freestanding compilers. */
44968 #ifdef __STDC__
44969 # include <limits.h>
44970 #else
44971 # include <assert.h>
44972 #endif
44974 #undef $ac_func
44976 /* Override any gcc2 internal prototype to avoid an error. */
44977 #ifdef __cplusplus
44978 extern "C"
44980 #endif
44981 /* We use char because int might match the return type of a gcc2
44982 builtin and then its argument prototype would still apply. */
44983 char $ac_func ();
44984 /* The GNU C library defines this for functions which it implements
44985 to always fail with ENOSYS. Some functions are actually named
44986 something starting with __ and the normal name is an alias. */
44987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44988 choke me
44989 #else
44990 char (*f) () = $ac_func;
44991 #endif
44992 #ifdef __cplusplus
44994 #endif
44997 main ()
44999 return f != $ac_func;
45001 return 0;
45003 _ACEOF
45004 rm -f conftest.$ac_objext conftest$ac_exeext
45005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45006 (eval $ac_link) 2>conftest.er1
45007 ac_status=$?
45008 grep -v '^ *+' conftest.er1 >conftest.err
45009 rm -f conftest.er1
45010 cat conftest.err >&5
45011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012 (exit $ac_status); } &&
45013 { ac_try='test -z "$ac_c_werror_flag"
45014 || test ! -s conftest.err'
45015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45016 (eval $ac_try) 2>&5
45017 ac_status=$?
45018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019 (exit $ac_status); }; } &&
45020 { ac_try='test -s conftest$ac_exeext'
45021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45022 (eval $ac_try) 2>&5
45023 ac_status=$?
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); }; }; then
45026 eval "$as_ac_var=yes"
45027 else
45028 echo "$as_me: failed program was:" >&5
45029 sed 's/^/| /' conftest.$ac_ext >&5
45031 eval "$as_ac_var=no"
45033 rm -f conftest.err conftest.$ac_objext \
45034 conftest$ac_exeext conftest.$ac_ext
45036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45038 if test `eval echo '${'$as_ac_var'}'` = yes; then
45039 cat >>confdefs.h <<_ACEOF
45040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45041 _ACEOF
45044 done
45046 else
45048 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45049 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45050 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45051 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45052 echo $ECHO_N "(cached) $ECHO_C" >&6
45053 else
45057 ac_ext=cc
45058 ac_cpp='$CXXCPP $CPPFLAGS'
45059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
45071 main ()
45073 _sincos(0, 0, 0);
45075 return 0;
45077 _ACEOF
45078 rm -f conftest.$ac_objext
45079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45080 (eval $ac_compile) 2>conftest.er1
45081 ac_status=$?
45082 grep -v '^ *+' conftest.er1 >conftest.err
45083 rm -f conftest.er1
45084 cat conftest.err >&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); } &&
45087 { ac_try='test -z "$ac_cxx_werror_flag"
45088 || test ! -s conftest.err'
45089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45090 (eval $ac_try) 2>&5
45091 ac_status=$?
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); }; } &&
45094 { ac_try='test -s conftest.$ac_objext'
45095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45096 (eval $ac_try) 2>&5
45097 ac_status=$?
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; }; then
45100 glibcxx_cv_func__sincos_use=yes
45101 else
45102 echo "$as_me: failed program was:" >&5
45103 sed 's/^/| /' conftest.$ac_ext >&5
45105 glibcxx_cv_func__sincos_use=no
45107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45108 ac_ext=c
45109 ac_cpp='$CPP $CPPFLAGS'
45110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45119 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45121 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45123 for ac_func in _sincos
45125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45126 echo "$as_me:$LINENO: checking for $ac_func" >&5
45127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45128 if eval "test \"\${$as_ac_var+set}\" = set"; then
45129 echo $ECHO_N "(cached) $ECHO_C" >&6
45130 else
45131 if test x$gcc_no_link = xyes; then
45132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45134 { (exit 1); exit 1; }; }
45136 cat >conftest.$ac_ext <<_ACEOF
45137 /* confdefs.h. */
45138 _ACEOF
45139 cat confdefs.h >>conftest.$ac_ext
45140 cat >>conftest.$ac_ext <<_ACEOF
45141 /* end confdefs.h. */
45142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45144 #define $ac_func innocuous_$ac_func
45146 /* System header to define __stub macros and hopefully few prototypes,
45147 which can conflict with char $ac_func (); below.
45148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45149 <limits.h> exists even on freestanding compilers. */
45151 #ifdef __STDC__
45152 # include <limits.h>
45153 #else
45154 # include <assert.h>
45155 #endif
45157 #undef $ac_func
45159 /* Override any gcc2 internal prototype to avoid an error. */
45160 #ifdef __cplusplus
45161 extern "C"
45163 #endif
45164 /* We use char because int might match the return type of a gcc2
45165 builtin and then its argument prototype would still apply. */
45166 char $ac_func ();
45167 /* The GNU C library defines this for functions which it implements
45168 to always fail with ENOSYS. Some functions are actually named
45169 something starting with __ and the normal name is an alias. */
45170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45171 choke me
45172 #else
45173 char (*f) () = $ac_func;
45174 #endif
45175 #ifdef __cplusplus
45177 #endif
45180 main ()
45182 return f != $ac_func;
45184 return 0;
45186 _ACEOF
45187 rm -f conftest.$ac_objext conftest$ac_exeext
45188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45189 (eval $ac_link) 2>conftest.er1
45190 ac_status=$?
45191 grep -v '^ *+' conftest.er1 >conftest.err
45192 rm -f conftest.er1
45193 cat conftest.err >&5
45194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45195 (exit $ac_status); } &&
45196 { ac_try='test -z "$ac_c_werror_flag"
45197 || test ! -s conftest.err'
45198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45199 (eval $ac_try) 2>&5
45200 ac_status=$?
45201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45202 (exit $ac_status); }; } &&
45203 { ac_try='test -s conftest$ac_exeext'
45204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45205 (eval $ac_try) 2>&5
45206 ac_status=$?
45207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45208 (exit $ac_status); }; }; then
45209 eval "$as_ac_var=yes"
45210 else
45211 echo "$as_me: failed program was:" >&5
45212 sed 's/^/| /' conftest.$ac_ext >&5
45214 eval "$as_ac_var=no"
45216 rm -f conftest.err conftest.$ac_objext \
45217 conftest$ac_exeext conftest.$ac_ext
45219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45221 if test `eval echo '${'$as_ac_var'}'` = yes; then
45222 cat >>confdefs.h <<_ACEOF
45223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45224 _ACEOF
45227 done
45237 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45238 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45239 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45240 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45241 echo $ECHO_N "(cached) $ECHO_C" >&6
45242 else
45246 ac_ext=cc
45247 ac_cpp='$CXXCPP $CPPFLAGS'
45248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45252 cat >conftest.$ac_ext <<_ACEOF
45253 /* confdefs.h. */
45254 _ACEOF
45255 cat confdefs.h >>conftest.$ac_ext
45256 cat >>conftest.$ac_ext <<_ACEOF
45257 /* end confdefs.h. */
45258 #include <math.h>
45259 #ifdef HAVE_IEEEFP_H
45260 #include <ieeefp.h>
45261 #endif
45264 main ()
45266 fpclass(0);
45268 return 0;
45270 _ACEOF
45271 rm -f conftest.$ac_objext
45272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45273 (eval $ac_compile) 2>conftest.er1
45274 ac_status=$?
45275 grep -v '^ *+' conftest.er1 >conftest.err
45276 rm -f conftest.er1
45277 cat conftest.err >&5
45278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45279 (exit $ac_status); } &&
45280 { ac_try='test -z "$ac_cxx_werror_flag"
45281 || test ! -s conftest.err'
45282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45283 (eval $ac_try) 2>&5
45284 ac_status=$?
45285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45286 (exit $ac_status); }; } &&
45287 { ac_try='test -s conftest.$ac_objext'
45288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45289 (eval $ac_try) 2>&5
45290 ac_status=$?
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); }; }; then
45293 glibcxx_cv_func_fpclass_use=yes
45294 else
45295 echo "$as_me: failed program was:" >&5
45296 sed 's/^/| /' conftest.$ac_ext >&5
45298 glibcxx_cv_func_fpclass_use=no
45300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45301 ac_ext=c
45302 ac_cpp='$CPP $CPPFLAGS'
45303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45312 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45314 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45316 for ac_func in fpclass
45318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45319 echo "$as_me:$LINENO: checking for $ac_func" >&5
45320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45321 if eval "test \"\${$as_ac_var+set}\" = set"; then
45322 echo $ECHO_N "(cached) $ECHO_C" >&6
45323 else
45324 if test x$gcc_no_link = xyes; then
45325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45327 { (exit 1); exit 1; }; }
45329 cat >conftest.$ac_ext <<_ACEOF
45330 /* confdefs.h. */
45331 _ACEOF
45332 cat confdefs.h >>conftest.$ac_ext
45333 cat >>conftest.$ac_ext <<_ACEOF
45334 /* end confdefs.h. */
45335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45337 #define $ac_func innocuous_$ac_func
45339 /* System header to define __stub macros and hopefully few prototypes,
45340 which can conflict with char $ac_func (); below.
45341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45342 <limits.h> exists even on freestanding compilers. */
45344 #ifdef __STDC__
45345 # include <limits.h>
45346 #else
45347 # include <assert.h>
45348 #endif
45350 #undef $ac_func
45352 /* Override any gcc2 internal prototype to avoid an error. */
45353 #ifdef __cplusplus
45354 extern "C"
45356 #endif
45357 /* We use char because int might match the return type of a gcc2
45358 builtin and then its argument prototype would still apply. */
45359 char $ac_func ();
45360 /* The GNU C library defines this for functions which it implements
45361 to always fail with ENOSYS. Some functions are actually named
45362 something starting with __ and the normal name is an alias. */
45363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45364 choke me
45365 #else
45366 char (*f) () = $ac_func;
45367 #endif
45368 #ifdef __cplusplus
45370 #endif
45373 main ()
45375 return f != $ac_func;
45377 return 0;
45379 _ACEOF
45380 rm -f conftest.$ac_objext conftest$ac_exeext
45381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45382 (eval $ac_link) 2>conftest.er1
45383 ac_status=$?
45384 grep -v '^ *+' conftest.er1 >conftest.err
45385 rm -f conftest.er1
45386 cat conftest.err >&5
45387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45388 (exit $ac_status); } &&
45389 { ac_try='test -z "$ac_c_werror_flag"
45390 || test ! -s conftest.err'
45391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45392 (eval $ac_try) 2>&5
45393 ac_status=$?
45394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45395 (exit $ac_status); }; } &&
45396 { ac_try='test -s conftest$ac_exeext'
45397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45398 (eval $ac_try) 2>&5
45399 ac_status=$?
45400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45401 (exit $ac_status); }; }; then
45402 eval "$as_ac_var=yes"
45403 else
45404 echo "$as_me: failed program was:" >&5
45405 sed 's/^/| /' conftest.$ac_ext >&5
45407 eval "$as_ac_var=no"
45409 rm -f conftest.err conftest.$ac_objext \
45410 conftest$ac_exeext conftest.$ac_ext
45412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45414 if test `eval echo '${'$as_ac_var'}'` = yes; then
45415 cat >>confdefs.h <<_ACEOF
45416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45417 _ACEOF
45420 done
45422 else
45424 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45425 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45426 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45427 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45428 echo $ECHO_N "(cached) $ECHO_C" >&6
45429 else
45433 ac_ext=cc
45434 ac_cpp='$CXXCPP $CPPFLAGS'
45435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45439 cat >conftest.$ac_ext <<_ACEOF
45440 /* confdefs.h. */
45441 _ACEOF
45442 cat confdefs.h >>conftest.$ac_ext
45443 cat >>conftest.$ac_ext <<_ACEOF
45444 /* end confdefs.h. */
45445 #include <math.h>
45446 #ifdef HAVE_IEEEFP_H
45447 #include <ieeefp.h>
45448 #endif
45451 main ()
45453 _fpclass(0);
45455 return 0;
45457 _ACEOF
45458 rm -f conftest.$ac_objext
45459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45460 (eval $ac_compile) 2>conftest.er1
45461 ac_status=$?
45462 grep -v '^ *+' conftest.er1 >conftest.err
45463 rm -f conftest.er1
45464 cat conftest.err >&5
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); } &&
45467 { ac_try='test -z "$ac_cxx_werror_flag"
45468 || test ! -s conftest.err'
45469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45470 (eval $ac_try) 2>&5
45471 ac_status=$?
45472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45473 (exit $ac_status); }; } &&
45474 { ac_try='test -s conftest.$ac_objext'
45475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45476 (eval $ac_try) 2>&5
45477 ac_status=$?
45478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45479 (exit $ac_status); }; }; then
45480 glibcxx_cv_func__fpclass_use=yes
45481 else
45482 echo "$as_me: failed program was:" >&5
45483 sed 's/^/| /' conftest.$ac_ext >&5
45485 glibcxx_cv_func__fpclass_use=no
45487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45488 ac_ext=c
45489 ac_cpp='$CPP $CPPFLAGS'
45490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45499 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45501 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45503 for ac_func in _fpclass
45505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45506 echo "$as_me:$LINENO: checking for $ac_func" >&5
45507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45508 if eval "test \"\${$as_ac_var+set}\" = set"; then
45509 echo $ECHO_N "(cached) $ECHO_C" >&6
45510 else
45511 if test x$gcc_no_link = xyes; then
45512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45514 { (exit 1); exit 1; }; }
45516 cat >conftest.$ac_ext <<_ACEOF
45517 /* confdefs.h. */
45518 _ACEOF
45519 cat confdefs.h >>conftest.$ac_ext
45520 cat >>conftest.$ac_ext <<_ACEOF
45521 /* end confdefs.h. */
45522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45524 #define $ac_func innocuous_$ac_func
45526 /* System header to define __stub macros and hopefully few prototypes,
45527 which can conflict with char $ac_func (); below.
45528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45529 <limits.h> exists even on freestanding compilers. */
45531 #ifdef __STDC__
45532 # include <limits.h>
45533 #else
45534 # include <assert.h>
45535 #endif
45537 #undef $ac_func
45539 /* Override any gcc2 internal prototype to avoid an error. */
45540 #ifdef __cplusplus
45541 extern "C"
45543 #endif
45544 /* We use char because int might match the return type of a gcc2
45545 builtin and then its argument prototype would still apply. */
45546 char $ac_func ();
45547 /* The GNU C library defines this for functions which it implements
45548 to always fail with ENOSYS. Some functions are actually named
45549 something starting with __ and the normal name is an alias. */
45550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45551 choke me
45552 #else
45553 char (*f) () = $ac_func;
45554 #endif
45555 #ifdef __cplusplus
45557 #endif
45560 main ()
45562 return f != $ac_func;
45564 return 0;
45566 _ACEOF
45567 rm -f conftest.$ac_objext conftest$ac_exeext
45568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45569 (eval $ac_link) 2>conftest.er1
45570 ac_status=$?
45571 grep -v '^ *+' conftest.er1 >conftest.err
45572 rm -f conftest.er1
45573 cat conftest.err >&5
45574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45575 (exit $ac_status); } &&
45576 { ac_try='test -z "$ac_c_werror_flag"
45577 || test ! -s conftest.err'
45578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45579 (eval $ac_try) 2>&5
45580 ac_status=$?
45581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45582 (exit $ac_status); }; } &&
45583 { ac_try='test -s conftest$ac_exeext'
45584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45585 (eval $ac_try) 2>&5
45586 ac_status=$?
45587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45588 (exit $ac_status); }; }; then
45589 eval "$as_ac_var=yes"
45590 else
45591 echo "$as_me: failed program was:" >&5
45592 sed 's/^/| /' conftest.$ac_ext >&5
45594 eval "$as_ac_var=no"
45596 rm -f conftest.err conftest.$ac_objext \
45597 conftest$ac_exeext conftest.$ac_ext
45599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45601 if test `eval echo '${'$as_ac_var'}'` = yes; then
45602 cat >>confdefs.h <<_ACEOF
45603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45604 _ACEOF
45607 done
45617 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45618 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45619 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45620 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45621 echo $ECHO_N "(cached) $ECHO_C" >&6
45622 else
45626 ac_ext=cc
45627 ac_cpp='$CXXCPP $CPPFLAGS'
45628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45632 cat >conftest.$ac_ext <<_ACEOF
45633 /* confdefs.h. */
45634 _ACEOF
45635 cat confdefs.h >>conftest.$ac_ext
45636 cat >>conftest.$ac_ext <<_ACEOF
45637 /* end confdefs.h. */
45638 #include <math.h>
45639 #ifdef HAVE_IEEEFP_H
45640 #include <ieeefp.h>
45641 #endif
45644 main ()
45646 qfpclass(0);
45648 return 0;
45650 _ACEOF
45651 rm -f conftest.$ac_objext
45652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45653 (eval $ac_compile) 2>conftest.er1
45654 ac_status=$?
45655 grep -v '^ *+' conftest.er1 >conftest.err
45656 rm -f conftest.er1
45657 cat conftest.err >&5
45658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45659 (exit $ac_status); } &&
45660 { ac_try='test -z "$ac_cxx_werror_flag"
45661 || test ! -s conftest.err'
45662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45663 (eval $ac_try) 2>&5
45664 ac_status=$?
45665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45666 (exit $ac_status); }; } &&
45667 { ac_try='test -s conftest.$ac_objext'
45668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45669 (eval $ac_try) 2>&5
45670 ac_status=$?
45671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45672 (exit $ac_status); }; }; then
45673 glibcxx_cv_func_qfpclass_use=yes
45674 else
45675 echo "$as_me: failed program was:" >&5
45676 sed 's/^/| /' conftest.$ac_ext >&5
45678 glibcxx_cv_func_qfpclass_use=no
45680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45681 ac_ext=c
45682 ac_cpp='$CPP $CPPFLAGS'
45683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45692 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45694 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45696 for ac_func in qfpclass
45698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45699 echo "$as_me:$LINENO: checking for $ac_func" >&5
45700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45701 if eval "test \"\${$as_ac_var+set}\" = set"; then
45702 echo $ECHO_N "(cached) $ECHO_C" >&6
45703 else
45704 if test x$gcc_no_link = xyes; then
45705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45707 { (exit 1); exit 1; }; }
45709 cat >conftest.$ac_ext <<_ACEOF
45710 /* confdefs.h. */
45711 _ACEOF
45712 cat confdefs.h >>conftest.$ac_ext
45713 cat >>conftest.$ac_ext <<_ACEOF
45714 /* end confdefs.h. */
45715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45717 #define $ac_func innocuous_$ac_func
45719 /* System header to define __stub macros and hopefully few prototypes,
45720 which can conflict with char $ac_func (); below.
45721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45722 <limits.h> exists even on freestanding compilers. */
45724 #ifdef __STDC__
45725 # include <limits.h>
45726 #else
45727 # include <assert.h>
45728 #endif
45730 #undef $ac_func
45732 /* Override any gcc2 internal prototype to avoid an error. */
45733 #ifdef __cplusplus
45734 extern "C"
45736 #endif
45737 /* We use char because int might match the return type of a gcc2
45738 builtin and then its argument prototype would still apply. */
45739 char $ac_func ();
45740 /* The GNU C library defines this for functions which it implements
45741 to always fail with ENOSYS. Some functions are actually named
45742 something starting with __ and the normal name is an alias. */
45743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45744 choke me
45745 #else
45746 char (*f) () = $ac_func;
45747 #endif
45748 #ifdef __cplusplus
45750 #endif
45753 main ()
45755 return f != $ac_func;
45757 return 0;
45759 _ACEOF
45760 rm -f conftest.$ac_objext conftest$ac_exeext
45761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45762 (eval $ac_link) 2>conftest.er1
45763 ac_status=$?
45764 grep -v '^ *+' conftest.er1 >conftest.err
45765 rm -f conftest.er1
45766 cat conftest.err >&5
45767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45768 (exit $ac_status); } &&
45769 { ac_try='test -z "$ac_c_werror_flag"
45770 || test ! -s conftest.err'
45771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45772 (eval $ac_try) 2>&5
45773 ac_status=$?
45774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45775 (exit $ac_status); }; } &&
45776 { ac_try='test -s conftest$ac_exeext'
45777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45778 (eval $ac_try) 2>&5
45779 ac_status=$?
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); }; }; then
45782 eval "$as_ac_var=yes"
45783 else
45784 echo "$as_me: failed program was:" >&5
45785 sed 's/^/| /' conftest.$ac_ext >&5
45787 eval "$as_ac_var=no"
45789 rm -f conftest.err conftest.$ac_objext \
45790 conftest$ac_exeext conftest.$ac_ext
45792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45794 if test `eval echo '${'$as_ac_var'}'` = yes; then
45795 cat >>confdefs.h <<_ACEOF
45796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45797 _ACEOF
45800 done
45802 else
45804 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45805 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45806 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45807 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45809 else
45813 ac_ext=cc
45814 ac_cpp='$CXXCPP $CPPFLAGS'
45815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45819 cat >conftest.$ac_ext <<_ACEOF
45820 /* confdefs.h. */
45821 _ACEOF
45822 cat confdefs.h >>conftest.$ac_ext
45823 cat >>conftest.$ac_ext <<_ACEOF
45824 /* end confdefs.h. */
45825 #include <math.h>
45826 #ifdef HAVE_IEEEFP_H
45827 #include <ieeefp.h>
45828 #endif
45831 main ()
45833 _qfpclass(0);
45835 return 0;
45837 _ACEOF
45838 rm -f conftest.$ac_objext
45839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45840 (eval $ac_compile) 2>conftest.er1
45841 ac_status=$?
45842 grep -v '^ *+' conftest.er1 >conftest.err
45843 rm -f conftest.er1
45844 cat conftest.err >&5
45845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846 (exit $ac_status); } &&
45847 { ac_try='test -z "$ac_cxx_werror_flag"
45848 || test ! -s conftest.err'
45849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45850 (eval $ac_try) 2>&5
45851 ac_status=$?
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); }; } &&
45854 { ac_try='test -s conftest.$ac_objext'
45855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45856 (eval $ac_try) 2>&5
45857 ac_status=$?
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); }; }; then
45860 glibcxx_cv_func__qfpclass_use=yes
45861 else
45862 echo "$as_me: failed program was:" >&5
45863 sed 's/^/| /' conftest.$ac_ext >&5
45865 glibcxx_cv_func__qfpclass_use=no
45867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45868 ac_ext=c
45869 ac_cpp='$CPP $CPPFLAGS'
45870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45879 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45881 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45883 for ac_func in _qfpclass
45885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45886 echo "$as_me:$LINENO: checking for $ac_func" >&5
45887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45888 if eval "test \"\${$as_ac_var+set}\" = set"; then
45889 echo $ECHO_N "(cached) $ECHO_C" >&6
45890 else
45891 if test x$gcc_no_link = xyes; then
45892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45894 { (exit 1); exit 1; }; }
45896 cat >conftest.$ac_ext <<_ACEOF
45897 /* confdefs.h. */
45898 _ACEOF
45899 cat confdefs.h >>conftest.$ac_ext
45900 cat >>conftest.$ac_ext <<_ACEOF
45901 /* end confdefs.h. */
45902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45904 #define $ac_func innocuous_$ac_func
45906 /* System header to define __stub macros and hopefully few prototypes,
45907 which can conflict with char $ac_func (); below.
45908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45909 <limits.h> exists even on freestanding compilers. */
45911 #ifdef __STDC__
45912 # include <limits.h>
45913 #else
45914 # include <assert.h>
45915 #endif
45917 #undef $ac_func
45919 /* Override any gcc2 internal prototype to avoid an error. */
45920 #ifdef __cplusplus
45921 extern "C"
45923 #endif
45924 /* We use char because int might match the return type of a gcc2
45925 builtin and then its argument prototype would still apply. */
45926 char $ac_func ();
45927 /* The GNU C library defines this for functions which it implements
45928 to always fail with ENOSYS. Some functions are actually named
45929 something starting with __ and the normal name is an alias. */
45930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45931 choke me
45932 #else
45933 char (*f) () = $ac_func;
45934 #endif
45935 #ifdef __cplusplus
45937 #endif
45940 main ()
45942 return f != $ac_func;
45944 return 0;
45946 _ACEOF
45947 rm -f conftest.$ac_objext conftest$ac_exeext
45948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45949 (eval $ac_link) 2>conftest.er1
45950 ac_status=$?
45951 grep -v '^ *+' conftest.er1 >conftest.err
45952 rm -f conftest.er1
45953 cat conftest.err >&5
45954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45955 (exit $ac_status); } &&
45956 { ac_try='test -z "$ac_c_werror_flag"
45957 || test ! -s conftest.err'
45958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45959 (eval $ac_try) 2>&5
45960 ac_status=$?
45961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962 (exit $ac_status); }; } &&
45963 { ac_try='test -s conftest$ac_exeext'
45964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45965 (eval $ac_try) 2>&5
45966 ac_status=$?
45967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45968 (exit $ac_status); }; }; then
45969 eval "$as_ac_var=yes"
45970 else
45971 echo "$as_me: failed program was:" >&5
45972 sed 's/^/| /' conftest.$ac_ext >&5
45974 eval "$as_ac_var=no"
45976 rm -f conftest.err conftest.$ac_objext \
45977 conftest$ac_exeext conftest.$ac_ext
45979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45981 if test `eval echo '${'$as_ac_var'}'` = yes; then
45982 cat >>confdefs.h <<_ACEOF
45983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45984 _ACEOF
45987 done
45997 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45998 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45999 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46000 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46001 echo $ECHO_N "(cached) $ECHO_C" >&6
46002 else
46006 ac_ext=cc
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
46020 main ()
46022 hypot(0, 0);
46024 return 0;
46026 _ACEOF
46027 rm -f conftest.$ac_objext
46028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46029 (eval $ac_compile) 2>conftest.er1
46030 ac_status=$?
46031 grep -v '^ *+' conftest.er1 >conftest.err
46032 rm -f conftest.er1
46033 cat conftest.err >&5
46034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46035 (exit $ac_status); } &&
46036 { ac_try='test -z "$ac_cxx_werror_flag"
46037 || test ! -s conftest.err'
46038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46039 (eval $ac_try) 2>&5
46040 ac_status=$?
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); }; } &&
46043 { ac_try='test -s conftest.$ac_objext'
46044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46045 (eval $ac_try) 2>&5
46046 ac_status=$?
46047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46048 (exit $ac_status); }; }; then
46049 glibcxx_cv_func_hypot_use=yes
46050 else
46051 echo "$as_me: failed program was:" >&5
46052 sed 's/^/| /' conftest.$ac_ext >&5
46054 glibcxx_cv_func_hypot_use=no
46056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46057 ac_ext=c
46058 ac_cpp='$CPP $CPPFLAGS'
46059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46068 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46070 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46072 for ac_func in hypot
46074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46075 echo "$as_me:$LINENO: checking for $ac_func" >&5
46076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46077 if eval "test \"\${$as_ac_var+set}\" = set"; then
46078 echo $ECHO_N "(cached) $ECHO_C" >&6
46079 else
46080 if test x$gcc_no_link = xyes; then
46081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46083 { (exit 1); exit 1; }; }
46085 cat >conftest.$ac_ext <<_ACEOF
46086 /* confdefs.h. */
46087 _ACEOF
46088 cat confdefs.h >>conftest.$ac_ext
46089 cat >>conftest.$ac_ext <<_ACEOF
46090 /* end confdefs.h. */
46091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46093 #define $ac_func innocuous_$ac_func
46095 /* System header to define __stub macros and hopefully few prototypes,
46096 which can conflict with char $ac_func (); below.
46097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46098 <limits.h> exists even on freestanding compilers. */
46100 #ifdef __STDC__
46101 # include <limits.h>
46102 #else
46103 # include <assert.h>
46104 #endif
46106 #undef $ac_func
46108 /* Override any gcc2 internal prototype to avoid an error. */
46109 #ifdef __cplusplus
46110 extern "C"
46112 #endif
46113 /* We use char because int might match the return type of a gcc2
46114 builtin and then its argument prototype would still apply. */
46115 char $ac_func ();
46116 /* The GNU C library defines this for functions which it implements
46117 to always fail with ENOSYS. Some functions are actually named
46118 something starting with __ and the normal name is an alias. */
46119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46120 choke me
46121 #else
46122 char (*f) () = $ac_func;
46123 #endif
46124 #ifdef __cplusplus
46126 #endif
46129 main ()
46131 return f != $ac_func;
46133 return 0;
46135 _ACEOF
46136 rm -f conftest.$ac_objext conftest$ac_exeext
46137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46138 (eval $ac_link) 2>conftest.er1
46139 ac_status=$?
46140 grep -v '^ *+' conftest.er1 >conftest.err
46141 rm -f conftest.er1
46142 cat conftest.err >&5
46143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46144 (exit $ac_status); } &&
46145 { ac_try='test -z "$ac_c_werror_flag"
46146 || test ! -s conftest.err'
46147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46148 (eval $ac_try) 2>&5
46149 ac_status=$?
46150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46151 (exit $ac_status); }; } &&
46152 { ac_try='test -s conftest$ac_exeext'
46153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46154 (eval $ac_try) 2>&5
46155 ac_status=$?
46156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157 (exit $ac_status); }; }; then
46158 eval "$as_ac_var=yes"
46159 else
46160 echo "$as_me: failed program was:" >&5
46161 sed 's/^/| /' conftest.$ac_ext >&5
46163 eval "$as_ac_var=no"
46165 rm -f conftest.err conftest.$ac_objext \
46166 conftest$ac_exeext conftest.$ac_ext
46168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46170 if test `eval echo '${'$as_ac_var'}'` = yes; then
46171 cat >>confdefs.h <<_ACEOF
46172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46173 _ACEOF
46176 done
46178 else
46180 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46181 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46182 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46183 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46184 echo $ECHO_N "(cached) $ECHO_C" >&6
46185 else
46189 ac_ext=cc
46190 ac_cpp='$CXXCPP $CPPFLAGS'
46191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
46203 main ()
46205 _hypot(0, 0);
46207 return 0;
46209 _ACEOF
46210 rm -f conftest.$ac_objext
46211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46212 (eval $ac_compile) 2>conftest.er1
46213 ac_status=$?
46214 grep -v '^ *+' conftest.er1 >conftest.err
46215 rm -f conftest.er1
46216 cat conftest.err >&5
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); } &&
46219 { ac_try='test -z "$ac_cxx_werror_flag"
46220 || test ! -s conftest.err'
46221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46222 (eval $ac_try) 2>&5
46223 ac_status=$?
46224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46225 (exit $ac_status); }; } &&
46226 { ac_try='test -s conftest.$ac_objext'
46227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46228 (eval $ac_try) 2>&5
46229 ac_status=$?
46230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46231 (exit $ac_status); }; }; then
46232 glibcxx_cv_func__hypot_use=yes
46233 else
46234 echo "$as_me: failed program was:" >&5
46235 sed 's/^/| /' conftest.$ac_ext >&5
46237 glibcxx_cv_func__hypot_use=no
46239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46240 ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46251 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46253 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46255 for ac_func in _hypot
46257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46258 echo "$as_me:$LINENO: checking for $ac_func" >&5
46259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46260 if eval "test \"\${$as_ac_var+set}\" = set"; then
46261 echo $ECHO_N "(cached) $ECHO_C" >&6
46262 else
46263 if test x$gcc_no_link = xyes; then
46264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46266 { (exit 1); exit 1; }; }
46268 cat >conftest.$ac_ext <<_ACEOF
46269 /* confdefs.h. */
46270 _ACEOF
46271 cat confdefs.h >>conftest.$ac_ext
46272 cat >>conftest.$ac_ext <<_ACEOF
46273 /* end confdefs.h. */
46274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46276 #define $ac_func innocuous_$ac_func
46278 /* System header to define __stub macros and hopefully few prototypes,
46279 which can conflict with char $ac_func (); below.
46280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46281 <limits.h> exists even on freestanding compilers. */
46283 #ifdef __STDC__
46284 # include <limits.h>
46285 #else
46286 # include <assert.h>
46287 #endif
46289 #undef $ac_func
46291 /* Override any gcc2 internal prototype to avoid an error. */
46292 #ifdef __cplusplus
46293 extern "C"
46295 #endif
46296 /* We use char because int might match the return type of a gcc2
46297 builtin and then its argument prototype would still apply. */
46298 char $ac_func ();
46299 /* The GNU C library defines this for functions which it implements
46300 to always fail with ENOSYS. Some functions are actually named
46301 something starting with __ and the normal name is an alias. */
46302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46303 choke me
46304 #else
46305 char (*f) () = $ac_func;
46306 #endif
46307 #ifdef __cplusplus
46309 #endif
46312 main ()
46314 return f != $ac_func;
46316 return 0;
46318 _ACEOF
46319 rm -f conftest.$ac_objext conftest$ac_exeext
46320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46321 (eval $ac_link) 2>conftest.er1
46322 ac_status=$?
46323 grep -v '^ *+' conftest.er1 >conftest.err
46324 rm -f conftest.er1
46325 cat conftest.err >&5
46326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46327 (exit $ac_status); } &&
46328 { ac_try='test -z "$ac_c_werror_flag"
46329 || test ! -s conftest.err'
46330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46331 (eval $ac_try) 2>&5
46332 ac_status=$?
46333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46334 (exit $ac_status); }; } &&
46335 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46341 eval "$as_ac_var=yes"
46342 else
46343 echo "$as_me: failed program was:" >&5
46344 sed 's/^/| /' conftest.$ac_ext >&5
46346 eval "$as_ac_var=no"
46348 rm -f conftest.err conftest.$ac_objext \
46349 conftest$ac_exeext conftest.$ac_ext
46351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46353 if test `eval echo '${'$as_ac_var'}'` = yes; then
46354 cat >>confdefs.h <<_ACEOF
46355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46356 _ACEOF
46359 done
46369 echo "$as_me:$LINENO: checking for float trig functions" >&5
46370 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46371 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46372 echo $ECHO_N "(cached) $ECHO_C" >&6
46373 else
46377 ac_ext=cc
46378 ac_cpp='$CXXCPP $CPPFLAGS'
46379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46383 cat >conftest.$ac_ext <<_ACEOF
46384 /* confdefs.h. */
46385 _ACEOF
46386 cat confdefs.h >>conftest.$ac_ext
46387 cat >>conftest.$ac_ext <<_ACEOF
46388 /* end confdefs.h. */
46389 #include <math.h>
46391 main ()
46393 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46395 return 0;
46397 _ACEOF
46398 rm -f conftest.$ac_objext
46399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46400 (eval $ac_compile) 2>conftest.er1
46401 ac_status=$?
46402 grep -v '^ *+' conftest.er1 >conftest.err
46403 rm -f conftest.er1
46404 cat conftest.err >&5
46405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46406 (exit $ac_status); } &&
46407 { ac_try='test -z "$ac_cxx_werror_flag"
46408 || test ! -s conftest.err'
46409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46410 (eval $ac_try) 2>&5
46411 ac_status=$?
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); }; } &&
46414 { ac_try='test -s conftest.$ac_objext'
46415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46416 (eval $ac_try) 2>&5
46417 ac_status=$?
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); }; }; then
46420 glibcxx_cv_func_float_trig_use=yes
46421 else
46422 echo "$as_me: failed program was:" >&5
46423 sed 's/^/| /' conftest.$ac_ext >&5
46425 glibcxx_cv_func_float_trig_use=no
46427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46428 ac_ext=c
46429 ac_cpp='$CPP $CPPFLAGS'
46430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46437 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46438 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46448 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46451 echo "$as_me:$LINENO: checking for $ac_func" >&5
46452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46453 if eval "test \"\${$as_ac_var+set}\" = set"; then
46454 echo $ECHO_N "(cached) $ECHO_C" >&6
46455 else
46456 if test x$gcc_no_link = xyes; then
46457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46459 { (exit 1); exit 1; }; }
46461 cat >conftest.$ac_ext <<_ACEOF
46462 /* confdefs.h. */
46463 _ACEOF
46464 cat confdefs.h >>conftest.$ac_ext
46465 cat >>conftest.$ac_ext <<_ACEOF
46466 /* end confdefs.h. */
46467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46469 #define $ac_func innocuous_$ac_func
46471 /* System header to define __stub macros and hopefully few prototypes,
46472 which can conflict with char $ac_func (); below.
46473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46474 <limits.h> exists even on freestanding compilers. */
46476 #ifdef __STDC__
46477 # include <limits.h>
46478 #else
46479 # include <assert.h>
46480 #endif
46482 #undef $ac_func
46484 /* Override any gcc2 internal prototype to avoid an error. */
46485 #ifdef __cplusplus
46486 extern "C"
46488 #endif
46489 /* We use char because int might match the return type of a gcc2
46490 builtin and then its argument prototype would still apply. */
46491 char $ac_func ();
46492 /* The GNU C library defines this for functions which it implements
46493 to always fail with ENOSYS. Some functions are actually named
46494 something starting with __ and the normal name is an alias. */
46495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46496 choke me
46497 #else
46498 char (*f) () = $ac_func;
46499 #endif
46500 #ifdef __cplusplus
46502 #endif
46505 main ()
46507 return f != $ac_func;
46509 return 0;
46511 _ACEOF
46512 rm -f conftest.$ac_objext conftest$ac_exeext
46513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46514 (eval $ac_link) 2>conftest.er1
46515 ac_status=$?
46516 grep -v '^ *+' conftest.er1 >conftest.err
46517 rm -f conftest.er1
46518 cat conftest.err >&5
46519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46520 (exit $ac_status); } &&
46521 { ac_try='test -z "$ac_c_werror_flag"
46522 || test ! -s conftest.err'
46523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46524 (eval $ac_try) 2>&5
46525 ac_status=$?
46526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527 (exit $ac_status); }; } &&
46528 { ac_try='test -s conftest$ac_exeext'
46529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46530 (eval $ac_try) 2>&5
46531 ac_status=$?
46532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46533 (exit $ac_status); }; }; then
46534 eval "$as_ac_var=yes"
46535 else
46536 echo "$as_me: failed program was:" >&5
46537 sed 's/^/| /' conftest.$ac_ext >&5
46539 eval "$as_ac_var=no"
46541 rm -f conftest.err conftest.$ac_objext \
46542 conftest$ac_exeext conftest.$ac_ext
46544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46546 if test `eval echo '${'$as_ac_var'}'` = yes; then
46547 cat >>confdefs.h <<_ACEOF
46548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46549 _ACEOF
46552 done
46554 else
46555 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46556 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46557 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46558 echo $ECHO_N "(cached) $ECHO_C" >&6
46559 else
46563 ac_ext=cc
46564 ac_cpp='$CXXCPP $CPPFLAGS'
46565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46569 cat >conftest.$ac_ext <<_ACEOF
46570 /* confdefs.h. */
46571 _ACEOF
46572 cat confdefs.h >>conftest.$ac_ext
46573 cat >>conftest.$ac_ext <<_ACEOF
46574 /* end confdefs.h. */
46575 #include <math.h>
46577 main ()
46579 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46581 return 0;
46583 _ACEOF
46584 rm -f conftest.$ac_objext
46585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46586 (eval $ac_compile) 2>conftest.er1
46587 ac_status=$?
46588 grep -v '^ *+' conftest.er1 >conftest.err
46589 rm -f conftest.er1
46590 cat conftest.err >&5
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); } &&
46593 { ac_try='test -z "$ac_cxx_werror_flag"
46594 || test ! -s conftest.err'
46595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46596 (eval $ac_try) 2>&5
46597 ac_status=$?
46598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46599 (exit $ac_status); }; } &&
46600 { ac_try='test -s conftest.$ac_objext'
46601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46602 (eval $ac_try) 2>&5
46603 ac_status=$?
46604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46605 (exit $ac_status); }; }; then
46606 glibcxx_cv_func__float_trig_use=yes
46607 else
46608 echo "$as_me: failed program was:" >&5
46609 sed 's/^/| /' conftest.$ac_ext >&5
46611 glibcxx_cv_func__float_trig_use=no
46613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46614 ac_ext=c
46615 ac_cpp='$CPP $CPPFLAGS'
46616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46623 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46624 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46634 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46637 echo "$as_me:$LINENO: checking for $ac_func" >&5
46638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46639 if eval "test \"\${$as_ac_var+set}\" = set"; then
46640 echo $ECHO_N "(cached) $ECHO_C" >&6
46641 else
46642 if test x$gcc_no_link = xyes; then
46643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46645 { (exit 1); exit 1; }; }
46647 cat >conftest.$ac_ext <<_ACEOF
46648 /* confdefs.h. */
46649 _ACEOF
46650 cat confdefs.h >>conftest.$ac_ext
46651 cat >>conftest.$ac_ext <<_ACEOF
46652 /* end confdefs.h. */
46653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46655 #define $ac_func innocuous_$ac_func
46657 /* System header to define __stub macros and hopefully few prototypes,
46658 which can conflict with char $ac_func (); below.
46659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46660 <limits.h> exists even on freestanding compilers. */
46662 #ifdef __STDC__
46663 # include <limits.h>
46664 #else
46665 # include <assert.h>
46666 #endif
46668 #undef $ac_func
46670 /* Override any gcc2 internal prototype to avoid an error. */
46671 #ifdef __cplusplus
46672 extern "C"
46674 #endif
46675 /* We use char because int might match the return type of a gcc2
46676 builtin and then its argument prototype would still apply. */
46677 char $ac_func ();
46678 /* The GNU C library defines this for functions which it implements
46679 to always fail with ENOSYS. Some functions are actually named
46680 something starting with __ and the normal name is an alias. */
46681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46682 choke me
46683 #else
46684 char (*f) () = $ac_func;
46685 #endif
46686 #ifdef __cplusplus
46688 #endif
46691 main ()
46693 return f != $ac_func;
46695 return 0;
46697 _ACEOF
46698 rm -f conftest.$ac_objext conftest$ac_exeext
46699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46700 (eval $ac_link) 2>conftest.er1
46701 ac_status=$?
46702 grep -v '^ *+' conftest.er1 >conftest.err
46703 rm -f conftest.er1
46704 cat conftest.err >&5
46705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46706 (exit $ac_status); } &&
46707 { ac_try='test -z "$ac_c_werror_flag"
46708 || test ! -s conftest.err'
46709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46710 (eval $ac_try) 2>&5
46711 ac_status=$?
46712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46713 (exit $ac_status); }; } &&
46714 { ac_try='test -s conftest$ac_exeext'
46715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46716 (eval $ac_try) 2>&5
46717 ac_status=$?
46718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46719 (exit $ac_status); }; }; then
46720 eval "$as_ac_var=yes"
46721 else
46722 echo "$as_me: failed program was:" >&5
46723 sed 's/^/| /' conftest.$ac_ext >&5
46725 eval "$as_ac_var=no"
46727 rm -f conftest.err conftest.$ac_objext \
46728 conftest$ac_exeext conftest.$ac_ext
46730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46732 if test `eval echo '${'$as_ac_var'}'` = yes; then
46733 cat >>confdefs.h <<_ACEOF
46734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46735 _ACEOF
46738 done
46756 echo "$as_me:$LINENO: checking for float round functions" >&5
46757 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46758 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46759 echo $ECHO_N "(cached) $ECHO_C" >&6
46760 else
46764 ac_ext=cc
46765 ac_cpp='$CXXCPP $CPPFLAGS'
46766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46770 cat >conftest.$ac_ext <<_ACEOF
46771 /* confdefs.h. */
46772 _ACEOF
46773 cat confdefs.h >>conftest.$ac_ext
46774 cat >>conftest.$ac_ext <<_ACEOF
46775 /* end confdefs.h. */
46776 #include <math.h>
46778 main ()
46780 ceilf (0); floorf (0);
46782 return 0;
46784 _ACEOF
46785 rm -f conftest.$ac_objext
46786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46787 (eval $ac_compile) 2>conftest.er1
46788 ac_status=$?
46789 grep -v '^ *+' conftest.er1 >conftest.err
46790 rm -f conftest.er1
46791 cat conftest.err >&5
46792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46793 (exit $ac_status); } &&
46794 { ac_try='test -z "$ac_cxx_werror_flag"
46795 || test ! -s conftest.err'
46796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46797 (eval $ac_try) 2>&5
46798 ac_status=$?
46799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46800 (exit $ac_status); }; } &&
46801 { ac_try='test -s conftest.$ac_objext'
46802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46803 (eval $ac_try) 2>&5
46804 ac_status=$?
46805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46806 (exit $ac_status); }; }; then
46807 glibcxx_cv_func_float_round_use=yes
46808 else
46809 echo "$as_me: failed program was:" >&5
46810 sed 's/^/| /' conftest.$ac_ext >&5
46812 glibcxx_cv_func_float_round_use=no
46814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46815 ac_ext=c
46816 ac_cpp='$CPP $CPPFLAGS'
46817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46824 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46825 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46828 for ac_func in ceilf floorf
46830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46831 echo "$as_me:$LINENO: checking for $ac_func" >&5
46832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46833 if eval "test \"\${$as_ac_var+set}\" = set"; then
46834 echo $ECHO_N "(cached) $ECHO_C" >&6
46835 else
46836 if test x$gcc_no_link = xyes; then
46837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46839 { (exit 1); exit 1; }; }
46841 cat >conftest.$ac_ext <<_ACEOF
46842 /* confdefs.h. */
46843 _ACEOF
46844 cat confdefs.h >>conftest.$ac_ext
46845 cat >>conftest.$ac_ext <<_ACEOF
46846 /* end confdefs.h. */
46847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46849 #define $ac_func innocuous_$ac_func
46851 /* System header to define __stub macros and hopefully few prototypes,
46852 which can conflict with char $ac_func (); below.
46853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46854 <limits.h> exists even on freestanding compilers. */
46856 #ifdef __STDC__
46857 # include <limits.h>
46858 #else
46859 # include <assert.h>
46860 #endif
46862 #undef $ac_func
46864 /* Override any gcc2 internal prototype to avoid an error. */
46865 #ifdef __cplusplus
46866 extern "C"
46868 #endif
46869 /* We use char because int might match the return type of a gcc2
46870 builtin and then its argument prototype would still apply. */
46871 char $ac_func ();
46872 /* The GNU C library defines this for functions which it implements
46873 to always fail with ENOSYS. Some functions are actually named
46874 something starting with __ and the normal name is an alias. */
46875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46876 choke me
46877 #else
46878 char (*f) () = $ac_func;
46879 #endif
46880 #ifdef __cplusplus
46882 #endif
46885 main ()
46887 return f != $ac_func;
46889 return 0;
46891 _ACEOF
46892 rm -f conftest.$ac_objext conftest$ac_exeext
46893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46894 (eval $ac_link) 2>conftest.er1
46895 ac_status=$?
46896 grep -v '^ *+' conftest.er1 >conftest.err
46897 rm -f conftest.er1
46898 cat conftest.err >&5
46899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46900 (exit $ac_status); } &&
46901 { ac_try='test -z "$ac_c_werror_flag"
46902 || test ! -s conftest.err'
46903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46904 (eval $ac_try) 2>&5
46905 ac_status=$?
46906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46907 (exit $ac_status); }; } &&
46908 { ac_try='test -s conftest$ac_exeext'
46909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46910 (eval $ac_try) 2>&5
46911 ac_status=$?
46912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46913 (exit $ac_status); }; }; then
46914 eval "$as_ac_var=yes"
46915 else
46916 echo "$as_me: failed program was:" >&5
46917 sed 's/^/| /' conftest.$ac_ext >&5
46919 eval "$as_ac_var=no"
46921 rm -f conftest.err conftest.$ac_objext \
46922 conftest$ac_exeext conftest.$ac_ext
46924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46926 if test `eval echo '${'$as_ac_var'}'` = yes; then
46927 cat >>confdefs.h <<_ACEOF
46928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46929 _ACEOF
46932 done
46934 else
46935 echo "$as_me:$LINENO: checking for _float round functions" >&5
46936 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46937 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46938 echo $ECHO_N "(cached) $ECHO_C" >&6
46939 else
46943 ac_ext=cc
46944 ac_cpp='$CXXCPP $CPPFLAGS'
46945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46949 cat >conftest.$ac_ext <<_ACEOF
46950 /* confdefs.h. */
46951 _ACEOF
46952 cat confdefs.h >>conftest.$ac_ext
46953 cat >>conftest.$ac_ext <<_ACEOF
46954 /* end confdefs.h. */
46955 #include <math.h>
46957 main ()
46959 _ceilf (0); _floorf (0);
46961 return 0;
46963 _ACEOF
46964 rm -f conftest.$ac_objext
46965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46966 (eval $ac_compile) 2>conftest.er1
46967 ac_status=$?
46968 grep -v '^ *+' conftest.er1 >conftest.err
46969 rm -f conftest.er1
46970 cat conftest.err >&5
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); } &&
46973 { ac_try='test -z "$ac_cxx_werror_flag"
46974 || test ! -s conftest.err'
46975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46976 (eval $ac_try) 2>&5
46977 ac_status=$?
46978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46979 (exit $ac_status); }; } &&
46980 { ac_try='test -s conftest.$ac_objext'
46981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46982 (eval $ac_try) 2>&5
46983 ac_status=$?
46984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46985 (exit $ac_status); }; }; then
46986 glibcxx_cv_func__float_round_use=yes
46987 else
46988 echo "$as_me: failed program was:" >&5
46989 sed 's/^/| /' conftest.$ac_ext >&5
46991 glibcxx_cv_func__float_round_use=no
46993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46994 ac_ext=c
46995 ac_cpp='$CPP $CPPFLAGS'
46996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47003 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47004 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47007 for ac_func in _ceilf _floorf
47009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47010 echo "$as_me:$LINENO: checking for $ac_func" >&5
47011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47012 if eval "test \"\${$as_ac_var+set}\" = set"; then
47013 echo $ECHO_N "(cached) $ECHO_C" >&6
47014 else
47015 if test x$gcc_no_link = xyes; then
47016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47018 { (exit 1); exit 1; }; }
47020 cat >conftest.$ac_ext <<_ACEOF
47021 /* confdefs.h. */
47022 _ACEOF
47023 cat confdefs.h >>conftest.$ac_ext
47024 cat >>conftest.$ac_ext <<_ACEOF
47025 /* end confdefs.h. */
47026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47028 #define $ac_func innocuous_$ac_func
47030 /* System header to define __stub macros and hopefully few prototypes,
47031 which can conflict with char $ac_func (); below.
47032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47033 <limits.h> exists even on freestanding compilers. */
47035 #ifdef __STDC__
47036 # include <limits.h>
47037 #else
47038 # include <assert.h>
47039 #endif
47041 #undef $ac_func
47043 /* Override any gcc2 internal prototype to avoid an error. */
47044 #ifdef __cplusplus
47045 extern "C"
47047 #endif
47048 /* We use char because int might match the return type of a gcc2
47049 builtin and then its argument prototype would still apply. */
47050 char $ac_func ();
47051 /* The GNU C library defines this for functions which it implements
47052 to always fail with ENOSYS. Some functions are actually named
47053 something starting with __ and the normal name is an alias. */
47054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47055 choke me
47056 #else
47057 char (*f) () = $ac_func;
47058 #endif
47059 #ifdef __cplusplus
47061 #endif
47064 main ()
47066 return f != $ac_func;
47068 return 0;
47070 _ACEOF
47071 rm -f conftest.$ac_objext conftest$ac_exeext
47072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47073 (eval $ac_link) 2>conftest.er1
47074 ac_status=$?
47075 grep -v '^ *+' conftest.er1 >conftest.err
47076 rm -f conftest.er1
47077 cat conftest.err >&5
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); } &&
47080 { ac_try='test -z "$ac_c_werror_flag"
47081 || test ! -s conftest.err'
47082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47083 (eval $ac_try) 2>&5
47084 ac_status=$?
47085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086 (exit $ac_status); }; } &&
47087 { ac_try='test -s conftest$ac_exeext'
47088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47089 (eval $ac_try) 2>&5
47090 ac_status=$?
47091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47092 (exit $ac_status); }; }; then
47093 eval "$as_ac_var=yes"
47094 else
47095 echo "$as_me: failed program was:" >&5
47096 sed 's/^/| /' conftest.$ac_ext >&5
47098 eval "$as_ac_var=no"
47100 rm -f conftest.err conftest.$ac_objext \
47101 conftest$ac_exeext conftest.$ac_ext
47103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47105 if test `eval echo '${'$as_ac_var'}'` = yes; then
47106 cat >>confdefs.h <<_ACEOF
47107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47108 _ACEOF
47111 done
47123 echo "$as_me:$LINENO: checking for expf declaration" >&5
47124 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47125 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47126 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47127 echo $ECHO_N "(cached) $ECHO_C" >&6
47128 else
47132 ac_ext=cc
47133 ac_cpp='$CXXCPP $CPPFLAGS'
47134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47138 cat >conftest.$ac_ext <<_ACEOF
47139 /* confdefs.h. */
47140 _ACEOF
47141 cat confdefs.h >>conftest.$ac_ext
47142 cat >>conftest.$ac_ext <<_ACEOF
47143 /* end confdefs.h. */
47144 #include <math.h>
47145 #ifdef HAVE_IEEEFP_H
47146 #include <ieeefp.h>
47147 #endif
47150 main ()
47152 expf(0);
47154 return 0;
47156 _ACEOF
47157 rm -f conftest.$ac_objext
47158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47159 (eval $ac_compile) 2>conftest.er1
47160 ac_status=$?
47161 grep -v '^ *+' conftest.er1 >conftest.err
47162 rm -f conftest.er1
47163 cat conftest.err >&5
47164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47165 (exit $ac_status); } &&
47166 { ac_try='test -z "$ac_cxx_werror_flag"
47167 || test ! -s conftest.err'
47168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47169 (eval $ac_try) 2>&5
47170 ac_status=$?
47171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47172 (exit $ac_status); }; } &&
47173 { ac_try='test -s conftest.$ac_objext'
47174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47175 (eval $ac_try) 2>&5
47176 ac_status=$?
47177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47178 (exit $ac_status); }; }; then
47179 glibcxx_cv_func_expf_use=yes
47180 else
47181 echo "$as_me: failed program was:" >&5
47182 sed 's/^/| /' conftest.$ac_ext >&5
47184 glibcxx_cv_func_expf_use=no
47186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47187 ac_ext=c
47188 ac_cpp='$CPP $CPPFLAGS'
47189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47198 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47200 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47202 for ac_func in expf
47204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47205 echo "$as_me:$LINENO: checking for $ac_func" >&5
47206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47207 if eval "test \"\${$as_ac_var+set}\" = set"; then
47208 echo $ECHO_N "(cached) $ECHO_C" >&6
47209 else
47210 if test x$gcc_no_link = xyes; then
47211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47213 { (exit 1); exit 1; }; }
47215 cat >conftest.$ac_ext <<_ACEOF
47216 /* confdefs.h. */
47217 _ACEOF
47218 cat confdefs.h >>conftest.$ac_ext
47219 cat >>conftest.$ac_ext <<_ACEOF
47220 /* end confdefs.h. */
47221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47223 #define $ac_func innocuous_$ac_func
47225 /* System header to define __stub macros and hopefully few prototypes,
47226 which can conflict with char $ac_func (); below.
47227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47228 <limits.h> exists even on freestanding compilers. */
47230 #ifdef __STDC__
47231 # include <limits.h>
47232 #else
47233 # include <assert.h>
47234 #endif
47236 #undef $ac_func
47238 /* Override any gcc2 internal prototype to avoid an error. */
47239 #ifdef __cplusplus
47240 extern "C"
47242 #endif
47243 /* We use char because int might match the return type of a gcc2
47244 builtin and then its argument prototype would still apply. */
47245 char $ac_func ();
47246 /* The GNU C library defines this for functions which it implements
47247 to always fail with ENOSYS. Some functions are actually named
47248 something starting with __ and the normal name is an alias. */
47249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47250 choke me
47251 #else
47252 char (*f) () = $ac_func;
47253 #endif
47254 #ifdef __cplusplus
47256 #endif
47259 main ()
47261 return f != $ac_func;
47263 return 0;
47265 _ACEOF
47266 rm -f conftest.$ac_objext conftest$ac_exeext
47267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47268 (eval $ac_link) 2>conftest.er1
47269 ac_status=$?
47270 grep -v '^ *+' conftest.er1 >conftest.err
47271 rm -f conftest.er1
47272 cat conftest.err >&5
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); } &&
47275 { ac_try='test -z "$ac_c_werror_flag"
47276 || test ! -s conftest.err'
47277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47278 (eval $ac_try) 2>&5
47279 ac_status=$?
47280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47281 (exit $ac_status); }; } &&
47282 { ac_try='test -s conftest$ac_exeext'
47283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47284 (eval $ac_try) 2>&5
47285 ac_status=$?
47286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47287 (exit $ac_status); }; }; then
47288 eval "$as_ac_var=yes"
47289 else
47290 echo "$as_me: failed program was:" >&5
47291 sed 's/^/| /' conftest.$ac_ext >&5
47293 eval "$as_ac_var=no"
47295 rm -f conftest.err conftest.$ac_objext \
47296 conftest$ac_exeext conftest.$ac_ext
47298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47300 if test `eval echo '${'$as_ac_var'}'` = yes; then
47301 cat >>confdefs.h <<_ACEOF
47302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47303 _ACEOF
47306 done
47308 else
47310 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47311 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47312 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47313 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47315 else
47319 ac_ext=cc
47320 ac_cpp='$CXXCPP $CPPFLAGS'
47321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47325 cat >conftest.$ac_ext <<_ACEOF
47326 /* confdefs.h. */
47327 _ACEOF
47328 cat confdefs.h >>conftest.$ac_ext
47329 cat >>conftest.$ac_ext <<_ACEOF
47330 /* end confdefs.h. */
47331 #include <math.h>
47332 #ifdef HAVE_IEEEFP_H
47333 #include <ieeefp.h>
47334 #endif
47337 main ()
47339 _expf(0);
47341 return 0;
47343 _ACEOF
47344 rm -f conftest.$ac_objext
47345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47346 (eval $ac_compile) 2>conftest.er1
47347 ac_status=$?
47348 grep -v '^ *+' conftest.er1 >conftest.err
47349 rm -f conftest.er1
47350 cat conftest.err >&5
47351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47352 (exit $ac_status); } &&
47353 { ac_try='test -z "$ac_cxx_werror_flag"
47354 || test ! -s conftest.err'
47355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47356 (eval $ac_try) 2>&5
47357 ac_status=$?
47358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359 (exit $ac_status); }; } &&
47360 { ac_try='test -s conftest.$ac_objext'
47361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47362 (eval $ac_try) 2>&5
47363 ac_status=$?
47364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47365 (exit $ac_status); }; }; then
47366 glibcxx_cv_func__expf_use=yes
47367 else
47368 echo "$as_me: failed program was:" >&5
47369 sed 's/^/| /' conftest.$ac_ext >&5
47371 glibcxx_cv_func__expf_use=no
47373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47374 ac_ext=c
47375 ac_cpp='$CPP $CPPFLAGS'
47376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47385 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47387 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47389 for ac_func in _expf
47391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47392 echo "$as_me:$LINENO: checking for $ac_func" >&5
47393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47394 if eval "test \"\${$as_ac_var+set}\" = set"; then
47395 echo $ECHO_N "(cached) $ECHO_C" >&6
47396 else
47397 if test x$gcc_no_link = xyes; then
47398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47400 { (exit 1); exit 1; }; }
47402 cat >conftest.$ac_ext <<_ACEOF
47403 /* confdefs.h. */
47404 _ACEOF
47405 cat confdefs.h >>conftest.$ac_ext
47406 cat >>conftest.$ac_ext <<_ACEOF
47407 /* end confdefs.h. */
47408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47410 #define $ac_func innocuous_$ac_func
47412 /* System header to define __stub macros and hopefully few prototypes,
47413 which can conflict with char $ac_func (); below.
47414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47415 <limits.h> exists even on freestanding compilers. */
47417 #ifdef __STDC__
47418 # include <limits.h>
47419 #else
47420 # include <assert.h>
47421 #endif
47423 #undef $ac_func
47425 /* Override any gcc2 internal prototype to avoid an error. */
47426 #ifdef __cplusplus
47427 extern "C"
47429 #endif
47430 /* We use char because int might match the return type of a gcc2
47431 builtin and then its argument prototype would still apply. */
47432 char $ac_func ();
47433 /* The GNU C library defines this for functions which it implements
47434 to always fail with ENOSYS. Some functions are actually named
47435 something starting with __ and the normal name is an alias. */
47436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47437 choke me
47438 #else
47439 char (*f) () = $ac_func;
47440 #endif
47441 #ifdef __cplusplus
47443 #endif
47446 main ()
47448 return f != $ac_func;
47450 return 0;
47452 _ACEOF
47453 rm -f conftest.$ac_objext conftest$ac_exeext
47454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47455 (eval $ac_link) 2>conftest.er1
47456 ac_status=$?
47457 grep -v '^ *+' conftest.er1 >conftest.err
47458 rm -f conftest.er1
47459 cat conftest.err >&5
47460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47461 (exit $ac_status); } &&
47462 { ac_try='test -z "$ac_c_werror_flag"
47463 || test ! -s conftest.err'
47464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47465 (eval $ac_try) 2>&5
47466 ac_status=$?
47467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47468 (exit $ac_status); }; } &&
47469 { ac_try='test -s conftest$ac_exeext'
47470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47471 (eval $ac_try) 2>&5
47472 ac_status=$?
47473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47474 (exit $ac_status); }; }; then
47475 eval "$as_ac_var=yes"
47476 else
47477 echo "$as_me: failed program was:" >&5
47478 sed 's/^/| /' conftest.$ac_ext >&5
47480 eval "$as_ac_var=no"
47482 rm -f conftest.err conftest.$ac_objext \
47483 conftest$ac_exeext conftest.$ac_ext
47485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47487 if test `eval echo '${'$as_ac_var'}'` = yes; then
47488 cat >>confdefs.h <<_ACEOF
47489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47490 _ACEOF
47493 done
47503 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47504 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47505 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47506 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47507 echo $ECHO_N "(cached) $ECHO_C" >&6
47508 else
47512 ac_ext=cc
47513 ac_cpp='$CXXCPP $CPPFLAGS'
47514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47518 cat >conftest.$ac_ext <<_ACEOF
47519 /* confdefs.h. */
47520 _ACEOF
47521 cat confdefs.h >>conftest.$ac_ext
47522 cat >>conftest.$ac_ext <<_ACEOF
47523 /* end confdefs.h. */
47524 #include <math.h>
47525 #ifdef HAVE_IEEEFP_H
47526 #include <ieeefp.h>
47527 #endif
47530 main ()
47532 isnanf(0);
47534 return 0;
47536 _ACEOF
47537 rm -f conftest.$ac_objext
47538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47539 (eval $ac_compile) 2>conftest.er1
47540 ac_status=$?
47541 grep -v '^ *+' conftest.er1 >conftest.err
47542 rm -f conftest.er1
47543 cat conftest.err >&5
47544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47545 (exit $ac_status); } &&
47546 { ac_try='test -z "$ac_cxx_werror_flag"
47547 || test ! -s conftest.err'
47548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47549 (eval $ac_try) 2>&5
47550 ac_status=$?
47551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47552 (exit $ac_status); }; } &&
47553 { ac_try='test -s conftest.$ac_objext'
47554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47555 (eval $ac_try) 2>&5
47556 ac_status=$?
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); }; }; then
47559 glibcxx_cv_func_isnanf_use=yes
47560 else
47561 echo "$as_me: failed program was:" >&5
47562 sed 's/^/| /' conftest.$ac_ext >&5
47564 glibcxx_cv_func_isnanf_use=no
47566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47567 ac_ext=c
47568 ac_cpp='$CPP $CPPFLAGS'
47569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47578 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47580 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47582 for ac_func in isnanf
47584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47585 echo "$as_me:$LINENO: checking for $ac_func" >&5
47586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47587 if eval "test \"\${$as_ac_var+set}\" = set"; then
47588 echo $ECHO_N "(cached) $ECHO_C" >&6
47589 else
47590 if test x$gcc_no_link = xyes; then
47591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47593 { (exit 1); exit 1; }; }
47595 cat >conftest.$ac_ext <<_ACEOF
47596 /* confdefs.h. */
47597 _ACEOF
47598 cat confdefs.h >>conftest.$ac_ext
47599 cat >>conftest.$ac_ext <<_ACEOF
47600 /* end confdefs.h. */
47601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47603 #define $ac_func innocuous_$ac_func
47605 /* System header to define __stub macros and hopefully few prototypes,
47606 which can conflict with char $ac_func (); below.
47607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47608 <limits.h> exists even on freestanding compilers. */
47610 #ifdef __STDC__
47611 # include <limits.h>
47612 #else
47613 # include <assert.h>
47614 #endif
47616 #undef $ac_func
47618 /* Override any gcc2 internal prototype to avoid an error. */
47619 #ifdef __cplusplus
47620 extern "C"
47622 #endif
47623 /* We use char because int might match the return type of a gcc2
47624 builtin and then its argument prototype would still apply. */
47625 char $ac_func ();
47626 /* The GNU C library defines this for functions which it implements
47627 to always fail with ENOSYS. Some functions are actually named
47628 something starting with __ and the normal name is an alias. */
47629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47630 choke me
47631 #else
47632 char (*f) () = $ac_func;
47633 #endif
47634 #ifdef __cplusplus
47636 #endif
47639 main ()
47641 return f != $ac_func;
47643 return 0;
47645 _ACEOF
47646 rm -f conftest.$ac_objext conftest$ac_exeext
47647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47648 (eval $ac_link) 2>conftest.er1
47649 ac_status=$?
47650 grep -v '^ *+' conftest.er1 >conftest.err
47651 rm -f conftest.er1
47652 cat conftest.err >&5
47653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654 (exit $ac_status); } &&
47655 { ac_try='test -z "$ac_c_werror_flag"
47656 || test ! -s conftest.err'
47657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47658 (eval $ac_try) 2>&5
47659 ac_status=$?
47660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47661 (exit $ac_status); }; } &&
47662 { ac_try='test -s conftest$ac_exeext'
47663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47664 (eval $ac_try) 2>&5
47665 ac_status=$?
47666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47667 (exit $ac_status); }; }; then
47668 eval "$as_ac_var=yes"
47669 else
47670 echo "$as_me: failed program was:" >&5
47671 sed 's/^/| /' conftest.$ac_ext >&5
47673 eval "$as_ac_var=no"
47675 rm -f conftest.err conftest.$ac_objext \
47676 conftest$ac_exeext conftest.$ac_ext
47678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47680 if test `eval echo '${'$as_ac_var'}'` = yes; then
47681 cat >>confdefs.h <<_ACEOF
47682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47683 _ACEOF
47686 done
47688 else
47690 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47691 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47692 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47693 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47694 echo $ECHO_N "(cached) $ECHO_C" >&6
47695 else
47699 ac_ext=cc
47700 ac_cpp='$CXXCPP $CPPFLAGS'
47701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47705 cat >conftest.$ac_ext <<_ACEOF
47706 /* confdefs.h. */
47707 _ACEOF
47708 cat confdefs.h >>conftest.$ac_ext
47709 cat >>conftest.$ac_ext <<_ACEOF
47710 /* end confdefs.h. */
47711 #include <math.h>
47712 #ifdef HAVE_IEEEFP_H
47713 #include <ieeefp.h>
47714 #endif
47717 main ()
47719 _isnanf(0);
47721 return 0;
47723 _ACEOF
47724 rm -f conftest.$ac_objext
47725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47726 (eval $ac_compile) 2>conftest.er1
47727 ac_status=$?
47728 grep -v '^ *+' conftest.er1 >conftest.err
47729 rm -f conftest.er1
47730 cat conftest.err >&5
47731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47732 (exit $ac_status); } &&
47733 { ac_try='test -z "$ac_cxx_werror_flag"
47734 || test ! -s conftest.err'
47735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47736 (eval $ac_try) 2>&5
47737 ac_status=$?
47738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47739 (exit $ac_status); }; } &&
47740 { ac_try='test -s conftest.$ac_objext'
47741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47742 (eval $ac_try) 2>&5
47743 ac_status=$?
47744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47745 (exit $ac_status); }; }; then
47746 glibcxx_cv_func__isnanf_use=yes
47747 else
47748 echo "$as_me: failed program was:" >&5
47749 sed 's/^/| /' conftest.$ac_ext >&5
47751 glibcxx_cv_func__isnanf_use=no
47753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47754 ac_ext=c
47755 ac_cpp='$CPP $CPPFLAGS'
47756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47765 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47767 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47769 for ac_func in _isnanf
47771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47772 echo "$as_me:$LINENO: checking for $ac_func" >&5
47773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47774 if eval "test \"\${$as_ac_var+set}\" = set"; then
47775 echo $ECHO_N "(cached) $ECHO_C" >&6
47776 else
47777 if test x$gcc_no_link = xyes; then
47778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47780 { (exit 1); exit 1; }; }
47782 cat >conftest.$ac_ext <<_ACEOF
47783 /* confdefs.h. */
47784 _ACEOF
47785 cat confdefs.h >>conftest.$ac_ext
47786 cat >>conftest.$ac_ext <<_ACEOF
47787 /* end confdefs.h. */
47788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47790 #define $ac_func innocuous_$ac_func
47792 /* System header to define __stub macros and hopefully few prototypes,
47793 which can conflict with char $ac_func (); below.
47794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47795 <limits.h> exists even on freestanding compilers. */
47797 #ifdef __STDC__
47798 # include <limits.h>
47799 #else
47800 # include <assert.h>
47801 #endif
47803 #undef $ac_func
47805 /* Override any gcc2 internal prototype to avoid an error. */
47806 #ifdef __cplusplus
47807 extern "C"
47809 #endif
47810 /* We use char because int might match the return type of a gcc2
47811 builtin and then its argument prototype would still apply. */
47812 char $ac_func ();
47813 /* The GNU C library defines this for functions which it implements
47814 to always fail with ENOSYS. Some functions are actually named
47815 something starting with __ and the normal name is an alias. */
47816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47817 choke me
47818 #else
47819 char (*f) () = $ac_func;
47820 #endif
47821 #ifdef __cplusplus
47823 #endif
47826 main ()
47828 return f != $ac_func;
47830 return 0;
47832 _ACEOF
47833 rm -f conftest.$ac_objext conftest$ac_exeext
47834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47835 (eval $ac_link) 2>conftest.er1
47836 ac_status=$?
47837 grep -v '^ *+' conftest.er1 >conftest.err
47838 rm -f conftest.er1
47839 cat conftest.err >&5
47840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47841 (exit $ac_status); } &&
47842 { ac_try='test -z "$ac_c_werror_flag"
47843 || test ! -s conftest.err'
47844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47845 (eval $ac_try) 2>&5
47846 ac_status=$?
47847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47848 (exit $ac_status); }; } &&
47849 { ac_try='test -s conftest$ac_exeext'
47850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47851 (eval $ac_try) 2>&5
47852 ac_status=$?
47853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854 (exit $ac_status); }; }; then
47855 eval "$as_ac_var=yes"
47856 else
47857 echo "$as_me: failed program was:" >&5
47858 sed 's/^/| /' conftest.$ac_ext >&5
47860 eval "$as_ac_var=no"
47862 rm -f conftest.err conftest.$ac_objext \
47863 conftest$ac_exeext conftest.$ac_ext
47865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47867 if test `eval echo '${'$as_ac_var'}'` = yes; then
47868 cat >>confdefs.h <<_ACEOF
47869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47870 _ACEOF
47873 done
47883 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47884 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47885 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47886 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47887 echo $ECHO_N "(cached) $ECHO_C" >&6
47888 else
47892 ac_ext=cc
47893 ac_cpp='$CXXCPP $CPPFLAGS'
47894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47898 cat >conftest.$ac_ext <<_ACEOF
47899 /* confdefs.h. */
47900 _ACEOF
47901 cat confdefs.h >>conftest.$ac_ext
47902 cat >>conftest.$ac_ext <<_ACEOF
47903 /* end confdefs.h. */
47904 #include <math.h>
47905 #ifdef HAVE_IEEEFP_H
47906 #include <ieeefp.h>
47907 #endif
47910 main ()
47912 isinff(0);
47914 return 0;
47916 _ACEOF
47917 rm -f conftest.$ac_objext
47918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47919 (eval $ac_compile) 2>conftest.er1
47920 ac_status=$?
47921 grep -v '^ *+' conftest.er1 >conftest.err
47922 rm -f conftest.er1
47923 cat conftest.err >&5
47924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47925 (exit $ac_status); } &&
47926 { ac_try='test -z "$ac_cxx_werror_flag"
47927 || test ! -s conftest.err'
47928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47929 (eval $ac_try) 2>&5
47930 ac_status=$?
47931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47932 (exit $ac_status); }; } &&
47933 { ac_try='test -s conftest.$ac_objext'
47934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47935 (eval $ac_try) 2>&5
47936 ac_status=$?
47937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938 (exit $ac_status); }; }; then
47939 glibcxx_cv_func_isinff_use=yes
47940 else
47941 echo "$as_me: failed program was:" >&5
47942 sed 's/^/| /' conftest.$ac_ext >&5
47944 glibcxx_cv_func_isinff_use=no
47946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47947 ac_ext=c
47948 ac_cpp='$CPP $CPPFLAGS'
47949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47958 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47960 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47962 for ac_func in isinff
47964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47965 echo "$as_me:$LINENO: checking for $ac_func" >&5
47966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47967 if eval "test \"\${$as_ac_var+set}\" = set"; then
47968 echo $ECHO_N "(cached) $ECHO_C" >&6
47969 else
47970 if test x$gcc_no_link = xyes; then
47971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47973 { (exit 1); exit 1; }; }
47975 cat >conftest.$ac_ext <<_ACEOF
47976 /* confdefs.h. */
47977 _ACEOF
47978 cat confdefs.h >>conftest.$ac_ext
47979 cat >>conftest.$ac_ext <<_ACEOF
47980 /* end confdefs.h. */
47981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47983 #define $ac_func innocuous_$ac_func
47985 /* System header to define __stub macros and hopefully few prototypes,
47986 which can conflict with char $ac_func (); below.
47987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47988 <limits.h> exists even on freestanding compilers. */
47990 #ifdef __STDC__
47991 # include <limits.h>
47992 #else
47993 # include <assert.h>
47994 #endif
47996 #undef $ac_func
47998 /* Override any gcc2 internal prototype to avoid an error. */
47999 #ifdef __cplusplus
48000 extern "C"
48002 #endif
48003 /* We use char because int might match the return type of a gcc2
48004 builtin and then its argument prototype would still apply. */
48005 char $ac_func ();
48006 /* The GNU C library defines this for functions which it implements
48007 to always fail with ENOSYS. Some functions are actually named
48008 something starting with __ and the normal name is an alias. */
48009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48010 choke me
48011 #else
48012 char (*f) () = $ac_func;
48013 #endif
48014 #ifdef __cplusplus
48016 #endif
48019 main ()
48021 return f != $ac_func;
48023 return 0;
48025 _ACEOF
48026 rm -f conftest.$ac_objext conftest$ac_exeext
48027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48028 (eval $ac_link) 2>conftest.er1
48029 ac_status=$?
48030 grep -v '^ *+' conftest.er1 >conftest.err
48031 rm -f conftest.er1
48032 cat conftest.err >&5
48033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48034 (exit $ac_status); } &&
48035 { ac_try='test -z "$ac_c_werror_flag"
48036 || test ! -s conftest.err'
48037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48038 (eval $ac_try) 2>&5
48039 ac_status=$?
48040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48041 (exit $ac_status); }; } &&
48042 { ac_try='test -s conftest$ac_exeext'
48043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48044 (eval $ac_try) 2>&5
48045 ac_status=$?
48046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48047 (exit $ac_status); }; }; then
48048 eval "$as_ac_var=yes"
48049 else
48050 echo "$as_me: failed program was:" >&5
48051 sed 's/^/| /' conftest.$ac_ext >&5
48053 eval "$as_ac_var=no"
48055 rm -f conftest.err conftest.$ac_objext \
48056 conftest$ac_exeext conftest.$ac_ext
48058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48060 if test `eval echo '${'$as_ac_var'}'` = yes; then
48061 cat >>confdefs.h <<_ACEOF
48062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48063 _ACEOF
48066 done
48068 else
48070 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48071 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48072 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48073 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48074 echo $ECHO_N "(cached) $ECHO_C" >&6
48075 else
48079 ac_ext=cc
48080 ac_cpp='$CXXCPP $CPPFLAGS'
48081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48085 cat >conftest.$ac_ext <<_ACEOF
48086 /* confdefs.h. */
48087 _ACEOF
48088 cat confdefs.h >>conftest.$ac_ext
48089 cat >>conftest.$ac_ext <<_ACEOF
48090 /* end confdefs.h. */
48091 #include <math.h>
48092 #ifdef HAVE_IEEEFP_H
48093 #include <ieeefp.h>
48094 #endif
48097 main ()
48099 _isinff(0);
48101 return 0;
48103 _ACEOF
48104 rm -f conftest.$ac_objext
48105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48106 (eval $ac_compile) 2>conftest.er1
48107 ac_status=$?
48108 grep -v '^ *+' conftest.er1 >conftest.err
48109 rm -f conftest.er1
48110 cat conftest.err >&5
48111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48112 (exit $ac_status); } &&
48113 { ac_try='test -z "$ac_cxx_werror_flag"
48114 || test ! -s conftest.err'
48115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48116 (eval $ac_try) 2>&5
48117 ac_status=$?
48118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48119 (exit $ac_status); }; } &&
48120 { ac_try='test -s conftest.$ac_objext'
48121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48122 (eval $ac_try) 2>&5
48123 ac_status=$?
48124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48125 (exit $ac_status); }; }; then
48126 glibcxx_cv_func__isinff_use=yes
48127 else
48128 echo "$as_me: failed program was:" >&5
48129 sed 's/^/| /' conftest.$ac_ext >&5
48131 glibcxx_cv_func__isinff_use=no
48133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48134 ac_ext=c
48135 ac_cpp='$CPP $CPPFLAGS'
48136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48145 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48147 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48149 for ac_func in _isinff
48151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48152 echo "$as_me:$LINENO: checking for $ac_func" >&5
48153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48154 if eval "test \"\${$as_ac_var+set}\" = set"; then
48155 echo $ECHO_N "(cached) $ECHO_C" >&6
48156 else
48157 if test x$gcc_no_link = xyes; then
48158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48160 { (exit 1); exit 1; }; }
48162 cat >conftest.$ac_ext <<_ACEOF
48163 /* confdefs.h. */
48164 _ACEOF
48165 cat confdefs.h >>conftest.$ac_ext
48166 cat >>conftest.$ac_ext <<_ACEOF
48167 /* end confdefs.h. */
48168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48170 #define $ac_func innocuous_$ac_func
48172 /* System header to define __stub macros and hopefully few prototypes,
48173 which can conflict with char $ac_func (); below.
48174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48175 <limits.h> exists even on freestanding compilers. */
48177 #ifdef __STDC__
48178 # include <limits.h>
48179 #else
48180 # include <assert.h>
48181 #endif
48183 #undef $ac_func
48185 /* Override any gcc2 internal prototype to avoid an error. */
48186 #ifdef __cplusplus
48187 extern "C"
48189 #endif
48190 /* We use char because int might match the return type of a gcc2
48191 builtin and then its argument prototype would still apply. */
48192 char $ac_func ();
48193 /* The GNU C library defines this for functions which it implements
48194 to always fail with ENOSYS. Some functions are actually named
48195 something starting with __ and the normal name is an alias. */
48196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48197 choke me
48198 #else
48199 char (*f) () = $ac_func;
48200 #endif
48201 #ifdef __cplusplus
48203 #endif
48206 main ()
48208 return f != $ac_func;
48210 return 0;
48212 _ACEOF
48213 rm -f conftest.$ac_objext conftest$ac_exeext
48214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48215 (eval $ac_link) 2>conftest.er1
48216 ac_status=$?
48217 grep -v '^ *+' conftest.er1 >conftest.err
48218 rm -f conftest.er1
48219 cat conftest.err >&5
48220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48221 (exit $ac_status); } &&
48222 { ac_try='test -z "$ac_c_werror_flag"
48223 || test ! -s conftest.err'
48224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48225 (eval $ac_try) 2>&5
48226 ac_status=$?
48227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48228 (exit $ac_status); }; } &&
48229 { ac_try='test -s conftest$ac_exeext'
48230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48231 (eval $ac_try) 2>&5
48232 ac_status=$?
48233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234 (exit $ac_status); }; }; then
48235 eval "$as_ac_var=yes"
48236 else
48237 echo "$as_me: failed program was:" >&5
48238 sed 's/^/| /' conftest.$ac_ext >&5
48240 eval "$as_ac_var=no"
48242 rm -f conftest.err conftest.$ac_objext \
48243 conftest$ac_exeext conftest.$ac_ext
48245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48247 if test `eval echo '${'$as_ac_var'}'` = yes; then
48248 cat >>confdefs.h <<_ACEOF
48249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48250 _ACEOF
48253 done
48263 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48264 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48265 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48266 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48267 echo $ECHO_N "(cached) $ECHO_C" >&6
48268 else
48272 ac_ext=cc
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
48286 main ()
48288 atan2f(0, 0);
48290 return 0;
48292 _ACEOF
48293 rm -f conftest.$ac_objext
48294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48295 (eval $ac_compile) 2>conftest.er1
48296 ac_status=$?
48297 grep -v '^ *+' conftest.er1 >conftest.err
48298 rm -f conftest.er1
48299 cat conftest.err >&5
48300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48301 (exit $ac_status); } &&
48302 { ac_try='test -z "$ac_cxx_werror_flag"
48303 || test ! -s conftest.err'
48304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48305 (eval $ac_try) 2>&5
48306 ac_status=$?
48307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48308 (exit $ac_status); }; } &&
48309 { ac_try='test -s conftest.$ac_objext'
48310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48311 (eval $ac_try) 2>&5
48312 ac_status=$?
48313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48314 (exit $ac_status); }; }; then
48315 glibcxx_cv_func_atan2f_use=yes
48316 else
48317 echo "$as_me: failed program was:" >&5
48318 sed 's/^/| /' conftest.$ac_ext >&5
48320 glibcxx_cv_func_atan2f_use=no
48322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48323 ac_ext=c
48324 ac_cpp='$CPP $CPPFLAGS'
48325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48334 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48336 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48338 for ac_func in atan2f
48340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48341 echo "$as_me:$LINENO: checking for $ac_func" >&5
48342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48343 if eval "test \"\${$as_ac_var+set}\" = set"; then
48344 echo $ECHO_N "(cached) $ECHO_C" >&6
48345 else
48346 if test x$gcc_no_link = xyes; then
48347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48349 { (exit 1); exit 1; }; }
48351 cat >conftest.$ac_ext <<_ACEOF
48352 /* confdefs.h. */
48353 _ACEOF
48354 cat confdefs.h >>conftest.$ac_ext
48355 cat >>conftest.$ac_ext <<_ACEOF
48356 /* end confdefs.h. */
48357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48359 #define $ac_func innocuous_$ac_func
48361 /* System header to define __stub macros and hopefully few prototypes,
48362 which can conflict with char $ac_func (); below.
48363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48364 <limits.h> exists even on freestanding compilers. */
48366 #ifdef __STDC__
48367 # include <limits.h>
48368 #else
48369 # include <assert.h>
48370 #endif
48372 #undef $ac_func
48374 /* Override any gcc2 internal prototype to avoid an error. */
48375 #ifdef __cplusplus
48376 extern "C"
48378 #endif
48379 /* We use char because int might match the return type of a gcc2
48380 builtin and then its argument prototype would still apply. */
48381 char $ac_func ();
48382 /* The GNU C library defines this for functions which it implements
48383 to always fail with ENOSYS. Some functions are actually named
48384 something starting with __ and the normal name is an alias. */
48385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48386 choke me
48387 #else
48388 char (*f) () = $ac_func;
48389 #endif
48390 #ifdef __cplusplus
48392 #endif
48395 main ()
48397 return f != $ac_func;
48399 return 0;
48401 _ACEOF
48402 rm -f conftest.$ac_objext conftest$ac_exeext
48403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48404 (eval $ac_link) 2>conftest.er1
48405 ac_status=$?
48406 grep -v '^ *+' conftest.er1 >conftest.err
48407 rm -f conftest.er1
48408 cat conftest.err >&5
48409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48410 (exit $ac_status); } &&
48411 { ac_try='test -z "$ac_c_werror_flag"
48412 || test ! -s conftest.err'
48413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48414 (eval $ac_try) 2>&5
48415 ac_status=$?
48416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48417 (exit $ac_status); }; } &&
48418 { ac_try='test -s conftest$ac_exeext'
48419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48420 (eval $ac_try) 2>&5
48421 ac_status=$?
48422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48423 (exit $ac_status); }; }; then
48424 eval "$as_ac_var=yes"
48425 else
48426 echo "$as_me: failed program was:" >&5
48427 sed 's/^/| /' conftest.$ac_ext >&5
48429 eval "$as_ac_var=no"
48431 rm -f conftest.err conftest.$ac_objext \
48432 conftest$ac_exeext conftest.$ac_ext
48434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48436 if test `eval echo '${'$as_ac_var'}'` = yes; then
48437 cat >>confdefs.h <<_ACEOF
48438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48439 _ACEOF
48442 done
48444 else
48446 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48447 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48448 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48449 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48450 echo $ECHO_N "(cached) $ECHO_C" >&6
48451 else
48455 ac_ext=cc
48456 ac_cpp='$CXXCPP $CPPFLAGS'
48457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
48469 main ()
48471 _atan2f(0, 0);
48473 return 0;
48475 _ACEOF
48476 rm -f conftest.$ac_objext
48477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48478 (eval $ac_compile) 2>conftest.er1
48479 ac_status=$?
48480 grep -v '^ *+' conftest.er1 >conftest.err
48481 rm -f conftest.er1
48482 cat conftest.err >&5
48483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48484 (exit $ac_status); } &&
48485 { ac_try='test -z "$ac_cxx_werror_flag"
48486 || test ! -s conftest.err'
48487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48488 (eval $ac_try) 2>&5
48489 ac_status=$?
48490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48491 (exit $ac_status); }; } &&
48492 { ac_try='test -s conftest.$ac_objext'
48493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48494 (eval $ac_try) 2>&5
48495 ac_status=$?
48496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48497 (exit $ac_status); }; }; then
48498 glibcxx_cv_func__atan2f_use=yes
48499 else
48500 echo "$as_me: failed program was:" >&5
48501 sed 's/^/| /' conftest.$ac_ext >&5
48503 glibcxx_cv_func__atan2f_use=no
48505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48506 ac_ext=c
48507 ac_cpp='$CPP $CPPFLAGS'
48508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48517 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48519 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48521 for ac_func in _atan2f
48523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48524 echo "$as_me:$LINENO: checking for $ac_func" >&5
48525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48526 if eval "test \"\${$as_ac_var+set}\" = set"; then
48527 echo $ECHO_N "(cached) $ECHO_C" >&6
48528 else
48529 if test x$gcc_no_link = xyes; then
48530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48532 { (exit 1); exit 1; }; }
48534 cat >conftest.$ac_ext <<_ACEOF
48535 /* confdefs.h. */
48536 _ACEOF
48537 cat confdefs.h >>conftest.$ac_ext
48538 cat >>conftest.$ac_ext <<_ACEOF
48539 /* end confdefs.h. */
48540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48542 #define $ac_func innocuous_$ac_func
48544 /* System header to define __stub macros and hopefully few prototypes,
48545 which can conflict with char $ac_func (); below.
48546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48547 <limits.h> exists even on freestanding compilers. */
48549 #ifdef __STDC__
48550 # include <limits.h>
48551 #else
48552 # include <assert.h>
48553 #endif
48555 #undef $ac_func
48557 /* Override any gcc2 internal prototype to avoid an error. */
48558 #ifdef __cplusplus
48559 extern "C"
48561 #endif
48562 /* We use char because int might match the return type of a gcc2
48563 builtin and then its argument prototype would still apply. */
48564 char $ac_func ();
48565 /* The GNU C library defines this for functions which it implements
48566 to always fail with ENOSYS. Some functions are actually named
48567 something starting with __ and the normal name is an alias. */
48568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48569 choke me
48570 #else
48571 char (*f) () = $ac_func;
48572 #endif
48573 #ifdef __cplusplus
48575 #endif
48578 main ()
48580 return f != $ac_func;
48582 return 0;
48584 _ACEOF
48585 rm -f conftest.$ac_objext conftest$ac_exeext
48586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48587 (eval $ac_link) 2>conftest.er1
48588 ac_status=$?
48589 grep -v '^ *+' conftest.er1 >conftest.err
48590 rm -f conftest.er1
48591 cat conftest.err >&5
48592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48593 (exit $ac_status); } &&
48594 { ac_try='test -z "$ac_c_werror_flag"
48595 || test ! -s conftest.err'
48596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48597 (eval $ac_try) 2>&5
48598 ac_status=$?
48599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48600 (exit $ac_status); }; } &&
48601 { ac_try='test -s conftest$ac_exeext'
48602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48603 (eval $ac_try) 2>&5
48604 ac_status=$?
48605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48606 (exit $ac_status); }; }; then
48607 eval "$as_ac_var=yes"
48608 else
48609 echo "$as_me: failed program was:" >&5
48610 sed 's/^/| /' conftest.$ac_ext >&5
48612 eval "$as_ac_var=no"
48614 rm -f conftest.err conftest.$ac_objext \
48615 conftest$ac_exeext conftest.$ac_ext
48617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48619 if test `eval echo '${'$as_ac_var'}'` = yes; then
48620 cat >>confdefs.h <<_ACEOF
48621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48622 _ACEOF
48625 done
48635 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48636 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48637 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48638 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48639 echo $ECHO_N "(cached) $ECHO_C" >&6
48640 else
48644 ac_ext=cc
48645 ac_cpp='$CXXCPP $CPPFLAGS'
48646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48650 cat >conftest.$ac_ext <<_ACEOF
48651 /* confdefs.h. */
48652 _ACEOF
48653 cat confdefs.h >>conftest.$ac_ext
48654 cat >>conftest.$ac_ext <<_ACEOF
48655 /* end confdefs.h. */
48656 #include <math.h>
48657 #ifdef HAVE_IEEEFP_H
48658 #include <ieeefp.h>
48659 #endif
48662 main ()
48664 fabsf(0);
48666 return 0;
48668 _ACEOF
48669 rm -f conftest.$ac_objext
48670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48671 (eval $ac_compile) 2>conftest.er1
48672 ac_status=$?
48673 grep -v '^ *+' conftest.er1 >conftest.err
48674 rm -f conftest.er1
48675 cat conftest.err >&5
48676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48677 (exit $ac_status); } &&
48678 { ac_try='test -z "$ac_cxx_werror_flag"
48679 || test ! -s conftest.err'
48680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48681 (eval $ac_try) 2>&5
48682 ac_status=$?
48683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684 (exit $ac_status); }; } &&
48685 { ac_try='test -s conftest.$ac_objext'
48686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48687 (eval $ac_try) 2>&5
48688 ac_status=$?
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); }; }; then
48691 glibcxx_cv_func_fabsf_use=yes
48692 else
48693 echo "$as_me: failed program was:" >&5
48694 sed 's/^/| /' conftest.$ac_ext >&5
48696 glibcxx_cv_func_fabsf_use=no
48698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48699 ac_ext=c
48700 ac_cpp='$CPP $CPPFLAGS'
48701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48710 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48712 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48714 for ac_func in fabsf
48716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48717 echo "$as_me:$LINENO: checking for $ac_func" >&5
48718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48719 if eval "test \"\${$as_ac_var+set}\" = set"; then
48720 echo $ECHO_N "(cached) $ECHO_C" >&6
48721 else
48722 if test x$gcc_no_link = xyes; then
48723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48725 { (exit 1); exit 1; }; }
48727 cat >conftest.$ac_ext <<_ACEOF
48728 /* confdefs.h. */
48729 _ACEOF
48730 cat confdefs.h >>conftest.$ac_ext
48731 cat >>conftest.$ac_ext <<_ACEOF
48732 /* end confdefs.h. */
48733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48735 #define $ac_func innocuous_$ac_func
48737 /* System header to define __stub macros and hopefully few prototypes,
48738 which can conflict with char $ac_func (); below.
48739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48740 <limits.h> exists even on freestanding compilers. */
48742 #ifdef __STDC__
48743 # include <limits.h>
48744 #else
48745 # include <assert.h>
48746 #endif
48748 #undef $ac_func
48750 /* Override any gcc2 internal prototype to avoid an error. */
48751 #ifdef __cplusplus
48752 extern "C"
48754 #endif
48755 /* We use char because int might match the return type of a gcc2
48756 builtin and then its argument prototype would still apply. */
48757 char $ac_func ();
48758 /* The GNU C library defines this for functions which it implements
48759 to always fail with ENOSYS. Some functions are actually named
48760 something starting with __ and the normal name is an alias. */
48761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48762 choke me
48763 #else
48764 char (*f) () = $ac_func;
48765 #endif
48766 #ifdef __cplusplus
48768 #endif
48771 main ()
48773 return f != $ac_func;
48775 return 0;
48777 _ACEOF
48778 rm -f conftest.$ac_objext conftest$ac_exeext
48779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48780 (eval $ac_link) 2>conftest.er1
48781 ac_status=$?
48782 grep -v '^ *+' conftest.er1 >conftest.err
48783 rm -f conftest.er1
48784 cat conftest.err >&5
48785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48786 (exit $ac_status); } &&
48787 { ac_try='test -z "$ac_c_werror_flag"
48788 || test ! -s conftest.err'
48789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48790 (eval $ac_try) 2>&5
48791 ac_status=$?
48792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48793 (exit $ac_status); }; } &&
48794 { ac_try='test -s conftest$ac_exeext'
48795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48796 (eval $ac_try) 2>&5
48797 ac_status=$?
48798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799 (exit $ac_status); }; }; then
48800 eval "$as_ac_var=yes"
48801 else
48802 echo "$as_me: failed program was:" >&5
48803 sed 's/^/| /' conftest.$ac_ext >&5
48805 eval "$as_ac_var=no"
48807 rm -f conftest.err conftest.$ac_objext \
48808 conftest$ac_exeext conftest.$ac_ext
48810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48812 if test `eval echo '${'$as_ac_var'}'` = yes; then
48813 cat >>confdefs.h <<_ACEOF
48814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48815 _ACEOF
48818 done
48820 else
48822 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48823 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48824 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48825 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48826 echo $ECHO_N "(cached) $ECHO_C" >&6
48827 else
48831 ac_ext=cc
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48837 cat >conftest.$ac_ext <<_ACEOF
48838 /* confdefs.h. */
48839 _ACEOF
48840 cat confdefs.h >>conftest.$ac_ext
48841 cat >>conftest.$ac_ext <<_ACEOF
48842 /* end confdefs.h. */
48843 #include <math.h>
48844 #ifdef HAVE_IEEEFP_H
48845 #include <ieeefp.h>
48846 #endif
48849 main ()
48851 _fabsf(0);
48853 return 0;
48855 _ACEOF
48856 rm -f conftest.$ac_objext
48857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48858 (eval $ac_compile) 2>conftest.er1
48859 ac_status=$?
48860 grep -v '^ *+' conftest.er1 >conftest.err
48861 rm -f conftest.er1
48862 cat conftest.err >&5
48863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48864 (exit $ac_status); } &&
48865 { ac_try='test -z "$ac_cxx_werror_flag"
48866 || test ! -s conftest.err'
48867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48868 (eval $ac_try) 2>&5
48869 ac_status=$?
48870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48871 (exit $ac_status); }; } &&
48872 { ac_try='test -s conftest.$ac_objext'
48873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48874 (eval $ac_try) 2>&5
48875 ac_status=$?
48876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48877 (exit $ac_status); }; }; then
48878 glibcxx_cv_func__fabsf_use=yes
48879 else
48880 echo "$as_me: failed program was:" >&5
48881 sed 's/^/| /' conftest.$ac_ext >&5
48883 glibcxx_cv_func__fabsf_use=no
48885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48886 ac_ext=c
48887 ac_cpp='$CPP $CPPFLAGS'
48888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48897 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48899 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48901 for ac_func in _fabsf
48903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48904 echo "$as_me:$LINENO: checking for $ac_func" >&5
48905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48906 if eval "test \"\${$as_ac_var+set}\" = set"; then
48907 echo $ECHO_N "(cached) $ECHO_C" >&6
48908 else
48909 if test x$gcc_no_link = xyes; then
48910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48912 { (exit 1); exit 1; }; }
48914 cat >conftest.$ac_ext <<_ACEOF
48915 /* confdefs.h. */
48916 _ACEOF
48917 cat confdefs.h >>conftest.$ac_ext
48918 cat >>conftest.$ac_ext <<_ACEOF
48919 /* end confdefs.h. */
48920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48922 #define $ac_func innocuous_$ac_func
48924 /* System header to define __stub macros and hopefully few prototypes,
48925 which can conflict with char $ac_func (); below.
48926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48927 <limits.h> exists even on freestanding compilers. */
48929 #ifdef __STDC__
48930 # include <limits.h>
48931 #else
48932 # include <assert.h>
48933 #endif
48935 #undef $ac_func
48937 /* Override any gcc2 internal prototype to avoid an error. */
48938 #ifdef __cplusplus
48939 extern "C"
48941 #endif
48942 /* We use char because int might match the return type of a gcc2
48943 builtin and then its argument prototype would still apply. */
48944 char $ac_func ();
48945 /* The GNU C library defines this for functions which it implements
48946 to always fail with ENOSYS. Some functions are actually named
48947 something starting with __ and the normal name is an alias. */
48948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48949 choke me
48950 #else
48951 char (*f) () = $ac_func;
48952 #endif
48953 #ifdef __cplusplus
48955 #endif
48958 main ()
48960 return f != $ac_func;
48962 return 0;
48964 _ACEOF
48965 rm -f conftest.$ac_objext conftest$ac_exeext
48966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48967 (eval $ac_link) 2>conftest.er1
48968 ac_status=$?
48969 grep -v '^ *+' conftest.er1 >conftest.err
48970 rm -f conftest.er1
48971 cat conftest.err >&5
48972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48973 (exit $ac_status); } &&
48974 { ac_try='test -z "$ac_c_werror_flag"
48975 || test ! -s conftest.err'
48976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48977 (eval $ac_try) 2>&5
48978 ac_status=$?
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); }; } &&
48981 { ac_try='test -s conftest$ac_exeext'
48982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48983 (eval $ac_try) 2>&5
48984 ac_status=$?
48985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48986 (exit $ac_status); }; }; then
48987 eval "$as_ac_var=yes"
48988 else
48989 echo "$as_me: failed program was:" >&5
48990 sed 's/^/| /' conftest.$ac_ext >&5
48992 eval "$as_ac_var=no"
48994 rm -f conftest.err conftest.$ac_objext \
48995 conftest$ac_exeext conftest.$ac_ext
48997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48999 if test `eval echo '${'$as_ac_var'}'` = yes; then
49000 cat >>confdefs.h <<_ACEOF
49001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49002 _ACEOF
49005 done
49015 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49016 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49017 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49018 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49019 echo $ECHO_N "(cached) $ECHO_C" >&6
49020 else
49024 ac_ext=cc
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
49038 main ()
49040 fmodf(0, 0);
49042 return 0;
49044 _ACEOF
49045 rm -f conftest.$ac_objext
49046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49047 (eval $ac_compile) 2>conftest.er1
49048 ac_status=$?
49049 grep -v '^ *+' conftest.er1 >conftest.err
49050 rm -f conftest.er1
49051 cat conftest.err >&5
49052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49053 (exit $ac_status); } &&
49054 { ac_try='test -z "$ac_cxx_werror_flag"
49055 || test ! -s conftest.err'
49056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49057 (eval $ac_try) 2>&5
49058 ac_status=$?
49059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49060 (exit $ac_status); }; } &&
49061 { ac_try='test -s conftest.$ac_objext'
49062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49063 (eval $ac_try) 2>&5
49064 ac_status=$?
49065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49066 (exit $ac_status); }; }; then
49067 glibcxx_cv_func_fmodf_use=yes
49068 else
49069 echo "$as_me: failed program was:" >&5
49070 sed 's/^/| /' conftest.$ac_ext >&5
49072 glibcxx_cv_func_fmodf_use=no
49074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49075 ac_ext=c
49076 ac_cpp='$CPP $CPPFLAGS'
49077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49086 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49088 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49090 for ac_func in fmodf
49092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49093 echo "$as_me:$LINENO: checking for $ac_func" >&5
49094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49095 if eval "test \"\${$as_ac_var+set}\" = set"; then
49096 echo $ECHO_N "(cached) $ECHO_C" >&6
49097 else
49098 if test x$gcc_no_link = xyes; then
49099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49101 { (exit 1); exit 1; }; }
49103 cat >conftest.$ac_ext <<_ACEOF
49104 /* confdefs.h. */
49105 _ACEOF
49106 cat confdefs.h >>conftest.$ac_ext
49107 cat >>conftest.$ac_ext <<_ACEOF
49108 /* end confdefs.h. */
49109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49111 #define $ac_func innocuous_$ac_func
49113 /* System header to define __stub macros and hopefully few prototypes,
49114 which can conflict with char $ac_func (); below.
49115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49116 <limits.h> exists even on freestanding compilers. */
49118 #ifdef __STDC__
49119 # include <limits.h>
49120 #else
49121 # include <assert.h>
49122 #endif
49124 #undef $ac_func
49126 /* Override any gcc2 internal prototype to avoid an error. */
49127 #ifdef __cplusplus
49128 extern "C"
49130 #endif
49131 /* We use char because int might match the return type of a gcc2
49132 builtin and then its argument prototype would still apply. */
49133 char $ac_func ();
49134 /* The GNU C library defines this for functions which it implements
49135 to always fail with ENOSYS. Some functions are actually named
49136 something starting with __ and the normal name is an alias. */
49137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49138 choke me
49139 #else
49140 char (*f) () = $ac_func;
49141 #endif
49142 #ifdef __cplusplus
49144 #endif
49147 main ()
49149 return f != $ac_func;
49151 return 0;
49153 _ACEOF
49154 rm -f conftest.$ac_objext conftest$ac_exeext
49155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49156 (eval $ac_link) 2>conftest.er1
49157 ac_status=$?
49158 grep -v '^ *+' conftest.er1 >conftest.err
49159 rm -f conftest.er1
49160 cat conftest.err >&5
49161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162 (exit $ac_status); } &&
49163 { ac_try='test -z "$ac_c_werror_flag"
49164 || test ! -s conftest.err'
49165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49166 (eval $ac_try) 2>&5
49167 ac_status=$?
49168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49169 (exit $ac_status); }; } &&
49170 { ac_try='test -s conftest$ac_exeext'
49171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49172 (eval $ac_try) 2>&5
49173 ac_status=$?
49174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49175 (exit $ac_status); }; }; then
49176 eval "$as_ac_var=yes"
49177 else
49178 echo "$as_me: failed program was:" >&5
49179 sed 's/^/| /' conftest.$ac_ext >&5
49181 eval "$as_ac_var=no"
49183 rm -f conftest.err conftest.$ac_objext \
49184 conftest$ac_exeext conftest.$ac_ext
49186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49188 if test `eval echo '${'$as_ac_var'}'` = yes; then
49189 cat >>confdefs.h <<_ACEOF
49190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49191 _ACEOF
49194 done
49196 else
49198 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49199 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49200 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49201 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49202 echo $ECHO_N "(cached) $ECHO_C" >&6
49203 else
49207 ac_ext=cc
49208 ac_cpp='$CXXCPP $CPPFLAGS'
49209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
49221 main ()
49223 _fmodf(0, 0);
49225 return 0;
49227 _ACEOF
49228 rm -f conftest.$ac_objext
49229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49230 (eval $ac_compile) 2>conftest.er1
49231 ac_status=$?
49232 grep -v '^ *+' conftest.er1 >conftest.err
49233 rm -f conftest.er1
49234 cat conftest.err >&5
49235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49236 (exit $ac_status); } &&
49237 { ac_try='test -z "$ac_cxx_werror_flag"
49238 || test ! -s conftest.err'
49239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49240 (eval $ac_try) 2>&5
49241 ac_status=$?
49242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49243 (exit $ac_status); }; } &&
49244 { ac_try='test -s conftest.$ac_objext'
49245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49246 (eval $ac_try) 2>&5
49247 ac_status=$?
49248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49249 (exit $ac_status); }; }; then
49250 glibcxx_cv_func__fmodf_use=yes
49251 else
49252 echo "$as_me: failed program was:" >&5
49253 sed 's/^/| /' conftest.$ac_ext >&5
49255 glibcxx_cv_func__fmodf_use=no
49257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49258 ac_ext=c
49259 ac_cpp='$CPP $CPPFLAGS'
49260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49269 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49271 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49273 for ac_func in _fmodf
49275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49276 echo "$as_me:$LINENO: checking for $ac_func" >&5
49277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49278 if eval "test \"\${$as_ac_var+set}\" = set"; then
49279 echo $ECHO_N "(cached) $ECHO_C" >&6
49280 else
49281 if test x$gcc_no_link = xyes; then
49282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49284 { (exit 1); exit 1; }; }
49286 cat >conftest.$ac_ext <<_ACEOF
49287 /* confdefs.h. */
49288 _ACEOF
49289 cat confdefs.h >>conftest.$ac_ext
49290 cat >>conftest.$ac_ext <<_ACEOF
49291 /* end confdefs.h. */
49292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49294 #define $ac_func innocuous_$ac_func
49296 /* System header to define __stub macros and hopefully few prototypes,
49297 which can conflict with char $ac_func (); below.
49298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49299 <limits.h> exists even on freestanding compilers. */
49301 #ifdef __STDC__
49302 # include <limits.h>
49303 #else
49304 # include <assert.h>
49305 #endif
49307 #undef $ac_func
49309 /* Override any gcc2 internal prototype to avoid an error. */
49310 #ifdef __cplusplus
49311 extern "C"
49313 #endif
49314 /* We use char because int might match the return type of a gcc2
49315 builtin and then its argument prototype would still apply. */
49316 char $ac_func ();
49317 /* The GNU C library defines this for functions which it implements
49318 to always fail with ENOSYS. Some functions are actually named
49319 something starting with __ and the normal name is an alias. */
49320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49321 choke me
49322 #else
49323 char (*f) () = $ac_func;
49324 #endif
49325 #ifdef __cplusplus
49327 #endif
49330 main ()
49332 return f != $ac_func;
49334 return 0;
49336 _ACEOF
49337 rm -f conftest.$ac_objext conftest$ac_exeext
49338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49339 (eval $ac_link) 2>conftest.er1
49340 ac_status=$?
49341 grep -v '^ *+' conftest.er1 >conftest.err
49342 rm -f conftest.er1
49343 cat conftest.err >&5
49344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49345 (exit $ac_status); } &&
49346 { ac_try='test -z "$ac_c_werror_flag"
49347 || test ! -s conftest.err'
49348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49349 (eval $ac_try) 2>&5
49350 ac_status=$?
49351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352 (exit $ac_status); }; } &&
49353 { ac_try='test -s conftest$ac_exeext'
49354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49355 (eval $ac_try) 2>&5
49356 ac_status=$?
49357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49358 (exit $ac_status); }; }; then
49359 eval "$as_ac_var=yes"
49360 else
49361 echo "$as_me: failed program was:" >&5
49362 sed 's/^/| /' conftest.$ac_ext >&5
49364 eval "$as_ac_var=no"
49366 rm -f conftest.err conftest.$ac_objext \
49367 conftest$ac_exeext conftest.$ac_ext
49369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49371 if test `eval echo '${'$as_ac_var'}'` = yes; then
49372 cat >>confdefs.h <<_ACEOF
49373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49374 _ACEOF
49377 done
49387 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49388 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49389 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49390 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49391 echo $ECHO_N "(cached) $ECHO_C" >&6
49392 else
49396 ac_ext=cc
49397 ac_cpp='$CXXCPP $CPPFLAGS'
49398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
49410 main ()
49412 frexpf(0, 0);
49414 return 0;
49416 _ACEOF
49417 rm -f conftest.$ac_objext
49418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49419 (eval $ac_compile) 2>conftest.er1
49420 ac_status=$?
49421 grep -v '^ *+' conftest.er1 >conftest.err
49422 rm -f conftest.er1
49423 cat conftest.err >&5
49424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49425 (exit $ac_status); } &&
49426 { ac_try='test -z "$ac_cxx_werror_flag"
49427 || test ! -s conftest.err'
49428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49429 (eval $ac_try) 2>&5
49430 ac_status=$?
49431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49432 (exit $ac_status); }; } &&
49433 { ac_try='test -s conftest.$ac_objext'
49434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49435 (eval $ac_try) 2>&5
49436 ac_status=$?
49437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49438 (exit $ac_status); }; }; then
49439 glibcxx_cv_func_frexpf_use=yes
49440 else
49441 echo "$as_me: failed program was:" >&5
49442 sed 's/^/| /' conftest.$ac_ext >&5
49444 glibcxx_cv_func_frexpf_use=no
49446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49447 ac_ext=c
49448 ac_cpp='$CPP $CPPFLAGS'
49449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49458 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49460 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49462 for ac_func in frexpf
49464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49465 echo "$as_me:$LINENO: checking for $ac_func" >&5
49466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49467 if eval "test \"\${$as_ac_var+set}\" = set"; then
49468 echo $ECHO_N "(cached) $ECHO_C" >&6
49469 else
49470 if test x$gcc_no_link = xyes; then
49471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49473 { (exit 1); exit 1; }; }
49475 cat >conftest.$ac_ext <<_ACEOF
49476 /* confdefs.h. */
49477 _ACEOF
49478 cat confdefs.h >>conftest.$ac_ext
49479 cat >>conftest.$ac_ext <<_ACEOF
49480 /* end confdefs.h. */
49481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49483 #define $ac_func innocuous_$ac_func
49485 /* System header to define __stub macros and hopefully few prototypes,
49486 which can conflict with char $ac_func (); below.
49487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49488 <limits.h> exists even on freestanding compilers. */
49490 #ifdef __STDC__
49491 # include <limits.h>
49492 #else
49493 # include <assert.h>
49494 #endif
49496 #undef $ac_func
49498 /* Override any gcc2 internal prototype to avoid an error. */
49499 #ifdef __cplusplus
49500 extern "C"
49502 #endif
49503 /* We use char because int might match the return type of a gcc2
49504 builtin and then its argument prototype would still apply. */
49505 char $ac_func ();
49506 /* The GNU C library defines this for functions which it implements
49507 to always fail with ENOSYS. Some functions are actually named
49508 something starting with __ and the normal name is an alias. */
49509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49510 choke me
49511 #else
49512 char (*f) () = $ac_func;
49513 #endif
49514 #ifdef __cplusplus
49516 #endif
49519 main ()
49521 return f != $ac_func;
49523 return 0;
49525 _ACEOF
49526 rm -f conftest.$ac_objext conftest$ac_exeext
49527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49528 (eval $ac_link) 2>conftest.er1
49529 ac_status=$?
49530 grep -v '^ *+' conftest.er1 >conftest.err
49531 rm -f conftest.er1
49532 cat conftest.err >&5
49533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49534 (exit $ac_status); } &&
49535 { ac_try='test -z "$ac_c_werror_flag"
49536 || test ! -s conftest.err'
49537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49538 (eval $ac_try) 2>&5
49539 ac_status=$?
49540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49541 (exit $ac_status); }; } &&
49542 { ac_try='test -s conftest$ac_exeext'
49543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49544 (eval $ac_try) 2>&5
49545 ac_status=$?
49546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49547 (exit $ac_status); }; }; then
49548 eval "$as_ac_var=yes"
49549 else
49550 echo "$as_me: failed program was:" >&5
49551 sed 's/^/| /' conftest.$ac_ext >&5
49553 eval "$as_ac_var=no"
49555 rm -f conftest.err conftest.$ac_objext \
49556 conftest$ac_exeext conftest.$ac_ext
49558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49560 if test `eval echo '${'$as_ac_var'}'` = yes; then
49561 cat >>confdefs.h <<_ACEOF
49562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49563 _ACEOF
49566 done
49568 else
49570 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49571 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49572 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49573 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49574 echo $ECHO_N "(cached) $ECHO_C" >&6
49575 else
49579 ac_ext=cc
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
49593 main ()
49595 _frexpf(0, 0);
49597 return 0;
49599 _ACEOF
49600 rm -f conftest.$ac_objext
49601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49602 (eval $ac_compile) 2>conftest.er1
49603 ac_status=$?
49604 grep -v '^ *+' conftest.er1 >conftest.err
49605 rm -f conftest.er1
49606 cat conftest.err >&5
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); } &&
49609 { ac_try='test -z "$ac_cxx_werror_flag"
49610 || test ! -s conftest.err'
49611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49612 (eval $ac_try) 2>&5
49613 ac_status=$?
49614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49615 (exit $ac_status); }; } &&
49616 { ac_try='test -s conftest.$ac_objext'
49617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49618 (eval $ac_try) 2>&5
49619 ac_status=$?
49620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49621 (exit $ac_status); }; }; then
49622 glibcxx_cv_func__frexpf_use=yes
49623 else
49624 echo "$as_me: failed program was:" >&5
49625 sed 's/^/| /' conftest.$ac_ext >&5
49627 glibcxx_cv_func__frexpf_use=no
49629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49630 ac_ext=c
49631 ac_cpp='$CPP $CPPFLAGS'
49632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49641 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49643 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49645 for ac_func in _frexpf
49647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49648 echo "$as_me:$LINENO: checking for $ac_func" >&5
49649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49650 if eval "test \"\${$as_ac_var+set}\" = set"; then
49651 echo $ECHO_N "(cached) $ECHO_C" >&6
49652 else
49653 if test x$gcc_no_link = xyes; then
49654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49656 { (exit 1); exit 1; }; }
49658 cat >conftest.$ac_ext <<_ACEOF
49659 /* confdefs.h. */
49660 _ACEOF
49661 cat confdefs.h >>conftest.$ac_ext
49662 cat >>conftest.$ac_ext <<_ACEOF
49663 /* end confdefs.h. */
49664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49666 #define $ac_func innocuous_$ac_func
49668 /* System header to define __stub macros and hopefully few prototypes,
49669 which can conflict with char $ac_func (); below.
49670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49671 <limits.h> exists even on freestanding compilers. */
49673 #ifdef __STDC__
49674 # include <limits.h>
49675 #else
49676 # include <assert.h>
49677 #endif
49679 #undef $ac_func
49681 /* Override any gcc2 internal prototype to avoid an error. */
49682 #ifdef __cplusplus
49683 extern "C"
49685 #endif
49686 /* We use char because int might match the return type of a gcc2
49687 builtin and then its argument prototype would still apply. */
49688 char $ac_func ();
49689 /* The GNU C library defines this for functions which it implements
49690 to always fail with ENOSYS. Some functions are actually named
49691 something starting with __ and the normal name is an alias. */
49692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49693 choke me
49694 #else
49695 char (*f) () = $ac_func;
49696 #endif
49697 #ifdef __cplusplus
49699 #endif
49702 main ()
49704 return f != $ac_func;
49706 return 0;
49708 _ACEOF
49709 rm -f conftest.$ac_objext conftest$ac_exeext
49710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49711 (eval $ac_link) 2>conftest.er1
49712 ac_status=$?
49713 grep -v '^ *+' conftest.er1 >conftest.err
49714 rm -f conftest.er1
49715 cat conftest.err >&5
49716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49717 (exit $ac_status); } &&
49718 { ac_try='test -z "$ac_c_werror_flag"
49719 || test ! -s conftest.err'
49720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49721 (eval $ac_try) 2>&5
49722 ac_status=$?
49723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724 (exit $ac_status); }; } &&
49725 { ac_try='test -s conftest$ac_exeext'
49726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49727 (eval $ac_try) 2>&5
49728 ac_status=$?
49729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49730 (exit $ac_status); }; }; then
49731 eval "$as_ac_var=yes"
49732 else
49733 echo "$as_me: failed program was:" >&5
49734 sed 's/^/| /' conftest.$ac_ext >&5
49736 eval "$as_ac_var=no"
49738 rm -f conftest.err conftest.$ac_objext \
49739 conftest$ac_exeext conftest.$ac_ext
49741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49743 if test `eval echo '${'$as_ac_var'}'` = yes; then
49744 cat >>confdefs.h <<_ACEOF
49745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49746 _ACEOF
49749 done
49759 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49760 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49761 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49762 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49763 echo $ECHO_N "(cached) $ECHO_C" >&6
49764 else
49768 ac_ext=cc
49769 ac_cpp='$CXXCPP $CPPFLAGS'
49770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
49782 main ()
49784 hypotf(0, 0);
49786 return 0;
49788 _ACEOF
49789 rm -f conftest.$ac_objext
49790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49791 (eval $ac_compile) 2>conftest.er1
49792 ac_status=$?
49793 grep -v '^ *+' conftest.er1 >conftest.err
49794 rm -f conftest.er1
49795 cat conftest.err >&5
49796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797 (exit $ac_status); } &&
49798 { ac_try='test -z "$ac_cxx_werror_flag"
49799 || test ! -s conftest.err'
49800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49801 (eval $ac_try) 2>&5
49802 ac_status=$?
49803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49804 (exit $ac_status); }; } &&
49805 { ac_try='test -s conftest.$ac_objext'
49806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49807 (eval $ac_try) 2>&5
49808 ac_status=$?
49809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810 (exit $ac_status); }; }; then
49811 glibcxx_cv_func_hypotf_use=yes
49812 else
49813 echo "$as_me: failed program was:" >&5
49814 sed 's/^/| /' conftest.$ac_ext >&5
49816 glibcxx_cv_func_hypotf_use=no
49818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49819 ac_ext=c
49820 ac_cpp='$CPP $CPPFLAGS'
49821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49830 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49832 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49834 for ac_func in hypotf
49836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49837 echo "$as_me:$LINENO: checking for $ac_func" >&5
49838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49839 if eval "test \"\${$as_ac_var+set}\" = set"; then
49840 echo $ECHO_N "(cached) $ECHO_C" >&6
49841 else
49842 if test x$gcc_no_link = xyes; then
49843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49845 { (exit 1); exit 1; }; }
49847 cat >conftest.$ac_ext <<_ACEOF
49848 /* confdefs.h. */
49849 _ACEOF
49850 cat confdefs.h >>conftest.$ac_ext
49851 cat >>conftest.$ac_ext <<_ACEOF
49852 /* end confdefs.h. */
49853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49855 #define $ac_func innocuous_$ac_func
49857 /* System header to define __stub macros and hopefully few prototypes,
49858 which can conflict with char $ac_func (); below.
49859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49860 <limits.h> exists even on freestanding compilers. */
49862 #ifdef __STDC__
49863 # include <limits.h>
49864 #else
49865 # include <assert.h>
49866 #endif
49868 #undef $ac_func
49870 /* Override any gcc2 internal prototype to avoid an error. */
49871 #ifdef __cplusplus
49872 extern "C"
49874 #endif
49875 /* We use char because int might match the return type of a gcc2
49876 builtin and then its argument prototype would still apply. */
49877 char $ac_func ();
49878 /* The GNU C library defines this for functions which it implements
49879 to always fail with ENOSYS. Some functions are actually named
49880 something starting with __ and the normal name is an alias. */
49881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49882 choke me
49883 #else
49884 char (*f) () = $ac_func;
49885 #endif
49886 #ifdef __cplusplus
49888 #endif
49891 main ()
49893 return f != $ac_func;
49895 return 0;
49897 _ACEOF
49898 rm -f conftest.$ac_objext conftest$ac_exeext
49899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49900 (eval $ac_link) 2>conftest.er1
49901 ac_status=$?
49902 grep -v '^ *+' conftest.er1 >conftest.err
49903 rm -f conftest.er1
49904 cat conftest.err >&5
49905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906 (exit $ac_status); } &&
49907 { ac_try='test -z "$ac_c_werror_flag"
49908 || test ! -s conftest.err'
49909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49910 (eval $ac_try) 2>&5
49911 ac_status=$?
49912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49913 (exit $ac_status); }; } &&
49914 { ac_try='test -s conftest$ac_exeext'
49915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49916 (eval $ac_try) 2>&5
49917 ac_status=$?
49918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49919 (exit $ac_status); }; }; then
49920 eval "$as_ac_var=yes"
49921 else
49922 echo "$as_me: failed program was:" >&5
49923 sed 's/^/| /' conftest.$ac_ext >&5
49925 eval "$as_ac_var=no"
49927 rm -f conftest.err conftest.$ac_objext \
49928 conftest$ac_exeext conftest.$ac_ext
49930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49932 if test `eval echo '${'$as_ac_var'}'` = yes; then
49933 cat >>confdefs.h <<_ACEOF
49934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49935 _ACEOF
49938 done
49940 else
49942 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49943 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49944 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49945 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49946 echo $ECHO_N "(cached) $ECHO_C" >&6
49947 else
49951 ac_ext=cc
49952 ac_cpp='$CXXCPP $CPPFLAGS'
49953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
49965 main ()
49967 _hypotf(0, 0);
49969 return 0;
49971 _ACEOF
49972 rm -f conftest.$ac_objext
49973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49974 (eval $ac_compile) 2>conftest.er1
49975 ac_status=$?
49976 grep -v '^ *+' conftest.er1 >conftest.err
49977 rm -f conftest.er1
49978 cat conftest.err >&5
49979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49980 (exit $ac_status); } &&
49981 { ac_try='test -z "$ac_cxx_werror_flag"
49982 || test ! -s conftest.err'
49983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49984 (eval $ac_try) 2>&5
49985 ac_status=$?
49986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49987 (exit $ac_status); }; } &&
49988 { ac_try='test -s conftest.$ac_objext'
49989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49990 (eval $ac_try) 2>&5
49991 ac_status=$?
49992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49993 (exit $ac_status); }; }; then
49994 glibcxx_cv_func__hypotf_use=yes
49995 else
49996 echo "$as_me: failed program was:" >&5
49997 sed 's/^/| /' conftest.$ac_ext >&5
49999 glibcxx_cv_func__hypotf_use=no
50001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50002 ac_ext=c
50003 ac_cpp='$CPP $CPPFLAGS'
50004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50013 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50015 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50017 for ac_func in _hypotf
50019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50020 echo "$as_me:$LINENO: checking for $ac_func" >&5
50021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50022 if eval "test \"\${$as_ac_var+set}\" = set"; then
50023 echo $ECHO_N "(cached) $ECHO_C" >&6
50024 else
50025 if test x$gcc_no_link = xyes; then
50026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50028 { (exit 1); exit 1; }; }
50030 cat >conftest.$ac_ext <<_ACEOF
50031 /* confdefs.h. */
50032 _ACEOF
50033 cat confdefs.h >>conftest.$ac_ext
50034 cat >>conftest.$ac_ext <<_ACEOF
50035 /* end confdefs.h. */
50036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50038 #define $ac_func innocuous_$ac_func
50040 /* System header to define __stub macros and hopefully few prototypes,
50041 which can conflict with char $ac_func (); below.
50042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50043 <limits.h> exists even on freestanding compilers. */
50045 #ifdef __STDC__
50046 # include <limits.h>
50047 #else
50048 # include <assert.h>
50049 #endif
50051 #undef $ac_func
50053 /* Override any gcc2 internal prototype to avoid an error. */
50054 #ifdef __cplusplus
50055 extern "C"
50057 #endif
50058 /* We use char because int might match the return type of a gcc2
50059 builtin and then its argument prototype would still apply. */
50060 char $ac_func ();
50061 /* The GNU C library defines this for functions which it implements
50062 to always fail with ENOSYS. Some functions are actually named
50063 something starting with __ and the normal name is an alias. */
50064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50065 choke me
50066 #else
50067 char (*f) () = $ac_func;
50068 #endif
50069 #ifdef __cplusplus
50071 #endif
50074 main ()
50076 return f != $ac_func;
50078 return 0;
50080 _ACEOF
50081 rm -f conftest.$ac_objext conftest$ac_exeext
50082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50083 (eval $ac_link) 2>conftest.er1
50084 ac_status=$?
50085 grep -v '^ *+' conftest.er1 >conftest.err
50086 rm -f conftest.er1
50087 cat conftest.err >&5
50088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089 (exit $ac_status); } &&
50090 { ac_try='test -z "$ac_c_werror_flag"
50091 || test ! -s conftest.err'
50092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50093 (eval $ac_try) 2>&5
50094 ac_status=$?
50095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096 (exit $ac_status); }; } &&
50097 { ac_try='test -s conftest$ac_exeext'
50098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099 (eval $ac_try) 2>&5
50100 ac_status=$?
50101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102 (exit $ac_status); }; }; then
50103 eval "$as_ac_var=yes"
50104 else
50105 echo "$as_me: failed program was:" >&5
50106 sed 's/^/| /' conftest.$ac_ext >&5
50108 eval "$as_ac_var=no"
50110 rm -f conftest.err conftest.$ac_objext \
50111 conftest$ac_exeext conftest.$ac_ext
50113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50115 if test `eval echo '${'$as_ac_var'}'` = yes; then
50116 cat >>confdefs.h <<_ACEOF
50117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50118 _ACEOF
50121 done
50131 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50132 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50133 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50134 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50135 echo $ECHO_N "(cached) $ECHO_C" >&6
50136 else
50140 ac_ext=cc
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
50154 main ()
50156 ldexpf(0, 0);
50158 return 0;
50160 _ACEOF
50161 rm -f conftest.$ac_objext
50162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50163 (eval $ac_compile) 2>conftest.er1
50164 ac_status=$?
50165 grep -v '^ *+' conftest.er1 >conftest.err
50166 rm -f conftest.er1
50167 cat conftest.err >&5
50168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50169 (exit $ac_status); } &&
50170 { ac_try='test -z "$ac_cxx_werror_flag"
50171 || test ! -s conftest.err'
50172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50173 (eval $ac_try) 2>&5
50174 ac_status=$?
50175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50176 (exit $ac_status); }; } &&
50177 { ac_try='test -s conftest.$ac_objext'
50178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50179 (eval $ac_try) 2>&5
50180 ac_status=$?
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); }; }; then
50183 glibcxx_cv_func_ldexpf_use=yes
50184 else
50185 echo "$as_me: failed program was:" >&5
50186 sed 's/^/| /' conftest.$ac_ext >&5
50188 glibcxx_cv_func_ldexpf_use=no
50190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50191 ac_ext=c
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50202 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50204 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50206 for ac_func in ldexpf
50208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50209 echo "$as_me:$LINENO: checking for $ac_func" >&5
50210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50211 if eval "test \"\${$as_ac_var+set}\" = set"; then
50212 echo $ECHO_N "(cached) $ECHO_C" >&6
50213 else
50214 if test x$gcc_no_link = xyes; then
50215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50217 { (exit 1); exit 1; }; }
50219 cat >conftest.$ac_ext <<_ACEOF
50220 /* confdefs.h. */
50221 _ACEOF
50222 cat confdefs.h >>conftest.$ac_ext
50223 cat >>conftest.$ac_ext <<_ACEOF
50224 /* end confdefs.h. */
50225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50227 #define $ac_func innocuous_$ac_func
50229 /* System header to define __stub macros and hopefully few prototypes,
50230 which can conflict with char $ac_func (); below.
50231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50232 <limits.h> exists even on freestanding compilers. */
50234 #ifdef __STDC__
50235 # include <limits.h>
50236 #else
50237 # include <assert.h>
50238 #endif
50240 #undef $ac_func
50242 /* Override any gcc2 internal prototype to avoid an error. */
50243 #ifdef __cplusplus
50244 extern "C"
50246 #endif
50247 /* We use char because int might match the return type of a gcc2
50248 builtin and then its argument prototype would still apply. */
50249 char $ac_func ();
50250 /* The GNU C library defines this for functions which it implements
50251 to always fail with ENOSYS. Some functions are actually named
50252 something starting with __ and the normal name is an alias. */
50253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50254 choke me
50255 #else
50256 char (*f) () = $ac_func;
50257 #endif
50258 #ifdef __cplusplus
50260 #endif
50263 main ()
50265 return f != $ac_func;
50267 return 0;
50269 _ACEOF
50270 rm -f conftest.$ac_objext conftest$ac_exeext
50271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50272 (eval $ac_link) 2>conftest.er1
50273 ac_status=$?
50274 grep -v '^ *+' conftest.er1 >conftest.err
50275 rm -f conftest.er1
50276 cat conftest.err >&5
50277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50278 (exit $ac_status); } &&
50279 { ac_try='test -z "$ac_c_werror_flag"
50280 || test ! -s conftest.err'
50281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50282 (eval $ac_try) 2>&5
50283 ac_status=$?
50284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50285 (exit $ac_status); }; } &&
50286 { ac_try='test -s conftest$ac_exeext'
50287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288 (eval $ac_try) 2>&5
50289 ac_status=$?
50290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291 (exit $ac_status); }; }; then
50292 eval "$as_ac_var=yes"
50293 else
50294 echo "$as_me: failed program was:" >&5
50295 sed 's/^/| /' conftest.$ac_ext >&5
50297 eval "$as_ac_var=no"
50299 rm -f conftest.err conftest.$ac_objext \
50300 conftest$ac_exeext conftest.$ac_ext
50302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50304 if test `eval echo '${'$as_ac_var'}'` = yes; then
50305 cat >>confdefs.h <<_ACEOF
50306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50307 _ACEOF
50310 done
50312 else
50314 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50315 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50316 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50317 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50318 echo $ECHO_N "(cached) $ECHO_C" >&6
50319 else
50323 ac_ext=cc
50324 ac_cpp='$CXXCPP $CPPFLAGS'
50325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
50337 main ()
50339 _ldexpf(0, 0);
50341 return 0;
50343 _ACEOF
50344 rm -f conftest.$ac_objext
50345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50346 (eval $ac_compile) 2>conftest.er1
50347 ac_status=$?
50348 grep -v '^ *+' conftest.er1 >conftest.err
50349 rm -f conftest.er1
50350 cat conftest.err >&5
50351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50352 (exit $ac_status); } &&
50353 { ac_try='test -z "$ac_cxx_werror_flag"
50354 || test ! -s conftest.err'
50355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50356 (eval $ac_try) 2>&5
50357 ac_status=$?
50358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50359 (exit $ac_status); }; } &&
50360 { ac_try='test -s conftest.$ac_objext'
50361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50362 (eval $ac_try) 2>&5
50363 ac_status=$?
50364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50365 (exit $ac_status); }; }; then
50366 glibcxx_cv_func__ldexpf_use=yes
50367 else
50368 echo "$as_me: failed program was:" >&5
50369 sed 's/^/| /' conftest.$ac_ext >&5
50371 glibcxx_cv_func__ldexpf_use=no
50373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50374 ac_ext=c
50375 ac_cpp='$CPP $CPPFLAGS'
50376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50385 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50387 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50389 for ac_func in _ldexpf
50391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50392 echo "$as_me:$LINENO: checking for $ac_func" >&5
50393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50394 if eval "test \"\${$as_ac_var+set}\" = set"; then
50395 echo $ECHO_N "(cached) $ECHO_C" >&6
50396 else
50397 if test x$gcc_no_link = xyes; then
50398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50400 { (exit 1); exit 1; }; }
50402 cat >conftest.$ac_ext <<_ACEOF
50403 /* confdefs.h. */
50404 _ACEOF
50405 cat confdefs.h >>conftest.$ac_ext
50406 cat >>conftest.$ac_ext <<_ACEOF
50407 /* end confdefs.h. */
50408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50410 #define $ac_func innocuous_$ac_func
50412 /* System header to define __stub macros and hopefully few prototypes,
50413 which can conflict with char $ac_func (); below.
50414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50415 <limits.h> exists even on freestanding compilers. */
50417 #ifdef __STDC__
50418 # include <limits.h>
50419 #else
50420 # include <assert.h>
50421 #endif
50423 #undef $ac_func
50425 /* Override any gcc2 internal prototype to avoid an error. */
50426 #ifdef __cplusplus
50427 extern "C"
50429 #endif
50430 /* We use char because int might match the return type of a gcc2
50431 builtin and then its argument prototype would still apply. */
50432 char $ac_func ();
50433 /* The GNU C library defines this for functions which it implements
50434 to always fail with ENOSYS. Some functions are actually named
50435 something starting with __ and the normal name is an alias. */
50436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50437 choke me
50438 #else
50439 char (*f) () = $ac_func;
50440 #endif
50441 #ifdef __cplusplus
50443 #endif
50446 main ()
50448 return f != $ac_func;
50450 return 0;
50452 _ACEOF
50453 rm -f conftest.$ac_objext conftest$ac_exeext
50454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50455 (eval $ac_link) 2>conftest.er1
50456 ac_status=$?
50457 grep -v '^ *+' conftest.er1 >conftest.err
50458 rm -f conftest.er1
50459 cat conftest.err >&5
50460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50461 (exit $ac_status); } &&
50462 { ac_try='test -z "$ac_c_werror_flag"
50463 || test ! -s conftest.err'
50464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50465 (eval $ac_try) 2>&5
50466 ac_status=$?
50467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50468 (exit $ac_status); }; } &&
50469 { ac_try='test -s conftest$ac_exeext'
50470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50471 (eval $ac_try) 2>&5
50472 ac_status=$?
50473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50474 (exit $ac_status); }; }; then
50475 eval "$as_ac_var=yes"
50476 else
50477 echo "$as_me: failed program was:" >&5
50478 sed 's/^/| /' conftest.$ac_ext >&5
50480 eval "$as_ac_var=no"
50482 rm -f conftest.err conftest.$ac_objext \
50483 conftest$ac_exeext conftest.$ac_ext
50485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50487 if test `eval echo '${'$as_ac_var'}'` = yes; then
50488 cat >>confdefs.h <<_ACEOF
50489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50490 _ACEOF
50493 done
50503 echo "$as_me:$LINENO: checking for logf declaration" >&5
50504 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50505 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50506 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50507 echo $ECHO_N "(cached) $ECHO_C" >&6
50508 else
50512 ac_ext=cc
50513 ac_cpp='$CXXCPP $CPPFLAGS'
50514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50518 cat >conftest.$ac_ext <<_ACEOF
50519 /* confdefs.h. */
50520 _ACEOF
50521 cat confdefs.h >>conftest.$ac_ext
50522 cat >>conftest.$ac_ext <<_ACEOF
50523 /* end confdefs.h. */
50524 #include <math.h>
50525 #ifdef HAVE_IEEEFP_H
50526 #include <ieeefp.h>
50527 #endif
50530 main ()
50532 logf(0);
50534 return 0;
50536 _ACEOF
50537 rm -f conftest.$ac_objext
50538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50539 (eval $ac_compile) 2>conftest.er1
50540 ac_status=$?
50541 grep -v '^ *+' conftest.er1 >conftest.err
50542 rm -f conftest.er1
50543 cat conftest.err >&5
50544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50545 (exit $ac_status); } &&
50546 { ac_try='test -z "$ac_cxx_werror_flag"
50547 || test ! -s conftest.err'
50548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50549 (eval $ac_try) 2>&5
50550 ac_status=$?
50551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50552 (exit $ac_status); }; } &&
50553 { ac_try='test -s conftest.$ac_objext'
50554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50555 (eval $ac_try) 2>&5
50556 ac_status=$?
50557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50558 (exit $ac_status); }; }; then
50559 glibcxx_cv_func_logf_use=yes
50560 else
50561 echo "$as_me: failed program was:" >&5
50562 sed 's/^/| /' conftest.$ac_ext >&5
50564 glibcxx_cv_func_logf_use=no
50566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50567 ac_ext=c
50568 ac_cpp='$CPP $CPPFLAGS'
50569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50578 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50580 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50582 for ac_func in logf
50584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50585 echo "$as_me:$LINENO: checking for $ac_func" >&5
50586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50587 if eval "test \"\${$as_ac_var+set}\" = set"; then
50588 echo $ECHO_N "(cached) $ECHO_C" >&6
50589 else
50590 if test x$gcc_no_link = xyes; then
50591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50593 { (exit 1); exit 1; }; }
50595 cat >conftest.$ac_ext <<_ACEOF
50596 /* confdefs.h. */
50597 _ACEOF
50598 cat confdefs.h >>conftest.$ac_ext
50599 cat >>conftest.$ac_ext <<_ACEOF
50600 /* end confdefs.h. */
50601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50603 #define $ac_func innocuous_$ac_func
50605 /* System header to define __stub macros and hopefully few prototypes,
50606 which can conflict with char $ac_func (); below.
50607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50608 <limits.h> exists even on freestanding compilers. */
50610 #ifdef __STDC__
50611 # include <limits.h>
50612 #else
50613 # include <assert.h>
50614 #endif
50616 #undef $ac_func
50618 /* Override any gcc2 internal prototype to avoid an error. */
50619 #ifdef __cplusplus
50620 extern "C"
50622 #endif
50623 /* We use char because int might match the return type of a gcc2
50624 builtin and then its argument prototype would still apply. */
50625 char $ac_func ();
50626 /* The GNU C library defines this for functions which it implements
50627 to always fail with ENOSYS. Some functions are actually named
50628 something starting with __ and the normal name is an alias. */
50629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50630 choke me
50631 #else
50632 char (*f) () = $ac_func;
50633 #endif
50634 #ifdef __cplusplus
50636 #endif
50639 main ()
50641 return f != $ac_func;
50643 return 0;
50645 _ACEOF
50646 rm -f conftest.$ac_objext conftest$ac_exeext
50647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50648 (eval $ac_link) 2>conftest.er1
50649 ac_status=$?
50650 grep -v '^ *+' conftest.er1 >conftest.err
50651 rm -f conftest.er1
50652 cat conftest.err >&5
50653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50654 (exit $ac_status); } &&
50655 { ac_try='test -z "$ac_c_werror_flag"
50656 || test ! -s conftest.err'
50657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50658 (eval $ac_try) 2>&5
50659 ac_status=$?
50660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50661 (exit $ac_status); }; } &&
50662 { ac_try='test -s conftest$ac_exeext'
50663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50664 (eval $ac_try) 2>&5
50665 ac_status=$?
50666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50667 (exit $ac_status); }; }; then
50668 eval "$as_ac_var=yes"
50669 else
50670 echo "$as_me: failed program was:" >&5
50671 sed 's/^/| /' conftest.$ac_ext >&5
50673 eval "$as_ac_var=no"
50675 rm -f conftest.err conftest.$ac_objext \
50676 conftest$ac_exeext conftest.$ac_ext
50678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50680 if test `eval echo '${'$as_ac_var'}'` = yes; then
50681 cat >>confdefs.h <<_ACEOF
50682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50683 _ACEOF
50686 done
50688 else
50690 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50691 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50692 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50693 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50694 echo $ECHO_N "(cached) $ECHO_C" >&6
50695 else
50699 ac_ext=cc
50700 ac_cpp='$CXXCPP $CPPFLAGS'
50701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50705 cat >conftest.$ac_ext <<_ACEOF
50706 /* confdefs.h. */
50707 _ACEOF
50708 cat confdefs.h >>conftest.$ac_ext
50709 cat >>conftest.$ac_ext <<_ACEOF
50710 /* end confdefs.h. */
50711 #include <math.h>
50712 #ifdef HAVE_IEEEFP_H
50713 #include <ieeefp.h>
50714 #endif
50717 main ()
50719 _logf(0);
50721 return 0;
50723 _ACEOF
50724 rm -f conftest.$ac_objext
50725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50726 (eval $ac_compile) 2>conftest.er1
50727 ac_status=$?
50728 grep -v '^ *+' conftest.er1 >conftest.err
50729 rm -f conftest.er1
50730 cat conftest.err >&5
50731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50732 (exit $ac_status); } &&
50733 { ac_try='test -z "$ac_cxx_werror_flag"
50734 || test ! -s conftest.err'
50735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50736 (eval $ac_try) 2>&5
50737 ac_status=$?
50738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50739 (exit $ac_status); }; } &&
50740 { ac_try='test -s conftest.$ac_objext'
50741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50742 (eval $ac_try) 2>&5
50743 ac_status=$?
50744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50745 (exit $ac_status); }; }; then
50746 glibcxx_cv_func__logf_use=yes
50747 else
50748 echo "$as_me: failed program was:" >&5
50749 sed 's/^/| /' conftest.$ac_ext >&5
50751 glibcxx_cv_func__logf_use=no
50753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50754 ac_ext=c
50755 ac_cpp='$CPP $CPPFLAGS'
50756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50765 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50767 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50769 for ac_func in _logf
50771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50772 echo "$as_me:$LINENO: checking for $ac_func" >&5
50773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50774 if eval "test \"\${$as_ac_var+set}\" = set"; then
50775 echo $ECHO_N "(cached) $ECHO_C" >&6
50776 else
50777 if test x$gcc_no_link = xyes; then
50778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50780 { (exit 1); exit 1; }; }
50782 cat >conftest.$ac_ext <<_ACEOF
50783 /* confdefs.h. */
50784 _ACEOF
50785 cat confdefs.h >>conftest.$ac_ext
50786 cat >>conftest.$ac_ext <<_ACEOF
50787 /* end confdefs.h. */
50788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50790 #define $ac_func innocuous_$ac_func
50792 /* System header to define __stub macros and hopefully few prototypes,
50793 which can conflict with char $ac_func (); below.
50794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50795 <limits.h> exists even on freestanding compilers. */
50797 #ifdef __STDC__
50798 # include <limits.h>
50799 #else
50800 # include <assert.h>
50801 #endif
50803 #undef $ac_func
50805 /* Override any gcc2 internal prototype to avoid an error. */
50806 #ifdef __cplusplus
50807 extern "C"
50809 #endif
50810 /* We use char because int might match the return type of a gcc2
50811 builtin and then its argument prototype would still apply. */
50812 char $ac_func ();
50813 /* The GNU C library defines this for functions which it implements
50814 to always fail with ENOSYS. Some functions are actually named
50815 something starting with __ and the normal name is an alias. */
50816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50817 choke me
50818 #else
50819 char (*f) () = $ac_func;
50820 #endif
50821 #ifdef __cplusplus
50823 #endif
50826 main ()
50828 return f != $ac_func;
50830 return 0;
50832 _ACEOF
50833 rm -f conftest.$ac_objext conftest$ac_exeext
50834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50835 (eval $ac_link) 2>conftest.er1
50836 ac_status=$?
50837 grep -v '^ *+' conftest.er1 >conftest.err
50838 rm -f conftest.er1
50839 cat conftest.err >&5
50840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841 (exit $ac_status); } &&
50842 { ac_try='test -z "$ac_c_werror_flag"
50843 || test ! -s conftest.err'
50844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50845 (eval $ac_try) 2>&5
50846 ac_status=$?
50847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50848 (exit $ac_status); }; } &&
50849 { ac_try='test -s conftest$ac_exeext'
50850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50851 (eval $ac_try) 2>&5
50852 ac_status=$?
50853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50854 (exit $ac_status); }; }; then
50855 eval "$as_ac_var=yes"
50856 else
50857 echo "$as_me: failed program was:" >&5
50858 sed 's/^/| /' conftest.$ac_ext >&5
50860 eval "$as_ac_var=no"
50862 rm -f conftest.err conftest.$ac_objext \
50863 conftest$ac_exeext conftest.$ac_ext
50865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50867 if test `eval echo '${'$as_ac_var'}'` = yes; then
50868 cat >>confdefs.h <<_ACEOF
50869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50870 _ACEOF
50873 done
50883 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50884 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50885 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50886 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50887 echo $ECHO_N "(cached) $ECHO_C" >&6
50888 else
50892 ac_ext=cc
50893 ac_cpp='$CXXCPP $CPPFLAGS'
50894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50898 cat >conftest.$ac_ext <<_ACEOF
50899 /* confdefs.h. */
50900 _ACEOF
50901 cat confdefs.h >>conftest.$ac_ext
50902 cat >>conftest.$ac_ext <<_ACEOF
50903 /* end confdefs.h. */
50904 #include <math.h>
50905 #ifdef HAVE_IEEEFP_H
50906 #include <ieeefp.h>
50907 #endif
50910 main ()
50912 log10f(0);
50914 return 0;
50916 _ACEOF
50917 rm -f conftest.$ac_objext
50918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50919 (eval $ac_compile) 2>conftest.er1
50920 ac_status=$?
50921 grep -v '^ *+' conftest.er1 >conftest.err
50922 rm -f conftest.er1
50923 cat conftest.err >&5
50924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50925 (exit $ac_status); } &&
50926 { ac_try='test -z "$ac_cxx_werror_flag"
50927 || test ! -s conftest.err'
50928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50929 (eval $ac_try) 2>&5
50930 ac_status=$?
50931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50932 (exit $ac_status); }; } &&
50933 { ac_try='test -s conftest.$ac_objext'
50934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50935 (eval $ac_try) 2>&5
50936 ac_status=$?
50937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50938 (exit $ac_status); }; }; then
50939 glibcxx_cv_func_log10f_use=yes
50940 else
50941 echo "$as_me: failed program was:" >&5
50942 sed 's/^/| /' conftest.$ac_ext >&5
50944 glibcxx_cv_func_log10f_use=no
50946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50947 ac_ext=c
50948 ac_cpp='$CPP $CPPFLAGS'
50949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50958 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50960 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50962 for ac_func in log10f
50964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50965 echo "$as_me:$LINENO: checking for $ac_func" >&5
50966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50967 if eval "test \"\${$as_ac_var+set}\" = set"; then
50968 echo $ECHO_N "(cached) $ECHO_C" >&6
50969 else
50970 if test x$gcc_no_link = xyes; then
50971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50973 { (exit 1); exit 1; }; }
50975 cat >conftest.$ac_ext <<_ACEOF
50976 /* confdefs.h. */
50977 _ACEOF
50978 cat confdefs.h >>conftest.$ac_ext
50979 cat >>conftest.$ac_ext <<_ACEOF
50980 /* end confdefs.h. */
50981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50983 #define $ac_func innocuous_$ac_func
50985 /* System header to define __stub macros and hopefully few prototypes,
50986 which can conflict with char $ac_func (); below.
50987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50988 <limits.h> exists even on freestanding compilers. */
50990 #ifdef __STDC__
50991 # include <limits.h>
50992 #else
50993 # include <assert.h>
50994 #endif
50996 #undef $ac_func
50998 /* Override any gcc2 internal prototype to avoid an error. */
50999 #ifdef __cplusplus
51000 extern "C"
51002 #endif
51003 /* We use char because int might match the return type of a gcc2
51004 builtin and then its argument prototype would still apply. */
51005 char $ac_func ();
51006 /* The GNU C library defines this for functions which it implements
51007 to always fail with ENOSYS. Some functions are actually named
51008 something starting with __ and the normal name is an alias. */
51009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51010 choke me
51011 #else
51012 char (*f) () = $ac_func;
51013 #endif
51014 #ifdef __cplusplus
51016 #endif
51019 main ()
51021 return f != $ac_func;
51023 return 0;
51025 _ACEOF
51026 rm -f conftest.$ac_objext conftest$ac_exeext
51027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51028 (eval $ac_link) 2>conftest.er1
51029 ac_status=$?
51030 grep -v '^ *+' conftest.er1 >conftest.err
51031 rm -f conftest.er1
51032 cat conftest.err >&5
51033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51034 (exit $ac_status); } &&
51035 { ac_try='test -z "$ac_c_werror_flag"
51036 || test ! -s conftest.err'
51037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51038 (eval $ac_try) 2>&5
51039 ac_status=$?
51040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51041 (exit $ac_status); }; } &&
51042 { ac_try='test -s conftest$ac_exeext'
51043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51044 (eval $ac_try) 2>&5
51045 ac_status=$?
51046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51047 (exit $ac_status); }; }; then
51048 eval "$as_ac_var=yes"
51049 else
51050 echo "$as_me: failed program was:" >&5
51051 sed 's/^/| /' conftest.$ac_ext >&5
51053 eval "$as_ac_var=no"
51055 rm -f conftest.err conftest.$ac_objext \
51056 conftest$ac_exeext conftest.$ac_ext
51058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51060 if test `eval echo '${'$as_ac_var'}'` = yes; then
51061 cat >>confdefs.h <<_ACEOF
51062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51063 _ACEOF
51066 done
51068 else
51070 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51071 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51072 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51073 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51074 echo $ECHO_N "(cached) $ECHO_C" >&6
51075 else
51079 ac_ext=cc
51080 ac_cpp='$CXXCPP $CPPFLAGS'
51081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51085 cat >conftest.$ac_ext <<_ACEOF
51086 /* confdefs.h. */
51087 _ACEOF
51088 cat confdefs.h >>conftest.$ac_ext
51089 cat >>conftest.$ac_ext <<_ACEOF
51090 /* end confdefs.h. */
51091 #include <math.h>
51092 #ifdef HAVE_IEEEFP_H
51093 #include <ieeefp.h>
51094 #endif
51097 main ()
51099 _log10f(0);
51101 return 0;
51103 _ACEOF
51104 rm -f conftest.$ac_objext
51105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51106 (eval $ac_compile) 2>conftest.er1
51107 ac_status=$?
51108 grep -v '^ *+' conftest.er1 >conftest.err
51109 rm -f conftest.er1
51110 cat conftest.err >&5
51111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51112 (exit $ac_status); } &&
51113 { ac_try='test -z "$ac_cxx_werror_flag"
51114 || test ! -s conftest.err'
51115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51116 (eval $ac_try) 2>&5
51117 ac_status=$?
51118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51119 (exit $ac_status); }; } &&
51120 { ac_try='test -s conftest.$ac_objext'
51121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51122 (eval $ac_try) 2>&5
51123 ac_status=$?
51124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51125 (exit $ac_status); }; }; then
51126 glibcxx_cv_func__log10f_use=yes
51127 else
51128 echo "$as_me: failed program was:" >&5
51129 sed 's/^/| /' conftest.$ac_ext >&5
51131 glibcxx_cv_func__log10f_use=no
51133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51134 ac_ext=c
51135 ac_cpp='$CPP $CPPFLAGS'
51136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51145 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51147 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51149 for ac_func in _log10f
51151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51152 echo "$as_me:$LINENO: checking for $ac_func" >&5
51153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51154 if eval "test \"\${$as_ac_var+set}\" = set"; then
51155 echo $ECHO_N "(cached) $ECHO_C" >&6
51156 else
51157 if test x$gcc_no_link = xyes; then
51158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51160 { (exit 1); exit 1; }; }
51162 cat >conftest.$ac_ext <<_ACEOF
51163 /* confdefs.h. */
51164 _ACEOF
51165 cat confdefs.h >>conftest.$ac_ext
51166 cat >>conftest.$ac_ext <<_ACEOF
51167 /* end confdefs.h. */
51168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51170 #define $ac_func innocuous_$ac_func
51172 /* System header to define __stub macros and hopefully few prototypes,
51173 which can conflict with char $ac_func (); below.
51174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51175 <limits.h> exists even on freestanding compilers. */
51177 #ifdef __STDC__
51178 # include <limits.h>
51179 #else
51180 # include <assert.h>
51181 #endif
51183 #undef $ac_func
51185 /* Override any gcc2 internal prototype to avoid an error. */
51186 #ifdef __cplusplus
51187 extern "C"
51189 #endif
51190 /* We use char because int might match the return type of a gcc2
51191 builtin and then its argument prototype would still apply. */
51192 char $ac_func ();
51193 /* The GNU C library defines this for functions which it implements
51194 to always fail with ENOSYS. Some functions are actually named
51195 something starting with __ and the normal name is an alias. */
51196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51197 choke me
51198 #else
51199 char (*f) () = $ac_func;
51200 #endif
51201 #ifdef __cplusplus
51203 #endif
51206 main ()
51208 return f != $ac_func;
51210 return 0;
51212 _ACEOF
51213 rm -f conftest.$ac_objext conftest$ac_exeext
51214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51215 (eval $ac_link) 2>conftest.er1
51216 ac_status=$?
51217 grep -v '^ *+' conftest.er1 >conftest.err
51218 rm -f conftest.er1
51219 cat conftest.err >&5
51220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51221 (exit $ac_status); } &&
51222 { ac_try='test -z "$ac_c_werror_flag"
51223 || test ! -s conftest.err'
51224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51225 (eval $ac_try) 2>&5
51226 ac_status=$?
51227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51228 (exit $ac_status); }; } &&
51229 { ac_try='test -s conftest$ac_exeext'
51230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51231 (eval $ac_try) 2>&5
51232 ac_status=$?
51233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51234 (exit $ac_status); }; }; then
51235 eval "$as_ac_var=yes"
51236 else
51237 echo "$as_me: failed program was:" >&5
51238 sed 's/^/| /' conftest.$ac_ext >&5
51240 eval "$as_ac_var=no"
51242 rm -f conftest.err conftest.$ac_objext \
51243 conftest$ac_exeext conftest.$ac_ext
51245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51247 if test `eval echo '${'$as_ac_var'}'` = yes; then
51248 cat >>confdefs.h <<_ACEOF
51249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51250 _ACEOF
51253 done
51263 echo "$as_me:$LINENO: checking for modff declaration" >&5
51264 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51265 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51266 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51267 echo $ECHO_N "(cached) $ECHO_C" >&6
51268 else
51272 ac_ext=cc
51273 ac_cpp='$CXXCPP $CPPFLAGS'
51274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
51286 main ()
51288 modff(0, 0);
51290 return 0;
51292 _ACEOF
51293 rm -f conftest.$ac_objext
51294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51295 (eval $ac_compile) 2>conftest.er1
51296 ac_status=$?
51297 grep -v '^ *+' conftest.er1 >conftest.err
51298 rm -f conftest.er1
51299 cat conftest.err >&5
51300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51301 (exit $ac_status); } &&
51302 { ac_try='test -z "$ac_cxx_werror_flag"
51303 || test ! -s conftest.err'
51304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51305 (eval $ac_try) 2>&5
51306 ac_status=$?
51307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51308 (exit $ac_status); }; } &&
51309 { ac_try='test -s conftest.$ac_objext'
51310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51311 (eval $ac_try) 2>&5
51312 ac_status=$?
51313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51314 (exit $ac_status); }; }; then
51315 glibcxx_cv_func_modff_use=yes
51316 else
51317 echo "$as_me: failed program was:" >&5
51318 sed 's/^/| /' conftest.$ac_ext >&5
51320 glibcxx_cv_func_modff_use=no
51322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51323 ac_ext=c
51324 ac_cpp='$CPP $CPPFLAGS'
51325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51334 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51336 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51338 for ac_func in modff
51340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51341 echo "$as_me:$LINENO: checking for $ac_func" >&5
51342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51343 if eval "test \"\${$as_ac_var+set}\" = set"; then
51344 echo $ECHO_N "(cached) $ECHO_C" >&6
51345 else
51346 if test x$gcc_no_link = xyes; then
51347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51349 { (exit 1); exit 1; }; }
51351 cat >conftest.$ac_ext <<_ACEOF
51352 /* confdefs.h. */
51353 _ACEOF
51354 cat confdefs.h >>conftest.$ac_ext
51355 cat >>conftest.$ac_ext <<_ACEOF
51356 /* end confdefs.h. */
51357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51359 #define $ac_func innocuous_$ac_func
51361 /* System header to define __stub macros and hopefully few prototypes,
51362 which can conflict with char $ac_func (); below.
51363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51364 <limits.h> exists even on freestanding compilers. */
51366 #ifdef __STDC__
51367 # include <limits.h>
51368 #else
51369 # include <assert.h>
51370 #endif
51372 #undef $ac_func
51374 /* Override any gcc2 internal prototype to avoid an error. */
51375 #ifdef __cplusplus
51376 extern "C"
51378 #endif
51379 /* We use char because int might match the return type of a gcc2
51380 builtin and then its argument prototype would still apply. */
51381 char $ac_func ();
51382 /* The GNU C library defines this for functions which it implements
51383 to always fail with ENOSYS. Some functions are actually named
51384 something starting with __ and the normal name is an alias. */
51385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51386 choke me
51387 #else
51388 char (*f) () = $ac_func;
51389 #endif
51390 #ifdef __cplusplus
51392 #endif
51395 main ()
51397 return f != $ac_func;
51399 return 0;
51401 _ACEOF
51402 rm -f conftest.$ac_objext conftest$ac_exeext
51403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51404 (eval $ac_link) 2>conftest.er1
51405 ac_status=$?
51406 grep -v '^ *+' conftest.er1 >conftest.err
51407 rm -f conftest.er1
51408 cat conftest.err >&5
51409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51410 (exit $ac_status); } &&
51411 { ac_try='test -z "$ac_c_werror_flag"
51412 || test ! -s conftest.err'
51413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51414 (eval $ac_try) 2>&5
51415 ac_status=$?
51416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51417 (exit $ac_status); }; } &&
51418 { ac_try='test -s conftest$ac_exeext'
51419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51420 (eval $ac_try) 2>&5
51421 ac_status=$?
51422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51423 (exit $ac_status); }; }; then
51424 eval "$as_ac_var=yes"
51425 else
51426 echo "$as_me: failed program was:" >&5
51427 sed 's/^/| /' conftest.$ac_ext >&5
51429 eval "$as_ac_var=no"
51431 rm -f conftest.err conftest.$ac_objext \
51432 conftest$ac_exeext conftest.$ac_ext
51434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51436 if test `eval echo '${'$as_ac_var'}'` = yes; then
51437 cat >>confdefs.h <<_ACEOF
51438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51439 _ACEOF
51442 done
51444 else
51446 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51447 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51448 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51449 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51450 echo $ECHO_N "(cached) $ECHO_C" >&6
51451 else
51455 ac_ext=cc
51456 ac_cpp='$CXXCPP $CPPFLAGS'
51457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
51469 main ()
51471 _modff(0, 0);
51473 return 0;
51475 _ACEOF
51476 rm -f conftest.$ac_objext
51477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51478 (eval $ac_compile) 2>conftest.er1
51479 ac_status=$?
51480 grep -v '^ *+' conftest.er1 >conftest.err
51481 rm -f conftest.er1
51482 cat conftest.err >&5
51483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51484 (exit $ac_status); } &&
51485 { ac_try='test -z "$ac_cxx_werror_flag"
51486 || test ! -s conftest.err'
51487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51488 (eval $ac_try) 2>&5
51489 ac_status=$?
51490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51491 (exit $ac_status); }; } &&
51492 { ac_try='test -s conftest.$ac_objext'
51493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51494 (eval $ac_try) 2>&5
51495 ac_status=$?
51496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51497 (exit $ac_status); }; }; then
51498 glibcxx_cv_func__modff_use=yes
51499 else
51500 echo "$as_me: failed program was:" >&5
51501 sed 's/^/| /' conftest.$ac_ext >&5
51503 glibcxx_cv_func__modff_use=no
51505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51506 ac_ext=c
51507 ac_cpp='$CPP $CPPFLAGS'
51508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51517 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51519 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51521 for ac_func in _modff
51523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51524 echo "$as_me:$LINENO: checking for $ac_func" >&5
51525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51526 if eval "test \"\${$as_ac_var+set}\" = set"; then
51527 echo $ECHO_N "(cached) $ECHO_C" >&6
51528 else
51529 if test x$gcc_no_link = xyes; then
51530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51532 { (exit 1); exit 1; }; }
51534 cat >conftest.$ac_ext <<_ACEOF
51535 /* confdefs.h. */
51536 _ACEOF
51537 cat confdefs.h >>conftest.$ac_ext
51538 cat >>conftest.$ac_ext <<_ACEOF
51539 /* end confdefs.h. */
51540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51542 #define $ac_func innocuous_$ac_func
51544 /* System header to define __stub macros and hopefully few prototypes,
51545 which can conflict with char $ac_func (); below.
51546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51547 <limits.h> exists even on freestanding compilers. */
51549 #ifdef __STDC__
51550 # include <limits.h>
51551 #else
51552 # include <assert.h>
51553 #endif
51555 #undef $ac_func
51557 /* Override any gcc2 internal prototype to avoid an error. */
51558 #ifdef __cplusplus
51559 extern "C"
51561 #endif
51562 /* We use char because int might match the return type of a gcc2
51563 builtin and then its argument prototype would still apply. */
51564 char $ac_func ();
51565 /* The GNU C library defines this for functions which it implements
51566 to always fail with ENOSYS. Some functions are actually named
51567 something starting with __ and the normal name is an alias. */
51568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51569 choke me
51570 #else
51571 char (*f) () = $ac_func;
51572 #endif
51573 #ifdef __cplusplus
51575 #endif
51578 main ()
51580 return f != $ac_func;
51582 return 0;
51584 _ACEOF
51585 rm -f conftest.$ac_objext conftest$ac_exeext
51586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51587 (eval $ac_link) 2>conftest.er1
51588 ac_status=$?
51589 grep -v '^ *+' conftest.er1 >conftest.err
51590 rm -f conftest.er1
51591 cat conftest.err >&5
51592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51593 (exit $ac_status); } &&
51594 { ac_try='test -z "$ac_c_werror_flag"
51595 || test ! -s conftest.err'
51596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51597 (eval $ac_try) 2>&5
51598 ac_status=$?
51599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51600 (exit $ac_status); }; } &&
51601 { ac_try='test -s conftest$ac_exeext'
51602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51603 (eval $ac_try) 2>&5
51604 ac_status=$?
51605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51606 (exit $ac_status); }; }; then
51607 eval "$as_ac_var=yes"
51608 else
51609 echo "$as_me: failed program was:" >&5
51610 sed 's/^/| /' conftest.$ac_ext >&5
51612 eval "$as_ac_var=no"
51614 rm -f conftest.err conftest.$ac_objext \
51615 conftest$ac_exeext conftest.$ac_ext
51617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51619 if test `eval echo '${'$as_ac_var'}'` = yes; then
51620 cat >>confdefs.h <<_ACEOF
51621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51622 _ACEOF
51625 done
51635 echo "$as_me:$LINENO: checking for modf declaration" >&5
51636 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51637 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51638 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51639 echo $ECHO_N "(cached) $ECHO_C" >&6
51640 else
51644 ac_ext=cc
51645 ac_cpp='$CXXCPP $CPPFLAGS'
51646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
51658 main ()
51660 modf(0, 0);
51662 return 0;
51664 _ACEOF
51665 rm -f conftest.$ac_objext
51666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51667 (eval $ac_compile) 2>conftest.er1
51668 ac_status=$?
51669 grep -v '^ *+' conftest.er1 >conftest.err
51670 rm -f conftest.er1
51671 cat conftest.err >&5
51672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51673 (exit $ac_status); } &&
51674 { ac_try='test -z "$ac_cxx_werror_flag"
51675 || test ! -s conftest.err'
51676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51677 (eval $ac_try) 2>&5
51678 ac_status=$?
51679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51680 (exit $ac_status); }; } &&
51681 { ac_try='test -s conftest.$ac_objext'
51682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51683 (eval $ac_try) 2>&5
51684 ac_status=$?
51685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51686 (exit $ac_status); }; }; then
51687 glibcxx_cv_func_modf_use=yes
51688 else
51689 echo "$as_me: failed program was:" >&5
51690 sed 's/^/| /' conftest.$ac_ext >&5
51692 glibcxx_cv_func_modf_use=no
51694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51695 ac_ext=c
51696 ac_cpp='$CPP $CPPFLAGS'
51697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51706 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51708 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51710 for ac_func in modf
51712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51713 echo "$as_me:$LINENO: checking for $ac_func" >&5
51714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51715 if eval "test \"\${$as_ac_var+set}\" = set"; then
51716 echo $ECHO_N "(cached) $ECHO_C" >&6
51717 else
51718 if test x$gcc_no_link = xyes; then
51719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51721 { (exit 1); exit 1; }; }
51723 cat >conftest.$ac_ext <<_ACEOF
51724 /* confdefs.h. */
51725 _ACEOF
51726 cat confdefs.h >>conftest.$ac_ext
51727 cat >>conftest.$ac_ext <<_ACEOF
51728 /* end confdefs.h. */
51729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51731 #define $ac_func innocuous_$ac_func
51733 /* System header to define __stub macros and hopefully few prototypes,
51734 which can conflict with char $ac_func (); below.
51735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51736 <limits.h> exists even on freestanding compilers. */
51738 #ifdef __STDC__
51739 # include <limits.h>
51740 #else
51741 # include <assert.h>
51742 #endif
51744 #undef $ac_func
51746 /* Override any gcc2 internal prototype to avoid an error. */
51747 #ifdef __cplusplus
51748 extern "C"
51750 #endif
51751 /* We use char because int might match the return type of a gcc2
51752 builtin and then its argument prototype would still apply. */
51753 char $ac_func ();
51754 /* The GNU C library defines this for functions which it implements
51755 to always fail with ENOSYS. Some functions are actually named
51756 something starting with __ and the normal name is an alias. */
51757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51758 choke me
51759 #else
51760 char (*f) () = $ac_func;
51761 #endif
51762 #ifdef __cplusplus
51764 #endif
51767 main ()
51769 return f != $ac_func;
51771 return 0;
51773 _ACEOF
51774 rm -f conftest.$ac_objext conftest$ac_exeext
51775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51776 (eval $ac_link) 2>conftest.er1
51777 ac_status=$?
51778 grep -v '^ *+' conftest.er1 >conftest.err
51779 rm -f conftest.er1
51780 cat conftest.err >&5
51781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51782 (exit $ac_status); } &&
51783 { ac_try='test -z "$ac_c_werror_flag"
51784 || test ! -s conftest.err'
51785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51786 (eval $ac_try) 2>&5
51787 ac_status=$?
51788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51789 (exit $ac_status); }; } &&
51790 { ac_try='test -s conftest$ac_exeext'
51791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51792 (eval $ac_try) 2>&5
51793 ac_status=$?
51794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795 (exit $ac_status); }; }; then
51796 eval "$as_ac_var=yes"
51797 else
51798 echo "$as_me: failed program was:" >&5
51799 sed 's/^/| /' conftest.$ac_ext >&5
51801 eval "$as_ac_var=no"
51803 rm -f conftest.err conftest.$ac_objext \
51804 conftest$ac_exeext conftest.$ac_ext
51806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51808 if test `eval echo '${'$as_ac_var'}'` = yes; then
51809 cat >>confdefs.h <<_ACEOF
51810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51811 _ACEOF
51814 done
51816 else
51818 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51819 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51820 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51821 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51822 echo $ECHO_N "(cached) $ECHO_C" >&6
51823 else
51827 ac_ext=cc
51828 ac_cpp='$CXXCPP $CPPFLAGS'
51829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
51841 main ()
51843 _modf(0, 0);
51845 return 0;
51847 _ACEOF
51848 rm -f conftest.$ac_objext
51849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51850 (eval $ac_compile) 2>conftest.er1
51851 ac_status=$?
51852 grep -v '^ *+' conftest.er1 >conftest.err
51853 rm -f conftest.er1
51854 cat conftest.err >&5
51855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51856 (exit $ac_status); } &&
51857 { ac_try='test -z "$ac_cxx_werror_flag"
51858 || test ! -s conftest.err'
51859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51860 (eval $ac_try) 2>&5
51861 ac_status=$?
51862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51863 (exit $ac_status); }; } &&
51864 { ac_try='test -s conftest.$ac_objext'
51865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51866 (eval $ac_try) 2>&5
51867 ac_status=$?
51868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51869 (exit $ac_status); }; }; then
51870 glibcxx_cv_func__modf_use=yes
51871 else
51872 echo "$as_me: failed program was:" >&5
51873 sed 's/^/| /' conftest.$ac_ext >&5
51875 glibcxx_cv_func__modf_use=no
51877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51878 ac_ext=c
51879 ac_cpp='$CPP $CPPFLAGS'
51880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51889 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51891 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51893 for ac_func in _modf
51895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51896 echo "$as_me:$LINENO: checking for $ac_func" >&5
51897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51898 if eval "test \"\${$as_ac_var+set}\" = set"; then
51899 echo $ECHO_N "(cached) $ECHO_C" >&6
51900 else
51901 if test x$gcc_no_link = xyes; then
51902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51904 { (exit 1); exit 1; }; }
51906 cat >conftest.$ac_ext <<_ACEOF
51907 /* confdefs.h. */
51908 _ACEOF
51909 cat confdefs.h >>conftest.$ac_ext
51910 cat >>conftest.$ac_ext <<_ACEOF
51911 /* end confdefs.h. */
51912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51914 #define $ac_func innocuous_$ac_func
51916 /* System header to define __stub macros and hopefully few prototypes,
51917 which can conflict with char $ac_func (); below.
51918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51919 <limits.h> exists even on freestanding compilers. */
51921 #ifdef __STDC__
51922 # include <limits.h>
51923 #else
51924 # include <assert.h>
51925 #endif
51927 #undef $ac_func
51929 /* Override any gcc2 internal prototype to avoid an error. */
51930 #ifdef __cplusplus
51931 extern "C"
51933 #endif
51934 /* We use char because int might match the return type of a gcc2
51935 builtin and then its argument prototype would still apply. */
51936 char $ac_func ();
51937 /* The GNU C library defines this for functions which it implements
51938 to always fail with ENOSYS. Some functions are actually named
51939 something starting with __ and the normal name is an alias. */
51940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51941 choke me
51942 #else
51943 char (*f) () = $ac_func;
51944 #endif
51945 #ifdef __cplusplus
51947 #endif
51950 main ()
51952 return f != $ac_func;
51954 return 0;
51956 _ACEOF
51957 rm -f conftest.$ac_objext conftest$ac_exeext
51958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51959 (eval $ac_link) 2>conftest.er1
51960 ac_status=$?
51961 grep -v '^ *+' conftest.er1 >conftest.err
51962 rm -f conftest.er1
51963 cat conftest.err >&5
51964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51965 (exit $ac_status); } &&
51966 { ac_try='test -z "$ac_c_werror_flag"
51967 || test ! -s conftest.err'
51968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51969 (eval $ac_try) 2>&5
51970 ac_status=$?
51971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51972 (exit $ac_status); }; } &&
51973 { ac_try='test -s conftest$ac_exeext'
51974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51975 (eval $ac_try) 2>&5
51976 ac_status=$?
51977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51978 (exit $ac_status); }; }; then
51979 eval "$as_ac_var=yes"
51980 else
51981 echo "$as_me: failed program was:" >&5
51982 sed 's/^/| /' conftest.$ac_ext >&5
51984 eval "$as_ac_var=no"
51986 rm -f conftest.err conftest.$ac_objext \
51987 conftest$ac_exeext conftest.$ac_ext
51989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51991 if test `eval echo '${'$as_ac_var'}'` = yes; then
51992 cat >>confdefs.h <<_ACEOF
51993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51994 _ACEOF
51997 done
52007 echo "$as_me:$LINENO: checking for powf declaration" >&5
52008 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52009 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52010 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52011 echo $ECHO_N "(cached) $ECHO_C" >&6
52012 else
52016 ac_ext=cc
52017 ac_cpp='$CXXCPP $CPPFLAGS'
52018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
52030 main ()
52032 powf(0, 0);
52034 return 0;
52036 _ACEOF
52037 rm -f conftest.$ac_objext
52038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52039 (eval $ac_compile) 2>conftest.er1
52040 ac_status=$?
52041 grep -v '^ *+' conftest.er1 >conftest.err
52042 rm -f conftest.er1
52043 cat conftest.err >&5
52044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52045 (exit $ac_status); } &&
52046 { ac_try='test -z "$ac_cxx_werror_flag"
52047 || test ! -s conftest.err'
52048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52049 (eval $ac_try) 2>&5
52050 ac_status=$?
52051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52052 (exit $ac_status); }; } &&
52053 { ac_try='test -s conftest.$ac_objext'
52054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52055 (eval $ac_try) 2>&5
52056 ac_status=$?
52057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52058 (exit $ac_status); }; }; then
52059 glibcxx_cv_func_powf_use=yes
52060 else
52061 echo "$as_me: failed program was:" >&5
52062 sed 's/^/| /' conftest.$ac_ext >&5
52064 glibcxx_cv_func_powf_use=no
52066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52067 ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52078 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52080 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52082 for ac_func in powf
52084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52085 echo "$as_me:$LINENO: checking for $ac_func" >&5
52086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52087 if eval "test \"\${$as_ac_var+set}\" = set"; then
52088 echo $ECHO_N "(cached) $ECHO_C" >&6
52089 else
52090 if test x$gcc_no_link = xyes; then
52091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52093 { (exit 1); exit 1; }; }
52095 cat >conftest.$ac_ext <<_ACEOF
52096 /* confdefs.h. */
52097 _ACEOF
52098 cat confdefs.h >>conftest.$ac_ext
52099 cat >>conftest.$ac_ext <<_ACEOF
52100 /* end confdefs.h. */
52101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52103 #define $ac_func innocuous_$ac_func
52105 /* System header to define __stub macros and hopefully few prototypes,
52106 which can conflict with char $ac_func (); below.
52107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52108 <limits.h> exists even on freestanding compilers. */
52110 #ifdef __STDC__
52111 # include <limits.h>
52112 #else
52113 # include <assert.h>
52114 #endif
52116 #undef $ac_func
52118 /* Override any gcc2 internal prototype to avoid an error. */
52119 #ifdef __cplusplus
52120 extern "C"
52122 #endif
52123 /* We use char because int might match the return type of a gcc2
52124 builtin and then its argument prototype would still apply. */
52125 char $ac_func ();
52126 /* The GNU C library defines this for functions which it implements
52127 to always fail with ENOSYS. Some functions are actually named
52128 something starting with __ and the normal name is an alias. */
52129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52130 choke me
52131 #else
52132 char (*f) () = $ac_func;
52133 #endif
52134 #ifdef __cplusplus
52136 #endif
52139 main ()
52141 return f != $ac_func;
52143 return 0;
52145 _ACEOF
52146 rm -f conftest.$ac_objext conftest$ac_exeext
52147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52148 (eval $ac_link) 2>conftest.er1
52149 ac_status=$?
52150 grep -v '^ *+' conftest.er1 >conftest.err
52151 rm -f conftest.er1
52152 cat conftest.err >&5
52153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52154 (exit $ac_status); } &&
52155 { ac_try='test -z "$ac_c_werror_flag"
52156 || test ! -s conftest.err'
52157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52158 (eval $ac_try) 2>&5
52159 ac_status=$?
52160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52161 (exit $ac_status); }; } &&
52162 { ac_try='test -s conftest$ac_exeext'
52163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52164 (eval $ac_try) 2>&5
52165 ac_status=$?
52166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52167 (exit $ac_status); }; }; then
52168 eval "$as_ac_var=yes"
52169 else
52170 echo "$as_me: failed program was:" >&5
52171 sed 's/^/| /' conftest.$ac_ext >&5
52173 eval "$as_ac_var=no"
52175 rm -f conftest.err conftest.$ac_objext \
52176 conftest$ac_exeext conftest.$ac_ext
52178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52180 if test `eval echo '${'$as_ac_var'}'` = yes; then
52181 cat >>confdefs.h <<_ACEOF
52182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52183 _ACEOF
52186 done
52188 else
52190 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52191 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52192 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52193 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52194 echo $ECHO_N "(cached) $ECHO_C" >&6
52195 else
52199 ac_ext=cc
52200 ac_cpp='$CXXCPP $CPPFLAGS'
52201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
52213 main ()
52215 _powf(0, 0);
52217 return 0;
52219 _ACEOF
52220 rm -f conftest.$ac_objext
52221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52222 (eval $ac_compile) 2>conftest.er1
52223 ac_status=$?
52224 grep -v '^ *+' conftest.er1 >conftest.err
52225 rm -f conftest.er1
52226 cat conftest.err >&5
52227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52228 (exit $ac_status); } &&
52229 { ac_try='test -z "$ac_cxx_werror_flag"
52230 || test ! -s conftest.err'
52231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52232 (eval $ac_try) 2>&5
52233 ac_status=$?
52234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52235 (exit $ac_status); }; } &&
52236 { ac_try='test -s conftest.$ac_objext'
52237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52238 (eval $ac_try) 2>&5
52239 ac_status=$?
52240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52241 (exit $ac_status); }; }; then
52242 glibcxx_cv_func__powf_use=yes
52243 else
52244 echo "$as_me: failed program was:" >&5
52245 sed 's/^/| /' conftest.$ac_ext >&5
52247 glibcxx_cv_func__powf_use=no
52249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52250 ac_ext=c
52251 ac_cpp='$CPP $CPPFLAGS'
52252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52261 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52263 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52265 for ac_func in _powf
52267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52268 echo "$as_me:$LINENO: checking for $ac_func" >&5
52269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52270 if eval "test \"\${$as_ac_var+set}\" = set"; then
52271 echo $ECHO_N "(cached) $ECHO_C" >&6
52272 else
52273 if test x$gcc_no_link = xyes; then
52274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52276 { (exit 1); exit 1; }; }
52278 cat >conftest.$ac_ext <<_ACEOF
52279 /* confdefs.h. */
52280 _ACEOF
52281 cat confdefs.h >>conftest.$ac_ext
52282 cat >>conftest.$ac_ext <<_ACEOF
52283 /* end confdefs.h. */
52284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52286 #define $ac_func innocuous_$ac_func
52288 /* System header to define __stub macros and hopefully few prototypes,
52289 which can conflict with char $ac_func (); below.
52290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52291 <limits.h> exists even on freestanding compilers. */
52293 #ifdef __STDC__
52294 # include <limits.h>
52295 #else
52296 # include <assert.h>
52297 #endif
52299 #undef $ac_func
52301 /* Override any gcc2 internal prototype to avoid an error. */
52302 #ifdef __cplusplus
52303 extern "C"
52305 #endif
52306 /* We use char because int might match the return type of a gcc2
52307 builtin and then its argument prototype would still apply. */
52308 char $ac_func ();
52309 /* The GNU C library defines this for functions which it implements
52310 to always fail with ENOSYS. Some functions are actually named
52311 something starting with __ and the normal name is an alias. */
52312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52313 choke me
52314 #else
52315 char (*f) () = $ac_func;
52316 #endif
52317 #ifdef __cplusplus
52319 #endif
52322 main ()
52324 return f != $ac_func;
52326 return 0;
52328 _ACEOF
52329 rm -f conftest.$ac_objext conftest$ac_exeext
52330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52331 (eval $ac_link) 2>conftest.er1
52332 ac_status=$?
52333 grep -v '^ *+' conftest.er1 >conftest.err
52334 rm -f conftest.er1
52335 cat conftest.err >&5
52336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52337 (exit $ac_status); } &&
52338 { ac_try='test -z "$ac_c_werror_flag"
52339 || test ! -s conftest.err'
52340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52341 (eval $ac_try) 2>&5
52342 ac_status=$?
52343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52344 (exit $ac_status); }; } &&
52345 { ac_try='test -s conftest$ac_exeext'
52346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52347 (eval $ac_try) 2>&5
52348 ac_status=$?
52349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350 (exit $ac_status); }; }; then
52351 eval "$as_ac_var=yes"
52352 else
52353 echo "$as_me: failed program was:" >&5
52354 sed 's/^/| /' conftest.$ac_ext >&5
52356 eval "$as_ac_var=no"
52358 rm -f conftest.err conftest.$ac_objext \
52359 conftest$ac_exeext conftest.$ac_ext
52361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52363 if test `eval echo '${'$as_ac_var'}'` = yes; then
52364 cat >>confdefs.h <<_ACEOF
52365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52366 _ACEOF
52369 done
52379 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52380 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52381 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52382 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52383 echo $ECHO_N "(cached) $ECHO_C" >&6
52384 else
52388 ac_ext=cc
52389 ac_cpp='$CXXCPP $CPPFLAGS'
52390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52394 cat >conftest.$ac_ext <<_ACEOF
52395 /* confdefs.h. */
52396 _ACEOF
52397 cat confdefs.h >>conftest.$ac_ext
52398 cat >>conftest.$ac_ext <<_ACEOF
52399 /* end confdefs.h. */
52400 #include <math.h>
52401 #ifdef HAVE_IEEEFP_H
52402 #include <ieeefp.h>
52403 #endif
52406 main ()
52408 sqrtf(0);
52410 return 0;
52412 _ACEOF
52413 rm -f conftest.$ac_objext
52414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52415 (eval $ac_compile) 2>conftest.er1
52416 ac_status=$?
52417 grep -v '^ *+' conftest.er1 >conftest.err
52418 rm -f conftest.er1
52419 cat conftest.err >&5
52420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52421 (exit $ac_status); } &&
52422 { ac_try='test -z "$ac_cxx_werror_flag"
52423 || test ! -s conftest.err'
52424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52425 (eval $ac_try) 2>&5
52426 ac_status=$?
52427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52428 (exit $ac_status); }; } &&
52429 { ac_try='test -s conftest.$ac_objext'
52430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52431 (eval $ac_try) 2>&5
52432 ac_status=$?
52433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52434 (exit $ac_status); }; }; then
52435 glibcxx_cv_func_sqrtf_use=yes
52436 else
52437 echo "$as_me: failed program was:" >&5
52438 sed 's/^/| /' conftest.$ac_ext >&5
52440 glibcxx_cv_func_sqrtf_use=no
52442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52443 ac_ext=c
52444 ac_cpp='$CPP $CPPFLAGS'
52445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52454 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52456 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52458 for ac_func in sqrtf
52460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52461 echo "$as_me:$LINENO: checking for $ac_func" >&5
52462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52463 if eval "test \"\${$as_ac_var+set}\" = set"; then
52464 echo $ECHO_N "(cached) $ECHO_C" >&6
52465 else
52466 if test x$gcc_no_link = xyes; then
52467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52469 { (exit 1); exit 1; }; }
52471 cat >conftest.$ac_ext <<_ACEOF
52472 /* confdefs.h. */
52473 _ACEOF
52474 cat confdefs.h >>conftest.$ac_ext
52475 cat >>conftest.$ac_ext <<_ACEOF
52476 /* end confdefs.h. */
52477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52479 #define $ac_func innocuous_$ac_func
52481 /* System header to define __stub macros and hopefully few prototypes,
52482 which can conflict with char $ac_func (); below.
52483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52484 <limits.h> exists even on freestanding compilers. */
52486 #ifdef __STDC__
52487 # include <limits.h>
52488 #else
52489 # include <assert.h>
52490 #endif
52492 #undef $ac_func
52494 /* Override any gcc2 internal prototype to avoid an error. */
52495 #ifdef __cplusplus
52496 extern "C"
52498 #endif
52499 /* We use char because int might match the return type of a gcc2
52500 builtin and then its argument prototype would still apply. */
52501 char $ac_func ();
52502 /* The GNU C library defines this for functions which it implements
52503 to always fail with ENOSYS. Some functions are actually named
52504 something starting with __ and the normal name is an alias. */
52505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52506 choke me
52507 #else
52508 char (*f) () = $ac_func;
52509 #endif
52510 #ifdef __cplusplus
52512 #endif
52515 main ()
52517 return f != $ac_func;
52519 return 0;
52521 _ACEOF
52522 rm -f conftest.$ac_objext conftest$ac_exeext
52523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52524 (eval $ac_link) 2>conftest.er1
52525 ac_status=$?
52526 grep -v '^ *+' conftest.er1 >conftest.err
52527 rm -f conftest.er1
52528 cat conftest.err >&5
52529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52530 (exit $ac_status); } &&
52531 { ac_try='test -z "$ac_c_werror_flag"
52532 || test ! -s conftest.err'
52533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52534 (eval $ac_try) 2>&5
52535 ac_status=$?
52536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52537 (exit $ac_status); }; } &&
52538 { ac_try='test -s conftest$ac_exeext'
52539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52540 (eval $ac_try) 2>&5
52541 ac_status=$?
52542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52543 (exit $ac_status); }; }; then
52544 eval "$as_ac_var=yes"
52545 else
52546 echo "$as_me: failed program was:" >&5
52547 sed 's/^/| /' conftest.$ac_ext >&5
52549 eval "$as_ac_var=no"
52551 rm -f conftest.err conftest.$ac_objext \
52552 conftest$ac_exeext conftest.$ac_ext
52554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52556 if test `eval echo '${'$as_ac_var'}'` = yes; then
52557 cat >>confdefs.h <<_ACEOF
52558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52559 _ACEOF
52562 done
52564 else
52566 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52567 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52568 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52569 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52570 echo $ECHO_N "(cached) $ECHO_C" >&6
52571 else
52575 ac_ext=cc
52576 ac_cpp='$CXXCPP $CPPFLAGS'
52577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52581 cat >conftest.$ac_ext <<_ACEOF
52582 /* confdefs.h. */
52583 _ACEOF
52584 cat confdefs.h >>conftest.$ac_ext
52585 cat >>conftest.$ac_ext <<_ACEOF
52586 /* end confdefs.h. */
52587 #include <math.h>
52588 #ifdef HAVE_IEEEFP_H
52589 #include <ieeefp.h>
52590 #endif
52593 main ()
52595 _sqrtf(0);
52597 return 0;
52599 _ACEOF
52600 rm -f conftest.$ac_objext
52601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52602 (eval $ac_compile) 2>conftest.er1
52603 ac_status=$?
52604 grep -v '^ *+' conftest.er1 >conftest.err
52605 rm -f conftest.er1
52606 cat conftest.err >&5
52607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52608 (exit $ac_status); } &&
52609 { ac_try='test -z "$ac_cxx_werror_flag"
52610 || test ! -s conftest.err'
52611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52612 (eval $ac_try) 2>&5
52613 ac_status=$?
52614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52615 (exit $ac_status); }; } &&
52616 { ac_try='test -s conftest.$ac_objext'
52617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52618 (eval $ac_try) 2>&5
52619 ac_status=$?
52620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52621 (exit $ac_status); }; }; then
52622 glibcxx_cv_func__sqrtf_use=yes
52623 else
52624 echo "$as_me: failed program was:" >&5
52625 sed 's/^/| /' conftest.$ac_ext >&5
52627 glibcxx_cv_func__sqrtf_use=no
52629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52630 ac_ext=c
52631 ac_cpp='$CPP $CPPFLAGS'
52632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52641 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52643 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52645 for ac_func in _sqrtf
52647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52648 echo "$as_me:$LINENO: checking for $ac_func" >&5
52649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52650 if eval "test \"\${$as_ac_var+set}\" = set"; then
52651 echo $ECHO_N "(cached) $ECHO_C" >&6
52652 else
52653 if test x$gcc_no_link = xyes; then
52654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52656 { (exit 1); exit 1; }; }
52658 cat >conftest.$ac_ext <<_ACEOF
52659 /* confdefs.h. */
52660 _ACEOF
52661 cat confdefs.h >>conftest.$ac_ext
52662 cat >>conftest.$ac_ext <<_ACEOF
52663 /* end confdefs.h. */
52664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52666 #define $ac_func innocuous_$ac_func
52668 /* System header to define __stub macros and hopefully few prototypes,
52669 which can conflict with char $ac_func (); below.
52670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52671 <limits.h> exists even on freestanding compilers. */
52673 #ifdef __STDC__
52674 # include <limits.h>
52675 #else
52676 # include <assert.h>
52677 #endif
52679 #undef $ac_func
52681 /* Override any gcc2 internal prototype to avoid an error. */
52682 #ifdef __cplusplus
52683 extern "C"
52685 #endif
52686 /* We use char because int might match the return type of a gcc2
52687 builtin and then its argument prototype would still apply. */
52688 char $ac_func ();
52689 /* The GNU C library defines this for functions which it implements
52690 to always fail with ENOSYS. Some functions are actually named
52691 something starting with __ and the normal name is an alias. */
52692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52693 choke me
52694 #else
52695 char (*f) () = $ac_func;
52696 #endif
52697 #ifdef __cplusplus
52699 #endif
52702 main ()
52704 return f != $ac_func;
52706 return 0;
52708 _ACEOF
52709 rm -f conftest.$ac_objext conftest$ac_exeext
52710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52711 (eval $ac_link) 2>conftest.er1
52712 ac_status=$?
52713 grep -v '^ *+' conftest.er1 >conftest.err
52714 rm -f conftest.er1
52715 cat conftest.err >&5
52716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52717 (exit $ac_status); } &&
52718 { ac_try='test -z "$ac_c_werror_flag"
52719 || test ! -s conftest.err'
52720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52721 (eval $ac_try) 2>&5
52722 ac_status=$?
52723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52724 (exit $ac_status); }; } &&
52725 { ac_try='test -s conftest$ac_exeext'
52726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52727 (eval $ac_try) 2>&5
52728 ac_status=$?
52729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730 (exit $ac_status); }; }; then
52731 eval "$as_ac_var=yes"
52732 else
52733 echo "$as_me: failed program was:" >&5
52734 sed 's/^/| /' conftest.$ac_ext >&5
52736 eval "$as_ac_var=no"
52738 rm -f conftest.err conftest.$ac_objext \
52739 conftest$ac_exeext conftest.$ac_ext
52741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52743 if test `eval echo '${'$as_ac_var'}'` = yes; then
52744 cat >>confdefs.h <<_ACEOF
52745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52746 _ACEOF
52749 done
52759 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52760 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52761 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52762 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52763 echo $ECHO_N "(cached) $ECHO_C" >&6
52764 else
52768 ac_ext=cc
52769 ac_cpp='$CXXCPP $CPPFLAGS'
52770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
52782 main ()
52784 sincosf(0, 0, 0);
52786 return 0;
52788 _ACEOF
52789 rm -f conftest.$ac_objext
52790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52791 (eval $ac_compile) 2>conftest.er1
52792 ac_status=$?
52793 grep -v '^ *+' conftest.er1 >conftest.err
52794 rm -f conftest.er1
52795 cat conftest.err >&5
52796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52797 (exit $ac_status); } &&
52798 { ac_try='test -z "$ac_cxx_werror_flag"
52799 || test ! -s conftest.err'
52800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52801 (eval $ac_try) 2>&5
52802 ac_status=$?
52803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52804 (exit $ac_status); }; } &&
52805 { ac_try='test -s conftest.$ac_objext'
52806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52807 (eval $ac_try) 2>&5
52808 ac_status=$?
52809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52810 (exit $ac_status); }; }; then
52811 glibcxx_cv_func_sincosf_use=yes
52812 else
52813 echo "$as_me: failed program was:" >&5
52814 sed 's/^/| /' conftest.$ac_ext >&5
52816 glibcxx_cv_func_sincosf_use=no
52818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52819 ac_ext=c
52820 ac_cpp='$CPP $CPPFLAGS'
52821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52830 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52832 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52834 for ac_func in sincosf
52836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52837 echo "$as_me:$LINENO: checking for $ac_func" >&5
52838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52839 if eval "test \"\${$as_ac_var+set}\" = set"; then
52840 echo $ECHO_N "(cached) $ECHO_C" >&6
52841 else
52842 if test x$gcc_no_link = xyes; then
52843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52845 { (exit 1); exit 1; }; }
52847 cat >conftest.$ac_ext <<_ACEOF
52848 /* confdefs.h. */
52849 _ACEOF
52850 cat confdefs.h >>conftest.$ac_ext
52851 cat >>conftest.$ac_ext <<_ACEOF
52852 /* end confdefs.h. */
52853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52855 #define $ac_func innocuous_$ac_func
52857 /* System header to define __stub macros and hopefully few prototypes,
52858 which can conflict with char $ac_func (); below.
52859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52860 <limits.h> exists even on freestanding compilers. */
52862 #ifdef __STDC__
52863 # include <limits.h>
52864 #else
52865 # include <assert.h>
52866 #endif
52868 #undef $ac_func
52870 /* Override any gcc2 internal prototype to avoid an error. */
52871 #ifdef __cplusplus
52872 extern "C"
52874 #endif
52875 /* We use char because int might match the return type of a gcc2
52876 builtin and then its argument prototype would still apply. */
52877 char $ac_func ();
52878 /* The GNU C library defines this for functions which it implements
52879 to always fail with ENOSYS. Some functions are actually named
52880 something starting with __ and the normal name is an alias. */
52881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52882 choke me
52883 #else
52884 char (*f) () = $ac_func;
52885 #endif
52886 #ifdef __cplusplus
52888 #endif
52891 main ()
52893 return f != $ac_func;
52895 return 0;
52897 _ACEOF
52898 rm -f conftest.$ac_objext conftest$ac_exeext
52899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52900 (eval $ac_link) 2>conftest.er1
52901 ac_status=$?
52902 grep -v '^ *+' conftest.er1 >conftest.err
52903 rm -f conftest.er1
52904 cat conftest.err >&5
52905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52906 (exit $ac_status); } &&
52907 { ac_try='test -z "$ac_c_werror_flag"
52908 || test ! -s conftest.err'
52909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52910 (eval $ac_try) 2>&5
52911 ac_status=$?
52912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52913 (exit $ac_status); }; } &&
52914 { ac_try='test -s conftest$ac_exeext'
52915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52916 (eval $ac_try) 2>&5
52917 ac_status=$?
52918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52919 (exit $ac_status); }; }; then
52920 eval "$as_ac_var=yes"
52921 else
52922 echo "$as_me: failed program was:" >&5
52923 sed 's/^/| /' conftest.$ac_ext >&5
52925 eval "$as_ac_var=no"
52927 rm -f conftest.err conftest.$ac_objext \
52928 conftest$ac_exeext conftest.$ac_ext
52930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52932 if test `eval echo '${'$as_ac_var'}'` = yes; then
52933 cat >>confdefs.h <<_ACEOF
52934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52935 _ACEOF
52938 done
52940 else
52942 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52943 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52944 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52945 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52946 echo $ECHO_N "(cached) $ECHO_C" >&6
52947 else
52951 ac_ext=cc
52952 ac_cpp='$CXXCPP $CPPFLAGS'
52953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
52965 main ()
52967 _sincosf(0, 0, 0);
52969 return 0;
52971 _ACEOF
52972 rm -f conftest.$ac_objext
52973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52974 (eval $ac_compile) 2>conftest.er1
52975 ac_status=$?
52976 grep -v '^ *+' conftest.er1 >conftest.err
52977 rm -f conftest.er1
52978 cat conftest.err >&5
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); } &&
52981 { ac_try='test -z "$ac_cxx_werror_flag"
52982 || test ! -s conftest.err'
52983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52984 (eval $ac_try) 2>&5
52985 ac_status=$?
52986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52987 (exit $ac_status); }; } &&
52988 { ac_try='test -s conftest.$ac_objext'
52989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52990 (eval $ac_try) 2>&5
52991 ac_status=$?
52992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52993 (exit $ac_status); }; }; then
52994 glibcxx_cv_func__sincosf_use=yes
52995 else
52996 echo "$as_me: failed program was:" >&5
52997 sed 's/^/| /' conftest.$ac_ext >&5
52999 glibcxx_cv_func__sincosf_use=no
53001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53002 ac_ext=c
53003 ac_cpp='$CPP $CPPFLAGS'
53004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53013 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53015 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53017 for ac_func in _sincosf
53019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53020 echo "$as_me:$LINENO: checking for $ac_func" >&5
53021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53022 if eval "test \"\${$as_ac_var+set}\" = set"; then
53023 echo $ECHO_N "(cached) $ECHO_C" >&6
53024 else
53025 if test x$gcc_no_link = xyes; then
53026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53028 { (exit 1); exit 1; }; }
53030 cat >conftest.$ac_ext <<_ACEOF
53031 /* confdefs.h. */
53032 _ACEOF
53033 cat confdefs.h >>conftest.$ac_ext
53034 cat >>conftest.$ac_ext <<_ACEOF
53035 /* end confdefs.h. */
53036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53038 #define $ac_func innocuous_$ac_func
53040 /* System header to define __stub macros and hopefully few prototypes,
53041 which can conflict with char $ac_func (); below.
53042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53043 <limits.h> exists even on freestanding compilers. */
53045 #ifdef __STDC__
53046 # include <limits.h>
53047 #else
53048 # include <assert.h>
53049 #endif
53051 #undef $ac_func
53053 /* Override any gcc2 internal prototype to avoid an error. */
53054 #ifdef __cplusplus
53055 extern "C"
53057 #endif
53058 /* We use char because int might match the return type of a gcc2
53059 builtin and then its argument prototype would still apply. */
53060 char $ac_func ();
53061 /* The GNU C library defines this for functions which it implements
53062 to always fail with ENOSYS. Some functions are actually named
53063 something starting with __ and the normal name is an alias. */
53064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53065 choke me
53066 #else
53067 char (*f) () = $ac_func;
53068 #endif
53069 #ifdef __cplusplus
53071 #endif
53074 main ()
53076 return f != $ac_func;
53078 return 0;
53080 _ACEOF
53081 rm -f conftest.$ac_objext conftest$ac_exeext
53082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53083 (eval $ac_link) 2>conftest.er1
53084 ac_status=$?
53085 grep -v '^ *+' conftest.er1 >conftest.err
53086 rm -f conftest.er1
53087 cat conftest.err >&5
53088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53089 (exit $ac_status); } &&
53090 { ac_try='test -z "$ac_c_werror_flag"
53091 || test ! -s conftest.err'
53092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53093 (eval $ac_try) 2>&5
53094 ac_status=$?
53095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53096 (exit $ac_status); }; } &&
53097 { ac_try='test -s conftest$ac_exeext'
53098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53099 (eval $ac_try) 2>&5
53100 ac_status=$?
53101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53102 (exit $ac_status); }; }; then
53103 eval "$as_ac_var=yes"
53104 else
53105 echo "$as_me: failed program was:" >&5
53106 sed 's/^/| /' conftest.$ac_ext >&5
53108 eval "$as_ac_var=no"
53110 rm -f conftest.err conftest.$ac_objext \
53111 conftest$ac_exeext conftest.$ac_ext
53113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53115 if test `eval echo '${'$as_ac_var'}'` = yes; then
53116 cat >>confdefs.h <<_ACEOF
53117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53118 _ACEOF
53121 done
53131 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53132 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53133 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53134 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53135 echo $ECHO_N "(cached) $ECHO_C" >&6
53136 else
53140 ac_ext=cc
53141 ac_cpp='$CXXCPP $CPPFLAGS'
53142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53146 cat >conftest.$ac_ext <<_ACEOF
53147 /* confdefs.h. */
53148 _ACEOF
53149 cat confdefs.h >>conftest.$ac_ext
53150 cat >>conftest.$ac_ext <<_ACEOF
53151 /* end confdefs.h. */
53152 #include <math.h>
53153 #ifdef HAVE_IEEEFP_H
53154 #include <ieeefp.h>
53155 #endif
53158 main ()
53160 finitef(0);
53162 return 0;
53164 _ACEOF
53165 rm -f conftest.$ac_objext
53166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53167 (eval $ac_compile) 2>conftest.er1
53168 ac_status=$?
53169 grep -v '^ *+' conftest.er1 >conftest.err
53170 rm -f conftest.er1
53171 cat conftest.err >&5
53172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53173 (exit $ac_status); } &&
53174 { ac_try='test -z "$ac_cxx_werror_flag"
53175 || test ! -s conftest.err'
53176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53177 (eval $ac_try) 2>&5
53178 ac_status=$?
53179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53180 (exit $ac_status); }; } &&
53181 { ac_try='test -s conftest.$ac_objext'
53182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53183 (eval $ac_try) 2>&5
53184 ac_status=$?
53185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53186 (exit $ac_status); }; }; then
53187 glibcxx_cv_func_finitef_use=yes
53188 else
53189 echo "$as_me: failed program was:" >&5
53190 sed 's/^/| /' conftest.$ac_ext >&5
53192 glibcxx_cv_func_finitef_use=no
53194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53195 ac_ext=c
53196 ac_cpp='$CPP $CPPFLAGS'
53197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53206 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53208 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53210 for ac_func in finitef
53212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53213 echo "$as_me:$LINENO: checking for $ac_func" >&5
53214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53215 if eval "test \"\${$as_ac_var+set}\" = set"; then
53216 echo $ECHO_N "(cached) $ECHO_C" >&6
53217 else
53218 if test x$gcc_no_link = xyes; then
53219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53221 { (exit 1); exit 1; }; }
53223 cat >conftest.$ac_ext <<_ACEOF
53224 /* confdefs.h. */
53225 _ACEOF
53226 cat confdefs.h >>conftest.$ac_ext
53227 cat >>conftest.$ac_ext <<_ACEOF
53228 /* end confdefs.h. */
53229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53231 #define $ac_func innocuous_$ac_func
53233 /* System header to define __stub macros and hopefully few prototypes,
53234 which can conflict with char $ac_func (); below.
53235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53236 <limits.h> exists even on freestanding compilers. */
53238 #ifdef __STDC__
53239 # include <limits.h>
53240 #else
53241 # include <assert.h>
53242 #endif
53244 #undef $ac_func
53246 /* Override any gcc2 internal prototype to avoid an error. */
53247 #ifdef __cplusplus
53248 extern "C"
53250 #endif
53251 /* We use char because int might match the return type of a gcc2
53252 builtin and then its argument prototype would still apply. */
53253 char $ac_func ();
53254 /* The GNU C library defines this for functions which it implements
53255 to always fail with ENOSYS. Some functions are actually named
53256 something starting with __ and the normal name is an alias. */
53257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53258 choke me
53259 #else
53260 char (*f) () = $ac_func;
53261 #endif
53262 #ifdef __cplusplus
53264 #endif
53267 main ()
53269 return f != $ac_func;
53271 return 0;
53273 _ACEOF
53274 rm -f conftest.$ac_objext conftest$ac_exeext
53275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53276 (eval $ac_link) 2>conftest.er1
53277 ac_status=$?
53278 grep -v '^ *+' conftest.er1 >conftest.err
53279 rm -f conftest.er1
53280 cat conftest.err >&5
53281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53282 (exit $ac_status); } &&
53283 { ac_try='test -z "$ac_c_werror_flag"
53284 || test ! -s conftest.err'
53285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53286 (eval $ac_try) 2>&5
53287 ac_status=$?
53288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53289 (exit $ac_status); }; } &&
53290 { ac_try='test -s conftest$ac_exeext'
53291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53292 (eval $ac_try) 2>&5
53293 ac_status=$?
53294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53295 (exit $ac_status); }; }; then
53296 eval "$as_ac_var=yes"
53297 else
53298 echo "$as_me: failed program was:" >&5
53299 sed 's/^/| /' conftest.$ac_ext >&5
53301 eval "$as_ac_var=no"
53303 rm -f conftest.err conftest.$ac_objext \
53304 conftest$ac_exeext conftest.$ac_ext
53306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53308 if test `eval echo '${'$as_ac_var'}'` = yes; then
53309 cat >>confdefs.h <<_ACEOF
53310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53311 _ACEOF
53314 done
53316 else
53318 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53319 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53320 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53321 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53322 echo $ECHO_N "(cached) $ECHO_C" >&6
53323 else
53327 ac_ext=cc
53328 ac_cpp='$CXXCPP $CPPFLAGS'
53329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53333 cat >conftest.$ac_ext <<_ACEOF
53334 /* confdefs.h. */
53335 _ACEOF
53336 cat confdefs.h >>conftest.$ac_ext
53337 cat >>conftest.$ac_ext <<_ACEOF
53338 /* end confdefs.h. */
53339 #include <math.h>
53340 #ifdef HAVE_IEEEFP_H
53341 #include <ieeefp.h>
53342 #endif
53345 main ()
53347 _finitef(0);
53349 return 0;
53351 _ACEOF
53352 rm -f conftest.$ac_objext
53353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53354 (eval $ac_compile) 2>conftest.er1
53355 ac_status=$?
53356 grep -v '^ *+' conftest.er1 >conftest.err
53357 rm -f conftest.er1
53358 cat conftest.err >&5
53359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53360 (exit $ac_status); } &&
53361 { ac_try='test -z "$ac_cxx_werror_flag"
53362 || test ! -s conftest.err'
53363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53364 (eval $ac_try) 2>&5
53365 ac_status=$?
53366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53367 (exit $ac_status); }; } &&
53368 { ac_try='test -s conftest.$ac_objext'
53369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53370 (eval $ac_try) 2>&5
53371 ac_status=$?
53372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53373 (exit $ac_status); }; }; then
53374 glibcxx_cv_func__finitef_use=yes
53375 else
53376 echo "$as_me: failed program was:" >&5
53377 sed 's/^/| /' conftest.$ac_ext >&5
53379 glibcxx_cv_func__finitef_use=no
53381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53382 ac_ext=c
53383 ac_cpp='$CPP $CPPFLAGS'
53384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53393 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53395 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53397 for ac_func in _finitef
53399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53400 echo "$as_me:$LINENO: checking for $ac_func" >&5
53401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53402 if eval "test \"\${$as_ac_var+set}\" = set"; then
53403 echo $ECHO_N "(cached) $ECHO_C" >&6
53404 else
53405 if test x$gcc_no_link = xyes; then
53406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53408 { (exit 1); exit 1; }; }
53410 cat >conftest.$ac_ext <<_ACEOF
53411 /* confdefs.h. */
53412 _ACEOF
53413 cat confdefs.h >>conftest.$ac_ext
53414 cat >>conftest.$ac_ext <<_ACEOF
53415 /* end confdefs.h. */
53416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53418 #define $ac_func innocuous_$ac_func
53420 /* System header to define __stub macros and hopefully few prototypes,
53421 which can conflict with char $ac_func (); below.
53422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53423 <limits.h> exists even on freestanding compilers. */
53425 #ifdef __STDC__
53426 # include <limits.h>
53427 #else
53428 # include <assert.h>
53429 #endif
53431 #undef $ac_func
53433 /* Override any gcc2 internal prototype to avoid an error. */
53434 #ifdef __cplusplus
53435 extern "C"
53437 #endif
53438 /* We use char because int might match the return type of a gcc2
53439 builtin and then its argument prototype would still apply. */
53440 char $ac_func ();
53441 /* The GNU C library defines this for functions which it implements
53442 to always fail with ENOSYS. Some functions are actually named
53443 something starting with __ and the normal name is an alias. */
53444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53445 choke me
53446 #else
53447 char (*f) () = $ac_func;
53448 #endif
53449 #ifdef __cplusplus
53451 #endif
53454 main ()
53456 return f != $ac_func;
53458 return 0;
53460 _ACEOF
53461 rm -f conftest.$ac_objext conftest$ac_exeext
53462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53463 (eval $ac_link) 2>conftest.er1
53464 ac_status=$?
53465 grep -v '^ *+' conftest.er1 >conftest.err
53466 rm -f conftest.er1
53467 cat conftest.err >&5
53468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53469 (exit $ac_status); } &&
53470 { ac_try='test -z "$ac_c_werror_flag"
53471 || test ! -s conftest.err'
53472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53473 (eval $ac_try) 2>&5
53474 ac_status=$?
53475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53476 (exit $ac_status); }; } &&
53477 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
53483 eval "$as_ac_var=yes"
53484 else
53485 echo "$as_me: failed program was:" >&5
53486 sed 's/^/| /' conftest.$ac_ext >&5
53488 eval "$as_ac_var=no"
53490 rm -f conftest.err conftest.$ac_objext \
53491 conftest$ac_exeext conftest.$ac_ext
53493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53495 if test `eval echo '${'$as_ac_var'}'` = yes; then
53496 cat >>confdefs.h <<_ACEOF
53497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53498 _ACEOF
53501 done
53511 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53512 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53513 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53514 echo $ECHO_N "(cached) $ECHO_C" >&6
53515 else
53519 ac_ext=cc
53520 ac_cpp='$CXXCPP $CPPFLAGS'
53521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53525 cat >conftest.$ac_ext <<_ACEOF
53526 /* confdefs.h. */
53527 _ACEOF
53528 cat confdefs.h >>conftest.$ac_ext
53529 cat >>conftest.$ac_ext <<_ACEOF
53530 /* end confdefs.h. */
53531 #include <math.h>
53533 main ()
53535 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53537 return 0;
53539 _ACEOF
53540 rm -f conftest.$ac_objext
53541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53542 (eval $ac_compile) 2>conftest.er1
53543 ac_status=$?
53544 grep -v '^ *+' conftest.er1 >conftest.err
53545 rm -f conftest.er1
53546 cat conftest.err >&5
53547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53548 (exit $ac_status); } &&
53549 { ac_try='test -z "$ac_cxx_werror_flag"
53550 || test ! -s conftest.err'
53551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53552 (eval $ac_try) 2>&5
53553 ac_status=$?
53554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53555 (exit $ac_status); }; } &&
53556 { ac_try='test -s conftest.$ac_objext'
53557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53558 (eval $ac_try) 2>&5
53559 ac_status=$?
53560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53561 (exit $ac_status); }; }; then
53562 glibcxx_cv_func_long_double_trig_use=yes
53563 else
53564 echo "$as_me: failed program was:" >&5
53565 sed 's/^/| /' conftest.$ac_ext >&5
53567 glibcxx_cv_func_long_double_trig_use=no
53569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53570 ac_ext=c
53571 ac_cpp='$CPP $CPPFLAGS'
53572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53579 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53580 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53590 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53593 echo "$as_me:$LINENO: checking for $ac_func" >&5
53594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53595 if eval "test \"\${$as_ac_var+set}\" = set"; then
53596 echo $ECHO_N "(cached) $ECHO_C" >&6
53597 else
53598 if test x$gcc_no_link = xyes; then
53599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53601 { (exit 1); exit 1; }; }
53603 cat >conftest.$ac_ext <<_ACEOF
53604 /* confdefs.h. */
53605 _ACEOF
53606 cat confdefs.h >>conftest.$ac_ext
53607 cat >>conftest.$ac_ext <<_ACEOF
53608 /* end confdefs.h. */
53609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53611 #define $ac_func innocuous_$ac_func
53613 /* System header to define __stub macros and hopefully few prototypes,
53614 which can conflict with char $ac_func (); below.
53615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53616 <limits.h> exists even on freestanding compilers. */
53618 #ifdef __STDC__
53619 # include <limits.h>
53620 #else
53621 # include <assert.h>
53622 #endif
53624 #undef $ac_func
53626 /* Override any gcc2 internal prototype to avoid an error. */
53627 #ifdef __cplusplus
53628 extern "C"
53630 #endif
53631 /* We use char because int might match the return type of a gcc2
53632 builtin and then its argument prototype would still apply. */
53633 char $ac_func ();
53634 /* The GNU C library defines this for functions which it implements
53635 to always fail with ENOSYS. Some functions are actually named
53636 something starting with __ and the normal name is an alias. */
53637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53638 choke me
53639 #else
53640 char (*f) () = $ac_func;
53641 #endif
53642 #ifdef __cplusplus
53644 #endif
53647 main ()
53649 return f != $ac_func;
53651 return 0;
53653 _ACEOF
53654 rm -f conftest.$ac_objext conftest$ac_exeext
53655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53656 (eval $ac_link) 2>conftest.er1
53657 ac_status=$?
53658 grep -v '^ *+' conftest.er1 >conftest.err
53659 rm -f conftest.er1
53660 cat conftest.err >&5
53661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53662 (exit $ac_status); } &&
53663 { ac_try='test -z "$ac_c_werror_flag"
53664 || test ! -s conftest.err'
53665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53666 (eval $ac_try) 2>&5
53667 ac_status=$?
53668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53669 (exit $ac_status); }; } &&
53670 { ac_try='test -s conftest$ac_exeext'
53671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53672 (eval $ac_try) 2>&5
53673 ac_status=$?
53674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53675 (exit $ac_status); }; }; then
53676 eval "$as_ac_var=yes"
53677 else
53678 echo "$as_me: failed program was:" >&5
53679 sed 's/^/| /' conftest.$ac_ext >&5
53681 eval "$as_ac_var=no"
53683 rm -f conftest.err conftest.$ac_objext \
53684 conftest$ac_exeext conftest.$ac_ext
53686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53688 if test `eval echo '${'$as_ac_var'}'` = yes; then
53689 cat >>confdefs.h <<_ACEOF
53690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53691 _ACEOF
53694 done
53696 else
53697 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53698 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53699 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53700 echo $ECHO_N "(cached) $ECHO_C" >&6
53701 else
53705 ac_ext=cc
53706 ac_cpp='$CXXCPP $CPPFLAGS'
53707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53711 cat >conftest.$ac_ext <<_ACEOF
53712 /* confdefs.h. */
53713 _ACEOF
53714 cat confdefs.h >>conftest.$ac_ext
53715 cat >>conftest.$ac_ext <<_ACEOF
53716 /* end confdefs.h. */
53717 #include <math.h>
53719 main ()
53721 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53723 return 0;
53725 _ACEOF
53726 rm -f conftest.$ac_objext
53727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53728 (eval $ac_compile) 2>conftest.er1
53729 ac_status=$?
53730 grep -v '^ *+' conftest.er1 >conftest.err
53731 rm -f conftest.er1
53732 cat conftest.err >&5
53733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53734 (exit $ac_status); } &&
53735 { ac_try='test -z "$ac_cxx_werror_flag"
53736 || test ! -s conftest.err'
53737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53738 (eval $ac_try) 2>&5
53739 ac_status=$?
53740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53741 (exit $ac_status); }; } &&
53742 { ac_try='test -s conftest.$ac_objext'
53743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53744 (eval $ac_try) 2>&5
53745 ac_status=$?
53746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53747 (exit $ac_status); }; }; then
53748 glibcxx_cv_func__long_double_trig_use=yes
53749 else
53750 echo "$as_me: failed program was:" >&5
53751 sed 's/^/| /' conftest.$ac_ext >&5
53753 glibcxx_cv_func__long_double_trig_use=no
53755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53756 ac_ext=c
53757 ac_cpp='$CPP $CPPFLAGS'
53758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53765 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53766 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53776 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53779 echo "$as_me:$LINENO: checking for $ac_func" >&5
53780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53781 if eval "test \"\${$as_ac_var+set}\" = set"; then
53782 echo $ECHO_N "(cached) $ECHO_C" >&6
53783 else
53784 if test x$gcc_no_link = xyes; then
53785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53787 { (exit 1); exit 1; }; }
53789 cat >conftest.$ac_ext <<_ACEOF
53790 /* confdefs.h. */
53791 _ACEOF
53792 cat confdefs.h >>conftest.$ac_ext
53793 cat >>conftest.$ac_ext <<_ACEOF
53794 /* end confdefs.h. */
53795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53797 #define $ac_func innocuous_$ac_func
53799 /* System header to define __stub macros and hopefully few prototypes,
53800 which can conflict with char $ac_func (); below.
53801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53802 <limits.h> exists even on freestanding compilers. */
53804 #ifdef __STDC__
53805 # include <limits.h>
53806 #else
53807 # include <assert.h>
53808 #endif
53810 #undef $ac_func
53812 /* Override any gcc2 internal prototype to avoid an error. */
53813 #ifdef __cplusplus
53814 extern "C"
53816 #endif
53817 /* We use char because int might match the return type of a gcc2
53818 builtin and then its argument prototype would still apply. */
53819 char $ac_func ();
53820 /* The GNU C library defines this for functions which it implements
53821 to always fail with ENOSYS. Some functions are actually named
53822 something starting with __ and the normal name is an alias. */
53823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53824 choke me
53825 #else
53826 char (*f) () = $ac_func;
53827 #endif
53828 #ifdef __cplusplus
53830 #endif
53833 main ()
53835 return f != $ac_func;
53837 return 0;
53839 _ACEOF
53840 rm -f conftest.$ac_objext conftest$ac_exeext
53841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53842 (eval $ac_link) 2>conftest.er1
53843 ac_status=$?
53844 grep -v '^ *+' conftest.er1 >conftest.err
53845 rm -f conftest.er1
53846 cat conftest.err >&5
53847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53848 (exit $ac_status); } &&
53849 { ac_try='test -z "$ac_c_werror_flag"
53850 || test ! -s conftest.err'
53851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53852 (eval $ac_try) 2>&5
53853 ac_status=$?
53854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53855 (exit $ac_status); }; } &&
53856 { ac_try='test -s conftest$ac_exeext'
53857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53858 (eval $ac_try) 2>&5
53859 ac_status=$?
53860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53861 (exit $ac_status); }; }; then
53862 eval "$as_ac_var=yes"
53863 else
53864 echo "$as_me: failed program was:" >&5
53865 sed 's/^/| /' conftest.$ac_ext >&5
53867 eval "$as_ac_var=no"
53869 rm -f conftest.err conftest.$ac_objext \
53870 conftest$ac_exeext conftest.$ac_ext
53872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53874 if test `eval echo '${'$as_ac_var'}'` = yes; then
53875 cat >>confdefs.h <<_ACEOF
53876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53877 _ACEOF
53880 done
53898 echo "$as_me:$LINENO: checking for long double round functions" >&5
53899 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53900 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53901 echo $ECHO_N "(cached) $ECHO_C" >&6
53902 else
53906 ac_ext=cc
53907 ac_cpp='$CXXCPP $CPPFLAGS'
53908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53912 cat >conftest.$ac_ext <<_ACEOF
53913 /* confdefs.h. */
53914 _ACEOF
53915 cat confdefs.h >>conftest.$ac_ext
53916 cat >>conftest.$ac_ext <<_ACEOF
53917 /* end confdefs.h. */
53918 #include <math.h>
53920 main ()
53922 ceill (0); floorl (0);
53924 return 0;
53926 _ACEOF
53927 rm -f conftest.$ac_objext
53928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53929 (eval $ac_compile) 2>conftest.er1
53930 ac_status=$?
53931 grep -v '^ *+' conftest.er1 >conftest.err
53932 rm -f conftest.er1
53933 cat conftest.err >&5
53934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53935 (exit $ac_status); } &&
53936 { ac_try='test -z "$ac_cxx_werror_flag"
53937 || test ! -s conftest.err'
53938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53939 (eval $ac_try) 2>&5
53940 ac_status=$?
53941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53942 (exit $ac_status); }; } &&
53943 { ac_try='test -s conftest.$ac_objext'
53944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53945 (eval $ac_try) 2>&5
53946 ac_status=$?
53947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53948 (exit $ac_status); }; }; then
53949 glibcxx_cv_func_long_double_round_use=yes
53950 else
53951 echo "$as_me: failed program was:" >&5
53952 sed 's/^/| /' conftest.$ac_ext >&5
53954 glibcxx_cv_func_long_double_round_use=no
53956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53957 ac_ext=c
53958 ac_cpp='$CPP $CPPFLAGS'
53959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53966 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53967 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53970 for ac_func in ceill floorl
53972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53973 echo "$as_me:$LINENO: checking for $ac_func" >&5
53974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53975 if eval "test \"\${$as_ac_var+set}\" = set"; then
53976 echo $ECHO_N "(cached) $ECHO_C" >&6
53977 else
53978 if test x$gcc_no_link = xyes; then
53979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53981 { (exit 1); exit 1; }; }
53983 cat >conftest.$ac_ext <<_ACEOF
53984 /* confdefs.h. */
53985 _ACEOF
53986 cat confdefs.h >>conftest.$ac_ext
53987 cat >>conftest.$ac_ext <<_ACEOF
53988 /* end confdefs.h. */
53989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53991 #define $ac_func innocuous_$ac_func
53993 /* System header to define __stub macros and hopefully few prototypes,
53994 which can conflict with char $ac_func (); below.
53995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53996 <limits.h> exists even on freestanding compilers. */
53998 #ifdef __STDC__
53999 # include <limits.h>
54000 #else
54001 # include <assert.h>
54002 #endif
54004 #undef $ac_func
54006 /* Override any gcc2 internal prototype to avoid an error. */
54007 #ifdef __cplusplus
54008 extern "C"
54010 #endif
54011 /* We use char because int might match the return type of a gcc2
54012 builtin and then its argument prototype would still apply. */
54013 char $ac_func ();
54014 /* The GNU C library defines this for functions which it implements
54015 to always fail with ENOSYS. Some functions are actually named
54016 something starting with __ and the normal name is an alias. */
54017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54018 choke me
54019 #else
54020 char (*f) () = $ac_func;
54021 #endif
54022 #ifdef __cplusplus
54024 #endif
54027 main ()
54029 return f != $ac_func;
54031 return 0;
54033 _ACEOF
54034 rm -f conftest.$ac_objext conftest$ac_exeext
54035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54036 (eval $ac_link) 2>conftest.er1
54037 ac_status=$?
54038 grep -v '^ *+' conftest.er1 >conftest.err
54039 rm -f conftest.er1
54040 cat conftest.err >&5
54041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54042 (exit $ac_status); } &&
54043 { ac_try='test -z "$ac_c_werror_flag"
54044 || test ! -s conftest.err'
54045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54046 (eval $ac_try) 2>&5
54047 ac_status=$?
54048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54049 (exit $ac_status); }; } &&
54050 { ac_try='test -s conftest$ac_exeext'
54051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54052 (eval $ac_try) 2>&5
54053 ac_status=$?
54054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54055 (exit $ac_status); }; }; then
54056 eval "$as_ac_var=yes"
54057 else
54058 echo "$as_me: failed program was:" >&5
54059 sed 's/^/| /' conftest.$ac_ext >&5
54061 eval "$as_ac_var=no"
54063 rm -f conftest.err conftest.$ac_objext \
54064 conftest$ac_exeext conftest.$ac_ext
54066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54068 if test `eval echo '${'$as_ac_var'}'` = yes; then
54069 cat >>confdefs.h <<_ACEOF
54070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54071 _ACEOF
54074 done
54076 else
54077 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54078 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54079 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54080 echo $ECHO_N "(cached) $ECHO_C" >&6
54081 else
54085 ac_ext=cc
54086 ac_cpp='$CXXCPP $CPPFLAGS'
54087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54091 cat >conftest.$ac_ext <<_ACEOF
54092 /* confdefs.h. */
54093 _ACEOF
54094 cat confdefs.h >>conftest.$ac_ext
54095 cat >>conftest.$ac_ext <<_ACEOF
54096 /* end confdefs.h. */
54097 #include <math.h>
54099 main ()
54101 _ceill (0); _floorl (0);
54103 return 0;
54105 _ACEOF
54106 rm -f conftest.$ac_objext
54107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54108 (eval $ac_compile) 2>conftest.er1
54109 ac_status=$?
54110 grep -v '^ *+' conftest.er1 >conftest.err
54111 rm -f conftest.er1
54112 cat conftest.err >&5
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); } &&
54115 { ac_try='test -z "$ac_cxx_werror_flag"
54116 || test ! -s conftest.err'
54117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54118 (eval $ac_try) 2>&5
54119 ac_status=$?
54120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54121 (exit $ac_status); }; } &&
54122 { ac_try='test -s conftest.$ac_objext'
54123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54124 (eval $ac_try) 2>&5
54125 ac_status=$?
54126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54127 (exit $ac_status); }; }; then
54128 glibcxx_cv_func__long_double_round_use=yes
54129 else
54130 echo "$as_me: failed program was:" >&5
54131 sed 's/^/| /' conftest.$ac_ext >&5
54133 glibcxx_cv_func__long_double_round_use=no
54135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54136 ac_ext=c
54137 ac_cpp='$CPP $CPPFLAGS'
54138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54145 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54146 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54149 for ac_func in _ceill _floorl
54151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54152 echo "$as_me:$LINENO: checking for $ac_func" >&5
54153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54154 if eval "test \"\${$as_ac_var+set}\" = set"; then
54155 echo $ECHO_N "(cached) $ECHO_C" >&6
54156 else
54157 if test x$gcc_no_link = xyes; then
54158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54160 { (exit 1); exit 1; }; }
54162 cat >conftest.$ac_ext <<_ACEOF
54163 /* confdefs.h. */
54164 _ACEOF
54165 cat confdefs.h >>conftest.$ac_ext
54166 cat >>conftest.$ac_ext <<_ACEOF
54167 /* end confdefs.h. */
54168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54170 #define $ac_func innocuous_$ac_func
54172 /* System header to define __stub macros and hopefully few prototypes,
54173 which can conflict with char $ac_func (); below.
54174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54175 <limits.h> exists even on freestanding compilers. */
54177 #ifdef __STDC__
54178 # include <limits.h>
54179 #else
54180 # include <assert.h>
54181 #endif
54183 #undef $ac_func
54185 /* Override any gcc2 internal prototype to avoid an error. */
54186 #ifdef __cplusplus
54187 extern "C"
54189 #endif
54190 /* We use char because int might match the return type of a gcc2
54191 builtin and then its argument prototype would still apply. */
54192 char $ac_func ();
54193 /* The GNU C library defines this for functions which it implements
54194 to always fail with ENOSYS. Some functions are actually named
54195 something starting with __ and the normal name is an alias. */
54196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54197 choke me
54198 #else
54199 char (*f) () = $ac_func;
54200 #endif
54201 #ifdef __cplusplus
54203 #endif
54206 main ()
54208 return f != $ac_func;
54210 return 0;
54212 _ACEOF
54213 rm -f conftest.$ac_objext conftest$ac_exeext
54214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54215 (eval $ac_link) 2>conftest.er1
54216 ac_status=$?
54217 grep -v '^ *+' conftest.er1 >conftest.err
54218 rm -f conftest.er1
54219 cat conftest.err >&5
54220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54221 (exit $ac_status); } &&
54222 { ac_try='test -z "$ac_c_werror_flag"
54223 || test ! -s conftest.err'
54224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54225 (eval $ac_try) 2>&5
54226 ac_status=$?
54227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54228 (exit $ac_status); }; } &&
54229 { ac_try='test -s conftest$ac_exeext'
54230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54231 (eval $ac_try) 2>&5
54232 ac_status=$?
54233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54234 (exit $ac_status); }; }; then
54235 eval "$as_ac_var=yes"
54236 else
54237 echo "$as_me: failed program was:" >&5
54238 sed 's/^/| /' conftest.$ac_ext >&5
54240 eval "$as_ac_var=no"
54242 rm -f conftest.err conftest.$ac_objext \
54243 conftest$ac_exeext conftest.$ac_ext
54245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54247 if test `eval echo '${'$as_ac_var'}'` = yes; then
54248 cat >>confdefs.h <<_ACEOF
54249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54250 _ACEOF
54253 done
54265 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54266 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54267 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54268 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54269 echo $ECHO_N "(cached) $ECHO_C" >&6
54270 else
54274 ac_ext=cc
54275 ac_cpp='$CXXCPP $CPPFLAGS'
54276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54280 cat >conftest.$ac_ext <<_ACEOF
54281 /* confdefs.h. */
54282 _ACEOF
54283 cat confdefs.h >>conftest.$ac_ext
54284 cat >>conftest.$ac_ext <<_ACEOF
54285 /* end confdefs.h. */
54286 #include <math.h>
54287 #ifdef HAVE_IEEEFP_H
54288 #include <ieeefp.h>
54289 #endif
54292 main ()
54294 isnanl(0);
54296 return 0;
54298 _ACEOF
54299 rm -f conftest.$ac_objext
54300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54301 (eval $ac_compile) 2>conftest.er1
54302 ac_status=$?
54303 grep -v '^ *+' conftest.er1 >conftest.err
54304 rm -f conftest.er1
54305 cat conftest.err >&5
54306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54307 (exit $ac_status); } &&
54308 { ac_try='test -z "$ac_cxx_werror_flag"
54309 || test ! -s conftest.err'
54310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54311 (eval $ac_try) 2>&5
54312 ac_status=$?
54313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54314 (exit $ac_status); }; } &&
54315 { ac_try='test -s conftest.$ac_objext'
54316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54317 (eval $ac_try) 2>&5
54318 ac_status=$?
54319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54320 (exit $ac_status); }; }; then
54321 glibcxx_cv_func_isnanl_use=yes
54322 else
54323 echo "$as_me: failed program was:" >&5
54324 sed 's/^/| /' conftest.$ac_ext >&5
54326 glibcxx_cv_func_isnanl_use=no
54328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54329 ac_ext=c
54330 ac_cpp='$CPP $CPPFLAGS'
54331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54340 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54342 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54344 for ac_func in isnanl
54346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54347 echo "$as_me:$LINENO: checking for $ac_func" >&5
54348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54349 if eval "test \"\${$as_ac_var+set}\" = set"; then
54350 echo $ECHO_N "(cached) $ECHO_C" >&6
54351 else
54352 if test x$gcc_no_link = xyes; then
54353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54355 { (exit 1); exit 1; }; }
54357 cat >conftest.$ac_ext <<_ACEOF
54358 /* confdefs.h. */
54359 _ACEOF
54360 cat confdefs.h >>conftest.$ac_ext
54361 cat >>conftest.$ac_ext <<_ACEOF
54362 /* end confdefs.h. */
54363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54365 #define $ac_func innocuous_$ac_func
54367 /* System header to define __stub macros and hopefully few prototypes,
54368 which can conflict with char $ac_func (); below.
54369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54370 <limits.h> exists even on freestanding compilers. */
54372 #ifdef __STDC__
54373 # include <limits.h>
54374 #else
54375 # include <assert.h>
54376 #endif
54378 #undef $ac_func
54380 /* Override any gcc2 internal prototype to avoid an error. */
54381 #ifdef __cplusplus
54382 extern "C"
54384 #endif
54385 /* We use char because int might match the return type of a gcc2
54386 builtin and then its argument prototype would still apply. */
54387 char $ac_func ();
54388 /* The GNU C library defines this for functions which it implements
54389 to always fail with ENOSYS. Some functions are actually named
54390 something starting with __ and the normal name is an alias. */
54391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54392 choke me
54393 #else
54394 char (*f) () = $ac_func;
54395 #endif
54396 #ifdef __cplusplus
54398 #endif
54401 main ()
54403 return f != $ac_func;
54405 return 0;
54407 _ACEOF
54408 rm -f conftest.$ac_objext conftest$ac_exeext
54409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54410 (eval $ac_link) 2>conftest.er1
54411 ac_status=$?
54412 grep -v '^ *+' conftest.er1 >conftest.err
54413 rm -f conftest.er1
54414 cat conftest.err >&5
54415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54416 (exit $ac_status); } &&
54417 { ac_try='test -z "$ac_c_werror_flag"
54418 || test ! -s conftest.err'
54419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54420 (eval $ac_try) 2>&5
54421 ac_status=$?
54422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54423 (exit $ac_status); }; } &&
54424 { ac_try='test -s conftest$ac_exeext'
54425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54426 (eval $ac_try) 2>&5
54427 ac_status=$?
54428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54429 (exit $ac_status); }; }; then
54430 eval "$as_ac_var=yes"
54431 else
54432 echo "$as_me: failed program was:" >&5
54433 sed 's/^/| /' conftest.$ac_ext >&5
54435 eval "$as_ac_var=no"
54437 rm -f conftest.err conftest.$ac_objext \
54438 conftest$ac_exeext conftest.$ac_ext
54440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54442 if test `eval echo '${'$as_ac_var'}'` = yes; then
54443 cat >>confdefs.h <<_ACEOF
54444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54445 _ACEOF
54448 done
54450 else
54452 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54453 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54454 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54455 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54456 echo $ECHO_N "(cached) $ECHO_C" >&6
54457 else
54461 ac_ext=cc
54462 ac_cpp='$CXXCPP $CPPFLAGS'
54463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54467 cat >conftest.$ac_ext <<_ACEOF
54468 /* confdefs.h. */
54469 _ACEOF
54470 cat confdefs.h >>conftest.$ac_ext
54471 cat >>conftest.$ac_ext <<_ACEOF
54472 /* end confdefs.h. */
54473 #include <math.h>
54474 #ifdef HAVE_IEEEFP_H
54475 #include <ieeefp.h>
54476 #endif
54479 main ()
54481 _isnanl(0);
54483 return 0;
54485 _ACEOF
54486 rm -f conftest.$ac_objext
54487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54488 (eval $ac_compile) 2>conftest.er1
54489 ac_status=$?
54490 grep -v '^ *+' conftest.er1 >conftest.err
54491 rm -f conftest.er1
54492 cat conftest.err >&5
54493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54494 (exit $ac_status); } &&
54495 { ac_try='test -z "$ac_cxx_werror_flag"
54496 || test ! -s conftest.err'
54497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54498 (eval $ac_try) 2>&5
54499 ac_status=$?
54500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54501 (exit $ac_status); }; } &&
54502 { ac_try='test -s conftest.$ac_objext'
54503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54504 (eval $ac_try) 2>&5
54505 ac_status=$?
54506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54507 (exit $ac_status); }; }; then
54508 glibcxx_cv_func__isnanl_use=yes
54509 else
54510 echo "$as_me: failed program was:" >&5
54511 sed 's/^/| /' conftest.$ac_ext >&5
54513 glibcxx_cv_func__isnanl_use=no
54515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54516 ac_ext=c
54517 ac_cpp='$CPP $CPPFLAGS'
54518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54527 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54529 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54531 for ac_func in _isnanl
54533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54534 echo "$as_me:$LINENO: checking for $ac_func" >&5
54535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54536 if eval "test \"\${$as_ac_var+set}\" = set"; then
54537 echo $ECHO_N "(cached) $ECHO_C" >&6
54538 else
54539 if test x$gcc_no_link = xyes; then
54540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54542 { (exit 1); exit 1; }; }
54544 cat >conftest.$ac_ext <<_ACEOF
54545 /* confdefs.h. */
54546 _ACEOF
54547 cat confdefs.h >>conftest.$ac_ext
54548 cat >>conftest.$ac_ext <<_ACEOF
54549 /* end confdefs.h. */
54550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54552 #define $ac_func innocuous_$ac_func
54554 /* System header to define __stub macros and hopefully few prototypes,
54555 which can conflict with char $ac_func (); below.
54556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54557 <limits.h> exists even on freestanding compilers. */
54559 #ifdef __STDC__
54560 # include <limits.h>
54561 #else
54562 # include <assert.h>
54563 #endif
54565 #undef $ac_func
54567 /* Override any gcc2 internal prototype to avoid an error. */
54568 #ifdef __cplusplus
54569 extern "C"
54571 #endif
54572 /* We use char because int might match the return type of a gcc2
54573 builtin and then its argument prototype would still apply. */
54574 char $ac_func ();
54575 /* The GNU C library defines this for functions which it implements
54576 to always fail with ENOSYS. Some functions are actually named
54577 something starting with __ and the normal name is an alias. */
54578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54579 choke me
54580 #else
54581 char (*f) () = $ac_func;
54582 #endif
54583 #ifdef __cplusplus
54585 #endif
54588 main ()
54590 return f != $ac_func;
54592 return 0;
54594 _ACEOF
54595 rm -f conftest.$ac_objext conftest$ac_exeext
54596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54597 (eval $ac_link) 2>conftest.er1
54598 ac_status=$?
54599 grep -v '^ *+' conftest.er1 >conftest.err
54600 rm -f conftest.er1
54601 cat conftest.err >&5
54602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54603 (exit $ac_status); } &&
54604 { ac_try='test -z "$ac_c_werror_flag"
54605 || test ! -s conftest.err'
54606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54607 (eval $ac_try) 2>&5
54608 ac_status=$?
54609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54610 (exit $ac_status); }; } &&
54611 { ac_try='test -s conftest$ac_exeext'
54612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54613 (eval $ac_try) 2>&5
54614 ac_status=$?
54615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54616 (exit $ac_status); }; }; then
54617 eval "$as_ac_var=yes"
54618 else
54619 echo "$as_me: failed program was:" >&5
54620 sed 's/^/| /' conftest.$ac_ext >&5
54622 eval "$as_ac_var=no"
54624 rm -f conftest.err conftest.$ac_objext \
54625 conftest$ac_exeext conftest.$ac_ext
54627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54629 if test `eval echo '${'$as_ac_var'}'` = yes; then
54630 cat >>confdefs.h <<_ACEOF
54631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54632 _ACEOF
54635 done
54645 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54646 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54647 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54648 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54649 echo $ECHO_N "(cached) $ECHO_C" >&6
54650 else
54654 ac_ext=cc
54655 ac_cpp='$CXXCPP $CPPFLAGS'
54656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54660 cat >conftest.$ac_ext <<_ACEOF
54661 /* confdefs.h. */
54662 _ACEOF
54663 cat confdefs.h >>conftest.$ac_ext
54664 cat >>conftest.$ac_ext <<_ACEOF
54665 /* end confdefs.h. */
54666 #include <math.h>
54667 #ifdef HAVE_IEEEFP_H
54668 #include <ieeefp.h>
54669 #endif
54672 main ()
54674 isinfl(0);
54676 return 0;
54678 _ACEOF
54679 rm -f conftest.$ac_objext
54680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54681 (eval $ac_compile) 2>conftest.er1
54682 ac_status=$?
54683 grep -v '^ *+' conftest.er1 >conftest.err
54684 rm -f conftest.er1
54685 cat conftest.err >&5
54686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54687 (exit $ac_status); } &&
54688 { ac_try='test -z "$ac_cxx_werror_flag"
54689 || test ! -s conftest.err'
54690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54691 (eval $ac_try) 2>&5
54692 ac_status=$?
54693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54694 (exit $ac_status); }; } &&
54695 { ac_try='test -s conftest.$ac_objext'
54696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54697 (eval $ac_try) 2>&5
54698 ac_status=$?
54699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54700 (exit $ac_status); }; }; then
54701 glibcxx_cv_func_isinfl_use=yes
54702 else
54703 echo "$as_me: failed program was:" >&5
54704 sed 's/^/| /' conftest.$ac_ext >&5
54706 glibcxx_cv_func_isinfl_use=no
54708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54709 ac_ext=c
54710 ac_cpp='$CPP $CPPFLAGS'
54711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54720 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54722 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54724 for ac_func in isinfl
54726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54727 echo "$as_me:$LINENO: checking for $ac_func" >&5
54728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54729 if eval "test \"\${$as_ac_var+set}\" = set"; then
54730 echo $ECHO_N "(cached) $ECHO_C" >&6
54731 else
54732 if test x$gcc_no_link = xyes; then
54733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54735 { (exit 1); exit 1; }; }
54737 cat >conftest.$ac_ext <<_ACEOF
54738 /* confdefs.h. */
54739 _ACEOF
54740 cat confdefs.h >>conftest.$ac_ext
54741 cat >>conftest.$ac_ext <<_ACEOF
54742 /* end confdefs.h. */
54743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54745 #define $ac_func innocuous_$ac_func
54747 /* System header to define __stub macros and hopefully few prototypes,
54748 which can conflict with char $ac_func (); below.
54749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54750 <limits.h> exists even on freestanding compilers. */
54752 #ifdef __STDC__
54753 # include <limits.h>
54754 #else
54755 # include <assert.h>
54756 #endif
54758 #undef $ac_func
54760 /* Override any gcc2 internal prototype to avoid an error. */
54761 #ifdef __cplusplus
54762 extern "C"
54764 #endif
54765 /* We use char because int might match the return type of a gcc2
54766 builtin and then its argument prototype would still apply. */
54767 char $ac_func ();
54768 /* The GNU C library defines this for functions which it implements
54769 to always fail with ENOSYS. Some functions are actually named
54770 something starting with __ and the normal name is an alias. */
54771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54772 choke me
54773 #else
54774 char (*f) () = $ac_func;
54775 #endif
54776 #ifdef __cplusplus
54778 #endif
54781 main ()
54783 return f != $ac_func;
54785 return 0;
54787 _ACEOF
54788 rm -f conftest.$ac_objext conftest$ac_exeext
54789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54790 (eval $ac_link) 2>conftest.er1
54791 ac_status=$?
54792 grep -v '^ *+' conftest.er1 >conftest.err
54793 rm -f conftest.er1
54794 cat conftest.err >&5
54795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54796 (exit $ac_status); } &&
54797 { ac_try='test -z "$ac_c_werror_flag"
54798 || test ! -s conftest.err'
54799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54800 (eval $ac_try) 2>&5
54801 ac_status=$?
54802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54803 (exit $ac_status); }; } &&
54804 { ac_try='test -s conftest$ac_exeext'
54805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54806 (eval $ac_try) 2>&5
54807 ac_status=$?
54808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54809 (exit $ac_status); }; }; then
54810 eval "$as_ac_var=yes"
54811 else
54812 echo "$as_me: failed program was:" >&5
54813 sed 's/^/| /' conftest.$ac_ext >&5
54815 eval "$as_ac_var=no"
54817 rm -f conftest.err conftest.$ac_objext \
54818 conftest$ac_exeext conftest.$ac_ext
54820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54822 if test `eval echo '${'$as_ac_var'}'` = yes; then
54823 cat >>confdefs.h <<_ACEOF
54824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54825 _ACEOF
54828 done
54830 else
54832 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54833 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54834 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54835 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54836 echo $ECHO_N "(cached) $ECHO_C" >&6
54837 else
54841 ac_ext=cc
54842 ac_cpp='$CXXCPP $CPPFLAGS'
54843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54847 cat >conftest.$ac_ext <<_ACEOF
54848 /* confdefs.h. */
54849 _ACEOF
54850 cat confdefs.h >>conftest.$ac_ext
54851 cat >>conftest.$ac_ext <<_ACEOF
54852 /* end confdefs.h. */
54853 #include <math.h>
54854 #ifdef HAVE_IEEEFP_H
54855 #include <ieeefp.h>
54856 #endif
54859 main ()
54861 _isinfl(0);
54863 return 0;
54865 _ACEOF
54866 rm -f conftest.$ac_objext
54867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54868 (eval $ac_compile) 2>conftest.er1
54869 ac_status=$?
54870 grep -v '^ *+' conftest.er1 >conftest.err
54871 rm -f conftest.er1
54872 cat conftest.err >&5
54873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54874 (exit $ac_status); } &&
54875 { ac_try='test -z "$ac_cxx_werror_flag"
54876 || test ! -s conftest.err'
54877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54878 (eval $ac_try) 2>&5
54879 ac_status=$?
54880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54881 (exit $ac_status); }; } &&
54882 { ac_try='test -s conftest.$ac_objext'
54883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54884 (eval $ac_try) 2>&5
54885 ac_status=$?
54886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54887 (exit $ac_status); }; }; then
54888 glibcxx_cv_func__isinfl_use=yes
54889 else
54890 echo "$as_me: failed program was:" >&5
54891 sed 's/^/| /' conftest.$ac_ext >&5
54893 glibcxx_cv_func__isinfl_use=no
54895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54896 ac_ext=c
54897 ac_cpp='$CPP $CPPFLAGS'
54898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54907 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54909 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54911 for ac_func in _isinfl
54913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54914 echo "$as_me:$LINENO: checking for $ac_func" >&5
54915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54916 if eval "test \"\${$as_ac_var+set}\" = set"; then
54917 echo $ECHO_N "(cached) $ECHO_C" >&6
54918 else
54919 if test x$gcc_no_link = xyes; then
54920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54922 { (exit 1); exit 1; }; }
54924 cat >conftest.$ac_ext <<_ACEOF
54925 /* confdefs.h. */
54926 _ACEOF
54927 cat confdefs.h >>conftest.$ac_ext
54928 cat >>conftest.$ac_ext <<_ACEOF
54929 /* end confdefs.h. */
54930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54932 #define $ac_func innocuous_$ac_func
54934 /* System header to define __stub macros and hopefully few prototypes,
54935 which can conflict with char $ac_func (); below.
54936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54937 <limits.h> exists even on freestanding compilers. */
54939 #ifdef __STDC__
54940 # include <limits.h>
54941 #else
54942 # include <assert.h>
54943 #endif
54945 #undef $ac_func
54947 /* Override any gcc2 internal prototype to avoid an error. */
54948 #ifdef __cplusplus
54949 extern "C"
54951 #endif
54952 /* We use char because int might match the return type of a gcc2
54953 builtin and then its argument prototype would still apply. */
54954 char $ac_func ();
54955 /* The GNU C library defines this for functions which it implements
54956 to always fail with ENOSYS. Some functions are actually named
54957 something starting with __ and the normal name is an alias. */
54958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54959 choke me
54960 #else
54961 char (*f) () = $ac_func;
54962 #endif
54963 #ifdef __cplusplus
54965 #endif
54968 main ()
54970 return f != $ac_func;
54972 return 0;
54974 _ACEOF
54975 rm -f conftest.$ac_objext conftest$ac_exeext
54976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54977 (eval $ac_link) 2>conftest.er1
54978 ac_status=$?
54979 grep -v '^ *+' conftest.er1 >conftest.err
54980 rm -f conftest.er1
54981 cat conftest.err >&5
54982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54983 (exit $ac_status); } &&
54984 { ac_try='test -z "$ac_c_werror_flag"
54985 || test ! -s conftest.err'
54986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54987 (eval $ac_try) 2>&5
54988 ac_status=$?
54989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54990 (exit $ac_status); }; } &&
54991 { ac_try='test -s conftest$ac_exeext'
54992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54993 (eval $ac_try) 2>&5
54994 ac_status=$?
54995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54996 (exit $ac_status); }; }; then
54997 eval "$as_ac_var=yes"
54998 else
54999 echo "$as_me: failed program was:" >&5
55000 sed 's/^/| /' conftest.$ac_ext >&5
55002 eval "$as_ac_var=no"
55004 rm -f conftest.err conftest.$ac_objext \
55005 conftest$ac_exeext conftest.$ac_ext
55007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55009 if test `eval echo '${'$as_ac_var'}'` = yes; then
55010 cat >>confdefs.h <<_ACEOF
55011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55012 _ACEOF
55015 done
55025 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55026 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55027 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55028 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55029 echo $ECHO_N "(cached) $ECHO_C" >&6
55030 else
55034 ac_ext=cc
55035 ac_cpp='$CXXCPP $CPPFLAGS'
55036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
55048 main ()
55050 copysignl(0, 0);
55052 return 0;
55054 _ACEOF
55055 rm -f conftest.$ac_objext
55056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55057 (eval $ac_compile) 2>conftest.er1
55058 ac_status=$?
55059 grep -v '^ *+' conftest.er1 >conftest.err
55060 rm -f conftest.er1
55061 cat conftest.err >&5
55062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55063 (exit $ac_status); } &&
55064 { ac_try='test -z "$ac_cxx_werror_flag"
55065 || test ! -s conftest.err'
55066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55067 (eval $ac_try) 2>&5
55068 ac_status=$?
55069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55070 (exit $ac_status); }; } &&
55071 { ac_try='test -s conftest.$ac_objext'
55072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55073 (eval $ac_try) 2>&5
55074 ac_status=$?
55075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55076 (exit $ac_status); }; }; then
55077 glibcxx_cv_func_copysignl_use=yes
55078 else
55079 echo "$as_me: failed program was:" >&5
55080 sed 's/^/| /' conftest.$ac_ext >&5
55082 glibcxx_cv_func_copysignl_use=no
55084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55085 ac_ext=c
55086 ac_cpp='$CPP $CPPFLAGS'
55087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55096 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55098 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55100 for ac_func in copysignl
55102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55103 echo "$as_me:$LINENO: checking for $ac_func" >&5
55104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55105 if eval "test \"\${$as_ac_var+set}\" = set"; then
55106 echo $ECHO_N "(cached) $ECHO_C" >&6
55107 else
55108 if test x$gcc_no_link = xyes; then
55109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55111 { (exit 1); exit 1; }; }
55113 cat >conftest.$ac_ext <<_ACEOF
55114 /* confdefs.h. */
55115 _ACEOF
55116 cat confdefs.h >>conftest.$ac_ext
55117 cat >>conftest.$ac_ext <<_ACEOF
55118 /* end confdefs.h. */
55119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55121 #define $ac_func innocuous_$ac_func
55123 /* System header to define __stub macros and hopefully few prototypes,
55124 which can conflict with char $ac_func (); below.
55125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55126 <limits.h> exists even on freestanding compilers. */
55128 #ifdef __STDC__
55129 # include <limits.h>
55130 #else
55131 # include <assert.h>
55132 #endif
55134 #undef $ac_func
55136 /* Override any gcc2 internal prototype to avoid an error. */
55137 #ifdef __cplusplus
55138 extern "C"
55140 #endif
55141 /* We use char because int might match the return type of a gcc2
55142 builtin and then its argument prototype would still apply. */
55143 char $ac_func ();
55144 /* The GNU C library defines this for functions which it implements
55145 to always fail with ENOSYS. Some functions are actually named
55146 something starting with __ and the normal name is an alias. */
55147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55148 choke me
55149 #else
55150 char (*f) () = $ac_func;
55151 #endif
55152 #ifdef __cplusplus
55154 #endif
55157 main ()
55159 return f != $ac_func;
55161 return 0;
55163 _ACEOF
55164 rm -f conftest.$ac_objext conftest$ac_exeext
55165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55166 (eval $ac_link) 2>conftest.er1
55167 ac_status=$?
55168 grep -v '^ *+' conftest.er1 >conftest.err
55169 rm -f conftest.er1
55170 cat conftest.err >&5
55171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55172 (exit $ac_status); } &&
55173 { ac_try='test -z "$ac_c_werror_flag"
55174 || test ! -s conftest.err'
55175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55176 (eval $ac_try) 2>&5
55177 ac_status=$?
55178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55179 (exit $ac_status); }; } &&
55180 { ac_try='test -s conftest$ac_exeext'
55181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55182 (eval $ac_try) 2>&5
55183 ac_status=$?
55184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55185 (exit $ac_status); }; }; then
55186 eval "$as_ac_var=yes"
55187 else
55188 echo "$as_me: failed program was:" >&5
55189 sed 's/^/| /' conftest.$ac_ext >&5
55191 eval "$as_ac_var=no"
55193 rm -f conftest.err conftest.$ac_objext \
55194 conftest$ac_exeext conftest.$ac_ext
55196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55198 if test `eval echo '${'$as_ac_var'}'` = yes; then
55199 cat >>confdefs.h <<_ACEOF
55200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55201 _ACEOF
55204 done
55206 else
55208 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55209 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55210 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55211 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55212 echo $ECHO_N "(cached) $ECHO_C" >&6
55213 else
55217 ac_ext=cc
55218 ac_cpp='$CXXCPP $CPPFLAGS'
55219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
55231 main ()
55233 _copysignl(0, 0);
55235 return 0;
55237 _ACEOF
55238 rm -f conftest.$ac_objext
55239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55240 (eval $ac_compile) 2>conftest.er1
55241 ac_status=$?
55242 grep -v '^ *+' conftest.er1 >conftest.err
55243 rm -f conftest.er1
55244 cat conftest.err >&5
55245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55246 (exit $ac_status); } &&
55247 { ac_try='test -z "$ac_cxx_werror_flag"
55248 || test ! -s conftest.err'
55249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55250 (eval $ac_try) 2>&5
55251 ac_status=$?
55252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55253 (exit $ac_status); }; } &&
55254 { ac_try='test -s conftest.$ac_objext'
55255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55256 (eval $ac_try) 2>&5
55257 ac_status=$?
55258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55259 (exit $ac_status); }; }; then
55260 glibcxx_cv_func__copysignl_use=yes
55261 else
55262 echo "$as_me: failed program was:" >&5
55263 sed 's/^/| /' conftest.$ac_ext >&5
55265 glibcxx_cv_func__copysignl_use=no
55267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55268 ac_ext=c
55269 ac_cpp='$CPP $CPPFLAGS'
55270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55279 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55281 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55283 for ac_func in _copysignl
55285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55286 echo "$as_me:$LINENO: checking for $ac_func" >&5
55287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55288 if eval "test \"\${$as_ac_var+set}\" = set"; then
55289 echo $ECHO_N "(cached) $ECHO_C" >&6
55290 else
55291 if test x$gcc_no_link = xyes; then
55292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55294 { (exit 1); exit 1; }; }
55296 cat >conftest.$ac_ext <<_ACEOF
55297 /* confdefs.h. */
55298 _ACEOF
55299 cat confdefs.h >>conftest.$ac_ext
55300 cat >>conftest.$ac_ext <<_ACEOF
55301 /* end confdefs.h. */
55302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55304 #define $ac_func innocuous_$ac_func
55306 /* System header to define __stub macros and hopefully few prototypes,
55307 which can conflict with char $ac_func (); below.
55308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55309 <limits.h> exists even on freestanding compilers. */
55311 #ifdef __STDC__
55312 # include <limits.h>
55313 #else
55314 # include <assert.h>
55315 #endif
55317 #undef $ac_func
55319 /* Override any gcc2 internal prototype to avoid an error. */
55320 #ifdef __cplusplus
55321 extern "C"
55323 #endif
55324 /* We use char because int might match the return type of a gcc2
55325 builtin and then its argument prototype would still apply. */
55326 char $ac_func ();
55327 /* The GNU C library defines this for functions which it implements
55328 to always fail with ENOSYS. Some functions are actually named
55329 something starting with __ and the normal name is an alias. */
55330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55331 choke me
55332 #else
55333 char (*f) () = $ac_func;
55334 #endif
55335 #ifdef __cplusplus
55337 #endif
55340 main ()
55342 return f != $ac_func;
55344 return 0;
55346 _ACEOF
55347 rm -f conftest.$ac_objext conftest$ac_exeext
55348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55349 (eval $ac_link) 2>conftest.er1
55350 ac_status=$?
55351 grep -v '^ *+' conftest.er1 >conftest.err
55352 rm -f conftest.er1
55353 cat conftest.err >&5
55354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55355 (exit $ac_status); } &&
55356 { ac_try='test -z "$ac_c_werror_flag"
55357 || test ! -s conftest.err'
55358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55359 (eval $ac_try) 2>&5
55360 ac_status=$?
55361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55362 (exit $ac_status); }; } &&
55363 { ac_try='test -s conftest$ac_exeext'
55364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55365 (eval $ac_try) 2>&5
55366 ac_status=$?
55367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55368 (exit $ac_status); }; }; then
55369 eval "$as_ac_var=yes"
55370 else
55371 echo "$as_me: failed program was:" >&5
55372 sed 's/^/| /' conftest.$ac_ext >&5
55374 eval "$as_ac_var=no"
55376 rm -f conftest.err conftest.$ac_objext \
55377 conftest$ac_exeext conftest.$ac_ext
55379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55381 if test `eval echo '${'$as_ac_var'}'` = yes; then
55382 cat >>confdefs.h <<_ACEOF
55383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55384 _ACEOF
55387 done
55397 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55398 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55399 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55400 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55401 echo $ECHO_N "(cached) $ECHO_C" >&6
55402 else
55406 ac_ext=cc
55407 ac_cpp='$CXXCPP $CPPFLAGS'
55408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
55420 main ()
55422 atan2l(0, 0);
55424 return 0;
55426 _ACEOF
55427 rm -f conftest.$ac_objext
55428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55429 (eval $ac_compile) 2>conftest.er1
55430 ac_status=$?
55431 grep -v '^ *+' conftest.er1 >conftest.err
55432 rm -f conftest.er1
55433 cat conftest.err >&5
55434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55435 (exit $ac_status); } &&
55436 { ac_try='test -z "$ac_cxx_werror_flag"
55437 || test ! -s conftest.err'
55438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55439 (eval $ac_try) 2>&5
55440 ac_status=$?
55441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55442 (exit $ac_status); }; } &&
55443 { ac_try='test -s conftest.$ac_objext'
55444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55445 (eval $ac_try) 2>&5
55446 ac_status=$?
55447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55448 (exit $ac_status); }; }; then
55449 glibcxx_cv_func_atan2l_use=yes
55450 else
55451 echo "$as_me: failed program was:" >&5
55452 sed 's/^/| /' conftest.$ac_ext >&5
55454 glibcxx_cv_func_atan2l_use=no
55456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55457 ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55468 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55470 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55472 for ac_func in atan2l
55474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55475 echo "$as_me:$LINENO: checking for $ac_func" >&5
55476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55477 if eval "test \"\${$as_ac_var+set}\" = set"; then
55478 echo $ECHO_N "(cached) $ECHO_C" >&6
55479 else
55480 if test x$gcc_no_link = xyes; then
55481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55483 { (exit 1); exit 1; }; }
55485 cat >conftest.$ac_ext <<_ACEOF
55486 /* confdefs.h. */
55487 _ACEOF
55488 cat confdefs.h >>conftest.$ac_ext
55489 cat >>conftest.$ac_ext <<_ACEOF
55490 /* end confdefs.h. */
55491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55493 #define $ac_func innocuous_$ac_func
55495 /* System header to define __stub macros and hopefully few prototypes,
55496 which can conflict with char $ac_func (); below.
55497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55498 <limits.h> exists even on freestanding compilers. */
55500 #ifdef __STDC__
55501 # include <limits.h>
55502 #else
55503 # include <assert.h>
55504 #endif
55506 #undef $ac_func
55508 /* Override any gcc2 internal prototype to avoid an error. */
55509 #ifdef __cplusplus
55510 extern "C"
55512 #endif
55513 /* We use char because int might match the return type of a gcc2
55514 builtin and then its argument prototype would still apply. */
55515 char $ac_func ();
55516 /* The GNU C library defines this for functions which it implements
55517 to always fail with ENOSYS. Some functions are actually named
55518 something starting with __ and the normal name is an alias. */
55519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55520 choke me
55521 #else
55522 char (*f) () = $ac_func;
55523 #endif
55524 #ifdef __cplusplus
55526 #endif
55529 main ()
55531 return f != $ac_func;
55533 return 0;
55535 _ACEOF
55536 rm -f conftest.$ac_objext conftest$ac_exeext
55537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55538 (eval $ac_link) 2>conftest.er1
55539 ac_status=$?
55540 grep -v '^ *+' conftest.er1 >conftest.err
55541 rm -f conftest.er1
55542 cat conftest.err >&5
55543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55544 (exit $ac_status); } &&
55545 { ac_try='test -z "$ac_c_werror_flag"
55546 || test ! -s conftest.err'
55547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55548 (eval $ac_try) 2>&5
55549 ac_status=$?
55550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55551 (exit $ac_status); }; } &&
55552 { ac_try='test -s conftest$ac_exeext'
55553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55554 (eval $ac_try) 2>&5
55555 ac_status=$?
55556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55557 (exit $ac_status); }; }; then
55558 eval "$as_ac_var=yes"
55559 else
55560 echo "$as_me: failed program was:" >&5
55561 sed 's/^/| /' conftest.$ac_ext >&5
55563 eval "$as_ac_var=no"
55565 rm -f conftest.err conftest.$ac_objext \
55566 conftest$ac_exeext conftest.$ac_ext
55568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55570 if test `eval echo '${'$as_ac_var'}'` = yes; then
55571 cat >>confdefs.h <<_ACEOF
55572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55573 _ACEOF
55576 done
55578 else
55580 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55581 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55582 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55583 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55584 echo $ECHO_N "(cached) $ECHO_C" >&6
55585 else
55589 ac_ext=cc
55590 ac_cpp='$CXXCPP $CPPFLAGS'
55591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
55603 main ()
55605 _atan2l(0, 0);
55607 return 0;
55609 _ACEOF
55610 rm -f conftest.$ac_objext
55611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55612 (eval $ac_compile) 2>conftest.er1
55613 ac_status=$?
55614 grep -v '^ *+' conftest.er1 >conftest.err
55615 rm -f conftest.er1
55616 cat conftest.err >&5
55617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55618 (exit $ac_status); } &&
55619 { ac_try='test -z "$ac_cxx_werror_flag"
55620 || test ! -s conftest.err'
55621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55622 (eval $ac_try) 2>&5
55623 ac_status=$?
55624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55625 (exit $ac_status); }; } &&
55626 { ac_try='test -s conftest.$ac_objext'
55627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55628 (eval $ac_try) 2>&5
55629 ac_status=$?
55630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55631 (exit $ac_status); }; }; then
55632 glibcxx_cv_func__atan2l_use=yes
55633 else
55634 echo "$as_me: failed program was:" >&5
55635 sed 's/^/| /' conftest.$ac_ext >&5
55637 glibcxx_cv_func__atan2l_use=no
55639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55640 ac_ext=c
55641 ac_cpp='$CPP $CPPFLAGS'
55642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55651 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55653 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55655 for ac_func in _atan2l
55657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55658 echo "$as_me:$LINENO: checking for $ac_func" >&5
55659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55660 if eval "test \"\${$as_ac_var+set}\" = set"; then
55661 echo $ECHO_N "(cached) $ECHO_C" >&6
55662 else
55663 if test x$gcc_no_link = xyes; then
55664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55666 { (exit 1); exit 1; }; }
55668 cat >conftest.$ac_ext <<_ACEOF
55669 /* confdefs.h. */
55670 _ACEOF
55671 cat confdefs.h >>conftest.$ac_ext
55672 cat >>conftest.$ac_ext <<_ACEOF
55673 /* end confdefs.h. */
55674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55676 #define $ac_func innocuous_$ac_func
55678 /* System header to define __stub macros and hopefully few prototypes,
55679 which can conflict with char $ac_func (); below.
55680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55681 <limits.h> exists even on freestanding compilers. */
55683 #ifdef __STDC__
55684 # include <limits.h>
55685 #else
55686 # include <assert.h>
55687 #endif
55689 #undef $ac_func
55691 /* Override any gcc2 internal prototype to avoid an error. */
55692 #ifdef __cplusplus
55693 extern "C"
55695 #endif
55696 /* We use char because int might match the return type of a gcc2
55697 builtin and then its argument prototype would still apply. */
55698 char $ac_func ();
55699 /* The GNU C library defines this for functions which it implements
55700 to always fail with ENOSYS. Some functions are actually named
55701 something starting with __ and the normal name is an alias. */
55702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55703 choke me
55704 #else
55705 char (*f) () = $ac_func;
55706 #endif
55707 #ifdef __cplusplus
55709 #endif
55712 main ()
55714 return f != $ac_func;
55716 return 0;
55718 _ACEOF
55719 rm -f conftest.$ac_objext conftest$ac_exeext
55720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55721 (eval $ac_link) 2>conftest.er1
55722 ac_status=$?
55723 grep -v '^ *+' conftest.er1 >conftest.err
55724 rm -f conftest.er1
55725 cat conftest.err >&5
55726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55727 (exit $ac_status); } &&
55728 { ac_try='test -z "$ac_c_werror_flag"
55729 || test ! -s conftest.err'
55730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55731 (eval $ac_try) 2>&5
55732 ac_status=$?
55733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55734 (exit $ac_status); }; } &&
55735 { ac_try='test -s conftest$ac_exeext'
55736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55737 (eval $ac_try) 2>&5
55738 ac_status=$?
55739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55740 (exit $ac_status); }; }; then
55741 eval "$as_ac_var=yes"
55742 else
55743 echo "$as_me: failed program was:" >&5
55744 sed 's/^/| /' conftest.$ac_ext >&5
55746 eval "$as_ac_var=no"
55748 rm -f conftest.err conftest.$ac_objext \
55749 conftest$ac_exeext conftest.$ac_ext
55751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55753 if test `eval echo '${'$as_ac_var'}'` = yes; then
55754 cat >>confdefs.h <<_ACEOF
55755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55756 _ACEOF
55759 done
55769 echo "$as_me:$LINENO: checking for expl declaration" >&5
55770 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55771 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55772 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55773 echo $ECHO_N "(cached) $ECHO_C" >&6
55774 else
55778 ac_ext=cc
55779 ac_cpp='$CXXCPP $CPPFLAGS'
55780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55784 cat >conftest.$ac_ext <<_ACEOF
55785 /* confdefs.h. */
55786 _ACEOF
55787 cat confdefs.h >>conftest.$ac_ext
55788 cat >>conftest.$ac_ext <<_ACEOF
55789 /* end confdefs.h. */
55790 #include <math.h>
55791 #ifdef HAVE_IEEEFP_H
55792 #include <ieeefp.h>
55793 #endif
55796 main ()
55798 expl(0);
55800 return 0;
55802 _ACEOF
55803 rm -f conftest.$ac_objext
55804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55805 (eval $ac_compile) 2>conftest.er1
55806 ac_status=$?
55807 grep -v '^ *+' conftest.er1 >conftest.err
55808 rm -f conftest.er1
55809 cat conftest.err >&5
55810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55811 (exit $ac_status); } &&
55812 { ac_try='test -z "$ac_cxx_werror_flag"
55813 || test ! -s conftest.err'
55814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55815 (eval $ac_try) 2>&5
55816 ac_status=$?
55817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55818 (exit $ac_status); }; } &&
55819 { ac_try='test -s conftest.$ac_objext'
55820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55821 (eval $ac_try) 2>&5
55822 ac_status=$?
55823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55824 (exit $ac_status); }; }; then
55825 glibcxx_cv_func_expl_use=yes
55826 else
55827 echo "$as_me: failed program was:" >&5
55828 sed 's/^/| /' conftest.$ac_ext >&5
55830 glibcxx_cv_func_expl_use=no
55832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55833 ac_ext=c
55834 ac_cpp='$CPP $CPPFLAGS'
55835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55844 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55846 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55848 for ac_func in expl
55850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55851 echo "$as_me:$LINENO: checking for $ac_func" >&5
55852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55853 if eval "test \"\${$as_ac_var+set}\" = set"; then
55854 echo $ECHO_N "(cached) $ECHO_C" >&6
55855 else
55856 if test x$gcc_no_link = xyes; then
55857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55859 { (exit 1); exit 1; }; }
55861 cat >conftest.$ac_ext <<_ACEOF
55862 /* confdefs.h. */
55863 _ACEOF
55864 cat confdefs.h >>conftest.$ac_ext
55865 cat >>conftest.$ac_ext <<_ACEOF
55866 /* end confdefs.h. */
55867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55869 #define $ac_func innocuous_$ac_func
55871 /* System header to define __stub macros and hopefully few prototypes,
55872 which can conflict with char $ac_func (); below.
55873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55874 <limits.h> exists even on freestanding compilers. */
55876 #ifdef __STDC__
55877 # include <limits.h>
55878 #else
55879 # include <assert.h>
55880 #endif
55882 #undef $ac_func
55884 /* Override any gcc2 internal prototype to avoid an error. */
55885 #ifdef __cplusplus
55886 extern "C"
55888 #endif
55889 /* We use char because int might match the return type of a gcc2
55890 builtin and then its argument prototype would still apply. */
55891 char $ac_func ();
55892 /* The GNU C library defines this for functions which it implements
55893 to always fail with ENOSYS. Some functions are actually named
55894 something starting with __ and the normal name is an alias. */
55895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55896 choke me
55897 #else
55898 char (*f) () = $ac_func;
55899 #endif
55900 #ifdef __cplusplus
55902 #endif
55905 main ()
55907 return f != $ac_func;
55909 return 0;
55911 _ACEOF
55912 rm -f conftest.$ac_objext conftest$ac_exeext
55913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55914 (eval $ac_link) 2>conftest.er1
55915 ac_status=$?
55916 grep -v '^ *+' conftest.er1 >conftest.err
55917 rm -f conftest.er1
55918 cat conftest.err >&5
55919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55920 (exit $ac_status); } &&
55921 { ac_try='test -z "$ac_c_werror_flag"
55922 || test ! -s conftest.err'
55923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55924 (eval $ac_try) 2>&5
55925 ac_status=$?
55926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55927 (exit $ac_status); }; } &&
55928 { ac_try='test -s conftest$ac_exeext'
55929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55930 (eval $ac_try) 2>&5
55931 ac_status=$?
55932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55933 (exit $ac_status); }; }; then
55934 eval "$as_ac_var=yes"
55935 else
55936 echo "$as_me: failed program was:" >&5
55937 sed 's/^/| /' conftest.$ac_ext >&5
55939 eval "$as_ac_var=no"
55941 rm -f conftest.err conftest.$ac_objext \
55942 conftest$ac_exeext conftest.$ac_ext
55944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55946 if test `eval echo '${'$as_ac_var'}'` = yes; then
55947 cat >>confdefs.h <<_ACEOF
55948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55949 _ACEOF
55952 done
55954 else
55956 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55957 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55958 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55959 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55960 echo $ECHO_N "(cached) $ECHO_C" >&6
55961 else
55965 ac_ext=cc
55966 ac_cpp='$CXXCPP $CPPFLAGS'
55967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55971 cat >conftest.$ac_ext <<_ACEOF
55972 /* confdefs.h. */
55973 _ACEOF
55974 cat confdefs.h >>conftest.$ac_ext
55975 cat >>conftest.$ac_ext <<_ACEOF
55976 /* end confdefs.h. */
55977 #include <math.h>
55978 #ifdef HAVE_IEEEFP_H
55979 #include <ieeefp.h>
55980 #endif
55983 main ()
55985 _expl(0);
55987 return 0;
55989 _ACEOF
55990 rm -f conftest.$ac_objext
55991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55992 (eval $ac_compile) 2>conftest.er1
55993 ac_status=$?
55994 grep -v '^ *+' conftest.er1 >conftest.err
55995 rm -f conftest.er1
55996 cat conftest.err >&5
55997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55998 (exit $ac_status); } &&
55999 { ac_try='test -z "$ac_cxx_werror_flag"
56000 || test ! -s conftest.err'
56001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56002 (eval $ac_try) 2>&5
56003 ac_status=$?
56004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56005 (exit $ac_status); }; } &&
56006 { ac_try='test -s conftest.$ac_objext'
56007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56008 (eval $ac_try) 2>&5
56009 ac_status=$?
56010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56011 (exit $ac_status); }; }; then
56012 glibcxx_cv_func__expl_use=yes
56013 else
56014 echo "$as_me: failed program was:" >&5
56015 sed 's/^/| /' conftest.$ac_ext >&5
56017 glibcxx_cv_func__expl_use=no
56019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56020 ac_ext=c
56021 ac_cpp='$CPP $CPPFLAGS'
56022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56031 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56033 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56035 for ac_func in _expl
56037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56038 echo "$as_me:$LINENO: checking for $ac_func" >&5
56039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56040 if eval "test \"\${$as_ac_var+set}\" = set"; then
56041 echo $ECHO_N "(cached) $ECHO_C" >&6
56042 else
56043 if test x$gcc_no_link = xyes; then
56044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56046 { (exit 1); exit 1; }; }
56048 cat >conftest.$ac_ext <<_ACEOF
56049 /* confdefs.h. */
56050 _ACEOF
56051 cat confdefs.h >>conftest.$ac_ext
56052 cat >>conftest.$ac_ext <<_ACEOF
56053 /* end confdefs.h. */
56054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56056 #define $ac_func innocuous_$ac_func
56058 /* System header to define __stub macros and hopefully few prototypes,
56059 which can conflict with char $ac_func (); below.
56060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56061 <limits.h> exists even on freestanding compilers. */
56063 #ifdef __STDC__
56064 # include <limits.h>
56065 #else
56066 # include <assert.h>
56067 #endif
56069 #undef $ac_func
56071 /* Override any gcc2 internal prototype to avoid an error. */
56072 #ifdef __cplusplus
56073 extern "C"
56075 #endif
56076 /* We use char because int might match the return type of a gcc2
56077 builtin and then its argument prototype would still apply. */
56078 char $ac_func ();
56079 /* The GNU C library defines this for functions which it implements
56080 to always fail with ENOSYS. Some functions are actually named
56081 something starting with __ and the normal name is an alias. */
56082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56083 choke me
56084 #else
56085 char (*f) () = $ac_func;
56086 #endif
56087 #ifdef __cplusplus
56089 #endif
56092 main ()
56094 return f != $ac_func;
56096 return 0;
56098 _ACEOF
56099 rm -f conftest.$ac_objext conftest$ac_exeext
56100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56101 (eval $ac_link) 2>conftest.er1
56102 ac_status=$?
56103 grep -v '^ *+' conftest.er1 >conftest.err
56104 rm -f conftest.er1
56105 cat conftest.err >&5
56106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56107 (exit $ac_status); } &&
56108 { ac_try='test -z "$ac_c_werror_flag"
56109 || test ! -s conftest.err'
56110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56111 (eval $ac_try) 2>&5
56112 ac_status=$?
56113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56114 (exit $ac_status); }; } &&
56115 { ac_try='test -s conftest$ac_exeext'
56116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56117 (eval $ac_try) 2>&5
56118 ac_status=$?
56119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56120 (exit $ac_status); }; }; then
56121 eval "$as_ac_var=yes"
56122 else
56123 echo "$as_me: failed program was:" >&5
56124 sed 's/^/| /' conftest.$ac_ext >&5
56126 eval "$as_ac_var=no"
56128 rm -f conftest.err conftest.$ac_objext \
56129 conftest$ac_exeext conftest.$ac_ext
56131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56133 if test `eval echo '${'$as_ac_var'}'` = yes; then
56134 cat >>confdefs.h <<_ACEOF
56135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56136 _ACEOF
56139 done
56149 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56150 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56151 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56152 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56153 echo $ECHO_N "(cached) $ECHO_C" >&6
56154 else
56158 ac_ext=cc
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56164 cat >conftest.$ac_ext <<_ACEOF
56165 /* confdefs.h. */
56166 _ACEOF
56167 cat confdefs.h >>conftest.$ac_ext
56168 cat >>conftest.$ac_ext <<_ACEOF
56169 /* end confdefs.h. */
56170 #include <math.h>
56171 #ifdef HAVE_IEEEFP_H
56172 #include <ieeefp.h>
56173 #endif
56176 main ()
56178 fabsl(0);
56180 return 0;
56182 _ACEOF
56183 rm -f conftest.$ac_objext
56184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56185 (eval $ac_compile) 2>conftest.er1
56186 ac_status=$?
56187 grep -v '^ *+' conftest.er1 >conftest.err
56188 rm -f conftest.er1
56189 cat conftest.err >&5
56190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56191 (exit $ac_status); } &&
56192 { ac_try='test -z "$ac_cxx_werror_flag"
56193 || test ! -s conftest.err'
56194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56195 (eval $ac_try) 2>&5
56196 ac_status=$?
56197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56198 (exit $ac_status); }; } &&
56199 { ac_try='test -s conftest.$ac_objext'
56200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56201 (eval $ac_try) 2>&5
56202 ac_status=$?
56203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56204 (exit $ac_status); }; }; then
56205 glibcxx_cv_func_fabsl_use=yes
56206 else
56207 echo "$as_me: failed program was:" >&5
56208 sed 's/^/| /' conftest.$ac_ext >&5
56210 glibcxx_cv_func_fabsl_use=no
56212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56213 ac_ext=c
56214 ac_cpp='$CPP $CPPFLAGS'
56215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56224 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56226 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56228 for ac_func in fabsl
56230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56231 echo "$as_me:$LINENO: checking for $ac_func" >&5
56232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56233 if eval "test \"\${$as_ac_var+set}\" = set"; then
56234 echo $ECHO_N "(cached) $ECHO_C" >&6
56235 else
56236 if test x$gcc_no_link = xyes; then
56237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56239 { (exit 1); exit 1; }; }
56241 cat >conftest.$ac_ext <<_ACEOF
56242 /* confdefs.h. */
56243 _ACEOF
56244 cat confdefs.h >>conftest.$ac_ext
56245 cat >>conftest.$ac_ext <<_ACEOF
56246 /* end confdefs.h. */
56247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56249 #define $ac_func innocuous_$ac_func
56251 /* System header to define __stub macros and hopefully few prototypes,
56252 which can conflict with char $ac_func (); below.
56253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56254 <limits.h> exists even on freestanding compilers. */
56256 #ifdef __STDC__
56257 # include <limits.h>
56258 #else
56259 # include <assert.h>
56260 #endif
56262 #undef $ac_func
56264 /* Override any gcc2 internal prototype to avoid an error. */
56265 #ifdef __cplusplus
56266 extern "C"
56268 #endif
56269 /* We use char because int might match the return type of a gcc2
56270 builtin and then its argument prototype would still apply. */
56271 char $ac_func ();
56272 /* The GNU C library defines this for functions which it implements
56273 to always fail with ENOSYS. Some functions are actually named
56274 something starting with __ and the normal name is an alias. */
56275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56276 choke me
56277 #else
56278 char (*f) () = $ac_func;
56279 #endif
56280 #ifdef __cplusplus
56282 #endif
56285 main ()
56287 return f != $ac_func;
56289 return 0;
56291 _ACEOF
56292 rm -f conftest.$ac_objext conftest$ac_exeext
56293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56294 (eval $ac_link) 2>conftest.er1
56295 ac_status=$?
56296 grep -v '^ *+' conftest.er1 >conftest.err
56297 rm -f conftest.er1
56298 cat conftest.err >&5
56299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56300 (exit $ac_status); } &&
56301 { ac_try='test -z "$ac_c_werror_flag"
56302 || test ! -s conftest.err'
56303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56304 (eval $ac_try) 2>&5
56305 ac_status=$?
56306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56307 (exit $ac_status); }; } &&
56308 { ac_try='test -s conftest$ac_exeext'
56309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56310 (eval $ac_try) 2>&5
56311 ac_status=$?
56312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56313 (exit $ac_status); }; }; then
56314 eval "$as_ac_var=yes"
56315 else
56316 echo "$as_me: failed program was:" >&5
56317 sed 's/^/| /' conftest.$ac_ext >&5
56319 eval "$as_ac_var=no"
56321 rm -f conftest.err conftest.$ac_objext \
56322 conftest$ac_exeext conftest.$ac_ext
56324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56326 if test `eval echo '${'$as_ac_var'}'` = yes; then
56327 cat >>confdefs.h <<_ACEOF
56328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56329 _ACEOF
56332 done
56334 else
56336 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56337 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56338 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56339 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56340 echo $ECHO_N "(cached) $ECHO_C" >&6
56341 else
56345 ac_ext=cc
56346 ac_cpp='$CXXCPP $CPPFLAGS'
56347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56351 cat >conftest.$ac_ext <<_ACEOF
56352 /* confdefs.h. */
56353 _ACEOF
56354 cat confdefs.h >>conftest.$ac_ext
56355 cat >>conftest.$ac_ext <<_ACEOF
56356 /* end confdefs.h. */
56357 #include <math.h>
56358 #ifdef HAVE_IEEEFP_H
56359 #include <ieeefp.h>
56360 #endif
56363 main ()
56365 _fabsl(0);
56367 return 0;
56369 _ACEOF
56370 rm -f conftest.$ac_objext
56371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56372 (eval $ac_compile) 2>conftest.er1
56373 ac_status=$?
56374 grep -v '^ *+' conftest.er1 >conftest.err
56375 rm -f conftest.er1
56376 cat conftest.err >&5
56377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56378 (exit $ac_status); } &&
56379 { ac_try='test -z "$ac_cxx_werror_flag"
56380 || test ! -s conftest.err'
56381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56382 (eval $ac_try) 2>&5
56383 ac_status=$?
56384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56385 (exit $ac_status); }; } &&
56386 { ac_try='test -s conftest.$ac_objext'
56387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56388 (eval $ac_try) 2>&5
56389 ac_status=$?
56390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56391 (exit $ac_status); }; }; then
56392 glibcxx_cv_func__fabsl_use=yes
56393 else
56394 echo "$as_me: failed program was:" >&5
56395 sed 's/^/| /' conftest.$ac_ext >&5
56397 glibcxx_cv_func__fabsl_use=no
56399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56400 ac_ext=c
56401 ac_cpp='$CPP $CPPFLAGS'
56402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56411 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56413 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56415 for ac_func in _fabsl
56417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56418 echo "$as_me:$LINENO: checking for $ac_func" >&5
56419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56420 if eval "test \"\${$as_ac_var+set}\" = set"; then
56421 echo $ECHO_N "(cached) $ECHO_C" >&6
56422 else
56423 if test x$gcc_no_link = xyes; then
56424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56426 { (exit 1); exit 1; }; }
56428 cat >conftest.$ac_ext <<_ACEOF
56429 /* confdefs.h. */
56430 _ACEOF
56431 cat confdefs.h >>conftest.$ac_ext
56432 cat >>conftest.$ac_ext <<_ACEOF
56433 /* end confdefs.h. */
56434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56436 #define $ac_func innocuous_$ac_func
56438 /* System header to define __stub macros and hopefully few prototypes,
56439 which can conflict with char $ac_func (); below.
56440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56441 <limits.h> exists even on freestanding compilers. */
56443 #ifdef __STDC__
56444 # include <limits.h>
56445 #else
56446 # include <assert.h>
56447 #endif
56449 #undef $ac_func
56451 /* Override any gcc2 internal prototype to avoid an error. */
56452 #ifdef __cplusplus
56453 extern "C"
56455 #endif
56456 /* We use char because int might match the return type of a gcc2
56457 builtin and then its argument prototype would still apply. */
56458 char $ac_func ();
56459 /* The GNU C library defines this for functions which it implements
56460 to always fail with ENOSYS. Some functions are actually named
56461 something starting with __ and the normal name is an alias. */
56462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56463 choke me
56464 #else
56465 char (*f) () = $ac_func;
56466 #endif
56467 #ifdef __cplusplus
56469 #endif
56472 main ()
56474 return f != $ac_func;
56476 return 0;
56478 _ACEOF
56479 rm -f conftest.$ac_objext conftest$ac_exeext
56480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56481 (eval $ac_link) 2>conftest.er1
56482 ac_status=$?
56483 grep -v '^ *+' conftest.er1 >conftest.err
56484 rm -f conftest.er1
56485 cat conftest.err >&5
56486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56487 (exit $ac_status); } &&
56488 { ac_try='test -z "$ac_c_werror_flag"
56489 || test ! -s conftest.err'
56490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56491 (eval $ac_try) 2>&5
56492 ac_status=$?
56493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56494 (exit $ac_status); }; } &&
56495 { ac_try='test -s conftest$ac_exeext'
56496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56497 (eval $ac_try) 2>&5
56498 ac_status=$?
56499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56500 (exit $ac_status); }; }; then
56501 eval "$as_ac_var=yes"
56502 else
56503 echo "$as_me: failed program was:" >&5
56504 sed 's/^/| /' conftest.$ac_ext >&5
56506 eval "$as_ac_var=no"
56508 rm -f conftest.err conftest.$ac_objext \
56509 conftest$ac_exeext conftest.$ac_ext
56511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56513 if test `eval echo '${'$as_ac_var'}'` = yes; then
56514 cat >>confdefs.h <<_ACEOF
56515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56516 _ACEOF
56519 done
56529 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56530 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56531 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56532 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56533 echo $ECHO_N "(cached) $ECHO_C" >&6
56534 else
56538 ac_ext=cc
56539 ac_cpp='$CXXCPP $CPPFLAGS'
56540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
56552 main ()
56554 fmodl(0, 0);
56556 return 0;
56558 _ACEOF
56559 rm -f conftest.$ac_objext
56560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56561 (eval $ac_compile) 2>conftest.er1
56562 ac_status=$?
56563 grep -v '^ *+' conftest.er1 >conftest.err
56564 rm -f conftest.er1
56565 cat conftest.err >&5
56566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56567 (exit $ac_status); } &&
56568 { ac_try='test -z "$ac_cxx_werror_flag"
56569 || test ! -s conftest.err'
56570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56571 (eval $ac_try) 2>&5
56572 ac_status=$?
56573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56574 (exit $ac_status); }; } &&
56575 { ac_try='test -s conftest.$ac_objext'
56576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56577 (eval $ac_try) 2>&5
56578 ac_status=$?
56579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56580 (exit $ac_status); }; }; then
56581 glibcxx_cv_func_fmodl_use=yes
56582 else
56583 echo "$as_me: failed program was:" >&5
56584 sed 's/^/| /' conftest.$ac_ext >&5
56586 glibcxx_cv_func_fmodl_use=no
56588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56589 ac_ext=c
56590 ac_cpp='$CPP $CPPFLAGS'
56591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56600 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56602 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56604 for ac_func in fmodl
56606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56607 echo "$as_me:$LINENO: checking for $ac_func" >&5
56608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56609 if eval "test \"\${$as_ac_var+set}\" = set"; then
56610 echo $ECHO_N "(cached) $ECHO_C" >&6
56611 else
56612 if test x$gcc_no_link = xyes; then
56613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56615 { (exit 1); exit 1; }; }
56617 cat >conftest.$ac_ext <<_ACEOF
56618 /* confdefs.h. */
56619 _ACEOF
56620 cat confdefs.h >>conftest.$ac_ext
56621 cat >>conftest.$ac_ext <<_ACEOF
56622 /* end confdefs.h. */
56623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56625 #define $ac_func innocuous_$ac_func
56627 /* System header to define __stub macros and hopefully few prototypes,
56628 which can conflict with char $ac_func (); below.
56629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56630 <limits.h> exists even on freestanding compilers. */
56632 #ifdef __STDC__
56633 # include <limits.h>
56634 #else
56635 # include <assert.h>
56636 #endif
56638 #undef $ac_func
56640 /* Override any gcc2 internal prototype to avoid an error. */
56641 #ifdef __cplusplus
56642 extern "C"
56644 #endif
56645 /* We use char because int might match the return type of a gcc2
56646 builtin and then its argument prototype would still apply. */
56647 char $ac_func ();
56648 /* The GNU C library defines this for functions which it implements
56649 to always fail with ENOSYS. Some functions are actually named
56650 something starting with __ and the normal name is an alias. */
56651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56652 choke me
56653 #else
56654 char (*f) () = $ac_func;
56655 #endif
56656 #ifdef __cplusplus
56658 #endif
56661 main ()
56663 return f != $ac_func;
56665 return 0;
56667 _ACEOF
56668 rm -f conftest.$ac_objext conftest$ac_exeext
56669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56670 (eval $ac_link) 2>conftest.er1
56671 ac_status=$?
56672 grep -v '^ *+' conftest.er1 >conftest.err
56673 rm -f conftest.er1
56674 cat conftest.err >&5
56675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56676 (exit $ac_status); } &&
56677 { ac_try='test -z "$ac_c_werror_flag"
56678 || test ! -s conftest.err'
56679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56680 (eval $ac_try) 2>&5
56681 ac_status=$?
56682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56683 (exit $ac_status); }; } &&
56684 { ac_try='test -s conftest$ac_exeext'
56685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56686 (eval $ac_try) 2>&5
56687 ac_status=$?
56688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56689 (exit $ac_status); }; }; then
56690 eval "$as_ac_var=yes"
56691 else
56692 echo "$as_me: failed program was:" >&5
56693 sed 's/^/| /' conftest.$ac_ext >&5
56695 eval "$as_ac_var=no"
56697 rm -f conftest.err conftest.$ac_objext \
56698 conftest$ac_exeext conftest.$ac_ext
56700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56702 if test `eval echo '${'$as_ac_var'}'` = yes; then
56703 cat >>confdefs.h <<_ACEOF
56704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56705 _ACEOF
56708 done
56710 else
56712 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56713 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56714 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56715 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56716 echo $ECHO_N "(cached) $ECHO_C" >&6
56717 else
56721 ac_ext=cc
56722 ac_cpp='$CXXCPP $CPPFLAGS'
56723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
56735 main ()
56737 _fmodl(0, 0);
56739 return 0;
56741 _ACEOF
56742 rm -f conftest.$ac_objext
56743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56744 (eval $ac_compile) 2>conftest.er1
56745 ac_status=$?
56746 grep -v '^ *+' conftest.er1 >conftest.err
56747 rm -f conftest.er1
56748 cat conftest.err >&5
56749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56750 (exit $ac_status); } &&
56751 { ac_try='test -z "$ac_cxx_werror_flag"
56752 || test ! -s conftest.err'
56753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56754 (eval $ac_try) 2>&5
56755 ac_status=$?
56756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56757 (exit $ac_status); }; } &&
56758 { ac_try='test -s conftest.$ac_objext'
56759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56760 (eval $ac_try) 2>&5
56761 ac_status=$?
56762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56763 (exit $ac_status); }; }; then
56764 glibcxx_cv_func__fmodl_use=yes
56765 else
56766 echo "$as_me: failed program was:" >&5
56767 sed 's/^/| /' conftest.$ac_ext >&5
56769 glibcxx_cv_func__fmodl_use=no
56771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56772 ac_ext=c
56773 ac_cpp='$CPP $CPPFLAGS'
56774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56783 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56785 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56787 for ac_func in _fmodl
56789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56790 echo "$as_me:$LINENO: checking for $ac_func" >&5
56791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56792 if eval "test \"\${$as_ac_var+set}\" = set"; then
56793 echo $ECHO_N "(cached) $ECHO_C" >&6
56794 else
56795 if test x$gcc_no_link = xyes; then
56796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56798 { (exit 1); exit 1; }; }
56800 cat >conftest.$ac_ext <<_ACEOF
56801 /* confdefs.h. */
56802 _ACEOF
56803 cat confdefs.h >>conftest.$ac_ext
56804 cat >>conftest.$ac_ext <<_ACEOF
56805 /* end confdefs.h. */
56806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56808 #define $ac_func innocuous_$ac_func
56810 /* System header to define __stub macros and hopefully few prototypes,
56811 which can conflict with char $ac_func (); below.
56812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56813 <limits.h> exists even on freestanding compilers. */
56815 #ifdef __STDC__
56816 # include <limits.h>
56817 #else
56818 # include <assert.h>
56819 #endif
56821 #undef $ac_func
56823 /* Override any gcc2 internal prototype to avoid an error. */
56824 #ifdef __cplusplus
56825 extern "C"
56827 #endif
56828 /* We use char because int might match the return type of a gcc2
56829 builtin and then its argument prototype would still apply. */
56830 char $ac_func ();
56831 /* The GNU C library defines this for functions which it implements
56832 to always fail with ENOSYS. Some functions are actually named
56833 something starting with __ and the normal name is an alias. */
56834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56835 choke me
56836 #else
56837 char (*f) () = $ac_func;
56838 #endif
56839 #ifdef __cplusplus
56841 #endif
56844 main ()
56846 return f != $ac_func;
56848 return 0;
56850 _ACEOF
56851 rm -f conftest.$ac_objext conftest$ac_exeext
56852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56853 (eval $ac_link) 2>conftest.er1
56854 ac_status=$?
56855 grep -v '^ *+' conftest.er1 >conftest.err
56856 rm -f conftest.er1
56857 cat conftest.err >&5
56858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56859 (exit $ac_status); } &&
56860 { ac_try='test -z "$ac_c_werror_flag"
56861 || test ! -s conftest.err'
56862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56863 (eval $ac_try) 2>&5
56864 ac_status=$?
56865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56866 (exit $ac_status); }; } &&
56867 { ac_try='test -s conftest$ac_exeext'
56868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56869 (eval $ac_try) 2>&5
56870 ac_status=$?
56871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56872 (exit $ac_status); }; }; then
56873 eval "$as_ac_var=yes"
56874 else
56875 echo "$as_me: failed program was:" >&5
56876 sed 's/^/| /' conftest.$ac_ext >&5
56878 eval "$as_ac_var=no"
56880 rm -f conftest.err conftest.$ac_objext \
56881 conftest$ac_exeext conftest.$ac_ext
56883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56885 if test `eval echo '${'$as_ac_var'}'` = yes; then
56886 cat >>confdefs.h <<_ACEOF
56887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56888 _ACEOF
56891 done
56901 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56902 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56903 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56904 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56905 echo $ECHO_N "(cached) $ECHO_C" >&6
56906 else
56910 ac_ext=cc
56911 ac_cpp='$CXXCPP $CPPFLAGS'
56912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
56924 main ()
56926 frexpl(0, 0);
56928 return 0;
56930 _ACEOF
56931 rm -f conftest.$ac_objext
56932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56933 (eval $ac_compile) 2>conftest.er1
56934 ac_status=$?
56935 grep -v '^ *+' conftest.er1 >conftest.err
56936 rm -f conftest.er1
56937 cat conftest.err >&5
56938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56939 (exit $ac_status); } &&
56940 { ac_try='test -z "$ac_cxx_werror_flag"
56941 || test ! -s conftest.err'
56942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56943 (eval $ac_try) 2>&5
56944 ac_status=$?
56945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56946 (exit $ac_status); }; } &&
56947 { ac_try='test -s conftest.$ac_objext'
56948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56949 (eval $ac_try) 2>&5
56950 ac_status=$?
56951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56952 (exit $ac_status); }; }; then
56953 glibcxx_cv_func_frexpl_use=yes
56954 else
56955 echo "$as_me: failed program was:" >&5
56956 sed 's/^/| /' conftest.$ac_ext >&5
56958 glibcxx_cv_func_frexpl_use=no
56960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56961 ac_ext=c
56962 ac_cpp='$CPP $CPPFLAGS'
56963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56972 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56974 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56976 for ac_func in frexpl
56978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56979 echo "$as_me:$LINENO: checking for $ac_func" >&5
56980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56981 if eval "test \"\${$as_ac_var+set}\" = set"; then
56982 echo $ECHO_N "(cached) $ECHO_C" >&6
56983 else
56984 if test x$gcc_no_link = xyes; then
56985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56987 { (exit 1); exit 1; }; }
56989 cat >conftest.$ac_ext <<_ACEOF
56990 /* confdefs.h. */
56991 _ACEOF
56992 cat confdefs.h >>conftest.$ac_ext
56993 cat >>conftest.$ac_ext <<_ACEOF
56994 /* end confdefs.h. */
56995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56997 #define $ac_func innocuous_$ac_func
56999 /* System header to define __stub macros and hopefully few prototypes,
57000 which can conflict with char $ac_func (); below.
57001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57002 <limits.h> exists even on freestanding compilers. */
57004 #ifdef __STDC__
57005 # include <limits.h>
57006 #else
57007 # include <assert.h>
57008 #endif
57010 #undef $ac_func
57012 /* Override any gcc2 internal prototype to avoid an error. */
57013 #ifdef __cplusplus
57014 extern "C"
57016 #endif
57017 /* We use char because int might match the return type of a gcc2
57018 builtin and then its argument prototype would still apply. */
57019 char $ac_func ();
57020 /* The GNU C library defines this for functions which it implements
57021 to always fail with ENOSYS. Some functions are actually named
57022 something starting with __ and the normal name is an alias. */
57023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57024 choke me
57025 #else
57026 char (*f) () = $ac_func;
57027 #endif
57028 #ifdef __cplusplus
57030 #endif
57033 main ()
57035 return f != $ac_func;
57037 return 0;
57039 _ACEOF
57040 rm -f conftest.$ac_objext conftest$ac_exeext
57041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57042 (eval $ac_link) 2>conftest.er1
57043 ac_status=$?
57044 grep -v '^ *+' conftest.er1 >conftest.err
57045 rm -f conftest.er1
57046 cat conftest.err >&5
57047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57048 (exit $ac_status); } &&
57049 { ac_try='test -z "$ac_c_werror_flag"
57050 || test ! -s conftest.err'
57051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57052 (eval $ac_try) 2>&5
57053 ac_status=$?
57054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055 (exit $ac_status); }; } &&
57056 { ac_try='test -s conftest$ac_exeext'
57057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57058 (eval $ac_try) 2>&5
57059 ac_status=$?
57060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57061 (exit $ac_status); }; }; then
57062 eval "$as_ac_var=yes"
57063 else
57064 echo "$as_me: failed program was:" >&5
57065 sed 's/^/| /' conftest.$ac_ext >&5
57067 eval "$as_ac_var=no"
57069 rm -f conftest.err conftest.$ac_objext \
57070 conftest$ac_exeext conftest.$ac_ext
57072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57074 if test `eval echo '${'$as_ac_var'}'` = yes; then
57075 cat >>confdefs.h <<_ACEOF
57076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57077 _ACEOF
57080 done
57082 else
57084 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57085 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57086 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57087 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57088 echo $ECHO_N "(cached) $ECHO_C" >&6
57089 else
57093 ac_ext=cc
57094 ac_cpp='$CXXCPP $CPPFLAGS'
57095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
57107 main ()
57109 _frexpl(0, 0);
57111 return 0;
57113 _ACEOF
57114 rm -f conftest.$ac_objext
57115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57116 (eval $ac_compile) 2>conftest.er1
57117 ac_status=$?
57118 grep -v '^ *+' conftest.er1 >conftest.err
57119 rm -f conftest.er1
57120 cat conftest.err >&5
57121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57122 (exit $ac_status); } &&
57123 { ac_try='test -z "$ac_cxx_werror_flag"
57124 || test ! -s conftest.err'
57125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57126 (eval $ac_try) 2>&5
57127 ac_status=$?
57128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57129 (exit $ac_status); }; } &&
57130 { ac_try='test -s conftest.$ac_objext'
57131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57132 (eval $ac_try) 2>&5
57133 ac_status=$?
57134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57135 (exit $ac_status); }; }; then
57136 glibcxx_cv_func__frexpl_use=yes
57137 else
57138 echo "$as_me: failed program was:" >&5
57139 sed 's/^/| /' conftest.$ac_ext >&5
57141 glibcxx_cv_func__frexpl_use=no
57143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57144 ac_ext=c
57145 ac_cpp='$CPP $CPPFLAGS'
57146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57155 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57157 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57159 for ac_func in _frexpl
57161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57162 echo "$as_me:$LINENO: checking for $ac_func" >&5
57163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57164 if eval "test \"\${$as_ac_var+set}\" = set"; then
57165 echo $ECHO_N "(cached) $ECHO_C" >&6
57166 else
57167 if test x$gcc_no_link = xyes; then
57168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57170 { (exit 1); exit 1; }; }
57172 cat >conftest.$ac_ext <<_ACEOF
57173 /* confdefs.h. */
57174 _ACEOF
57175 cat confdefs.h >>conftest.$ac_ext
57176 cat >>conftest.$ac_ext <<_ACEOF
57177 /* end confdefs.h. */
57178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57180 #define $ac_func innocuous_$ac_func
57182 /* System header to define __stub macros and hopefully few prototypes,
57183 which can conflict with char $ac_func (); below.
57184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57185 <limits.h> exists even on freestanding compilers. */
57187 #ifdef __STDC__
57188 # include <limits.h>
57189 #else
57190 # include <assert.h>
57191 #endif
57193 #undef $ac_func
57195 /* Override any gcc2 internal prototype to avoid an error. */
57196 #ifdef __cplusplus
57197 extern "C"
57199 #endif
57200 /* We use char because int might match the return type of a gcc2
57201 builtin and then its argument prototype would still apply. */
57202 char $ac_func ();
57203 /* The GNU C library defines this for functions which it implements
57204 to always fail with ENOSYS. Some functions are actually named
57205 something starting with __ and the normal name is an alias. */
57206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57207 choke me
57208 #else
57209 char (*f) () = $ac_func;
57210 #endif
57211 #ifdef __cplusplus
57213 #endif
57216 main ()
57218 return f != $ac_func;
57220 return 0;
57222 _ACEOF
57223 rm -f conftest.$ac_objext conftest$ac_exeext
57224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57225 (eval $ac_link) 2>conftest.er1
57226 ac_status=$?
57227 grep -v '^ *+' conftest.er1 >conftest.err
57228 rm -f conftest.er1
57229 cat conftest.err >&5
57230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57231 (exit $ac_status); } &&
57232 { ac_try='test -z "$ac_c_werror_flag"
57233 || test ! -s conftest.err'
57234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57235 (eval $ac_try) 2>&5
57236 ac_status=$?
57237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57238 (exit $ac_status); }; } &&
57239 { ac_try='test -s conftest$ac_exeext'
57240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57241 (eval $ac_try) 2>&5
57242 ac_status=$?
57243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57244 (exit $ac_status); }; }; then
57245 eval "$as_ac_var=yes"
57246 else
57247 echo "$as_me: failed program was:" >&5
57248 sed 's/^/| /' conftest.$ac_ext >&5
57250 eval "$as_ac_var=no"
57252 rm -f conftest.err conftest.$ac_objext \
57253 conftest$ac_exeext conftest.$ac_ext
57255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57257 if test `eval echo '${'$as_ac_var'}'` = yes; then
57258 cat >>confdefs.h <<_ACEOF
57259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57260 _ACEOF
57263 done
57273 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57274 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57275 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57276 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57277 echo $ECHO_N "(cached) $ECHO_C" >&6
57278 else
57282 ac_ext=cc
57283 ac_cpp='$CXXCPP $CPPFLAGS'
57284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
57296 main ()
57298 hypotl(0, 0);
57300 return 0;
57302 _ACEOF
57303 rm -f conftest.$ac_objext
57304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57305 (eval $ac_compile) 2>conftest.er1
57306 ac_status=$?
57307 grep -v '^ *+' conftest.er1 >conftest.err
57308 rm -f conftest.er1
57309 cat conftest.err >&5
57310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57311 (exit $ac_status); } &&
57312 { ac_try='test -z "$ac_cxx_werror_flag"
57313 || test ! -s conftest.err'
57314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57315 (eval $ac_try) 2>&5
57316 ac_status=$?
57317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57318 (exit $ac_status); }; } &&
57319 { ac_try='test -s conftest.$ac_objext'
57320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57321 (eval $ac_try) 2>&5
57322 ac_status=$?
57323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57324 (exit $ac_status); }; }; then
57325 glibcxx_cv_func_hypotl_use=yes
57326 else
57327 echo "$as_me: failed program was:" >&5
57328 sed 's/^/| /' conftest.$ac_ext >&5
57330 glibcxx_cv_func_hypotl_use=no
57332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57333 ac_ext=c
57334 ac_cpp='$CPP $CPPFLAGS'
57335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57344 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57346 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57348 for ac_func in hypotl
57350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57351 echo "$as_me:$LINENO: checking for $ac_func" >&5
57352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57353 if eval "test \"\${$as_ac_var+set}\" = set"; then
57354 echo $ECHO_N "(cached) $ECHO_C" >&6
57355 else
57356 if test x$gcc_no_link = xyes; then
57357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57359 { (exit 1); exit 1; }; }
57361 cat >conftest.$ac_ext <<_ACEOF
57362 /* confdefs.h. */
57363 _ACEOF
57364 cat confdefs.h >>conftest.$ac_ext
57365 cat >>conftest.$ac_ext <<_ACEOF
57366 /* end confdefs.h. */
57367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57369 #define $ac_func innocuous_$ac_func
57371 /* System header to define __stub macros and hopefully few prototypes,
57372 which can conflict with char $ac_func (); below.
57373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57374 <limits.h> exists even on freestanding compilers. */
57376 #ifdef __STDC__
57377 # include <limits.h>
57378 #else
57379 # include <assert.h>
57380 #endif
57382 #undef $ac_func
57384 /* Override any gcc2 internal prototype to avoid an error. */
57385 #ifdef __cplusplus
57386 extern "C"
57388 #endif
57389 /* We use char because int might match the return type of a gcc2
57390 builtin and then its argument prototype would still apply. */
57391 char $ac_func ();
57392 /* The GNU C library defines this for functions which it implements
57393 to always fail with ENOSYS. Some functions are actually named
57394 something starting with __ and the normal name is an alias. */
57395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57396 choke me
57397 #else
57398 char (*f) () = $ac_func;
57399 #endif
57400 #ifdef __cplusplus
57402 #endif
57405 main ()
57407 return f != $ac_func;
57409 return 0;
57411 _ACEOF
57412 rm -f conftest.$ac_objext conftest$ac_exeext
57413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57414 (eval $ac_link) 2>conftest.er1
57415 ac_status=$?
57416 grep -v '^ *+' conftest.er1 >conftest.err
57417 rm -f conftest.er1
57418 cat conftest.err >&5
57419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57420 (exit $ac_status); } &&
57421 { ac_try='test -z "$ac_c_werror_flag"
57422 || test ! -s conftest.err'
57423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57424 (eval $ac_try) 2>&5
57425 ac_status=$?
57426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57427 (exit $ac_status); }; } &&
57428 { ac_try='test -s conftest$ac_exeext'
57429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57430 (eval $ac_try) 2>&5
57431 ac_status=$?
57432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57433 (exit $ac_status); }; }; then
57434 eval "$as_ac_var=yes"
57435 else
57436 echo "$as_me: failed program was:" >&5
57437 sed 's/^/| /' conftest.$ac_ext >&5
57439 eval "$as_ac_var=no"
57441 rm -f conftest.err conftest.$ac_objext \
57442 conftest$ac_exeext conftest.$ac_ext
57444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57446 if test `eval echo '${'$as_ac_var'}'` = yes; then
57447 cat >>confdefs.h <<_ACEOF
57448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57449 _ACEOF
57452 done
57454 else
57456 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57457 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57458 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57459 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57460 echo $ECHO_N "(cached) $ECHO_C" >&6
57461 else
57465 ac_ext=cc
57466 ac_cpp='$CXXCPP $CPPFLAGS'
57467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
57479 main ()
57481 _hypotl(0, 0);
57483 return 0;
57485 _ACEOF
57486 rm -f conftest.$ac_objext
57487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57488 (eval $ac_compile) 2>conftest.er1
57489 ac_status=$?
57490 grep -v '^ *+' conftest.er1 >conftest.err
57491 rm -f conftest.er1
57492 cat conftest.err >&5
57493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57494 (exit $ac_status); } &&
57495 { ac_try='test -z "$ac_cxx_werror_flag"
57496 || test ! -s conftest.err'
57497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57498 (eval $ac_try) 2>&5
57499 ac_status=$?
57500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57501 (exit $ac_status); }; } &&
57502 { ac_try='test -s conftest.$ac_objext'
57503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57504 (eval $ac_try) 2>&5
57505 ac_status=$?
57506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57507 (exit $ac_status); }; }; then
57508 glibcxx_cv_func__hypotl_use=yes
57509 else
57510 echo "$as_me: failed program was:" >&5
57511 sed 's/^/| /' conftest.$ac_ext >&5
57513 glibcxx_cv_func__hypotl_use=no
57515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57516 ac_ext=c
57517 ac_cpp='$CPP $CPPFLAGS'
57518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57527 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57529 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57531 for ac_func in _hypotl
57533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57534 echo "$as_me:$LINENO: checking for $ac_func" >&5
57535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57536 if eval "test \"\${$as_ac_var+set}\" = set"; then
57537 echo $ECHO_N "(cached) $ECHO_C" >&6
57538 else
57539 if test x$gcc_no_link = xyes; then
57540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57542 { (exit 1); exit 1; }; }
57544 cat >conftest.$ac_ext <<_ACEOF
57545 /* confdefs.h. */
57546 _ACEOF
57547 cat confdefs.h >>conftest.$ac_ext
57548 cat >>conftest.$ac_ext <<_ACEOF
57549 /* end confdefs.h. */
57550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57552 #define $ac_func innocuous_$ac_func
57554 /* System header to define __stub macros and hopefully few prototypes,
57555 which can conflict with char $ac_func (); below.
57556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57557 <limits.h> exists even on freestanding compilers. */
57559 #ifdef __STDC__
57560 # include <limits.h>
57561 #else
57562 # include <assert.h>
57563 #endif
57565 #undef $ac_func
57567 /* Override any gcc2 internal prototype to avoid an error. */
57568 #ifdef __cplusplus
57569 extern "C"
57571 #endif
57572 /* We use char because int might match the return type of a gcc2
57573 builtin and then its argument prototype would still apply. */
57574 char $ac_func ();
57575 /* The GNU C library defines this for functions which it implements
57576 to always fail with ENOSYS. Some functions are actually named
57577 something starting with __ and the normal name is an alias. */
57578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57579 choke me
57580 #else
57581 char (*f) () = $ac_func;
57582 #endif
57583 #ifdef __cplusplus
57585 #endif
57588 main ()
57590 return f != $ac_func;
57592 return 0;
57594 _ACEOF
57595 rm -f conftest.$ac_objext conftest$ac_exeext
57596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57597 (eval $ac_link) 2>conftest.er1
57598 ac_status=$?
57599 grep -v '^ *+' conftest.er1 >conftest.err
57600 rm -f conftest.er1
57601 cat conftest.err >&5
57602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57603 (exit $ac_status); } &&
57604 { ac_try='test -z "$ac_c_werror_flag"
57605 || test ! -s conftest.err'
57606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57607 (eval $ac_try) 2>&5
57608 ac_status=$?
57609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57610 (exit $ac_status); }; } &&
57611 { ac_try='test -s conftest$ac_exeext'
57612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57613 (eval $ac_try) 2>&5
57614 ac_status=$?
57615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616 (exit $ac_status); }; }; then
57617 eval "$as_ac_var=yes"
57618 else
57619 echo "$as_me: failed program was:" >&5
57620 sed 's/^/| /' conftest.$ac_ext >&5
57622 eval "$as_ac_var=no"
57624 rm -f conftest.err conftest.$ac_objext \
57625 conftest$ac_exeext conftest.$ac_ext
57627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57629 if test `eval echo '${'$as_ac_var'}'` = yes; then
57630 cat >>confdefs.h <<_ACEOF
57631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57632 _ACEOF
57635 done
57645 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57646 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57647 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57648 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57649 echo $ECHO_N "(cached) $ECHO_C" >&6
57650 else
57654 ac_ext=cc
57655 ac_cpp='$CXXCPP $CPPFLAGS'
57656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
57668 main ()
57670 ldexpl(0, 0);
57672 return 0;
57674 _ACEOF
57675 rm -f conftest.$ac_objext
57676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57677 (eval $ac_compile) 2>conftest.er1
57678 ac_status=$?
57679 grep -v '^ *+' conftest.er1 >conftest.err
57680 rm -f conftest.er1
57681 cat conftest.err >&5
57682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57683 (exit $ac_status); } &&
57684 { ac_try='test -z "$ac_cxx_werror_flag"
57685 || test ! -s conftest.err'
57686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57687 (eval $ac_try) 2>&5
57688 ac_status=$?
57689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57690 (exit $ac_status); }; } &&
57691 { ac_try='test -s conftest.$ac_objext'
57692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57693 (eval $ac_try) 2>&5
57694 ac_status=$?
57695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57696 (exit $ac_status); }; }; then
57697 glibcxx_cv_func_ldexpl_use=yes
57698 else
57699 echo "$as_me: failed program was:" >&5
57700 sed 's/^/| /' conftest.$ac_ext >&5
57702 glibcxx_cv_func_ldexpl_use=no
57704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57705 ac_ext=c
57706 ac_cpp='$CPP $CPPFLAGS'
57707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57716 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57718 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57720 for ac_func in ldexpl
57722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57723 echo "$as_me:$LINENO: checking for $ac_func" >&5
57724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57725 if eval "test \"\${$as_ac_var+set}\" = set"; then
57726 echo $ECHO_N "(cached) $ECHO_C" >&6
57727 else
57728 if test x$gcc_no_link = xyes; then
57729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57731 { (exit 1); exit 1; }; }
57733 cat >conftest.$ac_ext <<_ACEOF
57734 /* confdefs.h. */
57735 _ACEOF
57736 cat confdefs.h >>conftest.$ac_ext
57737 cat >>conftest.$ac_ext <<_ACEOF
57738 /* end confdefs.h. */
57739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57741 #define $ac_func innocuous_$ac_func
57743 /* System header to define __stub macros and hopefully few prototypes,
57744 which can conflict with char $ac_func (); below.
57745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57746 <limits.h> exists even on freestanding compilers. */
57748 #ifdef __STDC__
57749 # include <limits.h>
57750 #else
57751 # include <assert.h>
57752 #endif
57754 #undef $ac_func
57756 /* Override any gcc2 internal prototype to avoid an error. */
57757 #ifdef __cplusplus
57758 extern "C"
57760 #endif
57761 /* We use char because int might match the return type of a gcc2
57762 builtin and then its argument prototype would still apply. */
57763 char $ac_func ();
57764 /* The GNU C library defines this for functions which it implements
57765 to always fail with ENOSYS. Some functions are actually named
57766 something starting with __ and the normal name is an alias. */
57767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57768 choke me
57769 #else
57770 char (*f) () = $ac_func;
57771 #endif
57772 #ifdef __cplusplus
57774 #endif
57777 main ()
57779 return f != $ac_func;
57781 return 0;
57783 _ACEOF
57784 rm -f conftest.$ac_objext conftest$ac_exeext
57785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57786 (eval $ac_link) 2>conftest.er1
57787 ac_status=$?
57788 grep -v '^ *+' conftest.er1 >conftest.err
57789 rm -f conftest.er1
57790 cat conftest.err >&5
57791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57792 (exit $ac_status); } &&
57793 { ac_try='test -z "$ac_c_werror_flag"
57794 || test ! -s conftest.err'
57795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57796 (eval $ac_try) 2>&5
57797 ac_status=$?
57798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57799 (exit $ac_status); }; } &&
57800 { ac_try='test -s conftest$ac_exeext'
57801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57802 (eval $ac_try) 2>&5
57803 ac_status=$?
57804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57805 (exit $ac_status); }; }; then
57806 eval "$as_ac_var=yes"
57807 else
57808 echo "$as_me: failed program was:" >&5
57809 sed 's/^/| /' conftest.$ac_ext >&5
57811 eval "$as_ac_var=no"
57813 rm -f conftest.err conftest.$ac_objext \
57814 conftest$ac_exeext conftest.$ac_ext
57816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57818 if test `eval echo '${'$as_ac_var'}'` = yes; then
57819 cat >>confdefs.h <<_ACEOF
57820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57821 _ACEOF
57824 done
57826 else
57828 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57829 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57830 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57831 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57832 echo $ECHO_N "(cached) $ECHO_C" >&6
57833 else
57837 ac_ext=cc
57838 ac_cpp='$CXXCPP $CPPFLAGS'
57839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
57851 main ()
57853 _ldexpl(0, 0);
57855 return 0;
57857 _ACEOF
57858 rm -f conftest.$ac_objext
57859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57860 (eval $ac_compile) 2>conftest.er1
57861 ac_status=$?
57862 grep -v '^ *+' conftest.er1 >conftest.err
57863 rm -f conftest.er1
57864 cat conftest.err >&5
57865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57866 (exit $ac_status); } &&
57867 { ac_try='test -z "$ac_cxx_werror_flag"
57868 || test ! -s conftest.err'
57869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57870 (eval $ac_try) 2>&5
57871 ac_status=$?
57872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57873 (exit $ac_status); }; } &&
57874 { ac_try='test -s conftest.$ac_objext'
57875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57876 (eval $ac_try) 2>&5
57877 ac_status=$?
57878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57879 (exit $ac_status); }; }; then
57880 glibcxx_cv_func__ldexpl_use=yes
57881 else
57882 echo "$as_me: failed program was:" >&5
57883 sed 's/^/| /' conftest.$ac_ext >&5
57885 glibcxx_cv_func__ldexpl_use=no
57887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57888 ac_ext=c
57889 ac_cpp='$CPP $CPPFLAGS'
57890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57899 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57901 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57903 for ac_func in _ldexpl
57905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57906 echo "$as_me:$LINENO: checking for $ac_func" >&5
57907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57908 if eval "test \"\${$as_ac_var+set}\" = set"; then
57909 echo $ECHO_N "(cached) $ECHO_C" >&6
57910 else
57911 if test x$gcc_no_link = xyes; then
57912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57914 { (exit 1); exit 1; }; }
57916 cat >conftest.$ac_ext <<_ACEOF
57917 /* confdefs.h. */
57918 _ACEOF
57919 cat confdefs.h >>conftest.$ac_ext
57920 cat >>conftest.$ac_ext <<_ACEOF
57921 /* end confdefs.h. */
57922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57924 #define $ac_func innocuous_$ac_func
57926 /* System header to define __stub macros and hopefully few prototypes,
57927 which can conflict with char $ac_func (); below.
57928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57929 <limits.h> exists even on freestanding compilers. */
57931 #ifdef __STDC__
57932 # include <limits.h>
57933 #else
57934 # include <assert.h>
57935 #endif
57937 #undef $ac_func
57939 /* Override any gcc2 internal prototype to avoid an error. */
57940 #ifdef __cplusplus
57941 extern "C"
57943 #endif
57944 /* We use char because int might match the return type of a gcc2
57945 builtin and then its argument prototype would still apply. */
57946 char $ac_func ();
57947 /* The GNU C library defines this for functions which it implements
57948 to always fail with ENOSYS. Some functions are actually named
57949 something starting with __ and the normal name is an alias. */
57950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57951 choke me
57952 #else
57953 char (*f) () = $ac_func;
57954 #endif
57955 #ifdef __cplusplus
57957 #endif
57960 main ()
57962 return f != $ac_func;
57964 return 0;
57966 _ACEOF
57967 rm -f conftest.$ac_objext conftest$ac_exeext
57968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57969 (eval $ac_link) 2>conftest.er1
57970 ac_status=$?
57971 grep -v '^ *+' conftest.er1 >conftest.err
57972 rm -f conftest.er1
57973 cat conftest.err >&5
57974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57975 (exit $ac_status); } &&
57976 { ac_try='test -z "$ac_c_werror_flag"
57977 || test ! -s conftest.err'
57978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57979 (eval $ac_try) 2>&5
57980 ac_status=$?
57981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57982 (exit $ac_status); }; } &&
57983 { ac_try='test -s conftest$ac_exeext'
57984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57985 (eval $ac_try) 2>&5
57986 ac_status=$?
57987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57988 (exit $ac_status); }; }; then
57989 eval "$as_ac_var=yes"
57990 else
57991 echo "$as_me: failed program was:" >&5
57992 sed 's/^/| /' conftest.$ac_ext >&5
57994 eval "$as_ac_var=no"
57996 rm -f conftest.err conftest.$ac_objext \
57997 conftest$ac_exeext conftest.$ac_ext
57999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58001 if test `eval echo '${'$as_ac_var'}'` = yes; then
58002 cat >>confdefs.h <<_ACEOF
58003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58004 _ACEOF
58007 done
58017 echo "$as_me:$LINENO: checking for logl declaration" >&5
58018 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58019 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58020 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58021 echo $ECHO_N "(cached) $ECHO_C" >&6
58022 else
58026 ac_ext=cc
58027 ac_cpp='$CXXCPP $CPPFLAGS'
58028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58032 cat >conftest.$ac_ext <<_ACEOF
58033 /* confdefs.h. */
58034 _ACEOF
58035 cat confdefs.h >>conftest.$ac_ext
58036 cat >>conftest.$ac_ext <<_ACEOF
58037 /* end confdefs.h. */
58038 #include <math.h>
58039 #ifdef HAVE_IEEEFP_H
58040 #include <ieeefp.h>
58041 #endif
58044 main ()
58046 logl(0);
58048 return 0;
58050 _ACEOF
58051 rm -f conftest.$ac_objext
58052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58053 (eval $ac_compile) 2>conftest.er1
58054 ac_status=$?
58055 grep -v '^ *+' conftest.er1 >conftest.err
58056 rm -f conftest.er1
58057 cat conftest.err >&5
58058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58059 (exit $ac_status); } &&
58060 { ac_try='test -z "$ac_cxx_werror_flag"
58061 || test ! -s conftest.err'
58062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58063 (eval $ac_try) 2>&5
58064 ac_status=$?
58065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58066 (exit $ac_status); }; } &&
58067 { ac_try='test -s conftest.$ac_objext'
58068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58069 (eval $ac_try) 2>&5
58070 ac_status=$?
58071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58072 (exit $ac_status); }; }; then
58073 glibcxx_cv_func_logl_use=yes
58074 else
58075 echo "$as_me: failed program was:" >&5
58076 sed 's/^/| /' conftest.$ac_ext >&5
58078 glibcxx_cv_func_logl_use=no
58080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58081 ac_ext=c
58082 ac_cpp='$CPP $CPPFLAGS'
58083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58092 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58094 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58096 for ac_func in logl
58098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58099 echo "$as_me:$LINENO: checking for $ac_func" >&5
58100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58101 if eval "test \"\${$as_ac_var+set}\" = set"; then
58102 echo $ECHO_N "(cached) $ECHO_C" >&6
58103 else
58104 if test x$gcc_no_link = xyes; then
58105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58107 { (exit 1); exit 1; }; }
58109 cat >conftest.$ac_ext <<_ACEOF
58110 /* confdefs.h. */
58111 _ACEOF
58112 cat confdefs.h >>conftest.$ac_ext
58113 cat >>conftest.$ac_ext <<_ACEOF
58114 /* end confdefs.h. */
58115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58117 #define $ac_func innocuous_$ac_func
58119 /* System header to define __stub macros and hopefully few prototypes,
58120 which can conflict with char $ac_func (); below.
58121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58122 <limits.h> exists even on freestanding compilers. */
58124 #ifdef __STDC__
58125 # include <limits.h>
58126 #else
58127 # include <assert.h>
58128 #endif
58130 #undef $ac_func
58132 /* Override any gcc2 internal prototype to avoid an error. */
58133 #ifdef __cplusplus
58134 extern "C"
58136 #endif
58137 /* We use char because int might match the return type of a gcc2
58138 builtin and then its argument prototype would still apply. */
58139 char $ac_func ();
58140 /* The GNU C library defines this for functions which it implements
58141 to always fail with ENOSYS. Some functions are actually named
58142 something starting with __ and the normal name is an alias. */
58143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58144 choke me
58145 #else
58146 char (*f) () = $ac_func;
58147 #endif
58148 #ifdef __cplusplus
58150 #endif
58153 main ()
58155 return f != $ac_func;
58157 return 0;
58159 _ACEOF
58160 rm -f conftest.$ac_objext conftest$ac_exeext
58161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58162 (eval $ac_link) 2>conftest.er1
58163 ac_status=$?
58164 grep -v '^ *+' conftest.er1 >conftest.err
58165 rm -f conftest.er1
58166 cat conftest.err >&5
58167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58168 (exit $ac_status); } &&
58169 { ac_try='test -z "$ac_c_werror_flag"
58170 || test ! -s conftest.err'
58171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58172 (eval $ac_try) 2>&5
58173 ac_status=$?
58174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58175 (exit $ac_status); }; } &&
58176 { ac_try='test -s conftest$ac_exeext'
58177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58178 (eval $ac_try) 2>&5
58179 ac_status=$?
58180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58181 (exit $ac_status); }; }; then
58182 eval "$as_ac_var=yes"
58183 else
58184 echo "$as_me: failed program was:" >&5
58185 sed 's/^/| /' conftest.$ac_ext >&5
58187 eval "$as_ac_var=no"
58189 rm -f conftest.err conftest.$ac_objext \
58190 conftest$ac_exeext conftest.$ac_ext
58192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58194 if test `eval echo '${'$as_ac_var'}'` = yes; then
58195 cat >>confdefs.h <<_ACEOF
58196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58197 _ACEOF
58200 done
58202 else
58204 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58205 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58206 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58207 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58208 echo $ECHO_N "(cached) $ECHO_C" >&6
58209 else
58213 ac_ext=cc
58214 ac_cpp='$CXXCPP $CPPFLAGS'
58215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58219 cat >conftest.$ac_ext <<_ACEOF
58220 /* confdefs.h. */
58221 _ACEOF
58222 cat confdefs.h >>conftest.$ac_ext
58223 cat >>conftest.$ac_ext <<_ACEOF
58224 /* end confdefs.h. */
58225 #include <math.h>
58226 #ifdef HAVE_IEEEFP_H
58227 #include <ieeefp.h>
58228 #endif
58231 main ()
58233 _logl(0);
58235 return 0;
58237 _ACEOF
58238 rm -f conftest.$ac_objext
58239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58240 (eval $ac_compile) 2>conftest.er1
58241 ac_status=$?
58242 grep -v '^ *+' conftest.er1 >conftest.err
58243 rm -f conftest.er1
58244 cat conftest.err >&5
58245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58246 (exit $ac_status); } &&
58247 { ac_try='test -z "$ac_cxx_werror_flag"
58248 || test ! -s conftest.err'
58249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58250 (eval $ac_try) 2>&5
58251 ac_status=$?
58252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58253 (exit $ac_status); }; } &&
58254 { ac_try='test -s conftest.$ac_objext'
58255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58256 (eval $ac_try) 2>&5
58257 ac_status=$?
58258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58259 (exit $ac_status); }; }; then
58260 glibcxx_cv_func__logl_use=yes
58261 else
58262 echo "$as_me: failed program was:" >&5
58263 sed 's/^/| /' conftest.$ac_ext >&5
58265 glibcxx_cv_func__logl_use=no
58267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58268 ac_ext=c
58269 ac_cpp='$CPP $CPPFLAGS'
58270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58279 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58281 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58283 for ac_func in _logl
58285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58286 echo "$as_me:$LINENO: checking for $ac_func" >&5
58287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58288 if eval "test \"\${$as_ac_var+set}\" = set"; then
58289 echo $ECHO_N "(cached) $ECHO_C" >&6
58290 else
58291 if test x$gcc_no_link = xyes; then
58292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58294 { (exit 1); exit 1; }; }
58296 cat >conftest.$ac_ext <<_ACEOF
58297 /* confdefs.h. */
58298 _ACEOF
58299 cat confdefs.h >>conftest.$ac_ext
58300 cat >>conftest.$ac_ext <<_ACEOF
58301 /* end confdefs.h. */
58302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58304 #define $ac_func innocuous_$ac_func
58306 /* System header to define __stub macros and hopefully few prototypes,
58307 which can conflict with char $ac_func (); below.
58308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58309 <limits.h> exists even on freestanding compilers. */
58311 #ifdef __STDC__
58312 # include <limits.h>
58313 #else
58314 # include <assert.h>
58315 #endif
58317 #undef $ac_func
58319 /* Override any gcc2 internal prototype to avoid an error. */
58320 #ifdef __cplusplus
58321 extern "C"
58323 #endif
58324 /* We use char because int might match the return type of a gcc2
58325 builtin and then its argument prototype would still apply. */
58326 char $ac_func ();
58327 /* The GNU C library defines this for functions which it implements
58328 to always fail with ENOSYS. Some functions are actually named
58329 something starting with __ and the normal name is an alias. */
58330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58331 choke me
58332 #else
58333 char (*f) () = $ac_func;
58334 #endif
58335 #ifdef __cplusplus
58337 #endif
58340 main ()
58342 return f != $ac_func;
58344 return 0;
58346 _ACEOF
58347 rm -f conftest.$ac_objext conftest$ac_exeext
58348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58349 (eval $ac_link) 2>conftest.er1
58350 ac_status=$?
58351 grep -v '^ *+' conftest.er1 >conftest.err
58352 rm -f conftest.er1
58353 cat conftest.err >&5
58354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58355 (exit $ac_status); } &&
58356 { ac_try='test -z "$ac_c_werror_flag"
58357 || test ! -s conftest.err'
58358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58359 (eval $ac_try) 2>&5
58360 ac_status=$?
58361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58362 (exit $ac_status); }; } &&
58363 { ac_try='test -s conftest$ac_exeext'
58364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58365 (eval $ac_try) 2>&5
58366 ac_status=$?
58367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58368 (exit $ac_status); }; }; then
58369 eval "$as_ac_var=yes"
58370 else
58371 echo "$as_me: failed program was:" >&5
58372 sed 's/^/| /' conftest.$ac_ext >&5
58374 eval "$as_ac_var=no"
58376 rm -f conftest.err conftest.$ac_objext \
58377 conftest$ac_exeext conftest.$ac_ext
58379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58381 if test `eval echo '${'$as_ac_var'}'` = yes; then
58382 cat >>confdefs.h <<_ACEOF
58383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58384 _ACEOF
58387 done
58397 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58398 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58399 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58400 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58401 echo $ECHO_N "(cached) $ECHO_C" >&6
58402 else
58406 ac_ext=cc
58407 ac_cpp='$CXXCPP $CPPFLAGS'
58408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58412 cat >conftest.$ac_ext <<_ACEOF
58413 /* confdefs.h. */
58414 _ACEOF
58415 cat confdefs.h >>conftest.$ac_ext
58416 cat >>conftest.$ac_ext <<_ACEOF
58417 /* end confdefs.h. */
58418 #include <math.h>
58419 #ifdef HAVE_IEEEFP_H
58420 #include <ieeefp.h>
58421 #endif
58424 main ()
58426 log10l(0);
58428 return 0;
58430 _ACEOF
58431 rm -f conftest.$ac_objext
58432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58433 (eval $ac_compile) 2>conftest.er1
58434 ac_status=$?
58435 grep -v '^ *+' conftest.er1 >conftest.err
58436 rm -f conftest.er1
58437 cat conftest.err >&5
58438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58439 (exit $ac_status); } &&
58440 { ac_try='test -z "$ac_cxx_werror_flag"
58441 || test ! -s conftest.err'
58442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58443 (eval $ac_try) 2>&5
58444 ac_status=$?
58445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58446 (exit $ac_status); }; } &&
58447 { ac_try='test -s conftest.$ac_objext'
58448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58449 (eval $ac_try) 2>&5
58450 ac_status=$?
58451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58452 (exit $ac_status); }; }; then
58453 glibcxx_cv_func_log10l_use=yes
58454 else
58455 echo "$as_me: failed program was:" >&5
58456 sed 's/^/| /' conftest.$ac_ext >&5
58458 glibcxx_cv_func_log10l_use=no
58460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58461 ac_ext=c
58462 ac_cpp='$CPP $CPPFLAGS'
58463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58472 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58474 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58476 for ac_func in log10l
58478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58479 echo "$as_me:$LINENO: checking for $ac_func" >&5
58480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58481 if eval "test \"\${$as_ac_var+set}\" = set"; then
58482 echo $ECHO_N "(cached) $ECHO_C" >&6
58483 else
58484 if test x$gcc_no_link = xyes; then
58485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58487 { (exit 1); exit 1; }; }
58489 cat >conftest.$ac_ext <<_ACEOF
58490 /* confdefs.h. */
58491 _ACEOF
58492 cat confdefs.h >>conftest.$ac_ext
58493 cat >>conftest.$ac_ext <<_ACEOF
58494 /* end confdefs.h. */
58495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58497 #define $ac_func innocuous_$ac_func
58499 /* System header to define __stub macros and hopefully few prototypes,
58500 which can conflict with char $ac_func (); below.
58501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58502 <limits.h> exists even on freestanding compilers. */
58504 #ifdef __STDC__
58505 # include <limits.h>
58506 #else
58507 # include <assert.h>
58508 #endif
58510 #undef $ac_func
58512 /* Override any gcc2 internal prototype to avoid an error. */
58513 #ifdef __cplusplus
58514 extern "C"
58516 #endif
58517 /* We use char because int might match the return type of a gcc2
58518 builtin and then its argument prototype would still apply. */
58519 char $ac_func ();
58520 /* The GNU C library defines this for functions which it implements
58521 to always fail with ENOSYS. Some functions are actually named
58522 something starting with __ and the normal name is an alias. */
58523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58524 choke me
58525 #else
58526 char (*f) () = $ac_func;
58527 #endif
58528 #ifdef __cplusplus
58530 #endif
58533 main ()
58535 return f != $ac_func;
58537 return 0;
58539 _ACEOF
58540 rm -f conftest.$ac_objext conftest$ac_exeext
58541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58542 (eval $ac_link) 2>conftest.er1
58543 ac_status=$?
58544 grep -v '^ *+' conftest.er1 >conftest.err
58545 rm -f conftest.er1
58546 cat conftest.err >&5
58547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58548 (exit $ac_status); } &&
58549 { ac_try='test -z "$ac_c_werror_flag"
58550 || test ! -s conftest.err'
58551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58552 (eval $ac_try) 2>&5
58553 ac_status=$?
58554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58555 (exit $ac_status); }; } &&
58556 { ac_try='test -s conftest$ac_exeext'
58557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58558 (eval $ac_try) 2>&5
58559 ac_status=$?
58560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58561 (exit $ac_status); }; }; then
58562 eval "$as_ac_var=yes"
58563 else
58564 echo "$as_me: failed program was:" >&5
58565 sed 's/^/| /' conftest.$ac_ext >&5
58567 eval "$as_ac_var=no"
58569 rm -f conftest.err conftest.$ac_objext \
58570 conftest$ac_exeext conftest.$ac_ext
58572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58574 if test `eval echo '${'$as_ac_var'}'` = yes; then
58575 cat >>confdefs.h <<_ACEOF
58576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58577 _ACEOF
58580 done
58582 else
58584 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58585 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58586 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58587 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58588 echo $ECHO_N "(cached) $ECHO_C" >&6
58589 else
58593 ac_ext=cc
58594 ac_cpp='$CXXCPP $CPPFLAGS'
58595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58599 cat >conftest.$ac_ext <<_ACEOF
58600 /* confdefs.h. */
58601 _ACEOF
58602 cat confdefs.h >>conftest.$ac_ext
58603 cat >>conftest.$ac_ext <<_ACEOF
58604 /* end confdefs.h. */
58605 #include <math.h>
58606 #ifdef HAVE_IEEEFP_H
58607 #include <ieeefp.h>
58608 #endif
58611 main ()
58613 _log10l(0);
58615 return 0;
58617 _ACEOF
58618 rm -f conftest.$ac_objext
58619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58620 (eval $ac_compile) 2>conftest.er1
58621 ac_status=$?
58622 grep -v '^ *+' conftest.er1 >conftest.err
58623 rm -f conftest.er1
58624 cat conftest.err >&5
58625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58626 (exit $ac_status); } &&
58627 { ac_try='test -z "$ac_cxx_werror_flag"
58628 || test ! -s conftest.err'
58629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58630 (eval $ac_try) 2>&5
58631 ac_status=$?
58632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58633 (exit $ac_status); }; } &&
58634 { ac_try='test -s conftest.$ac_objext'
58635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58636 (eval $ac_try) 2>&5
58637 ac_status=$?
58638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58639 (exit $ac_status); }; }; then
58640 glibcxx_cv_func__log10l_use=yes
58641 else
58642 echo "$as_me: failed program was:" >&5
58643 sed 's/^/| /' conftest.$ac_ext >&5
58645 glibcxx_cv_func__log10l_use=no
58647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58648 ac_ext=c
58649 ac_cpp='$CPP $CPPFLAGS'
58650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58659 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58661 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58663 for ac_func in _log10l
58665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58666 echo "$as_me:$LINENO: checking for $ac_func" >&5
58667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58668 if eval "test \"\${$as_ac_var+set}\" = set"; then
58669 echo $ECHO_N "(cached) $ECHO_C" >&6
58670 else
58671 if test x$gcc_no_link = xyes; then
58672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58674 { (exit 1); exit 1; }; }
58676 cat >conftest.$ac_ext <<_ACEOF
58677 /* confdefs.h. */
58678 _ACEOF
58679 cat confdefs.h >>conftest.$ac_ext
58680 cat >>conftest.$ac_ext <<_ACEOF
58681 /* end confdefs.h. */
58682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58684 #define $ac_func innocuous_$ac_func
58686 /* System header to define __stub macros and hopefully few prototypes,
58687 which can conflict with char $ac_func (); below.
58688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58689 <limits.h> exists even on freestanding compilers. */
58691 #ifdef __STDC__
58692 # include <limits.h>
58693 #else
58694 # include <assert.h>
58695 #endif
58697 #undef $ac_func
58699 /* Override any gcc2 internal prototype to avoid an error. */
58700 #ifdef __cplusplus
58701 extern "C"
58703 #endif
58704 /* We use char because int might match the return type of a gcc2
58705 builtin and then its argument prototype would still apply. */
58706 char $ac_func ();
58707 /* The GNU C library defines this for functions which it implements
58708 to always fail with ENOSYS. Some functions are actually named
58709 something starting with __ and the normal name is an alias. */
58710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58711 choke me
58712 #else
58713 char (*f) () = $ac_func;
58714 #endif
58715 #ifdef __cplusplus
58717 #endif
58720 main ()
58722 return f != $ac_func;
58724 return 0;
58726 _ACEOF
58727 rm -f conftest.$ac_objext conftest$ac_exeext
58728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58729 (eval $ac_link) 2>conftest.er1
58730 ac_status=$?
58731 grep -v '^ *+' conftest.er1 >conftest.err
58732 rm -f conftest.er1
58733 cat conftest.err >&5
58734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58735 (exit $ac_status); } &&
58736 { ac_try='test -z "$ac_c_werror_flag"
58737 || test ! -s conftest.err'
58738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58739 (eval $ac_try) 2>&5
58740 ac_status=$?
58741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58742 (exit $ac_status); }; } &&
58743 { ac_try='test -s conftest$ac_exeext'
58744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58745 (eval $ac_try) 2>&5
58746 ac_status=$?
58747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58748 (exit $ac_status); }; }; then
58749 eval "$as_ac_var=yes"
58750 else
58751 echo "$as_me: failed program was:" >&5
58752 sed 's/^/| /' conftest.$ac_ext >&5
58754 eval "$as_ac_var=no"
58756 rm -f conftest.err conftest.$ac_objext \
58757 conftest$ac_exeext conftest.$ac_ext
58759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58761 if test `eval echo '${'$as_ac_var'}'` = yes; then
58762 cat >>confdefs.h <<_ACEOF
58763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58764 _ACEOF
58767 done
58777 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58778 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58779 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58780 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58781 echo $ECHO_N "(cached) $ECHO_C" >&6
58782 else
58786 ac_ext=cc
58787 ac_cpp='$CXXCPP $CPPFLAGS'
58788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
58800 main ()
58802 modfl(0, 0);
58804 return 0;
58806 _ACEOF
58807 rm -f conftest.$ac_objext
58808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58809 (eval $ac_compile) 2>conftest.er1
58810 ac_status=$?
58811 grep -v '^ *+' conftest.er1 >conftest.err
58812 rm -f conftest.er1
58813 cat conftest.err >&5
58814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58815 (exit $ac_status); } &&
58816 { ac_try='test -z "$ac_cxx_werror_flag"
58817 || test ! -s conftest.err'
58818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58819 (eval $ac_try) 2>&5
58820 ac_status=$?
58821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58822 (exit $ac_status); }; } &&
58823 { ac_try='test -s conftest.$ac_objext'
58824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58825 (eval $ac_try) 2>&5
58826 ac_status=$?
58827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58828 (exit $ac_status); }; }; then
58829 glibcxx_cv_func_modfl_use=yes
58830 else
58831 echo "$as_me: failed program was:" >&5
58832 sed 's/^/| /' conftest.$ac_ext >&5
58834 glibcxx_cv_func_modfl_use=no
58836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58837 ac_ext=c
58838 ac_cpp='$CPP $CPPFLAGS'
58839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58848 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58850 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58852 for ac_func in modfl
58854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58855 echo "$as_me:$LINENO: checking for $ac_func" >&5
58856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58857 if eval "test \"\${$as_ac_var+set}\" = set"; then
58858 echo $ECHO_N "(cached) $ECHO_C" >&6
58859 else
58860 if test x$gcc_no_link = xyes; then
58861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58863 { (exit 1); exit 1; }; }
58865 cat >conftest.$ac_ext <<_ACEOF
58866 /* confdefs.h. */
58867 _ACEOF
58868 cat confdefs.h >>conftest.$ac_ext
58869 cat >>conftest.$ac_ext <<_ACEOF
58870 /* end confdefs.h. */
58871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58873 #define $ac_func innocuous_$ac_func
58875 /* System header to define __stub macros and hopefully few prototypes,
58876 which can conflict with char $ac_func (); below.
58877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58878 <limits.h> exists even on freestanding compilers. */
58880 #ifdef __STDC__
58881 # include <limits.h>
58882 #else
58883 # include <assert.h>
58884 #endif
58886 #undef $ac_func
58888 /* Override any gcc2 internal prototype to avoid an error. */
58889 #ifdef __cplusplus
58890 extern "C"
58892 #endif
58893 /* We use char because int might match the return type of a gcc2
58894 builtin and then its argument prototype would still apply. */
58895 char $ac_func ();
58896 /* The GNU C library defines this for functions which it implements
58897 to always fail with ENOSYS. Some functions are actually named
58898 something starting with __ and the normal name is an alias. */
58899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58900 choke me
58901 #else
58902 char (*f) () = $ac_func;
58903 #endif
58904 #ifdef __cplusplus
58906 #endif
58909 main ()
58911 return f != $ac_func;
58913 return 0;
58915 _ACEOF
58916 rm -f conftest.$ac_objext conftest$ac_exeext
58917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58918 (eval $ac_link) 2>conftest.er1
58919 ac_status=$?
58920 grep -v '^ *+' conftest.er1 >conftest.err
58921 rm -f conftest.er1
58922 cat conftest.err >&5
58923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58924 (exit $ac_status); } &&
58925 { ac_try='test -z "$ac_c_werror_flag"
58926 || test ! -s conftest.err'
58927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58928 (eval $ac_try) 2>&5
58929 ac_status=$?
58930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58931 (exit $ac_status); }; } &&
58932 { ac_try='test -s conftest$ac_exeext'
58933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58934 (eval $ac_try) 2>&5
58935 ac_status=$?
58936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58937 (exit $ac_status); }; }; then
58938 eval "$as_ac_var=yes"
58939 else
58940 echo "$as_me: failed program was:" >&5
58941 sed 's/^/| /' conftest.$ac_ext >&5
58943 eval "$as_ac_var=no"
58945 rm -f conftest.err conftest.$ac_objext \
58946 conftest$ac_exeext conftest.$ac_ext
58948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58950 if test `eval echo '${'$as_ac_var'}'` = yes; then
58951 cat >>confdefs.h <<_ACEOF
58952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58953 _ACEOF
58956 done
58958 else
58960 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58961 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58962 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58963 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58964 echo $ECHO_N "(cached) $ECHO_C" >&6
58965 else
58969 ac_ext=cc
58970 ac_cpp='$CXXCPP $CPPFLAGS'
58971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
58983 main ()
58985 _modfl(0, 0);
58987 return 0;
58989 _ACEOF
58990 rm -f conftest.$ac_objext
58991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58992 (eval $ac_compile) 2>conftest.er1
58993 ac_status=$?
58994 grep -v '^ *+' conftest.er1 >conftest.err
58995 rm -f conftest.er1
58996 cat conftest.err >&5
58997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58998 (exit $ac_status); } &&
58999 { ac_try='test -z "$ac_cxx_werror_flag"
59000 || test ! -s conftest.err'
59001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59002 (eval $ac_try) 2>&5
59003 ac_status=$?
59004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59005 (exit $ac_status); }; } &&
59006 { ac_try='test -s conftest.$ac_objext'
59007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59008 (eval $ac_try) 2>&5
59009 ac_status=$?
59010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59011 (exit $ac_status); }; }; then
59012 glibcxx_cv_func__modfl_use=yes
59013 else
59014 echo "$as_me: failed program was:" >&5
59015 sed 's/^/| /' conftest.$ac_ext >&5
59017 glibcxx_cv_func__modfl_use=no
59019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59020 ac_ext=c
59021 ac_cpp='$CPP $CPPFLAGS'
59022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59031 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59033 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59035 for ac_func in _modfl
59037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59038 echo "$as_me:$LINENO: checking for $ac_func" >&5
59039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59040 if eval "test \"\${$as_ac_var+set}\" = set"; then
59041 echo $ECHO_N "(cached) $ECHO_C" >&6
59042 else
59043 if test x$gcc_no_link = xyes; then
59044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59046 { (exit 1); exit 1; }; }
59048 cat >conftest.$ac_ext <<_ACEOF
59049 /* confdefs.h. */
59050 _ACEOF
59051 cat confdefs.h >>conftest.$ac_ext
59052 cat >>conftest.$ac_ext <<_ACEOF
59053 /* end confdefs.h. */
59054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59056 #define $ac_func innocuous_$ac_func
59058 /* System header to define __stub macros and hopefully few prototypes,
59059 which can conflict with char $ac_func (); below.
59060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59061 <limits.h> exists even on freestanding compilers. */
59063 #ifdef __STDC__
59064 # include <limits.h>
59065 #else
59066 # include <assert.h>
59067 #endif
59069 #undef $ac_func
59071 /* Override any gcc2 internal prototype to avoid an error. */
59072 #ifdef __cplusplus
59073 extern "C"
59075 #endif
59076 /* We use char because int might match the return type of a gcc2
59077 builtin and then its argument prototype would still apply. */
59078 char $ac_func ();
59079 /* The GNU C library defines this for functions which it implements
59080 to always fail with ENOSYS. Some functions are actually named
59081 something starting with __ and the normal name is an alias. */
59082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59083 choke me
59084 #else
59085 char (*f) () = $ac_func;
59086 #endif
59087 #ifdef __cplusplus
59089 #endif
59092 main ()
59094 return f != $ac_func;
59096 return 0;
59098 _ACEOF
59099 rm -f conftest.$ac_objext conftest$ac_exeext
59100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59101 (eval $ac_link) 2>conftest.er1
59102 ac_status=$?
59103 grep -v '^ *+' conftest.er1 >conftest.err
59104 rm -f conftest.er1
59105 cat conftest.err >&5
59106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59107 (exit $ac_status); } &&
59108 { ac_try='test -z "$ac_c_werror_flag"
59109 || test ! -s conftest.err'
59110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59111 (eval $ac_try) 2>&5
59112 ac_status=$?
59113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59114 (exit $ac_status); }; } &&
59115 { ac_try='test -s conftest$ac_exeext'
59116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59117 (eval $ac_try) 2>&5
59118 ac_status=$?
59119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59120 (exit $ac_status); }; }; then
59121 eval "$as_ac_var=yes"
59122 else
59123 echo "$as_me: failed program was:" >&5
59124 sed 's/^/| /' conftest.$ac_ext >&5
59126 eval "$as_ac_var=no"
59128 rm -f conftest.err conftest.$ac_objext \
59129 conftest$ac_exeext conftest.$ac_ext
59131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59133 if test `eval echo '${'$as_ac_var'}'` = yes; then
59134 cat >>confdefs.h <<_ACEOF
59135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59136 _ACEOF
59139 done
59149 echo "$as_me:$LINENO: checking for powl declaration" >&5
59150 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59151 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59152 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59153 echo $ECHO_N "(cached) $ECHO_C" >&6
59154 else
59158 ac_ext=cc
59159 ac_cpp='$CXXCPP $CPPFLAGS'
59160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
59172 main ()
59174 powl(0, 0);
59176 return 0;
59178 _ACEOF
59179 rm -f conftest.$ac_objext
59180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59181 (eval $ac_compile) 2>conftest.er1
59182 ac_status=$?
59183 grep -v '^ *+' conftest.er1 >conftest.err
59184 rm -f conftest.er1
59185 cat conftest.err >&5
59186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59187 (exit $ac_status); } &&
59188 { ac_try='test -z "$ac_cxx_werror_flag"
59189 || test ! -s conftest.err'
59190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59191 (eval $ac_try) 2>&5
59192 ac_status=$?
59193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59194 (exit $ac_status); }; } &&
59195 { ac_try='test -s conftest.$ac_objext'
59196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59197 (eval $ac_try) 2>&5
59198 ac_status=$?
59199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59200 (exit $ac_status); }; }; then
59201 glibcxx_cv_func_powl_use=yes
59202 else
59203 echo "$as_me: failed program was:" >&5
59204 sed 's/^/| /' conftest.$ac_ext >&5
59206 glibcxx_cv_func_powl_use=no
59208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59220 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59222 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59224 for ac_func in powl
59226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59227 echo "$as_me:$LINENO: checking for $ac_func" >&5
59228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59229 if eval "test \"\${$as_ac_var+set}\" = set"; then
59230 echo $ECHO_N "(cached) $ECHO_C" >&6
59231 else
59232 if test x$gcc_no_link = xyes; then
59233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59235 { (exit 1); exit 1; }; }
59237 cat >conftest.$ac_ext <<_ACEOF
59238 /* confdefs.h. */
59239 _ACEOF
59240 cat confdefs.h >>conftest.$ac_ext
59241 cat >>conftest.$ac_ext <<_ACEOF
59242 /* end confdefs.h. */
59243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59245 #define $ac_func innocuous_$ac_func
59247 /* System header to define __stub macros and hopefully few prototypes,
59248 which can conflict with char $ac_func (); below.
59249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59250 <limits.h> exists even on freestanding compilers. */
59252 #ifdef __STDC__
59253 # include <limits.h>
59254 #else
59255 # include <assert.h>
59256 #endif
59258 #undef $ac_func
59260 /* Override any gcc2 internal prototype to avoid an error. */
59261 #ifdef __cplusplus
59262 extern "C"
59264 #endif
59265 /* We use char because int might match the return type of a gcc2
59266 builtin and then its argument prototype would still apply. */
59267 char $ac_func ();
59268 /* The GNU C library defines this for functions which it implements
59269 to always fail with ENOSYS. Some functions are actually named
59270 something starting with __ and the normal name is an alias. */
59271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59272 choke me
59273 #else
59274 char (*f) () = $ac_func;
59275 #endif
59276 #ifdef __cplusplus
59278 #endif
59281 main ()
59283 return f != $ac_func;
59285 return 0;
59287 _ACEOF
59288 rm -f conftest.$ac_objext conftest$ac_exeext
59289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59290 (eval $ac_link) 2>conftest.er1
59291 ac_status=$?
59292 grep -v '^ *+' conftest.er1 >conftest.err
59293 rm -f conftest.er1
59294 cat conftest.err >&5
59295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59296 (exit $ac_status); } &&
59297 { ac_try='test -z "$ac_c_werror_flag"
59298 || test ! -s conftest.err'
59299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59300 (eval $ac_try) 2>&5
59301 ac_status=$?
59302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59303 (exit $ac_status); }; } &&
59304 { ac_try='test -s conftest$ac_exeext'
59305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59306 (eval $ac_try) 2>&5
59307 ac_status=$?
59308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59309 (exit $ac_status); }; }; then
59310 eval "$as_ac_var=yes"
59311 else
59312 echo "$as_me: failed program was:" >&5
59313 sed 's/^/| /' conftest.$ac_ext >&5
59315 eval "$as_ac_var=no"
59317 rm -f conftest.err conftest.$ac_objext \
59318 conftest$ac_exeext conftest.$ac_ext
59320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59322 if test `eval echo '${'$as_ac_var'}'` = yes; then
59323 cat >>confdefs.h <<_ACEOF
59324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59325 _ACEOF
59328 done
59330 else
59332 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59333 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59334 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59335 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59336 echo $ECHO_N "(cached) $ECHO_C" >&6
59337 else
59341 ac_ext=cc
59342 ac_cpp='$CXXCPP $CPPFLAGS'
59343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
59355 main ()
59357 _powl(0, 0);
59359 return 0;
59361 _ACEOF
59362 rm -f conftest.$ac_objext
59363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59364 (eval $ac_compile) 2>conftest.er1
59365 ac_status=$?
59366 grep -v '^ *+' conftest.er1 >conftest.err
59367 rm -f conftest.er1
59368 cat conftest.err >&5
59369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59370 (exit $ac_status); } &&
59371 { ac_try='test -z "$ac_cxx_werror_flag"
59372 || test ! -s conftest.err'
59373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59374 (eval $ac_try) 2>&5
59375 ac_status=$?
59376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59377 (exit $ac_status); }; } &&
59378 { ac_try='test -s conftest.$ac_objext'
59379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59380 (eval $ac_try) 2>&5
59381 ac_status=$?
59382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59383 (exit $ac_status); }; }; then
59384 glibcxx_cv_func__powl_use=yes
59385 else
59386 echo "$as_me: failed program was:" >&5
59387 sed 's/^/| /' conftest.$ac_ext >&5
59389 glibcxx_cv_func__powl_use=no
59391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59392 ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59403 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59405 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59407 for ac_func in _powl
59409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59410 echo "$as_me:$LINENO: checking for $ac_func" >&5
59411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59412 if eval "test \"\${$as_ac_var+set}\" = set"; then
59413 echo $ECHO_N "(cached) $ECHO_C" >&6
59414 else
59415 if test x$gcc_no_link = xyes; then
59416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59418 { (exit 1); exit 1; }; }
59420 cat >conftest.$ac_ext <<_ACEOF
59421 /* confdefs.h. */
59422 _ACEOF
59423 cat confdefs.h >>conftest.$ac_ext
59424 cat >>conftest.$ac_ext <<_ACEOF
59425 /* end confdefs.h. */
59426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59428 #define $ac_func innocuous_$ac_func
59430 /* System header to define __stub macros and hopefully few prototypes,
59431 which can conflict with char $ac_func (); below.
59432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59433 <limits.h> exists even on freestanding compilers. */
59435 #ifdef __STDC__
59436 # include <limits.h>
59437 #else
59438 # include <assert.h>
59439 #endif
59441 #undef $ac_func
59443 /* Override any gcc2 internal prototype to avoid an error. */
59444 #ifdef __cplusplus
59445 extern "C"
59447 #endif
59448 /* We use char because int might match the return type of a gcc2
59449 builtin and then its argument prototype would still apply. */
59450 char $ac_func ();
59451 /* The GNU C library defines this for functions which it implements
59452 to always fail with ENOSYS. Some functions are actually named
59453 something starting with __ and the normal name is an alias. */
59454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59455 choke me
59456 #else
59457 char (*f) () = $ac_func;
59458 #endif
59459 #ifdef __cplusplus
59461 #endif
59464 main ()
59466 return f != $ac_func;
59468 return 0;
59470 _ACEOF
59471 rm -f conftest.$ac_objext conftest$ac_exeext
59472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59473 (eval $ac_link) 2>conftest.er1
59474 ac_status=$?
59475 grep -v '^ *+' conftest.er1 >conftest.err
59476 rm -f conftest.er1
59477 cat conftest.err >&5
59478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59479 (exit $ac_status); } &&
59480 { ac_try='test -z "$ac_c_werror_flag"
59481 || test ! -s conftest.err'
59482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59483 (eval $ac_try) 2>&5
59484 ac_status=$?
59485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486 (exit $ac_status); }; } &&
59487 { ac_try='test -s conftest$ac_exeext'
59488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59489 (eval $ac_try) 2>&5
59490 ac_status=$?
59491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59492 (exit $ac_status); }; }; then
59493 eval "$as_ac_var=yes"
59494 else
59495 echo "$as_me: failed program was:" >&5
59496 sed 's/^/| /' conftest.$ac_ext >&5
59498 eval "$as_ac_var=no"
59500 rm -f conftest.err conftest.$ac_objext \
59501 conftest$ac_exeext conftest.$ac_ext
59503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59505 if test `eval echo '${'$as_ac_var'}'` = yes; then
59506 cat >>confdefs.h <<_ACEOF
59507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59508 _ACEOF
59511 done
59521 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59522 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59523 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59524 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59525 echo $ECHO_N "(cached) $ECHO_C" >&6
59526 else
59530 ac_ext=cc
59531 ac_cpp='$CXXCPP $CPPFLAGS'
59532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59536 cat >conftest.$ac_ext <<_ACEOF
59537 /* confdefs.h. */
59538 _ACEOF
59539 cat confdefs.h >>conftest.$ac_ext
59540 cat >>conftest.$ac_ext <<_ACEOF
59541 /* end confdefs.h. */
59542 #include <math.h>
59543 #ifdef HAVE_IEEEFP_H
59544 #include <ieeefp.h>
59545 #endif
59548 main ()
59550 sqrtl(0);
59552 return 0;
59554 _ACEOF
59555 rm -f conftest.$ac_objext
59556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59557 (eval $ac_compile) 2>conftest.er1
59558 ac_status=$?
59559 grep -v '^ *+' conftest.er1 >conftest.err
59560 rm -f conftest.er1
59561 cat conftest.err >&5
59562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59563 (exit $ac_status); } &&
59564 { ac_try='test -z "$ac_cxx_werror_flag"
59565 || test ! -s conftest.err'
59566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59567 (eval $ac_try) 2>&5
59568 ac_status=$?
59569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59570 (exit $ac_status); }; } &&
59571 { ac_try='test -s conftest.$ac_objext'
59572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59573 (eval $ac_try) 2>&5
59574 ac_status=$?
59575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59576 (exit $ac_status); }; }; then
59577 glibcxx_cv_func_sqrtl_use=yes
59578 else
59579 echo "$as_me: failed program was:" >&5
59580 sed 's/^/| /' conftest.$ac_ext >&5
59582 glibcxx_cv_func_sqrtl_use=no
59584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59585 ac_ext=c
59586 ac_cpp='$CPP $CPPFLAGS'
59587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59596 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59598 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59600 for ac_func in sqrtl
59602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59603 echo "$as_me:$LINENO: checking for $ac_func" >&5
59604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59605 if eval "test \"\${$as_ac_var+set}\" = set"; then
59606 echo $ECHO_N "(cached) $ECHO_C" >&6
59607 else
59608 if test x$gcc_no_link = xyes; then
59609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59611 { (exit 1); exit 1; }; }
59613 cat >conftest.$ac_ext <<_ACEOF
59614 /* confdefs.h. */
59615 _ACEOF
59616 cat confdefs.h >>conftest.$ac_ext
59617 cat >>conftest.$ac_ext <<_ACEOF
59618 /* end confdefs.h. */
59619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59621 #define $ac_func innocuous_$ac_func
59623 /* System header to define __stub macros and hopefully few prototypes,
59624 which can conflict with char $ac_func (); below.
59625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59626 <limits.h> exists even on freestanding compilers. */
59628 #ifdef __STDC__
59629 # include <limits.h>
59630 #else
59631 # include <assert.h>
59632 #endif
59634 #undef $ac_func
59636 /* Override any gcc2 internal prototype to avoid an error. */
59637 #ifdef __cplusplus
59638 extern "C"
59640 #endif
59641 /* We use char because int might match the return type of a gcc2
59642 builtin and then its argument prototype would still apply. */
59643 char $ac_func ();
59644 /* The GNU C library defines this for functions which it implements
59645 to always fail with ENOSYS. Some functions are actually named
59646 something starting with __ and the normal name is an alias. */
59647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59648 choke me
59649 #else
59650 char (*f) () = $ac_func;
59651 #endif
59652 #ifdef __cplusplus
59654 #endif
59657 main ()
59659 return f != $ac_func;
59661 return 0;
59663 _ACEOF
59664 rm -f conftest.$ac_objext conftest$ac_exeext
59665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59666 (eval $ac_link) 2>conftest.er1
59667 ac_status=$?
59668 grep -v '^ *+' conftest.er1 >conftest.err
59669 rm -f conftest.er1
59670 cat conftest.err >&5
59671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59672 (exit $ac_status); } &&
59673 { ac_try='test -z "$ac_c_werror_flag"
59674 || test ! -s conftest.err'
59675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59676 (eval $ac_try) 2>&5
59677 ac_status=$?
59678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59679 (exit $ac_status); }; } &&
59680 { ac_try='test -s conftest$ac_exeext'
59681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59682 (eval $ac_try) 2>&5
59683 ac_status=$?
59684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59685 (exit $ac_status); }; }; then
59686 eval "$as_ac_var=yes"
59687 else
59688 echo "$as_me: failed program was:" >&5
59689 sed 's/^/| /' conftest.$ac_ext >&5
59691 eval "$as_ac_var=no"
59693 rm -f conftest.err conftest.$ac_objext \
59694 conftest$ac_exeext conftest.$ac_ext
59696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59698 if test `eval echo '${'$as_ac_var'}'` = yes; then
59699 cat >>confdefs.h <<_ACEOF
59700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59701 _ACEOF
59704 done
59706 else
59708 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59709 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59710 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59711 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59712 echo $ECHO_N "(cached) $ECHO_C" >&6
59713 else
59717 ac_ext=cc
59718 ac_cpp='$CXXCPP $CPPFLAGS'
59719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59723 cat >conftest.$ac_ext <<_ACEOF
59724 /* confdefs.h. */
59725 _ACEOF
59726 cat confdefs.h >>conftest.$ac_ext
59727 cat >>conftest.$ac_ext <<_ACEOF
59728 /* end confdefs.h. */
59729 #include <math.h>
59730 #ifdef HAVE_IEEEFP_H
59731 #include <ieeefp.h>
59732 #endif
59735 main ()
59737 _sqrtl(0);
59739 return 0;
59741 _ACEOF
59742 rm -f conftest.$ac_objext
59743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59744 (eval $ac_compile) 2>conftest.er1
59745 ac_status=$?
59746 grep -v '^ *+' conftest.er1 >conftest.err
59747 rm -f conftest.er1
59748 cat conftest.err >&5
59749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59750 (exit $ac_status); } &&
59751 { ac_try='test -z "$ac_cxx_werror_flag"
59752 || test ! -s conftest.err'
59753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59754 (eval $ac_try) 2>&5
59755 ac_status=$?
59756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59757 (exit $ac_status); }; } &&
59758 { ac_try='test -s conftest.$ac_objext'
59759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59760 (eval $ac_try) 2>&5
59761 ac_status=$?
59762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59763 (exit $ac_status); }; }; then
59764 glibcxx_cv_func__sqrtl_use=yes
59765 else
59766 echo "$as_me: failed program was:" >&5
59767 sed 's/^/| /' conftest.$ac_ext >&5
59769 glibcxx_cv_func__sqrtl_use=no
59771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59772 ac_ext=c
59773 ac_cpp='$CPP $CPPFLAGS'
59774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59783 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59785 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59787 for ac_func in _sqrtl
59789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59790 echo "$as_me:$LINENO: checking for $ac_func" >&5
59791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59792 if eval "test \"\${$as_ac_var+set}\" = set"; then
59793 echo $ECHO_N "(cached) $ECHO_C" >&6
59794 else
59795 if test x$gcc_no_link = xyes; then
59796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59798 { (exit 1); exit 1; }; }
59800 cat >conftest.$ac_ext <<_ACEOF
59801 /* confdefs.h. */
59802 _ACEOF
59803 cat confdefs.h >>conftest.$ac_ext
59804 cat >>conftest.$ac_ext <<_ACEOF
59805 /* end confdefs.h. */
59806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59808 #define $ac_func innocuous_$ac_func
59810 /* System header to define __stub macros and hopefully few prototypes,
59811 which can conflict with char $ac_func (); below.
59812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59813 <limits.h> exists even on freestanding compilers. */
59815 #ifdef __STDC__
59816 # include <limits.h>
59817 #else
59818 # include <assert.h>
59819 #endif
59821 #undef $ac_func
59823 /* Override any gcc2 internal prototype to avoid an error. */
59824 #ifdef __cplusplus
59825 extern "C"
59827 #endif
59828 /* We use char because int might match the return type of a gcc2
59829 builtin and then its argument prototype would still apply. */
59830 char $ac_func ();
59831 /* The GNU C library defines this for functions which it implements
59832 to always fail with ENOSYS. Some functions are actually named
59833 something starting with __ and the normal name is an alias. */
59834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59835 choke me
59836 #else
59837 char (*f) () = $ac_func;
59838 #endif
59839 #ifdef __cplusplus
59841 #endif
59844 main ()
59846 return f != $ac_func;
59848 return 0;
59850 _ACEOF
59851 rm -f conftest.$ac_objext conftest$ac_exeext
59852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59853 (eval $ac_link) 2>conftest.er1
59854 ac_status=$?
59855 grep -v '^ *+' conftest.er1 >conftest.err
59856 rm -f conftest.er1
59857 cat conftest.err >&5
59858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59859 (exit $ac_status); } &&
59860 { ac_try='test -z "$ac_c_werror_flag"
59861 || test ! -s conftest.err'
59862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59863 (eval $ac_try) 2>&5
59864 ac_status=$?
59865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866 (exit $ac_status); }; } &&
59867 { ac_try='test -s conftest$ac_exeext'
59868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59869 (eval $ac_try) 2>&5
59870 ac_status=$?
59871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59872 (exit $ac_status); }; }; then
59873 eval "$as_ac_var=yes"
59874 else
59875 echo "$as_me: failed program was:" >&5
59876 sed 's/^/| /' conftest.$ac_ext >&5
59878 eval "$as_ac_var=no"
59880 rm -f conftest.err conftest.$ac_objext \
59881 conftest$ac_exeext conftest.$ac_ext
59883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59885 if test `eval echo '${'$as_ac_var'}'` = yes; then
59886 cat >>confdefs.h <<_ACEOF
59887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59888 _ACEOF
59891 done
59901 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59902 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59903 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59904 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59905 echo $ECHO_N "(cached) $ECHO_C" >&6
59906 else
59910 ac_ext=cc
59911 ac_cpp='$CXXCPP $CPPFLAGS'
59912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
59924 main ()
59926 sincosl(0, 0, 0);
59928 return 0;
59930 _ACEOF
59931 rm -f conftest.$ac_objext
59932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59933 (eval $ac_compile) 2>conftest.er1
59934 ac_status=$?
59935 grep -v '^ *+' conftest.er1 >conftest.err
59936 rm -f conftest.er1
59937 cat conftest.err >&5
59938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59939 (exit $ac_status); } &&
59940 { ac_try='test -z "$ac_cxx_werror_flag"
59941 || test ! -s conftest.err'
59942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59943 (eval $ac_try) 2>&5
59944 ac_status=$?
59945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946 (exit $ac_status); }; } &&
59947 { ac_try='test -s conftest.$ac_objext'
59948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59949 (eval $ac_try) 2>&5
59950 ac_status=$?
59951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59952 (exit $ac_status); }; }; then
59953 glibcxx_cv_func_sincosl_use=yes
59954 else
59955 echo "$as_me: failed program was:" >&5
59956 sed 's/^/| /' conftest.$ac_ext >&5
59958 glibcxx_cv_func_sincosl_use=no
59960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59961 ac_ext=c
59962 ac_cpp='$CPP $CPPFLAGS'
59963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59972 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59974 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59976 for ac_func in sincosl
59978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59979 echo "$as_me:$LINENO: checking for $ac_func" >&5
59980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59981 if eval "test \"\${$as_ac_var+set}\" = set"; then
59982 echo $ECHO_N "(cached) $ECHO_C" >&6
59983 else
59984 if test x$gcc_no_link = xyes; then
59985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59987 { (exit 1); exit 1; }; }
59989 cat >conftest.$ac_ext <<_ACEOF
59990 /* confdefs.h. */
59991 _ACEOF
59992 cat confdefs.h >>conftest.$ac_ext
59993 cat >>conftest.$ac_ext <<_ACEOF
59994 /* end confdefs.h. */
59995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59997 #define $ac_func innocuous_$ac_func
59999 /* System header to define __stub macros and hopefully few prototypes,
60000 which can conflict with char $ac_func (); below.
60001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60002 <limits.h> exists even on freestanding compilers. */
60004 #ifdef __STDC__
60005 # include <limits.h>
60006 #else
60007 # include <assert.h>
60008 #endif
60010 #undef $ac_func
60012 /* Override any gcc2 internal prototype to avoid an error. */
60013 #ifdef __cplusplus
60014 extern "C"
60016 #endif
60017 /* We use char because int might match the return type of a gcc2
60018 builtin and then its argument prototype would still apply. */
60019 char $ac_func ();
60020 /* The GNU C library defines this for functions which it implements
60021 to always fail with ENOSYS. Some functions are actually named
60022 something starting with __ and the normal name is an alias. */
60023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60024 choke me
60025 #else
60026 char (*f) () = $ac_func;
60027 #endif
60028 #ifdef __cplusplus
60030 #endif
60033 main ()
60035 return f != $ac_func;
60037 return 0;
60039 _ACEOF
60040 rm -f conftest.$ac_objext conftest$ac_exeext
60041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60042 (eval $ac_link) 2>conftest.er1
60043 ac_status=$?
60044 grep -v '^ *+' conftest.er1 >conftest.err
60045 rm -f conftest.er1
60046 cat conftest.err >&5
60047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60048 (exit $ac_status); } &&
60049 { ac_try='test -z "$ac_c_werror_flag"
60050 || test ! -s conftest.err'
60051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60052 (eval $ac_try) 2>&5
60053 ac_status=$?
60054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60055 (exit $ac_status); }; } &&
60056 { ac_try='test -s conftest$ac_exeext'
60057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60058 (eval $ac_try) 2>&5
60059 ac_status=$?
60060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60061 (exit $ac_status); }; }; then
60062 eval "$as_ac_var=yes"
60063 else
60064 echo "$as_me: failed program was:" >&5
60065 sed 's/^/| /' conftest.$ac_ext >&5
60067 eval "$as_ac_var=no"
60069 rm -f conftest.err conftest.$ac_objext \
60070 conftest$ac_exeext conftest.$ac_ext
60072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60074 if test `eval echo '${'$as_ac_var'}'` = yes; then
60075 cat >>confdefs.h <<_ACEOF
60076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60077 _ACEOF
60080 done
60082 else
60084 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60085 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60086 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60087 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60088 echo $ECHO_N "(cached) $ECHO_C" >&6
60089 else
60093 ac_ext=cc
60094 ac_cpp='$CXXCPP $CPPFLAGS'
60095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
60107 main ()
60109 _sincosl(0, 0, 0);
60111 return 0;
60113 _ACEOF
60114 rm -f conftest.$ac_objext
60115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60116 (eval $ac_compile) 2>conftest.er1
60117 ac_status=$?
60118 grep -v '^ *+' conftest.er1 >conftest.err
60119 rm -f conftest.er1
60120 cat conftest.err >&5
60121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122 (exit $ac_status); } &&
60123 { ac_try='test -z "$ac_cxx_werror_flag"
60124 || test ! -s conftest.err'
60125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60126 (eval $ac_try) 2>&5
60127 ac_status=$?
60128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60129 (exit $ac_status); }; } &&
60130 { ac_try='test -s conftest.$ac_objext'
60131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60132 (eval $ac_try) 2>&5
60133 ac_status=$?
60134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60135 (exit $ac_status); }; }; then
60136 glibcxx_cv_func__sincosl_use=yes
60137 else
60138 echo "$as_me: failed program was:" >&5
60139 sed 's/^/| /' conftest.$ac_ext >&5
60141 glibcxx_cv_func__sincosl_use=no
60143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60144 ac_ext=c
60145 ac_cpp='$CPP $CPPFLAGS'
60146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60155 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60157 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60159 for ac_func in _sincosl
60161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60162 echo "$as_me:$LINENO: checking for $ac_func" >&5
60163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60164 if eval "test \"\${$as_ac_var+set}\" = set"; then
60165 echo $ECHO_N "(cached) $ECHO_C" >&6
60166 else
60167 if test x$gcc_no_link = xyes; then
60168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60170 { (exit 1); exit 1; }; }
60172 cat >conftest.$ac_ext <<_ACEOF
60173 /* confdefs.h. */
60174 _ACEOF
60175 cat confdefs.h >>conftest.$ac_ext
60176 cat >>conftest.$ac_ext <<_ACEOF
60177 /* end confdefs.h. */
60178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60180 #define $ac_func innocuous_$ac_func
60182 /* System header to define __stub macros and hopefully few prototypes,
60183 which can conflict with char $ac_func (); below.
60184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60185 <limits.h> exists even on freestanding compilers. */
60187 #ifdef __STDC__
60188 # include <limits.h>
60189 #else
60190 # include <assert.h>
60191 #endif
60193 #undef $ac_func
60195 /* Override any gcc2 internal prototype to avoid an error. */
60196 #ifdef __cplusplus
60197 extern "C"
60199 #endif
60200 /* We use char because int might match the return type of a gcc2
60201 builtin and then its argument prototype would still apply. */
60202 char $ac_func ();
60203 /* The GNU C library defines this for functions which it implements
60204 to always fail with ENOSYS. Some functions are actually named
60205 something starting with __ and the normal name is an alias. */
60206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60207 choke me
60208 #else
60209 char (*f) () = $ac_func;
60210 #endif
60211 #ifdef __cplusplus
60213 #endif
60216 main ()
60218 return f != $ac_func;
60220 return 0;
60222 _ACEOF
60223 rm -f conftest.$ac_objext conftest$ac_exeext
60224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60225 (eval $ac_link) 2>conftest.er1
60226 ac_status=$?
60227 grep -v '^ *+' conftest.er1 >conftest.err
60228 rm -f conftest.er1
60229 cat conftest.err >&5
60230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60231 (exit $ac_status); } &&
60232 { ac_try='test -z "$ac_c_werror_flag"
60233 || test ! -s conftest.err'
60234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60235 (eval $ac_try) 2>&5
60236 ac_status=$?
60237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60238 (exit $ac_status); }; } &&
60239 { ac_try='test -s conftest$ac_exeext'
60240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60241 (eval $ac_try) 2>&5
60242 ac_status=$?
60243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60244 (exit $ac_status); }; }; then
60245 eval "$as_ac_var=yes"
60246 else
60247 echo "$as_me: failed program was:" >&5
60248 sed 's/^/| /' conftest.$ac_ext >&5
60250 eval "$as_ac_var=no"
60252 rm -f conftest.err conftest.$ac_objext \
60253 conftest$ac_exeext conftest.$ac_ext
60255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60257 if test `eval echo '${'$as_ac_var'}'` = yes; then
60258 cat >>confdefs.h <<_ACEOF
60259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60260 _ACEOF
60263 done
60273 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60274 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60275 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60276 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60277 echo $ECHO_N "(cached) $ECHO_C" >&6
60278 else
60282 ac_ext=cc
60283 ac_cpp='$CXXCPP $CPPFLAGS'
60284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60288 cat >conftest.$ac_ext <<_ACEOF
60289 /* confdefs.h. */
60290 _ACEOF
60291 cat confdefs.h >>conftest.$ac_ext
60292 cat >>conftest.$ac_ext <<_ACEOF
60293 /* end confdefs.h. */
60294 #include <math.h>
60295 #ifdef HAVE_IEEEFP_H
60296 #include <ieeefp.h>
60297 #endif
60300 main ()
60302 finitel(0);
60304 return 0;
60306 _ACEOF
60307 rm -f conftest.$ac_objext
60308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60309 (eval $ac_compile) 2>conftest.er1
60310 ac_status=$?
60311 grep -v '^ *+' conftest.er1 >conftest.err
60312 rm -f conftest.er1
60313 cat conftest.err >&5
60314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60315 (exit $ac_status); } &&
60316 { ac_try='test -z "$ac_cxx_werror_flag"
60317 || test ! -s conftest.err'
60318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60319 (eval $ac_try) 2>&5
60320 ac_status=$?
60321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60322 (exit $ac_status); }; } &&
60323 { ac_try='test -s conftest.$ac_objext'
60324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60325 (eval $ac_try) 2>&5
60326 ac_status=$?
60327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60328 (exit $ac_status); }; }; then
60329 glibcxx_cv_func_finitel_use=yes
60330 else
60331 echo "$as_me: failed program was:" >&5
60332 sed 's/^/| /' conftest.$ac_ext >&5
60334 glibcxx_cv_func_finitel_use=no
60336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60337 ac_ext=c
60338 ac_cpp='$CPP $CPPFLAGS'
60339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60348 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60350 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60352 for ac_func in finitel
60354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60355 echo "$as_me:$LINENO: checking for $ac_func" >&5
60356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60357 if eval "test \"\${$as_ac_var+set}\" = set"; then
60358 echo $ECHO_N "(cached) $ECHO_C" >&6
60359 else
60360 if test x$gcc_no_link = xyes; then
60361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60363 { (exit 1); exit 1; }; }
60365 cat >conftest.$ac_ext <<_ACEOF
60366 /* confdefs.h. */
60367 _ACEOF
60368 cat confdefs.h >>conftest.$ac_ext
60369 cat >>conftest.$ac_ext <<_ACEOF
60370 /* end confdefs.h. */
60371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60373 #define $ac_func innocuous_$ac_func
60375 /* System header to define __stub macros and hopefully few prototypes,
60376 which can conflict with char $ac_func (); below.
60377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60378 <limits.h> exists even on freestanding compilers. */
60380 #ifdef __STDC__
60381 # include <limits.h>
60382 #else
60383 # include <assert.h>
60384 #endif
60386 #undef $ac_func
60388 /* Override any gcc2 internal prototype to avoid an error. */
60389 #ifdef __cplusplus
60390 extern "C"
60392 #endif
60393 /* We use char because int might match the return type of a gcc2
60394 builtin and then its argument prototype would still apply. */
60395 char $ac_func ();
60396 /* The GNU C library defines this for functions which it implements
60397 to always fail with ENOSYS. Some functions are actually named
60398 something starting with __ and the normal name is an alias. */
60399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60400 choke me
60401 #else
60402 char (*f) () = $ac_func;
60403 #endif
60404 #ifdef __cplusplus
60406 #endif
60409 main ()
60411 return f != $ac_func;
60413 return 0;
60415 _ACEOF
60416 rm -f conftest.$ac_objext conftest$ac_exeext
60417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60418 (eval $ac_link) 2>conftest.er1
60419 ac_status=$?
60420 grep -v '^ *+' conftest.er1 >conftest.err
60421 rm -f conftest.er1
60422 cat conftest.err >&5
60423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60424 (exit $ac_status); } &&
60425 { ac_try='test -z "$ac_c_werror_flag"
60426 || test ! -s conftest.err'
60427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60428 (eval $ac_try) 2>&5
60429 ac_status=$?
60430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60431 (exit $ac_status); }; } &&
60432 { ac_try='test -s conftest$ac_exeext'
60433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60434 (eval $ac_try) 2>&5
60435 ac_status=$?
60436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60437 (exit $ac_status); }; }; then
60438 eval "$as_ac_var=yes"
60439 else
60440 echo "$as_me: failed program was:" >&5
60441 sed 's/^/| /' conftest.$ac_ext >&5
60443 eval "$as_ac_var=no"
60445 rm -f conftest.err conftest.$ac_objext \
60446 conftest$ac_exeext conftest.$ac_ext
60448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60450 if test `eval echo '${'$as_ac_var'}'` = yes; then
60451 cat >>confdefs.h <<_ACEOF
60452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60453 _ACEOF
60456 done
60458 else
60460 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60461 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60462 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60463 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60464 echo $ECHO_N "(cached) $ECHO_C" >&6
60465 else
60469 ac_ext=cc
60470 ac_cpp='$CXXCPP $CPPFLAGS'
60471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60475 cat >conftest.$ac_ext <<_ACEOF
60476 /* confdefs.h. */
60477 _ACEOF
60478 cat confdefs.h >>conftest.$ac_ext
60479 cat >>conftest.$ac_ext <<_ACEOF
60480 /* end confdefs.h. */
60481 #include <math.h>
60482 #ifdef HAVE_IEEEFP_H
60483 #include <ieeefp.h>
60484 #endif
60487 main ()
60489 _finitel(0);
60491 return 0;
60493 _ACEOF
60494 rm -f conftest.$ac_objext
60495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60496 (eval $ac_compile) 2>conftest.er1
60497 ac_status=$?
60498 grep -v '^ *+' conftest.er1 >conftest.err
60499 rm -f conftest.er1
60500 cat conftest.err >&5
60501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60502 (exit $ac_status); } &&
60503 { ac_try='test -z "$ac_cxx_werror_flag"
60504 || test ! -s conftest.err'
60505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60506 (eval $ac_try) 2>&5
60507 ac_status=$?
60508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60509 (exit $ac_status); }; } &&
60510 { ac_try='test -s conftest.$ac_objext'
60511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60512 (eval $ac_try) 2>&5
60513 ac_status=$?
60514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60515 (exit $ac_status); }; }; then
60516 glibcxx_cv_func__finitel_use=yes
60517 else
60518 echo "$as_me: failed program was:" >&5
60519 sed 's/^/| /' conftest.$ac_ext >&5
60521 glibcxx_cv_func__finitel_use=no
60523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60524 ac_ext=c
60525 ac_cpp='$CPP $CPPFLAGS'
60526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60535 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60537 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60539 for ac_func in _finitel
60541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60542 echo "$as_me:$LINENO: checking for $ac_func" >&5
60543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60544 if eval "test \"\${$as_ac_var+set}\" = set"; then
60545 echo $ECHO_N "(cached) $ECHO_C" >&6
60546 else
60547 if test x$gcc_no_link = xyes; then
60548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60550 { (exit 1); exit 1; }; }
60552 cat >conftest.$ac_ext <<_ACEOF
60553 /* confdefs.h. */
60554 _ACEOF
60555 cat confdefs.h >>conftest.$ac_ext
60556 cat >>conftest.$ac_ext <<_ACEOF
60557 /* end confdefs.h. */
60558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60560 #define $ac_func innocuous_$ac_func
60562 /* System header to define __stub macros and hopefully few prototypes,
60563 which can conflict with char $ac_func (); below.
60564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60565 <limits.h> exists even on freestanding compilers. */
60567 #ifdef __STDC__
60568 # include <limits.h>
60569 #else
60570 # include <assert.h>
60571 #endif
60573 #undef $ac_func
60575 /* Override any gcc2 internal prototype to avoid an error. */
60576 #ifdef __cplusplus
60577 extern "C"
60579 #endif
60580 /* We use char because int might match the return type of a gcc2
60581 builtin and then its argument prototype would still apply. */
60582 char $ac_func ();
60583 /* The GNU C library defines this for functions which it implements
60584 to always fail with ENOSYS. Some functions are actually named
60585 something starting with __ and the normal name is an alias. */
60586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60587 choke me
60588 #else
60589 char (*f) () = $ac_func;
60590 #endif
60591 #ifdef __cplusplus
60593 #endif
60596 main ()
60598 return f != $ac_func;
60600 return 0;
60602 _ACEOF
60603 rm -f conftest.$ac_objext conftest$ac_exeext
60604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60605 (eval $ac_link) 2>conftest.er1
60606 ac_status=$?
60607 grep -v '^ *+' conftest.er1 >conftest.err
60608 rm -f conftest.er1
60609 cat conftest.err >&5
60610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60611 (exit $ac_status); } &&
60612 { ac_try='test -z "$ac_c_werror_flag"
60613 || test ! -s conftest.err'
60614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60615 (eval $ac_try) 2>&5
60616 ac_status=$?
60617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60618 (exit $ac_status); }; } &&
60619 { ac_try='test -s conftest$ac_exeext'
60620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60621 (eval $ac_try) 2>&5
60622 ac_status=$?
60623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60624 (exit $ac_status); }; }; then
60625 eval "$as_ac_var=yes"
60626 else
60627 echo "$as_me: failed program was:" >&5
60628 sed 's/^/| /' conftest.$ac_ext >&5
60630 eval "$as_ac_var=no"
60632 rm -f conftest.err conftest.$ac_objext \
60633 conftest$ac_exeext conftest.$ac_ext
60635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60637 if test `eval echo '${'$as_ac_var'}'` = yes; then
60638 cat >>confdefs.h <<_ACEOF
60639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60640 _ACEOF
60643 done
60652 LIBS="$ac_save_LIBS"
60653 CXXFLAGS="$ac_save_CXXFLAGS"
60657 echo "$as_me:$LINENO: checking for main in -lm" >&5
60658 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
60659 if test "${ac_cv_lib_m_main+set}" = set; then
60660 echo $ECHO_N "(cached) $ECHO_C" >&6
60661 else
60662 ac_check_lib_save_LIBS=$LIBS
60663 LIBS="-lm $LIBS"
60664 if test x$gcc_no_link = xyes; then
60665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60667 { (exit 1); exit 1; }; }
60669 cat >conftest.$ac_ext <<_ACEOF
60670 /* confdefs.h. */
60671 _ACEOF
60672 cat confdefs.h >>conftest.$ac_ext
60673 cat >>conftest.$ac_ext <<_ACEOF
60674 /* end confdefs.h. */
60678 main ()
60680 main ();
60682 return 0;
60684 _ACEOF
60685 rm -f conftest.$ac_objext conftest$ac_exeext
60686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60687 (eval $ac_link) 2>conftest.er1
60688 ac_status=$?
60689 grep -v '^ *+' conftest.er1 >conftest.err
60690 rm -f conftest.er1
60691 cat conftest.err >&5
60692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60693 (exit $ac_status); } &&
60694 { ac_try='test -z "$ac_c_werror_flag"
60695 || test ! -s conftest.err'
60696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60697 (eval $ac_try) 2>&5
60698 ac_status=$?
60699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60700 (exit $ac_status); }; } &&
60701 { ac_try='test -s conftest$ac_exeext'
60702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60703 (eval $ac_try) 2>&5
60704 ac_status=$?
60705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60706 (exit $ac_status); }; }; then
60707 ac_cv_lib_m_main=yes
60708 else
60709 echo "$as_me: failed program was:" >&5
60710 sed 's/^/| /' conftest.$ac_ext >&5
60712 ac_cv_lib_m_main=no
60714 rm -f conftest.err conftest.$ac_objext \
60715 conftest$ac_exeext conftest.$ac_ext
60716 LIBS=$ac_check_lib_save_LIBS
60718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
60719 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
60720 if test $ac_cv_lib_m_main = yes; then
60721 cat >>confdefs.h <<_ACEOF
60722 #define HAVE_LIBM 1
60723 _ACEOF
60725 LIBS="-lm $LIBS"
60730 for ac_func in copysignf
60732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60733 echo "$as_me:$LINENO: checking for $ac_func" >&5
60734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60735 if eval "test \"\${$as_ac_var+set}\" = set"; then
60736 echo $ECHO_N "(cached) $ECHO_C" >&6
60737 else
60738 if test x$gcc_no_link = xyes; then
60739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60741 { (exit 1); exit 1; }; }
60743 cat >conftest.$ac_ext <<_ACEOF
60744 /* confdefs.h. */
60745 _ACEOF
60746 cat confdefs.h >>conftest.$ac_ext
60747 cat >>conftest.$ac_ext <<_ACEOF
60748 /* end confdefs.h. */
60749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60751 #define $ac_func innocuous_$ac_func
60753 /* System header to define __stub macros and hopefully few prototypes,
60754 which can conflict with char $ac_func (); below.
60755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60756 <limits.h> exists even on freestanding compilers. */
60758 #ifdef __STDC__
60759 # include <limits.h>
60760 #else
60761 # include <assert.h>
60762 #endif
60764 #undef $ac_func
60766 /* Override any gcc2 internal prototype to avoid an error. */
60767 #ifdef __cplusplus
60768 extern "C"
60770 #endif
60771 /* We use char because int might match the return type of a gcc2
60772 builtin and then its argument prototype would still apply. */
60773 char $ac_func ();
60774 /* The GNU C library defines this for functions which it implements
60775 to always fail with ENOSYS. Some functions are actually named
60776 something starting with __ and the normal name is an alias. */
60777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60778 choke me
60779 #else
60780 char (*f) () = $ac_func;
60781 #endif
60782 #ifdef __cplusplus
60784 #endif
60787 main ()
60789 return f != $ac_func;
60791 return 0;
60793 _ACEOF
60794 rm -f conftest.$ac_objext conftest$ac_exeext
60795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60796 (eval $ac_link) 2>conftest.er1
60797 ac_status=$?
60798 grep -v '^ *+' conftest.er1 >conftest.err
60799 rm -f conftest.er1
60800 cat conftest.err >&5
60801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60802 (exit $ac_status); } &&
60803 { ac_try='test -z "$ac_c_werror_flag"
60804 || test ! -s conftest.err'
60805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60806 (eval $ac_try) 2>&5
60807 ac_status=$?
60808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60809 (exit $ac_status); }; } &&
60810 { ac_try='test -s conftest$ac_exeext'
60811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60812 (eval $ac_try) 2>&5
60813 ac_status=$?
60814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60815 (exit $ac_status); }; }; then
60816 eval "$as_ac_var=yes"
60817 else
60818 echo "$as_me: failed program was:" >&5
60819 sed 's/^/| /' conftest.$ac_ext >&5
60821 eval "$as_ac_var=no"
60823 rm -f conftest.err conftest.$ac_objext \
60824 conftest$ac_exeext conftest.$ac_ext
60826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60828 if test `eval echo '${'$as_ac_var'}'` = yes; then
60829 cat >>confdefs.h <<_ACEOF
60830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60831 _ACEOF
60833 else
60834 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
60836 done
60840 for ac_func in __signbit
60842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60843 echo "$as_me:$LINENO: checking for $ac_func" >&5
60844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60845 if eval "test \"\${$as_ac_var+set}\" = set"; then
60846 echo $ECHO_N "(cached) $ECHO_C" >&6
60847 else
60848 if test x$gcc_no_link = xyes; then
60849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60851 { (exit 1); exit 1; }; }
60853 cat >conftest.$ac_ext <<_ACEOF
60854 /* confdefs.h. */
60855 _ACEOF
60856 cat confdefs.h >>conftest.$ac_ext
60857 cat >>conftest.$ac_ext <<_ACEOF
60858 /* end confdefs.h. */
60859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60861 #define $ac_func innocuous_$ac_func
60863 /* System header to define __stub macros and hopefully few prototypes,
60864 which can conflict with char $ac_func (); below.
60865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60866 <limits.h> exists even on freestanding compilers. */
60868 #ifdef __STDC__
60869 # include <limits.h>
60870 #else
60871 # include <assert.h>
60872 #endif
60874 #undef $ac_func
60876 /* Override any gcc2 internal prototype to avoid an error. */
60877 #ifdef __cplusplus
60878 extern "C"
60880 #endif
60881 /* We use char because int might match the return type of a gcc2
60882 builtin and then its argument prototype would still apply. */
60883 char $ac_func ();
60884 /* The GNU C library defines this for functions which it implements
60885 to always fail with ENOSYS. Some functions are actually named
60886 something starting with __ and the normal name is an alias. */
60887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60888 choke me
60889 #else
60890 char (*f) () = $ac_func;
60891 #endif
60892 #ifdef __cplusplus
60894 #endif
60897 main ()
60899 return f != $ac_func;
60901 return 0;
60903 _ACEOF
60904 rm -f conftest.$ac_objext conftest$ac_exeext
60905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60906 (eval $ac_link) 2>conftest.er1
60907 ac_status=$?
60908 grep -v '^ *+' conftest.er1 >conftest.err
60909 rm -f conftest.er1
60910 cat conftest.err >&5
60911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60912 (exit $ac_status); } &&
60913 { ac_try='test -z "$ac_c_werror_flag"
60914 || test ! -s conftest.err'
60915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60916 (eval $ac_try) 2>&5
60917 ac_status=$?
60918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60919 (exit $ac_status); }; } &&
60920 { ac_try='test -s conftest$ac_exeext'
60921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60922 (eval $ac_try) 2>&5
60923 ac_status=$?
60924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60925 (exit $ac_status); }; }; then
60926 eval "$as_ac_var=yes"
60927 else
60928 echo "$as_me: failed program was:" >&5
60929 sed 's/^/| /' conftest.$ac_ext >&5
60931 eval "$as_ac_var=no"
60933 rm -f conftest.err conftest.$ac_objext \
60934 conftest$ac_exeext conftest.$ac_ext
60936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60938 if test `eval echo '${'$as_ac_var'}'` = yes; then
60939 cat >>confdefs.h <<_ACEOF
60940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60941 _ACEOF
60943 else
60944 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
60946 done
60950 for ac_func in __signbitf
60952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60953 echo "$as_me:$LINENO: checking for $ac_func" >&5
60954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60955 if eval "test \"\${$as_ac_var+set}\" = set"; then
60956 echo $ECHO_N "(cached) $ECHO_C" >&6
60957 else
60958 if test x$gcc_no_link = xyes; then
60959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60961 { (exit 1); exit 1; }; }
60963 cat >conftest.$ac_ext <<_ACEOF
60964 /* confdefs.h. */
60965 _ACEOF
60966 cat confdefs.h >>conftest.$ac_ext
60967 cat >>conftest.$ac_ext <<_ACEOF
60968 /* end confdefs.h. */
60969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60971 #define $ac_func innocuous_$ac_func
60973 /* System header to define __stub macros and hopefully few prototypes,
60974 which can conflict with char $ac_func (); below.
60975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60976 <limits.h> exists even on freestanding compilers. */
60978 #ifdef __STDC__
60979 # include <limits.h>
60980 #else
60981 # include <assert.h>
60982 #endif
60984 #undef $ac_func
60986 /* Override any gcc2 internal prototype to avoid an error. */
60987 #ifdef __cplusplus
60988 extern "C"
60990 #endif
60991 /* We use char because int might match the return type of a gcc2
60992 builtin and then its argument prototype would still apply. */
60993 char $ac_func ();
60994 /* The GNU C library defines this for functions which it implements
60995 to always fail with ENOSYS. Some functions are actually named
60996 something starting with __ and the normal name is an alias. */
60997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60998 choke me
60999 #else
61000 char (*f) () = $ac_func;
61001 #endif
61002 #ifdef __cplusplus
61004 #endif
61007 main ()
61009 return f != $ac_func;
61011 return 0;
61013 _ACEOF
61014 rm -f conftest.$ac_objext conftest$ac_exeext
61015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61016 (eval $ac_link) 2>conftest.er1
61017 ac_status=$?
61018 grep -v '^ *+' conftest.er1 >conftest.err
61019 rm -f conftest.er1
61020 cat conftest.err >&5
61021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61022 (exit $ac_status); } &&
61023 { ac_try='test -z "$ac_c_werror_flag"
61024 || test ! -s conftest.err'
61025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61026 (eval $ac_try) 2>&5
61027 ac_status=$?
61028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61029 (exit $ac_status); }; } &&
61030 { ac_try='test -s conftest$ac_exeext'
61031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61032 (eval $ac_try) 2>&5
61033 ac_status=$?
61034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61035 (exit $ac_status); }; }; then
61036 eval "$as_ac_var=yes"
61037 else
61038 echo "$as_me: failed program was:" >&5
61039 sed 's/^/| /' conftest.$ac_ext >&5
61041 eval "$as_ac_var=no"
61043 rm -f conftest.err conftest.$ac_objext \
61044 conftest$ac_exeext conftest.$ac_ext
61046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61048 if test `eval echo '${'$as_ac_var'}'` = yes; then
61049 cat >>confdefs.h <<_ACEOF
61050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61051 _ACEOF
61053 else
61054 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
61056 done
61059 if test x$ac_cv_func_copysignl = x"yes"; then
61061 for ac_func in __signbitl
61063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61064 echo "$as_me:$LINENO: checking for $ac_func" >&5
61065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61066 if eval "test \"\${$as_ac_var+set}\" = set"; then
61067 echo $ECHO_N "(cached) $ECHO_C" >&6
61068 else
61069 if test x$gcc_no_link = xyes; then
61070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61072 { (exit 1); exit 1; }; }
61074 cat >conftest.$ac_ext <<_ACEOF
61075 /* confdefs.h. */
61076 _ACEOF
61077 cat confdefs.h >>conftest.$ac_ext
61078 cat >>conftest.$ac_ext <<_ACEOF
61079 /* end confdefs.h. */
61080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61082 #define $ac_func innocuous_$ac_func
61084 /* System header to define __stub macros and hopefully few prototypes,
61085 which can conflict with char $ac_func (); below.
61086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61087 <limits.h> exists even on freestanding compilers. */
61089 #ifdef __STDC__
61090 # include <limits.h>
61091 #else
61092 # include <assert.h>
61093 #endif
61095 #undef $ac_func
61097 /* Override any gcc2 internal prototype to avoid an error. */
61098 #ifdef __cplusplus
61099 extern "C"
61101 #endif
61102 /* We use char because int might match the return type of a gcc2
61103 builtin and then its argument prototype would still apply. */
61104 char $ac_func ();
61105 /* The GNU C library defines this for functions which it implements
61106 to always fail with ENOSYS. Some functions are actually named
61107 something starting with __ and the normal name is an alias. */
61108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61109 choke me
61110 #else
61111 char (*f) () = $ac_func;
61112 #endif
61113 #ifdef __cplusplus
61115 #endif
61118 main ()
61120 return f != $ac_func;
61122 return 0;
61124 _ACEOF
61125 rm -f conftest.$ac_objext conftest$ac_exeext
61126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61127 (eval $ac_link) 2>conftest.er1
61128 ac_status=$?
61129 grep -v '^ *+' conftest.er1 >conftest.err
61130 rm -f conftest.er1
61131 cat conftest.err >&5
61132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61133 (exit $ac_status); } &&
61134 { ac_try='test -z "$ac_c_werror_flag"
61135 || test ! -s conftest.err'
61136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61137 (eval $ac_try) 2>&5
61138 ac_status=$?
61139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61140 (exit $ac_status); }; } &&
61141 { ac_try='test -s conftest$ac_exeext'
61142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61143 (eval $ac_try) 2>&5
61144 ac_status=$?
61145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61146 (exit $ac_status); }; }; then
61147 eval "$as_ac_var=yes"
61148 else
61149 echo "$as_me: failed program was:" >&5
61150 sed 's/^/| /' conftest.$ac_ext >&5
61152 eval "$as_ac_var=no"
61154 rm -f conftest.err conftest.$ac_objext \
61155 conftest$ac_exeext conftest.$ac_ext
61157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61159 if test `eval echo '${'$as_ac_var'}'` = yes; then
61160 cat >>confdefs.h <<_ACEOF
61161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61162 _ACEOF
61164 else
61165 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61167 done
61171 # Used in libmath/Makefile.am.
61172 if test -n "$LIBMATHOBJS"; then
61173 need_libmath=yes
61178 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61179 ac_save_CXXFLAGS="$CXXFLAGS"
61180 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61183 echo "$as_me:$LINENO: checking for strtold declaration" >&5
61184 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
61185 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61186 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
61187 echo $ECHO_N "(cached) $ECHO_C" >&6
61188 else
61192 ac_ext=cc
61193 ac_cpp='$CXXCPP $CPPFLAGS'
61194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61198 cat >conftest.$ac_ext <<_ACEOF
61199 /* confdefs.h. */
61200 _ACEOF
61201 cat confdefs.h >>conftest.$ac_ext
61202 cat >>conftest.$ac_ext <<_ACEOF
61203 /* end confdefs.h. */
61204 #include <stdlib.h>
61206 main ()
61208 strtold(0, 0);
61210 return 0;
61212 _ACEOF
61213 rm -f conftest.$ac_objext
61214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61215 (eval $ac_compile) 2>conftest.er1
61216 ac_status=$?
61217 grep -v '^ *+' conftest.er1 >conftest.err
61218 rm -f conftest.er1
61219 cat conftest.err >&5
61220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61221 (exit $ac_status); } &&
61222 { ac_try='test -z "$ac_cxx_werror_flag"
61223 || test ! -s conftest.err'
61224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61225 (eval $ac_try) 2>&5
61226 ac_status=$?
61227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61228 (exit $ac_status); }; } &&
61229 { ac_try='test -s conftest.$ac_objext'
61230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61231 (eval $ac_try) 2>&5
61232 ac_status=$?
61233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61234 (exit $ac_status); }; }; then
61235 glibcxx_cv_func_strtold_use=yes
61236 else
61237 echo "$as_me: failed program was:" >&5
61238 sed 's/^/| /' conftest.$ac_ext >&5
61240 glibcxx_cv_func_strtold_use=no
61242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61243 ac_ext=c
61244 ac_cpp='$CPP $CPPFLAGS'
61245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61254 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
61255 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61257 for ac_func in strtold
61259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61260 echo "$as_me:$LINENO: checking for $ac_func" >&5
61261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61262 if eval "test \"\${$as_ac_var+set}\" = set"; then
61263 echo $ECHO_N "(cached) $ECHO_C" >&6
61264 else
61265 if test x$gcc_no_link = xyes; then
61266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61268 { (exit 1); exit 1; }; }
61270 cat >conftest.$ac_ext <<_ACEOF
61271 /* confdefs.h. */
61272 _ACEOF
61273 cat confdefs.h >>conftest.$ac_ext
61274 cat >>conftest.$ac_ext <<_ACEOF
61275 /* end confdefs.h. */
61276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61278 #define $ac_func innocuous_$ac_func
61280 /* System header to define __stub macros and hopefully few prototypes,
61281 which can conflict with char $ac_func (); below.
61282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61283 <limits.h> exists even on freestanding compilers. */
61285 #ifdef __STDC__
61286 # include <limits.h>
61287 #else
61288 # include <assert.h>
61289 #endif
61291 #undef $ac_func
61293 /* Override any gcc2 internal prototype to avoid an error. */
61294 #ifdef __cplusplus
61295 extern "C"
61297 #endif
61298 /* We use char because int might match the return type of a gcc2
61299 builtin and then its argument prototype would still apply. */
61300 char $ac_func ();
61301 /* The GNU C library defines this for functions which it implements
61302 to always fail with ENOSYS. Some functions are actually named
61303 something starting with __ and the normal name is an alias. */
61304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61305 choke me
61306 #else
61307 char (*f) () = $ac_func;
61308 #endif
61309 #ifdef __cplusplus
61311 #endif
61314 main ()
61316 return f != $ac_func;
61318 return 0;
61320 _ACEOF
61321 rm -f conftest.$ac_objext conftest$ac_exeext
61322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61323 (eval $ac_link) 2>conftest.er1
61324 ac_status=$?
61325 grep -v '^ *+' conftest.er1 >conftest.err
61326 rm -f conftest.er1
61327 cat conftest.err >&5
61328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61329 (exit $ac_status); } &&
61330 { ac_try='test -z "$ac_c_werror_flag"
61331 || test ! -s conftest.err'
61332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61333 (eval $ac_try) 2>&5
61334 ac_status=$?
61335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61336 (exit $ac_status); }; } &&
61337 { ac_try='test -s conftest$ac_exeext'
61338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61339 (eval $ac_try) 2>&5
61340 ac_status=$?
61341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61342 (exit $ac_status); }; }; then
61343 eval "$as_ac_var=yes"
61344 else
61345 echo "$as_me: failed program was:" >&5
61346 sed 's/^/| /' conftest.$ac_ext >&5
61348 eval "$as_ac_var=no"
61350 rm -f conftest.err conftest.$ac_objext \
61351 conftest$ac_exeext conftest.$ac_ext
61353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61355 if test `eval echo '${'$as_ac_var'}'` = yes; then
61356 cat >>confdefs.h <<_ACEOF
61357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61358 _ACEOF
61361 done
61369 echo "$as_me:$LINENO: checking for strtof declaration" >&5
61370 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
61371 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61372 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61373 echo $ECHO_N "(cached) $ECHO_C" >&6
61374 else
61378 ac_ext=cc
61379 ac_cpp='$CXXCPP $CPPFLAGS'
61380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61384 cat >conftest.$ac_ext <<_ACEOF
61385 /* confdefs.h. */
61386 _ACEOF
61387 cat confdefs.h >>conftest.$ac_ext
61388 cat >>conftest.$ac_ext <<_ACEOF
61389 /* end confdefs.h. */
61390 #include <stdlib.h>
61392 main ()
61394 strtof(0, 0);
61396 return 0;
61398 _ACEOF
61399 rm -f conftest.$ac_objext
61400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61401 (eval $ac_compile) 2>conftest.er1
61402 ac_status=$?
61403 grep -v '^ *+' conftest.er1 >conftest.err
61404 rm -f conftest.er1
61405 cat conftest.err >&5
61406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61407 (exit $ac_status); } &&
61408 { ac_try='test -z "$ac_cxx_werror_flag"
61409 || test ! -s conftest.err'
61410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61411 (eval $ac_try) 2>&5
61412 ac_status=$?
61413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61414 (exit $ac_status); }; } &&
61415 { ac_try='test -s conftest.$ac_objext'
61416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61417 (eval $ac_try) 2>&5
61418 ac_status=$?
61419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61420 (exit $ac_status); }; }; then
61421 glibcxx_cv_func_strtof_use=yes
61422 else
61423 echo "$as_me: failed program was:" >&5
61424 sed 's/^/| /' conftest.$ac_ext >&5
61426 glibcxx_cv_func_strtof_use=no
61428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61429 ac_ext=c
61430 ac_cpp='$CPP $CPPFLAGS'
61431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61440 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
61441 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61443 for ac_func in strtof
61445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61446 echo "$as_me:$LINENO: checking for $ac_func" >&5
61447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61448 if eval "test \"\${$as_ac_var+set}\" = set"; then
61449 echo $ECHO_N "(cached) $ECHO_C" >&6
61450 else
61451 if test x$gcc_no_link = xyes; then
61452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61454 { (exit 1); exit 1; }; }
61456 cat >conftest.$ac_ext <<_ACEOF
61457 /* confdefs.h. */
61458 _ACEOF
61459 cat confdefs.h >>conftest.$ac_ext
61460 cat >>conftest.$ac_ext <<_ACEOF
61461 /* end confdefs.h. */
61462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61464 #define $ac_func innocuous_$ac_func
61466 /* System header to define __stub macros and hopefully few prototypes,
61467 which can conflict with char $ac_func (); below.
61468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61469 <limits.h> exists even on freestanding compilers. */
61471 #ifdef __STDC__
61472 # include <limits.h>
61473 #else
61474 # include <assert.h>
61475 #endif
61477 #undef $ac_func
61479 /* Override any gcc2 internal prototype to avoid an error. */
61480 #ifdef __cplusplus
61481 extern "C"
61483 #endif
61484 /* We use char because int might match the return type of a gcc2
61485 builtin and then its argument prototype would still apply. */
61486 char $ac_func ();
61487 /* The GNU C library defines this for functions which it implements
61488 to always fail with ENOSYS. Some functions are actually named
61489 something starting with __ and the normal name is an alias. */
61490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61491 choke me
61492 #else
61493 char (*f) () = $ac_func;
61494 #endif
61495 #ifdef __cplusplus
61497 #endif
61500 main ()
61502 return f != $ac_func;
61504 return 0;
61506 _ACEOF
61507 rm -f conftest.$ac_objext conftest$ac_exeext
61508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61509 (eval $ac_link) 2>conftest.er1
61510 ac_status=$?
61511 grep -v '^ *+' conftest.er1 >conftest.err
61512 rm -f conftest.er1
61513 cat conftest.err >&5
61514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61515 (exit $ac_status); } &&
61516 { ac_try='test -z "$ac_c_werror_flag"
61517 || test ! -s conftest.err'
61518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61519 (eval $ac_try) 2>&5
61520 ac_status=$?
61521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61522 (exit $ac_status); }; } &&
61523 { ac_try='test -s conftest$ac_exeext'
61524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61525 (eval $ac_try) 2>&5
61526 ac_status=$?
61527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61528 (exit $ac_status); }; }; then
61529 eval "$as_ac_var=yes"
61530 else
61531 echo "$as_me: failed program was:" >&5
61532 sed 's/^/| /' conftest.$ac_ext >&5
61534 eval "$as_ac_var=no"
61536 rm -f conftest.err conftest.$ac_objext \
61537 conftest$ac_exeext conftest.$ac_ext
61539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61541 if test `eval echo '${'$as_ac_var'}'` = yes; then
61542 cat >>confdefs.h <<_ACEOF
61543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61544 _ACEOF
61547 done
61555 CXXFLAGS="$ac_save_CXXFLAGS"
61558 cat >>confdefs.h <<\_ACEOF
61559 #define HAVE_LIBM 1
61560 _ACEOF
61562 cat >>confdefs.h <<\_ACEOF
61563 #define HAVE_COPYSIGN 1
61564 _ACEOF
61566 cat >>confdefs.h <<\_ACEOF
61567 #define HAVE_FINITE 1
61568 _ACEOF
61570 cat >>confdefs.h <<\_ACEOF
61571 #define HAVE_HYPOT 1
61572 _ACEOF
61574 cat >>confdefs.h <<\_ACEOF
61575 #define HAVE_ISNAN 1
61576 _ACEOF
61578 cat >>confdefs.h <<\_ACEOF
61579 #define HAVE_ISINF 1
61580 _ACEOF
61583 cat >>confdefs.h <<\_ACEOF
61584 #define HAVE_LDEXPF 1
61585 _ACEOF
61587 cat >>confdefs.h <<\_ACEOF
61588 #define HAVE_MODF 1
61589 _ACEOF
61591 cat >>confdefs.h <<\_ACEOF
61592 #define HAVE_SQRTF 1
61593 _ACEOF
61597 *-darwin*)
61598 # Darwin versions vary, but the linker should work in a cross environment,
61599 # so we just check for all the features here.
61600 # Check for available headers.
61602 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
61604 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61605 ac_save_CXXFLAGS="$CXXFLAGS"
61606 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61608 echo "$as_me:$LINENO: checking for sin in -lm" >&5
61609 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
61610 if test "${ac_cv_lib_m_sin+set}" = set; then
61611 echo $ECHO_N "(cached) $ECHO_C" >&6
61612 else
61613 ac_check_lib_save_LIBS=$LIBS
61614 LIBS="-lm $LIBS"
61615 if test x$gcc_no_link = xyes; then
61616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61618 { (exit 1); exit 1; }; }
61620 cat >conftest.$ac_ext <<_ACEOF
61621 /* confdefs.h. */
61622 _ACEOF
61623 cat confdefs.h >>conftest.$ac_ext
61624 cat >>conftest.$ac_ext <<_ACEOF
61625 /* end confdefs.h. */
61627 /* Override any gcc2 internal prototype to avoid an error. */
61628 #ifdef __cplusplus
61629 extern "C"
61630 #endif
61631 /* We use char because int might match the return type of a gcc2
61632 builtin and then its argument prototype would still apply. */
61633 char sin ();
61635 main ()
61637 sin ();
61639 return 0;
61641 _ACEOF
61642 rm -f conftest.$ac_objext conftest$ac_exeext
61643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61644 (eval $ac_link) 2>conftest.er1
61645 ac_status=$?
61646 grep -v '^ *+' conftest.er1 >conftest.err
61647 rm -f conftest.er1
61648 cat conftest.err >&5
61649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61650 (exit $ac_status); } &&
61651 { ac_try='test -z "$ac_c_werror_flag"
61652 || test ! -s conftest.err'
61653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61654 (eval $ac_try) 2>&5
61655 ac_status=$?
61656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61657 (exit $ac_status); }; } &&
61658 { ac_try='test -s conftest$ac_exeext'
61659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61660 (eval $ac_try) 2>&5
61661 ac_status=$?
61662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61663 (exit $ac_status); }; }; then
61664 ac_cv_lib_m_sin=yes
61665 else
61666 echo "$as_me: failed program was:" >&5
61667 sed 's/^/| /' conftest.$ac_ext >&5
61669 ac_cv_lib_m_sin=no
61671 rm -f conftest.err conftest.$ac_objext \
61672 conftest$ac_exeext conftest.$ac_ext
61673 LIBS=$ac_check_lib_save_LIBS
61675 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
61676 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
61677 if test $ac_cv_lib_m_sin = yes; then
61678 libm="-lm"
61681 ac_save_LIBS="$LIBS"
61682 LIBS="$LIBS $libm"
61686 echo "$as_me:$LINENO: checking for isinf declaration" >&5
61687 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
61688 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61689 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
61690 echo $ECHO_N "(cached) $ECHO_C" >&6
61691 else
61695 ac_ext=cc
61696 ac_cpp='$CXXCPP $CPPFLAGS'
61697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61701 cat >conftest.$ac_ext <<_ACEOF
61702 /* confdefs.h. */
61703 _ACEOF
61704 cat confdefs.h >>conftest.$ac_ext
61705 cat >>conftest.$ac_ext <<_ACEOF
61706 /* end confdefs.h. */
61707 #include <math.h>
61708 #ifdef HAVE_IEEEFP_H
61709 #include <ieeefp.h>
61710 #endif
61713 main ()
61715 isinf(0);
61717 return 0;
61719 _ACEOF
61720 rm -f conftest.$ac_objext
61721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61722 (eval $ac_compile) 2>conftest.er1
61723 ac_status=$?
61724 grep -v '^ *+' conftest.er1 >conftest.err
61725 rm -f conftest.er1
61726 cat conftest.err >&5
61727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61728 (exit $ac_status); } &&
61729 { ac_try='test -z "$ac_cxx_werror_flag"
61730 || test ! -s conftest.err'
61731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61732 (eval $ac_try) 2>&5
61733 ac_status=$?
61734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61735 (exit $ac_status); }; } &&
61736 { ac_try='test -s conftest.$ac_objext'
61737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61738 (eval $ac_try) 2>&5
61739 ac_status=$?
61740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61741 (exit $ac_status); }; }; then
61742 glibcxx_cv_func_isinf_use=yes
61743 else
61744 echo "$as_me: failed program was:" >&5
61745 sed 's/^/| /' conftest.$ac_ext >&5
61747 glibcxx_cv_func_isinf_use=no
61749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61750 ac_ext=c
61751 ac_cpp='$CPP $CPPFLAGS'
61752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
61761 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
61763 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61765 for ac_func in isinf
61767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61768 echo "$as_me:$LINENO: checking for $ac_func" >&5
61769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61770 if eval "test \"\${$as_ac_var+set}\" = set"; then
61771 echo $ECHO_N "(cached) $ECHO_C" >&6
61772 else
61773 if test x$gcc_no_link = xyes; then
61774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61776 { (exit 1); exit 1; }; }
61778 cat >conftest.$ac_ext <<_ACEOF
61779 /* confdefs.h. */
61780 _ACEOF
61781 cat confdefs.h >>conftest.$ac_ext
61782 cat >>conftest.$ac_ext <<_ACEOF
61783 /* end confdefs.h. */
61784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61786 #define $ac_func innocuous_$ac_func
61788 /* System header to define __stub macros and hopefully few prototypes,
61789 which can conflict with char $ac_func (); below.
61790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61791 <limits.h> exists even on freestanding compilers. */
61793 #ifdef __STDC__
61794 # include <limits.h>
61795 #else
61796 # include <assert.h>
61797 #endif
61799 #undef $ac_func
61801 /* Override any gcc2 internal prototype to avoid an error. */
61802 #ifdef __cplusplus
61803 extern "C"
61805 #endif
61806 /* We use char because int might match the return type of a gcc2
61807 builtin and then its argument prototype would still apply. */
61808 char $ac_func ();
61809 /* The GNU C library defines this for functions which it implements
61810 to always fail with ENOSYS. Some functions are actually named
61811 something starting with __ and the normal name is an alias. */
61812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61813 choke me
61814 #else
61815 char (*f) () = $ac_func;
61816 #endif
61817 #ifdef __cplusplus
61819 #endif
61822 main ()
61824 return f != $ac_func;
61826 return 0;
61828 _ACEOF
61829 rm -f conftest.$ac_objext conftest$ac_exeext
61830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61831 (eval $ac_link) 2>conftest.er1
61832 ac_status=$?
61833 grep -v '^ *+' conftest.er1 >conftest.err
61834 rm -f conftest.er1
61835 cat conftest.err >&5
61836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61837 (exit $ac_status); } &&
61838 { ac_try='test -z "$ac_c_werror_flag"
61839 || test ! -s conftest.err'
61840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61841 (eval $ac_try) 2>&5
61842 ac_status=$?
61843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61844 (exit $ac_status); }; } &&
61845 { ac_try='test -s conftest$ac_exeext'
61846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61847 (eval $ac_try) 2>&5
61848 ac_status=$?
61849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61850 (exit $ac_status); }; }; then
61851 eval "$as_ac_var=yes"
61852 else
61853 echo "$as_me: failed program was:" >&5
61854 sed 's/^/| /' conftest.$ac_ext >&5
61856 eval "$as_ac_var=no"
61858 rm -f conftest.err conftest.$ac_objext \
61859 conftest$ac_exeext conftest.$ac_ext
61861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61863 if test `eval echo '${'$as_ac_var'}'` = yes; then
61864 cat >>confdefs.h <<_ACEOF
61865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61866 _ACEOF
61869 done
61871 else
61873 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
61874 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
61875 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61876 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
61877 echo $ECHO_N "(cached) $ECHO_C" >&6
61878 else
61882 ac_ext=cc
61883 ac_cpp='$CXXCPP $CPPFLAGS'
61884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61888 cat >conftest.$ac_ext <<_ACEOF
61889 /* confdefs.h. */
61890 _ACEOF
61891 cat confdefs.h >>conftest.$ac_ext
61892 cat >>conftest.$ac_ext <<_ACEOF
61893 /* end confdefs.h. */
61894 #include <math.h>
61895 #ifdef HAVE_IEEEFP_H
61896 #include <ieeefp.h>
61897 #endif
61900 main ()
61902 _isinf(0);
61904 return 0;
61906 _ACEOF
61907 rm -f conftest.$ac_objext
61908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61909 (eval $ac_compile) 2>conftest.er1
61910 ac_status=$?
61911 grep -v '^ *+' conftest.er1 >conftest.err
61912 rm -f conftest.er1
61913 cat conftest.err >&5
61914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61915 (exit $ac_status); } &&
61916 { ac_try='test -z "$ac_cxx_werror_flag"
61917 || test ! -s conftest.err'
61918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61919 (eval $ac_try) 2>&5
61920 ac_status=$?
61921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61922 (exit $ac_status); }; } &&
61923 { ac_try='test -s conftest.$ac_objext'
61924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61925 (eval $ac_try) 2>&5
61926 ac_status=$?
61927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61928 (exit $ac_status); }; }; then
61929 glibcxx_cv_func__isinf_use=yes
61930 else
61931 echo "$as_me: failed program was:" >&5
61932 sed 's/^/| /' conftest.$ac_ext >&5
61934 glibcxx_cv_func__isinf_use=no
61936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61937 ac_ext=c
61938 ac_cpp='$CPP $CPPFLAGS'
61939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
61948 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
61950 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61952 for ac_func in _isinf
61954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61955 echo "$as_me:$LINENO: checking for $ac_func" >&5
61956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61957 if eval "test \"\${$as_ac_var+set}\" = set"; then
61958 echo $ECHO_N "(cached) $ECHO_C" >&6
61959 else
61960 if test x$gcc_no_link = xyes; then
61961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61963 { (exit 1); exit 1; }; }
61965 cat >conftest.$ac_ext <<_ACEOF
61966 /* confdefs.h. */
61967 _ACEOF
61968 cat confdefs.h >>conftest.$ac_ext
61969 cat >>conftest.$ac_ext <<_ACEOF
61970 /* end confdefs.h. */
61971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61973 #define $ac_func innocuous_$ac_func
61975 /* System header to define __stub macros and hopefully few prototypes,
61976 which can conflict with char $ac_func (); below.
61977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61978 <limits.h> exists even on freestanding compilers. */
61980 #ifdef __STDC__
61981 # include <limits.h>
61982 #else
61983 # include <assert.h>
61984 #endif
61986 #undef $ac_func
61988 /* Override any gcc2 internal prototype to avoid an error. */
61989 #ifdef __cplusplus
61990 extern "C"
61992 #endif
61993 /* We use char because int might match the return type of a gcc2
61994 builtin and then its argument prototype would still apply. */
61995 char $ac_func ();
61996 /* The GNU C library defines this for functions which it implements
61997 to always fail with ENOSYS. Some functions are actually named
61998 something starting with __ and the normal name is an alias. */
61999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62000 choke me
62001 #else
62002 char (*f) () = $ac_func;
62003 #endif
62004 #ifdef __cplusplus
62006 #endif
62009 main ()
62011 return f != $ac_func;
62013 return 0;
62015 _ACEOF
62016 rm -f conftest.$ac_objext conftest$ac_exeext
62017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62018 (eval $ac_link) 2>conftest.er1
62019 ac_status=$?
62020 grep -v '^ *+' conftest.er1 >conftest.err
62021 rm -f conftest.er1
62022 cat conftest.err >&5
62023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62024 (exit $ac_status); } &&
62025 { ac_try='test -z "$ac_c_werror_flag"
62026 || test ! -s conftest.err'
62027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62028 (eval $ac_try) 2>&5
62029 ac_status=$?
62030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62031 (exit $ac_status); }; } &&
62032 { ac_try='test -s conftest$ac_exeext'
62033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62034 (eval $ac_try) 2>&5
62035 ac_status=$?
62036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62037 (exit $ac_status); }; }; then
62038 eval "$as_ac_var=yes"
62039 else
62040 echo "$as_me: failed program was:" >&5
62041 sed 's/^/| /' conftest.$ac_ext >&5
62043 eval "$as_ac_var=no"
62045 rm -f conftest.err conftest.$ac_objext \
62046 conftest$ac_exeext conftest.$ac_ext
62048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62050 if test `eval echo '${'$as_ac_var'}'` = yes; then
62051 cat >>confdefs.h <<_ACEOF
62052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62053 _ACEOF
62056 done
62066 echo "$as_me:$LINENO: checking for isnan declaration" >&5
62067 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
62068 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
62069 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
62070 echo $ECHO_N "(cached) $ECHO_C" >&6
62071 else
62075 ac_ext=cc
62076 ac_cpp='$CXXCPP $CPPFLAGS'
62077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62081 cat >conftest.$ac_ext <<_ACEOF
62082 /* confdefs.h. */
62083 _ACEOF
62084 cat confdefs.h >>conftest.$ac_ext
62085 cat >>conftest.$ac_ext <<_ACEOF
62086 /* end confdefs.h. */
62087 #include <math.h>
62088 #ifdef HAVE_IEEEFP_H
62089 #include <ieeefp.h>
62090 #endif
62093 main ()
62095 isnan(0);
62097 return 0;
62099 _ACEOF
62100 rm -f conftest.$ac_objext
62101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62102 (eval $ac_compile) 2>conftest.er1
62103 ac_status=$?
62104 grep -v '^ *+' conftest.er1 >conftest.err
62105 rm -f conftest.er1
62106 cat conftest.err >&5
62107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62108 (exit $ac_status); } &&
62109 { ac_try='test -z "$ac_cxx_werror_flag"
62110 || test ! -s conftest.err'
62111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62112 (eval $ac_try) 2>&5
62113 ac_status=$?
62114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62115 (exit $ac_status); }; } &&
62116 { ac_try='test -s conftest.$ac_objext'
62117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62118 (eval $ac_try) 2>&5
62119 ac_status=$?
62120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62121 (exit $ac_status); }; }; then
62122 glibcxx_cv_func_isnan_use=yes
62123 else
62124 echo "$as_me: failed program was:" >&5
62125 sed 's/^/| /' conftest.$ac_ext >&5
62127 glibcxx_cv_func_isnan_use=no
62129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62130 ac_ext=c
62131 ac_cpp='$CPP $CPPFLAGS'
62132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
62141 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
62143 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
62145 for ac_func in isnan
62147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62148 echo "$as_me:$LINENO: checking for $ac_func" >&5
62149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62150 if eval "test \"\${$as_ac_var+set}\" = set"; then
62151 echo $ECHO_N "(cached) $ECHO_C" >&6
62152 else
62153 if test x$gcc_no_link = xyes; then
62154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62156 { (exit 1); exit 1; }; }
62158 cat >conftest.$ac_ext <<_ACEOF
62159 /* confdefs.h. */
62160 _ACEOF
62161 cat confdefs.h >>conftest.$ac_ext
62162 cat >>conftest.$ac_ext <<_ACEOF
62163 /* end confdefs.h. */
62164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62166 #define $ac_func innocuous_$ac_func
62168 /* System header to define __stub macros and hopefully few prototypes,
62169 which can conflict with char $ac_func (); below.
62170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62171 <limits.h> exists even on freestanding compilers. */
62173 #ifdef __STDC__
62174 # include <limits.h>
62175 #else
62176 # include <assert.h>
62177 #endif
62179 #undef $ac_func
62181 /* Override any gcc2 internal prototype to avoid an error. */
62182 #ifdef __cplusplus
62183 extern "C"
62185 #endif
62186 /* We use char because int might match the return type of a gcc2
62187 builtin and then its argument prototype would still apply. */
62188 char $ac_func ();
62189 /* The GNU C library defines this for functions which it implements
62190 to always fail with ENOSYS. Some functions are actually named
62191 something starting with __ and the normal name is an alias. */
62192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62193 choke me
62194 #else
62195 char (*f) () = $ac_func;
62196 #endif
62197 #ifdef __cplusplus
62199 #endif
62202 main ()
62204 return f != $ac_func;
62206 return 0;
62208 _ACEOF
62209 rm -f conftest.$ac_objext conftest$ac_exeext
62210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62211 (eval $ac_link) 2>conftest.er1
62212 ac_status=$?
62213 grep -v '^ *+' conftest.er1 >conftest.err
62214 rm -f conftest.er1
62215 cat conftest.err >&5
62216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62217 (exit $ac_status); } &&
62218 { ac_try='test -z "$ac_c_werror_flag"
62219 || test ! -s conftest.err'
62220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62221 (eval $ac_try) 2>&5
62222 ac_status=$?
62223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62224 (exit $ac_status); }; } &&
62225 { ac_try='test -s conftest$ac_exeext'
62226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62227 (eval $ac_try) 2>&5
62228 ac_status=$?
62229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62230 (exit $ac_status); }; }; then
62231 eval "$as_ac_var=yes"
62232 else
62233 echo "$as_me: failed program was:" >&5
62234 sed 's/^/| /' conftest.$ac_ext >&5
62236 eval "$as_ac_var=no"
62238 rm -f conftest.err conftest.$ac_objext \
62239 conftest$ac_exeext conftest.$ac_ext
62241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62243 if test `eval echo '${'$as_ac_var'}'` = yes; then
62244 cat >>confdefs.h <<_ACEOF
62245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62246 _ACEOF
62249 done
62251 else
62253 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
62254 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
62255 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
62256 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
62257 echo $ECHO_N "(cached) $ECHO_C" >&6
62258 else
62262 ac_ext=cc
62263 ac_cpp='$CXXCPP $CPPFLAGS'
62264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62268 cat >conftest.$ac_ext <<_ACEOF
62269 /* confdefs.h. */
62270 _ACEOF
62271 cat confdefs.h >>conftest.$ac_ext
62272 cat >>conftest.$ac_ext <<_ACEOF
62273 /* end confdefs.h. */
62274 #include <math.h>
62275 #ifdef HAVE_IEEEFP_H
62276 #include <ieeefp.h>
62277 #endif
62280 main ()
62282 _isnan(0);
62284 return 0;
62286 _ACEOF
62287 rm -f conftest.$ac_objext
62288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62289 (eval $ac_compile) 2>conftest.er1
62290 ac_status=$?
62291 grep -v '^ *+' conftest.er1 >conftest.err
62292 rm -f conftest.er1
62293 cat conftest.err >&5
62294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62295 (exit $ac_status); } &&
62296 { ac_try='test -z "$ac_cxx_werror_flag"
62297 || test ! -s conftest.err'
62298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62299 (eval $ac_try) 2>&5
62300 ac_status=$?
62301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62302 (exit $ac_status); }; } &&
62303 { ac_try='test -s conftest.$ac_objext'
62304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62305 (eval $ac_try) 2>&5
62306 ac_status=$?
62307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62308 (exit $ac_status); }; }; then
62309 glibcxx_cv_func__isnan_use=yes
62310 else
62311 echo "$as_me: failed program was:" >&5
62312 sed 's/^/| /' conftest.$ac_ext >&5
62314 glibcxx_cv_func__isnan_use=no
62316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62317 ac_ext=c
62318 ac_cpp='$CPP $CPPFLAGS'
62319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
62328 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
62330 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
62332 for ac_func in _isnan
62334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62335 echo "$as_me:$LINENO: checking for $ac_func" >&5
62336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62337 if eval "test \"\${$as_ac_var+set}\" = set"; then
62338 echo $ECHO_N "(cached) $ECHO_C" >&6
62339 else
62340 if test x$gcc_no_link = xyes; then
62341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62343 { (exit 1); exit 1; }; }
62345 cat >conftest.$ac_ext <<_ACEOF
62346 /* confdefs.h. */
62347 _ACEOF
62348 cat confdefs.h >>conftest.$ac_ext
62349 cat >>conftest.$ac_ext <<_ACEOF
62350 /* end confdefs.h. */
62351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62353 #define $ac_func innocuous_$ac_func
62355 /* System header to define __stub macros and hopefully few prototypes,
62356 which can conflict with char $ac_func (); below.
62357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62358 <limits.h> exists even on freestanding compilers. */
62360 #ifdef __STDC__
62361 # include <limits.h>
62362 #else
62363 # include <assert.h>
62364 #endif
62366 #undef $ac_func
62368 /* Override any gcc2 internal prototype to avoid an error. */
62369 #ifdef __cplusplus
62370 extern "C"
62372 #endif
62373 /* We use char because int might match the return type of a gcc2
62374 builtin and then its argument prototype would still apply. */
62375 char $ac_func ();
62376 /* The GNU C library defines this for functions which it implements
62377 to always fail with ENOSYS. Some functions are actually named
62378 something starting with __ and the normal name is an alias. */
62379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62380 choke me
62381 #else
62382 char (*f) () = $ac_func;
62383 #endif
62384 #ifdef __cplusplus
62386 #endif
62389 main ()
62391 return f != $ac_func;
62393 return 0;
62395 _ACEOF
62396 rm -f conftest.$ac_objext conftest$ac_exeext
62397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62398 (eval $ac_link) 2>conftest.er1
62399 ac_status=$?
62400 grep -v '^ *+' conftest.er1 >conftest.err
62401 rm -f conftest.er1
62402 cat conftest.err >&5
62403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62404 (exit $ac_status); } &&
62405 { ac_try='test -z "$ac_c_werror_flag"
62406 || test ! -s conftest.err'
62407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62408 (eval $ac_try) 2>&5
62409 ac_status=$?
62410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62411 (exit $ac_status); }; } &&
62412 { ac_try='test -s conftest$ac_exeext'
62413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62414 (eval $ac_try) 2>&5
62415 ac_status=$?
62416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62417 (exit $ac_status); }; }; then
62418 eval "$as_ac_var=yes"
62419 else
62420 echo "$as_me: failed program was:" >&5
62421 sed 's/^/| /' conftest.$ac_ext >&5
62423 eval "$as_ac_var=no"
62425 rm -f conftest.err conftest.$ac_objext \
62426 conftest$ac_exeext conftest.$ac_ext
62428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62430 if test `eval echo '${'$as_ac_var'}'` = yes; then
62431 cat >>confdefs.h <<_ACEOF
62432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62433 _ACEOF
62436 done
62446 echo "$as_me:$LINENO: checking for finite declaration" >&5
62447 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
62448 if test x${glibcxx_cv_func_finite_use+set} != xset; then
62449 if test "${glibcxx_cv_func_finite_use+set}" = set; then
62450 echo $ECHO_N "(cached) $ECHO_C" >&6
62451 else
62455 ac_ext=cc
62456 ac_cpp='$CXXCPP $CPPFLAGS'
62457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62461 cat >conftest.$ac_ext <<_ACEOF
62462 /* confdefs.h. */
62463 _ACEOF
62464 cat confdefs.h >>conftest.$ac_ext
62465 cat >>conftest.$ac_ext <<_ACEOF
62466 /* end confdefs.h. */
62467 #include <math.h>
62468 #ifdef HAVE_IEEEFP_H
62469 #include <ieeefp.h>
62470 #endif
62473 main ()
62475 finite(0);
62477 return 0;
62479 _ACEOF
62480 rm -f conftest.$ac_objext
62481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62482 (eval $ac_compile) 2>conftest.er1
62483 ac_status=$?
62484 grep -v '^ *+' conftest.er1 >conftest.err
62485 rm -f conftest.er1
62486 cat conftest.err >&5
62487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62488 (exit $ac_status); } &&
62489 { ac_try='test -z "$ac_cxx_werror_flag"
62490 || test ! -s conftest.err'
62491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62492 (eval $ac_try) 2>&5
62493 ac_status=$?
62494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62495 (exit $ac_status); }; } &&
62496 { ac_try='test -s conftest.$ac_objext'
62497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62498 (eval $ac_try) 2>&5
62499 ac_status=$?
62500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62501 (exit $ac_status); }; }; then
62502 glibcxx_cv_func_finite_use=yes
62503 else
62504 echo "$as_me: failed program was:" >&5
62505 sed 's/^/| /' conftest.$ac_ext >&5
62507 glibcxx_cv_func_finite_use=no
62509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62510 ac_ext=c
62511 ac_cpp='$CPP $CPPFLAGS'
62512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
62521 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
62523 if test x$glibcxx_cv_func_finite_use = x"yes"; then
62525 for ac_func in finite
62527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62528 echo "$as_me:$LINENO: checking for $ac_func" >&5
62529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62530 if eval "test \"\${$as_ac_var+set}\" = set"; then
62531 echo $ECHO_N "(cached) $ECHO_C" >&6
62532 else
62533 if test x$gcc_no_link = xyes; then
62534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62536 { (exit 1); exit 1; }; }
62538 cat >conftest.$ac_ext <<_ACEOF
62539 /* confdefs.h. */
62540 _ACEOF
62541 cat confdefs.h >>conftest.$ac_ext
62542 cat >>conftest.$ac_ext <<_ACEOF
62543 /* end confdefs.h. */
62544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62546 #define $ac_func innocuous_$ac_func
62548 /* System header to define __stub macros and hopefully few prototypes,
62549 which can conflict with char $ac_func (); below.
62550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62551 <limits.h> exists even on freestanding compilers. */
62553 #ifdef __STDC__
62554 # include <limits.h>
62555 #else
62556 # include <assert.h>
62557 #endif
62559 #undef $ac_func
62561 /* Override any gcc2 internal prototype to avoid an error. */
62562 #ifdef __cplusplus
62563 extern "C"
62565 #endif
62566 /* We use char because int might match the return type of a gcc2
62567 builtin and then its argument prototype would still apply. */
62568 char $ac_func ();
62569 /* The GNU C library defines this for functions which it implements
62570 to always fail with ENOSYS. Some functions are actually named
62571 something starting with __ and the normal name is an alias. */
62572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62573 choke me
62574 #else
62575 char (*f) () = $ac_func;
62576 #endif
62577 #ifdef __cplusplus
62579 #endif
62582 main ()
62584 return f != $ac_func;
62586 return 0;
62588 _ACEOF
62589 rm -f conftest.$ac_objext conftest$ac_exeext
62590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62591 (eval $ac_link) 2>conftest.er1
62592 ac_status=$?
62593 grep -v '^ *+' conftest.er1 >conftest.err
62594 rm -f conftest.er1
62595 cat conftest.err >&5
62596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62597 (exit $ac_status); } &&
62598 { ac_try='test -z "$ac_c_werror_flag"
62599 || test ! -s conftest.err'
62600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62601 (eval $ac_try) 2>&5
62602 ac_status=$?
62603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62604 (exit $ac_status); }; } &&
62605 { ac_try='test -s conftest$ac_exeext'
62606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62607 (eval $ac_try) 2>&5
62608 ac_status=$?
62609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62610 (exit $ac_status); }; }; then
62611 eval "$as_ac_var=yes"
62612 else
62613 echo "$as_me: failed program was:" >&5
62614 sed 's/^/| /' conftest.$ac_ext >&5
62616 eval "$as_ac_var=no"
62618 rm -f conftest.err conftest.$ac_objext \
62619 conftest$ac_exeext conftest.$ac_ext
62621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62623 if test `eval echo '${'$as_ac_var'}'` = yes; then
62624 cat >>confdefs.h <<_ACEOF
62625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62626 _ACEOF
62629 done
62631 else
62633 echo "$as_me:$LINENO: checking for _finite declaration" >&5
62634 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
62635 if test x${glibcxx_cv_func__finite_use+set} != xset; then
62636 if test "${glibcxx_cv_func__finite_use+set}" = set; then
62637 echo $ECHO_N "(cached) $ECHO_C" >&6
62638 else
62642 ac_ext=cc
62643 ac_cpp='$CXXCPP $CPPFLAGS'
62644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62648 cat >conftest.$ac_ext <<_ACEOF
62649 /* confdefs.h. */
62650 _ACEOF
62651 cat confdefs.h >>conftest.$ac_ext
62652 cat >>conftest.$ac_ext <<_ACEOF
62653 /* end confdefs.h. */
62654 #include <math.h>
62655 #ifdef HAVE_IEEEFP_H
62656 #include <ieeefp.h>
62657 #endif
62660 main ()
62662 _finite(0);
62664 return 0;
62666 _ACEOF
62667 rm -f conftest.$ac_objext
62668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62669 (eval $ac_compile) 2>conftest.er1
62670 ac_status=$?
62671 grep -v '^ *+' conftest.er1 >conftest.err
62672 rm -f conftest.er1
62673 cat conftest.err >&5
62674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62675 (exit $ac_status); } &&
62676 { ac_try='test -z "$ac_cxx_werror_flag"
62677 || test ! -s conftest.err'
62678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62679 (eval $ac_try) 2>&5
62680 ac_status=$?
62681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62682 (exit $ac_status); }; } &&
62683 { ac_try='test -s conftest.$ac_objext'
62684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62685 (eval $ac_try) 2>&5
62686 ac_status=$?
62687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62688 (exit $ac_status); }; }; then
62689 glibcxx_cv_func__finite_use=yes
62690 else
62691 echo "$as_me: failed program was:" >&5
62692 sed 's/^/| /' conftest.$ac_ext >&5
62694 glibcxx_cv_func__finite_use=no
62696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62697 ac_ext=c
62698 ac_cpp='$CPP $CPPFLAGS'
62699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
62708 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
62710 if test x$glibcxx_cv_func__finite_use = x"yes"; then
62712 for ac_func in _finite
62714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62715 echo "$as_me:$LINENO: checking for $ac_func" >&5
62716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62717 if eval "test \"\${$as_ac_var+set}\" = set"; then
62718 echo $ECHO_N "(cached) $ECHO_C" >&6
62719 else
62720 if test x$gcc_no_link = xyes; then
62721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62723 { (exit 1); exit 1; }; }
62725 cat >conftest.$ac_ext <<_ACEOF
62726 /* confdefs.h. */
62727 _ACEOF
62728 cat confdefs.h >>conftest.$ac_ext
62729 cat >>conftest.$ac_ext <<_ACEOF
62730 /* end confdefs.h. */
62731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62733 #define $ac_func innocuous_$ac_func
62735 /* System header to define __stub macros and hopefully few prototypes,
62736 which can conflict with char $ac_func (); below.
62737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62738 <limits.h> exists even on freestanding compilers. */
62740 #ifdef __STDC__
62741 # include <limits.h>
62742 #else
62743 # include <assert.h>
62744 #endif
62746 #undef $ac_func
62748 /* Override any gcc2 internal prototype to avoid an error. */
62749 #ifdef __cplusplus
62750 extern "C"
62752 #endif
62753 /* We use char because int might match the return type of a gcc2
62754 builtin and then its argument prototype would still apply. */
62755 char $ac_func ();
62756 /* The GNU C library defines this for functions which it implements
62757 to always fail with ENOSYS. Some functions are actually named
62758 something starting with __ and the normal name is an alias. */
62759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62760 choke me
62761 #else
62762 char (*f) () = $ac_func;
62763 #endif
62764 #ifdef __cplusplus
62766 #endif
62769 main ()
62771 return f != $ac_func;
62773 return 0;
62775 _ACEOF
62776 rm -f conftest.$ac_objext conftest$ac_exeext
62777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62778 (eval $ac_link) 2>conftest.er1
62779 ac_status=$?
62780 grep -v '^ *+' conftest.er1 >conftest.err
62781 rm -f conftest.er1
62782 cat conftest.err >&5
62783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62784 (exit $ac_status); } &&
62785 { ac_try='test -z "$ac_c_werror_flag"
62786 || test ! -s conftest.err'
62787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62788 (eval $ac_try) 2>&5
62789 ac_status=$?
62790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62791 (exit $ac_status); }; } &&
62792 { ac_try='test -s conftest$ac_exeext'
62793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62794 (eval $ac_try) 2>&5
62795 ac_status=$?
62796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62797 (exit $ac_status); }; }; then
62798 eval "$as_ac_var=yes"
62799 else
62800 echo "$as_me: failed program was:" >&5
62801 sed 's/^/| /' conftest.$ac_ext >&5
62803 eval "$as_ac_var=no"
62805 rm -f conftest.err conftest.$ac_objext \
62806 conftest$ac_exeext conftest.$ac_ext
62808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62810 if test `eval echo '${'$as_ac_var'}'` = yes; then
62811 cat >>confdefs.h <<_ACEOF
62812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62813 _ACEOF
62816 done
62826 echo "$as_me:$LINENO: checking for copysign declaration" >&5
62827 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
62828 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
62829 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
62830 echo $ECHO_N "(cached) $ECHO_C" >&6
62831 else
62835 ac_ext=cc
62836 ac_cpp='$CXXCPP $CPPFLAGS'
62837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
62849 main ()
62851 copysign(0, 0);
62853 return 0;
62855 _ACEOF
62856 rm -f conftest.$ac_objext
62857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62858 (eval $ac_compile) 2>conftest.er1
62859 ac_status=$?
62860 grep -v '^ *+' conftest.er1 >conftest.err
62861 rm -f conftest.er1
62862 cat conftest.err >&5
62863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62864 (exit $ac_status); } &&
62865 { ac_try='test -z "$ac_cxx_werror_flag"
62866 || test ! -s conftest.err'
62867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62868 (eval $ac_try) 2>&5
62869 ac_status=$?
62870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62871 (exit $ac_status); }; } &&
62872 { ac_try='test -s conftest.$ac_objext'
62873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62874 (eval $ac_try) 2>&5
62875 ac_status=$?
62876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62877 (exit $ac_status); }; }; then
62878 glibcxx_cv_func_copysign_use=yes
62879 else
62880 echo "$as_me: failed program was:" >&5
62881 sed 's/^/| /' conftest.$ac_ext >&5
62883 glibcxx_cv_func_copysign_use=no
62885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62886 ac_ext=c
62887 ac_cpp='$CPP $CPPFLAGS'
62888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62896 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
62897 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
62899 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
62901 for ac_func in copysign
62903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62904 echo "$as_me:$LINENO: checking for $ac_func" >&5
62905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62906 if eval "test \"\${$as_ac_var+set}\" = set"; then
62907 echo $ECHO_N "(cached) $ECHO_C" >&6
62908 else
62909 if test x$gcc_no_link = xyes; then
62910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62912 { (exit 1); exit 1; }; }
62914 cat >conftest.$ac_ext <<_ACEOF
62915 /* confdefs.h. */
62916 _ACEOF
62917 cat confdefs.h >>conftest.$ac_ext
62918 cat >>conftest.$ac_ext <<_ACEOF
62919 /* end confdefs.h. */
62920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62922 #define $ac_func innocuous_$ac_func
62924 /* System header to define __stub macros and hopefully few prototypes,
62925 which can conflict with char $ac_func (); below.
62926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62927 <limits.h> exists even on freestanding compilers. */
62929 #ifdef __STDC__
62930 # include <limits.h>
62931 #else
62932 # include <assert.h>
62933 #endif
62935 #undef $ac_func
62937 /* Override any gcc2 internal prototype to avoid an error. */
62938 #ifdef __cplusplus
62939 extern "C"
62941 #endif
62942 /* We use char because int might match the return type of a gcc2
62943 builtin and then its argument prototype would still apply. */
62944 char $ac_func ();
62945 /* The GNU C library defines this for functions which it implements
62946 to always fail with ENOSYS. Some functions are actually named
62947 something starting with __ and the normal name is an alias. */
62948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62949 choke me
62950 #else
62951 char (*f) () = $ac_func;
62952 #endif
62953 #ifdef __cplusplus
62955 #endif
62958 main ()
62960 return f != $ac_func;
62962 return 0;
62964 _ACEOF
62965 rm -f conftest.$ac_objext conftest$ac_exeext
62966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62967 (eval $ac_link) 2>conftest.er1
62968 ac_status=$?
62969 grep -v '^ *+' conftest.er1 >conftest.err
62970 rm -f conftest.er1
62971 cat conftest.err >&5
62972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62973 (exit $ac_status); } &&
62974 { ac_try='test -z "$ac_c_werror_flag"
62975 || test ! -s conftest.err'
62976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62977 (eval $ac_try) 2>&5
62978 ac_status=$?
62979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62980 (exit $ac_status); }; } &&
62981 { ac_try='test -s conftest$ac_exeext'
62982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62983 (eval $ac_try) 2>&5
62984 ac_status=$?
62985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62986 (exit $ac_status); }; }; then
62987 eval "$as_ac_var=yes"
62988 else
62989 echo "$as_me: failed program was:" >&5
62990 sed 's/^/| /' conftest.$ac_ext >&5
62992 eval "$as_ac_var=no"
62994 rm -f conftest.err conftest.$ac_objext \
62995 conftest$ac_exeext conftest.$ac_ext
62997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62999 if test `eval echo '${'$as_ac_var'}'` = yes; then
63000 cat >>confdefs.h <<_ACEOF
63001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63002 _ACEOF
63005 done
63007 else
63009 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
63010 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
63011 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
63012 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
63013 echo $ECHO_N "(cached) $ECHO_C" >&6
63014 else
63018 ac_ext=cc
63019 ac_cpp='$CXXCPP $CPPFLAGS'
63020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
63032 main ()
63034 _copysign(0, 0);
63036 return 0;
63038 _ACEOF
63039 rm -f conftest.$ac_objext
63040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63041 (eval $ac_compile) 2>conftest.er1
63042 ac_status=$?
63043 grep -v '^ *+' conftest.er1 >conftest.err
63044 rm -f conftest.er1
63045 cat conftest.err >&5
63046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63047 (exit $ac_status); } &&
63048 { ac_try='test -z "$ac_cxx_werror_flag"
63049 || test ! -s conftest.err'
63050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63051 (eval $ac_try) 2>&5
63052 ac_status=$?
63053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63054 (exit $ac_status); }; } &&
63055 { ac_try='test -s conftest.$ac_objext'
63056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63057 (eval $ac_try) 2>&5
63058 ac_status=$?
63059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63060 (exit $ac_status); }; }; then
63061 glibcxx_cv_func__copysign_use=yes
63062 else
63063 echo "$as_me: failed program was:" >&5
63064 sed 's/^/| /' conftest.$ac_ext >&5
63066 glibcxx_cv_func__copysign_use=no
63068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63069 ac_ext=c
63070 ac_cpp='$CPP $CPPFLAGS'
63071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
63080 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
63082 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
63084 for ac_func in _copysign
63086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63087 echo "$as_me:$LINENO: checking for $ac_func" >&5
63088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63089 if eval "test \"\${$as_ac_var+set}\" = set"; then
63090 echo $ECHO_N "(cached) $ECHO_C" >&6
63091 else
63092 if test x$gcc_no_link = xyes; then
63093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63095 { (exit 1); exit 1; }; }
63097 cat >conftest.$ac_ext <<_ACEOF
63098 /* confdefs.h. */
63099 _ACEOF
63100 cat confdefs.h >>conftest.$ac_ext
63101 cat >>conftest.$ac_ext <<_ACEOF
63102 /* end confdefs.h. */
63103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63105 #define $ac_func innocuous_$ac_func
63107 /* System header to define __stub macros and hopefully few prototypes,
63108 which can conflict with char $ac_func (); below.
63109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63110 <limits.h> exists even on freestanding compilers. */
63112 #ifdef __STDC__
63113 # include <limits.h>
63114 #else
63115 # include <assert.h>
63116 #endif
63118 #undef $ac_func
63120 /* Override any gcc2 internal prototype to avoid an error. */
63121 #ifdef __cplusplus
63122 extern "C"
63124 #endif
63125 /* We use char because int might match the return type of a gcc2
63126 builtin and then its argument prototype would still apply. */
63127 char $ac_func ();
63128 /* The GNU C library defines this for functions which it implements
63129 to always fail with ENOSYS. Some functions are actually named
63130 something starting with __ and the normal name is an alias. */
63131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63132 choke me
63133 #else
63134 char (*f) () = $ac_func;
63135 #endif
63136 #ifdef __cplusplus
63138 #endif
63141 main ()
63143 return f != $ac_func;
63145 return 0;
63147 _ACEOF
63148 rm -f conftest.$ac_objext conftest$ac_exeext
63149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63150 (eval $ac_link) 2>conftest.er1
63151 ac_status=$?
63152 grep -v '^ *+' conftest.er1 >conftest.err
63153 rm -f conftest.er1
63154 cat conftest.err >&5
63155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63156 (exit $ac_status); } &&
63157 { ac_try='test -z "$ac_c_werror_flag"
63158 || test ! -s conftest.err'
63159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63160 (eval $ac_try) 2>&5
63161 ac_status=$?
63162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63163 (exit $ac_status); }; } &&
63164 { ac_try='test -s conftest$ac_exeext'
63165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63166 (eval $ac_try) 2>&5
63167 ac_status=$?
63168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63169 (exit $ac_status); }; }; then
63170 eval "$as_ac_var=yes"
63171 else
63172 echo "$as_me: failed program was:" >&5
63173 sed 's/^/| /' conftest.$ac_ext >&5
63175 eval "$as_ac_var=no"
63177 rm -f conftest.err conftest.$ac_objext \
63178 conftest$ac_exeext conftest.$ac_ext
63180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63182 if test `eval echo '${'$as_ac_var'}'` = yes; then
63183 cat >>confdefs.h <<_ACEOF
63184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63185 _ACEOF
63188 done
63198 echo "$as_me:$LINENO: checking for sincos declaration" >&5
63199 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
63200 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63201 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
63202 echo $ECHO_N "(cached) $ECHO_C" >&6
63203 else
63207 ac_ext=cc
63208 ac_cpp='$CXXCPP $CPPFLAGS'
63209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
63221 main ()
63223 sincos(0, 0, 0);
63225 return 0;
63227 _ACEOF
63228 rm -f conftest.$ac_objext
63229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63230 (eval $ac_compile) 2>conftest.er1
63231 ac_status=$?
63232 grep -v '^ *+' conftest.er1 >conftest.err
63233 rm -f conftest.er1
63234 cat conftest.err >&5
63235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63236 (exit $ac_status); } &&
63237 { ac_try='test -z "$ac_cxx_werror_flag"
63238 || test ! -s conftest.err'
63239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63240 (eval $ac_try) 2>&5
63241 ac_status=$?
63242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63243 (exit $ac_status); }; } &&
63244 { ac_try='test -s conftest.$ac_objext'
63245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63246 (eval $ac_try) 2>&5
63247 ac_status=$?
63248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63249 (exit $ac_status); }; }; then
63250 glibcxx_cv_func_sincos_use=yes
63251 else
63252 echo "$as_me: failed program was:" >&5
63253 sed 's/^/| /' conftest.$ac_ext >&5
63255 glibcxx_cv_func_sincos_use=no
63257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63258 ac_ext=c
63259 ac_cpp='$CPP $CPPFLAGS'
63260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
63269 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
63271 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63273 for ac_func in sincos
63275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63276 echo "$as_me:$LINENO: checking for $ac_func" >&5
63277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63278 if eval "test \"\${$as_ac_var+set}\" = set"; then
63279 echo $ECHO_N "(cached) $ECHO_C" >&6
63280 else
63281 if test x$gcc_no_link = xyes; then
63282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63284 { (exit 1); exit 1; }; }
63286 cat >conftest.$ac_ext <<_ACEOF
63287 /* confdefs.h. */
63288 _ACEOF
63289 cat confdefs.h >>conftest.$ac_ext
63290 cat >>conftest.$ac_ext <<_ACEOF
63291 /* end confdefs.h. */
63292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63294 #define $ac_func innocuous_$ac_func
63296 /* System header to define __stub macros and hopefully few prototypes,
63297 which can conflict with char $ac_func (); below.
63298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63299 <limits.h> exists even on freestanding compilers. */
63301 #ifdef __STDC__
63302 # include <limits.h>
63303 #else
63304 # include <assert.h>
63305 #endif
63307 #undef $ac_func
63309 /* Override any gcc2 internal prototype to avoid an error. */
63310 #ifdef __cplusplus
63311 extern "C"
63313 #endif
63314 /* We use char because int might match the return type of a gcc2
63315 builtin and then its argument prototype would still apply. */
63316 char $ac_func ();
63317 /* The GNU C library defines this for functions which it implements
63318 to always fail with ENOSYS. Some functions are actually named
63319 something starting with __ and the normal name is an alias. */
63320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63321 choke me
63322 #else
63323 char (*f) () = $ac_func;
63324 #endif
63325 #ifdef __cplusplus
63327 #endif
63330 main ()
63332 return f != $ac_func;
63334 return 0;
63336 _ACEOF
63337 rm -f conftest.$ac_objext conftest$ac_exeext
63338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63339 (eval $ac_link) 2>conftest.er1
63340 ac_status=$?
63341 grep -v '^ *+' conftest.er1 >conftest.err
63342 rm -f conftest.er1
63343 cat conftest.err >&5
63344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63345 (exit $ac_status); } &&
63346 { ac_try='test -z "$ac_c_werror_flag"
63347 || test ! -s conftest.err'
63348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63349 (eval $ac_try) 2>&5
63350 ac_status=$?
63351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63352 (exit $ac_status); }; } &&
63353 { ac_try='test -s conftest$ac_exeext'
63354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63355 (eval $ac_try) 2>&5
63356 ac_status=$?
63357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63358 (exit $ac_status); }; }; then
63359 eval "$as_ac_var=yes"
63360 else
63361 echo "$as_me: failed program was:" >&5
63362 sed 's/^/| /' conftest.$ac_ext >&5
63364 eval "$as_ac_var=no"
63366 rm -f conftest.err conftest.$ac_objext \
63367 conftest$ac_exeext conftest.$ac_ext
63369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63371 if test `eval echo '${'$as_ac_var'}'` = yes; then
63372 cat >>confdefs.h <<_ACEOF
63373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63374 _ACEOF
63377 done
63379 else
63381 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
63382 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
63383 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63384 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
63385 echo $ECHO_N "(cached) $ECHO_C" >&6
63386 else
63390 ac_ext=cc
63391 ac_cpp='$CXXCPP $CPPFLAGS'
63392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
63404 main ()
63406 _sincos(0, 0, 0);
63408 return 0;
63410 _ACEOF
63411 rm -f conftest.$ac_objext
63412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63413 (eval $ac_compile) 2>conftest.er1
63414 ac_status=$?
63415 grep -v '^ *+' conftest.er1 >conftest.err
63416 rm -f conftest.er1
63417 cat conftest.err >&5
63418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63419 (exit $ac_status); } &&
63420 { ac_try='test -z "$ac_cxx_werror_flag"
63421 || test ! -s conftest.err'
63422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63423 (eval $ac_try) 2>&5
63424 ac_status=$?
63425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63426 (exit $ac_status); }; } &&
63427 { ac_try='test -s conftest.$ac_objext'
63428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63429 (eval $ac_try) 2>&5
63430 ac_status=$?
63431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63432 (exit $ac_status); }; }; then
63433 glibcxx_cv_func__sincos_use=yes
63434 else
63435 echo "$as_me: failed program was:" >&5
63436 sed 's/^/| /' conftest.$ac_ext >&5
63438 glibcxx_cv_func__sincos_use=no
63440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63441 ac_ext=c
63442 ac_cpp='$CPP $CPPFLAGS'
63443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
63452 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
63454 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63456 for ac_func in _sincos
63458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63459 echo "$as_me:$LINENO: checking for $ac_func" >&5
63460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63461 if eval "test \"\${$as_ac_var+set}\" = set"; then
63462 echo $ECHO_N "(cached) $ECHO_C" >&6
63463 else
63464 if test x$gcc_no_link = xyes; then
63465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63467 { (exit 1); exit 1; }; }
63469 cat >conftest.$ac_ext <<_ACEOF
63470 /* confdefs.h. */
63471 _ACEOF
63472 cat confdefs.h >>conftest.$ac_ext
63473 cat >>conftest.$ac_ext <<_ACEOF
63474 /* end confdefs.h. */
63475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63477 #define $ac_func innocuous_$ac_func
63479 /* System header to define __stub macros and hopefully few prototypes,
63480 which can conflict with char $ac_func (); below.
63481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63482 <limits.h> exists even on freestanding compilers. */
63484 #ifdef __STDC__
63485 # include <limits.h>
63486 #else
63487 # include <assert.h>
63488 #endif
63490 #undef $ac_func
63492 /* Override any gcc2 internal prototype to avoid an error. */
63493 #ifdef __cplusplus
63494 extern "C"
63496 #endif
63497 /* We use char because int might match the return type of a gcc2
63498 builtin and then its argument prototype would still apply. */
63499 char $ac_func ();
63500 /* The GNU C library defines this for functions which it implements
63501 to always fail with ENOSYS. Some functions are actually named
63502 something starting with __ and the normal name is an alias. */
63503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63504 choke me
63505 #else
63506 char (*f) () = $ac_func;
63507 #endif
63508 #ifdef __cplusplus
63510 #endif
63513 main ()
63515 return f != $ac_func;
63517 return 0;
63519 _ACEOF
63520 rm -f conftest.$ac_objext conftest$ac_exeext
63521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63522 (eval $ac_link) 2>conftest.er1
63523 ac_status=$?
63524 grep -v '^ *+' conftest.er1 >conftest.err
63525 rm -f conftest.er1
63526 cat conftest.err >&5
63527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63528 (exit $ac_status); } &&
63529 { ac_try='test -z "$ac_c_werror_flag"
63530 || test ! -s conftest.err'
63531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63532 (eval $ac_try) 2>&5
63533 ac_status=$?
63534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535 (exit $ac_status); }; } &&
63536 { ac_try='test -s conftest$ac_exeext'
63537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63538 (eval $ac_try) 2>&5
63539 ac_status=$?
63540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63541 (exit $ac_status); }; }; then
63542 eval "$as_ac_var=yes"
63543 else
63544 echo "$as_me: failed program was:" >&5
63545 sed 's/^/| /' conftest.$ac_ext >&5
63547 eval "$as_ac_var=no"
63549 rm -f conftest.err conftest.$ac_objext \
63550 conftest$ac_exeext conftest.$ac_ext
63552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63554 if test `eval echo '${'$as_ac_var'}'` = yes; then
63555 cat >>confdefs.h <<_ACEOF
63556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63557 _ACEOF
63560 done
63570 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
63571 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
63572 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63573 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
63574 echo $ECHO_N "(cached) $ECHO_C" >&6
63575 else
63579 ac_ext=cc
63580 ac_cpp='$CXXCPP $CPPFLAGS'
63581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63585 cat >conftest.$ac_ext <<_ACEOF
63586 /* confdefs.h. */
63587 _ACEOF
63588 cat confdefs.h >>conftest.$ac_ext
63589 cat >>conftest.$ac_ext <<_ACEOF
63590 /* end confdefs.h. */
63591 #include <math.h>
63592 #ifdef HAVE_IEEEFP_H
63593 #include <ieeefp.h>
63594 #endif
63597 main ()
63599 fpclass(0);
63601 return 0;
63603 _ACEOF
63604 rm -f conftest.$ac_objext
63605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63606 (eval $ac_compile) 2>conftest.er1
63607 ac_status=$?
63608 grep -v '^ *+' conftest.er1 >conftest.err
63609 rm -f conftest.er1
63610 cat conftest.err >&5
63611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63612 (exit $ac_status); } &&
63613 { ac_try='test -z "$ac_cxx_werror_flag"
63614 || test ! -s conftest.err'
63615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63616 (eval $ac_try) 2>&5
63617 ac_status=$?
63618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63619 (exit $ac_status); }; } &&
63620 { ac_try='test -s conftest.$ac_objext'
63621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63622 (eval $ac_try) 2>&5
63623 ac_status=$?
63624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63625 (exit $ac_status); }; }; then
63626 glibcxx_cv_func_fpclass_use=yes
63627 else
63628 echo "$as_me: failed program was:" >&5
63629 sed 's/^/| /' conftest.$ac_ext >&5
63631 glibcxx_cv_func_fpclass_use=no
63633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63634 ac_ext=c
63635 ac_cpp='$CPP $CPPFLAGS'
63636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63644 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
63645 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
63647 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63649 for ac_func in fpclass
63651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63652 echo "$as_me:$LINENO: checking for $ac_func" >&5
63653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63654 if eval "test \"\${$as_ac_var+set}\" = set"; then
63655 echo $ECHO_N "(cached) $ECHO_C" >&6
63656 else
63657 if test x$gcc_no_link = xyes; then
63658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63660 { (exit 1); exit 1; }; }
63662 cat >conftest.$ac_ext <<_ACEOF
63663 /* confdefs.h. */
63664 _ACEOF
63665 cat confdefs.h >>conftest.$ac_ext
63666 cat >>conftest.$ac_ext <<_ACEOF
63667 /* end confdefs.h. */
63668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63670 #define $ac_func innocuous_$ac_func
63672 /* System header to define __stub macros and hopefully few prototypes,
63673 which can conflict with char $ac_func (); below.
63674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63675 <limits.h> exists even on freestanding compilers. */
63677 #ifdef __STDC__
63678 # include <limits.h>
63679 #else
63680 # include <assert.h>
63681 #endif
63683 #undef $ac_func
63685 /* Override any gcc2 internal prototype to avoid an error. */
63686 #ifdef __cplusplus
63687 extern "C"
63689 #endif
63690 /* We use char because int might match the return type of a gcc2
63691 builtin and then its argument prototype would still apply. */
63692 char $ac_func ();
63693 /* The GNU C library defines this for functions which it implements
63694 to always fail with ENOSYS. Some functions are actually named
63695 something starting with __ and the normal name is an alias. */
63696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63697 choke me
63698 #else
63699 char (*f) () = $ac_func;
63700 #endif
63701 #ifdef __cplusplus
63703 #endif
63706 main ()
63708 return f != $ac_func;
63710 return 0;
63712 _ACEOF
63713 rm -f conftest.$ac_objext conftest$ac_exeext
63714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63715 (eval $ac_link) 2>conftest.er1
63716 ac_status=$?
63717 grep -v '^ *+' conftest.er1 >conftest.err
63718 rm -f conftest.er1
63719 cat conftest.err >&5
63720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63721 (exit $ac_status); } &&
63722 { ac_try='test -z "$ac_c_werror_flag"
63723 || test ! -s conftest.err'
63724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63725 (eval $ac_try) 2>&5
63726 ac_status=$?
63727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63728 (exit $ac_status); }; } &&
63729 { ac_try='test -s conftest$ac_exeext'
63730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63731 (eval $ac_try) 2>&5
63732 ac_status=$?
63733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63734 (exit $ac_status); }; }; then
63735 eval "$as_ac_var=yes"
63736 else
63737 echo "$as_me: failed program was:" >&5
63738 sed 's/^/| /' conftest.$ac_ext >&5
63740 eval "$as_ac_var=no"
63742 rm -f conftest.err conftest.$ac_objext \
63743 conftest$ac_exeext conftest.$ac_ext
63745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63747 if test `eval echo '${'$as_ac_var'}'` = yes; then
63748 cat >>confdefs.h <<_ACEOF
63749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63750 _ACEOF
63753 done
63755 else
63757 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
63758 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
63759 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63760 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
63761 echo $ECHO_N "(cached) $ECHO_C" >&6
63762 else
63766 ac_ext=cc
63767 ac_cpp='$CXXCPP $CPPFLAGS'
63768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63772 cat >conftest.$ac_ext <<_ACEOF
63773 /* confdefs.h. */
63774 _ACEOF
63775 cat confdefs.h >>conftest.$ac_ext
63776 cat >>conftest.$ac_ext <<_ACEOF
63777 /* end confdefs.h. */
63778 #include <math.h>
63779 #ifdef HAVE_IEEEFP_H
63780 #include <ieeefp.h>
63781 #endif
63784 main ()
63786 _fpclass(0);
63788 return 0;
63790 _ACEOF
63791 rm -f conftest.$ac_objext
63792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63793 (eval $ac_compile) 2>conftest.er1
63794 ac_status=$?
63795 grep -v '^ *+' conftest.er1 >conftest.err
63796 rm -f conftest.er1
63797 cat conftest.err >&5
63798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63799 (exit $ac_status); } &&
63800 { ac_try='test -z "$ac_cxx_werror_flag"
63801 || test ! -s conftest.err'
63802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63803 (eval $ac_try) 2>&5
63804 ac_status=$?
63805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63806 (exit $ac_status); }; } &&
63807 { ac_try='test -s conftest.$ac_objext'
63808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63809 (eval $ac_try) 2>&5
63810 ac_status=$?
63811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63812 (exit $ac_status); }; }; then
63813 glibcxx_cv_func__fpclass_use=yes
63814 else
63815 echo "$as_me: failed program was:" >&5
63816 sed 's/^/| /' conftest.$ac_ext >&5
63818 glibcxx_cv_func__fpclass_use=no
63820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63821 ac_ext=c
63822 ac_cpp='$CPP $CPPFLAGS'
63823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
63832 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
63834 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63836 for ac_func in _fpclass
63838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63839 echo "$as_me:$LINENO: checking for $ac_func" >&5
63840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63841 if eval "test \"\${$as_ac_var+set}\" = set"; then
63842 echo $ECHO_N "(cached) $ECHO_C" >&6
63843 else
63844 if test x$gcc_no_link = xyes; then
63845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63847 { (exit 1); exit 1; }; }
63849 cat >conftest.$ac_ext <<_ACEOF
63850 /* confdefs.h. */
63851 _ACEOF
63852 cat confdefs.h >>conftest.$ac_ext
63853 cat >>conftest.$ac_ext <<_ACEOF
63854 /* end confdefs.h. */
63855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63857 #define $ac_func innocuous_$ac_func
63859 /* System header to define __stub macros and hopefully few prototypes,
63860 which can conflict with char $ac_func (); below.
63861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63862 <limits.h> exists even on freestanding compilers. */
63864 #ifdef __STDC__
63865 # include <limits.h>
63866 #else
63867 # include <assert.h>
63868 #endif
63870 #undef $ac_func
63872 /* Override any gcc2 internal prototype to avoid an error. */
63873 #ifdef __cplusplus
63874 extern "C"
63876 #endif
63877 /* We use char because int might match the return type of a gcc2
63878 builtin and then its argument prototype would still apply. */
63879 char $ac_func ();
63880 /* The GNU C library defines this for functions which it implements
63881 to always fail with ENOSYS. Some functions are actually named
63882 something starting with __ and the normal name is an alias. */
63883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63884 choke me
63885 #else
63886 char (*f) () = $ac_func;
63887 #endif
63888 #ifdef __cplusplus
63890 #endif
63893 main ()
63895 return f != $ac_func;
63897 return 0;
63899 _ACEOF
63900 rm -f conftest.$ac_objext conftest$ac_exeext
63901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63902 (eval $ac_link) 2>conftest.er1
63903 ac_status=$?
63904 grep -v '^ *+' conftest.er1 >conftest.err
63905 rm -f conftest.er1
63906 cat conftest.err >&5
63907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63908 (exit $ac_status); } &&
63909 { ac_try='test -z "$ac_c_werror_flag"
63910 || test ! -s conftest.err'
63911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63912 (eval $ac_try) 2>&5
63913 ac_status=$?
63914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63915 (exit $ac_status); }; } &&
63916 { ac_try='test -s conftest$ac_exeext'
63917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63918 (eval $ac_try) 2>&5
63919 ac_status=$?
63920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63921 (exit $ac_status); }; }; then
63922 eval "$as_ac_var=yes"
63923 else
63924 echo "$as_me: failed program was:" >&5
63925 sed 's/^/| /' conftest.$ac_ext >&5
63927 eval "$as_ac_var=no"
63929 rm -f conftest.err conftest.$ac_objext \
63930 conftest$ac_exeext conftest.$ac_ext
63932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63934 if test `eval echo '${'$as_ac_var'}'` = yes; then
63935 cat >>confdefs.h <<_ACEOF
63936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63937 _ACEOF
63940 done
63950 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
63951 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
63952 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63953 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
63954 echo $ECHO_N "(cached) $ECHO_C" >&6
63955 else
63959 ac_ext=cc
63960 ac_cpp='$CXXCPP $CPPFLAGS'
63961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63965 cat >conftest.$ac_ext <<_ACEOF
63966 /* confdefs.h. */
63967 _ACEOF
63968 cat confdefs.h >>conftest.$ac_ext
63969 cat >>conftest.$ac_ext <<_ACEOF
63970 /* end confdefs.h. */
63971 #include <math.h>
63972 #ifdef HAVE_IEEEFP_H
63973 #include <ieeefp.h>
63974 #endif
63977 main ()
63979 qfpclass(0);
63981 return 0;
63983 _ACEOF
63984 rm -f conftest.$ac_objext
63985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63986 (eval $ac_compile) 2>conftest.er1
63987 ac_status=$?
63988 grep -v '^ *+' conftest.er1 >conftest.err
63989 rm -f conftest.er1
63990 cat conftest.err >&5
63991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63992 (exit $ac_status); } &&
63993 { ac_try='test -z "$ac_cxx_werror_flag"
63994 || test ! -s conftest.err'
63995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63996 (eval $ac_try) 2>&5
63997 ac_status=$?
63998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63999 (exit $ac_status); }; } &&
64000 { ac_try='test -s conftest.$ac_objext'
64001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64002 (eval $ac_try) 2>&5
64003 ac_status=$?
64004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64005 (exit $ac_status); }; }; then
64006 glibcxx_cv_func_qfpclass_use=yes
64007 else
64008 echo "$as_me: failed program was:" >&5
64009 sed 's/^/| /' conftest.$ac_ext >&5
64011 glibcxx_cv_func_qfpclass_use=no
64013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64014 ac_ext=c
64015 ac_cpp='$CPP $CPPFLAGS'
64016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
64025 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
64027 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64029 for ac_func in qfpclass
64031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64032 echo "$as_me:$LINENO: checking for $ac_func" >&5
64033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64034 if eval "test \"\${$as_ac_var+set}\" = set"; then
64035 echo $ECHO_N "(cached) $ECHO_C" >&6
64036 else
64037 if test x$gcc_no_link = xyes; then
64038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64040 { (exit 1); exit 1; }; }
64042 cat >conftest.$ac_ext <<_ACEOF
64043 /* confdefs.h. */
64044 _ACEOF
64045 cat confdefs.h >>conftest.$ac_ext
64046 cat >>conftest.$ac_ext <<_ACEOF
64047 /* end confdefs.h. */
64048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64050 #define $ac_func innocuous_$ac_func
64052 /* System header to define __stub macros and hopefully few prototypes,
64053 which can conflict with char $ac_func (); below.
64054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64055 <limits.h> exists even on freestanding compilers. */
64057 #ifdef __STDC__
64058 # include <limits.h>
64059 #else
64060 # include <assert.h>
64061 #endif
64063 #undef $ac_func
64065 /* Override any gcc2 internal prototype to avoid an error. */
64066 #ifdef __cplusplus
64067 extern "C"
64069 #endif
64070 /* We use char because int might match the return type of a gcc2
64071 builtin and then its argument prototype would still apply. */
64072 char $ac_func ();
64073 /* The GNU C library defines this for functions which it implements
64074 to always fail with ENOSYS. Some functions are actually named
64075 something starting with __ and the normal name is an alias. */
64076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64077 choke me
64078 #else
64079 char (*f) () = $ac_func;
64080 #endif
64081 #ifdef __cplusplus
64083 #endif
64086 main ()
64088 return f != $ac_func;
64090 return 0;
64092 _ACEOF
64093 rm -f conftest.$ac_objext conftest$ac_exeext
64094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64095 (eval $ac_link) 2>conftest.er1
64096 ac_status=$?
64097 grep -v '^ *+' conftest.er1 >conftest.err
64098 rm -f conftest.er1
64099 cat conftest.err >&5
64100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64101 (exit $ac_status); } &&
64102 { ac_try='test -z "$ac_c_werror_flag"
64103 || test ! -s conftest.err'
64104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64105 (eval $ac_try) 2>&5
64106 ac_status=$?
64107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64108 (exit $ac_status); }; } &&
64109 { ac_try='test -s conftest$ac_exeext'
64110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64111 (eval $ac_try) 2>&5
64112 ac_status=$?
64113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64114 (exit $ac_status); }; }; then
64115 eval "$as_ac_var=yes"
64116 else
64117 echo "$as_me: failed program was:" >&5
64118 sed 's/^/| /' conftest.$ac_ext >&5
64120 eval "$as_ac_var=no"
64122 rm -f conftest.err conftest.$ac_objext \
64123 conftest$ac_exeext conftest.$ac_ext
64125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64127 if test `eval echo '${'$as_ac_var'}'` = yes; then
64128 cat >>confdefs.h <<_ACEOF
64129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64130 _ACEOF
64133 done
64135 else
64137 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
64138 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
64139 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64140 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
64141 echo $ECHO_N "(cached) $ECHO_C" >&6
64142 else
64146 ac_ext=cc
64147 ac_cpp='$CXXCPP $CPPFLAGS'
64148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64152 cat >conftest.$ac_ext <<_ACEOF
64153 /* confdefs.h. */
64154 _ACEOF
64155 cat confdefs.h >>conftest.$ac_ext
64156 cat >>conftest.$ac_ext <<_ACEOF
64157 /* end confdefs.h. */
64158 #include <math.h>
64159 #ifdef HAVE_IEEEFP_H
64160 #include <ieeefp.h>
64161 #endif
64164 main ()
64166 _qfpclass(0);
64168 return 0;
64170 _ACEOF
64171 rm -f conftest.$ac_objext
64172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64173 (eval $ac_compile) 2>conftest.er1
64174 ac_status=$?
64175 grep -v '^ *+' conftest.er1 >conftest.err
64176 rm -f conftest.er1
64177 cat conftest.err >&5
64178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64179 (exit $ac_status); } &&
64180 { ac_try='test -z "$ac_cxx_werror_flag"
64181 || test ! -s conftest.err'
64182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64183 (eval $ac_try) 2>&5
64184 ac_status=$?
64185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64186 (exit $ac_status); }; } &&
64187 { ac_try='test -s conftest.$ac_objext'
64188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64189 (eval $ac_try) 2>&5
64190 ac_status=$?
64191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64192 (exit $ac_status); }; }; then
64193 glibcxx_cv_func__qfpclass_use=yes
64194 else
64195 echo "$as_me: failed program was:" >&5
64196 sed 's/^/| /' conftest.$ac_ext >&5
64198 glibcxx_cv_func__qfpclass_use=no
64200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64201 ac_ext=c
64202 ac_cpp='$CPP $CPPFLAGS'
64203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64211 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
64212 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
64214 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64216 for ac_func in _qfpclass
64218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64219 echo "$as_me:$LINENO: checking for $ac_func" >&5
64220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64221 if eval "test \"\${$as_ac_var+set}\" = set"; then
64222 echo $ECHO_N "(cached) $ECHO_C" >&6
64223 else
64224 if test x$gcc_no_link = xyes; then
64225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64227 { (exit 1); exit 1; }; }
64229 cat >conftest.$ac_ext <<_ACEOF
64230 /* confdefs.h. */
64231 _ACEOF
64232 cat confdefs.h >>conftest.$ac_ext
64233 cat >>conftest.$ac_ext <<_ACEOF
64234 /* end confdefs.h. */
64235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64237 #define $ac_func innocuous_$ac_func
64239 /* System header to define __stub macros and hopefully few prototypes,
64240 which can conflict with char $ac_func (); below.
64241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64242 <limits.h> exists even on freestanding compilers. */
64244 #ifdef __STDC__
64245 # include <limits.h>
64246 #else
64247 # include <assert.h>
64248 #endif
64250 #undef $ac_func
64252 /* Override any gcc2 internal prototype to avoid an error. */
64253 #ifdef __cplusplus
64254 extern "C"
64256 #endif
64257 /* We use char because int might match the return type of a gcc2
64258 builtin and then its argument prototype would still apply. */
64259 char $ac_func ();
64260 /* The GNU C library defines this for functions which it implements
64261 to always fail with ENOSYS. Some functions are actually named
64262 something starting with __ and the normal name is an alias. */
64263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64264 choke me
64265 #else
64266 char (*f) () = $ac_func;
64267 #endif
64268 #ifdef __cplusplus
64270 #endif
64273 main ()
64275 return f != $ac_func;
64277 return 0;
64279 _ACEOF
64280 rm -f conftest.$ac_objext conftest$ac_exeext
64281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64282 (eval $ac_link) 2>conftest.er1
64283 ac_status=$?
64284 grep -v '^ *+' conftest.er1 >conftest.err
64285 rm -f conftest.er1
64286 cat conftest.err >&5
64287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64288 (exit $ac_status); } &&
64289 { ac_try='test -z "$ac_c_werror_flag"
64290 || test ! -s conftest.err'
64291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64292 (eval $ac_try) 2>&5
64293 ac_status=$?
64294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64295 (exit $ac_status); }; } &&
64296 { ac_try='test -s conftest$ac_exeext'
64297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64298 (eval $ac_try) 2>&5
64299 ac_status=$?
64300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64301 (exit $ac_status); }; }; then
64302 eval "$as_ac_var=yes"
64303 else
64304 echo "$as_me: failed program was:" >&5
64305 sed 's/^/| /' conftest.$ac_ext >&5
64307 eval "$as_ac_var=no"
64309 rm -f conftest.err conftest.$ac_objext \
64310 conftest$ac_exeext conftest.$ac_ext
64312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64314 if test `eval echo '${'$as_ac_var'}'` = yes; then
64315 cat >>confdefs.h <<_ACEOF
64316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64317 _ACEOF
64320 done
64330 echo "$as_me:$LINENO: checking for hypot declaration" >&5
64331 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
64332 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64333 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
64334 echo $ECHO_N "(cached) $ECHO_C" >&6
64335 else
64339 ac_ext=cc
64340 ac_cpp='$CXXCPP $CPPFLAGS'
64341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
64353 main ()
64355 hypot(0, 0);
64357 return 0;
64359 _ACEOF
64360 rm -f conftest.$ac_objext
64361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64362 (eval $ac_compile) 2>conftest.er1
64363 ac_status=$?
64364 grep -v '^ *+' conftest.er1 >conftest.err
64365 rm -f conftest.er1
64366 cat conftest.err >&5
64367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64368 (exit $ac_status); } &&
64369 { ac_try='test -z "$ac_cxx_werror_flag"
64370 || test ! -s conftest.err'
64371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64372 (eval $ac_try) 2>&5
64373 ac_status=$?
64374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64375 (exit $ac_status); }; } &&
64376 { ac_try='test -s conftest.$ac_objext'
64377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64378 (eval $ac_try) 2>&5
64379 ac_status=$?
64380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64381 (exit $ac_status); }; }; then
64382 glibcxx_cv_func_hypot_use=yes
64383 else
64384 echo "$as_me: failed program was:" >&5
64385 sed 's/^/| /' conftest.$ac_ext >&5
64387 glibcxx_cv_func_hypot_use=no
64389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64390 ac_ext=c
64391 ac_cpp='$CPP $CPPFLAGS'
64392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
64401 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
64403 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64405 for ac_func in hypot
64407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64408 echo "$as_me:$LINENO: checking for $ac_func" >&5
64409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64410 if eval "test \"\${$as_ac_var+set}\" = set"; then
64411 echo $ECHO_N "(cached) $ECHO_C" >&6
64412 else
64413 if test x$gcc_no_link = xyes; then
64414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64416 { (exit 1); exit 1; }; }
64418 cat >conftest.$ac_ext <<_ACEOF
64419 /* confdefs.h. */
64420 _ACEOF
64421 cat confdefs.h >>conftest.$ac_ext
64422 cat >>conftest.$ac_ext <<_ACEOF
64423 /* end confdefs.h. */
64424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64426 #define $ac_func innocuous_$ac_func
64428 /* System header to define __stub macros and hopefully few prototypes,
64429 which can conflict with char $ac_func (); below.
64430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64431 <limits.h> exists even on freestanding compilers. */
64433 #ifdef __STDC__
64434 # include <limits.h>
64435 #else
64436 # include <assert.h>
64437 #endif
64439 #undef $ac_func
64441 /* Override any gcc2 internal prototype to avoid an error. */
64442 #ifdef __cplusplus
64443 extern "C"
64445 #endif
64446 /* We use char because int might match the return type of a gcc2
64447 builtin and then its argument prototype would still apply. */
64448 char $ac_func ();
64449 /* The GNU C library defines this for functions which it implements
64450 to always fail with ENOSYS. Some functions are actually named
64451 something starting with __ and the normal name is an alias. */
64452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64453 choke me
64454 #else
64455 char (*f) () = $ac_func;
64456 #endif
64457 #ifdef __cplusplus
64459 #endif
64462 main ()
64464 return f != $ac_func;
64466 return 0;
64468 _ACEOF
64469 rm -f conftest.$ac_objext conftest$ac_exeext
64470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64471 (eval $ac_link) 2>conftest.er1
64472 ac_status=$?
64473 grep -v '^ *+' conftest.er1 >conftest.err
64474 rm -f conftest.er1
64475 cat conftest.err >&5
64476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64477 (exit $ac_status); } &&
64478 { ac_try='test -z "$ac_c_werror_flag"
64479 || test ! -s conftest.err'
64480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64481 (eval $ac_try) 2>&5
64482 ac_status=$?
64483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64484 (exit $ac_status); }; } &&
64485 { ac_try='test -s conftest$ac_exeext'
64486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64487 (eval $ac_try) 2>&5
64488 ac_status=$?
64489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64490 (exit $ac_status); }; }; then
64491 eval "$as_ac_var=yes"
64492 else
64493 echo "$as_me: failed program was:" >&5
64494 sed 's/^/| /' conftest.$ac_ext >&5
64496 eval "$as_ac_var=no"
64498 rm -f conftest.err conftest.$ac_objext \
64499 conftest$ac_exeext conftest.$ac_ext
64501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64503 if test `eval echo '${'$as_ac_var'}'` = yes; then
64504 cat >>confdefs.h <<_ACEOF
64505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64506 _ACEOF
64509 done
64511 else
64513 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
64514 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
64515 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64516 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
64517 echo $ECHO_N "(cached) $ECHO_C" >&6
64518 else
64522 ac_ext=cc
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
64536 main ()
64538 _hypot(0, 0);
64540 return 0;
64542 _ACEOF
64543 rm -f conftest.$ac_objext
64544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64545 (eval $ac_compile) 2>conftest.er1
64546 ac_status=$?
64547 grep -v '^ *+' conftest.er1 >conftest.err
64548 rm -f conftest.er1
64549 cat conftest.err >&5
64550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64551 (exit $ac_status); } &&
64552 { ac_try='test -z "$ac_cxx_werror_flag"
64553 || test ! -s conftest.err'
64554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64555 (eval $ac_try) 2>&5
64556 ac_status=$?
64557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64558 (exit $ac_status); }; } &&
64559 { ac_try='test -s conftest.$ac_objext'
64560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64561 (eval $ac_try) 2>&5
64562 ac_status=$?
64563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64564 (exit $ac_status); }; }; then
64565 glibcxx_cv_func__hypot_use=yes
64566 else
64567 echo "$as_me: failed program was:" >&5
64568 sed 's/^/| /' conftest.$ac_ext >&5
64570 glibcxx_cv_func__hypot_use=no
64572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64573 ac_ext=c
64574 ac_cpp='$CPP $CPPFLAGS'
64575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64583 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
64584 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
64586 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64588 for ac_func in _hypot
64590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64591 echo "$as_me:$LINENO: checking for $ac_func" >&5
64592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64593 if eval "test \"\${$as_ac_var+set}\" = set"; then
64594 echo $ECHO_N "(cached) $ECHO_C" >&6
64595 else
64596 if test x$gcc_no_link = xyes; then
64597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64599 { (exit 1); exit 1; }; }
64601 cat >conftest.$ac_ext <<_ACEOF
64602 /* confdefs.h. */
64603 _ACEOF
64604 cat confdefs.h >>conftest.$ac_ext
64605 cat >>conftest.$ac_ext <<_ACEOF
64606 /* end confdefs.h. */
64607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64609 #define $ac_func innocuous_$ac_func
64611 /* System header to define __stub macros and hopefully few prototypes,
64612 which can conflict with char $ac_func (); below.
64613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64614 <limits.h> exists even on freestanding compilers. */
64616 #ifdef __STDC__
64617 # include <limits.h>
64618 #else
64619 # include <assert.h>
64620 #endif
64622 #undef $ac_func
64624 /* Override any gcc2 internal prototype to avoid an error. */
64625 #ifdef __cplusplus
64626 extern "C"
64628 #endif
64629 /* We use char because int might match the return type of a gcc2
64630 builtin and then its argument prototype would still apply. */
64631 char $ac_func ();
64632 /* The GNU C library defines this for functions which it implements
64633 to always fail with ENOSYS. Some functions are actually named
64634 something starting with __ and the normal name is an alias. */
64635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64636 choke me
64637 #else
64638 char (*f) () = $ac_func;
64639 #endif
64640 #ifdef __cplusplus
64642 #endif
64645 main ()
64647 return f != $ac_func;
64649 return 0;
64651 _ACEOF
64652 rm -f conftest.$ac_objext conftest$ac_exeext
64653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64654 (eval $ac_link) 2>conftest.er1
64655 ac_status=$?
64656 grep -v '^ *+' conftest.er1 >conftest.err
64657 rm -f conftest.er1
64658 cat conftest.err >&5
64659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64660 (exit $ac_status); } &&
64661 { ac_try='test -z "$ac_c_werror_flag"
64662 || test ! -s conftest.err'
64663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64664 (eval $ac_try) 2>&5
64665 ac_status=$?
64666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64667 (exit $ac_status); }; } &&
64668 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
64674 eval "$as_ac_var=yes"
64675 else
64676 echo "$as_me: failed program was:" >&5
64677 sed 's/^/| /' conftest.$ac_ext >&5
64679 eval "$as_ac_var=no"
64681 rm -f conftest.err conftest.$ac_objext \
64682 conftest$ac_exeext conftest.$ac_ext
64684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64686 if test `eval echo '${'$as_ac_var'}'` = yes; then
64687 cat >>confdefs.h <<_ACEOF
64688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64689 _ACEOF
64692 done
64702 echo "$as_me:$LINENO: checking for float trig functions" >&5
64703 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
64704 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
64705 echo $ECHO_N "(cached) $ECHO_C" >&6
64706 else
64710 ac_ext=cc
64711 ac_cpp='$CXXCPP $CPPFLAGS'
64712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64716 cat >conftest.$ac_ext <<_ACEOF
64717 /* confdefs.h. */
64718 _ACEOF
64719 cat confdefs.h >>conftest.$ac_ext
64720 cat >>conftest.$ac_ext <<_ACEOF
64721 /* end confdefs.h. */
64722 #include <math.h>
64724 main ()
64726 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64728 return 0;
64730 _ACEOF
64731 rm -f conftest.$ac_objext
64732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64733 (eval $ac_compile) 2>conftest.er1
64734 ac_status=$?
64735 grep -v '^ *+' conftest.er1 >conftest.err
64736 rm -f conftest.er1
64737 cat conftest.err >&5
64738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64739 (exit $ac_status); } &&
64740 { ac_try='test -z "$ac_cxx_werror_flag"
64741 || test ! -s conftest.err'
64742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64743 (eval $ac_try) 2>&5
64744 ac_status=$?
64745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64746 (exit $ac_status); }; } &&
64747 { ac_try='test -s conftest.$ac_objext'
64748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64749 (eval $ac_try) 2>&5
64750 ac_status=$?
64751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64752 (exit $ac_status); }; }; then
64753 glibcxx_cv_func_float_trig_use=yes
64754 else
64755 echo "$as_me: failed program was:" >&5
64756 sed 's/^/| /' conftest.$ac_ext >&5
64758 glibcxx_cv_func_float_trig_use=no
64760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64761 ac_ext=c
64762 ac_cpp='$CPP $CPPFLAGS'
64763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64769 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
64770 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
64771 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64781 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64784 echo "$as_me:$LINENO: checking for $ac_func" >&5
64785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64786 if eval "test \"\${$as_ac_var+set}\" = set"; then
64787 echo $ECHO_N "(cached) $ECHO_C" >&6
64788 else
64789 if test x$gcc_no_link = xyes; then
64790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64792 { (exit 1); exit 1; }; }
64794 cat >conftest.$ac_ext <<_ACEOF
64795 /* confdefs.h. */
64796 _ACEOF
64797 cat confdefs.h >>conftest.$ac_ext
64798 cat >>conftest.$ac_ext <<_ACEOF
64799 /* end confdefs.h. */
64800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64802 #define $ac_func innocuous_$ac_func
64804 /* System header to define __stub macros and hopefully few prototypes,
64805 which can conflict with char $ac_func (); below.
64806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64807 <limits.h> exists even on freestanding compilers. */
64809 #ifdef __STDC__
64810 # include <limits.h>
64811 #else
64812 # include <assert.h>
64813 #endif
64815 #undef $ac_func
64817 /* Override any gcc2 internal prototype to avoid an error. */
64818 #ifdef __cplusplus
64819 extern "C"
64821 #endif
64822 /* We use char because int might match the return type of a gcc2
64823 builtin and then its argument prototype would still apply. */
64824 char $ac_func ();
64825 /* The GNU C library defines this for functions which it implements
64826 to always fail with ENOSYS. Some functions are actually named
64827 something starting with __ and the normal name is an alias. */
64828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64829 choke me
64830 #else
64831 char (*f) () = $ac_func;
64832 #endif
64833 #ifdef __cplusplus
64835 #endif
64838 main ()
64840 return f != $ac_func;
64842 return 0;
64844 _ACEOF
64845 rm -f conftest.$ac_objext conftest$ac_exeext
64846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64847 (eval $ac_link) 2>conftest.er1
64848 ac_status=$?
64849 grep -v '^ *+' conftest.er1 >conftest.err
64850 rm -f conftest.er1
64851 cat conftest.err >&5
64852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64853 (exit $ac_status); } &&
64854 { ac_try='test -z "$ac_c_werror_flag"
64855 || test ! -s conftest.err'
64856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64857 (eval $ac_try) 2>&5
64858 ac_status=$?
64859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64860 (exit $ac_status); }; } &&
64861 { ac_try='test -s conftest$ac_exeext'
64862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64863 (eval $ac_try) 2>&5
64864 ac_status=$?
64865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64866 (exit $ac_status); }; }; then
64867 eval "$as_ac_var=yes"
64868 else
64869 echo "$as_me: failed program was:" >&5
64870 sed 's/^/| /' conftest.$ac_ext >&5
64872 eval "$as_ac_var=no"
64874 rm -f conftest.err conftest.$ac_objext \
64875 conftest$ac_exeext conftest.$ac_ext
64877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64879 if test `eval echo '${'$as_ac_var'}'` = yes; then
64880 cat >>confdefs.h <<_ACEOF
64881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64882 _ACEOF
64885 done
64887 else
64888 echo "$as_me:$LINENO: checking for _float trig functions" >&5
64889 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
64890 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
64891 echo $ECHO_N "(cached) $ECHO_C" >&6
64892 else
64896 ac_ext=cc
64897 ac_cpp='$CXXCPP $CPPFLAGS'
64898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64902 cat >conftest.$ac_ext <<_ACEOF
64903 /* confdefs.h. */
64904 _ACEOF
64905 cat confdefs.h >>conftest.$ac_ext
64906 cat >>conftest.$ac_ext <<_ACEOF
64907 /* end confdefs.h. */
64908 #include <math.h>
64910 main ()
64912 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64914 return 0;
64916 _ACEOF
64917 rm -f conftest.$ac_objext
64918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64919 (eval $ac_compile) 2>conftest.er1
64920 ac_status=$?
64921 grep -v '^ *+' conftest.er1 >conftest.err
64922 rm -f conftest.er1
64923 cat conftest.err >&5
64924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64925 (exit $ac_status); } &&
64926 { ac_try='test -z "$ac_cxx_werror_flag"
64927 || test ! -s conftest.err'
64928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64929 (eval $ac_try) 2>&5
64930 ac_status=$?
64931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64932 (exit $ac_status); }; } &&
64933 { ac_try='test -s conftest.$ac_objext'
64934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64935 (eval $ac_try) 2>&5
64936 ac_status=$?
64937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64938 (exit $ac_status); }; }; then
64939 glibcxx_cv_func__float_trig_use=yes
64940 else
64941 echo "$as_me: failed program was:" >&5
64942 sed 's/^/| /' conftest.$ac_ext >&5
64944 glibcxx_cv_func__float_trig_use=no
64946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64947 ac_ext=c
64948 ac_cpp='$CPP $CPPFLAGS'
64949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
64956 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
64957 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64967 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64970 echo "$as_me:$LINENO: checking for $ac_func" >&5
64971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64972 if eval "test \"\${$as_ac_var+set}\" = set"; then
64973 echo $ECHO_N "(cached) $ECHO_C" >&6
64974 else
64975 if test x$gcc_no_link = xyes; then
64976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64978 { (exit 1); exit 1; }; }
64980 cat >conftest.$ac_ext <<_ACEOF
64981 /* confdefs.h. */
64982 _ACEOF
64983 cat confdefs.h >>conftest.$ac_ext
64984 cat >>conftest.$ac_ext <<_ACEOF
64985 /* end confdefs.h. */
64986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64988 #define $ac_func innocuous_$ac_func
64990 /* System header to define __stub macros and hopefully few prototypes,
64991 which can conflict with char $ac_func (); below.
64992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64993 <limits.h> exists even on freestanding compilers. */
64995 #ifdef __STDC__
64996 # include <limits.h>
64997 #else
64998 # include <assert.h>
64999 #endif
65001 #undef $ac_func
65003 /* Override any gcc2 internal prototype to avoid an error. */
65004 #ifdef __cplusplus
65005 extern "C"
65007 #endif
65008 /* We use char because int might match the return type of a gcc2
65009 builtin and then its argument prototype would still apply. */
65010 char $ac_func ();
65011 /* The GNU C library defines this for functions which it implements
65012 to always fail with ENOSYS. Some functions are actually named
65013 something starting with __ and the normal name is an alias. */
65014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65015 choke me
65016 #else
65017 char (*f) () = $ac_func;
65018 #endif
65019 #ifdef __cplusplus
65021 #endif
65024 main ()
65026 return f != $ac_func;
65028 return 0;
65030 _ACEOF
65031 rm -f conftest.$ac_objext conftest$ac_exeext
65032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65033 (eval $ac_link) 2>conftest.er1
65034 ac_status=$?
65035 grep -v '^ *+' conftest.er1 >conftest.err
65036 rm -f conftest.er1
65037 cat conftest.err >&5
65038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65039 (exit $ac_status); } &&
65040 { ac_try='test -z "$ac_c_werror_flag"
65041 || test ! -s conftest.err'
65042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65043 (eval $ac_try) 2>&5
65044 ac_status=$?
65045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65046 (exit $ac_status); }; } &&
65047 { ac_try='test -s conftest$ac_exeext'
65048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65049 (eval $ac_try) 2>&5
65050 ac_status=$?
65051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65052 (exit $ac_status); }; }; then
65053 eval "$as_ac_var=yes"
65054 else
65055 echo "$as_me: failed program was:" >&5
65056 sed 's/^/| /' conftest.$ac_ext >&5
65058 eval "$as_ac_var=no"
65060 rm -f conftest.err conftest.$ac_objext \
65061 conftest$ac_exeext conftest.$ac_ext
65063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65065 if test `eval echo '${'$as_ac_var'}'` = yes; then
65066 cat >>confdefs.h <<_ACEOF
65067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65068 _ACEOF
65071 done
65089 echo "$as_me:$LINENO: checking for float round functions" >&5
65090 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
65091 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
65092 echo $ECHO_N "(cached) $ECHO_C" >&6
65093 else
65097 ac_ext=cc
65098 ac_cpp='$CXXCPP $CPPFLAGS'
65099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65103 cat >conftest.$ac_ext <<_ACEOF
65104 /* confdefs.h. */
65105 _ACEOF
65106 cat confdefs.h >>conftest.$ac_ext
65107 cat >>conftest.$ac_ext <<_ACEOF
65108 /* end confdefs.h. */
65109 #include <math.h>
65111 main ()
65113 ceilf (0); floorf (0);
65115 return 0;
65117 _ACEOF
65118 rm -f conftest.$ac_objext
65119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65120 (eval $ac_compile) 2>conftest.er1
65121 ac_status=$?
65122 grep -v '^ *+' conftest.er1 >conftest.err
65123 rm -f conftest.er1
65124 cat conftest.err >&5
65125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65126 (exit $ac_status); } &&
65127 { ac_try='test -z "$ac_cxx_werror_flag"
65128 || test ! -s conftest.err'
65129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65130 (eval $ac_try) 2>&5
65131 ac_status=$?
65132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65133 (exit $ac_status); }; } &&
65134 { ac_try='test -s conftest.$ac_objext'
65135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65136 (eval $ac_try) 2>&5
65137 ac_status=$?
65138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65139 (exit $ac_status); }; }; then
65140 glibcxx_cv_func_float_round_use=yes
65141 else
65142 echo "$as_me: failed program was:" >&5
65143 sed 's/^/| /' conftest.$ac_ext >&5
65145 glibcxx_cv_func_float_round_use=no
65147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65148 ac_ext=c
65149 ac_cpp='$CPP $CPPFLAGS'
65150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
65157 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
65158 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65161 for ac_func in ceilf floorf
65163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65164 echo "$as_me:$LINENO: checking for $ac_func" >&5
65165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65166 if eval "test \"\${$as_ac_var+set}\" = set"; then
65167 echo $ECHO_N "(cached) $ECHO_C" >&6
65168 else
65169 if test x$gcc_no_link = xyes; then
65170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65172 { (exit 1); exit 1; }; }
65174 cat >conftest.$ac_ext <<_ACEOF
65175 /* confdefs.h. */
65176 _ACEOF
65177 cat confdefs.h >>conftest.$ac_ext
65178 cat >>conftest.$ac_ext <<_ACEOF
65179 /* end confdefs.h. */
65180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65182 #define $ac_func innocuous_$ac_func
65184 /* System header to define __stub macros and hopefully few prototypes,
65185 which can conflict with char $ac_func (); below.
65186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65187 <limits.h> exists even on freestanding compilers. */
65189 #ifdef __STDC__
65190 # include <limits.h>
65191 #else
65192 # include <assert.h>
65193 #endif
65195 #undef $ac_func
65197 /* Override any gcc2 internal prototype to avoid an error. */
65198 #ifdef __cplusplus
65199 extern "C"
65201 #endif
65202 /* We use char because int might match the return type of a gcc2
65203 builtin and then its argument prototype would still apply. */
65204 char $ac_func ();
65205 /* The GNU C library defines this for functions which it implements
65206 to always fail with ENOSYS. Some functions are actually named
65207 something starting with __ and the normal name is an alias. */
65208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65209 choke me
65210 #else
65211 char (*f) () = $ac_func;
65212 #endif
65213 #ifdef __cplusplus
65215 #endif
65218 main ()
65220 return f != $ac_func;
65222 return 0;
65224 _ACEOF
65225 rm -f conftest.$ac_objext conftest$ac_exeext
65226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65227 (eval $ac_link) 2>conftest.er1
65228 ac_status=$?
65229 grep -v '^ *+' conftest.er1 >conftest.err
65230 rm -f conftest.er1
65231 cat conftest.err >&5
65232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65233 (exit $ac_status); } &&
65234 { ac_try='test -z "$ac_c_werror_flag"
65235 || test ! -s conftest.err'
65236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65237 (eval $ac_try) 2>&5
65238 ac_status=$?
65239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65240 (exit $ac_status); }; } &&
65241 { ac_try='test -s conftest$ac_exeext'
65242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65243 (eval $ac_try) 2>&5
65244 ac_status=$?
65245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65246 (exit $ac_status); }; }; then
65247 eval "$as_ac_var=yes"
65248 else
65249 echo "$as_me: failed program was:" >&5
65250 sed 's/^/| /' conftest.$ac_ext >&5
65252 eval "$as_ac_var=no"
65254 rm -f conftest.err conftest.$ac_objext \
65255 conftest$ac_exeext conftest.$ac_ext
65257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65259 if test `eval echo '${'$as_ac_var'}'` = yes; then
65260 cat >>confdefs.h <<_ACEOF
65261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65262 _ACEOF
65265 done
65267 else
65268 echo "$as_me:$LINENO: checking for _float round functions" >&5
65269 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
65270 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
65271 echo $ECHO_N "(cached) $ECHO_C" >&6
65272 else
65276 ac_ext=cc
65277 ac_cpp='$CXXCPP $CPPFLAGS'
65278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65282 cat >conftest.$ac_ext <<_ACEOF
65283 /* confdefs.h. */
65284 _ACEOF
65285 cat confdefs.h >>conftest.$ac_ext
65286 cat >>conftest.$ac_ext <<_ACEOF
65287 /* end confdefs.h. */
65288 #include <math.h>
65290 main ()
65292 _ceilf (0); _floorf (0);
65294 return 0;
65296 _ACEOF
65297 rm -f conftest.$ac_objext
65298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65299 (eval $ac_compile) 2>conftest.er1
65300 ac_status=$?
65301 grep -v '^ *+' conftest.er1 >conftest.err
65302 rm -f conftest.er1
65303 cat conftest.err >&5
65304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65305 (exit $ac_status); } &&
65306 { ac_try='test -z "$ac_cxx_werror_flag"
65307 || test ! -s conftest.err'
65308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65309 (eval $ac_try) 2>&5
65310 ac_status=$?
65311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65312 (exit $ac_status); }; } &&
65313 { ac_try='test -s conftest.$ac_objext'
65314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65315 (eval $ac_try) 2>&5
65316 ac_status=$?
65317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65318 (exit $ac_status); }; }; then
65319 glibcxx_cv_func__float_round_use=yes
65320 else
65321 echo "$as_me: failed program was:" >&5
65322 sed 's/^/| /' conftest.$ac_ext >&5
65324 glibcxx_cv_func__float_round_use=no
65326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65327 ac_ext=c
65328 ac_cpp='$CPP $CPPFLAGS'
65329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
65336 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
65337 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65340 for ac_func in _ceilf _floorf
65342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65343 echo "$as_me:$LINENO: checking for $ac_func" >&5
65344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65345 if eval "test \"\${$as_ac_var+set}\" = set"; then
65346 echo $ECHO_N "(cached) $ECHO_C" >&6
65347 else
65348 if test x$gcc_no_link = xyes; then
65349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65351 { (exit 1); exit 1; }; }
65353 cat >conftest.$ac_ext <<_ACEOF
65354 /* confdefs.h. */
65355 _ACEOF
65356 cat confdefs.h >>conftest.$ac_ext
65357 cat >>conftest.$ac_ext <<_ACEOF
65358 /* end confdefs.h. */
65359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65361 #define $ac_func innocuous_$ac_func
65363 /* System header to define __stub macros and hopefully few prototypes,
65364 which can conflict with char $ac_func (); below.
65365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65366 <limits.h> exists even on freestanding compilers. */
65368 #ifdef __STDC__
65369 # include <limits.h>
65370 #else
65371 # include <assert.h>
65372 #endif
65374 #undef $ac_func
65376 /* Override any gcc2 internal prototype to avoid an error. */
65377 #ifdef __cplusplus
65378 extern "C"
65380 #endif
65381 /* We use char because int might match the return type of a gcc2
65382 builtin and then its argument prototype would still apply. */
65383 char $ac_func ();
65384 /* The GNU C library defines this for functions which it implements
65385 to always fail with ENOSYS. Some functions are actually named
65386 something starting with __ and the normal name is an alias. */
65387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65388 choke me
65389 #else
65390 char (*f) () = $ac_func;
65391 #endif
65392 #ifdef __cplusplus
65394 #endif
65397 main ()
65399 return f != $ac_func;
65401 return 0;
65403 _ACEOF
65404 rm -f conftest.$ac_objext conftest$ac_exeext
65405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65406 (eval $ac_link) 2>conftest.er1
65407 ac_status=$?
65408 grep -v '^ *+' conftest.er1 >conftest.err
65409 rm -f conftest.er1
65410 cat conftest.err >&5
65411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65412 (exit $ac_status); } &&
65413 { ac_try='test -z "$ac_c_werror_flag"
65414 || test ! -s conftest.err'
65415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65416 (eval $ac_try) 2>&5
65417 ac_status=$?
65418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65419 (exit $ac_status); }; } &&
65420 { ac_try='test -s conftest$ac_exeext'
65421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65422 (eval $ac_try) 2>&5
65423 ac_status=$?
65424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65425 (exit $ac_status); }; }; then
65426 eval "$as_ac_var=yes"
65427 else
65428 echo "$as_me: failed program was:" >&5
65429 sed 's/^/| /' conftest.$ac_ext >&5
65431 eval "$as_ac_var=no"
65433 rm -f conftest.err conftest.$ac_objext \
65434 conftest$ac_exeext conftest.$ac_ext
65436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65438 if test `eval echo '${'$as_ac_var'}'` = yes; then
65439 cat >>confdefs.h <<_ACEOF
65440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65441 _ACEOF
65444 done
65456 echo "$as_me:$LINENO: checking for expf declaration" >&5
65457 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
65458 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65459 if test "${glibcxx_cv_func_expf_use+set}" = set; then
65460 echo $ECHO_N "(cached) $ECHO_C" >&6
65461 else
65465 ac_ext=cc
65466 ac_cpp='$CXXCPP $CPPFLAGS'
65467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65471 cat >conftest.$ac_ext <<_ACEOF
65472 /* confdefs.h. */
65473 _ACEOF
65474 cat confdefs.h >>conftest.$ac_ext
65475 cat >>conftest.$ac_ext <<_ACEOF
65476 /* end confdefs.h. */
65477 #include <math.h>
65478 #ifdef HAVE_IEEEFP_H
65479 #include <ieeefp.h>
65480 #endif
65483 main ()
65485 expf(0);
65487 return 0;
65489 _ACEOF
65490 rm -f conftest.$ac_objext
65491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65492 (eval $ac_compile) 2>conftest.er1
65493 ac_status=$?
65494 grep -v '^ *+' conftest.er1 >conftest.err
65495 rm -f conftest.er1
65496 cat conftest.err >&5
65497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65498 (exit $ac_status); } &&
65499 { ac_try='test -z "$ac_cxx_werror_flag"
65500 || test ! -s conftest.err'
65501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65502 (eval $ac_try) 2>&5
65503 ac_status=$?
65504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65505 (exit $ac_status); }; } &&
65506 { ac_try='test -s conftest.$ac_objext'
65507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65508 (eval $ac_try) 2>&5
65509 ac_status=$?
65510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65511 (exit $ac_status); }; }; then
65512 glibcxx_cv_func_expf_use=yes
65513 else
65514 echo "$as_me: failed program was:" >&5
65515 sed 's/^/| /' conftest.$ac_ext >&5
65517 glibcxx_cv_func_expf_use=no
65519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65520 ac_ext=c
65521 ac_cpp='$CPP $CPPFLAGS'
65522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
65531 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
65533 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65535 for ac_func in expf
65537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65538 echo "$as_me:$LINENO: checking for $ac_func" >&5
65539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65540 if eval "test \"\${$as_ac_var+set}\" = set"; then
65541 echo $ECHO_N "(cached) $ECHO_C" >&6
65542 else
65543 if test x$gcc_no_link = xyes; then
65544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65546 { (exit 1); exit 1; }; }
65548 cat >conftest.$ac_ext <<_ACEOF
65549 /* confdefs.h. */
65550 _ACEOF
65551 cat confdefs.h >>conftest.$ac_ext
65552 cat >>conftest.$ac_ext <<_ACEOF
65553 /* end confdefs.h. */
65554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65556 #define $ac_func innocuous_$ac_func
65558 /* System header to define __stub macros and hopefully few prototypes,
65559 which can conflict with char $ac_func (); below.
65560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65561 <limits.h> exists even on freestanding compilers. */
65563 #ifdef __STDC__
65564 # include <limits.h>
65565 #else
65566 # include <assert.h>
65567 #endif
65569 #undef $ac_func
65571 /* Override any gcc2 internal prototype to avoid an error. */
65572 #ifdef __cplusplus
65573 extern "C"
65575 #endif
65576 /* We use char because int might match the return type of a gcc2
65577 builtin and then its argument prototype would still apply. */
65578 char $ac_func ();
65579 /* The GNU C library defines this for functions which it implements
65580 to always fail with ENOSYS. Some functions are actually named
65581 something starting with __ and the normal name is an alias. */
65582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65583 choke me
65584 #else
65585 char (*f) () = $ac_func;
65586 #endif
65587 #ifdef __cplusplus
65589 #endif
65592 main ()
65594 return f != $ac_func;
65596 return 0;
65598 _ACEOF
65599 rm -f conftest.$ac_objext conftest$ac_exeext
65600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65601 (eval $ac_link) 2>conftest.er1
65602 ac_status=$?
65603 grep -v '^ *+' conftest.er1 >conftest.err
65604 rm -f conftest.er1
65605 cat conftest.err >&5
65606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65607 (exit $ac_status); } &&
65608 { ac_try='test -z "$ac_c_werror_flag"
65609 || test ! -s conftest.err'
65610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65611 (eval $ac_try) 2>&5
65612 ac_status=$?
65613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65614 (exit $ac_status); }; } &&
65615 { ac_try='test -s conftest$ac_exeext'
65616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65617 (eval $ac_try) 2>&5
65618 ac_status=$?
65619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65620 (exit $ac_status); }; }; then
65621 eval "$as_ac_var=yes"
65622 else
65623 echo "$as_me: failed program was:" >&5
65624 sed 's/^/| /' conftest.$ac_ext >&5
65626 eval "$as_ac_var=no"
65628 rm -f conftest.err conftest.$ac_objext \
65629 conftest$ac_exeext conftest.$ac_ext
65631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65633 if test `eval echo '${'$as_ac_var'}'` = yes; then
65634 cat >>confdefs.h <<_ACEOF
65635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65636 _ACEOF
65639 done
65641 else
65643 echo "$as_me:$LINENO: checking for _expf declaration" >&5
65644 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
65645 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65646 if test "${glibcxx_cv_func__expf_use+set}" = set; then
65647 echo $ECHO_N "(cached) $ECHO_C" >&6
65648 else
65652 ac_ext=cc
65653 ac_cpp='$CXXCPP $CPPFLAGS'
65654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65658 cat >conftest.$ac_ext <<_ACEOF
65659 /* confdefs.h. */
65660 _ACEOF
65661 cat confdefs.h >>conftest.$ac_ext
65662 cat >>conftest.$ac_ext <<_ACEOF
65663 /* end confdefs.h. */
65664 #include <math.h>
65665 #ifdef HAVE_IEEEFP_H
65666 #include <ieeefp.h>
65667 #endif
65670 main ()
65672 _expf(0);
65674 return 0;
65676 _ACEOF
65677 rm -f conftest.$ac_objext
65678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65679 (eval $ac_compile) 2>conftest.er1
65680 ac_status=$?
65681 grep -v '^ *+' conftest.er1 >conftest.err
65682 rm -f conftest.er1
65683 cat conftest.err >&5
65684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65685 (exit $ac_status); } &&
65686 { ac_try='test -z "$ac_cxx_werror_flag"
65687 || test ! -s conftest.err'
65688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65689 (eval $ac_try) 2>&5
65690 ac_status=$?
65691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65692 (exit $ac_status); }; } &&
65693 { ac_try='test -s conftest.$ac_objext'
65694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65695 (eval $ac_try) 2>&5
65696 ac_status=$?
65697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65698 (exit $ac_status); }; }; then
65699 glibcxx_cv_func__expf_use=yes
65700 else
65701 echo "$as_me: failed program was:" >&5
65702 sed 's/^/| /' conftest.$ac_ext >&5
65704 glibcxx_cv_func__expf_use=no
65706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65707 ac_ext=c
65708 ac_cpp='$CPP $CPPFLAGS'
65709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65717 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
65718 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
65720 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65722 for ac_func in _expf
65724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65725 echo "$as_me:$LINENO: checking for $ac_func" >&5
65726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65727 if eval "test \"\${$as_ac_var+set}\" = set"; then
65728 echo $ECHO_N "(cached) $ECHO_C" >&6
65729 else
65730 if test x$gcc_no_link = xyes; then
65731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65733 { (exit 1); exit 1; }; }
65735 cat >conftest.$ac_ext <<_ACEOF
65736 /* confdefs.h. */
65737 _ACEOF
65738 cat confdefs.h >>conftest.$ac_ext
65739 cat >>conftest.$ac_ext <<_ACEOF
65740 /* end confdefs.h. */
65741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65743 #define $ac_func innocuous_$ac_func
65745 /* System header to define __stub macros and hopefully few prototypes,
65746 which can conflict with char $ac_func (); below.
65747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65748 <limits.h> exists even on freestanding compilers. */
65750 #ifdef __STDC__
65751 # include <limits.h>
65752 #else
65753 # include <assert.h>
65754 #endif
65756 #undef $ac_func
65758 /* Override any gcc2 internal prototype to avoid an error. */
65759 #ifdef __cplusplus
65760 extern "C"
65762 #endif
65763 /* We use char because int might match the return type of a gcc2
65764 builtin and then its argument prototype would still apply. */
65765 char $ac_func ();
65766 /* The GNU C library defines this for functions which it implements
65767 to always fail with ENOSYS. Some functions are actually named
65768 something starting with __ and the normal name is an alias. */
65769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65770 choke me
65771 #else
65772 char (*f) () = $ac_func;
65773 #endif
65774 #ifdef __cplusplus
65776 #endif
65779 main ()
65781 return f != $ac_func;
65783 return 0;
65785 _ACEOF
65786 rm -f conftest.$ac_objext conftest$ac_exeext
65787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65788 (eval $ac_link) 2>conftest.er1
65789 ac_status=$?
65790 grep -v '^ *+' conftest.er1 >conftest.err
65791 rm -f conftest.er1
65792 cat conftest.err >&5
65793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65794 (exit $ac_status); } &&
65795 { ac_try='test -z "$ac_c_werror_flag"
65796 || test ! -s conftest.err'
65797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65798 (eval $ac_try) 2>&5
65799 ac_status=$?
65800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65801 (exit $ac_status); }; } &&
65802 { ac_try='test -s conftest$ac_exeext'
65803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65804 (eval $ac_try) 2>&5
65805 ac_status=$?
65806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65807 (exit $ac_status); }; }; then
65808 eval "$as_ac_var=yes"
65809 else
65810 echo "$as_me: failed program was:" >&5
65811 sed 's/^/| /' conftest.$ac_ext >&5
65813 eval "$as_ac_var=no"
65815 rm -f conftest.err conftest.$ac_objext \
65816 conftest$ac_exeext conftest.$ac_ext
65818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65820 if test `eval echo '${'$as_ac_var'}'` = yes; then
65821 cat >>confdefs.h <<_ACEOF
65822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65823 _ACEOF
65826 done
65836 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
65837 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
65838 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65839 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
65840 echo $ECHO_N "(cached) $ECHO_C" >&6
65841 else
65845 ac_ext=cc
65846 ac_cpp='$CXXCPP $CPPFLAGS'
65847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65851 cat >conftest.$ac_ext <<_ACEOF
65852 /* confdefs.h. */
65853 _ACEOF
65854 cat confdefs.h >>conftest.$ac_ext
65855 cat >>conftest.$ac_ext <<_ACEOF
65856 /* end confdefs.h. */
65857 #include <math.h>
65858 #ifdef HAVE_IEEEFP_H
65859 #include <ieeefp.h>
65860 #endif
65863 main ()
65865 isnanf(0);
65867 return 0;
65869 _ACEOF
65870 rm -f conftest.$ac_objext
65871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65872 (eval $ac_compile) 2>conftest.er1
65873 ac_status=$?
65874 grep -v '^ *+' conftest.er1 >conftest.err
65875 rm -f conftest.er1
65876 cat conftest.err >&5
65877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65878 (exit $ac_status); } &&
65879 { ac_try='test -z "$ac_cxx_werror_flag"
65880 || test ! -s conftest.err'
65881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65882 (eval $ac_try) 2>&5
65883 ac_status=$?
65884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65885 (exit $ac_status); }; } &&
65886 { ac_try='test -s conftest.$ac_objext'
65887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65888 (eval $ac_try) 2>&5
65889 ac_status=$?
65890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65891 (exit $ac_status); }; }; then
65892 glibcxx_cv_func_isnanf_use=yes
65893 else
65894 echo "$as_me: failed program was:" >&5
65895 sed 's/^/| /' conftest.$ac_ext >&5
65897 glibcxx_cv_func_isnanf_use=no
65899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65900 ac_ext=c
65901 ac_cpp='$CPP $CPPFLAGS'
65902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
65911 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
65913 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65915 for ac_func in isnanf
65917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65918 echo "$as_me:$LINENO: checking for $ac_func" >&5
65919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65920 if eval "test \"\${$as_ac_var+set}\" = set"; then
65921 echo $ECHO_N "(cached) $ECHO_C" >&6
65922 else
65923 if test x$gcc_no_link = xyes; then
65924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65926 { (exit 1); exit 1; }; }
65928 cat >conftest.$ac_ext <<_ACEOF
65929 /* confdefs.h. */
65930 _ACEOF
65931 cat confdefs.h >>conftest.$ac_ext
65932 cat >>conftest.$ac_ext <<_ACEOF
65933 /* end confdefs.h. */
65934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65936 #define $ac_func innocuous_$ac_func
65938 /* System header to define __stub macros and hopefully few prototypes,
65939 which can conflict with char $ac_func (); below.
65940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65941 <limits.h> exists even on freestanding compilers. */
65943 #ifdef __STDC__
65944 # include <limits.h>
65945 #else
65946 # include <assert.h>
65947 #endif
65949 #undef $ac_func
65951 /* Override any gcc2 internal prototype to avoid an error. */
65952 #ifdef __cplusplus
65953 extern "C"
65955 #endif
65956 /* We use char because int might match the return type of a gcc2
65957 builtin and then its argument prototype would still apply. */
65958 char $ac_func ();
65959 /* The GNU C library defines this for functions which it implements
65960 to always fail with ENOSYS. Some functions are actually named
65961 something starting with __ and the normal name is an alias. */
65962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65963 choke me
65964 #else
65965 char (*f) () = $ac_func;
65966 #endif
65967 #ifdef __cplusplus
65969 #endif
65972 main ()
65974 return f != $ac_func;
65976 return 0;
65978 _ACEOF
65979 rm -f conftest.$ac_objext conftest$ac_exeext
65980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65981 (eval $ac_link) 2>conftest.er1
65982 ac_status=$?
65983 grep -v '^ *+' conftest.er1 >conftest.err
65984 rm -f conftest.er1
65985 cat conftest.err >&5
65986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65987 (exit $ac_status); } &&
65988 { ac_try='test -z "$ac_c_werror_flag"
65989 || test ! -s conftest.err'
65990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65991 (eval $ac_try) 2>&5
65992 ac_status=$?
65993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65994 (exit $ac_status); }; } &&
65995 { ac_try='test -s conftest$ac_exeext'
65996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65997 (eval $ac_try) 2>&5
65998 ac_status=$?
65999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66000 (exit $ac_status); }; }; then
66001 eval "$as_ac_var=yes"
66002 else
66003 echo "$as_me: failed program was:" >&5
66004 sed 's/^/| /' conftest.$ac_ext >&5
66006 eval "$as_ac_var=no"
66008 rm -f conftest.err conftest.$ac_objext \
66009 conftest$ac_exeext conftest.$ac_ext
66011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66013 if test `eval echo '${'$as_ac_var'}'` = yes; then
66014 cat >>confdefs.h <<_ACEOF
66015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66016 _ACEOF
66019 done
66021 else
66023 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
66024 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
66025 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66026 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
66027 echo $ECHO_N "(cached) $ECHO_C" >&6
66028 else
66032 ac_ext=cc
66033 ac_cpp='$CXXCPP $CPPFLAGS'
66034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66038 cat >conftest.$ac_ext <<_ACEOF
66039 /* confdefs.h. */
66040 _ACEOF
66041 cat confdefs.h >>conftest.$ac_ext
66042 cat >>conftest.$ac_ext <<_ACEOF
66043 /* end confdefs.h. */
66044 #include <math.h>
66045 #ifdef HAVE_IEEEFP_H
66046 #include <ieeefp.h>
66047 #endif
66050 main ()
66052 _isnanf(0);
66054 return 0;
66056 _ACEOF
66057 rm -f conftest.$ac_objext
66058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66059 (eval $ac_compile) 2>conftest.er1
66060 ac_status=$?
66061 grep -v '^ *+' conftest.er1 >conftest.err
66062 rm -f conftest.er1
66063 cat conftest.err >&5
66064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66065 (exit $ac_status); } &&
66066 { ac_try='test -z "$ac_cxx_werror_flag"
66067 || test ! -s conftest.err'
66068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66069 (eval $ac_try) 2>&5
66070 ac_status=$?
66071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66072 (exit $ac_status); }; } &&
66073 { ac_try='test -s conftest.$ac_objext'
66074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66075 (eval $ac_try) 2>&5
66076 ac_status=$?
66077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66078 (exit $ac_status); }; }; then
66079 glibcxx_cv_func__isnanf_use=yes
66080 else
66081 echo "$as_me: failed program was:" >&5
66082 sed 's/^/| /' conftest.$ac_ext >&5
66084 glibcxx_cv_func__isnanf_use=no
66086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66087 ac_ext=c
66088 ac_cpp='$CPP $CPPFLAGS'
66089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
66098 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
66100 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66102 for ac_func in _isnanf
66104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66105 echo "$as_me:$LINENO: checking for $ac_func" >&5
66106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66107 if eval "test \"\${$as_ac_var+set}\" = set"; then
66108 echo $ECHO_N "(cached) $ECHO_C" >&6
66109 else
66110 if test x$gcc_no_link = xyes; then
66111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66113 { (exit 1); exit 1; }; }
66115 cat >conftest.$ac_ext <<_ACEOF
66116 /* confdefs.h. */
66117 _ACEOF
66118 cat confdefs.h >>conftest.$ac_ext
66119 cat >>conftest.$ac_ext <<_ACEOF
66120 /* end confdefs.h. */
66121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66123 #define $ac_func innocuous_$ac_func
66125 /* System header to define __stub macros and hopefully few prototypes,
66126 which can conflict with char $ac_func (); below.
66127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66128 <limits.h> exists even on freestanding compilers. */
66130 #ifdef __STDC__
66131 # include <limits.h>
66132 #else
66133 # include <assert.h>
66134 #endif
66136 #undef $ac_func
66138 /* Override any gcc2 internal prototype to avoid an error. */
66139 #ifdef __cplusplus
66140 extern "C"
66142 #endif
66143 /* We use char because int might match the return type of a gcc2
66144 builtin and then its argument prototype would still apply. */
66145 char $ac_func ();
66146 /* The GNU C library defines this for functions which it implements
66147 to always fail with ENOSYS. Some functions are actually named
66148 something starting with __ and the normal name is an alias. */
66149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66150 choke me
66151 #else
66152 char (*f) () = $ac_func;
66153 #endif
66154 #ifdef __cplusplus
66156 #endif
66159 main ()
66161 return f != $ac_func;
66163 return 0;
66165 _ACEOF
66166 rm -f conftest.$ac_objext conftest$ac_exeext
66167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66168 (eval $ac_link) 2>conftest.er1
66169 ac_status=$?
66170 grep -v '^ *+' conftest.er1 >conftest.err
66171 rm -f conftest.er1
66172 cat conftest.err >&5
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); } &&
66175 { ac_try='test -z "$ac_c_werror_flag"
66176 || test ! -s conftest.err'
66177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66178 (eval $ac_try) 2>&5
66179 ac_status=$?
66180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181 (exit $ac_status); }; } &&
66182 { ac_try='test -s conftest$ac_exeext'
66183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66184 (eval $ac_try) 2>&5
66185 ac_status=$?
66186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66187 (exit $ac_status); }; }; then
66188 eval "$as_ac_var=yes"
66189 else
66190 echo "$as_me: failed program was:" >&5
66191 sed 's/^/| /' conftest.$ac_ext >&5
66193 eval "$as_ac_var=no"
66195 rm -f conftest.err conftest.$ac_objext \
66196 conftest$ac_exeext conftest.$ac_ext
66198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66200 if test `eval echo '${'$as_ac_var'}'` = yes; then
66201 cat >>confdefs.h <<_ACEOF
66202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66203 _ACEOF
66206 done
66216 echo "$as_me:$LINENO: checking for isinff declaration" >&5
66217 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
66218 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66219 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
66220 echo $ECHO_N "(cached) $ECHO_C" >&6
66221 else
66225 ac_ext=cc
66226 ac_cpp='$CXXCPP $CPPFLAGS'
66227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66231 cat >conftest.$ac_ext <<_ACEOF
66232 /* confdefs.h. */
66233 _ACEOF
66234 cat confdefs.h >>conftest.$ac_ext
66235 cat >>conftest.$ac_ext <<_ACEOF
66236 /* end confdefs.h. */
66237 #include <math.h>
66238 #ifdef HAVE_IEEEFP_H
66239 #include <ieeefp.h>
66240 #endif
66243 main ()
66245 isinff(0);
66247 return 0;
66249 _ACEOF
66250 rm -f conftest.$ac_objext
66251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66252 (eval $ac_compile) 2>conftest.er1
66253 ac_status=$?
66254 grep -v '^ *+' conftest.er1 >conftest.err
66255 rm -f conftest.er1
66256 cat conftest.err >&5
66257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66258 (exit $ac_status); } &&
66259 { ac_try='test -z "$ac_cxx_werror_flag"
66260 || test ! -s conftest.err'
66261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66262 (eval $ac_try) 2>&5
66263 ac_status=$?
66264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66265 (exit $ac_status); }; } &&
66266 { ac_try='test -s conftest.$ac_objext'
66267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66268 (eval $ac_try) 2>&5
66269 ac_status=$?
66270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66271 (exit $ac_status); }; }; then
66272 glibcxx_cv_func_isinff_use=yes
66273 else
66274 echo "$as_me: failed program was:" >&5
66275 sed 's/^/| /' conftest.$ac_ext >&5
66277 glibcxx_cv_func_isinff_use=no
66279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66280 ac_ext=c
66281 ac_cpp='$CPP $CPPFLAGS'
66282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
66291 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
66293 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66295 for ac_func in isinff
66297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66298 echo "$as_me:$LINENO: checking for $ac_func" >&5
66299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66300 if eval "test \"\${$as_ac_var+set}\" = set"; then
66301 echo $ECHO_N "(cached) $ECHO_C" >&6
66302 else
66303 if test x$gcc_no_link = xyes; then
66304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66306 { (exit 1); exit 1; }; }
66308 cat >conftest.$ac_ext <<_ACEOF
66309 /* confdefs.h. */
66310 _ACEOF
66311 cat confdefs.h >>conftest.$ac_ext
66312 cat >>conftest.$ac_ext <<_ACEOF
66313 /* end confdefs.h. */
66314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66316 #define $ac_func innocuous_$ac_func
66318 /* System header to define __stub macros and hopefully few prototypes,
66319 which can conflict with char $ac_func (); below.
66320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66321 <limits.h> exists even on freestanding compilers. */
66323 #ifdef __STDC__
66324 # include <limits.h>
66325 #else
66326 # include <assert.h>
66327 #endif
66329 #undef $ac_func
66331 /* Override any gcc2 internal prototype to avoid an error. */
66332 #ifdef __cplusplus
66333 extern "C"
66335 #endif
66336 /* We use char because int might match the return type of a gcc2
66337 builtin and then its argument prototype would still apply. */
66338 char $ac_func ();
66339 /* The GNU C library defines this for functions which it implements
66340 to always fail with ENOSYS. Some functions are actually named
66341 something starting with __ and the normal name is an alias. */
66342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66343 choke me
66344 #else
66345 char (*f) () = $ac_func;
66346 #endif
66347 #ifdef __cplusplus
66349 #endif
66352 main ()
66354 return f != $ac_func;
66356 return 0;
66358 _ACEOF
66359 rm -f conftest.$ac_objext conftest$ac_exeext
66360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66361 (eval $ac_link) 2>conftest.er1
66362 ac_status=$?
66363 grep -v '^ *+' conftest.er1 >conftest.err
66364 rm -f conftest.er1
66365 cat conftest.err >&5
66366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66367 (exit $ac_status); } &&
66368 { ac_try='test -z "$ac_c_werror_flag"
66369 || test ! -s conftest.err'
66370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66371 (eval $ac_try) 2>&5
66372 ac_status=$?
66373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66374 (exit $ac_status); }; } &&
66375 { ac_try='test -s conftest$ac_exeext'
66376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66377 (eval $ac_try) 2>&5
66378 ac_status=$?
66379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66380 (exit $ac_status); }; }; then
66381 eval "$as_ac_var=yes"
66382 else
66383 echo "$as_me: failed program was:" >&5
66384 sed 's/^/| /' conftest.$ac_ext >&5
66386 eval "$as_ac_var=no"
66388 rm -f conftest.err conftest.$ac_objext \
66389 conftest$ac_exeext conftest.$ac_ext
66391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66393 if test `eval echo '${'$as_ac_var'}'` = yes; then
66394 cat >>confdefs.h <<_ACEOF
66395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66396 _ACEOF
66399 done
66401 else
66403 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
66404 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
66405 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66406 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
66407 echo $ECHO_N "(cached) $ECHO_C" >&6
66408 else
66412 ac_ext=cc
66413 ac_cpp='$CXXCPP $CPPFLAGS'
66414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66418 cat >conftest.$ac_ext <<_ACEOF
66419 /* confdefs.h. */
66420 _ACEOF
66421 cat confdefs.h >>conftest.$ac_ext
66422 cat >>conftest.$ac_ext <<_ACEOF
66423 /* end confdefs.h. */
66424 #include <math.h>
66425 #ifdef HAVE_IEEEFP_H
66426 #include <ieeefp.h>
66427 #endif
66430 main ()
66432 _isinff(0);
66434 return 0;
66436 _ACEOF
66437 rm -f conftest.$ac_objext
66438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66439 (eval $ac_compile) 2>conftest.er1
66440 ac_status=$?
66441 grep -v '^ *+' conftest.er1 >conftest.err
66442 rm -f conftest.er1
66443 cat conftest.err >&5
66444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66445 (exit $ac_status); } &&
66446 { ac_try='test -z "$ac_cxx_werror_flag"
66447 || test ! -s conftest.err'
66448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66449 (eval $ac_try) 2>&5
66450 ac_status=$?
66451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66452 (exit $ac_status); }; } &&
66453 { ac_try='test -s conftest.$ac_objext'
66454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66455 (eval $ac_try) 2>&5
66456 ac_status=$?
66457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66458 (exit $ac_status); }; }; then
66459 glibcxx_cv_func__isinff_use=yes
66460 else
66461 echo "$as_me: failed program was:" >&5
66462 sed 's/^/| /' conftest.$ac_ext >&5
66464 glibcxx_cv_func__isinff_use=no
66466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66467 ac_ext=c
66468 ac_cpp='$CPP $CPPFLAGS'
66469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
66478 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
66480 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66482 for ac_func in _isinff
66484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66485 echo "$as_me:$LINENO: checking for $ac_func" >&5
66486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66487 if eval "test \"\${$as_ac_var+set}\" = set"; then
66488 echo $ECHO_N "(cached) $ECHO_C" >&6
66489 else
66490 if test x$gcc_no_link = xyes; then
66491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66493 { (exit 1); exit 1; }; }
66495 cat >conftest.$ac_ext <<_ACEOF
66496 /* confdefs.h. */
66497 _ACEOF
66498 cat confdefs.h >>conftest.$ac_ext
66499 cat >>conftest.$ac_ext <<_ACEOF
66500 /* end confdefs.h. */
66501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66503 #define $ac_func innocuous_$ac_func
66505 /* System header to define __stub macros and hopefully few prototypes,
66506 which can conflict with char $ac_func (); below.
66507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66508 <limits.h> exists even on freestanding compilers. */
66510 #ifdef __STDC__
66511 # include <limits.h>
66512 #else
66513 # include <assert.h>
66514 #endif
66516 #undef $ac_func
66518 /* Override any gcc2 internal prototype to avoid an error. */
66519 #ifdef __cplusplus
66520 extern "C"
66522 #endif
66523 /* We use char because int might match the return type of a gcc2
66524 builtin and then its argument prototype would still apply. */
66525 char $ac_func ();
66526 /* The GNU C library defines this for functions which it implements
66527 to always fail with ENOSYS. Some functions are actually named
66528 something starting with __ and the normal name is an alias. */
66529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66530 choke me
66531 #else
66532 char (*f) () = $ac_func;
66533 #endif
66534 #ifdef __cplusplus
66536 #endif
66539 main ()
66541 return f != $ac_func;
66543 return 0;
66545 _ACEOF
66546 rm -f conftest.$ac_objext conftest$ac_exeext
66547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66548 (eval $ac_link) 2>conftest.er1
66549 ac_status=$?
66550 grep -v '^ *+' conftest.er1 >conftest.err
66551 rm -f conftest.er1
66552 cat conftest.err >&5
66553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66554 (exit $ac_status); } &&
66555 { ac_try='test -z "$ac_c_werror_flag"
66556 || test ! -s conftest.err'
66557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66558 (eval $ac_try) 2>&5
66559 ac_status=$?
66560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66561 (exit $ac_status); }; } &&
66562 { ac_try='test -s conftest$ac_exeext'
66563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66564 (eval $ac_try) 2>&5
66565 ac_status=$?
66566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66567 (exit $ac_status); }; }; then
66568 eval "$as_ac_var=yes"
66569 else
66570 echo "$as_me: failed program was:" >&5
66571 sed 's/^/| /' conftest.$ac_ext >&5
66573 eval "$as_ac_var=no"
66575 rm -f conftest.err conftest.$ac_objext \
66576 conftest$ac_exeext conftest.$ac_ext
66578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66580 if test `eval echo '${'$as_ac_var'}'` = yes; then
66581 cat >>confdefs.h <<_ACEOF
66582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66583 _ACEOF
66586 done
66596 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
66597 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
66598 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66599 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
66600 echo $ECHO_N "(cached) $ECHO_C" >&6
66601 else
66605 ac_ext=cc
66606 ac_cpp='$CXXCPP $CPPFLAGS'
66607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
66619 main ()
66621 atan2f(0, 0);
66623 return 0;
66625 _ACEOF
66626 rm -f conftest.$ac_objext
66627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66628 (eval $ac_compile) 2>conftest.er1
66629 ac_status=$?
66630 grep -v '^ *+' conftest.er1 >conftest.err
66631 rm -f conftest.er1
66632 cat conftest.err >&5
66633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66634 (exit $ac_status); } &&
66635 { ac_try='test -z "$ac_cxx_werror_flag"
66636 || test ! -s conftest.err'
66637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66638 (eval $ac_try) 2>&5
66639 ac_status=$?
66640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66641 (exit $ac_status); }; } &&
66642 { ac_try='test -s conftest.$ac_objext'
66643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66644 (eval $ac_try) 2>&5
66645 ac_status=$?
66646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66647 (exit $ac_status); }; }; then
66648 glibcxx_cv_func_atan2f_use=yes
66649 else
66650 echo "$as_me: failed program was:" >&5
66651 sed 's/^/| /' conftest.$ac_ext >&5
66653 glibcxx_cv_func_atan2f_use=no
66655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66656 ac_ext=c
66657 ac_cpp='$CPP $CPPFLAGS'
66658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
66667 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
66669 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66671 for ac_func in atan2f
66673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66674 echo "$as_me:$LINENO: checking for $ac_func" >&5
66675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66676 if eval "test \"\${$as_ac_var+set}\" = set"; then
66677 echo $ECHO_N "(cached) $ECHO_C" >&6
66678 else
66679 if test x$gcc_no_link = xyes; then
66680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66682 { (exit 1); exit 1; }; }
66684 cat >conftest.$ac_ext <<_ACEOF
66685 /* confdefs.h. */
66686 _ACEOF
66687 cat confdefs.h >>conftest.$ac_ext
66688 cat >>conftest.$ac_ext <<_ACEOF
66689 /* end confdefs.h. */
66690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66692 #define $ac_func innocuous_$ac_func
66694 /* System header to define __stub macros and hopefully few prototypes,
66695 which can conflict with char $ac_func (); below.
66696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66697 <limits.h> exists even on freestanding compilers. */
66699 #ifdef __STDC__
66700 # include <limits.h>
66701 #else
66702 # include <assert.h>
66703 #endif
66705 #undef $ac_func
66707 /* Override any gcc2 internal prototype to avoid an error. */
66708 #ifdef __cplusplus
66709 extern "C"
66711 #endif
66712 /* We use char because int might match the return type of a gcc2
66713 builtin and then its argument prototype would still apply. */
66714 char $ac_func ();
66715 /* The GNU C library defines this for functions which it implements
66716 to always fail with ENOSYS. Some functions are actually named
66717 something starting with __ and the normal name is an alias. */
66718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66719 choke me
66720 #else
66721 char (*f) () = $ac_func;
66722 #endif
66723 #ifdef __cplusplus
66725 #endif
66728 main ()
66730 return f != $ac_func;
66732 return 0;
66734 _ACEOF
66735 rm -f conftest.$ac_objext conftest$ac_exeext
66736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66737 (eval $ac_link) 2>conftest.er1
66738 ac_status=$?
66739 grep -v '^ *+' conftest.er1 >conftest.err
66740 rm -f conftest.er1
66741 cat conftest.err >&5
66742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66743 (exit $ac_status); } &&
66744 { ac_try='test -z "$ac_c_werror_flag"
66745 || test ! -s conftest.err'
66746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66747 (eval $ac_try) 2>&5
66748 ac_status=$?
66749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66750 (exit $ac_status); }; } &&
66751 { ac_try='test -s conftest$ac_exeext'
66752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66753 (eval $ac_try) 2>&5
66754 ac_status=$?
66755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66756 (exit $ac_status); }; }; then
66757 eval "$as_ac_var=yes"
66758 else
66759 echo "$as_me: failed program was:" >&5
66760 sed 's/^/| /' conftest.$ac_ext >&5
66762 eval "$as_ac_var=no"
66764 rm -f conftest.err conftest.$ac_objext \
66765 conftest$ac_exeext conftest.$ac_ext
66767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66769 if test `eval echo '${'$as_ac_var'}'` = yes; then
66770 cat >>confdefs.h <<_ACEOF
66771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66772 _ACEOF
66775 done
66777 else
66779 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
66780 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
66781 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66782 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
66783 echo $ECHO_N "(cached) $ECHO_C" >&6
66784 else
66788 ac_ext=cc
66789 ac_cpp='$CXXCPP $CPPFLAGS'
66790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
66802 main ()
66804 _atan2f(0, 0);
66806 return 0;
66808 _ACEOF
66809 rm -f conftest.$ac_objext
66810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66811 (eval $ac_compile) 2>conftest.er1
66812 ac_status=$?
66813 grep -v '^ *+' conftest.er1 >conftest.err
66814 rm -f conftest.er1
66815 cat conftest.err >&5
66816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66817 (exit $ac_status); } &&
66818 { ac_try='test -z "$ac_cxx_werror_flag"
66819 || test ! -s conftest.err'
66820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66821 (eval $ac_try) 2>&5
66822 ac_status=$?
66823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66824 (exit $ac_status); }; } &&
66825 { ac_try='test -s conftest.$ac_objext'
66826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66827 (eval $ac_try) 2>&5
66828 ac_status=$?
66829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66830 (exit $ac_status); }; }; then
66831 glibcxx_cv_func__atan2f_use=yes
66832 else
66833 echo "$as_me: failed program was:" >&5
66834 sed 's/^/| /' conftest.$ac_ext >&5
66836 glibcxx_cv_func__atan2f_use=no
66838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66839 ac_ext=c
66840 ac_cpp='$CPP $CPPFLAGS'
66841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66849 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
66850 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
66852 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66854 for ac_func in _atan2f
66856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66857 echo "$as_me:$LINENO: checking for $ac_func" >&5
66858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66859 if eval "test \"\${$as_ac_var+set}\" = set"; then
66860 echo $ECHO_N "(cached) $ECHO_C" >&6
66861 else
66862 if test x$gcc_no_link = xyes; then
66863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66865 { (exit 1); exit 1; }; }
66867 cat >conftest.$ac_ext <<_ACEOF
66868 /* confdefs.h. */
66869 _ACEOF
66870 cat confdefs.h >>conftest.$ac_ext
66871 cat >>conftest.$ac_ext <<_ACEOF
66872 /* end confdefs.h. */
66873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66875 #define $ac_func innocuous_$ac_func
66877 /* System header to define __stub macros and hopefully few prototypes,
66878 which can conflict with char $ac_func (); below.
66879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66880 <limits.h> exists even on freestanding compilers. */
66882 #ifdef __STDC__
66883 # include <limits.h>
66884 #else
66885 # include <assert.h>
66886 #endif
66888 #undef $ac_func
66890 /* Override any gcc2 internal prototype to avoid an error. */
66891 #ifdef __cplusplus
66892 extern "C"
66894 #endif
66895 /* We use char because int might match the return type of a gcc2
66896 builtin and then its argument prototype would still apply. */
66897 char $ac_func ();
66898 /* The GNU C library defines this for functions which it implements
66899 to always fail with ENOSYS. Some functions are actually named
66900 something starting with __ and the normal name is an alias. */
66901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66902 choke me
66903 #else
66904 char (*f) () = $ac_func;
66905 #endif
66906 #ifdef __cplusplus
66908 #endif
66911 main ()
66913 return f != $ac_func;
66915 return 0;
66917 _ACEOF
66918 rm -f conftest.$ac_objext conftest$ac_exeext
66919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66920 (eval $ac_link) 2>conftest.er1
66921 ac_status=$?
66922 grep -v '^ *+' conftest.er1 >conftest.err
66923 rm -f conftest.er1
66924 cat conftest.err >&5
66925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66926 (exit $ac_status); } &&
66927 { ac_try='test -z "$ac_c_werror_flag"
66928 || test ! -s conftest.err'
66929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66930 (eval $ac_try) 2>&5
66931 ac_status=$?
66932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66933 (exit $ac_status); }; } &&
66934 { ac_try='test -s conftest$ac_exeext'
66935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66936 (eval $ac_try) 2>&5
66937 ac_status=$?
66938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66939 (exit $ac_status); }; }; then
66940 eval "$as_ac_var=yes"
66941 else
66942 echo "$as_me: failed program was:" >&5
66943 sed 's/^/| /' conftest.$ac_ext >&5
66945 eval "$as_ac_var=no"
66947 rm -f conftest.err conftest.$ac_objext \
66948 conftest$ac_exeext conftest.$ac_ext
66950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66952 if test `eval echo '${'$as_ac_var'}'` = yes; then
66953 cat >>confdefs.h <<_ACEOF
66954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66955 _ACEOF
66958 done
66968 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
66969 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
66970 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66971 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
66972 echo $ECHO_N "(cached) $ECHO_C" >&6
66973 else
66977 ac_ext=cc
66978 ac_cpp='$CXXCPP $CPPFLAGS'
66979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66983 cat >conftest.$ac_ext <<_ACEOF
66984 /* confdefs.h. */
66985 _ACEOF
66986 cat confdefs.h >>conftest.$ac_ext
66987 cat >>conftest.$ac_ext <<_ACEOF
66988 /* end confdefs.h. */
66989 #include <math.h>
66990 #ifdef HAVE_IEEEFP_H
66991 #include <ieeefp.h>
66992 #endif
66995 main ()
66997 fabsf(0);
66999 return 0;
67001 _ACEOF
67002 rm -f conftest.$ac_objext
67003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67004 (eval $ac_compile) 2>conftest.er1
67005 ac_status=$?
67006 grep -v '^ *+' conftest.er1 >conftest.err
67007 rm -f conftest.er1
67008 cat conftest.err >&5
67009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67010 (exit $ac_status); } &&
67011 { ac_try='test -z "$ac_cxx_werror_flag"
67012 || test ! -s conftest.err'
67013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67014 (eval $ac_try) 2>&5
67015 ac_status=$?
67016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67017 (exit $ac_status); }; } &&
67018 { ac_try='test -s conftest.$ac_objext'
67019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67020 (eval $ac_try) 2>&5
67021 ac_status=$?
67022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67023 (exit $ac_status); }; }; then
67024 glibcxx_cv_func_fabsf_use=yes
67025 else
67026 echo "$as_me: failed program was:" >&5
67027 sed 's/^/| /' conftest.$ac_ext >&5
67029 glibcxx_cv_func_fabsf_use=no
67031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67032 ac_ext=c
67033 ac_cpp='$CPP $CPPFLAGS'
67034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
67043 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
67045 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67047 for ac_func in fabsf
67049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67050 echo "$as_me:$LINENO: checking for $ac_func" >&5
67051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67052 if eval "test \"\${$as_ac_var+set}\" = set"; then
67053 echo $ECHO_N "(cached) $ECHO_C" >&6
67054 else
67055 if test x$gcc_no_link = xyes; then
67056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67058 { (exit 1); exit 1; }; }
67060 cat >conftest.$ac_ext <<_ACEOF
67061 /* confdefs.h. */
67062 _ACEOF
67063 cat confdefs.h >>conftest.$ac_ext
67064 cat >>conftest.$ac_ext <<_ACEOF
67065 /* end confdefs.h. */
67066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67068 #define $ac_func innocuous_$ac_func
67070 /* System header to define __stub macros and hopefully few prototypes,
67071 which can conflict with char $ac_func (); below.
67072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67073 <limits.h> exists even on freestanding compilers. */
67075 #ifdef __STDC__
67076 # include <limits.h>
67077 #else
67078 # include <assert.h>
67079 #endif
67081 #undef $ac_func
67083 /* Override any gcc2 internal prototype to avoid an error. */
67084 #ifdef __cplusplus
67085 extern "C"
67087 #endif
67088 /* We use char because int might match the return type of a gcc2
67089 builtin and then its argument prototype would still apply. */
67090 char $ac_func ();
67091 /* The GNU C library defines this for functions which it implements
67092 to always fail with ENOSYS. Some functions are actually named
67093 something starting with __ and the normal name is an alias. */
67094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67095 choke me
67096 #else
67097 char (*f) () = $ac_func;
67098 #endif
67099 #ifdef __cplusplus
67101 #endif
67104 main ()
67106 return f != $ac_func;
67108 return 0;
67110 _ACEOF
67111 rm -f conftest.$ac_objext conftest$ac_exeext
67112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67113 (eval $ac_link) 2>conftest.er1
67114 ac_status=$?
67115 grep -v '^ *+' conftest.er1 >conftest.err
67116 rm -f conftest.er1
67117 cat conftest.err >&5
67118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67119 (exit $ac_status); } &&
67120 { ac_try='test -z "$ac_c_werror_flag"
67121 || test ! -s conftest.err'
67122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67123 (eval $ac_try) 2>&5
67124 ac_status=$?
67125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67126 (exit $ac_status); }; } &&
67127 { ac_try='test -s conftest$ac_exeext'
67128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67129 (eval $ac_try) 2>&5
67130 ac_status=$?
67131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67132 (exit $ac_status); }; }; then
67133 eval "$as_ac_var=yes"
67134 else
67135 echo "$as_me: failed program was:" >&5
67136 sed 's/^/| /' conftest.$ac_ext >&5
67138 eval "$as_ac_var=no"
67140 rm -f conftest.err conftest.$ac_objext \
67141 conftest$ac_exeext conftest.$ac_ext
67143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67145 if test `eval echo '${'$as_ac_var'}'` = yes; then
67146 cat >>confdefs.h <<_ACEOF
67147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67148 _ACEOF
67151 done
67153 else
67155 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
67156 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
67157 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67158 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
67159 echo $ECHO_N "(cached) $ECHO_C" >&6
67160 else
67164 ac_ext=cc
67165 ac_cpp='$CXXCPP $CPPFLAGS'
67166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67170 cat >conftest.$ac_ext <<_ACEOF
67171 /* confdefs.h. */
67172 _ACEOF
67173 cat confdefs.h >>conftest.$ac_ext
67174 cat >>conftest.$ac_ext <<_ACEOF
67175 /* end confdefs.h. */
67176 #include <math.h>
67177 #ifdef HAVE_IEEEFP_H
67178 #include <ieeefp.h>
67179 #endif
67182 main ()
67184 _fabsf(0);
67186 return 0;
67188 _ACEOF
67189 rm -f conftest.$ac_objext
67190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67191 (eval $ac_compile) 2>conftest.er1
67192 ac_status=$?
67193 grep -v '^ *+' conftest.er1 >conftest.err
67194 rm -f conftest.er1
67195 cat conftest.err >&5
67196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67197 (exit $ac_status); } &&
67198 { ac_try='test -z "$ac_cxx_werror_flag"
67199 || test ! -s conftest.err'
67200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67201 (eval $ac_try) 2>&5
67202 ac_status=$?
67203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67204 (exit $ac_status); }; } &&
67205 { ac_try='test -s conftest.$ac_objext'
67206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67207 (eval $ac_try) 2>&5
67208 ac_status=$?
67209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67210 (exit $ac_status); }; }; then
67211 glibcxx_cv_func__fabsf_use=yes
67212 else
67213 echo "$as_me: failed program was:" >&5
67214 sed 's/^/| /' conftest.$ac_ext >&5
67216 glibcxx_cv_func__fabsf_use=no
67218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67219 ac_ext=c
67220 ac_cpp='$CPP $CPPFLAGS'
67221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
67230 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
67232 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67234 for ac_func in _fabsf
67236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67237 echo "$as_me:$LINENO: checking for $ac_func" >&5
67238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67239 if eval "test \"\${$as_ac_var+set}\" = set"; then
67240 echo $ECHO_N "(cached) $ECHO_C" >&6
67241 else
67242 if test x$gcc_no_link = xyes; then
67243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67245 { (exit 1); exit 1; }; }
67247 cat >conftest.$ac_ext <<_ACEOF
67248 /* confdefs.h. */
67249 _ACEOF
67250 cat confdefs.h >>conftest.$ac_ext
67251 cat >>conftest.$ac_ext <<_ACEOF
67252 /* end confdefs.h. */
67253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67255 #define $ac_func innocuous_$ac_func
67257 /* System header to define __stub macros and hopefully few prototypes,
67258 which can conflict with char $ac_func (); below.
67259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67260 <limits.h> exists even on freestanding compilers. */
67262 #ifdef __STDC__
67263 # include <limits.h>
67264 #else
67265 # include <assert.h>
67266 #endif
67268 #undef $ac_func
67270 /* Override any gcc2 internal prototype to avoid an error. */
67271 #ifdef __cplusplus
67272 extern "C"
67274 #endif
67275 /* We use char because int might match the return type of a gcc2
67276 builtin and then its argument prototype would still apply. */
67277 char $ac_func ();
67278 /* The GNU C library defines this for functions which it implements
67279 to always fail with ENOSYS. Some functions are actually named
67280 something starting with __ and the normal name is an alias. */
67281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67282 choke me
67283 #else
67284 char (*f) () = $ac_func;
67285 #endif
67286 #ifdef __cplusplus
67288 #endif
67291 main ()
67293 return f != $ac_func;
67295 return 0;
67297 _ACEOF
67298 rm -f conftest.$ac_objext conftest$ac_exeext
67299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67300 (eval $ac_link) 2>conftest.er1
67301 ac_status=$?
67302 grep -v '^ *+' conftest.er1 >conftest.err
67303 rm -f conftest.er1
67304 cat conftest.err >&5
67305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67306 (exit $ac_status); } &&
67307 { ac_try='test -z "$ac_c_werror_flag"
67308 || test ! -s conftest.err'
67309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67310 (eval $ac_try) 2>&5
67311 ac_status=$?
67312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313 (exit $ac_status); }; } &&
67314 { ac_try='test -s conftest$ac_exeext'
67315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67316 (eval $ac_try) 2>&5
67317 ac_status=$?
67318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67319 (exit $ac_status); }; }; then
67320 eval "$as_ac_var=yes"
67321 else
67322 echo "$as_me: failed program was:" >&5
67323 sed 's/^/| /' conftest.$ac_ext >&5
67325 eval "$as_ac_var=no"
67327 rm -f conftest.err conftest.$ac_objext \
67328 conftest$ac_exeext conftest.$ac_ext
67330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67332 if test `eval echo '${'$as_ac_var'}'` = yes; then
67333 cat >>confdefs.h <<_ACEOF
67334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67335 _ACEOF
67338 done
67348 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
67349 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
67350 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67351 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
67352 echo $ECHO_N "(cached) $ECHO_C" >&6
67353 else
67357 ac_ext=cc
67358 ac_cpp='$CXXCPP $CPPFLAGS'
67359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
67371 main ()
67373 fmodf(0, 0);
67375 return 0;
67377 _ACEOF
67378 rm -f conftest.$ac_objext
67379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67380 (eval $ac_compile) 2>conftest.er1
67381 ac_status=$?
67382 grep -v '^ *+' conftest.er1 >conftest.err
67383 rm -f conftest.er1
67384 cat conftest.err >&5
67385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67386 (exit $ac_status); } &&
67387 { ac_try='test -z "$ac_cxx_werror_flag"
67388 || test ! -s conftest.err'
67389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67390 (eval $ac_try) 2>&5
67391 ac_status=$?
67392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67393 (exit $ac_status); }; } &&
67394 { ac_try='test -s conftest.$ac_objext'
67395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67396 (eval $ac_try) 2>&5
67397 ac_status=$?
67398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67399 (exit $ac_status); }; }; then
67400 glibcxx_cv_func_fmodf_use=yes
67401 else
67402 echo "$as_me: failed program was:" >&5
67403 sed 's/^/| /' conftest.$ac_ext >&5
67405 glibcxx_cv_func_fmodf_use=no
67407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67408 ac_ext=c
67409 ac_cpp='$CPP $CPPFLAGS'
67410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
67419 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
67421 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67423 for ac_func in fmodf
67425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67426 echo "$as_me:$LINENO: checking for $ac_func" >&5
67427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67428 if eval "test \"\${$as_ac_var+set}\" = set"; then
67429 echo $ECHO_N "(cached) $ECHO_C" >&6
67430 else
67431 if test x$gcc_no_link = xyes; then
67432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67434 { (exit 1); exit 1; }; }
67436 cat >conftest.$ac_ext <<_ACEOF
67437 /* confdefs.h. */
67438 _ACEOF
67439 cat confdefs.h >>conftest.$ac_ext
67440 cat >>conftest.$ac_ext <<_ACEOF
67441 /* end confdefs.h. */
67442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67444 #define $ac_func innocuous_$ac_func
67446 /* System header to define __stub macros and hopefully few prototypes,
67447 which can conflict with char $ac_func (); below.
67448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67449 <limits.h> exists even on freestanding compilers. */
67451 #ifdef __STDC__
67452 # include <limits.h>
67453 #else
67454 # include <assert.h>
67455 #endif
67457 #undef $ac_func
67459 /* Override any gcc2 internal prototype to avoid an error. */
67460 #ifdef __cplusplus
67461 extern "C"
67463 #endif
67464 /* We use char because int might match the return type of a gcc2
67465 builtin and then its argument prototype would still apply. */
67466 char $ac_func ();
67467 /* The GNU C library defines this for functions which it implements
67468 to always fail with ENOSYS. Some functions are actually named
67469 something starting with __ and the normal name is an alias. */
67470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67471 choke me
67472 #else
67473 char (*f) () = $ac_func;
67474 #endif
67475 #ifdef __cplusplus
67477 #endif
67480 main ()
67482 return f != $ac_func;
67484 return 0;
67486 _ACEOF
67487 rm -f conftest.$ac_objext conftest$ac_exeext
67488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67489 (eval $ac_link) 2>conftest.er1
67490 ac_status=$?
67491 grep -v '^ *+' conftest.er1 >conftest.err
67492 rm -f conftest.er1
67493 cat conftest.err >&5
67494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67495 (exit $ac_status); } &&
67496 { ac_try='test -z "$ac_c_werror_flag"
67497 || test ! -s conftest.err'
67498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67499 (eval $ac_try) 2>&5
67500 ac_status=$?
67501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67502 (exit $ac_status); }; } &&
67503 { ac_try='test -s conftest$ac_exeext'
67504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67505 (eval $ac_try) 2>&5
67506 ac_status=$?
67507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67508 (exit $ac_status); }; }; then
67509 eval "$as_ac_var=yes"
67510 else
67511 echo "$as_me: failed program was:" >&5
67512 sed 's/^/| /' conftest.$ac_ext >&5
67514 eval "$as_ac_var=no"
67516 rm -f conftest.err conftest.$ac_objext \
67517 conftest$ac_exeext conftest.$ac_ext
67519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67521 if test `eval echo '${'$as_ac_var'}'` = yes; then
67522 cat >>confdefs.h <<_ACEOF
67523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67524 _ACEOF
67527 done
67529 else
67531 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
67532 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
67533 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67534 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
67535 echo $ECHO_N "(cached) $ECHO_C" >&6
67536 else
67540 ac_ext=cc
67541 ac_cpp='$CXXCPP $CPPFLAGS'
67542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
67554 main ()
67556 _fmodf(0, 0);
67558 return 0;
67560 _ACEOF
67561 rm -f conftest.$ac_objext
67562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67563 (eval $ac_compile) 2>conftest.er1
67564 ac_status=$?
67565 grep -v '^ *+' conftest.er1 >conftest.err
67566 rm -f conftest.er1
67567 cat conftest.err >&5
67568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67569 (exit $ac_status); } &&
67570 { ac_try='test -z "$ac_cxx_werror_flag"
67571 || test ! -s conftest.err'
67572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67573 (eval $ac_try) 2>&5
67574 ac_status=$?
67575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67576 (exit $ac_status); }; } &&
67577 { ac_try='test -s conftest.$ac_objext'
67578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67579 (eval $ac_try) 2>&5
67580 ac_status=$?
67581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67582 (exit $ac_status); }; }; then
67583 glibcxx_cv_func__fmodf_use=yes
67584 else
67585 echo "$as_me: failed program was:" >&5
67586 sed 's/^/| /' conftest.$ac_ext >&5
67588 glibcxx_cv_func__fmodf_use=no
67590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67591 ac_ext=c
67592 ac_cpp='$CPP $CPPFLAGS'
67593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
67602 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
67604 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67606 for ac_func in _fmodf
67608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67609 echo "$as_me:$LINENO: checking for $ac_func" >&5
67610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67611 if eval "test \"\${$as_ac_var+set}\" = set"; then
67612 echo $ECHO_N "(cached) $ECHO_C" >&6
67613 else
67614 if test x$gcc_no_link = xyes; then
67615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67617 { (exit 1); exit 1; }; }
67619 cat >conftest.$ac_ext <<_ACEOF
67620 /* confdefs.h. */
67621 _ACEOF
67622 cat confdefs.h >>conftest.$ac_ext
67623 cat >>conftest.$ac_ext <<_ACEOF
67624 /* end confdefs.h. */
67625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67627 #define $ac_func innocuous_$ac_func
67629 /* System header to define __stub macros and hopefully few prototypes,
67630 which can conflict with char $ac_func (); below.
67631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67632 <limits.h> exists even on freestanding compilers. */
67634 #ifdef __STDC__
67635 # include <limits.h>
67636 #else
67637 # include <assert.h>
67638 #endif
67640 #undef $ac_func
67642 /* Override any gcc2 internal prototype to avoid an error. */
67643 #ifdef __cplusplus
67644 extern "C"
67646 #endif
67647 /* We use char because int might match the return type of a gcc2
67648 builtin and then its argument prototype would still apply. */
67649 char $ac_func ();
67650 /* The GNU C library defines this for functions which it implements
67651 to always fail with ENOSYS. Some functions are actually named
67652 something starting with __ and the normal name is an alias. */
67653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67654 choke me
67655 #else
67656 char (*f) () = $ac_func;
67657 #endif
67658 #ifdef __cplusplus
67660 #endif
67663 main ()
67665 return f != $ac_func;
67667 return 0;
67669 _ACEOF
67670 rm -f conftest.$ac_objext conftest$ac_exeext
67671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67672 (eval $ac_link) 2>conftest.er1
67673 ac_status=$?
67674 grep -v '^ *+' conftest.er1 >conftest.err
67675 rm -f conftest.er1
67676 cat conftest.err >&5
67677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67678 (exit $ac_status); } &&
67679 { ac_try='test -z "$ac_c_werror_flag"
67680 || test ! -s conftest.err'
67681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67682 (eval $ac_try) 2>&5
67683 ac_status=$?
67684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67685 (exit $ac_status); }; } &&
67686 { ac_try='test -s conftest$ac_exeext'
67687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67688 (eval $ac_try) 2>&5
67689 ac_status=$?
67690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67691 (exit $ac_status); }; }; then
67692 eval "$as_ac_var=yes"
67693 else
67694 echo "$as_me: failed program was:" >&5
67695 sed 's/^/| /' conftest.$ac_ext >&5
67697 eval "$as_ac_var=no"
67699 rm -f conftest.err conftest.$ac_objext \
67700 conftest$ac_exeext conftest.$ac_ext
67702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67704 if test `eval echo '${'$as_ac_var'}'` = yes; then
67705 cat >>confdefs.h <<_ACEOF
67706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67707 _ACEOF
67710 done
67720 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
67721 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
67722 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67723 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
67724 echo $ECHO_N "(cached) $ECHO_C" >&6
67725 else
67729 ac_ext=cc
67730 ac_cpp='$CXXCPP $CPPFLAGS'
67731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
67743 main ()
67745 frexpf(0, 0);
67747 return 0;
67749 _ACEOF
67750 rm -f conftest.$ac_objext
67751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67752 (eval $ac_compile) 2>conftest.er1
67753 ac_status=$?
67754 grep -v '^ *+' conftest.er1 >conftest.err
67755 rm -f conftest.er1
67756 cat conftest.err >&5
67757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67758 (exit $ac_status); } &&
67759 { ac_try='test -z "$ac_cxx_werror_flag"
67760 || test ! -s conftest.err'
67761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67762 (eval $ac_try) 2>&5
67763 ac_status=$?
67764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765 (exit $ac_status); }; } &&
67766 { ac_try='test -s conftest.$ac_objext'
67767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67768 (eval $ac_try) 2>&5
67769 ac_status=$?
67770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67771 (exit $ac_status); }; }; then
67772 glibcxx_cv_func_frexpf_use=yes
67773 else
67774 echo "$as_me: failed program was:" >&5
67775 sed 's/^/| /' conftest.$ac_ext >&5
67777 glibcxx_cv_func_frexpf_use=no
67779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67780 ac_ext=c
67781 ac_cpp='$CPP $CPPFLAGS'
67782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
67791 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
67793 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67795 for ac_func in frexpf
67797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67798 echo "$as_me:$LINENO: checking for $ac_func" >&5
67799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67800 if eval "test \"\${$as_ac_var+set}\" = set"; then
67801 echo $ECHO_N "(cached) $ECHO_C" >&6
67802 else
67803 if test x$gcc_no_link = xyes; then
67804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67806 { (exit 1); exit 1; }; }
67808 cat >conftest.$ac_ext <<_ACEOF
67809 /* confdefs.h. */
67810 _ACEOF
67811 cat confdefs.h >>conftest.$ac_ext
67812 cat >>conftest.$ac_ext <<_ACEOF
67813 /* end confdefs.h. */
67814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67816 #define $ac_func innocuous_$ac_func
67818 /* System header to define __stub macros and hopefully few prototypes,
67819 which can conflict with char $ac_func (); below.
67820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67821 <limits.h> exists even on freestanding compilers. */
67823 #ifdef __STDC__
67824 # include <limits.h>
67825 #else
67826 # include <assert.h>
67827 #endif
67829 #undef $ac_func
67831 /* Override any gcc2 internal prototype to avoid an error. */
67832 #ifdef __cplusplus
67833 extern "C"
67835 #endif
67836 /* We use char because int might match the return type of a gcc2
67837 builtin and then its argument prototype would still apply. */
67838 char $ac_func ();
67839 /* The GNU C library defines this for functions which it implements
67840 to always fail with ENOSYS. Some functions are actually named
67841 something starting with __ and the normal name is an alias. */
67842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67843 choke me
67844 #else
67845 char (*f) () = $ac_func;
67846 #endif
67847 #ifdef __cplusplus
67849 #endif
67852 main ()
67854 return f != $ac_func;
67856 return 0;
67858 _ACEOF
67859 rm -f conftest.$ac_objext conftest$ac_exeext
67860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67861 (eval $ac_link) 2>conftest.er1
67862 ac_status=$?
67863 grep -v '^ *+' conftest.er1 >conftest.err
67864 rm -f conftest.er1
67865 cat conftest.err >&5
67866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67867 (exit $ac_status); } &&
67868 { ac_try='test -z "$ac_c_werror_flag"
67869 || test ! -s conftest.err'
67870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67871 (eval $ac_try) 2>&5
67872 ac_status=$?
67873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67874 (exit $ac_status); }; } &&
67875 { ac_try='test -s conftest$ac_exeext'
67876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67877 (eval $ac_try) 2>&5
67878 ac_status=$?
67879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67880 (exit $ac_status); }; }; then
67881 eval "$as_ac_var=yes"
67882 else
67883 echo "$as_me: failed program was:" >&5
67884 sed 's/^/| /' conftest.$ac_ext >&5
67886 eval "$as_ac_var=no"
67888 rm -f conftest.err conftest.$ac_objext \
67889 conftest$ac_exeext conftest.$ac_ext
67891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67893 if test `eval echo '${'$as_ac_var'}'` = yes; then
67894 cat >>confdefs.h <<_ACEOF
67895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67896 _ACEOF
67899 done
67901 else
67903 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
67904 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
67905 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67906 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
67907 echo $ECHO_N "(cached) $ECHO_C" >&6
67908 else
67912 ac_ext=cc
67913 ac_cpp='$CXXCPP $CPPFLAGS'
67914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
67926 main ()
67928 _frexpf(0, 0);
67930 return 0;
67932 _ACEOF
67933 rm -f conftest.$ac_objext
67934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67935 (eval $ac_compile) 2>conftest.er1
67936 ac_status=$?
67937 grep -v '^ *+' conftest.er1 >conftest.err
67938 rm -f conftest.er1
67939 cat conftest.err >&5
67940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67941 (exit $ac_status); } &&
67942 { ac_try='test -z "$ac_cxx_werror_flag"
67943 || test ! -s conftest.err'
67944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67945 (eval $ac_try) 2>&5
67946 ac_status=$?
67947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67948 (exit $ac_status); }; } &&
67949 { ac_try='test -s conftest.$ac_objext'
67950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67951 (eval $ac_try) 2>&5
67952 ac_status=$?
67953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67954 (exit $ac_status); }; }; then
67955 glibcxx_cv_func__frexpf_use=yes
67956 else
67957 echo "$as_me: failed program was:" >&5
67958 sed 's/^/| /' conftest.$ac_ext >&5
67960 glibcxx_cv_func__frexpf_use=no
67962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67963 ac_ext=c
67964 ac_cpp='$CPP $CPPFLAGS'
67965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
67974 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
67976 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67978 for ac_func in _frexpf
67980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67981 echo "$as_me:$LINENO: checking for $ac_func" >&5
67982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67983 if eval "test \"\${$as_ac_var+set}\" = set"; then
67984 echo $ECHO_N "(cached) $ECHO_C" >&6
67985 else
67986 if test x$gcc_no_link = xyes; then
67987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67989 { (exit 1); exit 1; }; }
67991 cat >conftest.$ac_ext <<_ACEOF
67992 /* confdefs.h. */
67993 _ACEOF
67994 cat confdefs.h >>conftest.$ac_ext
67995 cat >>conftest.$ac_ext <<_ACEOF
67996 /* end confdefs.h. */
67997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67999 #define $ac_func innocuous_$ac_func
68001 /* System header to define __stub macros and hopefully few prototypes,
68002 which can conflict with char $ac_func (); below.
68003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68004 <limits.h> exists even on freestanding compilers. */
68006 #ifdef __STDC__
68007 # include <limits.h>
68008 #else
68009 # include <assert.h>
68010 #endif
68012 #undef $ac_func
68014 /* Override any gcc2 internal prototype to avoid an error. */
68015 #ifdef __cplusplus
68016 extern "C"
68018 #endif
68019 /* We use char because int might match the return type of a gcc2
68020 builtin and then its argument prototype would still apply. */
68021 char $ac_func ();
68022 /* The GNU C library defines this for functions which it implements
68023 to always fail with ENOSYS. Some functions are actually named
68024 something starting with __ and the normal name is an alias. */
68025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68026 choke me
68027 #else
68028 char (*f) () = $ac_func;
68029 #endif
68030 #ifdef __cplusplus
68032 #endif
68035 main ()
68037 return f != $ac_func;
68039 return 0;
68041 _ACEOF
68042 rm -f conftest.$ac_objext conftest$ac_exeext
68043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68044 (eval $ac_link) 2>conftest.er1
68045 ac_status=$?
68046 grep -v '^ *+' conftest.er1 >conftest.err
68047 rm -f conftest.er1
68048 cat conftest.err >&5
68049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68050 (exit $ac_status); } &&
68051 { ac_try='test -z "$ac_c_werror_flag"
68052 || test ! -s conftest.err'
68053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68054 (eval $ac_try) 2>&5
68055 ac_status=$?
68056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68057 (exit $ac_status); }; } &&
68058 { ac_try='test -s conftest$ac_exeext'
68059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68060 (eval $ac_try) 2>&5
68061 ac_status=$?
68062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063 (exit $ac_status); }; }; then
68064 eval "$as_ac_var=yes"
68065 else
68066 echo "$as_me: failed program was:" >&5
68067 sed 's/^/| /' conftest.$ac_ext >&5
68069 eval "$as_ac_var=no"
68071 rm -f conftest.err conftest.$ac_objext \
68072 conftest$ac_exeext conftest.$ac_ext
68074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68076 if test `eval echo '${'$as_ac_var'}'` = yes; then
68077 cat >>confdefs.h <<_ACEOF
68078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68079 _ACEOF
68082 done
68092 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
68093 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
68094 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68095 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
68096 echo $ECHO_N "(cached) $ECHO_C" >&6
68097 else
68101 ac_ext=cc
68102 ac_cpp='$CXXCPP $CPPFLAGS'
68103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
68115 main ()
68117 hypotf(0, 0);
68119 return 0;
68121 _ACEOF
68122 rm -f conftest.$ac_objext
68123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68124 (eval $ac_compile) 2>conftest.er1
68125 ac_status=$?
68126 grep -v '^ *+' conftest.er1 >conftest.err
68127 rm -f conftest.er1
68128 cat conftest.err >&5
68129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68130 (exit $ac_status); } &&
68131 { ac_try='test -z "$ac_cxx_werror_flag"
68132 || test ! -s conftest.err'
68133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68134 (eval $ac_try) 2>&5
68135 ac_status=$?
68136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68137 (exit $ac_status); }; } &&
68138 { ac_try='test -s conftest.$ac_objext'
68139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68140 (eval $ac_try) 2>&5
68141 ac_status=$?
68142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68143 (exit $ac_status); }; }; then
68144 glibcxx_cv_func_hypotf_use=yes
68145 else
68146 echo "$as_me: failed program was:" >&5
68147 sed 's/^/| /' conftest.$ac_ext >&5
68149 glibcxx_cv_func_hypotf_use=no
68151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68152 ac_ext=c
68153 ac_cpp='$CPP $CPPFLAGS'
68154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68162 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
68163 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
68165 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68167 for ac_func in hypotf
68169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68170 echo "$as_me:$LINENO: checking for $ac_func" >&5
68171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68172 if eval "test \"\${$as_ac_var+set}\" = set"; then
68173 echo $ECHO_N "(cached) $ECHO_C" >&6
68174 else
68175 if test x$gcc_no_link = xyes; then
68176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68178 { (exit 1); exit 1; }; }
68180 cat >conftest.$ac_ext <<_ACEOF
68181 /* confdefs.h. */
68182 _ACEOF
68183 cat confdefs.h >>conftest.$ac_ext
68184 cat >>conftest.$ac_ext <<_ACEOF
68185 /* end confdefs.h. */
68186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68188 #define $ac_func innocuous_$ac_func
68190 /* System header to define __stub macros and hopefully few prototypes,
68191 which can conflict with char $ac_func (); below.
68192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68193 <limits.h> exists even on freestanding compilers. */
68195 #ifdef __STDC__
68196 # include <limits.h>
68197 #else
68198 # include <assert.h>
68199 #endif
68201 #undef $ac_func
68203 /* Override any gcc2 internal prototype to avoid an error. */
68204 #ifdef __cplusplus
68205 extern "C"
68207 #endif
68208 /* We use char because int might match the return type of a gcc2
68209 builtin and then its argument prototype would still apply. */
68210 char $ac_func ();
68211 /* The GNU C library defines this for functions which it implements
68212 to always fail with ENOSYS. Some functions are actually named
68213 something starting with __ and the normal name is an alias. */
68214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68215 choke me
68216 #else
68217 char (*f) () = $ac_func;
68218 #endif
68219 #ifdef __cplusplus
68221 #endif
68224 main ()
68226 return f != $ac_func;
68228 return 0;
68230 _ACEOF
68231 rm -f conftest.$ac_objext conftest$ac_exeext
68232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68233 (eval $ac_link) 2>conftest.er1
68234 ac_status=$?
68235 grep -v '^ *+' conftest.er1 >conftest.err
68236 rm -f conftest.er1
68237 cat conftest.err >&5
68238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68239 (exit $ac_status); } &&
68240 { ac_try='test -z "$ac_c_werror_flag"
68241 || test ! -s conftest.err'
68242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68243 (eval $ac_try) 2>&5
68244 ac_status=$?
68245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68246 (exit $ac_status); }; } &&
68247 { ac_try='test -s conftest$ac_exeext'
68248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68249 (eval $ac_try) 2>&5
68250 ac_status=$?
68251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252 (exit $ac_status); }; }; then
68253 eval "$as_ac_var=yes"
68254 else
68255 echo "$as_me: failed program was:" >&5
68256 sed 's/^/| /' conftest.$ac_ext >&5
68258 eval "$as_ac_var=no"
68260 rm -f conftest.err conftest.$ac_objext \
68261 conftest$ac_exeext conftest.$ac_ext
68263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68265 if test `eval echo '${'$as_ac_var'}'` = yes; then
68266 cat >>confdefs.h <<_ACEOF
68267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68268 _ACEOF
68271 done
68273 else
68275 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
68276 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
68277 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68278 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
68279 echo $ECHO_N "(cached) $ECHO_C" >&6
68280 else
68284 ac_ext=cc
68285 ac_cpp='$CXXCPP $CPPFLAGS'
68286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
68298 main ()
68300 _hypotf(0, 0);
68302 return 0;
68304 _ACEOF
68305 rm -f conftest.$ac_objext
68306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68307 (eval $ac_compile) 2>conftest.er1
68308 ac_status=$?
68309 grep -v '^ *+' conftest.er1 >conftest.err
68310 rm -f conftest.er1
68311 cat conftest.err >&5
68312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68313 (exit $ac_status); } &&
68314 { ac_try='test -z "$ac_cxx_werror_flag"
68315 || test ! -s conftest.err'
68316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68317 (eval $ac_try) 2>&5
68318 ac_status=$?
68319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68320 (exit $ac_status); }; } &&
68321 { ac_try='test -s conftest.$ac_objext'
68322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68323 (eval $ac_try) 2>&5
68324 ac_status=$?
68325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68326 (exit $ac_status); }; }; then
68327 glibcxx_cv_func__hypotf_use=yes
68328 else
68329 echo "$as_me: failed program was:" >&5
68330 sed 's/^/| /' conftest.$ac_ext >&5
68332 glibcxx_cv_func__hypotf_use=no
68334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68335 ac_ext=c
68336 ac_cpp='$CPP $CPPFLAGS'
68337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
68346 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
68348 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68350 for ac_func in _hypotf
68352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68353 echo "$as_me:$LINENO: checking for $ac_func" >&5
68354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68355 if eval "test \"\${$as_ac_var+set}\" = set"; then
68356 echo $ECHO_N "(cached) $ECHO_C" >&6
68357 else
68358 if test x$gcc_no_link = xyes; then
68359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68361 { (exit 1); exit 1; }; }
68363 cat >conftest.$ac_ext <<_ACEOF
68364 /* confdefs.h. */
68365 _ACEOF
68366 cat confdefs.h >>conftest.$ac_ext
68367 cat >>conftest.$ac_ext <<_ACEOF
68368 /* end confdefs.h. */
68369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68371 #define $ac_func innocuous_$ac_func
68373 /* System header to define __stub macros and hopefully few prototypes,
68374 which can conflict with char $ac_func (); below.
68375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68376 <limits.h> exists even on freestanding compilers. */
68378 #ifdef __STDC__
68379 # include <limits.h>
68380 #else
68381 # include <assert.h>
68382 #endif
68384 #undef $ac_func
68386 /* Override any gcc2 internal prototype to avoid an error. */
68387 #ifdef __cplusplus
68388 extern "C"
68390 #endif
68391 /* We use char because int might match the return type of a gcc2
68392 builtin and then its argument prototype would still apply. */
68393 char $ac_func ();
68394 /* The GNU C library defines this for functions which it implements
68395 to always fail with ENOSYS. Some functions are actually named
68396 something starting with __ and the normal name is an alias. */
68397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68398 choke me
68399 #else
68400 char (*f) () = $ac_func;
68401 #endif
68402 #ifdef __cplusplus
68404 #endif
68407 main ()
68409 return f != $ac_func;
68411 return 0;
68413 _ACEOF
68414 rm -f conftest.$ac_objext conftest$ac_exeext
68415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68416 (eval $ac_link) 2>conftest.er1
68417 ac_status=$?
68418 grep -v '^ *+' conftest.er1 >conftest.err
68419 rm -f conftest.er1
68420 cat conftest.err >&5
68421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68422 (exit $ac_status); } &&
68423 { ac_try='test -z "$ac_c_werror_flag"
68424 || test ! -s conftest.err'
68425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68426 (eval $ac_try) 2>&5
68427 ac_status=$?
68428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68429 (exit $ac_status); }; } &&
68430 { ac_try='test -s conftest$ac_exeext'
68431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68432 (eval $ac_try) 2>&5
68433 ac_status=$?
68434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68435 (exit $ac_status); }; }; then
68436 eval "$as_ac_var=yes"
68437 else
68438 echo "$as_me: failed program was:" >&5
68439 sed 's/^/| /' conftest.$ac_ext >&5
68441 eval "$as_ac_var=no"
68443 rm -f conftest.err conftest.$ac_objext \
68444 conftest$ac_exeext conftest.$ac_ext
68446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68448 if test `eval echo '${'$as_ac_var'}'` = yes; then
68449 cat >>confdefs.h <<_ACEOF
68450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68451 _ACEOF
68454 done
68464 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
68465 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
68466 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68467 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
68468 echo $ECHO_N "(cached) $ECHO_C" >&6
68469 else
68473 ac_ext=cc
68474 ac_cpp='$CXXCPP $CPPFLAGS'
68475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
68487 main ()
68489 ldexpf(0, 0);
68491 return 0;
68493 _ACEOF
68494 rm -f conftest.$ac_objext
68495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68496 (eval $ac_compile) 2>conftest.er1
68497 ac_status=$?
68498 grep -v '^ *+' conftest.er1 >conftest.err
68499 rm -f conftest.er1
68500 cat conftest.err >&5
68501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68502 (exit $ac_status); } &&
68503 { ac_try='test -z "$ac_cxx_werror_flag"
68504 || test ! -s conftest.err'
68505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68506 (eval $ac_try) 2>&5
68507 ac_status=$?
68508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68509 (exit $ac_status); }; } &&
68510 { ac_try='test -s conftest.$ac_objext'
68511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68512 (eval $ac_try) 2>&5
68513 ac_status=$?
68514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68515 (exit $ac_status); }; }; then
68516 glibcxx_cv_func_ldexpf_use=yes
68517 else
68518 echo "$as_me: failed program was:" >&5
68519 sed 's/^/| /' conftest.$ac_ext >&5
68521 glibcxx_cv_func_ldexpf_use=no
68523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68524 ac_ext=c
68525 ac_cpp='$CPP $CPPFLAGS'
68526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
68535 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
68537 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68539 for ac_func in ldexpf
68541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68542 echo "$as_me:$LINENO: checking for $ac_func" >&5
68543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68544 if eval "test \"\${$as_ac_var+set}\" = set"; then
68545 echo $ECHO_N "(cached) $ECHO_C" >&6
68546 else
68547 if test x$gcc_no_link = xyes; then
68548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68550 { (exit 1); exit 1; }; }
68552 cat >conftest.$ac_ext <<_ACEOF
68553 /* confdefs.h. */
68554 _ACEOF
68555 cat confdefs.h >>conftest.$ac_ext
68556 cat >>conftest.$ac_ext <<_ACEOF
68557 /* end confdefs.h. */
68558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68560 #define $ac_func innocuous_$ac_func
68562 /* System header to define __stub macros and hopefully few prototypes,
68563 which can conflict with char $ac_func (); below.
68564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68565 <limits.h> exists even on freestanding compilers. */
68567 #ifdef __STDC__
68568 # include <limits.h>
68569 #else
68570 # include <assert.h>
68571 #endif
68573 #undef $ac_func
68575 /* Override any gcc2 internal prototype to avoid an error. */
68576 #ifdef __cplusplus
68577 extern "C"
68579 #endif
68580 /* We use char because int might match the return type of a gcc2
68581 builtin and then its argument prototype would still apply. */
68582 char $ac_func ();
68583 /* The GNU C library defines this for functions which it implements
68584 to always fail with ENOSYS. Some functions are actually named
68585 something starting with __ and the normal name is an alias. */
68586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68587 choke me
68588 #else
68589 char (*f) () = $ac_func;
68590 #endif
68591 #ifdef __cplusplus
68593 #endif
68596 main ()
68598 return f != $ac_func;
68600 return 0;
68602 _ACEOF
68603 rm -f conftest.$ac_objext conftest$ac_exeext
68604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68605 (eval $ac_link) 2>conftest.er1
68606 ac_status=$?
68607 grep -v '^ *+' conftest.er1 >conftest.err
68608 rm -f conftest.er1
68609 cat conftest.err >&5
68610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68611 (exit $ac_status); } &&
68612 { ac_try='test -z "$ac_c_werror_flag"
68613 || test ! -s conftest.err'
68614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68615 (eval $ac_try) 2>&5
68616 ac_status=$?
68617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68618 (exit $ac_status); }; } &&
68619 { ac_try='test -s conftest$ac_exeext'
68620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68621 (eval $ac_try) 2>&5
68622 ac_status=$?
68623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68624 (exit $ac_status); }; }; then
68625 eval "$as_ac_var=yes"
68626 else
68627 echo "$as_me: failed program was:" >&5
68628 sed 's/^/| /' conftest.$ac_ext >&5
68630 eval "$as_ac_var=no"
68632 rm -f conftest.err conftest.$ac_objext \
68633 conftest$ac_exeext conftest.$ac_ext
68635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68637 if test `eval echo '${'$as_ac_var'}'` = yes; then
68638 cat >>confdefs.h <<_ACEOF
68639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68640 _ACEOF
68643 done
68645 else
68647 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
68648 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
68649 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68650 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
68651 echo $ECHO_N "(cached) $ECHO_C" >&6
68652 else
68656 ac_ext=cc
68657 ac_cpp='$CXXCPP $CPPFLAGS'
68658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
68670 main ()
68672 _ldexpf(0, 0);
68674 return 0;
68676 _ACEOF
68677 rm -f conftest.$ac_objext
68678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68679 (eval $ac_compile) 2>conftest.er1
68680 ac_status=$?
68681 grep -v '^ *+' conftest.er1 >conftest.err
68682 rm -f conftest.er1
68683 cat conftest.err >&5
68684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68685 (exit $ac_status); } &&
68686 { ac_try='test -z "$ac_cxx_werror_flag"
68687 || test ! -s conftest.err'
68688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68689 (eval $ac_try) 2>&5
68690 ac_status=$?
68691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68692 (exit $ac_status); }; } &&
68693 { ac_try='test -s conftest.$ac_objext'
68694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68695 (eval $ac_try) 2>&5
68696 ac_status=$?
68697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68698 (exit $ac_status); }; }; then
68699 glibcxx_cv_func__ldexpf_use=yes
68700 else
68701 echo "$as_me: failed program was:" >&5
68702 sed 's/^/| /' conftest.$ac_ext >&5
68704 glibcxx_cv_func__ldexpf_use=no
68706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68707 ac_ext=c
68708 ac_cpp='$CPP $CPPFLAGS'
68709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68717 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
68718 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
68720 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68722 for ac_func in _ldexpf
68724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68725 echo "$as_me:$LINENO: checking for $ac_func" >&5
68726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68727 if eval "test \"\${$as_ac_var+set}\" = set"; then
68728 echo $ECHO_N "(cached) $ECHO_C" >&6
68729 else
68730 if test x$gcc_no_link = xyes; then
68731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68733 { (exit 1); exit 1; }; }
68735 cat >conftest.$ac_ext <<_ACEOF
68736 /* confdefs.h. */
68737 _ACEOF
68738 cat confdefs.h >>conftest.$ac_ext
68739 cat >>conftest.$ac_ext <<_ACEOF
68740 /* end confdefs.h. */
68741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68743 #define $ac_func innocuous_$ac_func
68745 /* System header to define __stub macros and hopefully few prototypes,
68746 which can conflict with char $ac_func (); below.
68747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68748 <limits.h> exists even on freestanding compilers. */
68750 #ifdef __STDC__
68751 # include <limits.h>
68752 #else
68753 # include <assert.h>
68754 #endif
68756 #undef $ac_func
68758 /* Override any gcc2 internal prototype to avoid an error. */
68759 #ifdef __cplusplus
68760 extern "C"
68762 #endif
68763 /* We use char because int might match the return type of a gcc2
68764 builtin and then its argument prototype would still apply. */
68765 char $ac_func ();
68766 /* The GNU C library defines this for functions which it implements
68767 to always fail with ENOSYS. Some functions are actually named
68768 something starting with __ and the normal name is an alias. */
68769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68770 choke me
68771 #else
68772 char (*f) () = $ac_func;
68773 #endif
68774 #ifdef __cplusplus
68776 #endif
68779 main ()
68781 return f != $ac_func;
68783 return 0;
68785 _ACEOF
68786 rm -f conftest.$ac_objext conftest$ac_exeext
68787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68788 (eval $ac_link) 2>conftest.er1
68789 ac_status=$?
68790 grep -v '^ *+' conftest.er1 >conftest.err
68791 rm -f conftest.er1
68792 cat conftest.err >&5
68793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68794 (exit $ac_status); } &&
68795 { ac_try='test -z "$ac_c_werror_flag"
68796 || test ! -s conftest.err'
68797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68798 (eval $ac_try) 2>&5
68799 ac_status=$?
68800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68801 (exit $ac_status); }; } &&
68802 { ac_try='test -s conftest$ac_exeext'
68803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68804 (eval $ac_try) 2>&5
68805 ac_status=$?
68806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807 (exit $ac_status); }; }; then
68808 eval "$as_ac_var=yes"
68809 else
68810 echo "$as_me: failed program was:" >&5
68811 sed 's/^/| /' conftest.$ac_ext >&5
68813 eval "$as_ac_var=no"
68815 rm -f conftest.err conftest.$ac_objext \
68816 conftest$ac_exeext conftest.$ac_ext
68818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68820 if test `eval echo '${'$as_ac_var'}'` = yes; then
68821 cat >>confdefs.h <<_ACEOF
68822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68823 _ACEOF
68826 done
68836 echo "$as_me:$LINENO: checking for logf declaration" >&5
68837 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
68838 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68839 if test "${glibcxx_cv_func_logf_use+set}" = set; then
68840 echo $ECHO_N "(cached) $ECHO_C" >&6
68841 else
68845 ac_ext=cc
68846 ac_cpp='$CXXCPP $CPPFLAGS'
68847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68851 cat >conftest.$ac_ext <<_ACEOF
68852 /* confdefs.h. */
68853 _ACEOF
68854 cat confdefs.h >>conftest.$ac_ext
68855 cat >>conftest.$ac_ext <<_ACEOF
68856 /* end confdefs.h. */
68857 #include <math.h>
68858 #ifdef HAVE_IEEEFP_H
68859 #include <ieeefp.h>
68860 #endif
68863 main ()
68865 logf(0);
68867 return 0;
68869 _ACEOF
68870 rm -f conftest.$ac_objext
68871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68872 (eval $ac_compile) 2>conftest.er1
68873 ac_status=$?
68874 grep -v '^ *+' conftest.er1 >conftest.err
68875 rm -f conftest.er1
68876 cat conftest.err >&5
68877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68878 (exit $ac_status); } &&
68879 { ac_try='test -z "$ac_cxx_werror_flag"
68880 || test ! -s conftest.err'
68881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68882 (eval $ac_try) 2>&5
68883 ac_status=$?
68884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68885 (exit $ac_status); }; } &&
68886 { ac_try='test -s conftest.$ac_objext'
68887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68888 (eval $ac_try) 2>&5
68889 ac_status=$?
68890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68891 (exit $ac_status); }; }; then
68892 glibcxx_cv_func_logf_use=yes
68893 else
68894 echo "$as_me: failed program was:" >&5
68895 sed 's/^/| /' conftest.$ac_ext >&5
68897 glibcxx_cv_func_logf_use=no
68899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68900 ac_ext=c
68901 ac_cpp='$CPP $CPPFLAGS'
68902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
68911 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
68913 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68915 for ac_func in logf
68917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68918 echo "$as_me:$LINENO: checking for $ac_func" >&5
68919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68920 if eval "test \"\${$as_ac_var+set}\" = set"; then
68921 echo $ECHO_N "(cached) $ECHO_C" >&6
68922 else
68923 if test x$gcc_no_link = xyes; then
68924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68926 { (exit 1); exit 1; }; }
68928 cat >conftest.$ac_ext <<_ACEOF
68929 /* confdefs.h. */
68930 _ACEOF
68931 cat confdefs.h >>conftest.$ac_ext
68932 cat >>conftest.$ac_ext <<_ACEOF
68933 /* end confdefs.h. */
68934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68936 #define $ac_func innocuous_$ac_func
68938 /* System header to define __stub macros and hopefully few prototypes,
68939 which can conflict with char $ac_func (); below.
68940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68941 <limits.h> exists even on freestanding compilers. */
68943 #ifdef __STDC__
68944 # include <limits.h>
68945 #else
68946 # include <assert.h>
68947 #endif
68949 #undef $ac_func
68951 /* Override any gcc2 internal prototype to avoid an error. */
68952 #ifdef __cplusplus
68953 extern "C"
68955 #endif
68956 /* We use char because int might match the return type of a gcc2
68957 builtin and then its argument prototype would still apply. */
68958 char $ac_func ();
68959 /* The GNU C library defines this for functions which it implements
68960 to always fail with ENOSYS. Some functions are actually named
68961 something starting with __ and the normal name is an alias. */
68962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68963 choke me
68964 #else
68965 char (*f) () = $ac_func;
68966 #endif
68967 #ifdef __cplusplus
68969 #endif
68972 main ()
68974 return f != $ac_func;
68976 return 0;
68978 _ACEOF
68979 rm -f conftest.$ac_objext conftest$ac_exeext
68980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68981 (eval $ac_link) 2>conftest.er1
68982 ac_status=$?
68983 grep -v '^ *+' conftest.er1 >conftest.err
68984 rm -f conftest.er1
68985 cat conftest.err >&5
68986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68987 (exit $ac_status); } &&
68988 { ac_try='test -z "$ac_c_werror_flag"
68989 || test ! -s conftest.err'
68990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68991 (eval $ac_try) 2>&5
68992 ac_status=$?
68993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68994 (exit $ac_status); }; } &&
68995 { ac_try='test -s conftest$ac_exeext'
68996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68997 (eval $ac_try) 2>&5
68998 ac_status=$?
68999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69000 (exit $ac_status); }; }; then
69001 eval "$as_ac_var=yes"
69002 else
69003 echo "$as_me: failed program was:" >&5
69004 sed 's/^/| /' conftest.$ac_ext >&5
69006 eval "$as_ac_var=no"
69008 rm -f conftest.err conftest.$ac_objext \
69009 conftest$ac_exeext conftest.$ac_ext
69011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69013 if test `eval echo '${'$as_ac_var'}'` = yes; then
69014 cat >>confdefs.h <<_ACEOF
69015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69016 _ACEOF
69019 done
69021 else
69023 echo "$as_me:$LINENO: checking for _logf declaration" >&5
69024 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
69025 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69026 if test "${glibcxx_cv_func__logf_use+set}" = set; then
69027 echo $ECHO_N "(cached) $ECHO_C" >&6
69028 else
69032 ac_ext=cc
69033 ac_cpp='$CXXCPP $CPPFLAGS'
69034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69038 cat >conftest.$ac_ext <<_ACEOF
69039 /* confdefs.h. */
69040 _ACEOF
69041 cat confdefs.h >>conftest.$ac_ext
69042 cat >>conftest.$ac_ext <<_ACEOF
69043 /* end confdefs.h. */
69044 #include <math.h>
69045 #ifdef HAVE_IEEEFP_H
69046 #include <ieeefp.h>
69047 #endif
69050 main ()
69052 _logf(0);
69054 return 0;
69056 _ACEOF
69057 rm -f conftest.$ac_objext
69058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69059 (eval $ac_compile) 2>conftest.er1
69060 ac_status=$?
69061 grep -v '^ *+' conftest.er1 >conftest.err
69062 rm -f conftest.er1
69063 cat conftest.err >&5
69064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69065 (exit $ac_status); } &&
69066 { ac_try='test -z "$ac_cxx_werror_flag"
69067 || test ! -s conftest.err'
69068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69069 (eval $ac_try) 2>&5
69070 ac_status=$?
69071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69072 (exit $ac_status); }; } &&
69073 { ac_try='test -s conftest.$ac_objext'
69074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69075 (eval $ac_try) 2>&5
69076 ac_status=$?
69077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69078 (exit $ac_status); }; }; then
69079 glibcxx_cv_func__logf_use=yes
69080 else
69081 echo "$as_me: failed program was:" >&5
69082 sed 's/^/| /' conftest.$ac_ext >&5
69084 glibcxx_cv_func__logf_use=no
69086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69087 ac_ext=c
69088 ac_cpp='$CPP $CPPFLAGS'
69089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
69098 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
69100 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69102 for ac_func in _logf
69104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69105 echo "$as_me:$LINENO: checking for $ac_func" >&5
69106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69107 if eval "test \"\${$as_ac_var+set}\" = set"; then
69108 echo $ECHO_N "(cached) $ECHO_C" >&6
69109 else
69110 if test x$gcc_no_link = xyes; then
69111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69113 { (exit 1); exit 1; }; }
69115 cat >conftest.$ac_ext <<_ACEOF
69116 /* confdefs.h. */
69117 _ACEOF
69118 cat confdefs.h >>conftest.$ac_ext
69119 cat >>conftest.$ac_ext <<_ACEOF
69120 /* end confdefs.h. */
69121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69123 #define $ac_func innocuous_$ac_func
69125 /* System header to define __stub macros and hopefully few prototypes,
69126 which can conflict with char $ac_func (); below.
69127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69128 <limits.h> exists even on freestanding compilers. */
69130 #ifdef __STDC__
69131 # include <limits.h>
69132 #else
69133 # include <assert.h>
69134 #endif
69136 #undef $ac_func
69138 /* Override any gcc2 internal prototype to avoid an error. */
69139 #ifdef __cplusplus
69140 extern "C"
69142 #endif
69143 /* We use char because int might match the return type of a gcc2
69144 builtin and then its argument prototype would still apply. */
69145 char $ac_func ();
69146 /* The GNU C library defines this for functions which it implements
69147 to always fail with ENOSYS. Some functions are actually named
69148 something starting with __ and the normal name is an alias. */
69149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69150 choke me
69151 #else
69152 char (*f) () = $ac_func;
69153 #endif
69154 #ifdef __cplusplus
69156 #endif
69159 main ()
69161 return f != $ac_func;
69163 return 0;
69165 _ACEOF
69166 rm -f conftest.$ac_objext conftest$ac_exeext
69167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69168 (eval $ac_link) 2>conftest.er1
69169 ac_status=$?
69170 grep -v '^ *+' conftest.er1 >conftest.err
69171 rm -f conftest.er1
69172 cat conftest.err >&5
69173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69174 (exit $ac_status); } &&
69175 { ac_try='test -z "$ac_c_werror_flag"
69176 || test ! -s conftest.err'
69177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69178 (eval $ac_try) 2>&5
69179 ac_status=$?
69180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69181 (exit $ac_status); }; } &&
69182 { ac_try='test -s conftest$ac_exeext'
69183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69184 (eval $ac_try) 2>&5
69185 ac_status=$?
69186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69187 (exit $ac_status); }; }; then
69188 eval "$as_ac_var=yes"
69189 else
69190 echo "$as_me: failed program was:" >&5
69191 sed 's/^/| /' conftest.$ac_ext >&5
69193 eval "$as_ac_var=no"
69195 rm -f conftest.err conftest.$ac_objext \
69196 conftest$ac_exeext conftest.$ac_ext
69198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69200 if test `eval echo '${'$as_ac_var'}'` = yes; then
69201 cat >>confdefs.h <<_ACEOF
69202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69203 _ACEOF
69206 done
69216 echo "$as_me:$LINENO: checking for log10f declaration" >&5
69217 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
69218 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69219 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
69220 echo $ECHO_N "(cached) $ECHO_C" >&6
69221 else
69225 ac_ext=cc
69226 ac_cpp='$CXXCPP $CPPFLAGS'
69227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69231 cat >conftest.$ac_ext <<_ACEOF
69232 /* confdefs.h. */
69233 _ACEOF
69234 cat confdefs.h >>conftest.$ac_ext
69235 cat >>conftest.$ac_ext <<_ACEOF
69236 /* end confdefs.h. */
69237 #include <math.h>
69238 #ifdef HAVE_IEEEFP_H
69239 #include <ieeefp.h>
69240 #endif
69243 main ()
69245 log10f(0);
69247 return 0;
69249 _ACEOF
69250 rm -f conftest.$ac_objext
69251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69252 (eval $ac_compile) 2>conftest.er1
69253 ac_status=$?
69254 grep -v '^ *+' conftest.er1 >conftest.err
69255 rm -f conftest.er1
69256 cat conftest.err >&5
69257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69258 (exit $ac_status); } &&
69259 { ac_try='test -z "$ac_cxx_werror_flag"
69260 || test ! -s conftest.err'
69261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69262 (eval $ac_try) 2>&5
69263 ac_status=$?
69264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69265 (exit $ac_status); }; } &&
69266 { ac_try='test -s conftest.$ac_objext'
69267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69268 (eval $ac_try) 2>&5
69269 ac_status=$?
69270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69271 (exit $ac_status); }; }; then
69272 glibcxx_cv_func_log10f_use=yes
69273 else
69274 echo "$as_me: failed program was:" >&5
69275 sed 's/^/| /' conftest.$ac_ext >&5
69277 glibcxx_cv_func_log10f_use=no
69279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69280 ac_ext=c
69281 ac_cpp='$CPP $CPPFLAGS'
69282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
69291 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
69293 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69295 for ac_func in log10f
69297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69298 echo "$as_me:$LINENO: checking for $ac_func" >&5
69299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69300 if eval "test \"\${$as_ac_var+set}\" = set"; then
69301 echo $ECHO_N "(cached) $ECHO_C" >&6
69302 else
69303 if test x$gcc_no_link = xyes; then
69304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69306 { (exit 1); exit 1; }; }
69308 cat >conftest.$ac_ext <<_ACEOF
69309 /* confdefs.h. */
69310 _ACEOF
69311 cat confdefs.h >>conftest.$ac_ext
69312 cat >>conftest.$ac_ext <<_ACEOF
69313 /* end confdefs.h. */
69314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69316 #define $ac_func innocuous_$ac_func
69318 /* System header to define __stub macros and hopefully few prototypes,
69319 which can conflict with char $ac_func (); below.
69320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69321 <limits.h> exists even on freestanding compilers. */
69323 #ifdef __STDC__
69324 # include <limits.h>
69325 #else
69326 # include <assert.h>
69327 #endif
69329 #undef $ac_func
69331 /* Override any gcc2 internal prototype to avoid an error. */
69332 #ifdef __cplusplus
69333 extern "C"
69335 #endif
69336 /* We use char because int might match the return type of a gcc2
69337 builtin and then its argument prototype would still apply. */
69338 char $ac_func ();
69339 /* The GNU C library defines this for functions which it implements
69340 to always fail with ENOSYS. Some functions are actually named
69341 something starting with __ and the normal name is an alias. */
69342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69343 choke me
69344 #else
69345 char (*f) () = $ac_func;
69346 #endif
69347 #ifdef __cplusplus
69349 #endif
69352 main ()
69354 return f != $ac_func;
69356 return 0;
69358 _ACEOF
69359 rm -f conftest.$ac_objext conftest$ac_exeext
69360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69361 (eval $ac_link) 2>conftest.er1
69362 ac_status=$?
69363 grep -v '^ *+' conftest.er1 >conftest.err
69364 rm -f conftest.er1
69365 cat conftest.err >&5
69366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69367 (exit $ac_status); } &&
69368 { ac_try='test -z "$ac_c_werror_flag"
69369 || test ! -s conftest.err'
69370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69371 (eval $ac_try) 2>&5
69372 ac_status=$?
69373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69374 (exit $ac_status); }; } &&
69375 { ac_try='test -s conftest$ac_exeext'
69376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69377 (eval $ac_try) 2>&5
69378 ac_status=$?
69379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69380 (exit $ac_status); }; }; then
69381 eval "$as_ac_var=yes"
69382 else
69383 echo "$as_me: failed program was:" >&5
69384 sed 's/^/| /' conftest.$ac_ext >&5
69386 eval "$as_ac_var=no"
69388 rm -f conftest.err conftest.$ac_objext \
69389 conftest$ac_exeext conftest.$ac_ext
69391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69393 if test `eval echo '${'$as_ac_var'}'` = yes; then
69394 cat >>confdefs.h <<_ACEOF
69395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69396 _ACEOF
69399 done
69401 else
69403 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
69404 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
69405 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69406 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
69407 echo $ECHO_N "(cached) $ECHO_C" >&6
69408 else
69412 ac_ext=cc
69413 ac_cpp='$CXXCPP $CPPFLAGS'
69414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69418 cat >conftest.$ac_ext <<_ACEOF
69419 /* confdefs.h. */
69420 _ACEOF
69421 cat confdefs.h >>conftest.$ac_ext
69422 cat >>conftest.$ac_ext <<_ACEOF
69423 /* end confdefs.h. */
69424 #include <math.h>
69425 #ifdef HAVE_IEEEFP_H
69426 #include <ieeefp.h>
69427 #endif
69430 main ()
69432 _log10f(0);
69434 return 0;
69436 _ACEOF
69437 rm -f conftest.$ac_objext
69438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69439 (eval $ac_compile) 2>conftest.er1
69440 ac_status=$?
69441 grep -v '^ *+' conftest.er1 >conftest.err
69442 rm -f conftest.er1
69443 cat conftest.err >&5
69444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69445 (exit $ac_status); } &&
69446 { ac_try='test -z "$ac_cxx_werror_flag"
69447 || test ! -s conftest.err'
69448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69449 (eval $ac_try) 2>&5
69450 ac_status=$?
69451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69452 (exit $ac_status); }; } &&
69453 { ac_try='test -s conftest.$ac_objext'
69454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69455 (eval $ac_try) 2>&5
69456 ac_status=$?
69457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69458 (exit $ac_status); }; }; then
69459 glibcxx_cv_func__log10f_use=yes
69460 else
69461 echo "$as_me: failed program was:" >&5
69462 sed 's/^/| /' conftest.$ac_ext >&5
69464 glibcxx_cv_func__log10f_use=no
69466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69467 ac_ext=c
69468 ac_cpp='$CPP $CPPFLAGS'
69469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
69478 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
69480 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69482 for ac_func in _log10f
69484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69485 echo "$as_me:$LINENO: checking for $ac_func" >&5
69486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69487 if eval "test \"\${$as_ac_var+set}\" = set"; then
69488 echo $ECHO_N "(cached) $ECHO_C" >&6
69489 else
69490 if test x$gcc_no_link = xyes; then
69491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69493 { (exit 1); exit 1; }; }
69495 cat >conftest.$ac_ext <<_ACEOF
69496 /* confdefs.h. */
69497 _ACEOF
69498 cat confdefs.h >>conftest.$ac_ext
69499 cat >>conftest.$ac_ext <<_ACEOF
69500 /* end confdefs.h. */
69501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69503 #define $ac_func innocuous_$ac_func
69505 /* System header to define __stub macros and hopefully few prototypes,
69506 which can conflict with char $ac_func (); below.
69507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69508 <limits.h> exists even on freestanding compilers. */
69510 #ifdef __STDC__
69511 # include <limits.h>
69512 #else
69513 # include <assert.h>
69514 #endif
69516 #undef $ac_func
69518 /* Override any gcc2 internal prototype to avoid an error. */
69519 #ifdef __cplusplus
69520 extern "C"
69522 #endif
69523 /* We use char because int might match the return type of a gcc2
69524 builtin and then its argument prototype would still apply. */
69525 char $ac_func ();
69526 /* The GNU C library defines this for functions which it implements
69527 to always fail with ENOSYS. Some functions are actually named
69528 something starting with __ and the normal name is an alias. */
69529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69530 choke me
69531 #else
69532 char (*f) () = $ac_func;
69533 #endif
69534 #ifdef __cplusplus
69536 #endif
69539 main ()
69541 return f != $ac_func;
69543 return 0;
69545 _ACEOF
69546 rm -f conftest.$ac_objext conftest$ac_exeext
69547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69548 (eval $ac_link) 2>conftest.er1
69549 ac_status=$?
69550 grep -v '^ *+' conftest.er1 >conftest.err
69551 rm -f conftest.er1
69552 cat conftest.err >&5
69553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69554 (exit $ac_status); } &&
69555 { ac_try='test -z "$ac_c_werror_flag"
69556 || test ! -s conftest.err'
69557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69558 (eval $ac_try) 2>&5
69559 ac_status=$?
69560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69561 (exit $ac_status); }; } &&
69562 { ac_try='test -s conftest$ac_exeext'
69563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69564 (eval $ac_try) 2>&5
69565 ac_status=$?
69566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69567 (exit $ac_status); }; }; then
69568 eval "$as_ac_var=yes"
69569 else
69570 echo "$as_me: failed program was:" >&5
69571 sed 's/^/| /' conftest.$ac_ext >&5
69573 eval "$as_ac_var=no"
69575 rm -f conftest.err conftest.$ac_objext \
69576 conftest$ac_exeext conftest.$ac_ext
69578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69580 if test `eval echo '${'$as_ac_var'}'` = yes; then
69581 cat >>confdefs.h <<_ACEOF
69582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69583 _ACEOF
69586 done
69596 echo "$as_me:$LINENO: checking for modff declaration" >&5
69597 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
69598 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69599 if test "${glibcxx_cv_func_modff_use+set}" = set; then
69600 echo $ECHO_N "(cached) $ECHO_C" >&6
69601 else
69605 ac_ext=cc
69606 ac_cpp='$CXXCPP $CPPFLAGS'
69607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
69619 main ()
69621 modff(0, 0);
69623 return 0;
69625 _ACEOF
69626 rm -f conftest.$ac_objext
69627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69628 (eval $ac_compile) 2>conftest.er1
69629 ac_status=$?
69630 grep -v '^ *+' conftest.er1 >conftest.err
69631 rm -f conftest.er1
69632 cat conftest.err >&5
69633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69634 (exit $ac_status); } &&
69635 { ac_try='test -z "$ac_cxx_werror_flag"
69636 || test ! -s conftest.err'
69637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69638 (eval $ac_try) 2>&5
69639 ac_status=$?
69640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69641 (exit $ac_status); }; } &&
69642 { ac_try='test -s conftest.$ac_objext'
69643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69644 (eval $ac_try) 2>&5
69645 ac_status=$?
69646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69647 (exit $ac_status); }; }; then
69648 glibcxx_cv_func_modff_use=yes
69649 else
69650 echo "$as_me: failed program was:" >&5
69651 sed 's/^/| /' conftest.$ac_ext >&5
69653 glibcxx_cv_func_modff_use=no
69655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69656 ac_ext=c
69657 ac_cpp='$CPP $CPPFLAGS'
69658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
69667 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
69669 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69671 for ac_func in modff
69673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69674 echo "$as_me:$LINENO: checking for $ac_func" >&5
69675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69676 if eval "test \"\${$as_ac_var+set}\" = set"; then
69677 echo $ECHO_N "(cached) $ECHO_C" >&6
69678 else
69679 if test x$gcc_no_link = xyes; then
69680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69682 { (exit 1); exit 1; }; }
69684 cat >conftest.$ac_ext <<_ACEOF
69685 /* confdefs.h. */
69686 _ACEOF
69687 cat confdefs.h >>conftest.$ac_ext
69688 cat >>conftest.$ac_ext <<_ACEOF
69689 /* end confdefs.h. */
69690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69692 #define $ac_func innocuous_$ac_func
69694 /* System header to define __stub macros and hopefully few prototypes,
69695 which can conflict with char $ac_func (); below.
69696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69697 <limits.h> exists even on freestanding compilers. */
69699 #ifdef __STDC__
69700 # include <limits.h>
69701 #else
69702 # include <assert.h>
69703 #endif
69705 #undef $ac_func
69707 /* Override any gcc2 internal prototype to avoid an error. */
69708 #ifdef __cplusplus
69709 extern "C"
69711 #endif
69712 /* We use char because int might match the return type of a gcc2
69713 builtin and then its argument prototype would still apply. */
69714 char $ac_func ();
69715 /* The GNU C library defines this for functions which it implements
69716 to always fail with ENOSYS. Some functions are actually named
69717 something starting with __ and the normal name is an alias. */
69718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69719 choke me
69720 #else
69721 char (*f) () = $ac_func;
69722 #endif
69723 #ifdef __cplusplus
69725 #endif
69728 main ()
69730 return f != $ac_func;
69732 return 0;
69734 _ACEOF
69735 rm -f conftest.$ac_objext conftest$ac_exeext
69736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69737 (eval $ac_link) 2>conftest.er1
69738 ac_status=$?
69739 grep -v '^ *+' conftest.er1 >conftest.err
69740 rm -f conftest.er1
69741 cat conftest.err >&5
69742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69743 (exit $ac_status); } &&
69744 { ac_try='test -z "$ac_c_werror_flag"
69745 || test ! -s conftest.err'
69746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69747 (eval $ac_try) 2>&5
69748 ac_status=$?
69749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69750 (exit $ac_status); }; } &&
69751 { ac_try='test -s conftest$ac_exeext'
69752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69753 (eval $ac_try) 2>&5
69754 ac_status=$?
69755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756 (exit $ac_status); }; }; then
69757 eval "$as_ac_var=yes"
69758 else
69759 echo "$as_me: failed program was:" >&5
69760 sed 's/^/| /' conftest.$ac_ext >&5
69762 eval "$as_ac_var=no"
69764 rm -f conftest.err conftest.$ac_objext \
69765 conftest$ac_exeext conftest.$ac_ext
69767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69769 if test `eval echo '${'$as_ac_var'}'` = yes; then
69770 cat >>confdefs.h <<_ACEOF
69771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69772 _ACEOF
69775 done
69777 else
69779 echo "$as_me:$LINENO: checking for _modff declaration" >&5
69780 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
69781 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69782 if test "${glibcxx_cv_func__modff_use+set}" = set; then
69783 echo $ECHO_N "(cached) $ECHO_C" >&6
69784 else
69788 ac_ext=cc
69789 ac_cpp='$CXXCPP $CPPFLAGS'
69790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
69802 main ()
69804 _modff(0, 0);
69806 return 0;
69808 _ACEOF
69809 rm -f conftest.$ac_objext
69810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69811 (eval $ac_compile) 2>conftest.er1
69812 ac_status=$?
69813 grep -v '^ *+' conftest.er1 >conftest.err
69814 rm -f conftest.er1
69815 cat conftest.err >&5
69816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69817 (exit $ac_status); } &&
69818 { ac_try='test -z "$ac_cxx_werror_flag"
69819 || test ! -s conftest.err'
69820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69821 (eval $ac_try) 2>&5
69822 ac_status=$?
69823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69824 (exit $ac_status); }; } &&
69825 { ac_try='test -s conftest.$ac_objext'
69826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69827 (eval $ac_try) 2>&5
69828 ac_status=$?
69829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69830 (exit $ac_status); }; }; then
69831 glibcxx_cv_func__modff_use=yes
69832 else
69833 echo "$as_me: failed program was:" >&5
69834 sed 's/^/| /' conftest.$ac_ext >&5
69836 glibcxx_cv_func__modff_use=no
69838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69839 ac_ext=c
69840 ac_cpp='$CPP $CPPFLAGS'
69841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69849 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
69850 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
69852 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69854 for ac_func in _modff
69856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69857 echo "$as_me:$LINENO: checking for $ac_func" >&5
69858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69859 if eval "test \"\${$as_ac_var+set}\" = set"; then
69860 echo $ECHO_N "(cached) $ECHO_C" >&6
69861 else
69862 if test x$gcc_no_link = xyes; then
69863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69865 { (exit 1); exit 1; }; }
69867 cat >conftest.$ac_ext <<_ACEOF
69868 /* confdefs.h. */
69869 _ACEOF
69870 cat confdefs.h >>conftest.$ac_ext
69871 cat >>conftest.$ac_ext <<_ACEOF
69872 /* end confdefs.h. */
69873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69875 #define $ac_func innocuous_$ac_func
69877 /* System header to define __stub macros and hopefully few prototypes,
69878 which can conflict with char $ac_func (); below.
69879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69880 <limits.h> exists even on freestanding compilers. */
69882 #ifdef __STDC__
69883 # include <limits.h>
69884 #else
69885 # include <assert.h>
69886 #endif
69888 #undef $ac_func
69890 /* Override any gcc2 internal prototype to avoid an error. */
69891 #ifdef __cplusplus
69892 extern "C"
69894 #endif
69895 /* We use char because int might match the return type of a gcc2
69896 builtin and then its argument prototype would still apply. */
69897 char $ac_func ();
69898 /* The GNU C library defines this for functions which it implements
69899 to always fail with ENOSYS. Some functions are actually named
69900 something starting with __ and the normal name is an alias. */
69901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69902 choke me
69903 #else
69904 char (*f) () = $ac_func;
69905 #endif
69906 #ifdef __cplusplus
69908 #endif
69911 main ()
69913 return f != $ac_func;
69915 return 0;
69917 _ACEOF
69918 rm -f conftest.$ac_objext conftest$ac_exeext
69919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69920 (eval $ac_link) 2>conftest.er1
69921 ac_status=$?
69922 grep -v '^ *+' conftest.er1 >conftest.err
69923 rm -f conftest.er1
69924 cat conftest.err >&5
69925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69926 (exit $ac_status); } &&
69927 { ac_try='test -z "$ac_c_werror_flag"
69928 || test ! -s conftest.err'
69929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69930 (eval $ac_try) 2>&5
69931 ac_status=$?
69932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933 (exit $ac_status); }; } &&
69934 { ac_try='test -s conftest$ac_exeext'
69935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69936 (eval $ac_try) 2>&5
69937 ac_status=$?
69938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939 (exit $ac_status); }; }; then
69940 eval "$as_ac_var=yes"
69941 else
69942 echo "$as_me: failed program was:" >&5
69943 sed 's/^/| /' conftest.$ac_ext >&5
69945 eval "$as_ac_var=no"
69947 rm -f conftest.err conftest.$ac_objext \
69948 conftest$ac_exeext conftest.$ac_ext
69950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69952 if test `eval echo '${'$as_ac_var'}'` = yes; then
69953 cat >>confdefs.h <<_ACEOF
69954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69955 _ACEOF
69958 done
69968 echo "$as_me:$LINENO: checking for modf declaration" >&5
69969 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
69970 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69971 if test "${glibcxx_cv_func_modf_use+set}" = set; then
69972 echo $ECHO_N "(cached) $ECHO_C" >&6
69973 else
69977 ac_ext=cc
69978 ac_cpp='$CXXCPP $CPPFLAGS'
69979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
69991 main ()
69993 modf(0, 0);
69995 return 0;
69997 _ACEOF
69998 rm -f conftest.$ac_objext
69999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70000 (eval $ac_compile) 2>conftest.er1
70001 ac_status=$?
70002 grep -v '^ *+' conftest.er1 >conftest.err
70003 rm -f conftest.er1
70004 cat conftest.err >&5
70005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70006 (exit $ac_status); } &&
70007 { ac_try='test -z "$ac_cxx_werror_flag"
70008 || test ! -s conftest.err'
70009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70010 (eval $ac_try) 2>&5
70011 ac_status=$?
70012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70013 (exit $ac_status); }; } &&
70014 { ac_try='test -s conftest.$ac_objext'
70015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70016 (eval $ac_try) 2>&5
70017 ac_status=$?
70018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70019 (exit $ac_status); }; }; then
70020 glibcxx_cv_func_modf_use=yes
70021 else
70022 echo "$as_me: failed program was:" >&5
70023 sed 's/^/| /' conftest.$ac_ext >&5
70025 glibcxx_cv_func_modf_use=no
70027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70028 ac_ext=c
70029 ac_cpp='$CPP $CPPFLAGS'
70030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
70039 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
70041 if test x$glibcxx_cv_func_modf_use = x"yes"; then
70043 for ac_func in modf
70045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70046 echo "$as_me:$LINENO: checking for $ac_func" >&5
70047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70048 if eval "test \"\${$as_ac_var+set}\" = set"; then
70049 echo $ECHO_N "(cached) $ECHO_C" >&6
70050 else
70051 if test x$gcc_no_link = xyes; then
70052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70054 { (exit 1); exit 1; }; }
70056 cat >conftest.$ac_ext <<_ACEOF
70057 /* confdefs.h. */
70058 _ACEOF
70059 cat confdefs.h >>conftest.$ac_ext
70060 cat >>conftest.$ac_ext <<_ACEOF
70061 /* end confdefs.h. */
70062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70064 #define $ac_func innocuous_$ac_func
70066 /* System header to define __stub macros and hopefully few prototypes,
70067 which can conflict with char $ac_func (); below.
70068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70069 <limits.h> exists even on freestanding compilers. */
70071 #ifdef __STDC__
70072 # include <limits.h>
70073 #else
70074 # include <assert.h>
70075 #endif
70077 #undef $ac_func
70079 /* Override any gcc2 internal prototype to avoid an error. */
70080 #ifdef __cplusplus
70081 extern "C"
70083 #endif
70084 /* We use char because int might match the return type of a gcc2
70085 builtin and then its argument prototype would still apply. */
70086 char $ac_func ();
70087 /* The GNU C library defines this for functions which it implements
70088 to always fail with ENOSYS. Some functions are actually named
70089 something starting with __ and the normal name is an alias. */
70090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70091 choke me
70092 #else
70093 char (*f) () = $ac_func;
70094 #endif
70095 #ifdef __cplusplus
70097 #endif
70100 main ()
70102 return f != $ac_func;
70104 return 0;
70106 _ACEOF
70107 rm -f conftest.$ac_objext conftest$ac_exeext
70108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70109 (eval $ac_link) 2>conftest.er1
70110 ac_status=$?
70111 grep -v '^ *+' conftest.er1 >conftest.err
70112 rm -f conftest.er1
70113 cat conftest.err >&5
70114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70115 (exit $ac_status); } &&
70116 { ac_try='test -z "$ac_c_werror_flag"
70117 || test ! -s conftest.err'
70118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70119 (eval $ac_try) 2>&5
70120 ac_status=$?
70121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70122 (exit $ac_status); }; } &&
70123 { ac_try='test -s conftest$ac_exeext'
70124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70125 (eval $ac_try) 2>&5
70126 ac_status=$?
70127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70128 (exit $ac_status); }; }; then
70129 eval "$as_ac_var=yes"
70130 else
70131 echo "$as_me: failed program was:" >&5
70132 sed 's/^/| /' conftest.$ac_ext >&5
70134 eval "$as_ac_var=no"
70136 rm -f conftest.err conftest.$ac_objext \
70137 conftest$ac_exeext conftest.$ac_ext
70139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70141 if test `eval echo '${'$as_ac_var'}'` = yes; then
70142 cat >>confdefs.h <<_ACEOF
70143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70144 _ACEOF
70147 done
70149 else
70151 echo "$as_me:$LINENO: checking for _modf declaration" >&5
70152 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
70153 if test x${glibcxx_cv_func__modf_use+set} != xset; then
70154 if test "${glibcxx_cv_func__modf_use+set}" = set; then
70155 echo $ECHO_N "(cached) $ECHO_C" >&6
70156 else
70160 ac_ext=cc
70161 ac_cpp='$CXXCPP $CPPFLAGS'
70162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
70174 main ()
70176 _modf(0, 0);
70178 return 0;
70180 _ACEOF
70181 rm -f conftest.$ac_objext
70182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70183 (eval $ac_compile) 2>conftest.er1
70184 ac_status=$?
70185 grep -v '^ *+' conftest.er1 >conftest.err
70186 rm -f conftest.er1
70187 cat conftest.err >&5
70188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70189 (exit $ac_status); } &&
70190 { ac_try='test -z "$ac_cxx_werror_flag"
70191 || test ! -s conftest.err'
70192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70193 (eval $ac_try) 2>&5
70194 ac_status=$?
70195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70196 (exit $ac_status); }; } &&
70197 { ac_try='test -s conftest.$ac_objext'
70198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70199 (eval $ac_try) 2>&5
70200 ac_status=$?
70201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70202 (exit $ac_status); }; }; then
70203 glibcxx_cv_func__modf_use=yes
70204 else
70205 echo "$as_me: failed program was:" >&5
70206 sed 's/^/| /' conftest.$ac_ext >&5
70208 glibcxx_cv_func__modf_use=no
70210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70211 ac_ext=c
70212 ac_cpp='$CPP $CPPFLAGS'
70213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70221 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
70222 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
70224 if test x$glibcxx_cv_func__modf_use = x"yes"; then
70226 for ac_func in _modf
70228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70229 echo "$as_me:$LINENO: checking for $ac_func" >&5
70230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70231 if eval "test \"\${$as_ac_var+set}\" = set"; then
70232 echo $ECHO_N "(cached) $ECHO_C" >&6
70233 else
70234 if test x$gcc_no_link = xyes; then
70235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70237 { (exit 1); exit 1; }; }
70239 cat >conftest.$ac_ext <<_ACEOF
70240 /* confdefs.h. */
70241 _ACEOF
70242 cat confdefs.h >>conftest.$ac_ext
70243 cat >>conftest.$ac_ext <<_ACEOF
70244 /* end confdefs.h. */
70245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70247 #define $ac_func innocuous_$ac_func
70249 /* System header to define __stub macros and hopefully few prototypes,
70250 which can conflict with char $ac_func (); below.
70251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70252 <limits.h> exists even on freestanding compilers. */
70254 #ifdef __STDC__
70255 # include <limits.h>
70256 #else
70257 # include <assert.h>
70258 #endif
70260 #undef $ac_func
70262 /* Override any gcc2 internal prototype to avoid an error. */
70263 #ifdef __cplusplus
70264 extern "C"
70266 #endif
70267 /* We use char because int might match the return type of a gcc2
70268 builtin and then its argument prototype would still apply. */
70269 char $ac_func ();
70270 /* The GNU C library defines this for functions which it implements
70271 to always fail with ENOSYS. Some functions are actually named
70272 something starting with __ and the normal name is an alias. */
70273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70274 choke me
70275 #else
70276 char (*f) () = $ac_func;
70277 #endif
70278 #ifdef __cplusplus
70280 #endif
70283 main ()
70285 return f != $ac_func;
70287 return 0;
70289 _ACEOF
70290 rm -f conftest.$ac_objext conftest$ac_exeext
70291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70292 (eval $ac_link) 2>conftest.er1
70293 ac_status=$?
70294 grep -v '^ *+' conftest.er1 >conftest.err
70295 rm -f conftest.er1
70296 cat conftest.err >&5
70297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70298 (exit $ac_status); } &&
70299 { ac_try='test -z "$ac_c_werror_flag"
70300 || test ! -s conftest.err'
70301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70302 (eval $ac_try) 2>&5
70303 ac_status=$?
70304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70305 (exit $ac_status); }; } &&
70306 { ac_try='test -s conftest$ac_exeext'
70307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70308 (eval $ac_try) 2>&5
70309 ac_status=$?
70310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70311 (exit $ac_status); }; }; then
70312 eval "$as_ac_var=yes"
70313 else
70314 echo "$as_me: failed program was:" >&5
70315 sed 's/^/| /' conftest.$ac_ext >&5
70317 eval "$as_ac_var=no"
70319 rm -f conftest.err conftest.$ac_objext \
70320 conftest$ac_exeext conftest.$ac_ext
70322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70324 if test `eval echo '${'$as_ac_var'}'` = yes; then
70325 cat >>confdefs.h <<_ACEOF
70326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70327 _ACEOF
70330 done
70340 echo "$as_me:$LINENO: checking for powf declaration" >&5
70341 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
70342 if test x${glibcxx_cv_func_powf_use+set} != xset; then
70343 if test "${glibcxx_cv_func_powf_use+set}" = set; then
70344 echo $ECHO_N "(cached) $ECHO_C" >&6
70345 else
70349 ac_ext=cc
70350 ac_cpp='$CXXCPP $CPPFLAGS'
70351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
70363 main ()
70365 powf(0, 0);
70367 return 0;
70369 _ACEOF
70370 rm -f conftest.$ac_objext
70371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70372 (eval $ac_compile) 2>conftest.er1
70373 ac_status=$?
70374 grep -v '^ *+' conftest.er1 >conftest.err
70375 rm -f conftest.er1
70376 cat conftest.err >&5
70377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70378 (exit $ac_status); } &&
70379 { ac_try='test -z "$ac_cxx_werror_flag"
70380 || test ! -s conftest.err'
70381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70382 (eval $ac_try) 2>&5
70383 ac_status=$?
70384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70385 (exit $ac_status); }; } &&
70386 { ac_try='test -s conftest.$ac_objext'
70387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70388 (eval $ac_try) 2>&5
70389 ac_status=$?
70390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70391 (exit $ac_status); }; }; then
70392 glibcxx_cv_func_powf_use=yes
70393 else
70394 echo "$as_me: failed program was:" >&5
70395 sed 's/^/| /' conftest.$ac_ext >&5
70397 glibcxx_cv_func_powf_use=no
70399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70400 ac_ext=c
70401 ac_cpp='$CPP $CPPFLAGS'
70402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70410 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
70411 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
70413 if test x$glibcxx_cv_func_powf_use = x"yes"; then
70415 for ac_func in powf
70417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70418 echo "$as_me:$LINENO: checking for $ac_func" >&5
70419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70420 if eval "test \"\${$as_ac_var+set}\" = set"; then
70421 echo $ECHO_N "(cached) $ECHO_C" >&6
70422 else
70423 if test x$gcc_no_link = xyes; then
70424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70426 { (exit 1); exit 1; }; }
70428 cat >conftest.$ac_ext <<_ACEOF
70429 /* confdefs.h. */
70430 _ACEOF
70431 cat confdefs.h >>conftest.$ac_ext
70432 cat >>conftest.$ac_ext <<_ACEOF
70433 /* end confdefs.h. */
70434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70436 #define $ac_func innocuous_$ac_func
70438 /* System header to define __stub macros and hopefully few prototypes,
70439 which can conflict with char $ac_func (); below.
70440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70441 <limits.h> exists even on freestanding compilers. */
70443 #ifdef __STDC__
70444 # include <limits.h>
70445 #else
70446 # include <assert.h>
70447 #endif
70449 #undef $ac_func
70451 /* Override any gcc2 internal prototype to avoid an error. */
70452 #ifdef __cplusplus
70453 extern "C"
70455 #endif
70456 /* We use char because int might match the return type of a gcc2
70457 builtin and then its argument prototype would still apply. */
70458 char $ac_func ();
70459 /* The GNU C library defines this for functions which it implements
70460 to always fail with ENOSYS. Some functions are actually named
70461 something starting with __ and the normal name is an alias. */
70462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70463 choke me
70464 #else
70465 char (*f) () = $ac_func;
70466 #endif
70467 #ifdef __cplusplus
70469 #endif
70472 main ()
70474 return f != $ac_func;
70476 return 0;
70478 _ACEOF
70479 rm -f conftest.$ac_objext conftest$ac_exeext
70480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70481 (eval $ac_link) 2>conftest.er1
70482 ac_status=$?
70483 grep -v '^ *+' conftest.er1 >conftest.err
70484 rm -f conftest.er1
70485 cat conftest.err >&5
70486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70487 (exit $ac_status); } &&
70488 { ac_try='test -z "$ac_c_werror_flag"
70489 || test ! -s conftest.err'
70490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70491 (eval $ac_try) 2>&5
70492 ac_status=$?
70493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70494 (exit $ac_status); }; } &&
70495 { ac_try='test -s conftest$ac_exeext'
70496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70497 (eval $ac_try) 2>&5
70498 ac_status=$?
70499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70500 (exit $ac_status); }; }; then
70501 eval "$as_ac_var=yes"
70502 else
70503 echo "$as_me: failed program was:" >&5
70504 sed 's/^/| /' conftest.$ac_ext >&5
70506 eval "$as_ac_var=no"
70508 rm -f conftest.err conftest.$ac_objext \
70509 conftest$ac_exeext conftest.$ac_ext
70511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70513 if test `eval echo '${'$as_ac_var'}'` = yes; then
70514 cat >>confdefs.h <<_ACEOF
70515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70516 _ACEOF
70519 done
70521 else
70523 echo "$as_me:$LINENO: checking for _powf declaration" >&5
70524 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
70525 if test x${glibcxx_cv_func__powf_use+set} != xset; then
70526 if test "${glibcxx_cv_func__powf_use+set}" = set; then
70527 echo $ECHO_N "(cached) $ECHO_C" >&6
70528 else
70532 ac_ext=cc
70533 ac_cpp='$CXXCPP $CPPFLAGS'
70534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
70546 main ()
70548 _powf(0, 0);
70550 return 0;
70552 _ACEOF
70553 rm -f conftest.$ac_objext
70554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70555 (eval $ac_compile) 2>conftest.er1
70556 ac_status=$?
70557 grep -v '^ *+' conftest.er1 >conftest.err
70558 rm -f conftest.er1
70559 cat conftest.err >&5
70560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70561 (exit $ac_status); } &&
70562 { ac_try='test -z "$ac_cxx_werror_flag"
70563 || test ! -s conftest.err'
70564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70565 (eval $ac_try) 2>&5
70566 ac_status=$?
70567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70568 (exit $ac_status); }; } &&
70569 { ac_try='test -s conftest.$ac_objext'
70570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70571 (eval $ac_try) 2>&5
70572 ac_status=$?
70573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70574 (exit $ac_status); }; }; then
70575 glibcxx_cv_func__powf_use=yes
70576 else
70577 echo "$as_me: failed program was:" >&5
70578 sed 's/^/| /' conftest.$ac_ext >&5
70580 glibcxx_cv_func__powf_use=no
70582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70583 ac_ext=c
70584 ac_cpp='$CPP $CPPFLAGS'
70585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70593 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
70594 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
70596 if test x$glibcxx_cv_func__powf_use = x"yes"; then
70598 for ac_func in _powf
70600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70601 echo "$as_me:$LINENO: checking for $ac_func" >&5
70602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70603 if eval "test \"\${$as_ac_var+set}\" = set"; then
70604 echo $ECHO_N "(cached) $ECHO_C" >&6
70605 else
70606 if test x$gcc_no_link = xyes; then
70607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70609 { (exit 1); exit 1; }; }
70611 cat >conftest.$ac_ext <<_ACEOF
70612 /* confdefs.h. */
70613 _ACEOF
70614 cat confdefs.h >>conftest.$ac_ext
70615 cat >>conftest.$ac_ext <<_ACEOF
70616 /* end confdefs.h. */
70617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70619 #define $ac_func innocuous_$ac_func
70621 /* System header to define __stub macros and hopefully few prototypes,
70622 which can conflict with char $ac_func (); below.
70623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70624 <limits.h> exists even on freestanding compilers. */
70626 #ifdef __STDC__
70627 # include <limits.h>
70628 #else
70629 # include <assert.h>
70630 #endif
70632 #undef $ac_func
70634 /* Override any gcc2 internal prototype to avoid an error. */
70635 #ifdef __cplusplus
70636 extern "C"
70638 #endif
70639 /* We use char because int might match the return type of a gcc2
70640 builtin and then its argument prototype would still apply. */
70641 char $ac_func ();
70642 /* The GNU C library defines this for functions which it implements
70643 to always fail with ENOSYS. Some functions are actually named
70644 something starting with __ and the normal name is an alias. */
70645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70646 choke me
70647 #else
70648 char (*f) () = $ac_func;
70649 #endif
70650 #ifdef __cplusplus
70652 #endif
70655 main ()
70657 return f != $ac_func;
70659 return 0;
70661 _ACEOF
70662 rm -f conftest.$ac_objext conftest$ac_exeext
70663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70664 (eval $ac_link) 2>conftest.er1
70665 ac_status=$?
70666 grep -v '^ *+' conftest.er1 >conftest.err
70667 rm -f conftest.er1
70668 cat conftest.err >&5
70669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70670 (exit $ac_status); } &&
70671 { ac_try='test -z "$ac_c_werror_flag"
70672 || test ! -s conftest.err'
70673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70674 (eval $ac_try) 2>&5
70675 ac_status=$?
70676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70677 (exit $ac_status); }; } &&
70678 { ac_try='test -s conftest$ac_exeext'
70679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70680 (eval $ac_try) 2>&5
70681 ac_status=$?
70682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70683 (exit $ac_status); }; }; then
70684 eval "$as_ac_var=yes"
70685 else
70686 echo "$as_me: failed program was:" >&5
70687 sed 's/^/| /' conftest.$ac_ext >&5
70689 eval "$as_ac_var=no"
70691 rm -f conftest.err conftest.$ac_objext \
70692 conftest$ac_exeext conftest.$ac_ext
70694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70696 if test `eval echo '${'$as_ac_var'}'` = yes; then
70697 cat >>confdefs.h <<_ACEOF
70698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70699 _ACEOF
70702 done
70712 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
70713 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
70714 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70715 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
70716 echo $ECHO_N "(cached) $ECHO_C" >&6
70717 else
70721 ac_ext=cc
70722 ac_cpp='$CXXCPP $CPPFLAGS'
70723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70727 cat >conftest.$ac_ext <<_ACEOF
70728 /* confdefs.h. */
70729 _ACEOF
70730 cat confdefs.h >>conftest.$ac_ext
70731 cat >>conftest.$ac_ext <<_ACEOF
70732 /* end confdefs.h. */
70733 #include <math.h>
70734 #ifdef HAVE_IEEEFP_H
70735 #include <ieeefp.h>
70736 #endif
70739 main ()
70741 sqrtf(0);
70743 return 0;
70745 _ACEOF
70746 rm -f conftest.$ac_objext
70747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70748 (eval $ac_compile) 2>conftest.er1
70749 ac_status=$?
70750 grep -v '^ *+' conftest.er1 >conftest.err
70751 rm -f conftest.er1
70752 cat conftest.err >&5
70753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70754 (exit $ac_status); } &&
70755 { ac_try='test -z "$ac_cxx_werror_flag"
70756 || test ! -s conftest.err'
70757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70758 (eval $ac_try) 2>&5
70759 ac_status=$?
70760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70761 (exit $ac_status); }; } &&
70762 { ac_try='test -s conftest.$ac_objext'
70763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70764 (eval $ac_try) 2>&5
70765 ac_status=$?
70766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70767 (exit $ac_status); }; }; then
70768 glibcxx_cv_func_sqrtf_use=yes
70769 else
70770 echo "$as_me: failed program was:" >&5
70771 sed 's/^/| /' conftest.$ac_ext >&5
70773 glibcxx_cv_func_sqrtf_use=no
70775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70776 ac_ext=c
70777 ac_cpp='$CPP $CPPFLAGS'
70778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
70787 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
70789 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70791 for ac_func in sqrtf
70793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70794 echo "$as_me:$LINENO: checking for $ac_func" >&5
70795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70796 if eval "test \"\${$as_ac_var+set}\" = set"; then
70797 echo $ECHO_N "(cached) $ECHO_C" >&6
70798 else
70799 if test x$gcc_no_link = xyes; then
70800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70802 { (exit 1); exit 1; }; }
70804 cat >conftest.$ac_ext <<_ACEOF
70805 /* confdefs.h. */
70806 _ACEOF
70807 cat confdefs.h >>conftest.$ac_ext
70808 cat >>conftest.$ac_ext <<_ACEOF
70809 /* end confdefs.h. */
70810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70812 #define $ac_func innocuous_$ac_func
70814 /* System header to define __stub macros and hopefully few prototypes,
70815 which can conflict with char $ac_func (); below.
70816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70817 <limits.h> exists even on freestanding compilers. */
70819 #ifdef __STDC__
70820 # include <limits.h>
70821 #else
70822 # include <assert.h>
70823 #endif
70825 #undef $ac_func
70827 /* Override any gcc2 internal prototype to avoid an error. */
70828 #ifdef __cplusplus
70829 extern "C"
70831 #endif
70832 /* We use char because int might match the return type of a gcc2
70833 builtin and then its argument prototype would still apply. */
70834 char $ac_func ();
70835 /* The GNU C library defines this for functions which it implements
70836 to always fail with ENOSYS. Some functions are actually named
70837 something starting with __ and the normal name is an alias. */
70838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70839 choke me
70840 #else
70841 char (*f) () = $ac_func;
70842 #endif
70843 #ifdef __cplusplus
70845 #endif
70848 main ()
70850 return f != $ac_func;
70852 return 0;
70854 _ACEOF
70855 rm -f conftest.$ac_objext conftest$ac_exeext
70856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70857 (eval $ac_link) 2>conftest.er1
70858 ac_status=$?
70859 grep -v '^ *+' conftest.er1 >conftest.err
70860 rm -f conftest.er1
70861 cat conftest.err >&5
70862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70863 (exit $ac_status); } &&
70864 { ac_try='test -z "$ac_c_werror_flag"
70865 || test ! -s conftest.err'
70866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70867 (eval $ac_try) 2>&5
70868 ac_status=$?
70869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70870 (exit $ac_status); }; } &&
70871 { ac_try='test -s conftest$ac_exeext'
70872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70873 (eval $ac_try) 2>&5
70874 ac_status=$?
70875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70876 (exit $ac_status); }; }; then
70877 eval "$as_ac_var=yes"
70878 else
70879 echo "$as_me: failed program was:" >&5
70880 sed 's/^/| /' conftest.$ac_ext >&5
70882 eval "$as_ac_var=no"
70884 rm -f conftest.err conftest.$ac_objext \
70885 conftest$ac_exeext conftest.$ac_ext
70887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70889 if test `eval echo '${'$as_ac_var'}'` = yes; then
70890 cat >>confdefs.h <<_ACEOF
70891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70892 _ACEOF
70895 done
70897 else
70899 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
70900 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
70901 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70902 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
70903 echo $ECHO_N "(cached) $ECHO_C" >&6
70904 else
70908 ac_ext=cc
70909 ac_cpp='$CXXCPP $CPPFLAGS'
70910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70914 cat >conftest.$ac_ext <<_ACEOF
70915 /* confdefs.h. */
70916 _ACEOF
70917 cat confdefs.h >>conftest.$ac_ext
70918 cat >>conftest.$ac_ext <<_ACEOF
70919 /* end confdefs.h. */
70920 #include <math.h>
70921 #ifdef HAVE_IEEEFP_H
70922 #include <ieeefp.h>
70923 #endif
70926 main ()
70928 _sqrtf(0);
70930 return 0;
70932 _ACEOF
70933 rm -f conftest.$ac_objext
70934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70935 (eval $ac_compile) 2>conftest.er1
70936 ac_status=$?
70937 grep -v '^ *+' conftest.er1 >conftest.err
70938 rm -f conftest.er1
70939 cat conftest.err >&5
70940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70941 (exit $ac_status); } &&
70942 { ac_try='test -z "$ac_cxx_werror_flag"
70943 || test ! -s conftest.err'
70944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70945 (eval $ac_try) 2>&5
70946 ac_status=$?
70947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70948 (exit $ac_status); }; } &&
70949 { ac_try='test -s conftest.$ac_objext'
70950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70951 (eval $ac_try) 2>&5
70952 ac_status=$?
70953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70954 (exit $ac_status); }; }; then
70955 glibcxx_cv_func__sqrtf_use=yes
70956 else
70957 echo "$as_me: failed program was:" >&5
70958 sed 's/^/| /' conftest.$ac_ext >&5
70960 glibcxx_cv_func__sqrtf_use=no
70962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70963 ac_ext=c
70964 ac_cpp='$CPP $CPPFLAGS'
70965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
70974 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
70976 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70978 for ac_func in _sqrtf
70980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70981 echo "$as_me:$LINENO: checking for $ac_func" >&5
70982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70983 if eval "test \"\${$as_ac_var+set}\" = set"; then
70984 echo $ECHO_N "(cached) $ECHO_C" >&6
70985 else
70986 if test x$gcc_no_link = xyes; then
70987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70989 { (exit 1); exit 1; }; }
70991 cat >conftest.$ac_ext <<_ACEOF
70992 /* confdefs.h. */
70993 _ACEOF
70994 cat confdefs.h >>conftest.$ac_ext
70995 cat >>conftest.$ac_ext <<_ACEOF
70996 /* end confdefs.h. */
70997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70999 #define $ac_func innocuous_$ac_func
71001 /* System header to define __stub macros and hopefully few prototypes,
71002 which can conflict with char $ac_func (); below.
71003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71004 <limits.h> exists even on freestanding compilers. */
71006 #ifdef __STDC__
71007 # include <limits.h>
71008 #else
71009 # include <assert.h>
71010 #endif
71012 #undef $ac_func
71014 /* Override any gcc2 internal prototype to avoid an error. */
71015 #ifdef __cplusplus
71016 extern "C"
71018 #endif
71019 /* We use char because int might match the return type of a gcc2
71020 builtin and then its argument prototype would still apply. */
71021 char $ac_func ();
71022 /* The GNU C library defines this for functions which it implements
71023 to always fail with ENOSYS. Some functions are actually named
71024 something starting with __ and the normal name is an alias. */
71025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71026 choke me
71027 #else
71028 char (*f) () = $ac_func;
71029 #endif
71030 #ifdef __cplusplus
71032 #endif
71035 main ()
71037 return f != $ac_func;
71039 return 0;
71041 _ACEOF
71042 rm -f conftest.$ac_objext conftest$ac_exeext
71043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71044 (eval $ac_link) 2>conftest.er1
71045 ac_status=$?
71046 grep -v '^ *+' conftest.er1 >conftest.err
71047 rm -f conftest.er1
71048 cat conftest.err >&5
71049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71050 (exit $ac_status); } &&
71051 { ac_try='test -z "$ac_c_werror_flag"
71052 || test ! -s conftest.err'
71053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71054 (eval $ac_try) 2>&5
71055 ac_status=$?
71056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71057 (exit $ac_status); }; } &&
71058 { ac_try='test -s conftest$ac_exeext'
71059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71060 (eval $ac_try) 2>&5
71061 ac_status=$?
71062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71063 (exit $ac_status); }; }; then
71064 eval "$as_ac_var=yes"
71065 else
71066 echo "$as_me: failed program was:" >&5
71067 sed 's/^/| /' conftest.$ac_ext >&5
71069 eval "$as_ac_var=no"
71071 rm -f conftest.err conftest.$ac_objext \
71072 conftest$ac_exeext conftest.$ac_ext
71074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71076 if test `eval echo '${'$as_ac_var'}'` = yes; then
71077 cat >>confdefs.h <<_ACEOF
71078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71079 _ACEOF
71082 done
71092 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
71093 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
71094 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
71095 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
71096 echo $ECHO_N "(cached) $ECHO_C" >&6
71097 else
71101 ac_ext=cc
71102 ac_cpp='$CXXCPP $CPPFLAGS'
71103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
71115 main ()
71117 sincosf(0, 0, 0);
71119 return 0;
71121 _ACEOF
71122 rm -f conftest.$ac_objext
71123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71124 (eval $ac_compile) 2>conftest.er1
71125 ac_status=$?
71126 grep -v '^ *+' conftest.er1 >conftest.err
71127 rm -f conftest.er1
71128 cat conftest.err >&5
71129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71130 (exit $ac_status); } &&
71131 { ac_try='test -z "$ac_cxx_werror_flag"
71132 || test ! -s conftest.err'
71133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71134 (eval $ac_try) 2>&5
71135 ac_status=$?
71136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71137 (exit $ac_status); }; } &&
71138 { ac_try='test -s conftest.$ac_objext'
71139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71140 (eval $ac_try) 2>&5
71141 ac_status=$?
71142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71143 (exit $ac_status); }; }; then
71144 glibcxx_cv_func_sincosf_use=yes
71145 else
71146 echo "$as_me: failed program was:" >&5
71147 sed 's/^/| /' conftest.$ac_ext >&5
71149 glibcxx_cv_func_sincosf_use=no
71151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71152 ac_ext=c
71153 ac_cpp='$CPP $CPPFLAGS'
71154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71162 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
71163 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
71165 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
71167 for ac_func in sincosf
71169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71170 echo "$as_me:$LINENO: checking for $ac_func" >&5
71171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71172 if eval "test \"\${$as_ac_var+set}\" = set"; then
71173 echo $ECHO_N "(cached) $ECHO_C" >&6
71174 else
71175 if test x$gcc_no_link = xyes; then
71176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71178 { (exit 1); exit 1; }; }
71180 cat >conftest.$ac_ext <<_ACEOF
71181 /* confdefs.h. */
71182 _ACEOF
71183 cat confdefs.h >>conftest.$ac_ext
71184 cat >>conftest.$ac_ext <<_ACEOF
71185 /* end confdefs.h. */
71186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71188 #define $ac_func innocuous_$ac_func
71190 /* System header to define __stub macros and hopefully few prototypes,
71191 which can conflict with char $ac_func (); below.
71192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71193 <limits.h> exists even on freestanding compilers. */
71195 #ifdef __STDC__
71196 # include <limits.h>
71197 #else
71198 # include <assert.h>
71199 #endif
71201 #undef $ac_func
71203 /* Override any gcc2 internal prototype to avoid an error. */
71204 #ifdef __cplusplus
71205 extern "C"
71207 #endif
71208 /* We use char because int might match the return type of a gcc2
71209 builtin and then its argument prototype would still apply. */
71210 char $ac_func ();
71211 /* The GNU C library defines this for functions which it implements
71212 to always fail with ENOSYS. Some functions are actually named
71213 something starting with __ and the normal name is an alias. */
71214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71215 choke me
71216 #else
71217 char (*f) () = $ac_func;
71218 #endif
71219 #ifdef __cplusplus
71221 #endif
71224 main ()
71226 return f != $ac_func;
71228 return 0;
71230 _ACEOF
71231 rm -f conftest.$ac_objext conftest$ac_exeext
71232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71233 (eval $ac_link) 2>conftest.er1
71234 ac_status=$?
71235 grep -v '^ *+' conftest.er1 >conftest.err
71236 rm -f conftest.er1
71237 cat conftest.err >&5
71238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71239 (exit $ac_status); } &&
71240 { ac_try='test -z "$ac_c_werror_flag"
71241 || test ! -s conftest.err'
71242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71243 (eval $ac_try) 2>&5
71244 ac_status=$?
71245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71246 (exit $ac_status); }; } &&
71247 { ac_try='test -s conftest$ac_exeext'
71248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71249 (eval $ac_try) 2>&5
71250 ac_status=$?
71251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71252 (exit $ac_status); }; }; then
71253 eval "$as_ac_var=yes"
71254 else
71255 echo "$as_me: failed program was:" >&5
71256 sed 's/^/| /' conftest.$ac_ext >&5
71258 eval "$as_ac_var=no"
71260 rm -f conftest.err conftest.$ac_objext \
71261 conftest$ac_exeext conftest.$ac_ext
71263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71265 if test `eval echo '${'$as_ac_var'}'` = yes; then
71266 cat >>confdefs.h <<_ACEOF
71267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71268 _ACEOF
71271 done
71273 else
71275 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
71276 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
71277 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
71278 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
71279 echo $ECHO_N "(cached) $ECHO_C" >&6
71280 else
71284 ac_ext=cc
71285 ac_cpp='$CXXCPP $CPPFLAGS'
71286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
71298 main ()
71300 _sincosf(0, 0, 0);
71302 return 0;
71304 _ACEOF
71305 rm -f conftest.$ac_objext
71306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71307 (eval $ac_compile) 2>conftest.er1
71308 ac_status=$?
71309 grep -v '^ *+' conftest.er1 >conftest.err
71310 rm -f conftest.er1
71311 cat conftest.err >&5
71312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71313 (exit $ac_status); } &&
71314 { ac_try='test -z "$ac_cxx_werror_flag"
71315 || test ! -s conftest.err'
71316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71317 (eval $ac_try) 2>&5
71318 ac_status=$?
71319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71320 (exit $ac_status); }; } &&
71321 { ac_try='test -s conftest.$ac_objext'
71322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71323 (eval $ac_try) 2>&5
71324 ac_status=$?
71325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71326 (exit $ac_status); }; }; then
71327 glibcxx_cv_func__sincosf_use=yes
71328 else
71329 echo "$as_me: failed program was:" >&5
71330 sed 's/^/| /' conftest.$ac_ext >&5
71332 glibcxx_cv_func__sincosf_use=no
71334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71335 ac_ext=c
71336 ac_cpp='$CPP $CPPFLAGS'
71337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
71346 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
71348 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
71350 for ac_func in _sincosf
71352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71353 echo "$as_me:$LINENO: checking for $ac_func" >&5
71354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71355 if eval "test \"\${$as_ac_var+set}\" = set"; then
71356 echo $ECHO_N "(cached) $ECHO_C" >&6
71357 else
71358 if test x$gcc_no_link = xyes; then
71359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71361 { (exit 1); exit 1; }; }
71363 cat >conftest.$ac_ext <<_ACEOF
71364 /* confdefs.h. */
71365 _ACEOF
71366 cat confdefs.h >>conftest.$ac_ext
71367 cat >>conftest.$ac_ext <<_ACEOF
71368 /* end confdefs.h. */
71369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71371 #define $ac_func innocuous_$ac_func
71373 /* System header to define __stub macros and hopefully few prototypes,
71374 which can conflict with char $ac_func (); below.
71375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71376 <limits.h> exists even on freestanding compilers. */
71378 #ifdef __STDC__
71379 # include <limits.h>
71380 #else
71381 # include <assert.h>
71382 #endif
71384 #undef $ac_func
71386 /* Override any gcc2 internal prototype to avoid an error. */
71387 #ifdef __cplusplus
71388 extern "C"
71390 #endif
71391 /* We use char because int might match the return type of a gcc2
71392 builtin and then its argument prototype would still apply. */
71393 char $ac_func ();
71394 /* The GNU C library defines this for functions which it implements
71395 to always fail with ENOSYS. Some functions are actually named
71396 something starting with __ and the normal name is an alias. */
71397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71398 choke me
71399 #else
71400 char (*f) () = $ac_func;
71401 #endif
71402 #ifdef __cplusplus
71404 #endif
71407 main ()
71409 return f != $ac_func;
71411 return 0;
71413 _ACEOF
71414 rm -f conftest.$ac_objext conftest$ac_exeext
71415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71416 (eval $ac_link) 2>conftest.er1
71417 ac_status=$?
71418 grep -v '^ *+' conftest.er1 >conftest.err
71419 rm -f conftest.er1
71420 cat conftest.err >&5
71421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71422 (exit $ac_status); } &&
71423 { ac_try='test -z "$ac_c_werror_flag"
71424 || test ! -s conftest.err'
71425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71426 (eval $ac_try) 2>&5
71427 ac_status=$?
71428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71429 (exit $ac_status); }; } &&
71430 { ac_try='test -s conftest$ac_exeext'
71431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71432 (eval $ac_try) 2>&5
71433 ac_status=$?
71434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71435 (exit $ac_status); }; }; then
71436 eval "$as_ac_var=yes"
71437 else
71438 echo "$as_me: failed program was:" >&5
71439 sed 's/^/| /' conftest.$ac_ext >&5
71441 eval "$as_ac_var=no"
71443 rm -f conftest.err conftest.$ac_objext \
71444 conftest$ac_exeext conftest.$ac_ext
71446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71448 if test `eval echo '${'$as_ac_var'}'` = yes; then
71449 cat >>confdefs.h <<_ACEOF
71450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71451 _ACEOF
71454 done
71464 echo "$as_me:$LINENO: checking for finitef declaration" >&5
71465 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
71466 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
71467 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
71468 echo $ECHO_N "(cached) $ECHO_C" >&6
71469 else
71473 ac_ext=cc
71474 ac_cpp='$CXXCPP $CPPFLAGS'
71475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71479 cat >conftest.$ac_ext <<_ACEOF
71480 /* confdefs.h. */
71481 _ACEOF
71482 cat confdefs.h >>conftest.$ac_ext
71483 cat >>conftest.$ac_ext <<_ACEOF
71484 /* end confdefs.h. */
71485 #include <math.h>
71486 #ifdef HAVE_IEEEFP_H
71487 #include <ieeefp.h>
71488 #endif
71491 main ()
71493 finitef(0);
71495 return 0;
71497 _ACEOF
71498 rm -f conftest.$ac_objext
71499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71500 (eval $ac_compile) 2>conftest.er1
71501 ac_status=$?
71502 grep -v '^ *+' conftest.er1 >conftest.err
71503 rm -f conftest.er1
71504 cat conftest.err >&5
71505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71506 (exit $ac_status); } &&
71507 { ac_try='test -z "$ac_cxx_werror_flag"
71508 || test ! -s conftest.err'
71509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71510 (eval $ac_try) 2>&5
71511 ac_status=$?
71512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71513 (exit $ac_status); }; } &&
71514 { ac_try='test -s conftest.$ac_objext'
71515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71516 (eval $ac_try) 2>&5
71517 ac_status=$?
71518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71519 (exit $ac_status); }; }; then
71520 glibcxx_cv_func_finitef_use=yes
71521 else
71522 echo "$as_me: failed program was:" >&5
71523 sed 's/^/| /' conftest.$ac_ext >&5
71525 glibcxx_cv_func_finitef_use=no
71527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71528 ac_ext=c
71529 ac_cpp='$CPP $CPPFLAGS'
71530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71538 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
71539 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
71541 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
71543 for ac_func in finitef
71545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71546 echo "$as_me:$LINENO: checking for $ac_func" >&5
71547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71548 if eval "test \"\${$as_ac_var+set}\" = set"; then
71549 echo $ECHO_N "(cached) $ECHO_C" >&6
71550 else
71551 if test x$gcc_no_link = xyes; then
71552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71554 { (exit 1); exit 1; }; }
71556 cat >conftest.$ac_ext <<_ACEOF
71557 /* confdefs.h. */
71558 _ACEOF
71559 cat confdefs.h >>conftest.$ac_ext
71560 cat >>conftest.$ac_ext <<_ACEOF
71561 /* end confdefs.h. */
71562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71564 #define $ac_func innocuous_$ac_func
71566 /* System header to define __stub macros and hopefully few prototypes,
71567 which can conflict with char $ac_func (); below.
71568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71569 <limits.h> exists even on freestanding compilers. */
71571 #ifdef __STDC__
71572 # include <limits.h>
71573 #else
71574 # include <assert.h>
71575 #endif
71577 #undef $ac_func
71579 /* Override any gcc2 internal prototype to avoid an error. */
71580 #ifdef __cplusplus
71581 extern "C"
71583 #endif
71584 /* We use char because int might match the return type of a gcc2
71585 builtin and then its argument prototype would still apply. */
71586 char $ac_func ();
71587 /* The GNU C library defines this for functions which it implements
71588 to always fail with ENOSYS. Some functions are actually named
71589 something starting with __ and the normal name is an alias. */
71590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71591 choke me
71592 #else
71593 char (*f) () = $ac_func;
71594 #endif
71595 #ifdef __cplusplus
71597 #endif
71600 main ()
71602 return f != $ac_func;
71604 return 0;
71606 _ACEOF
71607 rm -f conftest.$ac_objext conftest$ac_exeext
71608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71609 (eval $ac_link) 2>conftest.er1
71610 ac_status=$?
71611 grep -v '^ *+' conftest.er1 >conftest.err
71612 rm -f conftest.er1
71613 cat conftest.err >&5
71614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615 (exit $ac_status); } &&
71616 { ac_try='test -z "$ac_c_werror_flag"
71617 || test ! -s conftest.err'
71618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71619 (eval $ac_try) 2>&5
71620 ac_status=$?
71621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71622 (exit $ac_status); }; } &&
71623 { ac_try='test -s conftest$ac_exeext'
71624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71625 (eval $ac_try) 2>&5
71626 ac_status=$?
71627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71628 (exit $ac_status); }; }; then
71629 eval "$as_ac_var=yes"
71630 else
71631 echo "$as_me: failed program was:" >&5
71632 sed 's/^/| /' conftest.$ac_ext >&5
71634 eval "$as_ac_var=no"
71636 rm -f conftest.err conftest.$ac_objext \
71637 conftest$ac_exeext conftest.$ac_ext
71639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71641 if test `eval echo '${'$as_ac_var'}'` = yes; then
71642 cat >>confdefs.h <<_ACEOF
71643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71644 _ACEOF
71647 done
71649 else
71651 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
71652 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
71653 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
71654 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
71655 echo $ECHO_N "(cached) $ECHO_C" >&6
71656 else
71660 ac_ext=cc
71661 ac_cpp='$CXXCPP $CPPFLAGS'
71662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71666 cat >conftest.$ac_ext <<_ACEOF
71667 /* confdefs.h. */
71668 _ACEOF
71669 cat confdefs.h >>conftest.$ac_ext
71670 cat >>conftest.$ac_ext <<_ACEOF
71671 /* end confdefs.h. */
71672 #include <math.h>
71673 #ifdef HAVE_IEEEFP_H
71674 #include <ieeefp.h>
71675 #endif
71678 main ()
71680 _finitef(0);
71682 return 0;
71684 _ACEOF
71685 rm -f conftest.$ac_objext
71686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71687 (eval $ac_compile) 2>conftest.er1
71688 ac_status=$?
71689 grep -v '^ *+' conftest.er1 >conftest.err
71690 rm -f conftest.er1
71691 cat conftest.err >&5
71692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71693 (exit $ac_status); } &&
71694 { ac_try='test -z "$ac_cxx_werror_flag"
71695 || test ! -s conftest.err'
71696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71697 (eval $ac_try) 2>&5
71698 ac_status=$?
71699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71700 (exit $ac_status); }; } &&
71701 { ac_try='test -s conftest.$ac_objext'
71702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71703 (eval $ac_try) 2>&5
71704 ac_status=$?
71705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706 (exit $ac_status); }; }; then
71707 glibcxx_cv_func__finitef_use=yes
71708 else
71709 echo "$as_me: failed program was:" >&5
71710 sed 's/^/| /' conftest.$ac_ext >&5
71712 glibcxx_cv_func__finitef_use=no
71714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71715 ac_ext=c
71716 ac_cpp='$CPP $CPPFLAGS'
71717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
71726 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
71728 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
71730 for ac_func in _finitef
71732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71733 echo "$as_me:$LINENO: checking for $ac_func" >&5
71734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71735 if eval "test \"\${$as_ac_var+set}\" = set"; then
71736 echo $ECHO_N "(cached) $ECHO_C" >&6
71737 else
71738 if test x$gcc_no_link = xyes; then
71739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71741 { (exit 1); exit 1; }; }
71743 cat >conftest.$ac_ext <<_ACEOF
71744 /* confdefs.h. */
71745 _ACEOF
71746 cat confdefs.h >>conftest.$ac_ext
71747 cat >>conftest.$ac_ext <<_ACEOF
71748 /* end confdefs.h. */
71749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71751 #define $ac_func innocuous_$ac_func
71753 /* System header to define __stub macros and hopefully few prototypes,
71754 which can conflict with char $ac_func (); below.
71755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71756 <limits.h> exists even on freestanding compilers. */
71758 #ifdef __STDC__
71759 # include <limits.h>
71760 #else
71761 # include <assert.h>
71762 #endif
71764 #undef $ac_func
71766 /* Override any gcc2 internal prototype to avoid an error. */
71767 #ifdef __cplusplus
71768 extern "C"
71770 #endif
71771 /* We use char because int might match the return type of a gcc2
71772 builtin and then its argument prototype would still apply. */
71773 char $ac_func ();
71774 /* The GNU C library defines this for functions which it implements
71775 to always fail with ENOSYS. Some functions are actually named
71776 something starting with __ and the normal name is an alias. */
71777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71778 choke me
71779 #else
71780 char (*f) () = $ac_func;
71781 #endif
71782 #ifdef __cplusplus
71784 #endif
71787 main ()
71789 return f != $ac_func;
71791 return 0;
71793 _ACEOF
71794 rm -f conftest.$ac_objext conftest$ac_exeext
71795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71796 (eval $ac_link) 2>conftest.er1
71797 ac_status=$?
71798 grep -v '^ *+' conftest.er1 >conftest.err
71799 rm -f conftest.er1
71800 cat conftest.err >&5
71801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71802 (exit $ac_status); } &&
71803 { ac_try='test -z "$ac_c_werror_flag"
71804 || test ! -s conftest.err'
71805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71806 (eval $ac_try) 2>&5
71807 ac_status=$?
71808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71809 (exit $ac_status); }; } &&
71810 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
71816 eval "$as_ac_var=yes"
71817 else
71818 echo "$as_me: failed program was:" >&5
71819 sed 's/^/| /' conftest.$ac_ext >&5
71821 eval "$as_ac_var=no"
71823 rm -f conftest.err conftest.$ac_objext \
71824 conftest$ac_exeext conftest.$ac_ext
71826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71828 if test `eval echo '${'$as_ac_var'}'` = yes; then
71829 cat >>confdefs.h <<_ACEOF
71830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71831 _ACEOF
71834 done
71844 echo "$as_me:$LINENO: checking for long double trig functions" >&5
71845 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
71846 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
71847 echo $ECHO_N "(cached) $ECHO_C" >&6
71848 else
71852 ac_ext=cc
71853 ac_cpp='$CXXCPP $CPPFLAGS'
71854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71858 cat >conftest.$ac_ext <<_ACEOF
71859 /* confdefs.h. */
71860 _ACEOF
71861 cat confdefs.h >>conftest.$ac_ext
71862 cat >>conftest.$ac_ext <<_ACEOF
71863 /* end confdefs.h. */
71864 #include <math.h>
71866 main ()
71868 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
71870 return 0;
71872 _ACEOF
71873 rm -f conftest.$ac_objext
71874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71875 (eval $ac_compile) 2>conftest.er1
71876 ac_status=$?
71877 grep -v '^ *+' conftest.er1 >conftest.err
71878 rm -f conftest.er1
71879 cat conftest.err >&5
71880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71881 (exit $ac_status); } &&
71882 { ac_try='test -z "$ac_cxx_werror_flag"
71883 || test ! -s conftest.err'
71884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71885 (eval $ac_try) 2>&5
71886 ac_status=$?
71887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71888 (exit $ac_status); }; } &&
71889 { ac_try='test -s conftest.$ac_objext'
71890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71891 (eval $ac_try) 2>&5
71892 ac_status=$?
71893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71894 (exit $ac_status); }; }; then
71895 glibcxx_cv_func_long_double_trig_use=yes
71896 else
71897 echo "$as_me: failed program was:" >&5
71898 sed 's/^/| /' conftest.$ac_ext >&5
71900 glibcxx_cv_func_long_double_trig_use=no
71902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71903 ac_ext=c
71904 ac_cpp='$CPP $CPPFLAGS'
71905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
71912 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
71913 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
71923 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
71925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71926 echo "$as_me:$LINENO: checking for $ac_func" >&5
71927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71928 if eval "test \"\${$as_ac_var+set}\" = set"; then
71929 echo $ECHO_N "(cached) $ECHO_C" >&6
71930 else
71931 if test x$gcc_no_link = xyes; then
71932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71934 { (exit 1); exit 1; }; }
71936 cat >conftest.$ac_ext <<_ACEOF
71937 /* confdefs.h. */
71938 _ACEOF
71939 cat confdefs.h >>conftest.$ac_ext
71940 cat >>conftest.$ac_ext <<_ACEOF
71941 /* end confdefs.h. */
71942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71944 #define $ac_func innocuous_$ac_func
71946 /* System header to define __stub macros and hopefully few prototypes,
71947 which can conflict with char $ac_func (); below.
71948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71949 <limits.h> exists even on freestanding compilers. */
71951 #ifdef __STDC__
71952 # include <limits.h>
71953 #else
71954 # include <assert.h>
71955 #endif
71957 #undef $ac_func
71959 /* Override any gcc2 internal prototype to avoid an error. */
71960 #ifdef __cplusplus
71961 extern "C"
71963 #endif
71964 /* We use char because int might match the return type of a gcc2
71965 builtin and then its argument prototype would still apply. */
71966 char $ac_func ();
71967 /* The GNU C library defines this for functions which it implements
71968 to always fail with ENOSYS. Some functions are actually named
71969 something starting with __ and the normal name is an alias. */
71970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71971 choke me
71972 #else
71973 char (*f) () = $ac_func;
71974 #endif
71975 #ifdef __cplusplus
71977 #endif
71980 main ()
71982 return f != $ac_func;
71984 return 0;
71986 _ACEOF
71987 rm -f conftest.$ac_objext conftest$ac_exeext
71988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71989 (eval $ac_link) 2>conftest.er1
71990 ac_status=$?
71991 grep -v '^ *+' conftest.er1 >conftest.err
71992 rm -f conftest.er1
71993 cat conftest.err >&5
71994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71995 (exit $ac_status); } &&
71996 { ac_try='test -z "$ac_c_werror_flag"
71997 || test ! -s conftest.err'
71998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71999 (eval $ac_try) 2>&5
72000 ac_status=$?
72001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72002 (exit $ac_status); }; } &&
72003 { ac_try='test -s conftest$ac_exeext'
72004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72005 (eval $ac_try) 2>&5
72006 ac_status=$?
72007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72008 (exit $ac_status); }; }; then
72009 eval "$as_ac_var=yes"
72010 else
72011 echo "$as_me: failed program was:" >&5
72012 sed 's/^/| /' conftest.$ac_ext >&5
72014 eval "$as_ac_var=no"
72016 rm -f conftest.err conftest.$ac_objext \
72017 conftest$ac_exeext conftest.$ac_ext
72019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72021 if test `eval echo '${'$as_ac_var'}'` = yes; then
72022 cat >>confdefs.h <<_ACEOF
72023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72024 _ACEOF
72027 done
72029 else
72030 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
72031 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
72032 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
72033 echo $ECHO_N "(cached) $ECHO_C" >&6
72034 else
72038 ac_ext=cc
72039 ac_cpp='$CXXCPP $CPPFLAGS'
72040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72044 cat >conftest.$ac_ext <<_ACEOF
72045 /* confdefs.h. */
72046 _ACEOF
72047 cat confdefs.h >>conftest.$ac_ext
72048 cat >>conftest.$ac_ext <<_ACEOF
72049 /* end confdefs.h. */
72050 #include <math.h>
72052 main ()
72054 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
72056 return 0;
72058 _ACEOF
72059 rm -f conftest.$ac_objext
72060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72061 (eval $ac_compile) 2>conftest.er1
72062 ac_status=$?
72063 grep -v '^ *+' conftest.er1 >conftest.err
72064 rm -f conftest.er1
72065 cat conftest.err >&5
72066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72067 (exit $ac_status); } &&
72068 { ac_try='test -z "$ac_cxx_werror_flag"
72069 || test ! -s conftest.err'
72070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72071 (eval $ac_try) 2>&5
72072 ac_status=$?
72073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72074 (exit $ac_status); }; } &&
72075 { ac_try='test -s conftest.$ac_objext'
72076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72077 (eval $ac_try) 2>&5
72078 ac_status=$?
72079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72080 (exit $ac_status); }; }; then
72081 glibcxx_cv_func__long_double_trig_use=yes
72082 else
72083 echo "$as_me: failed program was:" >&5
72084 sed 's/^/| /' conftest.$ac_ext >&5
72086 glibcxx_cv_func__long_double_trig_use=no
72088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72089 ac_ext=c
72090 ac_cpp='$CPP $CPPFLAGS'
72091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
72098 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
72099 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
72109 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
72111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72112 echo "$as_me:$LINENO: checking for $ac_func" >&5
72113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72114 if eval "test \"\${$as_ac_var+set}\" = set"; then
72115 echo $ECHO_N "(cached) $ECHO_C" >&6
72116 else
72117 if test x$gcc_no_link = xyes; then
72118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72120 { (exit 1); exit 1; }; }
72122 cat >conftest.$ac_ext <<_ACEOF
72123 /* confdefs.h. */
72124 _ACEOF
72125 cat confdefs.h >>conftest.$ac_ext
72126 cat >>conftest.$ac_ext <<_ACEOF
72127 /* end confdefs.h. */
72128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72130 #define $ac_func innocuous_$ac_func
72132 /* System header to define __stub macros and hopefully few prototypes,
72133 which can conflict with char $ac_func (); below.
72134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72135 <limits.h> exists even on freestanding compilers. */
72137 #ifdef __STDC__
72138 # include <limits.h>
72139 #else
72140 # include <assert.h>
72141 #endif
72143 #undef $ac_func
72145 /* Override any gcc2 internal prototype to avoid an error. */
72146 #ifdef __cplusplus
72147 extern "C"
72149 #endif
72150 /* We use char because int might match the return type of a gcc2
72151 builtin and then its argument prototype would still apply. */
72152 char $ac_func ();
72153 /* The GNU C library defines this for functions which it implements
72154 to always fail with ENOSYS. Some functions are actually named
72155 something starting with __ and the normal name is an alias. */
72156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72157 choke me
72158 #else
72159 char (*f) () = $ac_func;
72160 #endif
72161 #ifdef __cplusplus
72163 #endif
72166 main ()
72168 return f != $ac_func;
72170 return 0;
72172 _ACEOF
72173 rm -f conftest.$ac_objext conftest$ac_exeext
72174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72175 (eval $ac_link) 2>conftest.er1
72176 ac_status=$?
72177 grep -v '^ *+' conftest.er1 >conftest.err
72178 rm -f conftest.er1
72179 cat conftest.err >&5
72180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72181 (exit $ac_status); } &&
72182 { ac_try='test -z "$ac_c_werror_flag"
72183 || test ! -s conftest.err'
72184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72185 (eval $ac_try) 2>&5
72186 ac_status=$?
72187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72188 (exit $ac_status); }; } &&
72189 { ac_try='test -s conftest$ac_exeext'
72190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72191 (eval $ac_try) 2>&5
72192 ac_status=$?
72193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72194 (exit $ac_status); }; }; then
72195 eval "$as_ac_var=yes"
72196 else
72197 echo "$as_me: failed program was:" >&5
72198 sed 's/^/| /' conftest.$ac_ext >&5
72200 eval "$as_ac_var=no"
72202 rm -f conftest.err conftest.$ac_objext \
72203 conftest$ac_exeext conftest.$ac_ext
72205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72207 if test `eval echo '${'$as_ac_var'}'` = yes; then
72208 cat >>confdefs.h <<_ACEOF
72209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72210 _ACEOF
72213 done
72231 echo "$as_me:$LINENO: checking for long double round functions" >&5
72232 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
72233 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
72234 echo $ECHO_N "(cached) $ECHO_C" >&6
72235 else
72239 ac_ext=cc
72240 ac_cpp='$CXXCPP $CPPFLAGS'
72241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72245 cat >conftest.$ac_ext <<_ACEOF
72246 /* confdefs.h. */
72247 _ACEOF
72248 cat confdefs.h >>conftest.$ac_ext
72249 cat >>conftest.$ac_ext <<_ACEOF
72250 /* end confdefs.h. */
72251 #include <math.h>
72253 main ()
72255 ceill (0); floorl (0);
72257 return 0;
72259 _ACEOF
72260 rm -f conftest.$ac_objext
72261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72262 (eval $ac_compile) 2>conftest.er1
72263 ac_status=$?
72264 grep -v '^ *+' conftest.er1 >conftest.err
72265 rm -f conftest.er1
72266 cat conftest.err >&5
72267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72268 (exit $ac_status); } &&
72269 { ac_try='test -z "$ac_cxx_werror_flag"
72270 || test ! -s conftest.err'
72271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72272 (eval $ac_try) 2>&5
72273 ac_status=$?
72274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72275 (exit $ac_status); }; } &&
72276 { ac_try='test -s conftest.$ac_objext'
72277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72278 (eval $ac_try) 2>&5
72279 ac_status=$?
72280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72281 (exit $ac_status); }; }; then
72282 glibcxx_cv_func_long_double_round_use=yes
72283 else
72284 echo "$as_me: failed program was:" >&5
72285 sed 's/^/| /' conftest.$ac_ext >&5
72287 glibcxx_cv_func_long_double_round_use=no
72289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
72299 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
72300 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
72303 for ac_func in ceill floorl
72305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72306 echo "$as_me:$LINENO: checking for $ac_func" >&5
72307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72308 if eval "test \"\${$as_ac_var+set}\" = set"; then
72309 echo $ECHO_N "(cached) $ECHO_C" >&6
72310 else
72311 if test x$gcc_no_link = xyes; then
72312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72314 { (exit 1); exit 1; }; }
72316 cat >conftest.$ac_ext <<_ACEOF
72317 /* confdefs.h. */
72318 _ACEOF
72319 cat confdefs.h >>conftest.$ac_ext
72320 cat >>conftest.$ac_ext <<_ACEOF
72321 /* end confdefs.h. */
72322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72324 #define $ac_func innocuous_$ac_func
72326 /* System header to define __stub macros and hopefully few prototypes,
72327 which can conflict with char $ac_func (); below.
72328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72329 <limits.h> exists even on freestanding compilers. */
72331 #ifdef __STDC__
72332 # include <limits.h>
72333 #else
72334 # include <assert.h>
72335 #endif
72337 #undef $ac_func
72339 /* Override any gcc2 internal prototype to avoid an error. */
72340 #ifdef __cplusplus
72341 extern "C"
72343 #endif
72344 /* We use char because int might match the return type of a gcc2
72345 builtin and then its argument prototype would still apply. */
72346 char $ac_func ();
72347 /* The GNU C library defines this for functions which it implements
72348 to always fail with ENOSYS. Some functions are actually named
72349 something starting with __ and the normal name is an alias. */
72350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72351 choke me
72352 #else
72353 char (*f) () = $ac_func;
72354 #endif
72355 #ifdef __cplusplus
72357 #endif
72360 main ()
72362 return f != $ac_func;
72364 return 0;
72366 _ACEOF
72367 rm -f conftest.$ac_objext conftest$ac_exeext
72368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72369 (eval $ac_link) 2>conftest.er1
72370 ac_status=$?
72371 grep -v '^ *+' conftest.er1 >conftest.err
72372 rm -f conftest.er1
72373 cat conftest.err >&5
72374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72375 (exit $ac_status); } &&
72376 { ac_try='test -z "$ac_c_werror_flag"
72377 || test ! -s conftest.err'
72378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72379 (eval $ac_try) 2>&5
72380 ac_status=$?
72381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72382 (exit $ac_status); }; } &&
72383 { ac_try='test -s conftest$ac_exeext'
72384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72385 (eval $ac_try) 2>&5
72386 ac_status=$?
72387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72388 (exit $ac_status); }; }; then
72389 eval "$as_ac_var=yes"
72390 else
72391 echo "$as_me: failed program was:" >&5
72392 sed 's/^/| /' conftest.$ac_ext >&5
72394 eval "$as_ac_var=no"
72396 rm -f conftest.err conftest.$ac_objext \
72397 conftest$ac_exeext conftest.$ac_ext
72399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72401 if test `eval echo '${'$as_ac_var'}'` = yes; then
72402 cat >>confdefs.h <<_ACEOF
72403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72404 _ACEOF
72407 done
72409 else
72410 echo "$as_me:$LINENO: checking for _long double round functions" >&5
72411 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
72412 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
72413 echo $ECHO_N "(cached) $ECHO_C" >&6
72414 else
72418 ac_ext=cc
72419 ac_cpp='$CXXCPP $CPPFLAGS'
72420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72424 cat >conftest.$ac_ext <<_ACEOF
72425 /* confdefs.h. */
72426 _ACEOF
72427 cat confdefs.h >>conftest.$ac_ext
72428 cat >>conftest.$ac_ext <<_ACEOF
72429 /* end confdefs.h. */
72430 #include <math.h>
72432 main ()
72434 _ceill (0); _floorl (0);
72436 return 0;
72438 _ACEOF
72439 rm -f conftest.$ac_objext
72440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72441 (eval $ac_compile) 2>conftest.er1
72442 ac_status=$?
72443 grep -v '^ *+' conftest.er1 >conftest.err
72444 rm -f conftest.er1
72445 cat conftest.err >&5
72446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72447 (exit $ac_status); } &&
72448 { ac_try='test -z "$ac_cxx_werror_flag"
72449 || test ! -s conftest.err'
72450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72451 (eval $ac_try) 2>&5
72452 ac_status=$?
72453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72454 (exit $ac_status); }; } &&
72455 { ac_try='test -s conftest.$ac_objext'
72456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72457 (eval $ac_try) 2>&5
72458 ac_status=$?
72459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72460 (exit $ac_status); }; }; then
72461 glibcxx_cv_func__long_double_round_use=yes
72462 else
72463 echo "$as_me: failed program was:" >&5
72464 sed 's/^/| /' conftest.$ac_ext >&5
72466 glibcxx_cv_func__long_double_round_use=no
72468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72469 ac_ext=c
72470 ac_cpp='$CPP $CPPFLAGS'
72471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
72478 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
72479 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
72482 for ac_func in _ceill _floorl
72484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72485 echo "$as_me:$LINENO: checking for $ac_func" >&5
72486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72487 if eval "test \"\${$as_ac_var+set}\" = set"; then
72488 echo $ECHO_N "(cached) $ECHO_C" >&6
72489 else
72490 if test x$gcc_no_link = xyes; then
72491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72493 { (exit 1); exit 1; }; }
72495 cat >conftest.$ac_ext <<_ACEOF
72496 /* confdefs.h. */
72497 _ACEOF
72498 cat confdefs.h >>conftest.$ac_ext
72499 cat >>conftest.$ac_ext <<_ACEOF
72500 /* end confdefs.h. */
72501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72503 #define $ac_func innocuous_$ac_func
72505 /* System header to define __stub macros and hopefully few prototypes,
72506 which can conflict with char $ac_func (); below.
72507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72508 <limits.h> exists even on freestanding compilers. */
72510 #ifdef __STDC__
72511 # include <limits.h>
72512 #else
72513 # include <assert.h>
72514 #endif
72516 #undef $ac_func
72518 /* Override any gcc2 internal prototype to avoid an error. */
72519 #ifdef __cplusplus
72520 extern "C"
72522 #endif
72523 /* We use char because int might match the return type of a gcc2
72524 builtin and then its argument prototype would still apply. */
72525 char $ac_func ();
72526 /* The GNU C library defines this for functions which it implements
72527 to always fail with ENOSYS. Some functions are actually named
72528 something starting with __ and the normal name is an alias. */
72529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72530 choke me
72531 #else
72532 char (*f) () = $ac_func;
72533 #endif
72534 #ifdef __cplusplus
72536 #endif
72539 main ()
72541 return f != $ac_func;
72543 return 0;
72545 _ACEOF
72546 rm -f conftest.$ac_objext conftest$ac_exeext
72547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72548 (eval $ac_link) 2>conftest.er1
72549 ac_status=$?
72550 grep -v '^ *+' conftest.er1 >conftest.err
72551 rm -f conftest.er1
72552 cat conftest.err >&5
72553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72554 (exit $ac_status); } &&
72555 { ac_try='test -z "$ac_c_werror_flag"
72556 || test ! -s conftest.err'
72557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72558 (eval $ac_try) 2>&5
72559 ac_status=$?
72560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72561 (exit $ac_status); }; } &&
72562 { ac_try='test -s conftest$ac_exeext'
72563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72564 (eval $ac_try) 2>&5
72565 ac_status=$?
72566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72567 (exit $ac_status); }; }; then
72568 eval "$as_ac_var=yes"
72569 else
72570 echo "$as_me: failed program was:" >&5
72571 sed 's/^/| /' conftest.$ac_ext >&5
72573 eval "$as_ac_var=no"
72575 rm -f conftest.err conftest.$ac_objext \
72576 conftest$ac_exeext conftest.$ac_ext
72578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72580 if test `eval echo '${'$as_ac_var'}'` = yes; then
72581 cat >>confdefs.h <<_ACEOF
72582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72583 _ACEOF
72586 done
72598 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
72599 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
72600 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
72601 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
72602 echo $ECHO_N "(cached) $ECHO_C" >&6
72603 else
72607 ac_ext=cc
72608 ac_cpp='$CXXCPP $CPPFLAGS'
72609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72613 cat >conftest.$ac_ext <<_ACEOF
72614 /* confdefs.h. */
72615 _ACEOF
72616 cat confdefs.h >>conftest.$ac_ext
72617 cat >>conftest.$ac_ext <<_ACEOF
72618 /* end confdefs.h. */
72619 #include <math.h>
72620 #ifdef HAVE_IEEEFP_H
72621 #include <ieeefp.h>
72622 #endif
72625 main ()
72627 isnanl(0);
72629 return 0;
72631 _ACEOF
72632 rm -f conftest.$ac_objext
72633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72634 (eval $ac_compile) 2>conftest.er1
72635 ac_status=$?
72636 grep -v '^ *+' conftest.er1 >conftest.err
72637 rm -f conftest.er1
72638 cat conftest.err >&5
72639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72640 (exit $ac_status); } &&
72641 { ac_try='test -z "$ac_cxx_werror_flag"
72642 || test ! -s conftest.err'
72643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72644 (eval $ac_try) 2>&5
72645 ac_status=$?
72646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72647 (exit $ac_status); }; } &&
72648 { ac_try='test -s conftest.$ac_objext'
72649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72650 (eval $ac_try) 2>&5
72651 ac_status=$?
72652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72653 (exit $ac_status); }; }; then
72654 glibcxx_cv_func_isnanl_use=yes
72655 else
72656 echo "$as_me: failed program was:" >&5
72657 sed 's/^/| /' conftest.$ac_ext >&5
72659 glibcxx_cv_func_isnanl_use=no
72661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72662 ac_ext=c
72663 ac_cpp='$CPP $CPPFLAGS'
72664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72672 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
72673 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
72675 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
72677 for ac_func in isnanl
72679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72680 echo "$as_me:$LINENO: checking for $ac_func" >&5
72681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72682 if eval "test \"\${$as_ac_var+set}\" = set"; then
72683 echo $ECHO_N "(cached) $ECHO_C" >&6
72684 else
72685 if test x$gcc_no_link = xyes; then
72686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72688 { (exit 1); exit 1; }; }
72690 cat >conftest.$ac_ext <<_ACEOF
72691 /* confdefs.h. */
72692 _ACEOF
72693 cat confdefs.h >>conftest.$ac_ext
72694 cat >>conftest.$ac_ext <<_ACEOF
72695 /* end confdefs.h. */
72696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72698 #define $ac_func innocuous_$ac_func
72700 /* System header to define __stub macros and hopefully few prototypes,
72701 which can conflict with char $ac_func (); below.
72702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72703 <limits.h> exists even on freestanding compilers. */
72705 #ifdef __STDC__
72706 # include <limits.h>
72707 #else
72708 # include <assert.h>
72709 #endif
72711 #undef $ac_func
72713 /* Override any gcc2 internal prototype to avoid an error. */
72714 #ifdef __cplusplus
72715 extern "C"
72717 #endif
72718 /* We use char because int might match the return type of a gcc2
72719 builtin and then its argument prototype would still apply. */
72720 char $ac_func ();
72721 /* The GNU C library defines this for functions which it implements
72722 to always fail with ENOSYS. Some functions are actually named
72723 something starting with __ and the normal name is an alias. */
72724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72725 choke me
72726 #else
72727 char (*f) () = $ac_func;
72728 #endif
72729 #ifdef __cplusplus
72731 #endif
72734 main ()
72736 return f != $ac_func;
72738 return 0;
72740 _ACEOF
72741 rm -f conftest.$ac_objext conftest$ac_exeext
72742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72743 (eval $ac_link) 2>conftest.er1
72744 ac_status=$?
72745 grep -v '^ *+' conftest.er1 >conftest.err
72746 rm -f conftest.er1
72747 cat conftest.err >&5
72748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72749 (exit $ac_status); } &&
72750 { ac_try='test -z "$ac_c_werror_flag"
72751 || test ! -s conftest.err'
72752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72753 (eval $ac_try) 2>&5
72754 ac_status=$?
72755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72756 (exit $ac_status); }; } &&
72757 { ac_try='test -s conftest$ac_exeext'
72758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72759 (eval $ac_try) 2>&5
72760 ac_status=$?
72761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72762 (exit $ac_status); }; }; then
72763 eval "$as_ac_var=yes"
72764 else
72765 echo "$as_me: failed program was:" >&5
72766 sed 's/^/| /' conftest.$ac_ext >&5
72768 eval "$as_ac_var=no"
72770 rm -f conftest.err conftest.$ac_objext \
72771 conftest$ac_exeext conftest.$ac_ext
72773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72775 if test `eval echo '${'$as_ac_var'}'` = yes; then
72776 cat >>confdefs.h <<_ACEOF
72777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72778 _ACEOF
72781 done
72783 else
72785 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
72786 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
72787 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
72788 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
72789 echo $ECHO_N "(cached) $ECHO_C" >&6
72790 else
72794 ac_ext=cc
72795 ac_cpp='$CXXCPP $CPPFLAGS'
72796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72800 cat >conftest.$ac_ext <<_ACEOF
72801 /* confdefs.h. */
72802 _ACEOF
72803 cat confdefs.h >>conftest.$ac_ext
72804 cat >>conftest.$ac_ext <<_ACEOF
72805 /* end confdefs.h. */
72806 #include <math.h>
72807 #ifdef HAVE_IEEEFP_H
72808 #include <ieeefp.h>
72809 #endif
72812 main ()
72814 _isnanl(0);
72816 return 0;
72818 _ACEOF
72819 rm -f conftest.$ac_objext
72820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72821 (eval $ac_compile) 2>conftest.er1
72822 ac_status=$?
72823 grep -v '^ *+' conftest.er1 >conftest.err
72824 rm -f conftest.er1
72825 cat conftest.err >&5
72826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72827 (exit $ac_status); } &&
72828 { ac_try='test -z "$ac_cxx_werror_flag"
72829 || test ! -s conftest.err'
72830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72831 (eval $ac_try) 2>&5
72832 ac_status=$?
72833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72834 (exit $ac_status); }; } &&
72835 { ac_try='test -s conftest.$ac_objext'
72836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72837 (eval $ac_try) 2>&5
72838 ac_status=$?
72839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72840 (exit $ac_status); }; }; then
72841 glibcxx_cv_func__isnanl_use=yes
72842 else
72843 echo "$as_me: failed program was:" >&5
72844 sed 's/^/| /' conftest.$ac_ext >&5
72846 glibcxx_cv_func__isnanl_use=no
72848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72849 ac_ext=c
72850 ac_cpp='$CPP $CPPFLAGS'
72851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
72860 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
72862 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
72864 for ac_func in _isnanl
72866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72867 echo "$as_me:$LINENO: checking for $ac_func" >&5
72868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72869 if eval "test \"\${$as_ac_var+set}\" = set"; then
72870 echo $ECHO_N "(cached) $ECHO_C" >&6
72871 else
72872 if test x$gcc_no_link = xyes; then
72873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72875 { (exit 1); exit 1; }; }
72877 cat >conftest.$ac_ext <<_ACEOF
72878 /* confdefs.h. */
72879 _ACEOF
72880 cat confdefs.h >>conftest.$ac_ext
72881 cat >>conftest.$ac_ext <<_ACEOF
72882 /* end confdefs.h. */
72883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72885 #define $ac_func innocuous_$ac_func
72887 /* System header to define __stub macros and hopefully few prototypes,
72888 which can conflict with char $ac_func (); below.
72889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72890 <limits.h> exists even on freestanding compilers. */
72892 #ifdef __STDC__
72893 # include <limits.h>
72894 #else
72895 # include <assert.h>
72896 #endif
72898 #undef $ac_func
72900 /* Override any gcc2 internal prototype to avoid an error. */
72901 #ifdef __cplusplus
72902 extern "C"
72904 #endif
72905 /* We use char because int might match the return type of a gcc2
72906 builtin and then its argument prototype would still apply. */
72907 char $ac_func ();
72908 /* The GNU C library defines this for functions which it implements
72909 to always fail with ENOSYS. Some functions are actually named
72910 something starting with __ and the normal name is an alias. */
72911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72912 choke me
72913 #else
72914 char (*f) () = $ac_func;
72915 #endif
72916 #ifdef __cplusplus
72918 #endif
72921 main ()
72923 return f != $ac_func;
72925 return 0;
72927 _ACEOF
72928 rm -f conftest.$ac_objext conftest$ac_exeext
72929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72930 (eval $ac_link) 2>conftest.er1
72931 ac_status=$?
72932 grep -v '^ *+' conftest.er1 >conftest.err
72933 rm -f conftest.er1
72934 cat conftest.err >&5
72935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72936 (exit $ac_status); } &&
72937 { ac_try='test -z "$ac_c_werror_flag"
72938 || test ! -s conftest.err'
72939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72940 (eval $ac_try) 2>&5
72941 ac_status=$?
72942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72943 (exit $ac_status); }; } &&
72944 { ac_try='test -s conftest$ac_exeext'
72945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72946 (eval $ac_try) 2>&5
72947 ac_status=$?
72948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72949 (exit $ac_status); }; }; then
72950 eval "$as_ac_var=yes"
72951 else
72952 echo "$as_me: failed program was:" >&5
72953 sed 's/^/| /' conftest.$ac_ext >&5
72955 eval "$as_ac_var=no"
72957 rm -f conftest.err conftest.$ac_objext \
72958 conftest$ac_exeext conftest.$ac_ext
72960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72962 if test `eval echo '${'$as_ac_var'}'` = yes; then
72963 cat >>confdefs.h <<_ACEOF
72964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72965 _ACEOF
72968 done
72978 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
72979 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
72980 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
72981 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
72982 echo $ECHO_N "(cached) $ECHO_C" >&6
72983 else
72987 ac_ext=cc
72988 ac_cpp='$CXXCPP $CPPFLAGS'
72989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72993 cat >conftest.$ac_ext <<_ACEOF
72994 /* confdefs.h. */
72995 _ACEOF
72996 cat confdefs.h >>conftest.$ac_ext
72997 cat >>conftest.$ac_ext <<_ACEOF
72998 /* end confdefs.h. */
72999 #include <math.h>
73000 #ifdef HAVE_IEEEFP_H
73001 #include <ieeefp.h>
73002 #endif
73005 main ()
73007 isinfl(0);
73009 return 0;
73011 _ACEOF
73012 rm -f conftest.$ac_objext
73013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73014 (eval $ac_compile) 2>conftest.er1
73015 ac_status=$?
73016 grep -v '^ *+' conftest.er1 >conftest.err
73017 rm -f conftest.er1
73018 cat conftest.err >&5
73019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73020 (exit $ac_status); } &&
73021 { ac_try='test -z "$ac_cxx_werror_flag"
73022 || test ! -s conftest.err'
73023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73024 (eval $ac_try) 2>&5
73025 ac_status=$?
73026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73027 (exit $ac_status); }; } &&
73028 { ac_try='test -s conftest.$ac_objext'
73029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73030 (eval $ac_try) 2>&5
73031 ac_status=$?
73032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73033 (exit $ac_status); }; }; then
73034 glibcxx_cv_func_isinfl_use=yes
73035 else
73036 echo "$as_me: failed program was:" >&5
73037 sed 's/^/| /' conftest.$ac_ext >&5
73039 glibcxx_cv_func_isinfl_use=no
73041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73042 ac_ext=c
73043 ac_cpp='$CPP $CPPFLAGS'
73044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
73053 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
73055 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
73057 for ac_func in isinfl
73059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73060 echo "$as_me:$LINENO: checking for $ac_func" >&5
73061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73062 if eval "test \"\${$as_ac_var+set}\" = set"; then
73063 echo $ECHO_N "(cached) $ECHO_C" >&6
73064 else
73065 if test x$gcc_no_link = xyes; then
73066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73068 { (exit 1); exit 1; }; }
73070 cat >conftest.$ac_ext <<_ACEOF
73071 /* confdefs.h. */
73072 _ACEOF
73073 cat confdefs.h >>conftest.$ac_ext
73074 cat >>conftest.$ac_ext <<_ACEOF
73075 /* end confdefs.h. */
73076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73078 #define $ac_func innocuous_$ac_func
73080 /* System header to define __stub macros and hopefully few prototypes,
73081 which can conflict with char $ac_func (); below.
73082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73083 <limits.h> exists even on freestanding compilers. */
73085 #ifdef __STDC__
73086 # include <limits.h>
73087 #else
73088 # include <assert.h>
73089 #endif
73091 #undef $ac_func
73093 /* Override any gcc2 internal prototype to avoid an error. */
73094 #ifdef __cplusplus
73095 extern "C"
73097 #endif
73098 /* We use char because int might match the return type of a gcc2
73099 builtin and then its argument prototype would still apply. */
73100 char $ac_func ();
73101 /* The GNU C library defines this for functions which it implements
73102 to always fail with ENOSYS. Some functions are actually named
73103 something starting with __ and the normal name is an alias. */
73104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73105 choke me
73106 #else
73107 char (*f) () = $ac_func;
73108 #endif
73109 #ifdef __cplusplus
73111 #endif
73114 main ()
73116 return f != $ac_func;
73118 return 0;
73120 _ACEOF
73121 rm -f conftest.$ac_objext conftest$ac_exeext
73122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73123 (eval $ac_link) 2>conftest.er1
73124 ac_status=$?
73125 grep -v '^ *+' conftest.er1 >conftest.err
73126 rm -f conftest.er1
73127 cat conftest.err >&5
73128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73129 (exit $ac_status); } &&
73130 { ac_try='test -z "$ac_c_werror_flag"
73131 || test ! -s conftest.err'
73132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73133 (eval $ac_try) 2>&5
73134 ac_status=$?
73135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73136 (exit $ac_status); }; } &&
73137 { ac_try='test -s conftest$ac_exeext'
73138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73139 (eval $ac_try) 2>&5
73140 ac_status=$?
73141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73142 (exit $ac_status); }; }; then
73143 eval "$as_ac_var=yes"
73144 else
73145 echo "$as_me: failed program was:" >&5
73146 sed 's/^/| /' conftest.$ac_ext >&5
73148 eval "$as_ac_var=no"
73150 rm -f conftest.err conftest.$ac_objext \
73151 conftest$ac_exeext conftest.$ac_ext
73153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73155 if test `eval echo '${'$as_ac_var'}'` = yes; then
73156 cat >>confdefs.h <<_ACEOF
73157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73158 _ACEOF
73161 done
73163 else
73165 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
73166 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
73167 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
73168 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
73169 echo $ECHO_N "(cached) $ECHO_C" >&6
73170 else
73174 ac_ext=cc
73175 ac_cpp='$CXXCPP $CPPFLAGS'
73176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73180 cat >conftest.$ac_ext <<_ACEOF
73181 /* confdefs.h. */
73182 _ACEOF
73183 cat confdefs.h >>conftest.$ac_ext
73184 cat >>conftest.$ac_ext <<_ACEOF
73185 /* end confdefs.h. */
73186 #include <math.h>
73187 #ifdef HAVE_IEEEFP_H
73188 #include <ieeefp.h>
73189 #endif
73192 main ()
73194 _isinfl(0);
73196 return 0;
73198 _ACEOF
73199 rm -f conftest.$ac_objext
73200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73201 (eval $ac_compile) 2>conftest.er1
73202 ac_status=$?
73203 grep -v '^ *+' conftest.er1 >conftest.err
73204 rm -f conftest.er1
73205 cat conftest.err >&5
73206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73207 (exit $ac_status); } &&
73208 { ac_try='test -z "$ac_cxx_werror_flag"
73209 || test ! -s conftest.err'
73210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73211 (eval $ac_try) 2>&5
73212 ac_status=$?
73213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73214 (exit $ac_status); }; } &&
73215 { ac_try='test -s conftest.$ac_objext'
73216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73217 (eval $ac_try) 2>&5
73218 ac_status=$?
73219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73220 (exit $ac_status); }; }; then
73221 glibcxx_cv_func__isinfl_use=yes
73222 else
73223 echo "$as_me: failed program was:" >&5
73224 sed 's/^/| /' conftest.$ac_ext >&5
73226 glibcxx_cv_func__isinfl_use=no
73228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73229 ac_ext=c
73230 ac_cpp='$CPP $CPPFLAGS'
73231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
73240 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
73242 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
73244 for ac_func in _isinfl
73246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73247 echo "$as_me:$LINENO: checking for $ac_func" >&5
73248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73249 if eval "test \"\${$as_ac_var+set}\" = set"; then
73250 echo $ECHO_N "(cached) $ECHO_C" >&6
73251 else
73252 if test x$gcc_no_link = xyes; then
73253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73255 { (exit 1); exit 1; }; }
73257 cat >conftest.$ac_ext <<_ACEOF
73258 /* confdefs.h. */
73259 _ACEOF
73260 cat confdefs.h >>conftest.$ac_ext
73261 cat >>conftest.$ac_ext <<_ACEOF
73262 /* end confdefs.h. */
73263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73265 #define $ac_func innocuous_$ac_func
73267 /* System header to define __stub macros and hopefully few prototypes,
73268 which can conflict with char $ac_func (); below.
73269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73270 <limits.h> exists even on freestanding compilers. */
73272 #ifdef __STDC__
73273 # include <limits.h>
73274 #else
73275 # include <assert.h>
73276 #endif
73278 #undef $ac_func
73280 /* Override any gcc2 internal prototype to avoid an error. */
73281 #ifdef __cplusplus
73282 extern "C"
73284 #endif
73285 /* We use char because int might match the return type of a gcc2
73286 builtin and then its argument prototype would still apply. */
73287 char $ac_func ();
73288 /* The GNU C library defines this for functions which it implements
73289 to always fail with ENOSYS. Some functions are actually named
73290 something starting with __ and the normal name is an alias. */
73291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73292 choke me
73293 #else
73294 char (*f) () = $ac_func;
73295 #endif
73296 #ifdef __cplusplus
73298 #endif
73301 main ()
73303 return f != $ac_func;
73305 return 0;
73307 _ACEOF
73308 rm -f conftest.$ac_objext conftest$ac_exeext
73309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73310 (eval $ac_link) 2>conftest.er1
73311 ac_status=$?
73312 grep -v '^ *+' conftest.er1 >conftest.err
73313 rm -f conftest.er1
73314 cat conftest.err >&5
73315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73316 (exit $ac_status); } &&
73317 { ac_try='test -z "$ac_c_werror_flag"
73318 || test ! -s conftest.err'
73319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73320 (eval $ac_try) 2>&5
73321 ac_status=$?
73322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73323 (exit $ac_status); }; } &&
73324 { ac_try='test -s conftest$ac_exeext'
73325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73326 (eval $ac_try) 2>&5
73327 ac_status=$?
73328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73329 (exit $ac_status); }; }; then
73330 eval "$as_ac_var=yes"
73331 else
73332 echo "$as_me: failed program was:" >&5
73333 sed 's/^/| /' conftest.$ac_ext >&5
73335 eval "$as_ac_var=no"
73337 rm -f conftest.err conftest.$ac_objext \
73338 conftest$ac_exeext conftest.$ac_ext
73340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73342 if test `eval echo '${'$as_ac_var'}'` = yes; then
73343 cat >>confdefs.h <<_ACEOF
73344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73345 _ACEOF
73348 done
73358 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
73359 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
73360 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
73361 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
73362 echo $ECHO_N "(cached) $ECHO_C" >&6
73363 else
73367 ac_ext=cc
73368 ac_cpp='$CXXCPP $CPPFLAGS'
73369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
73381 main ()
73383 copysignl(0, 0);
73385 return 0;
73387 _ACEOF
73388 rm -f conftest.$ac_objext
73389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73390 (eval $ac_compile) 2>conftest.er1
73391 ac_status=$?
73392 grep -v '^ *+' conftest.er1 >conftest.err
73393 rm -f conftest.er1
73394 cat conftest.err >&5
73395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73396 (exit $ac_status); } &&
73397 { ac_try='test -z "$ac_cxx_werror_flag"
73398 || test ! -s conftest.err'
73399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73400 (eval $ac_try) 2>&5
73401 ac_status=$?
73402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73403 (exit $ac_status); }; } &&
73404 { ac_try='test -s conftest.$ac_objext'
73405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73406 (eval $ac_try) 2>&5
73407 ac_status=$?
73408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73409 (exit $ac_status); }; }; then
73410 glibcxx_cv_func_copysignl_use=yes
73411 else
73412 echo "$as_me: failed program was:" >&5
73413 sed 's/^/| /' conftest.$ac_ext >&5
73415 glibcxx_cv_func_copysignl_use=no
73417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73418 ac_ext=c
73419 ac_cpp='$CPP $CPPFLAGS'
73420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
73429 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
73431 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
73433 for ac_func in copysignl
73435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73436 echo "$as_me:$LINENO: checking for $ac_func" >&5
73437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73438 if eval "test \"\${$as_ac_var+set}\" = set"; then
73439 echo $ECHO_N "(cached) $ECHO_C" >&6
73440 else
73441 if test x$gcc_no_link = xyes; then
73442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73444 { (exit 1); exit 1; }; }
73446 cat >conftest.$ac_ext <<_ACEOF
73447 /* confdefs.h. */
73448 _ACEOF
73449 cat confdefs.h >>conftest.$ac_ext
73450 cat >>conftest.$ac_ext <<_ACEOF
73451 /* end confdefs.h. */
73452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73454 #define $ac_func innocuous_$ac_func
73456 /* System header to define __stub macros and hopefully few prototypes,
73457 which can conflict with char $ac_func (); below.
73458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73459 <limits.h> exists even on freestanding compilers. */
73461 #ifdef __STDC__
73462 # include <limits.h>
73463 #else
73464 # include <assert.h>
73465 #endif
73467 #undef $ac_func
73469 /* Override any gcc2 internal prototype to avoid an error. */
73470 #ifdef __cplusplus
73471 extern "C"
73473 #endif
73474 /* We use char because int might match the return type of a gcc2
73475 builtin and then its argument prototype would still apply. */
73476 char $ac_func ();
73477 /* The GNU C library defines this for functions which it implements
73478 to always fail with ENOSYS. Some functions are actually named
73479 something starting with __ and the normal name is an alias. */
73480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73481 choke me
73482 #else
73483 char (*f) () = $ac_func;
73484 #endif
73485 #ifdef __cplusplus
73487 #endif
73490 main ()
73492 return f != $ac_func;
73494 return 0;
73496 _ACEOF
73497 rm -f conftest.$ac_objext conftest$ac_exeext
73498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73499 (eval $ac_link) 2>conftest.er1
73500 ac_status=$?
73501 grep -v '^ *+' conftest.er1 >conftest.err
73502 rm -f conftest.er1
73503 cat conftest.err >&5
73504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73505 (exit $ac_status); } &&
73506 { ac_try='test -z "$ac_c_werror_flag"
73507 || test ! -s conftest.err'
73508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73509 (eval $ac_try) 2>&5
73510 ac_status=$?
73511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73512 (exit $ac_status); }; } &&
73513 { ac_try='test -s conftest$ac_exeext'
73514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73515 (eval $ac_try) 2>&5
73516 ac_status=$?
73517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73518 (exit $ac_status); }; }; then
73519 eval "$as_ac_var=yes"
73520 else
73521 echo "$as_me: failed program was:" >&5
73522 sed 's/^/| /' conftest.$ac_ext >&5
73524 eval "$as_ac_var=no"
73526 rm -f conftest.err conftest.$ac_objext \
73527 conftest$ac_exeext conftest.$ac_ext
73529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73531 if test `eval echo '${'$as_ac_var'}'` = yes; then
73532 cat >>confdefs.h <<_ACEOF
73533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73534 _ACEOF
73537 done
73539 else
73541 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
73542 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
73543 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
73544 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
73545 echo $ECHO_N "(cached) $ECHO_C" >&6
73546 else
73550 ac_ext=cc
73551 ac_cpp='$CXXCPP $CPPFLAGS'
73552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
73564 main ()
73566 _copysignl(0, 0);
73568 return 0;
73570 _ACEOF
73571 rm -f conftest.$ac_objext
73572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73573 (eval $ac_compile) 2>conftest.er1
73574 ac_status=$?
73575 grep -v '^ *+' conftest.er1 >conftest.err
73576 rm -f conftest.er1
73577 cat conftest.err >&5
73578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73579 (exit $ac_status); } &&
73580 { ac_try='test -z "$ac_cxx_werror_flag"
73581 || test ! -s conftest.err'
73582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73583 (eval $ac_try) 2>&5
73584 ac_status=$?
73585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73586 (exit $ac_status); }; } &&
73587 { ac_try='test -s conftest.$ac_objext'
73588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73589 (eval $ac_try) 2>&5
73590 ac_status=$?
73591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73592 (exit $ac_status); }; }; then
73593 glibcxx_cv_func__copysignl_use=yes
73594 else
73595 echo "$as_me: failed program was:" >&5
73596 sed 's/^/| /' conftest.$ac_ext >&5
73598 glibcxx_cv_func__copysignl_use=no
73600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73601 ac_ext=c
73602 ac_cpp='$CPP $CPPFLAGS'
73603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
73612 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
73614 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
73616 for ac_func in _copysignl
73618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73619 echo "$as_me:$LINENO: checking for $ac_func" >&5
73620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73621 if eval "test \"\${$as_ac_var+set}\" = set"; then
73622 echo $ECHO_N "(cached) $ECHO_C" >&6
73623 else
73624 if test x$gcc_no_link = xyes; then
73625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73627 { (exit 1); exit 1; }; }
73629 cat >conftest.$ac_ext <<_ACEOF
73630 /* confdefs.h. */
73631 _ACEOF
73632 cat confdefs.h >>conftest.$ac_ext
73633 cat >>conftest.$ac_ext <<_ACEOF
73634 /* end confdefs.h. */
73635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73637 #define $ac_func innocuous_$ac_func
73639 /* System header to define __stub macros and hopefully few prototypes,
73640 which can conflict with char $ac_func (); below.
73641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73642 <limits.h> exists even on freestanding compilers. */
73644 #ifdef __STDC__
73645 # include <limits.h>
73646 #else
73647 # include <assert.h>
73648 #endif
73650 #undef $ac_func
73652 /* Override any gcc2 internal prototype to avoid an error. */
73653 #ifdef __cplusplus
73654 extern "C"
73656 #endif
73657 /* We use char because int might match the return type of a gcc2
73658 builtin and then its argument prototype would still apply. */
73659 char $ac_func ();
73660 /* The GNU C library defines this for functions which it implements
73661 to always fail with ENOSYS. Some functions are actually named
73662 something starting with __ and the normal name is an alias. */
73663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73664 choke me
73665 #else
73666 char (*f) () = $ac_func;
73667 #endif
73668 #ifdef __cplusplus
73670 #endif
73673 main ()
73675 return f != $ac_func;
73677 return 0;
73679 _ACEOF
73680 rm -f conftest.$ac_objext conftest$ac_exeext
73681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73682 (eval $ac_link) 2>conftest.er1
73683 ac_status=$?
73684 grep -v '^ *+' conftest.er1 >conftest.err
73685 rm -f conftest.er1
73686 cat conftest.err >&5
73687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73688 (exit $ac_status); } &&
73689 { ac_try='test -z "$ac_c_werror_flag"
73690 || test ! -s conftest.err'
73691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73692 (eval $ac_try) 2>&5
73693 ac_status=$?
73694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73695 (exit $ac_status); }; } &&
73696 { ac_try='test -s conftest$ac_exeext'
73697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73698 (eval $ac_try) 2>&5
73699 ac_status=$?
73700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73701 (exit $ac_status); }; }; then
73702 eval "$as_ac_var=yes"
73703 else
73704 echo "$as_me: failed program was:" >&5
73705 sed 's/^/| /' conftest.$ac_ext >&5
73707 eval "$as_ac_var=no"
73709 rm -f conftest.err conftest.$ac_objext \
73710 conftest$ac_exeext conftest.$ac_ext
73712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73714 if test `eval echo '${'$as_ac_var'}'` = yes; then
73715 cat >>confdefs.h <<_ACEOF
73716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73717 _ACEOF
73720 done
73730 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
73731 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
73732 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
73733 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
73734 echo $ECHO_N "(cached) $ECHO_C" >&6
73735 else
73739 ac_ext=cc
73740 ac_cpp='$CXXCPP $CPPFLAGS'
73741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
73753 main ()
73755 atan2l(0, 0);
73757 return 0;
73759 _ACEOF
73760 rm -f conftest.$ac_objext
73761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73762 (eval $ac_compile) 2>conftest.er1
73763 ac_status=$?
73764 grep -v '^ *+' conftest.er1 >conftest.err
73765 rm -f conftest.er1
73766 cat conftest.err >&5
73767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73768 (exit $ac_status); } &&
73769 { ac_try='test -z "$ac_cxx_werror_flag"
73770 || test ! -s conftest.err'
73771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73772 (eval $ac_try) 2>&5
73773 ac_status=$?
73774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73775 (exit $ac_status); }; } &&
73776 { ac_try='test -s conftest.$ac_objext'
73777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73778 (eval $ac_try) 2>&5
73779 ac_status=$?
73780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73781 (exit $ac_status); }; }; then
73782 glibcxx_cv_func_atan2l_use=yes
73783 else
73784 echo "$as_me: failed program was:" >&5
73785 sed 's/^/| /' conftest.$ac_ext >&5
73787 glibcxx_cv_func_atan2l_use=no
73789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73790 ac_ext=c
73791 ac_cpp='$CPP $CPPFLAGS'
73792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73800 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
73801 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
73803 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
73805 for ac_func in atan2l
73807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73808 echo "$as_me:$LINENO: checking for $ac_func" >&5
73809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73810 if eval "test \"\${$as_ac_var+set}\" = set"; then
73811 echo $ECHO_N "(cached) $ECHO_C" >&6
73812 else
73813 if test x$gcc_no_link = xyes; then
73814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73816 { (exit 1); exit 1; }; }
73818 cat >conftest.$ac_ext <<_ACEOF
73819 /* confdefs.h. */
73820 _ACEOF
73821 cat confdefs.h >>conftest.$ac_ext
73822 cat >>conftest.$ac_ext <<_ACEOF
73823 /* end confdefs.h. */
73824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73826 #define $ac_func innocuous_$ac_func
73828 /* System header to define __stub macros and hopefully few prototypes,
73829 which can conflict with char $ac_func (); below.
73830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73831 <limits.h> exists even on freestanding compilers. */
73833 #ifdef __STDC__
73834 # include <limits.h>
73835 #else
73836 # include <assert.h>
73837 #endif
73839 #undef $ac_func
73841 /* Override any gcc2 internal prototype to avoid an error. */
73842 #ifdef __cplusplus
73843 extern "C"
73845 #endif
73846 /* We use char because int might match the return type of a gcc2
73847 builtin and then its argument prototype would still apply. */
73848 char $ac_func ();
73849 /* The GNU C library defines this for functions which it implements
73850 to always fail with ENOSYS. Some functions are actually named
73851 something starting with __ and the normal name is an alias. */
73852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73853 choke me
73854 #else
73855 char (*f) () = $ac_func;
73856 #endif
73857 #ifdef __cplusplus
73859 #endif
73862 main ()
73864 return f != $ac_func;
73866 return 0;
73868 _ACEOF
73869 rm -f conftest.$ac_objext conftest$ac_exeext
73870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73871 (eval $ac_link) 2>conftest.er1
73872 ac_status=$?
73873 grep -v '^ *+' conftest.er1 >conftest.err
73874 rm -f conftest.er1
73875 cat conftest.err >&5
73876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73877 (exit $ac_status); } &&
73878 { ac_try='test -z "$ac_c_werror_flag"
73879 || test ! -s conftest.err'
73880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73881 (eval $ac_try) 2>&5
73882 ac_status=$?
73883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73884 (exit $ac_status); }; } &&
73885 { ac_try='test -s conftest$ac_exeext'
73886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73887 (eval $ac_try) 2>&5
73888 ac_status=$?
73889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73890 (exit $ac_status); }; }; then
73891 eval "$as_ac_var=yes"
73892 else
73893 echo "$as_me: failed program was:" >&5
73894 sed 's/^/| /' conftest.$ac_ext >&5
73896 eval "$as_ac_var=no"
73898 rm -f conftest.err conftest.$ac_objext \
73899 conftest$ac_exeext conftest.$ac_ext
73901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73903 if test `eval echo '${'$as_ac_var'}'` = yes; then
73904 cat >>confdefs.h <<_ACEOF
73905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73906 _ACEOF
73909 done
73911 else
73913 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
73914 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
73915 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
73916 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
73917 echo $ECHO_N "(cached) $ECHO_C" >&6
73918 else
73922 ac_ext=cc
73923 ac_cpp='$CXXCPP $CPPFLAGS'
73924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
73936 main ()
73938 _atan2l(0, 0);
73940 return 0;
73942 _ACEOF
73943 rm -f conftest.$ac_objext
73944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73945 (eval $ac_compile) 2>conftest.er1
73946 ac_status=$?
73947 grep -v '^ *+' conftest.er1 >conftest.err
73948 rm -f conftest.er1
73949 cat conftest.err >&5
73950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73951 (exit $ac_status); } &&
73952 { ac_try='test -z "$ac_cxx_werror_flag"
73953 || test ! -s conftest.err'
73954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73955 (eval $ac_try) 2>&5
73956 ac_status=$?
73957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73958 (exit $ac_status); }; } &&
73959 { ac_try='test -s conftest.$ac_objext'
73960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73961 (eval $ac_try) 2>&5
73962 ac_status=$?
73963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73964 (exit $ac_status); }; }; then
73965 glibcxx_cv_func__atan2l_use=yes
73966 else
73967 echo "$as_me: failed program was:" >&5
73968 sed 's/^/| /' conftest.$ac_ext >&5
73970 glibcxx_cv_func__atan2l_use=no
73972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73973 ac_ext=c
73974 ac_cpp='$CPP $CPPFLAGS'
73975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73983 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
73984 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
73986 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
73988 for ac_func in _atan2l
73990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73991 echo "$as_me:$LINENO: checking for $ac_func" >&5
73992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73993 if eval "test \"\${$as_ac_var+set}\" = set"; then
73994 echo $ECHO_N "(cached) $ECHO_C" >&6
73995 else
73996 if test x$gcc_no_link = xyes; then
73997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73999 { (exit 1); exit 1; }; }
74001 cat >conftest.$ac_ext <<_ACEOF
74002 /* confdefs.h. */
74003 _ACEOF
74004 cat confdefs.h >>conftest.$ac_ext
74005 cat >>conftest.$ac_ext <<_ACEOF
74006 /* end confdefs.h. */
74007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74009 #define $ac_func innocuous_$ac_func
74011 /* System header to define __stub macros and hopefully few prototypes,
74012 which can conflict with char $ac_func (); below.
74013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74014 <limits.h> exists even on freestanding compilers. */
74016 #ifdef __STDC__
74017 # include <limits.h>
74018 #else
74019 # include <assert.h>
74020 #endif
74022 #undef $ac_func
74024 /* Override any gcc2 internal prototype to avoid an error. */
74025 #ifdef __cplusplus
74026 extern "C"
74028 #endif
74029 /* We use char because int might match the return type of a gcc2
74030 builtin and then its argument prototype would still apply. */
74031 char $ac_func ();
74032 /* The GNU C library defines this for functions which it implements
74033 to always fail with ENOSYS. Some functions are actually named
74034 something starting with __ and the normal name is an alias. */
74035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74036 choke me
74037 #else
74038 char (*f) () = $ac_func;
74039 #endif
74040 #ifdef __cplusplus
74042 #endif
74045 main ()
74047 return f != $ac_func;
74049 return 0;
74051 _ACEOF
74052 rm -f conftest.$ac_objext conftest$ac_exeext
74053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74054 (eval $ac_link) 2>conftest.er1
74055 ac_status=$?
74056 grep -v '^ *+' conftest.er1 >conftest.err
74057 rm -f conftest.er1
74058 cat conftest.err >&5
74059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74060 (exit $ac_status); } &&
74061 { ac_try='test -z "$ac_c_werror_flag"
74062 || test ! -s conftest.err'
74063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74064 (eval $ac_try) 2>&5
74065 ac_status=$?
74066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74067 (exit $ac_status); }; } &&
74068 { ac_try='test -s conftest$ac_exeext'
74069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74070 (eval $ac_try) 2>&5
74071 ac_status=$?
74072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74073 (exit $ac_status); }; }; then
74074 eval "$as_ac_var=yes"
74075 else
74076 echo "$as_me: failed program was:" >&5
74077 sed 's/^/| /' conftest.$ac_ext >&5
74079 eval "$as_ac_var=no"
74081 rm -f conftest.err conftest.$ac_objext \
74082 conftest$ac_exeext conftest.$ac_ext
74084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74086 if test `eval echo '${'$as_ac_var'}'` = yes; then
74087 cat >>confdefs.h <<_ACEOF
74088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74089 _ACEOF
74092 done
74102 echo "$as_me:$LINENO: checking for expl declaration" >&5
74103 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
74104 if test x${glibcxx_cv_func_expl_use+set} != xset; then
74105 if test "${glibcxx_cv_func_expl_use+set}" = set; then
74106 echo $ECHO_N "(cached) $ECHO_C" >&6
74107 else
74111 ac_ext=cc
74112 ac_cpp='$CXXCPP $CPPFLAGS'
74113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74117 cat >conftest.$ac_ext <<_ACEOF
74118 /* confdefs.h. */
74119 _ACEOF
74120 cat confdefs.h >>conftest.$ac_ext
74121 cat >>conftest.$ac_ext <<_ACEOF
74122 /* end confdefs.h. */
74123 #include <math.h>
74124 #ifdef HAVE_IEEEFP_H
74125 #include <ieeefp.h>
74126 #endif
74129 main ()
74131 expl(0);
74133 return 0;
74135 _ACEOF
74136 rm -f conftest.$ac_objext
74137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74138 (eval $ac_compile) 2>conftest.er1
74139 ac_status=$?
74140 grep -v '^ *+' conftest.er1 >conftest.err
74141 rm -f conftest.er1
74142 cat conftest.err >&5
74143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74144 (exit $ac_status); } &&
74145 { ac_try='test -z "$ac_cxx_werror_flag"
74146 || test ! -s conftest.err'
74147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74148 (eval $ac_try) 2>&5
74149 ac_status=$?
74150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74151 (exit $ac_status); }; } &&
74152 { ac_try='test -s conftest.$ac_objext'
74153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74154 (eval $ac_try) 2>&5
74155 ac_status=$?
74156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74157 (exit $ac_status); }; }; then
74158 glibcxx_cv_func_expl_use=yes
74159 else
74160 echo "$as_me: failed program was:" >&5
74161 sed 's/^/| /' conftest.$ac_ext >&5
74163 glibcxx_cv_func_expl_use=no
74165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74166 ac_ext=c
74167 ac_cpp='$CPP $CPPFLAGS'
74168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
74177 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
74179 if test x$glibcxx_cv_func_expl_use = x"yes"; then
74181 for ac_func in expl
74183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74184 echo "$as_me:$LINENO: checking for $ac_func" >&5
74185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74186 if eval "test \"\${$as_ac_var+set}\" = set"; then
74187 echo $ECHO_N "(cached) $ECHO_C" >&6
74188 else
74189 if test x$gcc_no_link = xyes; then
74190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74192 { (exit 1); exit 1; }; }
74194 cat >conftest.$ac_ext <<_ACEOF
74195 /* confdefs.h. */
74196 _ACEOF
74197 cat confdefs.h >>conftest.$ac_ext
74198 cat >>conftest.$ac_ext <<_ACEOF
74199 /* end confdefs.h. */
74200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74202 #define $ac_func innocuous_$ac_func
74204 /* System header to define __stub macros and hopefully few prototypes,
74205 which can conflict with char $ac_func (); below.
74206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74207 <limits.h> exists even on freestanding compilers. */
74209 #ifdef __STDC__
74210 # include <limits.h>
74211 #else
74212 # include <assert.h>
74213 #endif
74215 #undef $ac_func
74217 /* Override any gcc2 internal prototype to avoid an error. */
74218 #ifdef __cplusplus
74219 extern "C"
74221 #endif
74222 /* We use char because int might match the return type of a gcc2
74223 builtin and then its argument prototype would still apply. */
74224 char $ac_func ();
74225 /* The GNU C library defines this for functions which it implements
74226 to always fail with ENOSYS. Some functions are actually named
74227 something starting with __ and the normal name is an alias. */
74228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74229 choke me
74230 #else
74231 char (*f) () = $ac_func;
74232 #endif
74233 #ifdef __cplusplus
74235 #endif
74238 main ()
74240 return f != $ac_func;
74242 return 0;
74244 _ACEOF
74245 rm -f conftest.$ac_objext conftest$ac_exeext
74246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74247 (eval $ac_link) 2>conftest.er1
74248 ac_status=$?
74249 grep -v '^ *+' conftest.er1 >conftest.err
74250 rm -f conftest.er1
74251 cat conftest.err >&5
74252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74253 (exit $ac_status); } &&
74254 { ac_try='test -z "$ac_c_werror_flag"
74255 || test ! -s conftest.err'
74256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74257 (eval $ac_try) 2>&5
74258 ac_status=$?
74259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74260 (exit $ac_status); }; } &&
74261 { ac_try='test -s conftest$ac_exeext'
74262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74263 (eval $ac_try) 2>&5
74264 ac_status=$?
74265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74266 (exit $ac_status); }; }; then
74267 eval "$as_ac_var=yes"
74268 else
74269 echo "$as_me: failed program was:" >&5
74270 sed 's/^/| /' conftest.$ac_ext >&5
74272 eval "$as_ac_var=no"
74274 rm -f conftest.err conftest.$ac_objext \
74275 conftest$ac_exeext conftest.$ac_ext
74277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74279 if test `eval echo '${'$as_ac_var'}'` = yes; then
74280 cat >>confdefs.h <<_ACEOF
74281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74282 _ACEOF
74285 done
74287 else
74289 echo "$as_me:$LINENO: checking for _expl declaration" >&5
74290 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
74291 if test x${glibcxx_cv_func__expl_use+set} != xset; then
74292 if test "${glibcxx_cv_func__expl_use+set}" = set; then
74293 echo $ECHO_N "(cached) $ECHO_C" >&6
74294 else
74298 ac_ext=cc
74299 ac_cpp='$CXXCPP $CPPFLAGS'
74300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74304 cat >conftest.$ac_ext <<_ACEOF
74305 /* confdefs.h. */
74306 _ACEOF
74307 cat confdefs.h >>conftest.$ac_ext
74308 cat >>conftest.$ac_ext <<_ACEOF
74309 /* end confdefs.h. */
74310 #include <math.h>
74311 #ifdef HAVE_IEEEFP_H
74312 #include <ieeefp.h>
74313 #endif
74316 main ()
74318 _expl(0);
74320 return 0;
74322 _ACEOF
74323 rm -f conftest.$ac_objext
74324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74325 (eval $ac_compile) 2>conftest.er1
74326 ac_status=$?
74327 grep -v '^ *+' conftest.er1 >conftest.err
74328 rm -f conftest.er1
74329 cat conftest.err >&5
74330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74331 (exit $ac_status); } &&
74332 { ac_try='test -z "$ac_cxx_werror_flag"
74333 || test ! -s conftest.err'
74334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74335 (eval $ac_try) 2>&5
74336 ac_status=$?
74337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74338 (exit $ac_status); }; } &&
74339 { ac_try='test -s conftest.$ac_objext'
74340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74341 (eval $ac_try) 2>&5
74342 ac_status=$?
74343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74344 (exit $ac_status); }; }; then
74345 glibcxx_cv_func__expl_use=yes
74346 else
74347 echo "$as_me: failed program was:" >&5
74348 sed 's/^/| /' conftest.$ac_ext >&5
74350 glibcxx_cv_func__expl_use=no
74352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74353 ac_ext=c
74354 ac_cpp='$CPP $CPPFLAGS'
74355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
74364 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
74366 if test x$glibcxx_cv_func__expl_use = x"yes"; then
74368 for ac_func in _expl
74370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74371 echo "$as_me:$LINENO: checking for $ac_func" >&5
74372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74373 if eval "test \"\${$as_ac_var+set}\" = set"; then
74374 echo $ECHO_N "(cached) $ECHO_C" >&6
74375 else
74376 if test x$gcc_no_link = xyes; then
74377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74379 { (exit 1); exit 1; }; }
74381 cat >conftest.$ac_ext <<_ACEOF
74382 /* confdefs.h. */
74383 _ACEOF
74384 cat confdefs.h >>conftest.$ac_ext
74385 cat >>conftest.$ac_ext <<_ACEOF
74386 /* end confdefs.h. */
74387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74389 #define $ac_func innocuous_$ac_func
74391 /* System header to define __stub macros and hopefully few prototypes,
74392 which can conflict with char $ac_func (); below.
74393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74394 <limits.h> exists even on freestanding compilers. */
74396 #ifdef __STDC__
74397 # include <limits.h>
74398 #else
74399 # include <assert.h>
74400 #endif
74402 #undef $ac_func
74404 /* Override any gcc2 internal prototype to avoid an error. */
74405 #ifdef __cplusplus
74406 extern "C"
74408 #endif
74409 /* We use char because int might match the return type of a gcc2
74410 builtin and then its argument prototype would still apply. */
74411 char $ac_func ();
74412 /* The GNU C library defines this for functions which it implements
74413 to always fail with ENOSYS. Some functions are actually named
74414 something starting with __ and the normal name is an alias. */
74415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74416 choke me
74417 #else
74418 char (*f) () = $ac_func;
74419 #endif
74420 #ifdef __cplusplus
74422 #endif
74425 main ()
74427 return f != $ac_func;
74429 return 0;
74431 _ACEOF
74432 rm -f conftest.$ac_objext conftest$ac_exeext
74433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74434 (eval $ac_link) 2>conftest.er1
74435 ac_status=$?
74436 grep -v '^ *+' conftest.er1 >conftest.err
74437 rm -f conftest.er1
74438 cat conftest.err >&5
74439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74440 (exit $ac_status); } &&
74441 { ac_try='test -z "$ac_c_werror_flag"
74442 || test ! -s conftest.err'
74443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74444 (eval $ac_try) 2>&5
74445 ac_status=$?
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); }; } &&
74448 { ac_try='test -s conftest$ac_exeext'
74449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74450 (eval $ac_try) 2>&5
74451 ac_status=$?
74452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74453 (exit $ac_status); }; }; then
74454 eval "$as_ac_var=yes"
74455 else
74456 echo "$as_me: failed program was:" >&5
74457 sed 's/^/| /' conftest.$ac_ext >&5
74459 eval "$as_ac_var=no"
74461 rm -f conftest.err conftest.$ac_objext \
74462 conftest$ac_exeext conftest.$ac_ext
74464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74466 if test `eval echo '${'$as_ac_var'}'` = yes; then
74467 cat >>confdefs.h <<_ACEOF
74468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74469 _ACEOF
74472 done
74482 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
74483 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
74484 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
74485 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
74486 echo $ECHO_N "(cached) $ECHO_C" >&6
74487 else
74491 ac_ext=cc
74492 ac_cpp='$CXXCPP $CPPFLAGS'
74493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74497 cat >conftest.$ac_ext <<_ACEOF
74498 /* confdefs.h. */
74499 _ACEOF
74500 cat confdefs.h >>conftest.$ac_ext
74501 cat >>conftest.$ac_ext <<_ACEOF
74502 /* end confdefs.h. */
74503 #include <math.h>
74504 #ifdef HAVE_IEEEFP_H
74505 #include <ieeefp.h>
74506 #endif
74509 main ()
74511 fabsl(0);
74513 return 0;
74515 _ACEOF
74516 rm -f conftest.$ac_objext
74517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74518 (eval $ac_compile) 2>conftest.er1
74519 ac_status=$?
74520 grep -v '^ *+' conftest.er1 >conftest.err
74521 rm -f conftest.er1
74522 cat conftest.err >&5
74523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74524 (exit $ac_status); } &&
74525 { ac_try='test -z "$ac_cxx_werror_flag"
74526 || test ! -s conftest.err'
74527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74528 (eval $ac_try) 2>&5
74529 ac_status=$?
74530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74531 (exit $ac_status); }; } &&
74532 { ac_try='test -s conftest.$ac_objext'
74533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74534 (eval $ac_try) 2>&5
74535 ac_status=$?
74536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74537 (exit $ac_status); }; }; then
74538 glibcxx_cv_func_fabsl_use=yes
74539 else
74540 echo "$as_me: failed program was:" >&5
74541 sed 's/^/| /' conftest.$ac_ext >&5
74543 glibcxx_cv_func_fabsl_use=no
74545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74546 ac_ext=c
74547 ac_cpp='$CPP $CPPFLAGS'
74548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
74557 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
74559 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
74561 for ac_func in fabsl
74563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74564 echo "$as_me:$LINENO: checking for $ac_func" >&5
74565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74566 if eval "test \"\${$as_ac_var+set}\" = set"; then
74567 echo $ECHO_N "(cached) $ECHO_C" >&6
74568 else
74569 if test x$gcc_no_link = xyes; then
74570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74572 { (exit 1); exit 1; }; }
74574 cat >conftest.$ac_ext <<_ACEOF
74575 /* confdefs.h. */
74576 _ACEOF
74577 cat confdefs.h >>conftest.$ac_ext
74578 cat >>conftest.$ac_ext <<_ACEOF
74579 /* end confdefs.h. */
74580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74582 #define $ac_func innocuous_$ac_func
74584 /* System header to define __stub macros and hopefully few prototypes,
74585 which can conflict with char $ac_func (); below.
74586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74587 <limits.h> exists even on freestanding compilers. */
74589 #ifdef __STDC__
74590 # include <limits.h>
74591 #else
74592 # include <assert.h>
74593 #endif
74595 #undef $ac_func
74597 /* Override any gcc2 internal prototype to avoid an error. */
74598 #ifdef __cplusplus
74599 extern "C"
74601 #endif
74602 /* We use char because int might match the return type of a gcc2
74603 builtin and then its argument prototype would still apply. */
74604 char $ac_func ();
74605 /* The GNU C library defines this for functions which it implements
74606 to always fail with ENOSYS. Some functions are actually named
74607 something starting with __ and the normal name is an alias. */
74608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74609 choke me
74610 #else
74611 char (*f) () = $ac_func;
74612 #endif
74613 #ifdef __cplusplus
74615 #endif
74618 main ()
74620 return f != $ac_func;
74622 return 0;
74624 _ACEOF
74625 rm -f conftest.$ac_objext conftest$ac_exeext
74626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74627 (eval $ac_link) 2>conftest.er1
74628 ac_status=$?
74629 grep -v '^ *+' conftest.er1 >conftest.err
74630 rm -f conftest.er1
74631 cat conftest.err >&5
74632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74633 (exit $ac_status); } &&
74634 { ac_try='test -z "$ac_c_werror_flag"
74635 || test ! -s conftest.err'
74636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74637 (eval $ac_try) 2>&5
74638 ac_status=$?
74639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74640 (exit $ac_status); }; } &&
74641 { ac_try='test -s conftest$ac_exeext'
74642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74643 (eval $ac_try) 2>&5
74644 ac_status=$?
74645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74646 (exit $ac_status); }; }; then
74647 eval "$as_ac_var=yes"
74648 else
74649 echo "$as_me: failed program was:" >&5
74650 sed 's/^/| /' conftest.$ac_ext >&5
74652 eval "$as_ac_var=no"
74654 rm -f conftest.err conftest.$ac_objext \
74655 conftest$ac_exeext conftest.$ac_ext
74657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74659 if test `eval echo '${'$as_ac_var'}'` = yes; then
74660 cat >>confdefs.h <<_ACEOF
74661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74662 _ACEOF
74665 done
74667 else
74669 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
74670 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
74671 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
74672 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
74673 echo $ECHO_N "(cached) $ECHO_C" >&6
74674 else
74678 ac_ext=cc
74679 ac_cpp='$CXXCPP $CPPFLAGS'
74680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74684 cat >conftest.$ac_ext <<_ACEOF
74685 /* confdefs.h. */
74686 _ACEOF
74687 cat confdefs.h >>conftest.$ac_ext
74688 cat >>conftest.$ac_ext <<_ACEOF
74689 /* end confdefs.h. */
74690 #include <math.h>
74691 #ifdef HAVE_IEEEFP_H
74692 #include <ieeefp.h>
74693 #endif
74696 main ()
74698 _fabsl(0);
74700 return 0;
74702 _ACEOF
74703 rm -f conftest.$ac_objext
74704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74705 (eval $ac_compile) 2>conftest.er1
74706 ac_status=$?
74707 grep -v '^ *+' conftest.er1 >conftest.err
74708 rm -f conftest.er1
74709 cat conftest.err >&5
74710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74711 (exit $ac_status); } &&
74712 { ac_try='test -z "$ac_cxx_werror_flag"
74713 || test ! -s conftest.err'
74714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74715 (eval $ac_try) 2>&5
74716 ac_status=$?
74717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74718 (exit $ac_status); }; } &&
74719 { ac_try='test -s conftest.$ac_objext'
74720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74721 (eval $ac_try) 2>&5
74722 ac_status=$?
74723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74724 (exit $ac_status); }; }; then
74725 glibcxx_cv_func__fabsl_use=yes
74726 else
74727 echo "$as_me: failed program was:" >&5
74728 sed 's/^/| /' conftest.$ac_ext >&5
74730 glibcxx_cv_func__fabsl_use=no
74732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74733 ac_ext=c
74734 ac_cpp='$CPP $CPPFLAGS'
74735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
74744 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
74746 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
74748 for ac_func in _fabsl
74750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74751 echo "$as_me:$LINENO: checking for $ac_func" >&5
74752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74753 if eval "test \"\${$as_ac_var+set}\" = set"; then
74754 echo $ECHO_N "(cached) $ECHO_C" >&6
74755 else
74756 if test x$gcc_no_link = xyes; then
74757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74759 { (exit 1); exit 1; }; }
74761 cat >conftest.$ac_ext <<_ACEOF
74762 /* confdefs.h. */
74763 _ACEOF
74764 cat confdefs.h >>conftest.$ac_ext
74765 cat >>conftest.$ac_ext <<_ACEOF
74766 /* end confdefs.h. */
74767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74769 #define $ac_func innocuous_$ac_func
74771 /* System header to define __stub macros and hopefully few prototypes,
74772 which can conflict with char $ac_func (); below.
74773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74774 <limits.h> exists even on freestanding compilers. */
74776 #ifdef __STDC__
74777 # include <limits.h>
74778 #else
74779 # include <assert.h>
74780 #endif
74782 #undef $ac_func
74784 /* Override any gcc2 internal prototype to avoid an error. */
74785 #ifdef __cplusplus
74786 extern "C"
74788 #endif
74789 /* We use char because int might match the return type of a gcc2
74790 builtin and then its argument prototype would still apply. */
74791 char $ac_func ();
74792 /* The GNU C library defines this for functions which it implements
74793 to always fail with ENOSYS. Some functions are actually named
74794 something starting with __ and the normal name is an alias. */
74795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74796 choke me
74797 #else
74798 char (*f) () = $ac_func;
74799 #endif
74800 #ifdef __cplusplus
74802 #endif
74805 main ()
74807 return f != $ac_func;
74809 return 0;
74811 _ACEOF
74812 rm -f conftest.$ac_objext conftest$ac_exeext
74813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74814 (eval $ac_link) 2>conftest.er1
74815 ac_status=$?
74816 grep -v '^ *+' conftest.er1 >conftest.err
74817 rm -f conftest.er1
74818 cat conftest.err >&5
74819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74820 (exit $ac_status); } &&
74821 { ac_try='test -z "$ac_c_werror_flag"
74822 || test ! -s conftest.err'
74823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74824 (eval $ac_try) 2>&5
74825 ac_status=$?
74826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74827 (exit $ac_status); }; } &&
74828 { ac_try='test -s conftest$ac_exeext'
74829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74830 (eval $ac_try) 2>&5
74831 ac_status=$?
74832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74833 (exit $ac_status); }; }; then
74834 eval "$as_ac_var=yes"
74835 else
74836 echo "$as_me: failed program was:" >&5
74837 sed 's/^/| /' conftest.$ac_ext >&5
74839 eval "$as_ac_var=no"
74841 rm -f conftest.err conftest.$ac_objext \
74842 conftest$ac_exeext conftest.$ac_ext
74844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74846 if test `eval echo '${'$as_ac_var'}'` = yes; then
74847 cat >>confdefs.h <<_ACEOF
74848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74849 _ACEOF
74852 done
74862 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
74863 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
74864 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
74865 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
74866 echo $ECHO_N "(cached) $ECHO_C" >&6
74867 else
74871 ac_ext=cc
74872 ac_cpp='$CXXCPP $CPPFLAGS'
74873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
74885 main ()
74887 fmodl(0, 0);
74889 return 0;
74891 _ACEOF
74892 rm -f conftest.$ac_objext
74893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74894 (eval $ac_compile) 2>conftest.er1
74895 ac_status=$?
74896 grep -v '^ *+' conftest.er1 >conftest.err
74897 rm -f conftest.er1
74898 cat conftest.err >&5
74899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74900 (exit $ac_status); } &&
74901 { ac_try='test -z "$ac_cxx_werror_flag"
74902 || test ! -s conftest.err'
74903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74904 (eval $ac_try) 2>&5
74905 ac_status=$?
74906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74907 (exit $ac_status); }; } &&
74908 { ac_try='test -s conftest.$ac_objext'
74909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74910 (eval $ac_try) 2>&5
74911 ac_status=$?
74912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74913 (exit $ac_status); }; }; then
74914 glibcxx_cv_func_fmodl_use=yes
74915 else
74916 echo "$as_me: failed program was:" >&5
74917 sed 's/^/| /' conftest.$ac_ext >&5
74919 glibcxx_cv_func_fmodl_use=no
74921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74922 ac_ext=c
74923 ac_cpp='$CPP $CPPFLAGS'
74924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
74933 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
74935 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
74937 for ac_func in fmodl
74939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74940 echo "$as_me:$LINENO: checking for $ac_func" >&5
74941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74942 if eval "test \"\${$as_ac_var+set}\" = set"; then
74943 echo $ECHO_N "(cached) $ECHO_C" >&6
74944 else
74945 if test x$gcc_no_link = xyes; then
74946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74948 { (exit 1); exit 1; }; }
74950 cat >conftest.$ac_ext <<_ACEOF
74951 /* confdefs.h. */
74952 _ACEOF
74953 cat confdefs.h >>conftest.$ac_ext
74954 cat >>conftest.$ac_ext <<_ACEOF
74955 /* end confdefs.h. */
74956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74958 #define $ac_func innocuous_$ac_func
74960 /* System header to define __stub macros and hopefully few prototypes,
74961 which can conflict with char $ac_func (); below.
74962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74963 <limits.h> exists even on freestanding compilers. */
74965 #ifdef __STDC__
74966 # include <limits.h>
74967 #else
74968 # include <assert.h>
74969 #endif
74971 #undef $ac_func
74973 /* Override any gcc2 internal prototype to avoid an error. */
74974 #ifdef __cplusplus
74975 extern "C"
74977 #endif
74978 /* We use char because int might match the return type of a gcc2
74979 builtin and then its argument prototype would still apply. */
74980 char $ac_func ();
74981 /* The GNU C library defines this for functions which it implements
74982 to always fail with ENOSYS. Some functions are actually named
74983 something starting with __ and the normal name is an alias. */
74984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74985 choke me
74986 #else
74987 char (*f) () = $ac_func;
74988 #endif
74989 #ifdef __cplusplus
74991 #endif
74994 main ()
74996 return f != $ac_func;
74998 return 0;
75000 _ACEOF
75001 rm -f conftest.$ac_objext conftest$ac_exeext
75002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75003 (eval $ac_link) 2>conftest.er1
75004 ac_status=$?
75005 grep -v '^ *+' conftest.er1 >conftest.err
75006 rm -f conftest.er1
75007 cat conftest.err >&5
75008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75009 (exit $ac_status); } &&
75010 { ac_try='test -z "$ac_c_werror_flag"
75011 || test ! -s conftest.err'
75012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75013 (eval $ac_try) 2>&5
75014 ac_status=$?
75015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75016 (exit $ac_status); }; } &&
75017 { ac_try='test -s conftest$ac_exeext'
75018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75019 (eval $ac_try) 2>&5
75020 ac_status=$?
75021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75022 (exit $ac_status); }; }; then
75023 eval "$as_ac_var=yes"
75024 else
75025 echo "$as_me: failed program was:" >&5
75026 sed 's/^/| /' conftest.$ac_ext >&5
75028 eval "$as_ac_var=no"
75030 rm -f conftest.err conftest.$ac_objext \
75031 conftest$ac_exeext conftest.$ac_ext
75033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75035 if test `eval echo '${'$as_ac_var'}'` = yes; then
75036 cat >>confdefs.h <<_ACEOF
75037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75038 _ACEOF
75041 done
75043 else
75045 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
75046 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
75047 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75048 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
75049 echo $ECHO_N "(cached) $ECHO_C" >&6
75050 else
75054 ac_ext=cc
75055 ac_cpp='$CXXCPP $CPPFLAGS'
75056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
75068 main ()
75070 _fmodl(0, 0);
75072 return 0;
75074 _ACEOF
75075 rm -f conftest.$ac_objext
75076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75077 (eval $ac_compile) 2>conftest.er1
75078 ac_status=$?
75079 grep -v '^ *+' conftest.er1 >conftest.err
75080 rm -f conftest.er1
75081 cat conftest.err >&5
75082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75083 (exit $ac_status); } &&
75084 { ac_try='test -z "$ac_cxx_werror_flag"
75085 || test ! -s conftest.err'
75086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75087 (eval $ac_try) 2>&5
75088 ac_status=$?
75089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75090 (exit $ac_status); }; } &&
75091 { ac_try='test -s conftest.$ac_objext'
75092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75093 (eval $ac_try) 2>&5
75094 ac_status=$?
75095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75096 (exit $ac_status); }; }; then
75097 glibcxx_cv_func__fmodl_use=yes
75098 else
75099 echo "$as_me: failed program was:" >&5
75100 sed 's/^/| /' conftest.$ac_ext >&5
75102 glibcxx_cv_func__fmodl_use=no
75104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75105 ac_ext=c
75106 ac_cpp='$CPP $CPPFLAGS'
75107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
75116 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
75118 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75120 for ac_func in _fmodl
75122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75123 echo "$as_me:$LINENO: checking for $ac_func" >&5
75124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75125 if eval "test \"\${$as_ac_var+set}\" = set"; then
75126 echo $ECHO_N "(cached) $ECHO_C" >&6
75127 else
75128 if test x$gcc_no_link = xyes; then
75129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75131 { (exit 1); exit 1; }; }
75133 cat >conftest.$ac_ext <<_ACEOF
75134 /* confdefs.h. */
75135 _ACEOF
75136 cat confdefs.h >>conftest.$ac_ext
75137 cat >>conftest.$ac_ext <<_ACEOF
75138 /* end confdefs.h. */
75139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75141 #define $ac_func innocuous_$ac_func
75143 /* System header to define __stub macros and hopefully few prototypes,
75144 which can conflict with char $ac_func (); below.
75145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75146 <limits.h> exists even on freestanding compilers. */
75148 #ifdef __STDC__
75149 # include <limits.h>
75150 #else
75151 # include <assert.h>
75152 #endif
75154 #undef $ac_func
75156 /* Override any gcc2 internal prototype to avoid an error. */
75157 #ifdef __cplusplus
75158 extern "C"
75160 #endif
75161 /* We use char because int might match the return type of a gcc2
75162 builtin and then its argument prototype would still apply. */
75163 char $ac_func ();
75164 /* The GNU C library defines this for functions which it implements
75165 to always fail with ENOSYS. Some functions are actually named
75166 something starting with __ and the normal name is an alias. */
75167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75168 choke me
75169 #else
75170 char (*f) () = $ac_func;
75171 #endif
75172 #ifdef __cplusplus
75174 #endif
75177 main ()
75179 return f != $ac_func;
75181 return 0;
75183 _ACEOF
75184 rm -f conftest.$ac_objext conftest$ac_exeext
75185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75186 (eval $ac_link) 2>conftest.er1
75187 ac_status=$?
75188 grep -v '^ *+' conftest.er1 >conftest.err
75189 rm -f conftest.er1
75190 cat conftest.err >&5
75191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75192 (exit $ac_status); } &&
75193 { ac_try='test -z "$ac_c_werror_flag"
75194 || test ! -s conftest.err'
75195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75196 (eval $ac_try) 2>&5
75197 ac_status=$?
75198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75199 (exit $ac_status); }; } &&
75200 { ac_try='test -s conftest$ac_exeext'
75201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75202 (eval $ac_try) 2>&5
75203 ac_status=$?
75204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75205 (exit $ac_status); }; }; then
75206 eval "$as_ac_var=yes"
75207 else
75208 echo "$as_me: failed program was:" >&5
75209 sed 's/^/| /' conftest.$ac_ext >&5
75211 eval "$as_ac_var=no"
75213 rm -f conftest.err conftest.$ac_objext \
75214 conftest$ac_exeext conftest.$ac_ext
75216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75218 if test `eval echo '${'$as_ac_var'}'` = yes; then
75219 cat >>confdefs.h <<_ACEOF
75220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75221 _ACEOF
75224 done
75234 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
75235 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
75236 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75237 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
75238 echo $ECHO_N "(cached) $ECHO_C" >&6
75239 else
75243 ac_ext=cc
75244 ac_cpp='$CXXCPP $CPPFLAGS'
75245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
75257 main ()
75259 frexpl(0, 0);
75261 return 0;
75263 _ACEOF
75264 rm -f conftest.$ac_objext
75265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75266 (eval $ac_compile) 2>conftest.er1
75267 ac_status=$?
75268 grep -v '^ *+' conftest.er1 >conftest.err
75269 rm -f conftest.er1
75270 cat conftest.err >&5
75271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75272 (exit $ac_status); } &&
75273 { ac_try='test -z "$ac_cxx_werror_flag"
75274 || test ! -s conftest.err'
75275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75276 (eval $ac_try) 2>&5
75277 ac_status=$?
75278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75279 (exit $ac_status); }; } &&
75280 { ac_try='test -s conftest.$ac_objext'
75281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75282 (eval $ac_try) 2>&5
75283 ac_status=$?
75284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75285 (exit $ac_status); }; }; then
75286 glibcxx_cv_func_frexpl_use=yes
75287 else
75288 echo "$as_me: failed program was:" >&5
75289 sed 's/^/| /' conftest.$ac_ext >&5
75291 glibcxx_cv_func_frexpl_use=no
75293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75294 ac_ext=c
75295 ac_cpp='$CPP $CPPFLAGS'
75296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
75305 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
75307 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75309 for ac_func in frexpl
75311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75312 echo "$as_me:$LINENO: checking for $ac_func" >&5
75313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75314 if eval "test \"\${$as_ac_var+set}\" = set"; then
75315 echo $ECHO_N "(cached) $ECHO_C" >&6
75316 else
75317 if test x$gcc_no_link = xyes; then
75318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75320 { (exit 1); exit 1; }; }
75322 cat >conftest.$ac_ext <<_ACEOF
75323 /* confdefs.h. */
75324 _ACEOF
75325 cat confdefs.h >>conftest.$ac_ext
75326 cat >>conftest.$ac_ext <<_ACEOF
75327 /* end confdefs.h. */
75328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75330 #define $ac_func innocuous_$ac_func
75332 /* System header to define __stub macros and hopefully few prototypes,
75333 which can conflict with char $ac_func (); below.
75334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75335 <limits.h> exists even on freestanding compilers. */
75337 #ifdef __STDC__
75338 # include <limits.h>
75339 #else
75340 # include <assert.h>
75341 #endif
75343 #undef $ac_func
75345 /* Override any gcc2 internal prototype to avoid an error. */
75346 #ifdef __cplusplus
75347 extern "C"
75349 #endif
75350 /* We use char because int might match the return type of a gcc2
75351 builtin and then its argument prototype would still apply. */
75352 char $ac_func ();
75353 /* The GNU C library defines this for functions which it implements
75354 to always fail with ENOSYS. Some functions are actually named
75355 something starting with __ and the normal name is an alias. */
75356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75357 choke me
75358 #else
75359 char (*f) () = $ac_func;
75360 #endif
75361 #ifdef __cplusplus
75363 #endif
75366 main ()
75368 return f != $ac_func;
75370 return 0;
75372 _ACEOF
75373 rm -f conftest.$ac_objext conftest$ac_exeext
75374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75375 (eval $ac_link) 2>conftest.er1
75376 ac_status=$?
75377 grep -v '^ *+' conftest.er1 >conftest.err
75378 rm -f conftest.er1
75379 cat conftest.err >&5
75380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75381 (exit $ac_status); } &&
75382 { ac_try='test -z "$ac_c_werror_flag"
75383 || test ! -s conftest.err'
75384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75385 (eval $ac_try) 2>&5
75386 ac_status=$?
75387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75388 (exit $ac_status); }; } &&
75389 { ac_try='test -s conftest$ac_exeext'
75390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75391 (eval $ac_try) 2>&5
75392 ac_status=$?
75393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75394 (exit $ac_status); }; }; then
75395 eval "$as_ac_var=yes"
75396 else
75397 echo "$as_me: failed program was:" >&5
75398 sed 's/^/| /' conftest.$ac_ext >&5
75400 eval "$as_ac_var=no"
75402 rm -f conftest.err conftest.$ac_objext \
75403 conftest$ac_exeext conftest.$ac_ext
75405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75407 if test `eval echo '${'$as_ac_var'}'` = yes; then
75408 cat >>confdefs.h <<_ACEOF
75409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75410 _ACEOF
75413 done
75415 else
75417 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
75418 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
75419 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75420 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
75421 echo $ECHO_N "(cached) $ECHO_C" >&6
75422 else
75426 ac_ext=cc
75427 ac_cpp='$CXXCPP $CPPFLAGS'
75428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
75440 main ()
75442 _frexpl(0, 0);
75444 return 0;
75446 _ACEOF
75447 rm -f conftest.$ac_objext
75448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75449 (eval $ac_compile) 2>conftest.er1
75450 ac_status=$?
75451 grep -v '^ *+' conftest.er1 >conftest.err
75452 rm -f conftest.er1
75453 cat conftest.err >&5
75454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75455 (exit $ac_status); } &&
75456 { ac_try='test -z "$ac_cxx_werror_flag"
75457 || test ! -s conftest.err'
75458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75459 (eval $ac_try) 2>&5
75460 ac_status=$?
75461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75462 (exit $ac_status); }; } &&
75463 { ac_try='test -s conftest.$ac_objext'
75464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75465 (eval $ac_try) 2>&5
75466 ac_status=$?
75467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75468 (exit $ac_status); }; }; then
75469 glibcxx_cv_func__frexpl_use=yes
75470 else
75471 echo "$as_me: failed program was:" >&5
75472 sed 's/^/| /' conftest.$ac_ext >&5
75474 glibcxx_cv_func__frexpl_use=no
75476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75477 ac_ext=c
75478 ac_cpp='$CPP $CPPFLAGS'
75479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
75488 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
75490 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75492 for ac_func in _frexpl
75494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75495 echo "$as_me:$LINENO: checking for $ac_func" >&5
75496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75497 if eval "test \"\${$as_ac_var+set}\" = set"; then
75498 echo $ECHO_N "(cached) $ECHO_C" >&6
75499 else
75500 if test x$gcc_no_link = xyes; then
75501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75503 { (exit 1); exit 1; }; }
75505 cat >conftest.$ac_ext <<_ACEOF
75506 /* confdefs.h. */
75507 _ACEOF
75508 cat confdefs.h >>conftest.$ac_ext
75509 cat >>conftest.$ac_ext <<_ACEOF
75510 /* end confdefs.h. */
75511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75513 #define $ac_func innocuous_$ac_func
75515 /* System header to define __stub macros and hopefully few prototypes,
75516 which can conflict with char $ac_func (); below.
75517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75518 <limits.h> exists even on freestanding compilers. */
75520 #ifdef __STDC__
75521 # include <limits.h>
75522 #else
75523 # include <assert.h>
75524 #endif
75526 #undef $ac_func
75528 /* Override any gcc2 internal prototype to avoid an error. */
75529 #ifdef __cplusplus
75530 extern "C"
75532 #endif
75533 /* We use char because int might match the return type of a gcc2
75534 builtin and then its argument prototype would still apply. */
75535 char $ac_func ();
75536 /* The GNU C library defines this for functions which it implements
75537 to always fail with ENOSYS. Some functions are actually named
75538 something starting with __ and the normal name is an alias. */
75539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75540 choke me
75541 #else
75542 char (*f) () = $ac_func;
75543 #endif
75544 #ifdef __cplusplus
75546 #endif
75549 main ()
75551 return f != $ac_func;
75553 return 0;
75555 _ACEOF
75556 rm -f conftest.$ac_objext conftest$ac_exeext
75557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75558 (eval $ac_link) 2>conftest.er1
75559 ac_status=$?
75560 grep -v '^ *+' conftest.er1 >conftest.err
75561 rm -f conftest.er1
75562 cat conftest.err >&5
75563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75564 (exit $ac_status); } &&
75565 { ac_try='test -z "$ac_c_werror_flag"
75566 || test ! -s conftest.err'
75567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75568 (eval $ac_try) 2>&5
75569 ac_status=$?
75570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75571 (exit $ac_status); }; } &&
75572 { ac_try='test -s conftest$ac_exeext'
75573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75574 (eval $ac_try) 2>&5
75575 ac_status=$?
75576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75577 (exit $ac_status); }; }; then
75578 eval "$as_ac_var=yes"
75579 else
75580 echo "$as_me: failed program was:" >&5
75581 sed 's/^/| /' conftest.$ac_ext >&5
75583 eval "$as_ac_var=no"
75585 rm -f conftest.err conftest.$ac_objext \
75586 conftest$ac_exeext conftest.$ac_ext
75588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75590 if test `eval echo '${'$as_ac_var'}'` = yes; then
75591 cat >>confdefs.h <<_ACEOF
75592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75593 _ACEOF
75596 done
75606 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
75607 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
75608 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75609 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
75610 echo $ECHO_N "(cached) $ECHO_C" >&6
75611 else
75615 ac_ext=cc
75616 ac_cpp='$CXXCPP $CPPFLAGS'
75617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
75629 main ()
75631 hypotl(0, 0);
75633 return 0;
75635 _ACEOF
75636 rm -f conftest.$ac_objext
75637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75638 (eval $ac_compile) 2>conftest.er1
75639 ac_status=$?
75640 grep -v '^ *+' conftest.er1 >conftest.err
75641 rm -f conftest.er1
75642 cat conftest.err >&5
75643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75644 (exit $ac_status); } &&
75645 { ac_try='test -z "$ac_cxx_werror_flag"
75646 || test ! -s conftest.err'
75647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75648 (eval $ac_try) 2>&5
75649 ac_status=$?
75650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75651 (exit $ac_status); }; } &&
75652 { ac_try='test -s conftest.$ac_objext'
75653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75654 (eval $ac_try) 2>&5
75655 ac_status=$?
75656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75657 (exit $ac_status); }; }; then
75658 glibcxx_cv_func_hypotl_use=yes
75659 else
75660 echo "$as_me: failed program was:" >&5
75661 sed 's/^/| /' conftest.$ac_ext >&5
75663 glibcxx_cv_func_hypotl_use=no
75665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75666 ac_ext=c
75667 ac_cpp='$CPP $CPPFLAGS'
75668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
75677 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
75679 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75681 for ac_func in hypotl
75683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75684 echo "$as_me:$LINENO: checking for $ac_func" >&5
75685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75686 if eval "test \"\${$as_ac_var+set}\" = set"; then
75687 echo $ECHO_N "(cached) $ECHO_C" >&6
75688 else
75689 if test x$gcc_no_link = xyes; then
75690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75692 { (exit 1); exit 1; }; }
75694 cat >conftest.$ac_ext <<_ACEOF
75695 /* confdefs.h. */
75696 _ACEOF
75697 cat confdefs.h >>conftest.$ac_ext
75698 cat >>conftest.$ac_ext <<_ACEOF
75699 /* end confdefs.h. */
75700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75702 #define $ac_func innocuous_$ac_func
75704 /* System header to define __stub macros and hopefully few prototypes,
75705 which can conflict with char $ac_func (); below.
75706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75707 <limits.h> exists even on freestanding compilers. */
75709 #ifdef __STDC__
75710 # include <limits.h>
75711 #else
75712 # include <assert.h>
75713 #endif
75715 #undef $ac_func
75717 /* Override any gcc2 internal prototype to avoid an error. */
75718 #ifdef __cplusplus
75719 extern "C"
75721 #endif
75722 /* We use char because int might match the return type of a gcc2
75723 builtin and then its argument prototype would still apply. */
75724 char $ac_func ();
75725 /* The GNU C library defines this for functions which it implements
75726 to always fail with ENOSYS. Some functions are actually named
75727 something starting with __ and the normal name is an alias. */
75728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75729 choke me
75730 #else
75731 char (*f) () = $ac_func;
75732 #endif
75733 #ifdef __cplusplus
75735 #endif
75738 main ()
75740 return f != $ac_func;
75742 return 0;
75744 _ACEOF
75745 rm -f conftest.$ac_objext conftest$ac_exeext
75746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75747 (eval $ac_link) 2>conftest.er1
75748 ac_status=$?
75749 grep -v '^ *+' conftest.er1 >conftest.err
75750 rm -f conftest.er1
75751 cat conftest.err >&5
75752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75753 (exit $ac_status); } &&
75754 { ac_try='test -z "$ac_c_werror_flag"
75755 || test ! -s conftest.err'
75756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75757 (eval $ac_try) 2>&5
75758 ac_status=$?
75759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75760 (exit $ac_status); }; } &&
75761 { ac_try='test -s conftest$ac_exeext'
75762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75763 (eval $ac_try) 2>&5
75764 ac_status=$?
75765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75766 (exit $ac_status); }; }; then
75767 eval "$as_ac_var=yes"
75768 else
75769 echo "$as_me: failed program was:" >&5
75770 sed 's/^/| /' conftest.$ac_ext >&5
75772 eval "$as_ac_var=no"
75774 rm -f conftest.err conftest.$ac_objext \
75775 conftest$ac_exeext conftest.$ac_ext
75777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75779 if test `eval echo '${'$as_ac_var'}'` = yes; then
75780 cat >>confdefs.h <<_ACEOF
75781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75782 _ACEOF
75785 done
75787 else
75789 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
75790 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
75791 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75792 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
75793 echo $ECHO_N "(cached) $ECHO_C" >&6
75794 else
75798 ac_ext=cc
75799 ac_cpp='$CXXCPP $CPPFLAGS'
75800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
75812 main ()
75814 _hypotl(0, 0);
75816 return 0;
75818 _ACEOF
75819 rm -f conftest.$ac_objext
75820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75821 (eval $ac_compile) 2>conftest.er1
75822 ac_status=$?
75823 grep -v '^ *+' conftest.er1 >conftest.err
75824 rm -f conftest.er1
75825 cat conftest.err >&5
75826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75827 (exit $ac_status); } &&
75828 { ac_try='test -z "$ac_cxx_werror_flag"
75829 || test ! -s conftest.err'
75830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75831 (eval $ac_try) 2>&5
75832 ac_status=$?
75833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75834 (exit $ac_status); }; } &&
75835 { ac_try='test -s conftest.$ac_objext'
75836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75837 (eval $ac_try) 2>&5
75838 ac_status=$?
75839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75840 (exit $ac_status); }; }; then
75841 glibcxx_cv_func__hypotl_use=yes
75842 else
75843 echo "$as_me: failed program was:" >&5
75844 sed 's/^/| /' conftest.$ac_ext >&5
75846 glibcxx_cv_func__hypotl_use=no
75848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75849 ac_ext=c
75850 ac_cpp='$CPP $CPPFLAGS'
75851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
75860 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
75862 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75864 for ac_func in _hypotl
75866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75867 echo "$as_me:$LINENO: checking for $ac_func" >&5
75868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75869 if eval "test \"\${$as_ac_var+set}\" = set"; then
75870 echo $ECHO_N "(cached) $ECHO_C" >&6
75871 else
75872 if test x$gcc_no_link = xyes; then
75873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75875 { (exit 1); exit 1; }; }
75877 cat >conftest.$ac_ext <<_ACEOF
75878 /* confdefs.h. */
75879 _ACEOF
75880 cat confdefs.h >>conftest.$ac_ext
75881 cat >>conftest.$ac_ext <<_ACEOF
75882 /* end confdefs.h. */
75883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75885 #define $ac_func innocuous_$ac_func
75887 /* System header to define __stub macros and hopefully few prototypes,
75888 which can conflict with char $ac_func (); below.
75889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75890 <limits.h> exists even on freestanding compilers. */
75892 #ifdef __STDC__
75893 # include <limits.h>
75894 #else
75895 # include <assert.h>
75896 #endif
75898 #undef $ac_func
75900 /* Override any gcc2 internal prototype to avoid an error. */
75901 #ifdef __cplusplus
75902 extern "C"
75904 #endif
75905 /* We use char because int might match the return type of a gcc2
75906 builtin and then its argument prototype would still apply. */
75907 char $ac_func ();
75908 /* The GNU C library defines this for functions which it implements
75909 to always fail with ENOSYS. Some functions are actually named
75910 something starting with __ and the normal name is an alias. */
75911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75912 choke me
75913 #else
75914 char (*f) () = $ac_func;
75915 #endif
75916 #ifdef __cplusplus
75918 #endif
75921 main ()
75923 return f != $ac_func;
75925 return 0;
75927 _ACEOF
75928 rm -f conftest.$ac_objext conftest$ac_exeext
75929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75930 (eval $ac_link) 2>conftest.er1
75931 ac_status=$?
75932 grep -v '^ *+' conftest.er1 >conftest.err
75933 rm -f conftest.er1
75934 cat conftest.err >&5
75935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75936 (exit $ac_status); } &&
75937 { ac_try='test -z "$ac_c_werror_flag"
75938 || test ! -s conftest.err'
75939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75940 (eval $ac_try) 2>&5
75941 ac_status=$?
75942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943 (exit $ac_status); }; } &&
75944 { ac_try='test -s conftest$ac_exeext'
75945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75946 (eval $ac_try) 2>&5
75947 ac_status=$?
75948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75949 (exit $ac_status); }; }; then
75950 eval "$as_ac_var=yes"
75951 else
75952 echo "$as_me: failed program was:" >&5
75953 sed 's/^/| /' conftest.$ac_ext >&5
75955 eval "$as_ac_var=no"
75957 rm -f conftest.err conftest.$ac_objext \
75958 conftest$ac_exeext conftest.$ac_ext
75960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75962 if test `eval echo '${'$as_ac_var'}'` = yes; then
75963 cat >>confdefs.h <<_ACEOF
75964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75965 _ACEOF
75968 done
75978 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
75979 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
75980 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75981 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
75982 echo $ECHO_N "(cached) $ECHO_C" >&6
75983 else
75987 ac_ext=cc
75988 ac_cpp='$CXXCPP $CPPFLAGS'
75989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
76001 main ()
76003 ldexpl(0, 0);
76005 return 0;
76007 _ACEOF
76008 rm -f conftest.$ac_objext
76009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76010 (eval $ac_compile) 2>conftest.er1
76011 ac_status=$?
76012 grep -v '^ *+' conftest.er1 >conftest.err
76013 rm -f conftest.er1
76014 cat conftest.err >&5
76015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76016 (exit $ac_status); } &&
76017 { ac_try='test -z "$ac_cxx_werror_flag"
76018 || test ! -s conftest.err'
76019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76020 (eval $ac_try) 2>&5
76021 ac_status=$?
76022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76023 (exit $ac_status); }; } &&
76024 { ac_try='test -s conftest.$ac_objext'
76025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76026 (eval $ac_try) 2>&5
76027 ac_status=$?
76028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76029 (exit $ac_status); }; }; then
76030 glibcxx_cv_func_ldexpl_use=yes
76031 else
76032 echo "$as_me: failed program was:" >&5
76033 sed 's/^/| /' conftest.$ac_ext >&5
76035 glibcxx_cv_func_ldexpl_use=no
76037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76038 ac_ext=c
76039 ac_cpp='$CPP $CPPFLAGS'
76040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
76049 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
76051 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76053 for ac_func in ldexpl
76055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76056 echo "$as_me:$LINENO: checking for $ac_func" >&5
76057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76058 if eval "test \"\${$as_ac_var+set}\" = set"; then
76059 echo $ECHO_N "(cached) $ECHO_C" >&6
76060 else
76061 if test x$gcc_no_link = xyes; then
76062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76064 { (exit 1); exit 1; }; }
76066 cat >conftest.$ac_ext <<_ACEOF
76067 /* confdefs.h. */
76068 _ACEOF
76069 cat confdefs.h >>conftest.$ac_ext
76070 cat >>conftest.$ac_ext <<_ACEOF
76071 /* end confdefs.h. */
76072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76074 #define $ac_func innocuous_$ac_func
76076 /* System header to define __stub macros and hopefully few prototypes,
76077 which can conflict with char $ac_func (); below.
76078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76079 <limits.h> exists even on freestanding compilers. */
76081 #ifdef __STDC__
76082 # include <limits.h>
76083 #else
76084 # include <assert.h>
76085 #endif
76087 #undef $ac_func
76089 /* Override any gcc2 internal prototype to avoid an error. */
76090 #ifdef __cplusplus
76091 extern "C"
76093 #endif
76094 /* We use char because int might match the return type of a gcc2
76095 builtin and then its argument prototype would still apply. */
76096 char $ac_func ();
76097 /* The GNU C library defines this for functions which it implements
76098 to always fail with ENOSYS. Some functions are actually named
76099 something starting with __ and the normal name is an alias. */
76100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76101 choke me
76102 #else
76103 char (*f) () = $ac_func;
76104 #endif
76105 #ifdef __cplusplus
76107 #endif
76110 main ()
76112 return f != $ac_func;
76114 return 0;
76116 _ACEOF
76117 rm -f conftest.$ac_objext conftest$ac_exeext
76118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76119 (eval $ac_link) 2>conftest.er1
76120 ac_status=$?
76121 grep -v '^ *+' conftest.er1 >conftest.err
76122 rm -f conftest.er1
76123 cat conftest.err >&5
76124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76125 (exit $ac_status); } &&
76126 { ac_try='test -z "$ac_c_werror_flag"
76127 || test ! -s conftest.err'
76128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76129 (eval $ac_try) 2>&5
76130 ac_status=$?
76131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76132 (exit $ac_status); }; } &&
76133 { ac_try='test -s conftest$ac_exeext'
76134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76135 (eval $ac_try) 2>&5
76136 ac_status=$?
76137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76138 (exit $ac_status); }; }; then
76139 eval "$as_ac_var=yes"
76140 else
76141 echo "$as_me: failed program was:" >&5
76142 sed 's/^/| /' conftest.$ac_ext >&5
76144 eval "$as_ac_var=no"
76146 rm -f conftest.err conftest.$ac_objext \
76147 conftest$ac_exeext conftest.$ac_ext
76149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76151 if test `eval echo '${'$as_ac_var'}'` = yes; then
76152 cat >>confdefs.h <<_ACEOF
76153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76154 _ACEOF
76157 done
76159 else
76161 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
76162 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
76163 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76164 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
76165 echo $ECHO_N "(cached) $ECHO_C" >&6
76166 else
76170 ac_ext=cc
76171 ac_cpp='$CXXCPP $CPPFLAGS'
76172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
76184 main ()
76186 _ldexpl(0, 0);
76188 return 0;
76190 _ACEOF
76191 rm -f conftest.$ac_objext
76192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76193 (eval $ac_compile) 2>conftest.er1
76194 ac_status=$?
76195 grep -v '^ *+' conftest.er1 >conftest.err
76196 rm -f conftest.er1
76197 cat conftest.err >&5
76198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76199 (exit $ac_status); } &&
76200 { ac_try='test -z "$ac_cxx_werror_flag"
76201 || test ! -s conftest.err'
76202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76203 (eval $ac_try) 2>&5
76204 ac_status=$?
76205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76206 (exit $ac_status); }; } &&
76207 { ac_try='test -s conftest.$ac_objext'
76208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76209 (eval $ac_try) 2>&5
76210 ac_status=$?
76211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76212 (exit $ac_status); }; }; then
76213 glibcxx_cv_func__ldexpl_use=yes
76214 else
76215 echo "$as_me: failed program was:" >&5
76216 sed 's/^/| /' conftest.$ac_ext >&5
76218 glibcxx_cv_func__ldexpl_use=no
76220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76221 ac_ext=c
76222 ac_cpp='$CPP $CPPFLAGS'
76223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
76232 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
76234 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76236 for ac_func in _ldexpl
76238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76239 echo "$as_me:$LINENO: checking for $ac_func" >&5
76240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76241 if eval "test \"\${$as_ac_var+set}\" = set"; then
76242 echo $ECHO_N "(cached) $ECHO_C" >&6
76243 else
76244 if test x$gcc_no_link = xyes; then
76245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76247 { (exit 1); exit 1; }; }
76249 cat >conftest.$ac_ext <<_ACEOF
76250 /* confdefs.h. */
76251 _ACEOF
76252 cat confdefs.h >>conftest.$ac_ext
76253 cat >>conftest.$ac_ext <<_ACEOF
76254 /* end confdefs.h. */
76255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76257 #define $ac_func innocuous_$ac_func
76259 /* System header to define __stub macros and hopefully few prototypes,
76260 which can conflict with char $ac_func (); below.
76261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76262 <limits.h> exists even on freestanding compilers. */
76264 #ifdef __STDC__
76265 # include <limits.h>
76266 #else
76267 # include <assert.h>
76268 #endif
76270 #undef $ac_func
76272 /* Override any gcc2 internal prototype to avoid an error. */
76273 #ifdef __cplusplus
76274 extern "C"
76276 #endif
76277 /* We use char because int might match the return type of a gcc2
76278 builtin and then its argument prototype would still apply. */
76279 char $ac_func ();
76280 /* The GNU C library defines this for functions which it implements
76281 to always fail with ENOSYS. Some functions are actually named
76282 something starting with __ and the normal name is an alias. */
76283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76284 choke me
76285 #else
76286 char (*f) () = $ac_func;
76287 #endif
76288 #ifdef __cplusplus
76290 #endif
76293 main ()
76295 return f != $ac_func;
76297 return 0;
76299 _ACEOF
76300 rm -f conftest.$ac_objext conftest$ac_exeext
76301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76302 (eval $ac_link) 2>conftest.er1
76303 ac_status=$?
76304 grep -v '^ *+' conftest.er1 >conftest.err
76305 rm -f conftest.er1
76306 cat conftest.err >&5
76307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76308 (exit $ac_status); } &&
76309 { ac_try='test -z "$ac_c_werror_flag"
76310 || test ! -s conftest.err'
76311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76312 (eval $ac_try) 2>&5
76313 ac_status=$?
76314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76315 (exit $ac_status); }; } &&
76316 { ac_try='test -s conftest$ac_exeext'
76317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76318 (eval $ac_try) 2>&5
76319 ac_status=$?
76320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76321 (exit $ac_status); }; }; then
76322 eval "$as_ac_var=yes"
76323 else
76324 echo "$as_me: failed program was:" >&5
76325 sed 's/^/| /' conftest.$ac_ext >&5
76327 eval "$as_ac_var=no"
76329 rm -f conftest.err conftest.$ac_objext \
76330 conftest$ac_exeext conftest.$ac_ext
76332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76334 if test `eval echo '${'$as_ac_var'}'` = yes; then
76335 cat >>confdefs.h <<_ACEOF
76336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76337 _ACEOF
76340 done
76350 echo "$as_me:$LINENO: checking for logl declaration" >&5
76351 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
76352 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76353 if test "${glibcxx_cv_func_logl_use+set}" = set; then
76354 echo $ECHO_N "(cached) $ECHO_C" >&6
76355 else
76359 ac_ext=cc
76360 ac_cpp='$CXXCPP $CPPFLAGS'
76361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76365 cat >conftest.$ac_ext <<_ACEOF
76366 /* confdefs.h. */
76367 _ACEOF
76368 cat confdefs.h >>conftest.$ac_ext
76369 cat >>conftest.$ac_ext <<_ACEOF
76370 /* end confdefs.h. */
76371 #include <math.h>
76372 #ifdef HAVE_IEEEFP_H
76373 #include <ieeefp.h>
76374 #endif
76377 main ()
76379 logl(0);
76381 return 0;
76383 _ACEOF
76384 rm -f conftest.$ac_objext
76385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76386 (eval $ac_compile) 2>conftest.er1
76387 ac_status=$?
76388 grep -v '^ *+' conftest.er1 >conftest.err
76389 rm -f conftest.er1
76390 cat conftest.err >&5
76391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76392 (exit $ac_status); } &&
76393 { ac_try='test -z "$ac_cxx_werror_flag"
76394 || test ! -s conftest.err'
76395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76396 (eval $ac_try) 2>&5
76397 ac_status=$?
76398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76399 (exit $ac_status); }; } &&
76400 { ac_try='test -s conftest.$ac_objext'
76401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76402 (eval $ac_try) 2>&5
76403 ac_status=$?
76404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76405 (exit $ac_status); }; }; then
76406 glibcxx_cv_func_logl_use=yes
76407 else
76408 echo "$as_me: failed program was:" >&5
76409 sed 's/^/| /' conftest.$ac_ext >&5
76411 glibcxx_cv_func_logl_use=no
76413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76414 ac_ext=c
76415 ac_cpp='$CPP $CPPFLAGS'
76416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
76425 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
76427 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76429 for ac_func in logl
76431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76432 echo "$as_me:$LINENO: checking for $ac_func" >&5
76433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76434 if eval "test \"\${$as_ac_var+set}\" = set"; then
76435 echo $ECHO_N "(cached) $ECHO_C" >&6
76436 else
76437 if test x$gcc_no_link = xyes; then
76438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76440 { (exit 1); exit 1; }; }
76442 cat >conftest.$ac_ext <<_ACEOF
76443 /* confdefs.h. */
76444 _ACEOF
76445 cat confdefs.h >>conftest.$ac_ext
76446 cat >>conftest.$ac_ext <<_ACEOF
76447 /* end confdefs.h. */
76448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76450 #define $ac_func innocuous_$ac_func
76452 /* System header to define __stub macros and hopefully few prototypes,
76453 which can conflict with char $ac_func (); below.
76454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76455 <limits.h> exists even on freestanding compilers. */
76457 #ifdef __STDC__
76458 # include <limits.h>
76459 #else
76460 # include <assert.h>
76461 #endif
76463 #undef $ac_func
76465 /* Override any gcc2 internal prototype to avoid an error. */
76466 #ifdef __cplusplus
76467 extern "C"
76469 #endif
76470 /* We use char because int might match the return type of a gcc2
76471 builtin and then its argument prototype would still apply. */
76472 char $ac_func ();
76473 /* The GNU C library defines this for functions which it implements
76474 to always fail with ENOSYS. Some functions are actually named
76475 something starting with __ and the normal name is an alias. */
76476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76477 choke me
76478 #else
76479 char (*f) () = $ac_func;
76480 #endif
76481 #ifdef __cplusplus
76483 #endif
76486 main ()
76488 return f != $ac_func;
76490 return 0;
76492 _ACEOF
76493 rm -f conftest.$ac_objext conftest$ac_exeext
76494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76495 (eval $ac_link) 2>conftest.er1
76496 ac_status=$?
76497 grep -v '^ *+' conftest.er1 >conftest.err
76498 rm -f conftest.er1
76499 cat conftest.err >&5
76500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76501 (exit $ac_status); } &&
76502 { ac_try='test -z "$ac_c_werror_flag"
76503 || test ! -s conftest.err'
76504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76505 (eval $ac_try) 2>&5
76506 ac_status=$?
76507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76508 (exit $ac_status); }; } &&
76509 { ac_try='test -s conftest$ac_exeext'
76510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76511 (eval $ac_try) 2>&5
76512 ac_status=$?
76513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76514 (exit $ac_status); }; }; then
76515 eval "$as_ac_var=yes"
76516 else
76517 echo "$as_me: failed program was:" >&5
76518 sed 's/^/| /' conftest.$ac_ext >&5
76520 eval "$as_ac_var=no"
76522 rm -f conftest.err conftest.$ac_objext \
76523 conftest$ac_exeext conftest.$ac_ext
76525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76527 if test `eval echo '${'$as_ac_var'}'` = yes; then
76528 cat >>confdefs.h <<_ACEOF
76529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76530 _ACEOF
76533 done
76535 else
76537 echo "$as_me:$LINENO: checking for _logl declaration" >&5
76538 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
76539 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76540 if test "${glibcxx_cv_func__logl_use+set}" = set; then
76541 echo $ECHO_N "(cached) $ECHO_C" >&6
76542 else
76546 ac_ext=cc
76547 ac_cpp='$CXXCPP $CPPFLAGS'
76548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76552 cat >conftest.$ac_ext <<_ACEOF
76553 /* confdefs.h. */
76554 _ACEOF
76555 cat confdefs.h >>conftest.$ac_ext
76556 cat >>conftest.$ac_ext <<_ACEOF
76557 /* end confdefs.h. */
76558 #include <math.h>
76559 #ifdef HAVE_IEEEFP_H
76560 #include <ieeefp.h>
76561 #endif
76564 main ()
76566 _logl(0);
76568 return 0;
76570 _ACEOF
76571 rm -f conftest.$ac_objext
76572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76573 (eval $ac_compile) 2>conftest.er1
76574 ac_status=$?
76575 grep -v '^ *+' conftest.er1 >conftest.err
76576 rm -f conftest.er1
76577 cat conftest.err >&5
76578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76579 (exit $ac_status); } &&
76580 { ac_try='test -z "$ac_cxx_werror_flag"
76581 || test ! -s conftest.err'
76582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76583 (eval $ac_try) 2>&5
76584 ac_status=$?
76585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76586 (exit $ac_status); }; } &&
76587 { ac_try='test -s conftest.$ac_objext'
76588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76589 (eval $ac_try) 2>&5
76590 ac_status=$?
76591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76592 (exit $ac_status); }; }; then
76593 glibcxx_cv_func__logl_use=yes
76594 else
76595 echo "$as_me: failed program was:" >&5
76596 sed 's/^/| /' conftest.$ac_ext >&5
76598 glibcxx_cv_func__logl_use=no
76600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76601 ac_ext=c
76602 ac_cpp='$CPP $CPPFLAGS'
76603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
76612 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
76614 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76616 for ac_func in _logl
76618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76619 echo "$as_me:$LINENO: checking for $ac_func" >&5
76620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76621 if eval "test \"\${$as_ac_var+set}\" = set"; then
76622 echo $ECHO_N "(cached) $ECHO_C" >&6
76623 else
76624 if test x$gcc_no_link = xyes; then
76625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76627 { (exit 1); exit 1; }; }
76629 cat >conftest.$ac_ext <<_ACEOF
76630 /* confdefs.h. */
76631 _ACEOF
76632 cat confdefs.h >>conftest.$ac_ext
76633 cat >>conftest.$ac_ext <<_ACEOF
76634 /* end confdefs.h. */
76635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76637 #define $ac_func innocuous_$ac_func
76639 /* System header to define __stub macros and hopefully few prototypes,
76640 which can conflict with char $ac_func (); below.
76641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76642 <limits.h> exists even on freestanding compilers. */
76644 #ifdef __STDC__
76645 # include <limits.h>
76646 #else
76647 # include <assert.h>
76648 #endif
76650 #undef $ac_func
76652 /* Override any gcc2 internal prototype to avoid an error. */
76653 #ifdef __cplusplus
76654 extern "C"
76656 #endif
76657 /* We use char because int might match the return type of a gcc2
76658 builtin and then its argument prototype would still apply. */
76659 char $ac_func ();
76660 /* The GNU C library defines this for functions which it implements
76661 to always fail with ENOSYS. Some functions are actually named
76662 something starting with __ and the normal name is an alias. */
76663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76664 choke me
76665 #else
76666 char (*f) () = $ac_func;
76667 #endif
76668 #ifdef __cplusplus
76670 #endif
76673 main ()
76675 return f != $ac_func;
76677 return 0;
76679 _ACEOF
76680 rm -f conftest.$ac_objext conftest$ac_exeext
76681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76682 (eval $ac_link) 2>conftest.er1
76683 ac_status=$?
76684 grep -v '^ *+' conftest.er1 >conftest.err
76685 rm -f conftest.er1
76686 cat conftest.err >&5
76687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76688 (exit $ac_status); } &&
76689 { ac_try='test -z "$ac_c_werror_flag"
76690 || test ! -s conftest.err'
76691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76692 (eval $ac_try) 2>&5
76693 ac_status=$?
76694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76695 (exit $ac_status); }; } &&
76696 { ac_try='test -s conftest$ac_exeext'
76697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76698 (eval $ac_try) 2>&5
76699 ac_status=$?
76700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76701 (exit $ac_status); }; }; then
76702 eval "$as_ac_var=yes"
76703 else
76704 echo "$as_me: failed program was:" >&5
76705 sed 's/^/| /' conftest.$ac_ext >&5
76707 eval "$as_ac_var=no"
76709 rm -f conftest.err conftest.$ac_objext \
76710 conftest$ac_exeext conftest.$ac_ext
76712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76714 if test `eval echo '${'$as_ac_var'}'` = yes; then
76715 cat >>confdefs.h <<_ACEOF
76716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76717 _ACEOF
76720 done
76730 echo "$as_me:$LINENO: checking for log10l declaration" >&5
76731 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
76732 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76733 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
76734 echo $ECHO_N "(cached) $ECHO_C" >&6
76735 else
76739 ac_ext=cc
76740 ac_cpp='$CXXCPP $CPPFLAGS'
76741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76745 cat >conftest.$ac_ext <<_ACEOF
76746 /* confdefs.h. */
76747 _ACEOF
76748 cat confdefs.h >>conftest.$ac_ext
76749 cat >>conftest.$ac_ext <<_ACEOF
76750 /* end confdefs.h. */
76751 #include <math.h>
76752 #ifdef HAVE_IEEEFP_H
76753 #include <ieeefp.h>
76754 #endif
76757 main ()
76759 log10l(0);
76761 return 0;
76763 _ACEOF
76764 rm -f conftest.$ac_objext
76765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76766 (eval $ac_compile) 2>conftest.er1
76767 ac_status=$?
76768 grep -v '^ *+' conftest.er1 >conftest.err
76769 rm -f conftest.er1
76770 cat conftest.err >&5
76771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76772 (exit $ac_status); } &&
76773 { ac_try='test -z "$ac_cxx_werror_flag"
76774 || test ! -s conftest.err'
76775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76776 (eval $ac_try) 2>&5
76777 ac_status=$?
76778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76779 (exit $ac_status); }; } &&
76780 { ac_try='test -s conftest.$ac_objext'
76781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76782 (eval $ac_try) 2>&5
76783 ac_status=$?
76784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785 (exit $ac_status); }; }; then
76786 glibcxx_cv_func_log10l_use=yes
76787 else
76788 echo "$as_me: failed program was:" >&5
76789 sed 's/^/| /' conftest.$ac_ext >&5
76791 glibcxx_cv_func_log10l_use=no
76793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76794 ac_ext=c
76795 ac_cpp='$CPP $CPPFLAGS'
76796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76804 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
76805 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
76807 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76809 for ac_func in log10l
76811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76812 echo "$as_me:$LINENO: checking for $ac_func" >&5
76813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76814 if eval "test \"\${$as_ac_var+set}\" = set"; then
76815 echo $ECHO_N "(cached) $ECHO_C" >&6
76816 else
76817 if test x$gcc_no_link = xyes; then
76818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76820 { (exit 1); exit 1; }; }
76822 cat >conftest.$ac_ext <<_ACEOF
76823 /* confdefs.h. */
76824 _ACEOF
76825 cat confdefs.h >>conftest.$ac_ext
76826 cat >>conftest.$ac_ext <<_ACEOF
76827 /* end confdefs.h. */
76828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76830 #define $ac_func innocuous_$ac_func
76832 /* System header to define __stub macros and hopefully few prototypes,
76833 which can conflict with char $ac_func (); below.
76834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76835 <limits.h> exists even on freestanding compilers. */
76837 #ifdef __STDC__
76838 # include <limits.h>
76839 #else
76840 # include <assert.h>
76841 #endif
76843 #undef $ac_func
76845 /* Override any gcc2 internal prototype to avoid an error. */
76846 #ifdef __cplusplus
76847 extern "C"
76849 #endif
76850 /* We use char because int might match the return type of a gcc2
76851 builtin and then its argument prototype would still apply. */
76852 char $ac_func ();
76853 /* The GNU C library defines this for functions which it implements
76854 to always fail with ENOSYS. Some functions are actually named
76855 something starting with __ and the normal name is an alias. */
76856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76857 choke me
76858 #else
76859 char (*f) () = $ac_func;
76860 #endif
76861 #ifdef __cplusplus
76863 #endif
76866 main ()
76868 return f != $ac_func;
76870 return 0;
76872 _ACEOF
76873 rm -f conftest.$ac_objext conftest$ac_exeext
76874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76875 (eval $ac_link) 2>conftest.er1
76876 ac_status=$?
76877 grep -v '^ *+' conftest.er1 >conftest.err
76878 rm -f conftest.er1
76879 cat conftest.err >&5
76880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76881 (exit $ac_status); } &&
76882 { ac_try='test -z "$ac_c_werror_flag"
76883 || test ! -s conftest.err'
76884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76885 (eval $ac_try) 2>&5
76886 ac_status=$?
76887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76888 (exit $ac_status); }; } &&
76889 { ac_try='test -s conftest$ac_exeext'
76890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76891 (eval $ac_try) 2>&5
76892 ac_status=$?
76893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76894 (exit $ac_status); }; }; then
76895 eval "$as_ac_var=yes"
76896 else
76897 echo "$as_me: failed program was:" >&5
76898 sed 's/^/| /' conftest.$ac_ext >&5
76900 eval "$as_ac_var=no"
76902 rm -f conftest.err conftest.$ac_objext \
76903 conftest$ac_exeext conftest.$ac_ext
76905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76907 if test `eval echo '${'$as_ac_var'}'` = yes; then
76908 cat >>confdefs.h <<_ACEOF
76909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76910 _ACEOF
76913 done
76915 else
76917 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
76918 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
76919 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76920 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
76921 echo $ECHO_N "(cached) $ECHO_C" >&6
76922 else
76926 ac_ext=cc
76927 ac_cpp='$CXXCPP $CPPFLAGS'
76928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76932 cat >conftest.$ac_ext <<_ACEOF
76933 /* confdefs.h. */
76934 _ACEOF
76935 cat confdefs.h >>conftest.$ac_ext
76936 cat >>conftest.$ac_ext <<_ACEOF
76937 /* end confdefs.h. */
76938 #include <math.h>
76939 #ifdef HAVE_IEEEFP_H
76940 #include <ieeefp.h>
76941 #endif
76944 main ()
76946 _log10l(0);
76948 return 0;
76950 _ACEOF
76951 rm -f conftest.$ac_objext
76952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76953 (eval $ac_compile) 2>conftest.er1
76954 ac_status=$?
76955 grep -v '^ *+' conftest.er1 >conftest.err
76956 rm -f conftest.er1
76957 cat conftest.err >&5
76958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76959 (exit $ac_status); } &&
76960 { ac_try='test -z "$ac_cxx_werror_flag"
76961 || test ! -s conftest.err'
76962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76963 (eval $ac_try) 2>&5
76964 ac_status=$?
76965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76966 (exit $ac_status); }; } &&
76967 { ac_try='test -s conftest.$ac_objext'
76968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76969 (eval $ac_try) 2>&5
76970 ac_status=$?
76971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76972 (exit $ac_status); }; }; then
76973 glibcxx_cv_func__log10l_use=yes
76974 else
76975 echo "$as_me: failed program was:" >&5
76976 sed 's/^/| /' conftest.$ac_ext >&5
76978 glibcxx_cv_func__log10l_use=no
76980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76981 ac_ext=c
76982 ac_cpp='$CPP $CPPFLAGS'
76983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
76992 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
76994 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76996 for ac_func in _log10l
76998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76999 echo "$as_me:$LINENO: checking for $ac_func" >&5
77000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77001 if eval "test \"\${$as_ac_var+set}\" = set"; then
77002 echo $ECHO_N "(cached) $ECHO_C" >&6
77003 else
77004 if test x$gcc_no_link = xyes; then
77005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77007 { (exit 1); exit 1; }; }
77009 cat >conftest.$ac_ext <<_ACEOF
77010 /* confdefs.h. */
77011 _ACEOF
77012 cat confdefs.h >>conftest.$ac_ext
77013 cat >>conftest.$ac_ext <<_ACEOF
77014 /* end confdefs.h. */
77015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77017 #define $ac_func innocuous_$ac_func
77019 /* System header to define __stub macros and hopefully few prototypes,
77020 which can conflict with char $ac_func (); below.
77021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77022 <limits.h> exists even on freestanding compilers. */
77024 #ifdef __STDC__
77025 # include <limits.h>
77026 #else
77027 # include <assert.h>
77028 #endif
77030 #undef $ac_func
77032 /* Override any gcc2 internal prototype to avoid an error. */
77033 #ifdef __cplusplus
77034 extern "C"
77036 #endif
77037 /* We use char because int might match the return type of a gcc2
77038 builtin and then its argument prototype would still apply. */
77039 char $ac_func ();
77040 /* The GNU C library defines this for functions which it implements
77041 to always fail with ENOSYS. Some functions are actually named
77042 something starting with __ and the normal name is an alias. */
77043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77044 choke me
77045 #else
77046 char (*f) () = $ac_func;
77047 #endif
77048 #ifdef __cplusplus
77050 #endif
77053 main ()
77055 return f != $ac_func;
77057 return 0;
77059 _ACEOF
77060 rm -f conftest.$ac_objext conftest$ac_exeext
77061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77062 (eval $ac_link) 2>conftest.er1
77063 ac_status=$?
77064 grep -v '^ *+' conftest.er1 >conftest.err
77065 rm -f conftest.er1
77066 cat conftest.err >&5
77067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77068 (exit $ac_status); } &&
77069 { ac_try='test -z "$ac_c_werror_flag"
77070 || test ! -s conftest.err'
77071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77072 (eval $ac_try) 2>&5
77073 ac_status=$?
77074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77075 (exit $ac_status); }; } &&
77076 { ac_try='test -s conftest$ac_exeext'
77077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77078 (eval $ac_try) 2>&5
77079 ac_status=$?
77080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77081 (exit $ac_status); }; }; then
77082 eval "$as_ac_var=yes"
77083 else
77084 echo "$as_me: failed program was:" >&5
77085 sed 's/^/| /' conftest.$ac_ext >&5
77087 eval "$as_ac_var=no"
77089 rm -f conftest.err conftest.$ac_objext \
77090 conftest$ac_exeext conftest.$ac_ext
77092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77094 if test `eval echo '${'$as_ac_var'}'` = yes; then
77095 cat >>confdefs.h <<_ACEOF
77096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77097 _ACEOF
77100 done
77110 echo "$as_me:$LINENO: checking for modfl declaration" >&5
77111 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
77112 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77113 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
77114 echo $ECHO_N "(cached) $ECHO_C" >&6
77115 else
77119 ac_ext=cc
77120 ac_cpp='$CXXCPP $CPPFLAGS'
77121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
77133 main ()
77135 modfl(0, 0);
77137 return 0;
77139 _ACEOF
77140 rm -f conftest.$ac_objext
77141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77142 (eval $ac_compile) 2>conftest.er1
77143 ac_status=$?
77144 grep -v '^ *+' conftest.er1 >conftest.err
77145 rm -f conftest.er1
77146 cat conftest.err >&5
77147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77148 (exit $ac_status); } &&
77149 { ac_try='test -z "$ac_cxx_werror_flag"
77150 || test ! -s conftest.err'
77151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77152 (eval $ac_try) 2>&5
77153 ac_status=$?
77154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77155 (exit $ac_status); }; } &&
77156 { ac_try='test -s conftest.$ac_objext'
77157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77158 (eval $ac_try) 2>&5
77159 ac_status=$?
77160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77161 (exit $ac_status); }; }; then
77162 glibcxx_cv_func_modfl_use=yes
77163 else
77164 echo "$as_me: failed program was:" >&5
77165 sed 's/^/| /' conftest.$ac_ext >&5
77167 glibcxx_cv_func_modfl_use=no
77169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77170 ac_ext=c
77171 ac_cpp='$CPP $CPPFLAGS'
77172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
77181 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
77183 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77185 for ac_func in modfl
77187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77188 echo "$as_me:$LINENO: checking for $ac_func" >&5
77189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77190 if eval "test \"\${$as_ac_var+set}\" = set"; then
77191 echo $ECHO_N "(cached) $ECHO_C" >&6
77192 else
77193 if test x$gcc_no_link = xyes; then
77194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77196 { (exit 1); exit 1; }; }
77198 cat >conftest.$ac_ext <<_ACEOF
77199 /* confdefs.h. */
77200 _ACEOF
77201 cat confdefs.h >>conftest.$ac_ext
77202 cat >>conftest.$ac_ext <<_ACEOF
77203 /* end confdefs.h. */
77204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77206 #define $ac_func innocuous_$ac_func
77208 /* System header to define __stub macros and hopefully few prototypes,
77209 which can conflict with char $ac_func (); below.
77210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77211 <limits.h> exists even on freestanding compilers. */
77213 #ifdef __STDC__
77214 # include <limits.h>
77215 #else
77216 # include <assert.h>
77217 #endif
77219 #undef $ac_func
77221 /* Override any gcc2 internal prototype to avoid an error. */
77222 #ifdef __cplusplus
77223 extern "C"
77225 #endif
77226 /* We use char because int might match the return type of a gcc2
77227 builtin and then its argument prototype would still apply. */
77228 char $ac_func ();
77229 /* The GNU C library defines this for functions which it implements
77230 to always fail with ENOSYS. Some functions are actually named
77231 something starting with __ and the normal name is an alias. */
77232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77233 choke me
77234 #else
77235 char (*f) () = $ac_func;
77236 #endif
77237 #ifdef __cplusplus
77239 #endif
77242 main ()
77244 return f != $ac_func;
77246 return 0;
77248 _ACEOF
77249 rm -f conftest.$ac_objext conftest$ac_exeext
77250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77251 (eval $ac_link) 2>conftest.er1
77252 ac_status=$?
77253 grep -v '^ *+' conftest.er1 >conftest.err
77254 rm -f conftest.er1
77255 cat conftest.err >&5
77256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77257 (exit $ac_status); } &&
77258 { ac_try='test -z "$ac_c_werror_flag"
77259 || test ! -s conftest.err'
77260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77261 (eval $ac_try) 2>&5
77262 ac_status=$?
77263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77264 (exit $ac_status); }; } &&
77265 { ac_try='test -s conftest$ac_exeext'
77266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77267 (eval $ac_try) 2>&5
77268 ac_status=$?
77269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77270 (exit $ac_status); }; }; then
77271 eval "$as_ac_var=yes"
77272 else
77273 echo "$as_me: failed program was:" >&5
77274 sed 's/^/| /' conftest.$ac_ext >&5
77276 eval "$as_ac_var=no"
77278 rm -f conftest.err conftest.$ac_objext \
77279 conftest$ac_exeext conftest.$ac_ext
77281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77283 if test `eval echo '${'$as_ac_var'}'` = yes; then
77284 cat >>confdefs.h <<_ACEOF
77285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77286 _ACEOF
77289 done
77291 else
77293 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
77294 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
77295 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77296 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
77297 echo $ECHO_N "(cached) $ECHO_C" >&6
77298 else
77302 ac_ext=cc
77303 ac_cpp='$CXXCPP $CPPFLAGS'
77304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
77316 main ()
77318 _modfl(0, 0);
77320 return 0;
77322 _ACEOF
77323 rm -f conftest.$ac_objext
77324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77325 (eval $ac_compile) 2>conftest.er1
77326 ac_status=$?
77327 grep -v '^ *+' conftest.er1 >conftest.err
77328 rm -f conftest.er1
77329 cat conftest.err >&5
77330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77331 (exit $ac_status); } &&
77332 { ac_try='test -z "$ac_cxx_werror_flag"
77333 || test ! -s conftest.err'
77334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77335 (eval $ac_try) 2>&5
77336 ac_status=$?
77337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77338 (exit $ac_status); }; } &&
77339 { ac_try='test -s conftest.$ac_objext'
77340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77341 (eval $ac_try) 2>&5
77342 ac_status=$?
77343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77344 (exit $ac_status); }; }; then
77345 glibcxx_cv_func__modfl_use=yes
77346 else
77347 echo "$as_me: failed program was:" >&5
77348 sed 's/^/| /' conftest.$ac_ext >&5
77350 glibcxx_cv_func__modfl_use=no
77352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77353 ac_ext=c
77354 ac_cpp='$CPP $CPPFLAGS'
77355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
77364 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
77366 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77368 for ac_func in _modfl
77370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77371 echo "$as_me:$LINENO: checking for $ac_func" >&5
77372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77373 if eval "test \"\${$as_ac_var+set}\" = set"; then
77374 echo $ECHO_N "(cached) $ECHO_C" >&6
77375 else
77376 if test x$gcc_no_link = xyes; then
77377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77379 { (exit 1); exit 1; }; }
77381 cat >conftest.$ac_ext <<_ACEOF
77382 /* confdefs.h. */
77383 _ACEOF
77384 cat confdefs.h >>conftest.$ac_ext
77385 cat >>conftest.$ac_ext <<_ACEOF
77386 /* end confdefs.h. */
77387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77389 #define $ac_func innocuous_$ac_func
77391 /* System header to define __stub macros and hopefully few prototypes,
77392 which can conflict with char $ac_func (); below.
77393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77394 <limits.h> exists even on freestanding compilers. */
77396 #ifdef __STDC__
77397 # include <limits.h>
77398 #else
77399 # include <assert.h>
77400 #endif
77402 #undef $ac_func
77404 /* Override any gcc2 internal prototype to avoid an error. */
77405 #ifdef __cplusplus
77406 extern "C"
77408 #endif
77409 /* We use char because int might match the return type of a gcc2
77410 builtin and then its argument prototype would still apply. */
77411 char $ac_func ();
77412 /* The GNU C library defines this for functions which it implements
77413 to always fail with ENOSYS. Some functions are actually named
77414 something starting with __ and the normal name is an alias. */
77415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77416 choke me
77417 #else
77418 char (*f) () = $ac_func;
77419 #endif
77420 #ifdef __cplusplus
77422 #endif
77425 main ()
77427 return f != $ac_func;
77429 return 0;
77431 _ACEOF
77432 rm -f conftest.$ac_objext conftest$ac_exeext
77433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77434 (eval $ac_link) 2>conftest.er1
77435 ac_status=$?
77436 grep -v '^ *+' conftest.er1 >conftest.err
77437 rm -f conftest.er1
77438 cat conftest.err >&5
77439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77440 (exit $ac_status); } &&
77441 { ac_try='test -z "$ac_c_werror_flag"
77442 || test ! -s conftest.err'
77443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77444 (eval $ac_try) 2>&5
77445 ac_status=$?
77446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77447 (exit $ac_status); }; } &&
77448 { ac_try='test -s conftest$ac_exeext'
77449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77450 (eval $ac_try) 2>&5
77451 ac_status=$?
77452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77453 (exit $ac_status); }; }; then
77454 eval "$as_ac_var=yes"
77455 else
77456 echo "$as_me: failed program was:" >&5
77457 sed 's/^/| /' conftest.$ac_ext >&5
77459 eval "$as_ac_var=no"
77461 rm -f conftest.err conftest.$ac_objext \
77462 conftest$ac_exeext conftest.$ac_ext
77464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77466 if test `eval echo '${'$as_ac_var'}'` = yes; then
77467 cat >>confdefs.h <<_ACEOF
77468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77469 _ACEOF
77472 done
77482 echo "$as_me:$LINENO: checking for powl declaration" >&5
77483 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
77484 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77485 if test "${glibcxx_cv_func_powl_use+set}" = set; then
77486 echo $ECHO_N "(cached) $ECHO_C" >&6
77487 else
77491 ac_ext=cc
77492 ac_cpp='$CXXCPP $CPPFLAGS'
77493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
77505 main ()
77507 powl(0, 0);
77509 return 0;
77511 _ACEOF
77512 rm -f conftest.$ac_objext
77513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77514 (eval $ac_compile) 2>conftest.er1
77515 ac_status=$?
77516 grep -v '^ *+' conftest.er1 >conftest.err
77517 rm -f conftest.er1
77518 cat conftest.err >&5
77519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77520 (exit $ac_status); } &&
77521 { ac_try='test -z "$ac_cxx_werror_flag"
77522 || test ! -s conftest.err'
77523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77524 (eval $ac_try) 2>&5
77525 ac_status=$?
77526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77527 (exit $ac_status); }; } &&
77528 { ac_try='test -s conftest.$ac_objext'
77529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77530 (eval $ac_try) 2>&5
77531 ac_status=$?
77532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77533 (exit $ac_status); }; }; then
77534 glibcxx_cv_func_powl_use=yes
77535 else
77536 echo "$as_me: failed program was:" >&5
77537 sed 's/^/| /' conftest.$ac_ext >&5
77539 glibcxx_cv_func_powl_use=no
77541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77542 ac_ext=c
77543 ac_cpp='$CPP $CPPFLAGS'
77544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
77553 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
77555 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77557 for ac_func in powl
77559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77560 echo "$as_me:$LINENO: checking for $ac_func" >&5
77561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77562 if eval "test \"\${$as_ac_var+set}\" = set"; then
77563 echo $ECHO_N "(cached) $ECHO_C" >&6
77564 else
77565 if test x$gcc_no_link = xyes; then
77566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77568 { (exit 1); exit 1; }; }
77570 cat >conftest.$ac_ext <<_ACEOF
77571 /* confdefs.h. */
77572 _ACEOF
77573 cat confdefs.h >>conftest.$ac_ext
77574 cat >>conftest.$ac_ext <<_ACEOF
77575 /* end confdefs.h. */
77576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77578 #define $ac_func innocuous_$ac_func
77580 /* System header to define __stub macros and hopefully few prototypes,
77581 which can conflict with char $ac_func (); below.
77582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77583 <limits.h> exists even on freestanding compilers. */
77585 #ifdef __STDC__
77586 # include <limits.h>
77587 #else
77588 # include <assert.h>
77589 #endif
77591 #undef $ac_func
77593 /* Override any gcc2 internal prototype to avoid an error. */
77594 #ifdef __cplusplus
77595 extern "C"
77597 #endif
77598 /* We use char because int might match the return type of a gcc2
77599 builtin and then its argument prototype would still apply. */
77600 char $ac_func ();
77601 /* The GNU C library defines this for functions which it implements
77602 to always fail with ENOSYS. Some functions are actually named
77603 something starting with __ and the normal name is an alias. */
77604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77605 choke me
77606 #else
77607 char (*f) () = $ac_func;
77608 #endif
77609 #ifdef __cplusplus
77611 #endif
77614 main ()
77616 return f != $ac_func;
77618 return 0;
77620 _ACEOF
77621 rm -f conftest.$ac_objext conftest$ac_exeext
77622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77623 (eval $ac_link) 2>conftest.er1
77624 ac_status=$?
77625 grep -v '^ *+' conftest.er1 >conftest.err
77626 rm -f conftest.er1
77627 cat conftest.err >&5
77628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77629 (exit $ac_status); } &&
77630 { ac_try='test -z "$ac_c_werror_flag"
77631 || test ! -s conftest.err'
77632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77633 (eval $ac_try) 2>&5
77634 ac_status=$?
77635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77636 (exit $ac_status); }; } &&
77637 { ac_try='test -s conftest$ac_exeext'
77638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77639 (eval $ac_try) 2>&5
77640 ac_status=$?
77641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77642 (exit $ac_status); }; }; then
77643 eval "$as_ac_var=yes"
77644 else
77645 echo "$as_me: failed program was:" >&5
77646 sed 's/^/| /' conftest.$ac_ext >&5
77648 eval "$as_ac_var=no"
77650 rm -f conftest.err conftest.$ac_objext \
77651 conftest$ac_exeext conftest.$ac_ext
77653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77655 if test `eval echo '${'$as_ac_var'}'` = yes; then
77656 cat >>confdefs.h <<_ACEOF
77657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77658 _ACEOF
77661 done
77663 else
77665 echo "$as_me:$LINENO: checking for _powl declaration" >&5
77666 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
77667 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77668 if test "${glibcxx_cv_func__powl_use+set}" = set; then
77669 echo $ECHO_N "(cached) $ECHO_C" >&6
77670 else
77674 ac_ext=cc
77675 ac_cpp='$CXXCPP $CPPFLAGS'
77676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
77688 main ()
77690 _powl(0, 0);
77692 return 0;
77694 _ACEOF
77695 rm -f conftest.$ac_objext
77696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77697 (eval $ac_compile) 2>conftest.er1
77698 ac_status=$?
77699 grep -v '^ *+' conftest.er1 >conftest.err
77700 rm -f conftest.er1
77701 cat conftest.err >&5
77702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77703 (exit $ac_status); } &&
77704 { ac_try='test -z "$ac_cxx_werror_flag"
77705 || test ! -s conftest.err'
77706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77707 (eval $ac_try) 2>&5
77708 ac_status=$?
77709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77710 (exit $ac_status); }; } &&
77711 { ac_try='test -s conftest.$ac_objext'
77712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77713 (eval $ac_try) 2>&5
77714 ac_status=$?
77715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77716 (exit $ac_status); }; }; then
77717 glibcxx_cv_func__powl_use=yes
77718 else
77719 echo "$as_me: failed program was:" >&5
77720 sed 's/^/| /' conftest.$ac_ext >&5
77722 glibcxx_cv_func__powl_use=no
77724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77725 ac_ext=c
77726 ac_cpp='$CPP $CPPFLAGS'
77727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77735 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
77736 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
77738 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77740 for ac_func in _powl
77742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77743 echo "$as_me:$LINENO: checking for $ac_func" >&5
77744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77745 if eval "test \"\${$as_ac_var+set}\" = set"; then
77746 echo $ECHO_N "(cached) $ECHO_C" >&6
77747 else
77748 if test x$gcc_no_link = xyes; then
77749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77751 { (exit 1); exit 1; }; }
77753 cat >conftest.$ac_ext <<_ACEOF
77754 /* confdefs.h. */
77755 _ACEOF
77756 cat confdefs.h >>conftest.$ac_ext
77757 cat >>conftest.$ac_ext <<_ACEOF
77758 /* end confdefs.h. */
77759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77761 #define $ac_func innocuous_$ac_func
77763 /* System header to define __stub macros and hopefully few prototypes,
77764 which can conflict with char $ac_func (); below.
77765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77766 <limits.h> exists even on freestanding compilers. */
77768 #ifdef __STDC__
77769 # include <limits.h>
77770 #else
77771 # include <assert.h>
77772 #endif
77774 #undef $ac_func
77776 /* Override any gcc2 internal prototype to avoid an error. */
77777 #ifdef __cplusplus
77778 extern "C"
77780 #endif
77781 /* We use char because int might match the return type of a gcc2
77782 builtin and then its argument prototype would still apply. */
77783 char $ac_func ();
77784 /* The GNU C library defines this for functions which it implements
77785 to always fail with ENOSYS. Some functions are actually named
77786 something starting with __ and the normal name is an alias. */
77787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77788 choke me
77789 #else
77790 char (*f) () = $ac_func;
77791 #endif
77792 #ifdef __cplusplus
77794 #endif
77797 main ()
77799 return f != $ac_func;
77801 return 0;
77803 _ACEOF
77804 rm -f conftest.$ac_objext conftest$ac_exeext
77805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77806 (eval $ac_link) 2>conftest.er1
77807 ac_status=$?
77808 grep -v '^ *+' conftest.er1 >conftest.err
77809 rm -f conftest.er1
77810 cat conftest.err >&5
77811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77812 (exit $ac_status); } &&
77813 { ac_try='test -z "$ac_c_werror_flag"
77814 || test ! -s conftest.err'
77815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77816 (eval $ac_try) 2>&5
77817 ac_status=$?
77818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77819 (exit $ac_status); }; } &&
77820 { ac_try='test -s conftest$ac_exeext'
77821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77822 (eval $ac_try) 2>&5
77823 ac_status=$?
77824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77825 (exit $ac_status); }; }; then
77826 eval "$as_ac_var=yes"
77827 else
77828 echo "$as_me: failed program was:" >&5
77829 sed 's/^/| /' conftest.$ac_ext >&5
77831 eval "$as_ac_var=no"
77833 rm -f conftest.err conftest.$ac_objext \
77834 conftest$ac_exeext conftest.$ac_ext
77836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77838 if test `eval echo '${'$as_ac_var'}'` = yes; then
77839 cat >>confdefs.h <<_ACEOF
77840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77841 _ACEOF
77844 done
77854 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
77855 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
77856 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77857 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
77858 echo $ECHO_N "(cached) $ECHO_C" >&6
77859 else
77863 ac_ext=cc
77864 ac_cpp='$CXXCPP $CPPFLAGS'
77865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77869 cat >conftest.$ac_ext <<_ACEOF
77870 /* confdefs.h. */
77871 _ACEOF
77872 cat confdefs.h >>conftest.$ac_ext
77873 cat >>conftest.$ac_ext <<_ACEOF
77874 /* end confdefs.h. */
77875 #include <math.h>
77876 #ifdef HAVE_IEEEFP_H
77877 #include <ieeefp.h>
77878 #endif
77881 main ()
77883 sqrtl(0);
77885 return 0;
77887 _ACEOF
77888 rm -f conftest.$ac_objext
77889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77890 (eval $ac_compile) 2>conftest.er1
77891 ac_status=$?
77892 grep -v '^ *+' conftest.er1 >conftest.err
77893 rm -f conftest.er1
77894 cat conftest.err >&5
77895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77896 (exit $ac_status); } &&
77897 { ac_try='test -z "$ac_cxx_werror_flag"
77898 || test ! -s conftest.err'
77899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77900 (eval $ac_try) 2>&5
77901 ac_status=$?
77902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77903 (exit $ac_status); }; } &&
77904 { ac_try='test -s conftest.$ac_objext'
77905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77906 (eval $ac_try) 2>&5
77907 ac_status=$?
77908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77909 (exit $ac_status); }; }; then
77910 glibcxx_cv_func_sqrtl_use=yes
77911 else
77912 echo "$as_me: failed program was:" >&5
77913 sed 's/^/| /' conftest.$ac_ext >&5
77915 glibcxx_cv_func_sqrtl_use=no
77917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77918 ac_ext=c
77919 ac_cpp='$CPP $CPPFLAGS'
77920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
77929 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
77931 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77933 for ac_func in sqrtl
77935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77936 echo "$as_me:$LINENO: checking for $ac_func" >&5
77937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77938 if eval "test \"\${$as_ac_var+set}\" = set"; then
77939 echo $ECHO_N "(cached) $ECHO_C" >&6
77940 else
77941 if test x$gcc_no_link = xyes; then
77942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77944 { (exit 1); exit 1; }; }
77946 cat >conftest.$ac_ext <<_ACEOF
77947 /* confdefs.h. */
77948 _ACEOF
77949 cat confdefs.h >>conftest.$ac_ext
77950 cat >>conftest.$ac_ext <<_ACEOF
77951 /* end confdefs.h. */
77952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77954 #define $ac_func innocuous_$ac_func
77956 /* System header to define __stub macros and hopefully few prototypes,
77957 which can conflict with char $ac_func (); below.
77958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77959 <limits.h> exists even on freestanding compilers. */
77961 #ifdef __STDC__
77962 # include <limits.h>
77963 #else
77964 # include <assert.h>
77965 #endif
77967 #undef $ac_func
77969 /* Override any gcc2 internal prototype to avoid an error. */
77970 #ifdef __cplusplus
77971 extern "C"
77973 #endif
77974 /* We use char because int might match the return type of a gcc2
77975 builtin and then its argument prototype would still apply. */
77976 char $ac_func ();
77977 /* The GNU C library defines this for functions which it implements
77978 to always fail with ENOSYS. Some functions are actually named
77979 something starting with __ and the normal name is an alias. */
77980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77981 choke me
77982 #else
77983 char (*f) () = $ac_func;
77984 #endif
77985 #ifdef __cplusplus
77987 #endif
77990 main ()
77992 return f != $ac_func;
77994 return 0;
77996 _ACEOF
77997 rm -f conftest.$ac_objext conftest$ac_exeext
77998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77999 (eval $ac_link) 2>conftest.er1
78000 ac_status=$?
78001 grep -v '^ *+' conftest.er1 >conftest.err
78002 rm -f conftest.er1
78003 cat conftest.err >&5
78004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78005 (exit $ac_status); } &&
78006 { ac_try='test -z "$ac_c_werror_flag"
78007 || test ! -s conftest.err'
78008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78009 (eval $ac_try) 2>&5
78010 ac_status=$?
78011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78012 (exit $ac_status); }; } &&
78013 { ac_try='test -s conftest$ac_exeext'
78014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78015 (eval $ac_try) 2>&5
78016 ac_status=$?
78017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78018 (exit $ac_status); }; }; then
78019 eval "$as_ac_var=yes"
78020 else
78021 echo "$as_me: failed program was:" >&5
78022 sed 's/^/| /' conftest.$ac_ext >&5
78024 eval "$as_ac_var=no"
78026 rm -f conftest.err conftest.$ac_objext \
78027 conftest$ac_exeext conftest.$ac_ext
78029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78031 if test `eval echo '${'$as_ac_var'}'` = yes; then
78032 cat >>confdefs.h <<_ACEOF
78033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78034 _ACEOF
78037 done
78039 else
78041 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
78042 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
78043 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
78044 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
78045 echo $ECHO_N "(cached) $ECHO_C" >&6
78046 else
78050 ac_ext=cc
78051 ac_cpp='$CXXCPP $CPPFLAGS'
78052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78056 cat >conftest.$ac_ext <<_ACEOF
78057 /* confdefs.h. */
78058 _ACEOF
78059 cat confdefs.h >>conftest.$ac_ext
78060 cat >>conftest.$ac_ext <<_ACEOF
78061 /* end confdefs.h. */
78062 #include <math.h>
78063 #ifdef HAVE_IEEEFP_H
78064 #include <ieeefp.h>
78065 #endif
78068 main ()
78070 _sqrtl(0);
78072 return 0;
78074 _ACEOF
78075 rm -f conftest.$ac_objext
78076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78077 (eval $ac_compile) 2>conftest.er1
78078 ac_status=$?
78079 grep -v '^ *+' conftest.er1 >conftest.err
78080 rm -f conftest.er1
78081 cat conftest.err >&5
78082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78083 (exit $ac_status); } &&
78084 { ac_try='test -z "$ac_cxx_werror_flag"
78085 || test ! -s conftest.err'
78086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78087 (eval $ac_try) 2>&5
78088 ac_status=$?
78089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78090 (exit $ac_status); }; } &&
78091 { ac_try='test -s conftest.$ac_objext'
78092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78093 (eval $ac_try) 2>&5
78094 ac_status=$?
78095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78096 (exit $ac_status); }; }; then
78097 glibcxx_cv_func__sqrtl_use=yes
78098 else
78099 echo "$as_me: failed program was:" >&5
78100 sed 's/^/| /' conftest.$ac_ext >&5
78102 glibcxx_cv_func__sqrtl_use=no
78104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78105 ac_ext=c
78106 ac_cpp='$CPP $CPPFLAGS'
78107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
78116 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
78118 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78120 for ac_func in _sqrtl
78122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78123 echo "$as_me:$LINENO: checking for $ac_func" >&5
78124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78125 if eval "test \"\${$as_ac_var+set}\" = set"; then
78126 echo $ECHO_N "(cached) $ECHO_C" >&6
78127 else
78128 if test x$gcc_no_link = xyes; then
78129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78131 { (exit 1); exit 1; }; }
78133 cat >conftest.$ac_ext <<_ACEOF
78134 /* confdefs.h. */
78135 _ACEOF
78136 cat confdefs.h >>conftest.$ac_ext
78137 cat >>conftest.$ac_ext <<_ACEOF
78138 /* end confdefs.h. */
78139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78141 #define $ac_func innocuous_$ac_func
78143 /* System header to define __stub macros and hopefully few prototypes,
78144 which can conflict with char $ac_func (); below.
78145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78146 <limits.h> exists even on freestanding compilers. */
78148 #ifdef __STDC__
78149 # include <limits.h>
78150 #else
78151 # include <assert.h>
78152 #endif
78154 #undef $ac_func
78156 /* Override any gcc2 internal prototype to avoid an error. */
78157 #ifdef __cplusplus
78158 extern "C"
78160 #endif
78161 /* We use char because int might match the return type of a gcc2
78162 builtin and then its argument prototype would still apply. */
78163 char $ac_func ();
78164 /* The GNU C library defines this for functions which it implements
78165 to always fail with ENOSYS. Some functions are actually named
78166 something starting with __ and the normal name is an alias. */
78167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78168 choke me
78169 #else
78170 char (*f) () = $ac_func;
78171 #endif
78172 #ifdef __cplusplus
78174 #endif
78177 main ()
78179 return f != $ac_func;
78181 return 0;
78183 _ACEOF
78184 rm -f conftest.$ac_objext conftest$ac_exeext
78185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78186 (eval $ac_link) 2>conftest.er1
78187 ac_status=$?
78188 grep -v '^ *+' conftest.er1 >conftest.err
78189 rm -f conftest.er1
78190 cat conftest.err >&5
78191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78192 (exit $ac_status); } &&
78193 { ac_try='test -z "$ac_c_werror_flag"
78194 || test ! -s conftest.err'
78195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78196 (eval $ac_try) 2>&5
78197 ac_status=$?
78198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78199 (exit $ac_status); }; } &&
78200 { ac_try='test -s conftest$ac_exeext'
78201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78202 (eval $ac_try) 2>&5
78203 ac_status=$?
78204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78205 (exit $ac_status); }; }; then
78206 eval "$as_ac_var=yes"
78207 else
78208 echo "$as_me: failed program was:" >&5
78209 sed 's/^/| /' conftest.$ac_ext >&5
78211 eval "$as_ac_var=no"
78213 rm -f conftest.err conftest.$ac_objext \
78214 conftest$ac_exeext conftest.$ac_ext
78216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78218 if test `eval echo '${'$as_ac_var'}'` = yes; then
78219 cat >>confdefs.h <<_ACEOF
78220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78221 _ACEOF
78224 done
78234 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
78235 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
78236 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78237 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
78238 echo $ECHO_N "(cached) $ECHO_C" >&6
78239 else
78243 ac_ext=cc
78244 ac_cpp='$CXXCPP $CPPFLAGS'
78245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
78257 main ()
78259 sincosl(0, 0, 0);
78261 return 0;
78263 _ACEOF
78264 rm -f conftest.$ac_objext
78265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78266 (eval $ac_compile) 2>conftest.er1
78267 ac_status=$?
78268 grep -v '^ *+' conftest.er1 >conftest.err
78269 rm -f conftest.er1
78270 cat conftest.err >&5
78271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78272 (exit $ac_status); } &&
78273 { ac_try='test -z "$ac_cxx_werror_flag"
78274 || test ! -s conftest.err'
78275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78276 (eval $ac_try) 2>&5
78277 ac_status=$?
78278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78279 (exit $ac_status); }; } &&
78280 { ac_try='test -s conftest.$ac_objext'
78281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78282 (eval $ac_try) 2>&5
78283 ac_status=$?
78284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78285 (exit $ac_status); }; }; then
78286 glibcxx_cv_func_sincosl_use=yes
78287 else
78288 echo "$as_me: failed program was:" >&5
78289 sed 's/^/| /' conftest.$ac_ext >&5
78291 glibcxx_cv_func_sincosl_use=no
78293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78294 ac_ext=c
78295 ac_cpp='$CPP $CPPFLAGS'
78296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
78305 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
78307 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78309 for ac_func in sincosl
78311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78312 echo "$as_me:$LINENO: checking for $ac_func" >&5
78313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78314 if eval "test \"\${$as_ac_var+set}\" = set"; then
78315 echo $ECHO_N "(cached) $ECHO_C" >&6
78316 else
78317 if test x$gcc_no_link = xyes; then
78318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78320 { (exit 1); exit 1; }; }
78322 cat >conftest.$ac_ext <<_ACEOF
78323 /* confdefs.h. */
78324 _ACEOF
78325 cat confdefs.h >>conftest.$ac_ext
78326 cat >>conftest.$ac_ext <<_ACEOF
78327 /* end confdefs.h. */
78328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78330 #define $ac_func innocuous_$ac_func
78332 /* System header to define __stub macros and hopefully few prototypes,
78333 which can conflict with char $ac_func (); below.
78334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78335 <limits.h> exists even on freestanding compilers. */
78337 #ifdef __STDC__
78338 # include <limits.h>
78339 #else
78340 # include <assert.h>
78341 #endif
78343 #undef $ac_func
78345 /* Override any gcc2 internal prototype to avoid an error. */
78346 #ifdef __cplusplus
78347 extern "C"
78349 #endif
78350 /* We use char because int might match the return type of a gcc2
78351 builtin and then its argument prototype would still apply. */
78352 char $ac_func ();
78353 /* The GNU C library defines this for functions which it implements
78354 to always fail with ENOSYS. Some functions are actually named
78355 something starting with __ and the normal name is an alias. */
78356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78357 choke me
78358 #else
78359 char (*f) () = $ac_func;
78360 #endif
78361 #ifdef __cplusplus
78363 #endif
78366 main ()
78368 return f != $ac_func;
78370 return 0;
78372 _ACEOF
78373 rm -f conftest.$ac_objext conftest$ac_exeext
78374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78375 (eval $ac_link) 2>conftest.er1
78376 ac_status=$?
78377 grep -v '^ *+' conftest.er1 >conftest.err
78378 rm -f conftest.er1
78379 cat conftest.err >&5
78380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78381 (exit $ac_status); } &&
78382 { ac_try='test -z "$ac_c_werror_flag"
78383 || test ! -s conftest.err'
78384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78385 (eval $ac_try) 2>&5
78386 ac_status=$?
78387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78388 (exit $ac_status); }; } &&
78389 { ac_try='test -s conftest$ac_exeext'
78390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78391 (eval $ac_try) 2>&5
78392 ac_status=$?
78393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78394 (exit $ac_status); }; }; then
78395 eval "$as_ac_var=yes"
78396 else
78397 echo "$as_me: failed program was:" >&5
78398 sed 's/^/| /' conftest.$ac_ext >&5
78400 eval "$as_ac_var=no"
78402 rm -f conftest.err conftest.$ac_objext \
78403 conftest$ac_exeext conftest.$ac_ext
78405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78407 if test `eval echo '${'$as_ac_var'}'` = yes; then
78408 cat >>confdefs.h <<_ACEOF
78409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78410 _ACEOF
78413 done
78415 else
78417 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
78418 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
78419 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78420 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
78421 echo $ECHO_N "(cached) $ECHO_C" >&6
78422 else
78426 ac_ext=cc
78427 ac_cpp='$CXXCPP $CPPFLAGS'
78428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
78440 main ()
78442 _sincosl(0, 0, 0);
78444 return 0;
78446 _ACEOF
78447 rm -f conftest.$ac_objext
78448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78449 (eval $ac_compile) 2>conftest.er1
78450 ac_status=$?
78451 grep -v '^ *+' conftest.er1 >conftest.err
78452 rm -f conftest.er1
78453 cat conftest.err >&5
78454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78455 (exit $ac_status); } &&
78456 { ac_try='test -z "$ac_cxx_werror_flag"
78457 || test ! -s conftest.err'
78458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78459 (eval $ac_try) 2>&5
78460 ac_status=$?
78461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78462 (exit $ac_status); }; } &&
78463 { ac_try='test -s conftest.$ac_objext'
78464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78465 (eval $ac_try) 2>&5
78466 ac_status=$?
78467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78468 (exit $ac_status); }; }; then
78469 glibcxx_cv_func__sincosl_use=yes
78470 else
78471 echo "$as_me: failed program was:" >&5
78472 sed 's/^/| /' conftest.$ac_ext >&5
78474 glibcxx_cv_func__sincosl_use=no
78476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78477 ac_ext=c
78478 ac_cpp='$CPP $CPPFLAGS'
78479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
78488 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
78490 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78492 for ac_func in _sincosl
78494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78495 echo "$as_me:$LINENO: checking for $ac_func" >&5
78496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78497 if eval "test \"\${$as_ac_var+set}\" = set"; then
78498 echo $ECHO_N "(cached) $ECHO_C" >&6
78499 else
78500 if test x$gcc_no_link = xyes; then
78501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78503 { (exit 1); exit 1; }; }
78505 cat >conftest.$ac_ext <<_ACEOF
78506 /* confdefs.h. */
78507 _ACEOF
78508 cat confdefs.h >>conftest.$ac_ext
78509 cat >>conftest.$ac_ext <<_ACEOF
78510 /* end confdefs.h. */
78511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78513 #define $ac_func innocuous_$ac_func
78515 /* System header to define __stub macros and hopefully few prototypes,
78516 which can conflict with char $ac_func (); below.
78517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78518 <limits.h> exists even on freestanding compilers. */
78520 #ifdef __STDC__
78521 # include <limits.h>
78522 #else
78523 # include <assert.h>
78524 #endif
78526 #undef $ac_func
78528 /* Override any gcc2 internal prototype to avoid an error. */
78529 #ifdef __cplusplus
78530 extern "C"
78532 #endif
78533 /* We use char because int might match the return type of a gcc2
78534 builtin and then its argument prototype would still apply. */
78535 char $ac_func ();
78536 /* The GNU C library defines this for functions which it implements
78537 to always fail with ENOSYS. Some functions are actually named
78538 something starting with __ and the normal name is an alias. */
78539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78540 choke me
78541 #else
78542 char (*f) () = $ac_func;
78543 #endif
78544 #ifdef __cplusplus
78546 #endif
78549 main ()
78551 return f != $ac_func;
78553 return 0;
78555 _ACEOF
78556 rm -f conftest.$ac_objext conftest$ac_exeext
78557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78558 (eval $ac_link) 2>conftest.er1
78559 ac_status=$?
78560 grep -v '^ *+' conftest.er1 >conftest.err
78561 rm -f conftest.er1
78562 cat conftest.err >&5
78563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78564 (exit $ac_status); } &&
78565 { ac_try='test -z "$ac_c_werror_flag"
78566 || test ! -s conftest.err'
78567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78568 (eval $ac_try) 2>&5
78569 ac_status=$?
78570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78571 (exit $ac_status); }; } &&
78572 { ac_try='test -s conftest$ac_exeext'
78573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78574 (eval $ac_try) 2>&5
78575 ac_status=$?
78576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78577 (exit $ac_status); }; }; then
78578 eval "$as_ac_var=yes"
78579 else
78580 echo "$as_me: failed program was:" >&5
78581 sed 's/^/| /' conftest.$ac_ext >&5
78583 eval "$as_ac_var=no"
78585 rm -f conftest.err conftest.$ac_objext \
78586 conftest$ac_exeext conftest.$ac_ext
78588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78590 if test `eval echo '${'$as_ac_var'}'` = yes; then
78591 cat >>confdefs.h <<_ACEOF
78592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78593 _ACEOF
78596 done
78606 echo "$as_me:$LINENO: checking for finitel declaration" >&5
78607 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
78608 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78609 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
78610 echo $ECHO_N "(cached) $ECHO_C" >&6
78611 else
78615 ac_ext=cc
78616 ac_cpp='$CXXCPP $CPPFLAGS'
78617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78621 cat >conftest.$ac_ext <<_ACEOF
78622 /* confdefs.h. */
78623 _ACEOF
78624 cat confdefs.h >>conftest.$ac_ext
78625 cat >>conftest.$ac_ext <<_ACEOF
78626 /* end confdefs.h. */
78627 #include <math.h>
78628 #ifdef HAVE_IEEEFP_H
78629 #include <ieeefp.h>
78630 #endif
78633 main ()
78635 finitel(0);
78637 return 0;
78639 _ACEOF
78640 rm -f conftest.$ac_objext
78641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78642 (eval $ac_compile) 2>conftest.er1
78643 ac_status=$?
78644 grep -v '^ *+' conftest.er1 >conftest.err
78645 rm -f conftest.er1
78646 cat conftest.err >&5
78647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78648 (exit $ac_status); } &&
78649 { ac_try='test -z "$ac_cxx_werror_flag"
78650 || test ! -s conftest.err'
78651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78652 (eval $ac_try) 2>&5
78653 ac_status=$?
78654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78655 (exit $ac_status); }; } &&
78656 { ac_try='test -s conftest.$ac_objext'
78657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78658 (eval $ac_try) 2>&5
78659 ac_status=$?
78660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78661 (exit $ac_status); }; }; then
78662 glibcxx_cv_func_finitel_use=yes
78663 else
78664 echo "$as_me: failed program was:" >&5
78665 sed 's/^/| /' conftest.$ac_ext >&5
78667 glibcxx_cv_func_finitel_use=no
78669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78670 ac_ext=c
78671 ac_cpp='$CPP $CPPFLAGS'
78672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
78681 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
78683 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78685 for ac_func in finitel
78687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78688 echo "$as_me:$LINENO: checking for $ac_func" >&5
78689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78690 if eval "test \"\${$as_ac_var+set}\" = set"; then
78691 echo $ECHO_N "(cached) $ECHO_C" >&6
78692 else
78693 if test x$gcc_no_link = xyes; then
78694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78696 { (exit 1); exit 1; }; }
78698 cat >conftest.$ac_ext <<_ACEOF
78699 /* confdefs.h. */
78700 _ACEOF
78701 cat confdefs.h >>conftest.$ac_ext
78702 cat >>conftest.$ac_ext <<_ACEOF
78703 /* end confdefs.h. */
78704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78706 #define $ac_func innocuous_$ac_func
78708 /* System header to define __stub macros and hopefully few prototypes,
78709 which can conflict with char $ac_func (); below.
78710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78711 <limits.h> exists even on freestanding compilers. */
78713 #ifdef __STDC__
78714 # include <limits.h>
78715 #else
78716 # include <assert.h>
78717 #endif
78719 #undef $ac_func
78721 /* Override any gcc2 internal prototype to avoid an error. */
78722 #ifdef __cplusplus
78723 extern "C"
78725 #endif
78726 /* We use char because int might match the return type of a gcc2
78727 builtin and then its argument prototype would still apply. */
78728 char $ac_func ();
78729 /* The GNU C library defines this for functions which it implements
78730 to always fail with ENOSYS. Some functions are actually named
78731 something starting with __ and the normal name is an alias. */
78732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78733 choke me
78734 #else
78735 char (*f) () = $ac_func;
78736 #endif
78737 #ifdef __cplusplus
78739 #endif
78742 main ()
78744 return f != $ac_func;
78746 return 0;
78748 _ACEOF
78749 rm -f conftest.$ac_objext conftest$ac_exeext
78750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78751 (eval $ac_link) 2>conftest.er1
78752 ac_status=$?
78753 grep -v '^ *+' conftest.er1 >conftest.err
78754 rm -f conftest.er1
78755 cat conftest.err >&5
78756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78757 (exit $ac_status); } &&
78758 { ac_try='test -z "$ac_c_werror_flag"
78759 || test ! -s conftest.err'
78760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78761 (eval $ac_try) 2>&5
78762 ac_status=$?
78763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78764 (exit $ac_status); }; } &&
78765 { ac_try='test -s conftest$ac_exeext'
78766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78767 (eval $ac_try) 2>&5
78768 ac_status=$?
78769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78770 (exit $ac_status); }; }; then
78771 eval "$as_ac_var=yes"
78772 else
78773 echo "$as_me: failed program was:" >&5
78774 sed 's/^/| /' conftest.$ac_ext >&5
78776 eval "$as_ac_var=no"
78778 rm -f conftest.err conftest.$ac_objext \
78779 conftest$ac_exeext conftest.$ac_ext
78781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78783 if test `eval echo '${'$as_ac_var'}'` = yes; then
78784 cat >>confdefs.h <<_ACEOF
78785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78786 _ACEOF
78789 done
78791 else
78793 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
78794 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
78795 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78796 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
78797 echo $ECHO_N "(cached) $ECHO_C" >&6
78798 else
78802 ac_ext=cc
78803 ac_cpp='$CXXCPP $CPPFLAGS'
78804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78808 cat >conftest.$ac_ext <<_ACEOF
78809 /* confdefs.h. */
78810 _ACEOF
78811 cat confdefs.h >>conftest.$ac_ext
78812 cat >>conftest.$ac_ext <<_ACEOF
78813 /* end confdefs.h. */
78814 #include <math.h>
78815 #ifdef HAVE_IEEEFP_H
78816 #include <ieeefp.h>
78817 #endif
78820 main ()
78822 _finitel(0);
78824 return 0;
78826 _ACEOF
78827 rm -f conftest.$ac_objext
78828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78829 (eval $ac_compile) 2>conftest.er1
78830 ac_status=$?
78831 grep -v '^ *+' conftest.er1 >conftest.err
78832 rm -f conftest.er1
78833 cat conftest.err >&5
78834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78835 (exit $ac_status); } &&
78836 { ac_try='test -z "$ac_cxx_werror_flag"
78837 || test ! -s conftest.err'
78838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78839 (eval $ac_try) 2>&5
78840 ac_status=$?
78841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78842 (exit $ac_status); }; } &&
78843 { ac_try='test -s conftest.$ac_objext'
78844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78845 (eval $ac_try) 2>&5
78846 ac_status=$?
78847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78848 (exit $ac_status); }; }; then
78849 glibcxx_cv_func__finitel_use=yes
78850 else
78851 echo "$as_me: failed program was:" >&5
78852 sed 's/^/| /' conftest.$ac_ext >&5
78854 glibcxx_cv_func__finitel_use=no
78856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78857 ac_ext=c
78858 ac_cpp='$CPP $CPPFLAGS'
78859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
78868 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
78870 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78872 for ac_func in _finitel
78874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78875 echo "$as_me:$LINENO: checking for $ac_func" >&5
78876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78877 if eval "test \"\${$as_ac_var+set}\" = set"; then
78878 echo $ECHO_N "(cached) $ECHO_C" >&6
78879 else
78880 if test x$gcc_no_link = xyes; then
78881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78883 { (exit 1); exit 1; }; }
78885 cat >conftest.$ac_ext <<_ACEOF
78886 /* confdefs.h. */
78887 _ACEOF
78888 cat confdefs.h >>conftest.$ac_ext
78889 cat >>conftest.$ac_ext <<_ACEOF
78890 /* end confdefs.h. */
78891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78893 #define $ac_func innocuous_$ac_func
78895 /* System header to define __stub macros and hopefully few prototypes,
78896 which can conflict with char $ac_func (); below.
78897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78898 <limits.h> exists even on freestanding compilers. */
78900 #ifdef __STDC__
78901 # include <limits.h>
78902 #else
78903 # include <assert.h>
78904 #endif
78906 #undef $ac_func
78908 /* Override any gcc2 internal prototype to avoid an error. */
78909 #ifdef __cplusplus
78910 extern "C"
78912 #endif
78913 /* We use char because int might match the return type of a gcc2
78914 builtin and then its argument prototype would still apply. */
78915 char $ac_func ();
78916 /* The GNU C library defines this for functions which it implements
78917 to always fail with ENOSYS. Some functions are actually named
78918 something starting with __ and the normal name is an alias. */
78919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78920 choke me
78921 #else
78922 char (*f) () = $ac_func;
78923 #endif
78924 #ifdef __cplusplus
78926 #endif
78929 main ()
78931 return f != $ac_func;
78933 return 0;
78935 _ACEOF
78936 rm -f conftest.$ac_objext conftest$ac_exeext
78937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78938 (eval $ac_link) 2>conftest.er1
78939 ac_status=$?
78940 grep -v '^ *+' conftest.er1 >conftest.err
78941 rm -f conftest.er1
78942 cat conftest.err >&5
78943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78944 (exit $ac_status); } &&
78945 { ac_try='test -z "$ac_c_werror_flag"
78946 || test ! -s conftest.err'
78947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78948 (eval $ac_try) 2>&5
78949 ac_status=$?
78950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78951 (exit $ac_status); }; } &&
78952 { ac_try='test -s conftest$ac_exeext'
78953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78954 (eval $ac_try) 2>&5
78955 ac_status=$?
78956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78957 (exit $ac_status); }; }; then
78958 eval "$as_ac_var=yes"
78959 else
78960 echo "$as_me: failed program was:" >&5
78961 sed 's/^/| /' conftest.$ac_ext >&5
78963 eval "$as_ac_var=no"
78965 rm -f conftest.err conftest.$ac_objext \
78966 conftest$ac_exeext conftest.$ac_ext
78968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78970 if test `eval echo '${'$as_ac_var'}'` = yes; then
78971 cat >>confdefs.h <<_ACEOF
78972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78973 _ACEOF
78976 done
78985 LIBS="$ac_save_LIBS"
78986 CXXFLAGS="$ac_save_CXXFLAGS"
78990 echo "$as_me:$LINENO: checking for main in -lm" >&5
78991 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78992 if test "${ac_cv_lib_m_main+set}" = set; then
78993 echo $ECHO_N "(cached) $ECHO_C" >&6
78994 else
78995 ac_check_lib_save_LIBS=$LIBS
78996 LIBS="-lm $LIBS"
78997 if test x$gcc_no_link = xyes; then
78998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79000 { (exit 1); exit 1; }; }
79002 cat >conftest.$ac_ext <<_ACEOF
79003 /* confdefs.h. */
79004 _ACEOF
79005 cat confdefs.h >>conftest.$ac_ext
79006 cat >>conftest.$ac_ext <<_ACEOF
79007 /* end confdefs.h. */
79011 main ()
79013 main ();
79015 return 0;
79017 _ACEOF
79018 rm -f conftest.$ac_objext conftest$ac_exeext
79019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79020 (eval $ac_link) 2>conftest.er1
79021 ac_status=$?
79022 grep -v '^ *+' conftest.er1 >conftest.err
79023 rm -f conftest.er1
79024 cat conftest.err >&5
79025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79026 (exit $ac_status); } &&
79027 { ac_try='test -z "$ac_c_werror_flag"
79028 || test ! -s conftest.err'
79029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79030 (eval $ac_try) 2>&5
79031 ac_status=$?
79032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79033 (exit $ac_status); }; } &&
79034 { ac_try='test -s conftest$ac_exeext'
79035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79036 (eval $ac_try) 2>&5
79037 ac_status=$?
79038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79039 (exit $ac_status); }; }; then
79040 ac_cv_lib_m_main=yes
79041 else
79042 echo "$as_me: failed program was:" >&5
79043 sed 's/^/| /' conftest.$ac_ext >&5
79045 ac_cv_lib_m_main=no
79047 rm -f conftest.err conftest.$ac_objext \
79048 conftest$ac_exeext conftest.$ac_ext
79049 LIBS=$ac_check_lib_save_LIBS
79051 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79052 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79053 if test $ac_cv_lib_m_main = yes; then
79054 cat >>confdefs.h <<_ACEOF
79055 #define HAVE_LIBM 1
79056 _ACEOF
79058 LIBS="-lm $LIBS"
79063 for ac_func in copysignf
79065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79066 echo "$as_me:$LINENO: checking for $ac_func" >&5
79067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79068 if eval "test \"\${$as_ac_var+set}\" = set"; then
79069 echo $ECHO_N "(cached) $ECHO_C" >&6
79070 else
79071 if test x$gcc_no_link = xyes; then
79072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79074 { (exit 1); exit 1; }; }
79076 cat >conftest.$ac_ext <<_ACEOF
79077 /* confdefs.h. */
79078 _ACEOF
79079 cat confdefs.h >>conftest.$ac_ext
79080 cat >>conftest.$ac_ext <<_ACEOF
79081 /* end confdefs.h. */
79082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79084 #define $ac_func innocuous_$ac_func
79086 /* System header to define __stub macros and hopefully few prototypes,
79087 which can conflict with char $ac_func (); below.
79088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79089 <limits.h> exists even on freestanding compilers. */
79091 #ifdef __STDC__
79092 # include <limits.h>
79093 #else
79094 # include <assert.h>
79095 #endif
79097 #undef $ac_func
79099 /* Override any gcc2 internal prototype to avoid an error. */
79100 #ifdef __cplusplus
79101 extern "C"
79103 #endif
79104 /* We use char because int might match the return type of a gcc2
79105 builtin and then its argument prototype would still apply. */
79106 char $ac_func ();
79107 /* The GNU C library defines this for functions which it implements
79108 to always fail with ENOSYS. Some functions are actually named
79109 something starting with __ and the normal name is an alias. */
79110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79111 choke me
79112 #else
79113 char (*f) () = $ac_func;
79114 #endif
79115 #ifdef __cplusplus
79117 #endif
79120 main ()
79122 return f != $ac_func;
79124 return 0;
79126 _ACEOF
79127 rm -f conftest.$ac_objext conftest$ac_exeext
79128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79129 (eval $ac_link) 2>conftest.er1
79130 ac_status=$?
79131 grep -v '^ *+' conftest.er1 >conftest.err
79132 rm -f conftest.er1
79133 cat conftest.err >&5
79134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79135 (exit $ac_status); } &&
79136 { ac_try='test -z "$ac_c_werror_flag"
79137 || test ! -s conftest.err'
79138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79139 (eval $ac_try) 2>&5
79140 ac_status=$?
79141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79142 (exit $ac_status); }; } &&
79143 { ac_try='test -s conftest$ac_exeext'
79144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79145 (eval $ac_try) 2>&5
79146 ac_status=$?
79147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148 (exit $ac_status); }; }; then
79149 eval "$as_ac_var=yes"
79150 else
79151 echo "$as_me: failed program was:" >&5
79152 sed 's/^/| /' conftest.$ac_ext >&5
79154 eval "$as_ac_var=no"
79156 rm -f conftest.err conftest.$ac_objext \
79157 conftest$ac_exeext conftest.$ac_ext
79159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79161 if test `eval echo '${'$as_ac_var'}'` = yes; then
79162 cat >>confdefs.h <<_ACEOF
79163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79164 _ACEOF
79166 else
79167 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79169 done
79173 for ac_func in __signbit
79175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79176 echo "$as_me:$LINENO: checking for $ac_func" >&5
79177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79178 if eval "test \"\${$as_ac_var+set}\" = set"; then
79179 echo $ECHO_N "(cached) $ECHO_C" >&6
79180 else
79181 if test x$gcc_no_link = xyes; then
79182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79184 { (exit 1); exit 1; }; }
79186 cat >conftest.$ac_ext <<_ACEOF
79187 /* confdefs.h. */
79188 _ACEOF
79189 cat confdefs.h >>conftest.$ac_ext
79190 cat >>conftest.$ac_ext <<_ACEOF
79191 /* end confdefs.h. */
79192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79194 #define $ac_func innocuous_$ac_func
79196 /* System header to define __stub macros and hopefully few prototypes,
79197 which can conflict with char $ac_func (); below.
79198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79199 <limits.h> exists even on freestanding compilers. */
79201 #ifdef __STDC__
79202 # include <limits.h>
79203 #else
79204 # include <assert.h>
79205 #endif
79207 #undef $ac_func
79209 /* Override any gcc2 internal prototype to avoid an error. */
79210 #ifdef __cplusplus
79211 extern "C"
79213 #endif
79214 /* We use char because int might match the return type of a gcc2
79215 builtin and then its argument prototype would still apply. */
79216 char $ac_func ();
79217 /* The GNU C library defines this for functions which it implements
79218 to always fail with ENOSYS. Some functions are actually named
79219 something starting with __ and the normal name is an alias. */
79220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79221 choke me
79222 #else
79223 char (*f) () = $ac_func;
79224 #endif
79225 #ifdef __cplusplus
79227 #endif
79230 main ()
79232 return f != $ac_func;
79234 return 0;
79236 _ACEOF
79237 rm -f conftest.$ac_objext conftest$ac_exeext
79238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79239 (eval $ac_link) 2>conftest.er1
79240 ac_status=$?
79241 grep -v '^ *+' conftest.er1 >conftest.err
79242 rm -f conftest.er1
79243 cat conftest.err >&5
79244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79245 (exit $ac_status); } &&
79246 { ac_try='test -z "$ac_c_werror_flag"
79247 || test ! -s conftest.err'
79248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79249 (eval $ac_try) 2>&5
79250 ac_status=$?
79251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79252 (exit $ac_status); }; } &&
79253 { ac_try='test -s conftest$ac_exeext'
79254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79255 (eval $ac_try) 2>&5
79256 ac_status=$?
79257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79258 (exit $ac_status); }; }; then
79259 eval "$as_ac_var=yes"
79260 else
79261 echo "$as_me: failed program was:" >&5
79262 sed 's/^/| /' conftest.$ac_ext >&5
79264 eval "$as_ac_var=no"
79266 rm -f conftest.err conftest.$ac_objext \
79267 conftest$ac_exeext conftest.$ac_ext
79269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79271 if test `eval echo '${'$as_ac_var'}'` = yes; then
79272 cat >>confdefs.h <<_ACEOF
79273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79274 _ACEOF
79276 else
79277 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79279 done
79283 for ac_func in __signbitf
79285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79286 echo "$as_me:$LINENO: checking for $ac_func" >&5
79287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79288 if eval "test \"\${$as_ac_var+set}\" = set"; then
79289 echo $ECHO_N "(cached) $ECHO_C" >&6
79290 else
79291 if test x$gcc_no_link = xyes; then
79292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79294 { (exit 1); exit 1; }; }
79296 cat >conftest.$ac_ext <<_ACEOF
79297 /* confdefs.h. */
79298 _ACEOF
79299 cat confdefs.h >>conftest.$ac_ext
79300 cat >>conftest.$ac_ext <<_ACEOF
79301 /* end confdefs.h. */
79302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79304 #define $ac_func innocuous_$ac_func
79306 /* System header to define __stub macros and hopefully few prototypes,
79307 which can conflict with char $ac_func (); below.
79308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79309 <limits.h> exists even on freestanding compilers. */
79311 #ifdef __STDC__
79312 # include <limits.h>
79313 #else
79314 # include <assert.h>
79315 #endif
79317 #undef $ac_func
79319 /* Override any gcc2 internal prototype to avoid an error. */
79320 #ifdef __cplusplus
79321 extern "C"
79323 #endif
79324 /* We use char because int might match the return type of a gcc2
79325 builtin and then its argument prototype would still apply. */
79326 char $ac_func ();
79327 /* The GNU C library defines this for functions which it implements
79328 to always fail with ENOSYS. Some functions are actually named
79329 something starting with __ and the normal name is an alias. */
79330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79331 choke me
79332 #else
79333 char (*f) () = $ac_func;
79334 #endif
79335 #ifdef __cplusplus
79337 #endif
79340 main ()
79342 return f != $ac_func;
79344 return 0;
79346 _ACEOF
79347 rm -f conftest.$ac_objext conftest$ac_exeext
79348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79349 (eval $ac_link) 2>conftest.er1
79350 ac_status=$?
79351 grep -v '^ *+' conftest.er1 >conftest.err
79352 rm -f conftest.er1
79353 cat conftest.err >&5
79354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79355 (exit $ac_status); } &&
79356 { ac_try='test -z "$ac_c_werror_flag"
79357 || test ! -s conftest.err'
79358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79359 (eval $ac_try) 2>&5
79360 ac_status=$?
79361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79362 (exit $ac_status); }; } &&
79363 { ac_try='test -s conftest$ac_exeext'
79364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79365 (eval $ac_try) 2>&5
79366 ac_status=$?
79367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79368 (exit $ac_status); }; }; then
79369 eval "$as_ac_var=yes"
79370 else
79371 echo "$as_me: failed program was:" >&5
79372 sed 's/^/| /' conftest.$ac_ext >&5
79374 eval "$as_ac_var=no"
79376 rm -f conftest.err conftest.$ac_objext \
79377 conftest$ac_exeext conftest.$ac_ext
79379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79381 if test `eval echo '${'$as_ac_var'}'` = yes; then
79382 cat >>confdefs.h <<_ACEOF
79383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79384 _ACEOF
79386 else
79387 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79389 done
79392 if test x$ac_cv_func_copysignl = x"yes"; then
79394 for ac_func in __signbitl
79396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79397 echo "$as_me:$LINENO: checking for $ac_func" >&5
79398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79399 if eval "test \"\${$as_ac_var+set}\" = set"; then
79400 echo $ECHO_N "(cached) $ECHO_C" >&6
79401 else
79402 if test x$gcc_no_link = xyes; then
79403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79405 { (exit 1); exit 1; }; }
79407 cat >conftest.$ac_ext <<_ACEOF
79408 /* confdefs.h. */
79409 _ACEOF
79410 cat confdefs.h >>conftest.$ac_ext
79411 cat >>conftest.$ac_ext <<_ACEOF
79412 /* end confdefs.h. */
79413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79415 #define $ac_func innocuous_$ac_func
79417 /* System header to define __stub macros and hopefully few prototypes,
79418 which can conflict with char $ac_func (); below.
79419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79420 <limits.h> exists even on freestanding compilers. */
79422 #ifdef __STDC__
79423 # include <limits.h>
79424 #else
79425 # include <assert.h>
79426 #endif
79428 #undef $ac_func
79430 /* Override any gcc2 internal prototype to avoid an error. */
79431 #ifdef __cplusplus
79432 extern "C"
79434 #endif
79435 /* We use char because int might match the return type of a gcc2
79436 builtin and then its argument prototype would still apply. */
79437 char $ac_func ();
79438 /* The GNU C library defines this for functions which it implements
79439 to always fail with ENOSYS. Some functions are actually named
79440 something starting with __ and the normal name is an alias. */
79441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79442 choke me
79443 #else
79444 char (*f) () = $ac_func;
79445 #endif
79446 #ifdef __cplusplus
79448 #endif
79451 main ()
79453 return f != $ac_func;
79455 return 0;
79457 _ACEOF
79458 rm -f conftest.$ac_objext conftest$ac_exeext
79459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79460 (eval $ac_link) 2>conftest.er1
79461 ac_status=$?
79462 grep -v '^ *+' conftest.er1 >conftest.err
79463 rm -f conftest.er1
79464 cat conftest.err >&5
79465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79466 (exit $ac_status); } &&
79467 { ac_try='test -z "$ac_c_werror_flag"
79468 || test ! -s conftest.err'
79469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79470 (eval $ac_try) 2>&5
79471 ac_status=$?
79472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79473 (exit $ac_status); }; } &&
79474 { ac_try='test -s conftest$ac_exeext'
79475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79476 (eval $ac_try) 2>&5
79477 ac_status=$?
79478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79479 (exit $ac_status); }; }; then
79480 eval "$as_ac_var=yes"
79481 else
79482 echo "$as_me: failed program was:" >&5
79483 sed 's/^/| /' conftest.$ac_ext >&5
79485 eval "$as_ac_var=no"
79487 rm -f conftest.err conftest.$ac_objext \
79488 conftest$ac_exeext conftest.$ac_ext
79490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79492 if test `eval echo '${'$as_ac_var'}'` = yes; then
79493 cat >>confdefs.h <<_ACEOF
79494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79495 _ACEOF
79497 else
79498 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79500 done
79504 # Used in libmath/Makefile.am.
79505 if test -n "$LIBMATHOBJS"; then
79506 need_libmath=yes
79511 ac_test_CXXFLAGS="${CXXFLAGS+set}"
79512 ac_save_CXXFLAGS="$CXXFLAGS"
79513 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
79516 echo "$as_me:$LINENO: checking for strtold declaration" >&5
79517 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
79518 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
79519 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
79520 echo $ECHO_N "(cached) $ECHO_C" >&6
79521 else
79525 ac_ext=cc
79526 ac_cpp='$CXXCPP $CPPFLAGS'
79527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79531 cat >conftest.$ac_ext <<_ACEOF
79532 /* confdefs.h. */
79533 _ACEOF
79534 cat confdefs.h >>conftest.$ac_ext
79535 cat >>conftest.$ac_ext <<_ACEOF
79536 /* end confdefs.h. */
79537 #include <stdlib.h>
79539 main ()
79541 strtold(0, 0);
79543 return 0;
79545 _ACEOF
79546 rm -f conftest.$ac_objext
79547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79548 (eval $ac_compile) 2>conftest.er1
79549 ac_status=$?
79550 grep -v '^ *+' conftest.er1 >conftest.err
79551 rm -f conftest.er1
79552 cat conftest.err >&5
79553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79554 (exit $ac_status); } &&
79555 { ac_try='test -z "$ac_cxx_werror_flag"
79556 || test ! -s conftest.err'
79557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79558 (eval $ac_try) 2>&5
79559 ac_status=$?
79560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79561 (exit $ac_status); }; } &&
79562 { ac_try='test -s conftest.$ac_objext'
79563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79564 (eval $ac_try) 2>&5
79565 ac_status=$?
79566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79567 (exit $ac_status); }; }; then
79568 glibcxx_cv_func_strtold_use=yes
79569 else
79570 echo "$as_me: failed program was:" >&5
79571 sed 's/^/| /' conftest.$ac_ext >&5
79573 glibcxx_cv_func_strtold_use=no
79575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79576 ac_ext=c
79577 ac_cpp='$CPP $CPPFLAGS'
79578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79586 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
79587 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
79588 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
79590 for ac_func in strtold
79592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79593 echo "$as_me:$LINENO: checking for $ac_func" >&5
79594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79595 if eval "test \"\${$as_ac_var+set}\" = set"; then
79596 echo $ECHO_N "(cached) $ECHO_C" >&6
79597 else
79598 if test x$gcc_no_link = xyes; then
79599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79601 { (exit 1); exit 1; }; }
79603 cat >conftest.$ac_ext <<_ACEOF
79604 /* confdefs.h. */
79605 _ACEOF
79606 cat confdefs.h >>conftest.$ac_ext
79607 cat >>conftest.$ac_ext <<_ACEOF
79608 /* end confdefs.h. */
79609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79611 #define $ac_func innocuous_$ac_func
79613 /* System header to define __stub macros and hopefully few prototypes,
79614 which can conflict with char $ac_func (); below.
79615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79616 <limits.h> exists even on freestanding compilers. */
79618 #ifdef __STDC__
79619 # include <limits.h>
79620 #else
79621 # include <assert.h>
79622 #endif
79624 #undef $ac_func
79626 /* Override any gcc2 internal prototype to avoid an error. */
79627 #ifdef __cplusplus
79628 extern "C"
79630 #endif
79631 /* We use char because int might match the return type of a gcc2
79632 builtin and then its argument prototype would still apply. */
79633 char $ac_func ();
79634 /* The GNU C library defines this for functions which it implements
79635 to always fail with ENOSYS. Some functions are actually named
79636 something starting with __ and the normal name is an alias. */
79637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79638 choke me
79639 #else
79640 char (*f) () = $ac_func;
79641 #endif
79642 #ifdef __cplusplus
79644 #endif
79647 main ()
79649 return f != $ac_func;
79651 return 0;
79653 _ACEOF
79654 rm -f conftest.$ac_objext conftest$ac_exeext
79655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79656 (eval $ac_link) 2>conftest.er1
79657 ac_status=$?
79658 grep -v '^ *+' conftest.er1 >conftest.err
79659 rm -f conftest.er1
79660 cat conftest.err >&5
79661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79662 (exit $ac_status); } &&
79663 { ac_try='test -z "$ac_c_werror_flag"
79664 || test ! -s conftest.err'
79665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79666 (eval $ac_try) 2>&5
79667 ac_status=$?
79668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79669 (exit $ac_status); }; } &&
79670 { ac_try='test -s conftest$ac_exeext'
79671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79672 (eval $ac_try) 2>&5
79673 ac_status=$?
79674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79675 (exit $ac_status); }; }; then
79676 eval "$as_ac_var=yes"
79677 else
79678 echo "$as_me: failed program was:" >&5
79679 sed 's/^/| /' conftest.$ac_ext >&5
79681 eval "$as_ac_var=no"
79683 rm -f conftest.err conftest.$ac_objext \
79684 conftest$ac_exeext conftest.$ac_ext
79686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79688 if test `eval echo '${'$as_ac_var'}'` = yes; then
79689 cat >>confdefs.h <<_ACEOF
79690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79691 _ACEOF
79694 done
79702 echo "$as_me:$LINENO: checking for strtof declaration" >&5
79703 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
79704 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
79705 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
79706 echo $ECHO_N "(cached) $ECHO_C" >&6
79707 else
79711 ac_ext=cc
79712 ac_cpp='$CXXCPP $CPPFLAGS'
79713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79717 cat >conftest.$ac_ext <<_ACEOF
79718 /* confdefs.h. */
79719 _ACEOF
79720 cat confdefs.h >>conftest.$ac_ext
79721 cat >>conftest.$ac_ext <<_ACEOF
79722 /* end confdefs.h. */
79723 #include <stdlib.h>
79725 main ()
79727 strtof(0, 0);
79729 return 0;
79731 _ACEOF
79732 rm -f conftest.$ac_objext
79733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79734 (eval $ac_compile) 2>conftest.er1
79735 ac_status=$?
79736 grep -v '^ *+' conftest.er1 >conftest.err
79737 rm -f conftest.er1
79738 cat conftest.err >&5
79739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79740 (exit $ac_status); } &&
79741 { ac_try='test -z "$ac_cxx_werror_flag"
79742 || test ! -s conftest.err'
79743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79744 (eval $ac_try) 2>&5
79745 ac_status=$?
79746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79747 (exit $ac_status); }; } &&
79748 { ac_try='test -s conftest.$ac_objext'
79749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79750 (eval $ac_try) 2>&5
79751 ac_status=$?
79752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79753 (exit $ac_status); }; }; then
79754 glibcxx_cv_func_strtof_use=yes
79755 else
79756 echo "$as_me: failed program was:" >&5
79757 sed 's/^/| /' conftest.$ac_ext >&5
79759 glibcxx_cv_func_strtof_use=no
79761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79762 ac_ext=c
79763 ac_cpp='$CPP $CPPFLAGS'
79764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
79773 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
79774 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
79776 for ac_func in strtof
79778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79779 echo "$as_me:$LINENO: checking for $ac_func" >&5
79780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79781 if eval "test \"\${$as_ac_var+set}\" = set"; then
79782 echo $ECHO_N "(cached) $ECHO_C" >&6
79783 else
79784 if test x$gcc_no_link = xyes; then
79785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79787 { (exit 1); exit 1; }; }
79789 cat >conftest.$ac_ext <<_ACEOF
79790 /* confdefs.h. */
79791 _ACEOF
79792 cat confdefs.h >>conftest.$ac_ext
79793 cat >>conftest.$ac_ext <<_ACEOF
79794 /* end confdefs.h. */
79795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79797 #define $ac_func innocuous_$ac_func
79799 /* System header to define __stub macros and hopefully few prototypes,
79800 which can conflict with char $ac_func (); below.
79801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79802 <limits.h> exists even on freestanding compilers. */
79804 #ifdef __STDC__
79805 # include <limits.h>
79806 #else
79807 # include <assert.h>
79808 #endif
79810 #undef $ac_func
79812 /* Override any gcc2 internal prototype to avoid an error. */
79813 #ifdef __cplusplus
79814 extern "C"
79816 #endif
79817 /* We use char because int might match the return type of a gcc2
79818 builtin and then its argument prototype would still apply. */
79819 char $ac_func ();
79820 /* The GNU C library defines this for functions which it implements
79821 to always fail with ENOSYS. Some functions are actually named
79822 something starting with __ and the normal name is an alias. */
79823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79824 choke me
79825 #else
79826 char (*f) () = $ac_func;
79827 #endif
79828 #ifdef __cplusplus
79830 #endif
79833 main ()
79835 return f != $ac_func;
79837 return 0;
79839 _ACEOF
79840 rm -f conftest.$ac_objext conftest$ac_exeext
79841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79842 (eval $ac_link) 2>conftest.er1
79843 ac_status=$?
79844 grep -v '^ *+' conftest.er1 >conftest.err
79845 rm -f conftest.er1
79846 cat conftest.err >&5
79847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79848 (exit $ac_status); } &&
79849 { ac_try='test -z "$ac_c_werror_flag"
79850 || test ! -s conftest.err'
79851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79852 (eval $ac_try) 2>&5
79853 ac_status=$?
79854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79855 (exit $ac_status); }; } &&
79856 { ac_try='test -s conftest$ac_exeext'
79857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79858 (eval $ac_try) 2>&5
79859 ac_status=$?
79860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79861 (exit $ac_status); }; }; then
79862 eval "$as_ac_var=yes"
79863 else
79864 echo "$as_me: failed program was:" >&5
79865 sed 's/^/| /' conftest.$ac_ext >&5
79867 eval "$as_ac_var=no"
79869 rm -f conftest.err conftest.$ac_objext \
79870 conftest$ac_exeext conftest.$ac_ext
79872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79874 if test `eval echo '${'$as_ac_var'}'` = yes; then
79875 cat >>confdefs.h <<_ACEOF
79876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79877 _ACEOF
79880 done
79888 CXXFLAGS="$ac_save_CXXFLAGS"
79892 *djgpp)
79893 # GLIBCXX_CHECK_MATH_SUPPORT
79894 cat >>confdefs.h <<\_ACEOF
79895 #define HAVE_LIBM 1
79896 _ACEOF
79898 cat >>confdefs.h <<\_ACEOF
79899 #define HAVE_ISINF 1
79900 _ACEOF
79902 cat >>confdefs.h <<\_ACEOF
79903 #define HAVE_ISNAN 1
79904 _ACEOF
79906 cat >>confdefs.h <<\_ACEOF
79907 #define HAVE_FINITE 1
79908 _ACEOF
79910 cat >>confdefs.h <<\_ACEOF
79911 #define HAVE_COPYSIGN 1
79912 _ACEOF
79914 cat >>confdefs.h <<\_ACEOF
79915 #define HAVE_SINCOS 1
79916 _ACEOF
79918 cat >>confdefs.h <<\_ACEOF
79919 #define HAVE_HYPOT 1
79920 _ACEOF
79922 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
79923 # GLIBCXX_CHECK_STDLIB_SUPPORT
79924 cat >>confdefs.h <<\_ACEOF
79925 #define HAVE_COPYSIGN 1
79926 _ACEOF
79928 cat >>confdefs.h <<\_ACEOF
79929 #define HAVE_COPYSIGNF 1
79930 _ACEOF
79934 *-freebsd*)
79935 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79938 # If we're not using GNU ld, then there's no point in even trying these
79939 # tests. Check for that first. We should have already tested for gld
79940 # by now (in libtool), but require it now just to be safe...
79941 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79942 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79946 # The name set by libtool depends on the version of libtool. Shame on us
79947 # for depending on an impl detail, but c'est la vie. Older versions used
79948 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79949 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79950 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79951 # set (hence we're using an older libtool), then set it.
79952 if test x${with_gnu_ld+set} != xset; then
79953 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79954 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79955 with_gnu_ld=no
79956 else
79957 with_gnu_ld=$ac_cv_prog_gnu_ld
79961 # Start by getting the version number. I think the libtool test already
79962 # does some of this, but throws away the result.
79963 glibcxx_ld_is_gold=no
79964 if test x"$with_gnu_ld" = x"yes"; then
79965 echo "$as_me:$LINENO: checking for ld version" >&5
79966 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79968 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
79969 glibcxx_ld_is_gold=yes
79971 ldver=`$LD --version 2>/dev/null | head -1 | \
79972 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
79974 glibcxx_gnu_ld_version=`echo $ldver | \
79975 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79976 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79977 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79980 # Set --gc-sections.
79981 glibcxx_have_gc_sections=no
79982 if test "$glibcxx_ld_is_gold" = "yes"; then
79983 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
79984 glibcxx_have_gc_sections=yes
79986 else
79987 glibcxx_gcsections_min_ld=21602
79988 if test x"$with_gnu_ld" = x"yes" &&
79989 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79990 glibcxx_have_gc_sections=yes
79993 if test "$glibcxx_have_gc_sections" = "yes"; then
79994 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
79995 # NB: This flag only works reliably after 2.16.1. Configure tests
79996 # for this are difficult, so hard wire a value that should work.
79998 ac_test_CFLAGS="${CFLAGS+set}"
79999 ac_save_CFLAGS="$CFLAGS"
80000 CFLAGS='-Wl,--gc-sections'
80002 # Check for -Wl,--gc-sections
80003 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80004 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80005 if test x$gcc_no_link = xyes; then
80006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80008 { (exit 1); exit 1; }; }
80010 cat >conftest.$ac_ext <<_ACEOF
80011 /* confdefs.h. */
80012 _ACEOF
80013 cat confdefs.h >>conftest.$ac_ext
80014 cat >>conftest.$ac_ext <<_ACEOF
80015 /* end confdefs.h. */
80016 int one(void) { return 1; }
80017 int two(void) { return 2; }
80020 main ()
80022 two();
80024 return 0;
80026 _ACEOF
80027 rm -f conftest.$ac_objext conftest$ac_exeext
80028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80029 (eval $ac_link) 2>conftest.er1
80030 ac_status=$?
80031 grep -v '^ *+' conftest.er1 >conftest.err
80032 rm -f conftest.er1
80033 cat conftest.err >&5
80034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80035 (exit $ac_status); } &&
80036 { ac_try='test -z "$ac_c_werror_flag"
80037 || test ! -s conftest.err'
80038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80039 (eval $ac_try) 2>&5
80040 ac_status=$?
80041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80042 (exit $ac_status); }; } &&
80043 { ac_try='test -s conftest$ac_exeext'
80044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80045 (eval $ac_try) 2>&5
80046 ac_status=$?
80047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80048 (exit $ac_status); }; }; then
80049 ac_gcsections=yes
80050 else
80051 echo "$as_me: failed program was:" >&5
80052 sed 's/^/| /' conftest.$ac_ext >&5
80054 ac_gcsections=no
80056 rm -f conftest.err conftest.$ac_objext \
80057 conftest$ac_exeext conftest.$ac_ext
80058 if test "$ac_gcsections" = "yes"; then
80059 rm -f conftest.c
80060 touch conftest.c
80061 if $CC -c conftest.c; then
80062 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80063 grep "Warning: gc-sections option ignored" > /dev/null; then
80064 ac_gcsections=no
80067 rm -f conftest.c conftest.o conftest
80069 if test "$ac_gcsections" = "yes"; then
80070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80072 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80073 echo "${ECHO_T}$ac_gcsections" >&6
80075 if test "$ac_test_CFLAGS" = set; then
80076 CFLAGS="$ac_save_CFLAGS"
80077 else
80078 # this is the suspicious part
80079 CFLAGS=''
80083 # Set -z,relro.
80084 # Note this is only for shared objects.
80085 ac_ld_relro=no
80086 if test x"$with_gnu_ld" = x"yes"; then
80087 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80088 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80089 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80090 if test -n "$cxx_z_relo"; then
80091 OPT_LDFLAGS="-Wl,-z,relro"
80092 ac_ld_relro=yes
80094 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80095 echo "${ECHO_T}$ac_ld_relro" >&6
80098 # Set linker optimization flags.
80099 if test x"$with_gnu_ld" = x"yes"; then
80100 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80108 echo "$as_me:$LINENO: checking for main in -lm" >&5
80109 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80110 if test "${ac_cv_lib_m_main+set}" = set; then
80111 echo $ECHO_N "(cached) $ECHO_C" >&6
80112 else
80113 ac_check_lib_save_LIBS=$LIBS
80114 LIBS="-lm $LIBS"
80115 if test x$gcc_no_link = xyes; then
80116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80118 { (exit 1); exit 1; }; }
80120 cat >conftest.$ac_ext <<_ACEOF
80121 /* confdefs.h. */
80122 _ACEOF
80123 cat confdefs.h >>conftest.$ac_ext
80124 cat >>conftest.$ac_ext <<_ACEOF
80125 /* end confdefs.h. */
80129 main ()
80131 main ();
80133 return 0;
80135 _ACEOF
80136 rm -f conftest.$ac_objext conftest$ac_exeext
80137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80138 (eval $ac_link) 2>conftest.er1
80139 ac_status=$?
80140 grep -v '^ *+' conftest.er1 >conftest.err
80141 rm -f conftest.er1
80142 cat conftest.err >&5
80143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80144 (exit $ac_status); } &&
80145 { ac_try='test -z "$ac_c_werror_flag"
80146 || test ! -s conftest.err'
80147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80148 (eval $ac_try) 2>&5
80149 ac_status=$?
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); }; } &&
80152 { ac_try='test -s conftest$ac_exeext'
80153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80154 (eval $ac_try) 2>&5
80155 ac_status=$?
80156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80157 (exit $ac_status); }; }; then
80158 ac_cv_lib_m_main=yes
80159 else
80160 echo "$as_me: failed program was:" >&5
80161 sed 's/^/| /' conftest.$ac_ext >&5
80163 ac_cv_lib_m_main=no
80165 rm -f conftest.err conftest.$ac_objext \
80166 conftest$ac_exeext conftest.$ac_ext
80167 LIBS=$ac_check_lib_save_LIBS
80169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80170 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80171 if test $ac_cv_lib_m_main = yes; then
80172 cat >>confdefs.h <<_ACEOF
80173 #define HAVE_LIBM 1
80174 _ACEOF
80176 LIBS="-lm $LIBS"
80181 for ac_func in copysignf
80183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80184 echo "$as_me:$LINENO: checking for $ac_func" >&5
80185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80186 if eval "test \"\${$as_ac_var+set}\" = set"; then
80187 echo $ECHO_N "(cached) $ECHO_C" >&6
80188 else
80189 if test x$gcc_no_link = xyes; then
80190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80192 { (exit 1); exit 1; }; }
80194 cat >conftest.$ac_ext <<_ACEOF
80195 /* confdefs.h. */
80196 _ACEOF
80197 cat confdefs.h >>conftest.$ac_ext
80198 cat >>conftest.$ac_ext <<_ACEOF
80199 /* end confdefs.h. */
80200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80202 #define $ac_func innocuous_$ac_func
80204 /* System header to define __stub macros and hopefully few prototypes,
80205 which can conflict with char $ac_func (); below.
80206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80207 <limits.h> exists even on freestanding compilers. */
80209 #ifdef __STDC__
80210 # include <limits.h>
80211 #else
80212 # include <assert.h>
80213 #endif
80215 #undef $ac_func
80217 /* Override any gcc2 internal prototype to avoid an error. */
80218 #ifdef __cplusplus
80219 extern "C"
80221 #endif
80222 /* We use char because int might match the return type of a gcc2
80223 builtin and then its argument prototype would still apply. */
80224 char $ac_func ();
80225 /* The GNU C library defines this for functions which it implements
80226 to always fail with ENOSYS. Some functions are actually named
80227 something starting with __ and the normal name is an alias. */
80228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80229 choke me
80230 #else
80231 char (*f) () = $ac_func;
80232 #endif
80233 #ifdef __cplusplus
80235 #endif
80238 main ()
80240 return f != $ac_func;
80242 return 0;
80244 _ACEOF
80245 rm -f conftest.$ac_objext conftest$ac_exeext
80246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80247 (eval $ac_link) 2>conftest.er1
80248 ac_status=$?
80249 grep -v '^ *+' conftest.er1 >conftest.err
80250 rm -f conftest.er1
80251 cat conftest.err >&5
80252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80253 (exit $ac_status); } &&
80254 { ac_try='test -z "$ac_c_werror_flag"
80255 || test ! -s conftest.err'
80256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80257 (eval $ac_try) 2>&5
80258 ac_status=$?
80259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80260 (exit $ac_status); }; } &&
80261 { ac_try='test -s conftest$ac_exeext'
80262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80263 (eval $ac_try) 2>&5
80264 ac_status=$?
80265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80266 (exit $ac_status); }; }; then
80267 eval "$as_ac_var=yes"
80268 else
80269 echo "$as_me: failed program was:" >&5
80270 sed 's/^/| /' conftest.$ac_ext >&5
80272 eval "$as_ac_var=no"
80274 rm -f conftest.err conftest.$ac_objext \
80275 conftest$ac_exeext conftest.$ac_ext
80277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80279 if test `eval echo '${'$as_ac_var'}'` = yes; then
80280 cat >>confdefs.h <<_ACEOF
80281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80282 _ACEOF
80284 else
80285 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80287 done
80291 for ac_func in __signbit
80293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80294 echo "$as_me:$LINENO: checking for $ac_func" >&5
80295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80296 if eval "test \"\${$as_ac_var+set}\" = set"; then
80297 echo $ECHO_N "(cached) $ECHO_C" >&6
80298 else
80299 if test x$gcc_no_link = xyes; then
80300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80302 { (exit 1); exit 1; }; }
80304 cat >conftest.$ac_ext <<_ACEOF
80305 /* confdefs.h. */
80306 _ACEOF
80307 cat confdefs.h >>conftest.$ac_ext
80308 cat >>conftest.$ac_ext <<_ACEOF
80309 /* end confdefs.h. */
80310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80312 #define $ac_func innocuous_$ac_func
80314 /* System header to define __stub macros and hopefully few prototypes,
80315 which can conflict with char $ac_func (); below.
80316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80317 <limits.h> exists even on freestanding compilers. */
80319 #ifdef __STDC__
80320 # include <limits.h>
80321 #else
80322 # include <assert.h>
80323 #endif
80325 #undef $ac_func
80327 /* Override any gcc2 internal prototype to avoid an error. */
80328 #ifdef __cplusplus
80329 extern "C"
80331 #endif
80332 /* We use char because int might match the return type of a gcc2
80333 builtin and then its argument prototype would still apply. */
80334 char $ac_func ();
80335 /* The GNU C library defines this for functions which it implements
80336 to always fail with ENOSYS. Some functions are actually named
80337 something starting with __ and the normal name is an alias. */
80338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80339 choke me
80340 #else
80341 char (*f) () = $ac_func;
80342 #endif
80343 #ifdef __cplusplus
80345 #endif
80348 main ()
80350 return f != $ac_func;
80352 return 0;
80354 _ACEOF
80355 rm -f conftest.$ac_objext conftest$ac_exeext
80356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80357 (eval $ac_link) 2>conftest.er1
80358 ac_status=$?
80359 grep -v '^ *+' conftest.er1 >conftest.err
80360 rm -f conftest.er1
80361 cat conftest.err >&5
80362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80363 (exit $ac_status); } &&
80364 { ac_try='test -z "$ac_c_werror_flag"
80365 || test ! -s conftest.err'
80366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80367 (eval $ac_try) 2>&5
80368 ac_status=$?
80369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80370 (exit $ac_status); }; } &&
80371 { ac_try='test -s conftest$ac_exeext'
80372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80373 (eval $ac_try) 2>&5
80374 ac_status=$?
80375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80376 (exit $ac_status); }; }; then
80377 eval "$as_ac_var=yes"
80378 else
80379 echo "$as_me: failed program was:" >&5
80380 sed 's/^/| /' conftest.$ac_ext >&5
80382 eval "$as_ac_var=no"
80384 rm -f conftest.err conftest.$ac_objext \
80385 conftest$ac_exeext conftest.$ac_ext
80387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80389 if test `eval echo '${'$as_ac_var'}'` = yes; then
80390 cat >>confdefs.h <<_ACEOF
80391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80392 _ACEOF
80394 else
80395 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80397 done
80401 for ac_func in __signbitf
80403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80404 echo "$as_me:$LINENO: checking for $ac_func" >&5
80405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80406 if eval "test \"\${$as_ac_var+set}\" = set"; then
80407 echo $ECHO_N "(cached) $ECHO_C" >&6
80408 else
80409 if test x$gcc_no_link = xyes; then
80410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80412 { (exit 1); exit 1; }; }
80414 cat >conftest.$ac_ext <<_ACEOF
80415 /* confdefs.h. */
80416 _ACEOF
80417 cat confdefs.h >>conftest.$ac_ext
80418 cat >>conftest.$ac_ext <<_ACEOF
80419 /* end confdefs.h. */
80420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80422 #define $ac_func innocuous_$ac_func
80424 /* System header to define __stub macros and hopefully few prototypes,
80425 which can conflict with char $ac_func (); below.
80426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80427 <limits.h> exists even on freestanding compilers. */
80429 #ifdef __STDC__
80430 # include <limits.h>
80431 #else
80432 # include <assert.h>
80433 #endif
80435 #undef $ac_func
80437 /* Override any gcc2 internal prototype to avoid an error. */
80438 #ifdef __cplusplus
80439 extern "C"
80441 #endif
80442 /* We use char because int might match the return type of a gcc2
80443 builtin and then its argument prototype would still apply. */
80444 char $ac_func ();
80445 /* The GNU C library defines this for functions which it implements
80446 to always fail with ENOSYS. Some functions are actually named
80447 something starting with __ and the normal name is an alias. */
80448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80449 choke me
80450 #else
80451 char (*f) () = $ac_func;
80452 #endif
80453 #ifdef __cplusplus
80455 #endif
80458 main ()
80460 return f != $ac_func;
80462 return 0;
80464 _ACEOF
80465 rm -f conftest.$ac_objext conftest$ac_exeext
80466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80467 (eval $ac_link) 2>conftest.er1
80468 ac_status=$?
80469 grep -v '^ *+' conftest.er1 >conftest.err
80470 rm -f conftest.er1
80471 cat conftest.err >&5
80472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80473 (exit $ac_status); } &&
80474 { ac_try='test -z "$ac_c_werror_flag"
80475 || test ! -s conftest.err'
80476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80477 (eval $ac_try) 2>&5
80478 ac_status=$?
80479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80480 (exit $ac_status); }; } &&
80481 { ac_try='test -s conftest$ac_exeext'
80482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80483 (eval $ac_try) 2>&5
80484 ac_status=$?
80485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80486 (exit $ac_status); }; }; then
80487 eval "$as_ac_var=yes"
80488 else
80489 echo "$as_me: failed program was:" >&5
80490 sed 's/^/| /' conftest.$ac_ext >&5
80492 eval "$as_ac_var=no"
80494 rm -f conftest.err conftest.$ac_objext \
80495 conftest$ac_exeext conftest.$ac_ext
80497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80499 if test `eval echo '${'$as_ac_var'}'` = yes; then
80500 cat >>confdefs.h <<_ACEOF
80501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80502 _ACEOF
80504 else
80505 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80507 done
80510 if test x$ac_cv_func_copysignl = x"yes"; then
80512 for ac_func in __signbitl
80514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80515 echo "$as_me:$LINENO: checking for $ac_func" >&5
80516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80517 if eval "test \"\${$as_ac_var+set}\" = set"; then
80518 echo $ECHO_N "(cached) $ECHO_C" >&6
80519 else
80520 if test x$gcc_no_link = xyes; then
80521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80523 { (exit 1); exit 1; }; }
80525 cat >conftest.$ac_ext <<_ACEOF
80526 /* confdefs.h. */
80527 _ACEOF
80528 cat confdefs.h >>conftest.$ac_ext
80529 cat >>conftest.$ac_ext <<_ACEOF
80530 /* end confdefs.h. */
80531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80533 #define $ac_func innocuous_$ac_func
80535 /* System header to define __stub macros and hopefully few prototypes,
80536 which can conflict with char $ac_func (); below.
80537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80538 <limits.h> exists even on freestanding compilers. */
80540 #ifdef __STDC__
80541 # include <limits.h>
80542 #else
80543 # include <assert.h>
80544 #endif
80546 #undef $ac_func
80548 /* Override any gcc2 internal prototype to avoid an error. */
80549 #ifdef __cplusplus
80550 extern "C"
80552 #endif
80553 /* We use char because int might match the return type of a gcc2
80554 builtin and then its argument prototype would still apply. */
80555 char $ac_func ();
80556 /* The GNU C library defines this for functions which it implements
80557 to always fail with ENOSYS. Some functions are actually named
80558 something starting with __ and the normal name is an alias. */
80559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80560 choke me
80561 #else
80562 char (*f) () = $ac_func;
80563 #endif
80564 #ifdef __cplusplus
80566 #endif
80569 main ()
80571 return f != $ac_func;
80573 return 0;
80575 _ACEOF
80576 rm -f conftest.$ac_objext conftest$ac_exeext
80577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80578 (eval $ac_link) 2>conftest.er1
80579 ac_status=$?
80580 grep -v '^ *+' conftest.er1 >conftest.err
80581 rm -f conftest.er1
80582 cat conftest.err >&5
80583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80584 (exit $ac_status); } &&
80585 { ac_try='test -z "$ac_c_werror_flag"
80586 || test ! -s conftest.err'
80587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80588 (eval $ac_try) 2>&5
80589 ac_status=$?
80590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80591 (exit $ac_status); }; } &&
80592 { ac_try='test -s conftest$ac_exeext'
80593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80594 (eval $ac_try) 2>&5
80595 ac_status=$?
80596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80597 (exit $ac_status); }; }; then
80598 eval "$as_ac_var=yes"
80599 else
80600 echo "$as_me: failed program was:" >&5
80601 sed 's/^/| /' conftest.$ac_ext >&5
80603 eval "$as_ac_var=no"
80605 rm -f conftest.err conftest.$ac_objext \
80606 conftest$ac_exeext conftest.$ac_ext
80608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80610 if test `eval echo '${'$as_ac_var'}'` = yes; then
80611 cat >>confdefs.h <<_ACEOF
80612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80613 _ACEOF
80615 else
80616 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80618 done
80622 # Used in libmath/Makefile.am.
80623 if test -n "$LIBMATHOBJS"; then
80624 need_libmath=yes
80628 cat >>confdefs.h <<\_ACEOF
80629 #define HAVE_SETENV 1
80630 _ACEOF
80632 cat >>confdefs.h <<\_ACEOF
80633 #define HAVE_COPYSIGN 1
80634 _ACEOF
80636 cat >>confdefs.h <<\_ACEOF
80637 #define HAVE_COPYSIGNF 1
80638 _ACEOF
80640 cat >>confdefs.h <<\_ACEOF
80641 #define HAVE_FINITEF 1
80642 _ACEOF
80644 cat >>confdefs.h <<\_ACEOF
80645 #define HAVE_FINITE 1
80646 _ACEOF
80648 cat >>confdefs.h <<\_ACEOF
80649 #define HAVE_FREXPF 1
80650 _ACEOF
80652 cat >>confdefs.h <<\_ACEOF
80653 #define HAVE_HYPOT 1
80654 _ACEOF
80656 cat >>confdefs.h <<\_ACEOF
80657 #define HAVE_HYPOTF 1
80658 _ACEOF
80660 cat >>confdefs.h <<\_ACEOF
80661 #define HAVE_ISINF 1
80662 _ACEOF
80664 cat >>confdefs.h <<\_ACEOF
80665 #define HAVE_ISNAN 1
80666 _ACEOF
80668 cat >>confdefs.h <<\_ACEOF
80669 #define HAVE_ISNANF 1
80670 _ACEOF
80673 cat >>confdefs.h <<\_ACEOF
80674 #define HAVE_ACOSF 1
80675 _ACEOF
80677 cat >>confdefs.h <<\_ACEOF
80678 #define HAVE_ASINF 1
80679 _ACEOF
80681 cat >>confdefs.h <<\_ACEOF
80682 #define HAVE_ATAN2F 1
80683 _ACEOF
80685 cat >>confdefs.h <<\_ACEOF
80686 #define HAVE_ATANF 1
80687 _ACEOF
80689 cat >>confdefs.h <<\_ACEOF
80690 #define HAVE_CEILF 1
80691 _ACEOF
80693 cat >>confdefs.h <<\_ACEOF
80694 #define HAVE_COPYSIGN 1
80695 _ACEOF
80697 cat >>confdefs.h <<\_ACEOF
80698 #define HAVE_COPYSIGNF 1
80699 _ACEOF
80701 cat >>confdefs.h <<\_ACEOF
80702 #define HAVE_COSF 1
80703 _ACEOF
80705 cat >>confdefs.h <<\_ACEOF
80706 #define HAVE_COSHF 1
80707 _ACEOF
80709 cat >>confdefs.h <<\_ACEOF
80710 #define HAVE_EXPF 1
80711 _ACEOF
80713 cat >>confdefs.h <<\_ACEOF
80714 #define HAVE_FABSF 1
80715 _ACEOF
80717 cat >>confdefs.h <<\_ACEOF
80718 #define HAVE_FLOORF 1
80719 _ACEOF
80721 cat >>confdefs.h <<\_ACEOF
80722 #define HAVE_FMODF 1
80723 _ACEOF
80725 cat >>confdefs.h <<\_ACEOF
80726 #define HAVE_FREXPF 1
80727 _ACEOF
80729 cat >>confdefs.h <<\_ACEOF
80730 #define HAVE_LDEXPF 1
80731 _ACEOF
80733 cat >>confdefs.h <<\_ACEOF
80734 #define HAVE_LOG10F 1
80735 _ACEOF
80737 cat >>confdefs.h <<\_ACEOF
80738 #define HAVE_LOGF 1
80739 _ACEOF
80741 cat >>confdefs.h <<\_ACEOF
80742 #define HAVE_MODFF 1
80743 _ACEOF
80745 cat >>confdefs.h <<\_ACEOF
80746 #define HAVE_POWF 1
80747 _ACEOF
80749 cat >>confdefs.h <<\_ACEOF
80750 #define HAVE_SINF 1
80751 _ACEOF
80753 cat >>confdefs.h <<\_ACEOF
80754 #define HAVE_SINHF 1
80755 _ACEOF
80757 cat >>confdefs.h <<\_ACEOF
80758 #define HAVE_SQRTF 1
80759 _ACEOF
80761 cat >>confdefs.h <<\_ACEOF
80762 #define HAVE_TANF 1
80763 _ACEOF
80765 cat >>confdefs.h <<\_ACEOF
80766 #define HAVE_TANHF 1
80767 _ACEOF
80769 if test x"long_double_math_on_this_cpu" = x"yes"; then
80770 cat >>confdefs.h <<\_ACEOF
80771 #define HAVE_FINITEL 1
80772 _ACEOF
80774 cat >>confdefs.h <<\_ACEOF
80775 #define HAVE_ISINFL 1
80776 _ACEOF
80778 cat >>confdefs.h <<\_ACEOF
80779 #define HAVE_ISNANL 1
80780 _ACEOF
80784 *-hpux*)
80785 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80788 # If we're not using GNU ld, then there's no point in even trying these
80789 # tests. Check for that first. We should have already tested for gld
80790 # by now (in libtool), but require it now just to be safe...
80791 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80792 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80796 # The name set by libtool depends on the version of libtool. Shame on us
80797 # for depending on an impl detail, but c'est la vie. Older versions used
80798 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80799 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80800 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80801 # set (hence we're using an older libtool), then set it.
80802 if test x${with_gnu_ld+set} != xset; then
80803 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80804 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80805 with_gnu_ld=no
80806 else
80807 with_gnu_ld=$ac_cv_prog_gnu_ld
80811 # Start by getting the version number. I think the libtool test already
80812 # does some of this, but throws away the result.
80813 glibcxx_ld_is_gold=no
80814 if test x"$with_gnu_ld" = x"yes"; then
80815 echo "$as_me:$LINENO: checking for ld version" >&5
80816 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80818 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
80819 glibcxx_ld_is_gold=yes
80821 ldver=`$LD --version 2>/dev/null | head -1 | \
80822 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
80824 glibcxx_gnu_ld_version=`echo $ldver | \
80825 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80826 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80827 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80830 # Set --gc-sections.
80831 glibcxx_have_gc_sections=no
80832 if test "$glibcxx_ld_is_gold" = "yes"; then
80833 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
80834 glibcxx_have_gc_sections=yes
80836 else
80837 glibcxx_gcsections_min_ld=21602
80838 if test x"$with_gnu_ld" = x"yes" &&
80839 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80840 glibcxx_have_gc_sections=yes
80843 if test "$glibcxx_have_gc_sections" = "yes"; then
80844 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
80845 # NB: This flag only works reliably after 2.16.1. Configure tests
80846 # for this are difficult, so hard wire a value that should work.
80848 ac_test_CFLAGS="${CFLAGS+set}"
80849 ac_save_CFLAGS="$CFLAGS"
80850 CFLAGS='-Wl,--gc-sections'
80852 # Check for -Wl,--gc-sections
80853 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80854 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80855 if test x$gcc_no_link = xyes; then
80856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80858 { (exit 1); exit 1; }; }
80860 cat >conftest.$ac_ext <<_ACEOF
80861 /* confdefs.h. */
80862 _ACEOF
80863 cat confdefs.h >>conftest.$ac_ext
80864 cat >>conftest.$ac_ext <<_ACEOF
80865 /* end confdefs.h. */
80866 int one(void) { return 1; }
80867 int two(void) { return 2; }
80870 main ()
80872 two();
80874 return 0;
80876 _ACEOF
80877 rm -f conftest.$ac_objext conftest$ac_exeext
80878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80879 (eval $ac_link) 2>conftest.er1
80880 ac_status=$?
80881 grep -v '^ *+' conftest.er1 >conftest.err
80882 rm -f conftest.er1
80883 cat conftest.err >&5
80884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80885 (exit $ac_status); } &&
80886 { ac_try='test -z "$ac_c_werror_flag"
80887 || test ! -s conftest.err'
80888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80889 (eval $ac_try) 2>&5
80890 ac_status=$?
80891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80892 (exit $ac_status); }; } &&
80893 { ac_try='test -s conftest$ac_exeext'
80894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80895 (eval $ac_try) 2>&5
80896 ac_status=$?
80897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80898 (exit $ac_status); }; }; then
80899 ac_gcsections=yes
80900 else
80901 echo "$as_me: failed program was:" >&5
80902 sed 's/^/| /' conftest.$ac_ext >&5
80904 ac_gcsections=no
80906 rm -f conftest.err conftest.$ac_objext \
80907 conftest$ac_exeext conftest.$ac_ext
80908 if test "$ac_gcsections" = "yes"; then
80909 rm -f conftest.c
80910 touch conftest.c
80911 if $CC -c conftest.c; then
80912 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80913 grep "Warning: gc-sections option ignored" > /dev/null; then
80914 ac_gcsections=no
80917 rm -f conftest.c conftest.o conftest
80919 if test "$ac_gcsections" = "yes"; then
80920 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80922 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80923 echo "${ECHO_T}$ac_gcsections" >&6
80925 if test "$ac_test_CFLAGS" = set; then
80926 CFLAGS="$ac_save_CFLAGS"
80927 else
80928 # this is the suspicious part
80929 CFLAGS=''
80933 # Set -z,relro.
80934 # Note this is only for shared objects.
80935 ac_ld_relro=no
80936 if test x"$with_gnu_ld" = x"yes"; then
80937 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80938 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80939 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80940 if test -n "$cxx_z_relo"; then
80941 OPT_LDFLAGS="-Wl,-z,relro"
80942 ac_ld_relro=yes
80944 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80945 echo "${ECHO_T}$ac_ld_relro" >&6
80948 # Set linker optimization flags.
80949 if test x"$with_gnu_ld" = x"yes"; then
80950 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80958 echo "$as_me:$LINENO: checking for main in -lm" >&5
80959 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80960 if test "${ac_cv_lib_m_main+set}" = set; then
80961 echo $ECHO_N "(cached) $ECHO_C" >&6
80962 else
80963 ac_check_lib_save_LIBS=$LIBS
80964 LIBS="-lm $LIBS"
80965 if test x$gcc_no_link = xyes; then
80966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80968 { (exit 1); exit 1; }; }
80970 cat >conftest.$ac_ext <<_ACEOF
80971 /* confdefs.h. */
80972 _ACEOF
80973 cat confdefs.h >>conftest.$ac_ext
80974 cat >>conftest.$ac_ext <<_ACEOF
80975 /* end confdefs.h. */
80979 main ()
80981 main ();
80983 return 0;
80985 _ACEOF
80986 rm -f conftest.$ac_objext conftest$ac_exeext
80987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80988 (eval $ac_link) 2>conftest.er1
80989 ac_status=$?
80990 grep -v '^ *+' conftest.er1 >conftest.err
80991 rm -f conftest.er1
80992 cat conftest.err >&5
80993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80994 (exit $ac_status); } &&
80995 { ac_try='test -z "$ac_c_werror_flag"
80996 || test ! -s conftest.err'
80997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80998 (eval $ac_try) 2>&5
80999 ac_status=$?
81000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81001 (exit $ac_status); }; } &&
81002 { ac_try='test -s conftest$ac_exeext'
81003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81004 (eval $ac_try) 2>&5
81005 ac_status=$?
81006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81007 (exit $ac_status); }; }; then
81008 ac_cv_lib_m_main=yes
81009 else
81010 echo "$as_me: failed program was:" >&5
81011 sed 's/^/| /' conftest.$ac_ext >&5
81013 ac_cv_lib_m_main=no
81015 rm -f conftest.err conftest.$ac_objext \
81016 conftest$ac_exeext conftest.$ac_ext
81017 LIBS=$ac_check_lib_save_LIBS
81019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81020 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81021 if test $ac_cv_lib_m_main = yes; then
81022 cat >>confdefs.h <<_ACEOF
81023 #define HAVE_LIBM 1
81024 _ACEOF
81026 LIBS="-lm $LIBS"
81031 for ac_func in copysignf
81033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81034 echo "$as_me:$LINENO: checking for $ac_func" >&5
81035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81036 if eval "test \"\${$as_ac_var+set}\" = set"; then
81037 echo $ECHO_N "(cached) $ECHO_C" >&6
81038 else
81039 if test x$gcc_no_link = xyes; then
81040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81042 { (exit 1); exit 1; }; }
81044 cat >conftest.$ac_ext <<_ACEOF
81045 /* confdefs.h. */
81046 _ACEOF
81047 cat confdefs.h >>conftest.$ac_ext
81048 cat >>conftest.$ac_ext <<_ACEOF
81049 /* end confdefs.h. */
81050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81052 #define $ac_func innocuous_$ac_func
81054 /* System header to define __stub macros and hopefully few prototypes,
81055 which can conflict with char $ac_func (); below.
81056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81057 <limits.h> exists even on freestanding compilers. */
81059 #ifdef __STDC__
81060 # include <limits.h>
81061 #else
81062 # include <assert.h>
81063 #endif
81065 #undef $ac_func
81067 /* Override any gcc2 internal prototype to avoid an error. */
81068 #ifdef __cplusplus
81069 extern "C"
81071 #endif
81072 /* We use char because int might match the return type of a gcc2
81073 builtin and then its argument prototype would still apply. */
81074 char $ac_func ();
81075 /* The GNU C library defines this for functions which it implements
81076 to always fail with ENOSYS. Some functions are actually named
81077 something starting with __ and the normal name is an alias. */
81078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81079 choke me
81080 #else
81081 char (*f) () = $ac_func;
81082 #endif
81083 #ifdef __cplusplus
81085 #endif
81088 main ()
81090 return f != $ac_func;
81092 return 0;
81094 _ACEOF
81095 rm -f conftest.$ac_objext conftest$ac_exeext
81096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81097 (eval $ac_link) 2>conftest.er1
81098 ac_status=$?
81099 grep -v '^ *+' conftest.er1 >conftest.err
81100 rm -f conftest.er1
81101 cat conftest.err >&5
81102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81103 (exit $ac_status); } &&
81104 { ac_try='test -z "$ac_c_werror_flag"
81105 || test ! -s conftest.err'
81106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81107 (eval $ac_try) 2>&5
81108 ac_status=$?
81109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81110 (exit $ac_status); }; } &&
81111 { ac_try='test -s conftest$ac_exeext'
81112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81113 (eval $ac_try) 2>&5
81114 ac_status=$?
81115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81116 (exit $ac_status); }; }; then
81117 eval "$as_ac_var=yes"
81118 else
81119 echo "$as_me: failed program was:" >&5
81120 sed 's/^/| /' conftest.$ac_ext >&5
81122 eval "$as_ac_var=no"
81124 rm -f conftest.err conftest.$ac_objext \
81125 conftest$ac_exeext conftest.$ac_ext
81127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81129 if test `eval echo '${'$as_ac_var'}'` = yes; then
81130 cat >>confdefs.h <<_ACEOF
81131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81132 _ACEOF
81134 else
81135 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81137 done
81141 for ac_func in __signbit
81143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81144 echo "$as_me:$LINENO: checking for $ac_func" >&5
81145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81146 if eval "test \"\${$as_ac_var+set}\" = set"; then
81147 echo $ECHO_N "(cached) $ECHO_C" >&6
81148 else
81149 if test x$gcc_no_link = xyes; then
81150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81152 { (exit 1); exit 1; }; }
81154 cat >conftest.$ac_ext <<_ACEOF
81155 /* confdefs.h. */
81156 _ACEOF
81157 cat confdefs.h >>conftest.$ac_ext
81158 cat >>conftest.$ac_ext <<_ACEOF
81159 /* end confdefs.h. */
81160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81162 #define $ac_func innocuous_$ac_func
81164 /* System header to define __stub macros and hopefully few prototypes,
81165 which can conflict with char $ac_func (); below.
81166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81167 <limits.h> exists even on freestanding compilers. */
81169 #ifdef __STDC__
81170 # include <limits.h>
81171 #else
81172 # include <assert.h>
81173 #endif
81175 #undef $ac_func
81177 /* Override any gcc2 internal prototype to avoid an error. */
81178 #ifdef __cplusplus
81179 extern "C"
81181 #endif
81182 /* We use char because int might match the return type of a gcc2
81183 builtin and then its argument prototype would still apply. */
81184 char $ac_func ();
81185 /* The GNU C library defines this for functions which it implements
81186 to always fail with ENOSYS. Some functions are actually named
81187 something starting with __ and the normal name is an alias. */
81188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81189 choke me
81190 #else
81191 char (*f) () = $ac_func;
81192 #endif
81193 #ifdef __cplusplus
81195 #endif
81198 main ()
81200 return f != $ac_func;
81202 return 0;
81204 _ACEOF
81205 rm -f conftest.$ac_objext conftest$ac_exeext
81206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81207 (eval $ac_link) 2>conftest.er1
81208 ac_status=$?
81209 grep -v '^ *+' conftest.er1 >conftest.err
81210 rm -f conftest.er1
81211 cat conftest.err >&5
81212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81213 (exit $ac_status); } &&
81214 { ac_try='test -z "$ac_c_werror_flag"
81215 || test ! -s conftest.err'
81216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81217 (eval $ac_try) 2>&5
81218 ac_status=$?
81219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81220 (exit $ac_status); }; } &&
81221 { ac_try='test -s conftest$ac_exeext'
81222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81223 (eval $ac_try) 2>&5
81224 ac_status=$?
81225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81226 (exit $ac_status); }; }; then
81227 eval "$as_ac_var=yes"
81228 else
81229 echo "$as_me: failed program was:" >&5
81230 sed 's/^/| /' conftest.$ac_ext >&5
81232 eval "$as_ac_var=no"
81234 rm -f conftest.err conftest.$ac_objext \
81235 conftest$ac_exeext conftest.$ac_ext
81237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81239 if test `eval echo '${'$as_ac_var'}'` = yes; then
81240 cat >>confdefs.h <<_ACEOF
81241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81242 _ACEOF
81244 else
81245 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81247 done
81251 for ac_func in __signbitf
81253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81254 echo "$as_me:$LINENO: checking for $ac_func" >&5
81255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81256 if eval "test \"\${$as_ac_var+set}\" = set"; then
81257 echo $ECHO_N "(cached) $ECHO_C" >&6
81258 else
81259 if test x$gcc_no_link = xyes; then
81260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81262 { (exit 1); exit 1; }; }
81264 cat >conftest.$ac_ext <<_ACEOF
81265 /* confdefs.h. */
81266 _ACEOF
81267 cat confdefs.h >>conftest.$ac_ext
81268 cat >>conftest.$ac_ext <<_ACEOF
81269 /* end confdefs.h. */
81270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81272 #define $ac_func innocuous_$ac_func
81274 /* System header to define __stub macros and hopefully few prototypes,
81275 which can conflict with char $ac_func (); below.
81276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81277 <limits.h> exists even on freestanding compilers. */
81279 #ifdef __STDC__
81280 # include <limits.h>
81281 #else
81282 # include <assert.h>
81283 #endif
81285 #undef $ac_func
81287 /* Override any gcc2 internal prototype to avoid an error. */
81288 #ifdef __cplusplus
81289 extern "C"
81291 #endif
81292 /* We use char because int might match the return type of a gcc2
81293 builtin and then its argument prototype would still apply. */
81294 char $ac_func ();
81295 /* The GNU C library defines this for functions which it implements
81296 to always fail with ENOSYS. Some functions are actually named
81297 something starting with __ and the normal name is an alias. */
81298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81299 choke me
81300 #else
81301 char (*f) () = $ac_func;
81302 #endif
81303 #ifdef __cplusplus
81305 #endif
81308 main ()
81310 return f != $ac_func;
81312 return 0;
81314 _ACEOF
81315 rm -f conftest.$ac_objext conftest$ac_exeext
81316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81317 (eval $ac_link) 2>conftest.er1
81318 ac_status=$?
81319 grep -v '^ *+' conftest.er1 >conftest.err
81320 rm -f conftest.er1
81321 cat conftest.err >&5
81322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81323 (exit $ac_status); } &&
81324 { ac_try='test -z "$ac_c_werror_flag"
81325 || test ! -s conftest.err'
81326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81327 (eval $ac_try) 2>&5
81328 ac_status=$?
81329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81330 (exit $ac_status); }; } &&
81331 { ac_try='test -s conftest$ac_exeext'
81332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81333 (eval $ac_try) 2>&5
81334 ac_status=$?
81335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81336 (exit $ac_status); }; }; then
81337 eval "$as_ac_var=yes"
81338 else
81339 echo "$as_me: failed program was:" >&5
81340 sed 's/^/| /' conftest.$ac_ext >&5
81342 eval "$as_ac_var=no"
81344 rm -f conftest.err conftest.$ac_objext \
81345 conftest$ac_exeext conftest.$ac_ext
81347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81349 if test `eval echo '${'$as_ac_var'}'` = yes; then
81350 cat >>confdefs.h <<_ACEOF
81351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81352 _ACEOF
81354 else
81355 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81357 done
81360 if test x$ac_cv_func_copysignl = x"yes"; then
81362 for ac_func in __signbitl
81364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81365 echo "$as_me:$LINENO: checking for $ac_func" >&5
81366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81367 if eval "test \"\${$as_ac_var+set}\" = set"; then
81368 echo $ECHO_N "(cached) $ECHO_C" >&6
81369 else
81370 if test x$gcc_no_link = xyes; then
81371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81373 { (exit 1); exit 1; }; }
81375 cat >conftest.$ac_ext <<_ACEOF
81376 /* confdefs.h. */
81377 _ACEOF
81378 cat confdefs.h >>conftest.$ac_ext
81379 cat >>conftest.$ac_ext <<_ACEOF
81380 /* end confdefs.h. */
81381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81383 #define $ac_func innocuous_$ac_func
81385 /* System header to define __stub macros and hopefully few prototypes,
81386 which can conflict with char $ac_func (); below.
81387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81388 <limits.h> exists even on freestanding compilers. */
81390 #ifdef __STDC__
81391 # include <limits.h>
81392 #else
81393 # include <assert.h>
81394 #endif
81396 #undef $ac_func
81398 /* Override any gcc2 internal prototype to avoid an error. */
81399 #ifdef __cplusplus
81400 extern "C"
81402 #endif
81403 /* We use char because int might match the return type of a gcc2
81404 builtin and then its argument prototype would still apply. */
81405 char $ac_func ();
81406 /* The GNU C library defines this for functions which it implements
81407 to always fail with ENOSYS. Some functions are actually named
81408 something starting with __ and the normal name is an alias. */
81409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81410 choke me
81411 #else
81412 char (*f) () = $ac_func;
81413 #endif
81414 #ifdef __cplusplus
81416 #endif
81419 main ()
81421 return f != $ac_func;
81423 return 0;
81425 _ACEOF
81426 rm -f conftest.$ac_objext conftest$ac_exeext
81427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81428 (eval $ac_link) 2>conftest.er1
81429 ac_status=$?
81430 grep -v '^ *+' conftest.er1 >conftest.err
81431 rm -f conftest.er1
81432 cat conftest.err >&5
81433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81434 (exit $ac_status); } &&
81435 { ac_try='test -z "$ac_c_werror_flag"
81436 || test ! -s conftest.err'
81437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81438 (eval $ac_try) 2>&5
81439 ac_status=$?
81440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81441 (exit $ac_status); }; } &&
81442 { ac_try='test -s conftest$ac_exeext'
81443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81444 (eval $ac_try) 2>&5
81445 ac_status=$?
81446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81447 (exit $ac_status); }; }; then
81448 eval "$as_ac_var=yes"
81449 else
81450 echo "$as_me: failed program was:" >&5
81451 sed 's/^/| /' conftest.$ac_ext >&5
81453 eval "$as_ac_var=no"
81455 rm -f conftest.err conftest.$ac_objext \
81456 conftest$ac_exeext conftest.$ac_ext
81458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81460 if test `eval echo '${'$as_ac_var'}'` = yes; then
81461 cat >>confdefs.h <<_ACEOF
81462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81463 _ACEOF
81465 else
81466 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81468 done
81472 # Used in libmath/Makefile.am.
81473 if test -n "$LIBMATHOBJS"; then
81474 need_libmath=yes
81478 cat >>confdefs.h <<\_ACEOF
81479 #define HAVE_COPYSIGN 1
81480 _ACEOF
81482 cat >>confdefs.h <<\_ACEOF
81483 #define HAVE_COPYSIGNF 1
81484 _ACEOF
81486 cat >>confdefs.h <<\_ACEOF
81487 #define HAVE_FREXPF 1
81488 _ACEOF
81490 cat >>confdefs.h <<\_ACEOF
81491 #define HAVE_HYPOT 1
81492 _ACEOF
81494 case "$target" in
81495 *-hpux10*)
81496 cat >>confdefs.h <<\_ACEOF
81497 #define HAVE_FINITE 1
81498 _ACEOF
81500 cat >>confdefs.h <<\_ACEOF
81501 #define HAVE_FINITEF 1
81502 _ACEOF
81504 cat >>confdefs.h <<\_ACEOF
81505 #define HAVE_ISINF 1
81506 _ACEOF
81508 cat >>confdefs.h <<\_ACEOF
81509 #define HAVE_ISINFF 1
81510 _ACEOF
81512 cat >>confdefs.h <<\_ACEOF
81513 #define HAVE_ISNAN 1
81514 _ACEOF
81516 cat >>confdefs.h <<\_ACEOF
81517 #define HAVE_ISNANF 1
81518 _ACEOF
81521 esac
81523 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
81524 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81527 # All these tests are for C++; save the language and the compiler flags.
81528 # The CXXFLAGS thing is suspicious, but based on similar bits previously
81529 # found in GLIBCXX_CONFIGURE.
81532 ac_ext=cc
81533 ac_cpp='$CXXCPP $CPPFLAGS'
81534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81538 ac_test_CXXFLAGS="${CXXFLAGS+set}"
81539 ac_save_CXXFLAGS="$CXXFLAGS"
81541 # Check for maintainer-mode bits.
81542 if test x"$USE_MAINTAINER_MODE" = xno; then
81543 WERROR=''
81544 else
81545 WERROR='-Werror'
81548 # Check for -ffunction-sections -fdata-sections
81549 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
81550 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
81551 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
81552 cat >conftest.$ac_ext <<_ACEOF
81553 /* confdefs.h. */
81554 _ACEOF
81555 cat confdefs.h >>conftest.$ac_ext
81556 cat >>conftest.$ac_ext <<_ACEOF
81557 /* end confdefs.h. */
81558 int foo; void bar() { };
81560 main ()
81564 return 0;
81566 _ACEOF
81567 rm -f conftest.$ac_objext
81568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81569 (eval $ac_compile) 2>conftest.er1
81570 ac_status=$?
81571 grep -v '^ *+' conftest.er1 >conftest.err
81572 rm -f conftest.er1
81573 cat conftest.err >&5
81574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81575 (exit $ac_status); } &&
81576 { ac_try='test -z "$ac_cxx_werror_flag"
81577 || test ! -s conftest.err'
81578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81579 (eval $ac_try) 2>&5
81580 ac_status=$?
81581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81582 (exit $ac_status); }; } &&
81583 { ac_try='test -s conftest.$ac_objext'
81584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81585 (eval $ac_try) 2>&5
81586 ac_status=$?
81587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81588 (exit $ac_status); }; }; then
81589 ac_fdsections=yes
81590 else
81591 echo "$as_me: failed program was:" >&5
81592 sed 's/^/| /' conftest.$ac_ext >&5
81594 ac_fdsections=no
81596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81597 if test "$ac_test_CXXFLAGS" = set; then
81598 CXXFLAGS="$ac_save_CXXFLAGS"
81599 else
81600 # this is the suspicious part
81601 CXXFLAGS=''
81603 if test x"$ac_fdsections" = x"yes"; then
81604 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81606 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
81607 echo "${ECHO_T}$ac_fdsections" >&6
81609 ac_ext=c
81610 ac_cpp='$CPP $CPPFLAGS'
81611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81619 # If we're not using GNU ld, then there's no point in even trying these
81620 # tests. Check for that first. We should have already tested for gld
81621 # by now (in libtool), but require it now just to be safe...
81622 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81623 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81627 # The name set by libtool depends on the version of libtool. Shame on us
81628 # for depending on an impl detail, but c'est la vie. Older versions used
81629 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81630 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81631 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81632 # set (hence we're using an older libtool), then set it.
81633 if test x${with_gnu_ld+set} != xset; then
81634 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81635 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81636 with_gnu_ld=no
81637 else
81638 with_gnu_ld=$ac_cv_prog_gnu_ld
81642 # Start by getting the version number. I think the libtool test already
81643 # does some of this, but throws away the result.
81644 glibcxx_ld_is_gold=no
81645 if test x"$with_gnu_ld" = x"yes"; then
81646 echo "$as_me:$LINENO: checking for ld version" >&5
81647 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81649 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
81650 glibcxx_ld_is_gold=yes
81652 ldver=`$LD --version 2>/dev/null | head -1 | \
81653 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
81655 glibcxx_gnu_ld_version=`echo $ldver | \
81656 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81657 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81658 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81661 # Set --gc-sections.
81662 glibcxx_have_gc_sections=no
81663 if test "$glibcxx_ld_is_gold" = "yes"; then
81664 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
81665 glibcxx_have_gc_sections=yes
81667 else
81668 glibcxx_gcsections_min_ld=21602
81669 if test x"$with_gnu_ld" = x"yes" &&
81670 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81671 glibcxx_have_gc_sections=yes
81674 if test "$glibcxx_have_gc_sections" = "yes"; then
81675 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
81676 # NB: This flag only works reliably after 2.16.1. Configure tests
81677 # for this are difficult, so hard wire a value that should work.
81679 ac_test_CFLAGS="${CFLAGS+set}"
81680 ac_save_CFLAGS="$CFLAGS"
81681 CFLAGS='-Wl,--gc-sections'
81683 # Check for -Wl,--gc-sections
81684 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81685 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81686 if test x$gcc_no_link = xyes; then
81687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81689 { (exit 1); exit 1; }; }
81691 cat >conftest.$ac_ext <<_ACEOF
81692 /* confdefs.h. */
81693 _ACEOF
81694 cat confdefs.h >>conftest.$ac_ext
81695 cat >>conftest.$ac_ext <<_ACEOF
81696 /* end confdefs.h. */
81697 int one(void) { return 1; }
81698 int two(void) { return 2; }
81701 main ()
81703 two();
81705 return 0;
81707 _ACEOF
81708 rm -f conftest.$ac_objext conftest$ac_exeext
81709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81710 (eval $ac_link) 2>conftest.er1
81711 ac_status=$?
81712 grep -v '^ *+' conftest.er1 >conftest.err
81713 rm -f conftest.er1
81714 cat conftest.err >&5
81715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81716 (exit $ac_status); } &&
81717 { ac_try='test -z "$ac_c_werror_flag"
81718 || test ! -s conftest.err'
81719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81720 (eval $ac_try) 2>&5
81721 ac_status=$?
81722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81723 (exit $ac_status); }; } &&
81724 { ac_try='test -s conftest$ac_exeext'
81725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81726 (eval $ac_try) 2>&5
81727 ac_status=$?
81728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81729 (exit $ac_status); }; }; then
81730 ac_gcsections=yes
81731 else
81732 echo "$as_me: failed program was:" >&5
81733 sed 's/^/| /' conftest.$ac_ext >&5
81735 ac_gcsections=no
81737 rm -f conftest.err conftest.$ac_objext \
81738 conftest$ac_exeext conftest.$ac_ext
81739 if test "$ac_gcsections" = "yes"; then
81740 rm -f conftest.c
81741 touch conftest.c
81742 if $CC -c conftest.c; then
81743 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81744 grep "Warning: gc-sections option ignored" > /dev/null; then
81745 ac_gcsections=no
81748 rm -f conftest.c conftest.o conftest
81750 if test "$ac_gcsections" = "yes"; then
81751 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81753 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81754 echo "${ECHO_T}$ac_gcsections" >&6
81756 if test "$ac_test_CFLAGS" = set; then
81757 CFLAGS="$ac_save_CFLAGS"
81758 else
81759 # this is the suspicious part
81760 CFLAGS=''
81764 # Set -z,relro.
81765 # Note this is only for shared objects.
81766 ac_ld_relro=no
81767 if test x"$with_gnu_ld" = x"yes"; then
81768 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81769 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81770 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81771 if test -n "$cxx_z_relo"; then
81772 OPT_LDFLAGS="-Wl,-z,relro"
81773 ac_ld_relro=yes
81775 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81776 echo "${ECHO_T}$ac_ld_relro" >&6
81779 # Set linker optimization flags.
81780 if test x"$with_gnu_ld" = x"yes"; then
81781 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81788 ac_test_CXXFLAGS="${CXXFLAGS+set}"
81789 ac_save_CXXFLAGS="$CXXFLAGS"
81790 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
81792 echo "$as_me:$LINENO: checking for sin in -lm" >&5
81793 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
81794 if test "${ac_cv_lib_m_sin+set}" = set; then
81795 echo $ECHO_N "(cached) $ECHO_C" >&6
81796 else
81797 ac_check_lib_save_LIBS=$LIBS
81798 LIBS="-lm $LIBS"
81799 if test x$gcc_no_link = xyes; then
81800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81802 { (exit 1); exit 1; }; }
81804 cat >conftest.$ac_ext <<_ACEOF
81805 /* confdefs.h. */
81806 _ACEOF
81807 cat confdefs.h >>conftest.$ac_ext
81808 cat >>conftest.$ac_ext <<_ACEOF
81809 /* end confdefs.h. */
81811 /* Override any gcc2 internal prototype to avoid an error. */
81812 #ifdef __cplusplus
81813 extern "C"
81814 #endif
81815 /* We use char because int might match the return type of a gcc2
81816 builtin and then its argument prototype would still apply. */
81817 char sin ();
81819 main ()
81821 sin ();
81823 return 0;
81825 _ACEOF
81826 rm -f conftest.$ac_objext conftest$ac_exeext
81827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81828 (eval $ac_link) 2>conftest.er1
81829 ac_status=$?
81830 grep -v '^ *+' conftest.er1 >conftest.err
81831 rm -f conftest.er1
81832 cat conftest.err >&5
81833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81834 (exit $ac_status); } &&
81835 { ac_try='test -z "$ac_c_werror_flag"
81836 || test ! -s conftest.err'
81837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81838 (eval $ac_try) 2>&5
81839 ac_status=$?
81840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81841 (exit $ac_status); }; } &&
81842 { ac_try='test -s conftest$ac_exeext'
81843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81844 (eval $ac_try) 2>&5
81845 ac_status=$?
81846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81847 (exit $ac_status); }; }; then
81848 ac_cv_lib_m_sin=yes
81849 else
81850 echo "$as_me: failed program was:" >&5
81851 sed 's/^/| /' conftest.$ac_ext >&5
81853 ac_cv_lib_m_sin=no
81855 rm -f conftest.err conftest.$ac_objext \
81856 conftest$ac_exeext conftest.$ac_ext
81857 LIBS=$ac_check_lib_save_LIBS
81859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
81860 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
81861 if test $ac_cv_lib_m_sin = yes; then
81862 libm="-lm"
81865 ac_save_LIBS="$LIBS"
81866 LIBS="$LIBS $libm"
81870 echo "$as_me:$LINENO: checking for isinf declaration" >&5
81871 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
81872 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
81873 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
81874 echo $ECHO_N "(cached) $ECHO_C" >&6
81875 else
81879 ac_ext=cc
81880 ac_cpp='$CXXCPP $CPPFLAGS'
81881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81885 cat >conftest.$ac_ext <<_ACEOF
81886 /* confdefs.h. */
81887 _ACEOF
81888 cat confdefs.h >>conftest.$ac_ext
81889 cat >>conftest.$ac_ext <<_ACEOF
81890 /* end confdefs.h. */
81891 #include <math.h>
81892 #ifdef HAVE_IEEEFP_H
81893 #include <ieeefp.h>
81894 #endif
81897 main ()
81899 isinf(0);
81901 return 0;
81903 _ACEOF
81904 rm -f conftest.$ac_objext
81905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81906 (eval $ac_compile) 2>conftest.er1
81907 ac_status=$?
81908 grep -v '^ *+' conftest.er1 >conftest.err
81909 rm -f conftest.er1
81910 cat conftest.err >&5
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); } &&
81913 { ac_try='test -z "$ac_cxx_werror_flag"
81914 || test ! -s conftest.err'
81915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81916 (eval $ac_try) 2>&5
81917 ac_status=$?
81918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81919 (exit $ac_status); }; } &&
81920 { ac_try='test -s conftest.$ac_objext'
81921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81922 (eval $ac_try) 2>&5
81923 ac_status=$?
81924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81925 (exit $ac_status); }; }; then
81926 glibcxx_cv_func_isinf_use=yes
81927 else
81928 echo "$as_me: failed program was:" >&5
81929 sed 's/^/| /' conftest.$ac_ext >&5
81931 glibcxx_cv_func_isinf_use=no
81933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81934 ac_ext=c
81935 ac_cpp='$CPP $CPPFLAGS'
81936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
81945 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
81947 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
81949 for ac_func in isinf
81951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81952 echo "$as_me:$LINENO: checking for $ac_func" >&5
81953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81954 if eval "test \"\${$as_ac_var+set}\" = set"; then
81955 echo $ECHO_N "(cached) $ECHO_C" >&6
81956 else
81957 if test x$gcc_no_link = xyes; then
81958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81960 { (exit 1); exit 1; }; }
81962 cat >conftest.$ac_ext <<_ACEOF
81963 /* confdefs.h. */
81964 _ACEOF
81965 cat confdefs.h >>conftest.$ac_ext
81966 cat >>conftest.$ac_ext <<_ACEOF
81967 /* end confdefs.h. */
81968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81970 #define $ac_func innocuous_$ac_func
81972 /* System header to define __stub macros and hopefully few prototypes,
81973 which can conflict with char $ac_func (); below.
81974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81975 <limits.h> exists even on freestanding compilers. */
81977 #ifdef __STDC__
81978 # include <limits.h>
81979 #else
81980 # include <assert.h>
81981 #endif
81983 #undef $ac_func
81985 /* Override any gcc2 internal prototype to avoid an error. */
81986 #ifdef __cplusplus
81987 extern "C"
81989 #endif
81990 /* We use char because int might match the return type of a gcc2
81991 builtin and then its argument prototype would still apply. */
81992 char $ac_func ();
81993 /* The GNU C library defines this for functions which it implements
81994 to always fail with ENOSYS. Some functions are actually named
81995 something starting with __ and the normal name is an alias. */
81996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81997 choke me
81998 #else
81999 char (*f) () = $ac_func;
82000 #endif
82001 #ifdef __cplusplus
82003 #endif
82006 main ()
82008 return f != $ac_func;
82010 return 0;
82012 _ACEOF
82013 rm -f conftest.$ac_objext conftest$ac_exeext
82014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82015 (eval $ac_link) 2>conftest.er1
82016 ac_status=$?
82017 grep -v '^ *+' conftest.er1 >conftest.err
82018 rm -f conftest.er1
82019 cat conftest.err >&5
82020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021 (exit $ac_status); } &&
82022 { ac_try='test -z "$ac_c_werror_flag"
82023 || test ! -s conftest.err'
82024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82025 (eval $ac_try) 2>&5
82026 ac_status=$?
82027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82028 (exit $ac_status); }; } &&
82029 { ac_try='test -s conftest$ac_exeext'
82030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82031 (eval $ac_try) 2>&5
82032 ac_status=$?
82033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82034 (exit $ac_status); }; }; then
82035 eval "$as_ac_var=yes"
82036 else
82037 echo "$as_me: failed program was:" >&5
82038 sed 's/^/| /' conftest.$ac_ext >&5
82040 eval "$as_ac_var=no"
82042 rm -f conftest.err conftest.$ac_objext \
82043 conftest$ac_exeext conftest.$ac_ext
82045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82047 if test `eval echo '${'$as_ac_var'}'` = yes; then
82048 cat >>confdefs.h <<_ACEOF
82049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82050 _ACEOF
82053 done
82055 else
82057 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
82058 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
82059 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
82060 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
82061 echo $ECHO_N "(cached) $ECHO_C" >&6
82062 else
82066 ac_ext=cc
82067 ac_cpp='$CXXCPP $CPPFLAGS'
82068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82072 cat >conftest.$ac_ext <<_ACEOF
82073 /* confdefs.h. */
82074 _ACEOF
82075 cat confdefs.h >>conftest.$ac_ext
82076 cat >>conftest.$ac_ext <<_ACEOF
82077 /* end confdefs.h. */
82078 #include <math.h>
82079 #ifdef HAVE_IEEEFP_H
82080 #include <ieeefp.h>
82081 #endif
82084 main ()
82086 _isinf(0);
82088 return 0;
82090 _ACEOF
82091 rm -f conftest.$ac_objext
82092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82093 (eval $ac_compile) 2>conftest.er1
82094 ac_status=$?
82095 grep -v '^ *+' conftest.er1 >conftest.err
82096 rm -f conftest.er1
82097 cat conftest.err >&5
82098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82099 (exit $ac_status); } &&
82100 { ac_try='test -z "$ac_cxx_werror_flag"
82101 || test ! -s conftest.err'
82102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82103 (eval $ac_try) 2>&5
82104 ac_status=$?
82105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82106 (exit $ac_status); }; } &&
82107 { ac_try='test -s conftest.$ac_objext'
82108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82109 (eval $ac_try) 2>&5
82110 ac_status=$?
82111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82112 (exit $ac_status); }; }; then
82113 glibcxx_cv_func__isinf_use=yes
82114 else
82115 echo "$as_me: failed program was:" >&5
82116 sed 's/^/| /' conftest.$ac_ext >&5
82118 glibcxx_cv_func__isinf_use=no
82120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82121 ac_ext=c
82122 ac_cpp='$CPP $CPPFLAGS'
82123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82131 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
82132 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
82134 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
82136 for ac_func in _isinf
82138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82139 echo "$as_me:$LINENO: checking for $ac_func" >&5
82140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82141 if eval "test \"\${$as_ac_var+set}\" = set"; then
82142 echo $ECHO_N "(cached) $ECHO_C" >&6
82143 else
82144 if test x$gcc_no_link = xyes; then
82145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82147 { (exit 1); exit 1; }; }
82149 cat >conftest.$ac_ext <<_ACEOF
82150 /* confdefs.h. */
82151 _ACEOF
82152 cat confdefs.h >>conftest.$ac_ext
82153 cat >>conftest.$ac_ext <<_ACEOF
82154 /* end confdefs.h. */
82155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82157 #define $ac_func innocuous_$ac_func
82159 /* System header to define __stub macros and hopefully few prototypes,
82160 which can conflict with char $ac_func (); below.
82161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82162 <limits.h> exists even on freestanding compilers. */
82164 #ifdef __STDC__
82165 # include <limits.h>
82166 #else
82167 # include <assert.h>
82168 #endif
82170 #undef $ac_func
82172 /* Override any gcc2 internal prototype to avoid an error. */
82173 #ifdef __cplusplus
82174 extern "C"
82176 #endif
82177 /* We use char because int might match the return type of a gcc2
82178 builtin and then its argument prototype would still apply. */
82179 char $ac_func ();
82180 /* The GNU C library defines this for functions which it implements
82181 to always fail with ENOSYS. Some functions are actually named
82182 something starting with __ and the normal name is an alias. */
82183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82184 choke me
82185 #else
82186 char (*f) () = $ac_func;
82187 #endif
82188 #ifdef __cplusplus
82190 #endif
82193 main ()
82195 return f != $ac_func;
82197 return 0;
82199 _ACEOF
82200 rm -f conftest.$ac_objext conftest$ac_exeext
82201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82202 (eval $ac_link) 2>conftest.er1
82203 ac_status=$?
82204 grep -v '^ *+' conftest.er1 >conftest.err
82205 rm -f conftest.er1
82206 cat conftest.err >&5
82207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82208 (exit $ac_status); } &&
82209 { ac_try='test -z "$ac_c_werror_flag"
82210 || test ! -s conftest.err'
82211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82212 (eval $ac_try) 2>&5
82213 ac_status=$?
82214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82215 (exit $ac_status); }; } &&
82216 { ac_try='test -s conftest$ac_exeext'
82217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82218 (eval $ac_try) 2>&5
82219 ac_status=$?
82220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82221 (exit $ac_status); }; }; then
82222 eval "$as_ac_var=yes"
82223 else
82224 echo "$as_me: failed program was:" >&5
82225 sed 's/^/| /' conftest.$ac_ext >&5
82227 eval "$as_ac_var=no"
82229 rm -f conftest.err conftest.$ac_objext \
82230 conftest$ac_exeext conftest.$ac_ext
82232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82234 if test `eval echo '${'$as_ac_var'}'` = yes; then
82235 cat >>confdefs.h <<_ACEOF
82236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82237 _ACEOF
82240 done
82250 echo "$as_me:$LINENO: checking for isnan declaration" >&5
82251 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
82252 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
82253 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
82254 echo $ECHO_N "(cached) $ECHO_C" >&6
82255 else
82259 ac_ext=cc
82260 ac_cpp='$CXXCPP $CPPFLAGS'
82261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82265 cat >conftest.$ac_ext <<_ACEOF
82266 /* confdefs.h. */
82267 _ACEOF
82268 cat confdefs.h >>conftest.$ac_ext
82269 cat >>conftest.$ac_ext <<_ACEOF
82270 /* end confdefs.h. */
82271 #include <math.h>
82272 #ifdef HAVE_IEEEFP_H
82273 #include <ieeefp.h>
82274 #endif
82277 main ()
82279 isnan(0);
82281 return 0;
82283 _ACEOF
82284 rm -f conftest.$ac_objext
82285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82286 (eval $ac_compile) 2>conftest.er1
82287 ac_status=$?
82288 grep -v '^ *+' conftest.er1 >conftest.err
82289 rm -f conftest.er1
82290 cat conftest.err >&5
82291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82292 (exit $ac_status); } &&
82293 { ac_try='test -z "$ac_cxx_werror_flag"
82294 || test ! -s conftest.err'
82295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82296 (eval $ac_try) 2>&5
82297 ac_status=$?
82298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82299 (exit $ac_status); }; } &&
82300 { ac_try='test -s conftest.$ac_objext'
82301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82302 (eval $ac_try) 2>&5
82303 ac_status=$?
82304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82305 (exit $ac_status); }; }; then
82306 glibcxx_cv_func_isnan_use=yes
82307 else
82308 echo "$as_me: failed program was:" >&5
82309 sed 's/^/| /' conftest.$ac_ext >&5
82311 glibcxx_cv_func_isnan_use=no
82313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82314 ac_ext=c
82315 ac_cpp='$CPP $CPPFLAGS'
82316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82324 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
82325 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
82327 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
82329 for ac_func in isnan
82331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82332 echo "$as_me:$LINENO: checking for $ac_func" >&5
82333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82334 if eval "test \"\${$as_ac_var+set}\" = set"; then
82335 echo $ECHO_N "(cached) $ECHO_C" >&6
82336 else
82337 if test x$gcc_no_link = xyes; then
82338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82340 { (exit 1); exit 1; }; }
82342 cat >conftest.$ac_ext <<_ACEOF
82343 /* confdefs.h. */
82344 _ACEOF
82345 cat confdefs.h >>conftest.$ac_ext
82346 cat >>conftest.$ac_ext <<_ACEOF
82347 /* end confdefs.h. */
82348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82350 #define $ac_func innocuous_$ac_func
82352 /* System header to define __stub macros and hopefully few prototypes,
82353 which can conflict with char $ac_func (); below.
82354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82355 <limits.h> exists even on freestanding compilers. */
82357 #ifdef __STDC__
82358 # include <limits.h>
82359 #else
82360 # include <assert.h>
82361 #endif
82363 #undef $ac_func
82365 /* Override any gcc2 internal prototype to avoid an error. */
82366 #ifdef __cplusplus
82367 extern "C"
82369 #endif
82370 /* We use char because int might match the return type of a gcc2
82371 builtin and then its argument prototype would still apply. */
82372 char $ac_func ();
82373 /* The GNU C library defines this for functions which it implements
82374 to always fail with ENOSYS. Some functions are actually named
82375 something starting with __ and the normal name is an alias. */
82376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82377 choke me
82378 #else
82379 char (*f) () = $ac_func;
82380 #endif
82381 #ifdef __cplusplus
82383 #endif
82386 main ()
82388 return f != $ac_func;
82390 return 0;
82392 _ACEOF
82393 rm -f conftest.$ac_objext conftest$ac_exeext
82394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82395 (eval $ac_link) 2>conftest.er1
82396 ac_status=$?
82397 grep -v '^ *+' conftest.er1 >conftest.err
82398 rm -f conftest.er1
82399 cat conftest.err >&5
82400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82401 (exit $ac_status); } &&
82402 { ac_try='test -z "$ac_c_werror_flag"
82403 || test ! -s conftest.err'
82404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82405 (eval $ac_try) 2>&5
82406 ac_status=$?
82407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82408 (exit $ac_status); }; } &&
82409 { ac_try='test -s conftest$ac_exeext'
82410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82411 (eval $ac_try) 2>&5
82412 ac_status=$?
82413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82414 (exit $ac_status); }; }; then
82415 eval "$as_ac_var=yes"
82416 else
82417 echo "$as_me: failed program was:" >&5
82418 sed 's/^/| /' conftest.$ac_ext >&5
82420 eval "$as_ac_var=no"
82422 rm -f conftest.err conftest.$ac_objext \
82423 conftest$ac_exeext conftest.$ac_ext
82425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82427 if test `eval echo '${'$as_ac_var'}'` = yes; then
82428 cat >>confdefs.h <<_ACEOF
82429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82430 _ACEOF
82433 done
82435 else
82437 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
82438 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
82439 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
82440 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
82441 echo $ECHO_N "(cached) $ECHO_C" >&6
82442 else
82446 ac_ext=cc
82447 ac_cpp='$CXXCPP $CPPFLAGS'
82448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82452 cat >conftest.$ac_ext <<_ACEOF
82453 /* confdefs.h. */
82454 _ACEOF
82455 cat confdefs.h >>conftest.$ac_ext
82456 cat >>conftest.$ac_ext <<_ACEOF
82457 /* end confdefs.h. */
82458 #include <math.h>
82459 #ifdef HAVE_IEEEFP_H
82460 #include <ieeefp.h>
82461 #endif
82464 main ()
82466 _isnan(0);
82468 return 0;
82470 _ACEOF
82471 rm -f conftest.$ac_objext
82472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82473 (eval $ac_compile) 2>conftest.er1
82474 ac_status=$?
82475 grep -v '^ *+' conftest.er1 >conftest.err
82476 rm -f conftest.er1
82477 cat conftest.err >&5
82478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82479 (exit $ac_status); } &&
82480 { ac_try='test -z "$ac_cxx_werror_flag"
82481 || test ! -s conftest.err'
82482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82483 (eval $ac_try) 2>&5
82484 ac_status=$?
82485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82486 (exit $ac_status); }; } &&
82487 { ac_try='test -s conftest.$ac_objext'
82488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82489 (eval $ac_try) 2>&5
82490 ac_status=$?
82491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82492 (exit $ac_status); }; }; then
82493 glibcxx_cv_func__isnan_use=yes
82494 else
82495 echo "$as_me: failed program was:" >&5
82496 sed 's/^/| /' conftest.$ac_ext >&5
82498 glibcxx_cv_func__isnan_use=no
82500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82501 ac_ext=c
82502 ac_cpp='$CPP $CPPFLAGS'
82503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
82512 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
82514 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
82516 for ac_func in _isnan
82518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82519 echo "$as_me:$LINENO: checking for $ac_func" >&5
82520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82521 if eval "test \"\${$as_ac_var+set}\" = set"; then
82522 echo $ECHO_N "(cached) $ECHO_C" >&6
82523 else
82524 if test x$gcc_no_link = xyes; then
82525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82527 { (exit 1); exit 1; }; }
82529 cat >conftest.$ac_ext <<_ACEOF
82530 /* confdefs.h. */
82531 _ACEOF
82532 cat confdefs.h >>conftest.$ac_ext
82533 cat >>conftest.$ac_ext <<_ACEOF
82534 /* end confdefs.h. */
82535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82537 #define $ac_func innocuous_$ac_func
82539 /* System header to define __stub macros and hopefully few prototypes,
82540 which can conflict with char $ac_func (); below.
82541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82542 <limits.h> exists even on freestanding compilers. */
82544 #ifdef __STDC__
82545 # include <limits.h>
82546 #else
82547 # include <assert.h>
82548 #endif
82550 #undef $ac_func
82552 /* Override any gcc2 internal prototype to avoid an error. */
82553 #ifdef __cplusplus
82554 extern "C"
82556 #endif
82557 /* We use char because int might match the return type of a gcc2
82558 builtin and then its argument prototype would still apply. */
82559 char $ac_func ();
82560 /* The GNU C library defines this for functions which it implements
82561 to always fail with ENOSYS. Some functions are actually named
82562 something starting with __ and the normal name is an alias. */
82563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82564 choke me
82565 #else
82566 char (*f) () = $ac_func;
82567 #endif
82568 #ifdef __cplusplus
82570 #endif
82573 main ()
82575 return f != $ac_func;
82577 return 0;
82579 _ACEOF
82580 rm -f conftest.$ac_objext conftest$ac_exeext
82581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82582 (eval $ac_link) 2>conftest.er1
82583 ac_status=$?
82584 grep -v '^ *+' conftest.er1 >conftest.err
82585 rm -f conftest.er1
82586 cat conftest.err >&5
82587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82588 (exit $ac_status); } &&
82589 { ac_try='test -z "$ac_c_werror_flag"
82590 || test ! -s conftest.err'
82591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82592 (eval $ac_try) 2>&5
82593 ac_status=$?
82594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82595 (exit $ac_status); }; } &&
82596 { ac_try='test -s conftest$ac_exeext'
82597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82598 (eval $ac_try) 2>&5
82599 ac_status=$?
82600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82601 (exit $ac_status); }; }; then
82602 eval "$as_ac_var=yes"
82603 else
82604 echo "$as_me: failed program was:" >&5
82605 sed 's/^/| /' conftest.$ac_ext >&5
82607 eval "$as_ac_var=no"
82609 rm -f conftest.err conftest.$ac_objext \
82610 conftest$ac_exeext conftest.$ac_ext
82612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82614 if test `eval echo '${'$as_ac_var'}'` = yes; then
82615 cat >>confdefs.h <<_ACEOF
82616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82617 _ACEOF
82620 done
82630 echo "$as_me:$LINENO: checking for finite declaration" >&5
82631 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
82632 if test x${glibcxx_cv_func_finite_use+set} != xset; then
82633 if test "${glibcxx_cv_func_finite_use+set}" = set; then
82634 echo $ECHO_N "(cached) $ECHO_C" >&6
82635 else
82639 ac_ext=cc
82640 ac_cpp='$CXXCPP $CPPFLAGS'
82641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82645 cat >conftest.$ac_ext <<_ACEOF
82646 /* confdefs.h. */
82647 _ACEOF
82648 cat confdefs.h >>conftest.$ac_ext
82649 cat >>conftest.$ac_ext <<_ACEOF
82650 /* end confdefs.h. */
82651 #include <math.h>
82652 #ifdef HAVE_IEEEFP_H
82653 #include <ieeefp.h>
82654 #endif
82657 main ()
82659 finite(0);
82661 return 0;
82663 _ACEOF
82664 rm -f conftest.$ac_objext
82665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82666 (eval $ac_compile) 2>conftest.er1
82667 ac_status=$?
82668 grep -v '^ *+' conftest.er1 >conftest.err
82669 rm -f conftest.er1
82670 cat conftest.err >&5
82671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82672 (exit $ac_status); } &&
82673 { ac_try='test -z "$ac_cxx_werror_flag"
82674 || test ! -s conftest.err'
82675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82676 (eval $ac_try) 2>&5
82677 ac_status=$?
82678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82679 (exit $ac_status); }; } &&
82680 { ac_try='test -s conftest.$ac_objext'
82681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82682 (eval $ac_try) 2>&5
82683 ac_status=$?
82684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82685 (exit $ac_status); }; }; then
82686 glibcxx_cv_func_finite_use=yes
82687 else
82688 echo "$as_me: failed program was:" >&5
82689 sed 's/^/| /' conftest.$ac_ext >&5
82691 glibcxx_cv_func_finite_use=no
82693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82694 ac_ext=c
82695 ac_cpp='$CPP $CPPFLAGS'
82696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
82705 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
82707 if test x$glibcxx_cv_func_finite_use = x"yes"; then
82709 for ac_func in finite
82711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82712 echo "$as_me:$LINENO: checking for $ac_func" >&5
82713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82714 if eval "test \"\${$as_ac_var+set}\" = set"; then
82715 echo $ECHO_N "(cached) $ECHO_C" >&6
82716 else
82717 if test x$gcc_no_link = xyes; then
82718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82720 { (exit 1); exit 1; }; }
82722 cat >conftest.$ac_ext <<_ACEOF
82723 /* confdefs.h. */
82724 _ACEOF
82725 cat confdefs.h >>conftest.$ac_ext
82726 cat >>conftest.$ac_ext <<_ACEOF
82727 /* end confdefs.h. */
82728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82730 #define $ac_func innocuous_$ac_func
82732 /* System header to define __stub macros and hopefully few prototypes,
82733 which can conflict with char $ac_func (); below.
82734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82735 <limits.h> exists even on freestanding compilers. */
82737 #ifdef __STDC__
82738 # include <limits.h>
82739 #else
82740 # include <assert.h>
82741 #endif
82743 #undef $ac_func
82745 /* Override any gcc2 internal prototype to avoid an error. */
82746 #ifdef __cplusplus
82747 extern "C"
82749 #endif
82750 /* We use char because int might match the return type of a gcc2
82751 builtin and then its argument prototype would still apply. */
82752 char $ac_func ();
82753 /* The GNU C library defines this for functions which it implements
82754 to always fail with ENOSYS. Some functions are actually named
82755 something starting with __ and the normal name is an alias. */
82756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82757 choke me
82758 #else
82759 char (*f) () = $ac_func;
82760 #endif
82761 #ifdef __cplusplus
82763 #endif
82766 main ()
82768 return f != $ac_func;
82770 return 0;
82772 _ACEOF
82773 rm -f conftest.$ac_objext conftest$ac_exeext
82774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82775 (eval $ac_link) 2>conftest.er1
82776 ac_status=$?
82777 grep -v '^ *+' conftest.er1 >conftest.err
82778 rm -f conftest.er1
82779 cat conftest.err >&5
82780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82781 (exit $ac_status); } &&
82782 { ac_try='test -z "$ac_c_werror_flag"
82783 || test ! -s conftest.err'
82784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82785 (eval $ac_try) 2>&5
82786 ac_status=$?
82787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82788 (exit $ac_status); }; } &&
82789 { ac_try='test -s conftest$ac_exeext'
82790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82791 (eval $ac_try) 2>&5
82792 ac_status=$?
82793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82794 (exit $ac_status); }; }; then
82795 eval "$as_ac_var=yes"
82796 else
82797 echo "$as_me: failed program was:" >&5
82798 sed 's/^/| /' conftest.$ac_ext >&5
82800 eval "$as_ac_var=no"
82802 rm -f conftest.err conftest.$ac_objext \
82803 conftest$ac_exeext conftest.$ac_ext
82805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82807 if test `eval echo '${'$as_ac_var'}'` = yes; then
82808 cat >>confdefs.h <<_ACEOF
82809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82810 _ACEOF
82813 done
82815 else
82817 echo "$as_me:$LINENO: checking for _finite declaration" >&5
82818 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
82819 if test x${glibcxx_cv_func__finite_use+set} != xset; then
82820 if test "${glibcxx_cv_func__finite_use+set}" = set; then
82821 echo $ECHO_N "(cached) $ECHO_C" >&6
82822 else
82826 ac_ext=cc
82827 ac_cpp='$CXXCPP $CPPFLAGS'
82828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82832 cat >conftest.$ac_ext <<_ACEOF
82833 /* confdefs.h. */
82834 _ACEOF
82835 cat confdefs.h >>conftest.$ac_ext
82836 cat >>conftest.$ac_ext <<_ACEOF
82837 /* end confdefs.h. */
82838 #include <math.h>
82839 #ifdef HAVE_IEEEFP_H
82840 #include <ieeefp.h>
82841 #endif
82844 main ()
82846 _finite(0);
82848 return 0;
82850 _ACEOF
82851 rm -f conftest.$ac_objext
82852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82853 (eval $ac_compile) 2>conftest.er1
82854 ac_status=$?
82855 grep -v '^ *+' conftest.er1 >conftest.err
82856 rm -f conftest.er1
82857 cat conftest.err >&5
82858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82859 (exit $ac_status); } &&
82860 { ac_try='test -z "$ac_cxx_werror_flag"
82861 || test ! -s conftest.err'
82862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82863 (eval $ac_try) 2>&5
82864 ac_status=$?
82865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866 (exit $ac_status); }; } &&
82867 { ac_try='test -s conftest.$ac_objext'
82868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82869 (eval $ac_try) 2>&5
82870 ac_status=$?
82871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82872 (exit $ac_status); }; }; then
82873 glibcxx_cv_func__finite_use=yes
82874 else
82875 echo "$as_me: failed program was:" >&5
82876 sed 's/^/| /' conftest.$ac_ext >&5
82878 glibcxx_cv_func__finite_use=no
82880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82881 ac_ext=c
82882 ac_cpp='$CPP $CPPFLAGS'
82883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
82892 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
82894 if test x$glibcxx_cv_func__finite_use = x"yes"; then
82896 for ac_func in _finite
82898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82899 echo "$as_me:$LINENO: checking for $ac_func" >&5
82900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82901 if eval "test \"\${$as_ac_var+set}\" = set"; then
82902 echo $ECHO_N "(cached) $ECHO_C" >&6
82903 else
82904 if test x$gcc_no_link = xyes; then
82905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82907 { (exit 1); exit 1; }; }
82909 cat >conftest.$ac_ext <<_ACEOF
82910 /* confdefs.h. */
82911 _ACEOF
82912 cat confdefs.h >>conftest.$ac_ext
82913 cat >>conftest.$ac_ext <<_ACEOF
82914 /* end confdefs.h. */
82915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82917 #define $ac_func innocuous_$ac_func
82919 /* System header to define __stub macros and hopefully few prototypes,
82920 which can conflict with char $ac_func (); below.
82921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82922 <limits.h> exists even on freestanding compilers. */
82924 #ifdef __STDC__
82925 # include <limits.h>
82926 #else
82927 # include <assert.h>
82928 #endif
82930 #undef $ac_func
82932 /* Override any gcc2 internal prototype to avoid an error. */
82933 #ifdef __cplusplus
82934 extern "C"
82936 #endif
82937 /* We use char because int might match the return type of a gcc2
82938 builtin and then its argument prototype would still apply. */
82939 char $ac_func ();
82940 /* The GNU C library defines this for functions which it implements
82941 to always fail with ENOSYS. Some functions are actually named
82942 something starting with __ and the normal name is an alias. */
82943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82944 choke me
82945 #else
82946 char (*f) () = $ac_func;
82947 #endif
82948 #ifdef __cplusplus
82950 #endif
82953 main ()
82955 return f != $ac_func;
82957 return 0;
82959 _ACEOF
82960 rm -f conftest.$ac_objext conftest$ac_exeext
82961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82962 (eval $ac_link) 2>conftest.er1
82963 ac_status=$?
82964 grep -v '^ *+' conftest.er1 >conftest.err
82965 rm -f conftest.er1
82966 cat conftest.err >&5
82967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82968 (exit $ac_status); } &&
82969 { ac_try='test -z "$ac_c_werror_flag"
82970 || test ! -s conftest.err'
82971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82972 (eval $ac_try) 2>&5
82973 ac_status=$?
82974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975 (exit $ac_status); }; } &&
82976 { ac_try='test -s conftest$ac_exeext'
82977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82978 (eval $ac_try) 2>&5
82979 ac_status=$?
82980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82981 (exit $ac_status); }; }; then
82982 eval "$as_ac_var=yes"
82983 else
82984 echo "$as_me: failed program was:" >&5
82985 sed 's/^/| /' conftest.$ac_ext >&5
82987 eval "$as_ac_var=no"
82989 rm -f conftest.err conftest.$ac_objext \
82990 conftest$ac_exeext conftest.$ac_ext
82992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82994 if test `eval echo '${'$as_ac_var'}'` = yes; then
82995 cat >>confdefs.h <<_ACEOF
82996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82997 _ACEOF
83000 done
83010 echo "$as_me:$LINENO: checking for copysign declaration" >&5
83011 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
83012 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
83013 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
83014 echo $ECHO_N "(cached) $ECHO_C" >&6
83015 else
83019 ac_ext=cc
83020 ac_cpp='$CXXCPP $CPPFLAGS'
83021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
83033 main ()
83035 copysign(0, 0);
83037 return 0;
83039 _ACEOF
83040 rm -f conftest.$ac_objext
83041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83042 (eval $ac_compile) 2>conftest.er1
83043 ac_status=$?
83044 grep -v '^ *+' conftest.er1 >conftest.err
83045 rm -f conftest.er1
83046 cat conftest.err >&5
83047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83048 (exit $ac_status); } &&
83049 { ac_try='test -z "$ac_cxx_werror_flag"
83050 || test ! -s conftest.err'
83051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83052 (eval $ac_try) 2>&5
83053 ac_status=$?
83054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83055 (exit $ac_status); }; } &&
83056 { ac_try='test -s conftest.$ac_objext'
83057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83058 (eval $ac_try) 2>&5
83059 ac_status=$?
83060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83061 (exit $ac_status); }; }; then
83062 glibcxx_cv_func_copysign_use=yes
83063 else
83064 echo "$as_me: failed program was:" >&5
83065 sed 's/^/| /' conftest.$ac_ext >&5
83067 glibcxx_cv_func_copysign_use=no
83069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83070 ac_ext=c
83071 ac_cpp='$CPP $CPPFLAGS'
83072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83080 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
83081 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
83083 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
83085 for ac_func in copysign
83087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83088 echo "$as_me:$LINENO: checking for $ac_func" >&5
83089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83090 if eval "test \"\${$as_ac_var+set}\" = set"; then
83091 echo $ECHO_N "(cached) $ECHO_C" >&6
83092 else
83093 if test x$gcc_no_link = xyes; then
83094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83096 { (exit 1); exit 1; }; }
83098 cat >conftest.$ac_ext <<_ACEOF
83099 /* confdefs.h. */
83100 _ACEOF
83101 cat confdefs.h >>conftest.$ac_ext
83102 cat >>conftest.$ac_ext <<_ACEOF
83103 /* end confdefs.h. */
83104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83106 #define $ac_func innocuous_$ac_func
83108 /* System header to define __stub macros and hopefully few prototypes,
83109 which can conflict with char $ac_func (); below.
83110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83111 <limits.h> exists even on freestanding compilers. */
83113 #ifdef __STDC__
83114 # include <limits.h>
83115 #else
83116 # include <assert.h>
83117 #endif
83119 #undef $ac_func
83121 /* Override any gcc2 internal prototype to avoid an error. */
83122 #ifdef __cplusplus
83123 extern "C"
83125 #endif
83126 /* We use char because int might match the return type of a gcc2
83127 builtin and then its argument prototype would still apply. */
83128 char $ac_func ();
83129 /* The GNU C library defines this for functions which it implements
83130 to always fail with ENOSYS. Some functions are actually named
83131 something starting with __ and the normal name is an alias. */
83132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83133 choke me
83134 #else
83135 char (*f) () = $ac_func;
83136 #endif
83137 #ifdef __cplusplus
83139 #endif
83142 main ()
83144 return f != $ac_func;
83146 return 0;
83148 _ACEOF
83149 rm -f conftest.$ac_objext conftest$ac_exeext
83150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83151 (eval $ac_link) 2>conftest.er1
83152 ac_status=$?
83153 grep -v '^ *+' conftest.er1 >conftest.err
83154 rm -f conftest.er1
83155 cat conftest.err >&5
83156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83157 (exit $ac_status); } &&
83158 { ac_try='test -z "$ac_c_werror_flag"
83159 || test ! -s conftest.err'
83160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83161 (eval $ac_try) 2>&5
83162 ac_status=$?
83163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83164 (exit $ac_status); }; } &&
83165 { ac_try='test -s conftest$ac_exeext'
83166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83167 (eval $ac_try) 2>&5
83168 ac_status=$?
83169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83170 (exit $ac_status); }; }; then
83171 eval "$as_ac_var=yes"
83172 else
83173 echo "$as_me: failed program was:" >&5
83174 sed 's/^/| /' conftest.$ac_ext >&5
83176 eval "$as_ac_var=no"
83178 rm -f conftest.err conftest.$ac_objext \
83179 conftest$ac_exeext conftest.$ac_ext
83181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83183 if test `eval echo '${'$as_ac_var'}'` = yes; then
83184 cat >>confdefs.h <<_ACEOF
83185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83186 _ACEOF
83189 done
83191 else
83193 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
83194 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
83195 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
83196 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
83197 echo $ECHO_N "(cached) $ECHO_C" >&6
83198 else
83202 ac_ext=cc
83203 ac_cpp='$CXXCPP $CPPFLAGS'
83204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83208 cat >conftest.$ac_ext <<_ACEOF
83209 /* confdefs.h. */
83210 _ACEOF
83211 cat confdefs.h >>conftest.$ac_ext
83212 cat >>conftest.$ac_ext <<_ACEOF
83213 /* end confdefs.h. */
83214 #include <math.h>
83216 main ()
83218 _copysign(0, 0);
83220 return 0;
83222 _ACEOF
83223 rm -f conftest.$ac_objext
83224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83225 (eval $ac_compile) 2>conftest.er1
83226 ac_status=$?
83227 grep -v '^ *+' conftest.er1 >conftest.err
83228 rm -f conftest.er1
83229 cat conftest.err >&5
83230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83231 (exit $ac_status); } &&
83232 { ac_try='test -z "$ac_cxx_werror_flag"
83233 || test ! -s conftest.err'
83234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83235 (eval $ac_try) 2>&5
83236 ac_status=$?
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); }; } &&
83239 { ac_try='test -s conftest.$ac_objext'
83240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83241 (eval $ac_try) 2>&5
83242 ac_status=$?
83243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83244 (exit $ac_status); }; }; then
83245 glibcxx_cv_func__copysign_use=yes
83246 else
83247 echo "$as_me: failed program was:" >&5
83248 sed 's/^/| /' conftest.$ac_ext >&5
83250 glibcxx_cv_func__copysign_use=no
83252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83253 ac_ext=c
83254 ac_cpp='$CPP $CPPFLAGS'
83255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83263 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
83264 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
83266 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
83268 for ac_func in _copysign
83270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83271 echo "$as_me:$LINENO: checking for $ac_func" >&5
83272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83273 if eval "test \"\${$as_ac_var+set}\" = set"; then
83274 echo $ECHO_N "(cached) $ECHO_C" >&6
83275 else
83276 if test x$gcc_no_link = xyes; then
83277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83279 { (exit 1); exit 1; }; }
83281 cat >conftest.$ac_ext <<_ACEOF
83282 /* confdefs.h. */
83283 _ACEOF
83284 cat confdefs.h >>conftest.$ac_ext
83285 cat >>conftest.$ac_ext <<_ACEOF
83286 /* end confdefs.h. */
83287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83289 #define $ac_func innocuous_$ac_func
83291 /* System header to define __stub macros and hopefully few prototypes,
83292 which can conflict with char $ac_func (); below.
83293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83294 <limits.h> exists even on freestanding compilers. */
83296 #ifdef __STDC__
83297 # include <limits.h>
83298 #else
83299 # include <assert.h>
83300 #endif
83302 #undef $ac_func
83304 /* Override any gcc2 internal prototype to avoid an error. */
83305 #ifdef __cplusplus
83306 extern "C"
83308 #endif
83309 /* We use char because int might match the return type of a gcc2
83310 builtin and then its argument prototype would still apply. */
83311 char $ac_func ();
83312 /* The GNU C library defines this for functions which it implements
83313 to always fail with ENOSYS. Some functions are actually named
83314 something starting with __ and the normal name is an alias. */
83315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83316 choke me
83317 #else
83318 char (*f) () = $ac_func;
83319 #endif
83320 #ifdef __cplusplus
83322 #endif
83325 main ()
83327 return f != $ac_func;
83329 return 0;
83331 _ACEOF
83332 rm -f conftest.$ac_objext conftest$ac_exeext
83333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83334 (eval $ac_link) 2>conftest.er1
83335 ac_status=$?
83336 grep -v '^ *+' conftest.er1 >conftest.err
83337 rm -f conftest.er1
83338 cat conftest.err >&5
83339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83340 (exit $ac_status); } &&
83341 { ac_try='test -z "$ac_c_werror_flag"
83342 || test ! -s conftest.err'
83343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83344 (eval $ac_try) 2>&5
83345 ac_status=$?
83346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83347 (exit $ac_status); }; } &&
83348 { ac_try='test -s conftest$ac_exeext'
83349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83350 (eval $ac_try) 2>&5
83351 ac_status=$?
83352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83353 (exit $ac_status); }; }; then
83354 eval "$as_ac_var=yes"
83355 else
83356 echo "$as_me: failed program was:" >&5
83357 sed 's/^/| /' conftest.$ac_ext >&5
83359 eval "$as_ac_var=no"
83361 rm -f conftest.err conftest.$ac_objext \
83362 conftest$ac_exeext conftest.$ac_ext
83364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83366 if test `eval echo '${'$as_ac_var'}'` = yes; then
83367 cat >>confdefs.h <<_ACEOF
83368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83369 _ACEOF
83372 done
83382 echo "$as_me:$LINENO: checking for sincos declaration" >&5
83383 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
83384 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
83385 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
83386 echo $ECHO_N "(cached) $ECHO_C" >&6
83387 else
83391 ac_ext=cc
83392 ac_cpp='$CXXCPP $CPPFLAGS'
83393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
83405 main ()
83407 sincos(0, 0, 0);
83409 return 0;
83411 _ACEOF
83412 rm -f conftest.$ac_objext
83413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83414 (eval $ac_compile) 2>conftest.er1
83415 ac_status=$?
83416 grep -v '^ *+' conftest.er1 >conftest.err
83417 rm -f conftest.er1
83418 cat conftest.err >&5
83419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83420 (exit $ac_status); } &&
83421 { ac_try='test -z "$ac_cxx_werror_flag"
83422 || test ! -s conftest.err'
83423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83424 (eval $ac_try) 2>&5
83425 ac_status=$?
83426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83427 (exit $ac_status); }; } &&
83428 { ac_try='test -s conftest.$ac_objext'
83429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83430 (eval $ac_try) 2>&5
83431 ac_status=$?
83432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83433 (exit $ac_status); }; }; then
83434 glibcxx_cv_func_sincos_use=yes
83435 else
83436 echo "$as_me: failed program was:" >&5
83437 sed 's/^/| /' conftest.$ac_ext >&5
83439 glibcxx_cv_func_sincos_use=no
83441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83442 ac_ext=c
83443 ac_cpp='$CPP $CPPFLAGS'
83444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
83453 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
83455 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
83457 for ac_func in sincos
83459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83460 echo "$as_me:$LINENO: checking for $ac_func" >&5
83461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83462 if eval "test \"\${$as_ac_var+set}\" = set"; then
83463 echo $ECHO_N "(cached) $ECHO_C" >&6
83464 else
83465 if test x$gcc_no_link = xyes; then
83466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83468 { (exit 1); exit 1; }; }
83470 cat >conftest.$ac_ext <<_ACEOF
83471 /* confdefs.h. */
83472 _ACEOF
83473 cat confdefs.h >>conftest.$ac_ext
83474 cat >>conftest.$ac_ext <<_ACEOF
83475 /* end confdefs.h. */
83476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83478 #define $ac_func innocuous_$ac_func
83480 /* System header to define __stub macros and hopefully few prototypes,
83481 which can conflict with char $ac_func (); below.
83482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83483 <limits.h> exists even on freestanding compilers. */
83485 #ifdef __STDC__
83486 # include <limits.h>
83487 #else
83488 # include <assert.h>
83489 #endif
83491 #undef $ac_func
83493 /* Override any gcc2 internal prototype to avoid an error. */
83494 #ifdef __cplusplus
83495 extern "C"
83497 #endif
83498 /* We use char because int might match the return type of a gcc2
83499 builtin and then its argument prototype would still apply. */
83500 char $ac_func ();
83501 /* The GNU C library defines this for functions which it implements
83502 to always fail with ENOSYS. Some functions are actually named
83503 something starting with __ and the normal name is an alias. */
83504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83505 choke me
83506 #else
83507 char (*f) () = $ac_func;
83508 #endif
83509 #ifdef __cplusplus
83511 #endif
83514 main ()
83516 return f != $ac_func;
83518 return 0;
83520 _ACEOF
83521 rm -f conftest.$ac_objext conftest$ac_exeext
83522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83523 (eval $ac_link) 2>conftest.er1
83524 ac_status=$?
83525 grep -v '^ *+' conftest.er1 >conftest.err
83526 rm -f conftest.er1
83527 cat conftest.err >&5
83528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83529 (exit $ac_status); } &&
83530 { ac_try='test -z "$ac_c_werror_flag"
83531 || test ! -s conftest.err'
83532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83533 (eval $ac_try) 2>&5
83534 ac_status=$?
83535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83536 (exit $ac_status); }; } &&
83537 { ac_try='test -s conftest$ac_exeext'
83538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83539 (eval $ac_try) 2>&5
83540 ac_status=$?
83541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83542 (exit $ac_status); }; }; then
83543 eval "$as_ac_var=yes"
83544 else
83545 echo "$as_me: failed program was:" >&5
83546 sed 's/^/| /' conftest.$ac_ext >&5
83548 eval "$as_ac_var=no"
83550 rm -f conftest.err conftest.$ac_objext \
83551 conftest$ac_exeext conftest.$ac_ext
83553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83555 if test `eval echo '${'$as_ac_var'}'` = yes; then
83556 cat >>confdefs.h <<_ACEOF
83557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83558 _ACEOF
83561 done
83563 else
83565 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
83566 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
83567 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
83568 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
83569 echo $ECHO_N "(cached) $ECHO_C" >&6
83570 else
83574 ac_ext=cc
83575 ac_cpp='$CXXCPP $CPPFLAGS'
83576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
83588 main ()
83590 _sincos(0, 0, 0);
83592 return 0;
83594 _ACEOF
83595 rm -f conftest.$ac_objext
83596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83597 (eval $ac_compile) 2>conftest.er1
83598 ac_status=$?
83599 grep -v '^ *+' conftest.er1 >conftest.err
83600 rm -f conftest.er1
83601 cat conftest.err >&5
83602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83603 (exit $ac_status); } &&
83604 { ac_try='test -z "$ac_cxx_werror_flag"
83605 || test ! -s conftest.err'
83606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83607 (eval $ac_try) 2>&5
83608 ac_status=$?
83609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83610 (exit $ac_status); }; } &&
83611 { ac_try='test -s conftest.$ac_objext'
83612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83613 (eval $ac_try) 2>&5
83614 ac_status=$?
83615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83616 (exit $ac_status); }; }; then
83617 glibcxx_cv_func__sincos_use=yes
83618 else
83619 echo "$as_me: failed program was:" >&5
83620 sed 's/^/| /' conftest.$ac_ext >&5
83622 glibcxx_cv_func__sincos_use=no
83624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83625 ac_ext=c
83626 ac_cpp='$CPP $CPPFLAGS'
83627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83635 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
83636 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
83638 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
83640 for ac_func in _sincos
83642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83643 echo "$as_me:$LINENO: checking for $ac_func" >&5
83644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83645 if eval "test \"\${$as_ac_var+set}\" = set"; then
83646 echo $ECHO_N "(cached) $ECHO_C" >&6
83647 else
83648 if test x$gcc_no_link = xyes; then
83649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83651 { (exit 1); exit 1; }; }
83653 cat >conftest.$ac_ext <<_ACEOF
83654 /* confdefs.h. */
83655 _ACEOF
83656 cat confdefs.h >>conftest.$ac_ext
83657 cat >>conftest.$ac_ext <<_ACEOF
83658 /* end confdefs.h. */
83659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83661 #define $ac_func innocuous_$ac_func
83663 /* System header to define __stub macros and hopefully few prototypes,
83664 which can conflict with char $ac_func (); below.
83665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83666 <limits.h> exists even on freestanding compilers. */
83668 #ifdef __STDC__
83669 # include <limits.h>
83670 #else
83671 # include <assert.h>
83672 #endif
83674 #undef $ac_func
83676 /* Override any gcc2 internal prototype to avoid an error. */
83677 #ifdef __cplusplus
83678 extern "C"
83680 #endif
83681 /* We use char because int might match the return type of a gcc2
83682 builtin and then its argument prototype would still apply. */
83683 char $ac_func ();
83684 /* The GNU C library defines this for functions which it implements
83685 to always fail with ENOSYS. Some functions are actually named
83686 something starting with __ and the normal name is an alias. */
83687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83688 choke me
83689 #else
83690 char (*f) () = $ac_func;
83691 #endif
83692 #ifdef __cplusplus
83694 #endif
83697 main ()
83699 return f != $ac_func;
83701 return 0;
83703 _ACEOF
83704 rm -f conftest.$ac_objext conftest$ac_exeext
83705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83706 (eval $ac_link) 2>conftest.er1
83707 ac_status=$?
83708 grep -v '^ *+' conftest.er1 >conftest.err
83709 rm -f conftest.er1
83710 cat conftest.err >&5
83711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83712 (exit $ac_status); } &&
83713 { ac_try='test -z "$ac_c_werror_flag"
83714 || test ! -s conftest.err'
83715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83716 (eval $ac_try) 2>&5
83717 ac_status=$?
83718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83719 (exit $ac_status); }; } &&
83720 { ac_try='test -s conftest$ac_exeext'
83721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83722 (eval $ac_try) 2>&5
83723 ac_status=$?
83724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83725 (exit $ac_status); }; }; then
83726 eval "$as_ac_var=yes"
83727 else
83728 echo "$as_me: failed program was:" >&5
83729 sed 's/^/| /' conftest.$ac_ext >&5
83731 eval "$as_ac_var=no"
83733 rm -f conftest.err conftest.$ac_objext \
83734 conftest$ac_exeext conftest.$ac_ext
83736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83738 if test `eval echo '${'$as_ac_var'}'` = yes; then
83739 cat >>confdefs.h <<_ACEOF
83740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83741 _ACEOF
83744 done
83754 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
83755 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
83756 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
83757 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
83758 echo $ECHO_N "(cached) $ECHO_C" >&6
83759 else
83763 ac_ext=cc
83764 ac_cpp='$CXXCPP $CPPFLAGS'
83765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83769 cat >conftest.$ac_ext <<_ACEOF
83770 /* confdefs.h. */
83771 _ACEOF
83772 cat confdefs.h >>conftest.$ac_ext
83773 cat >>conftest.$ac_ext <<_ACEOF
83774 /* end confdefs.h. */
83775 #include <math.h>
83776 #ifdef HAVE_IEEEFP_H
83777 #include <ieeefp.h>
83778 #endif
83781 main ()
83783 fpclass(0);
83785 return 0;
83787 _ACEOF
83788 rm -f conftest.$ac_objext
83789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83790 (eval $ac_compile) 2>conftest.er1
83791 ac_status=$?
83792 grep -v '^ *+' conftest.er1 >conftest.err
83793 rm -f conftest.er1
83794 cat conftest.err >&5
83795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83796 (exit $ac_status); } &&
83797 { ac_try='test -z "$ac_cxx_werror_flag"
83798 || test ! -s conftest.err'
83799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83800 (eval $ac_try) 2>&5
83801 ac_status=$?
83802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83803 (exit $ac_status); }; } &&
83804 { ac_try='test -s conftest.$ac_objext'
83805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83806 (eval $ac_try) 2>&5
83807 ac_status=$?
83808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83809 (exit $ac_status); }; }; then
83810 glibcxx_cv_func_fpclass_use=yes
83811 else
83812 echo "$as_me: failed program was:" >&5
83813 sed 's/^/| /' conftest.$ac_ext >&5
83815 glibcxx_cv_func_fpclass_use=no
83817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83818 ac_ext=c
83819 ac_cpp='$CPP $CPPFLAGS'
83820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
83829 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
83831 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
83833 for ac_func in fpclass
83835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83836 echo "$as_me:$LINENO: checking for $ac_func" >&5
83837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83838 if eval "test \"\${$as_ac_var+set}\" = set"; then
83839 echo $ECHO_N "(cached) $ECHO_C" >&6
83840 else
83841 if test x$gcc_no_link = xyes; then
83842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83844 { (exit 1); exit 1; }; }
83846 cat >conftest.$ac_ext <<_ACEOF
83847 /* confdefs.h. */
83848 _ACEOF
83849 cat confdefs.h >>conftest.$ac_ext
83850 cat >>conftest.$ac_ext <<_ACEOF
83851 /* end confdefs.h. */
83852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83854 #define $ac_func innocuous_$ac_func
83856 /* System header to define __stub macros and hopefully few prototypes,
83857 which can conflict with char $ac_func (); below.
83858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83859 <limits.h> exists even on freestanding compilers. */
83861 #ifdef __STDC__
83862 # include <limits.h>
83863 #else
83864 # include <assert.h>
83865 #endif
83867 #undef $ac_func
83869 /* Override any gcc2 internal prototype to avoid an error. */
83870 #ifdef __cplusplus
83871 extern "C"
83873 #endif
83874 /* We use char because int might match the return type of a gcc2
83875 builtin and then its argument prototype would still apply. */
83876 char $ac_func ();
83877 /* The GNU C library defines this for functions which it implements
83878 to always fail with ENOSYS. Some functions are actually named
83879 something starting with __ and the normal name is an alias. */
83880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83881 choke me
83882 #else
83883 char (*f) () = $ac_func;
83884 #endif
83885 #ifdef __cplusplus
83887 #endif
83890 main ()
83892 return f != $ac_func;
83894 return 0;
83896 _ACEOF
83897 rm -f conftest.$ac_objext conftest$ac_exeext
83898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83899 (eval $ac_link) 2>conftest.er1
83900 ac_status=$?
83901 grep -v '^ *+' conftest.er1 >conftest.err
83902 rm -f conftest.er1
83903 cat conftest.err >&5
83904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905 (exit $ac_status); } &&
83906 { ac_try='test -z "$ac_c_werror_flag"
83907 || test ! -s conftest.err'
83908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83909 (eval $ac_try) 2>&5
83910 ac_status=$?
83911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83912 (exit $ac_status); }; } &&
83913 { ac_try='test -s conftest$ac_exeext'
83914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83915 (eval $ac_try) 2>&5
83916 ac_status=$?
83917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83918 (exit $ac_status); }; }; then
83919 eval "$as_ac_var=yes"
83920 else
83921 echo "$as_me: failed program was:" >&5
83922 sed 's/^/| /' conftest.$ac_ext >&5
83924 eval "$as_ac_var=no"
83926 rm -f conftest.err conftest.$ac_objext \
83927 conftest$ac_exeext conftest.$ac_ext
83929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83931 if test `eval echo '${'$as_ac_var'}'` = yes; then
83932 cat >>confdefs.h <<_ACEOF
83933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83934 _ACEOF
83937 done
83939 else
83941 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
83942 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
83943 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
83944 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
83945 echo $ECHO_N "(cached) $ECHO_C" >&6
83946 else
83950 ac_ext=cc
83951 ac_cpp='$CXXCPP $CPPFLAGS'
83952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83956 cat >conftest.$ac_ext <<_ACEOF
83957 /* confdefs.h. */
83958 _ACEOF
83959 cat confdefs.h >>conftest.$ac_ext
83960 cat >>conftest.$ac_ext <<_ACEOF
83961 /* end confdefs.h. */
83962 #include <math.h>
83963 #ifdef HAVE_IEEEFP_H
83964 #include <ieeefp.h>
83965 #endif
83968 main ()
83970 _fpclass(0);
83972 return 0;
83974 _ACEOF
83975 rm -f conftest.$ac_objext
83976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83977 (eval $ac_compile) 2>conftest.er1
83978 ac_status=$?
83979 grep -v '^ *+' conftest.er1 >conftest.err
83980 rm -f conftest.er1
83981 cat conftest.err >&5
83982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83983 (exit $ac_status); } &&
83984 { ac_try='test -z "$ac_cxx_werror_flag"
83985 || test ! -s conftest.err'
83986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83987 (eval $ac_try) 2>&5
83988 ac_status=$?
83989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83990 (exit $ac_status); }; } &&
83991 { ac_try='test -s conftest.$ac_objext'
83992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83993 (eval $ac_try) 2>&5
83994 ac_status=$?
83995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83996 (exit $ac_status); }; }; then
83997 glibcxx_cv_func__fpclass_use=yes
83998 else
83999 echo "$as_me: failed program was:" >&5
84000 sed 's/^/| /' conftest.$ac_ext >&5
84002 glibcxx_cv_func__fpclass_use=no
84004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84005 ac_ext=c
84006 ac_cpp='$CPP $CPPFLAGS'
84007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
84016 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
84018 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
84020 for ac_func in _fpclass
84022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84023 echo "$as_me:$LINENO: checking for $ac_func" >&5
84024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84025 if eval "test \"\${$as_ac_var+set}\" = set"; then
84026 echo $ECHO_N "(cached) $ECHO_C" >&6
84027 else
84028 if test x$gcc_no_link = xyes; then
84029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84031 { (exit 1); exit 1; }; }
84033 cat >conftest.$ac_ext <<_ACEOF
84034 /* confdefs.h. */
84035 _ACEOF
84036 cat confdefs.h >>conftest.$ac_ext
84037 cat >>conftest.$ac_ext <<_ACEOF
84038 /* end confdefs.h. */
84039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84041 #define $ac_func innocuous_$ac_func
84043 /* System header to define __stub macros and hopefully few prototypes,
84044 which can conflict with char $ac_func (); below.
84045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84046 <limits.h> exists even on freestanding compilers. */
84048 #ifdef __STDC__
84049 # include <limits.h>
84050 #else
84051 # include <assert.h>
84052 #endif
84054 #undef $ac_func
84056 /* Override any gcc2 internal prototype to avoid an error. */
84057 #ifdef __cplusplus
84058 extern "C"
84060 #endif
84061 /* We use char because int might match the return type of a gcc2
84062 builtin and then its argument prototype would still apply. */
84063 char $ac_func ();
84064 /* The GNU C library defines this for functions which it implements
84065 to always fail with ENOSYS. Some functions are actually named
84066 something starting with __ and the normal name is an alias. */
84067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84068 choke me
84069 #else
84070 char (*f) () = $ac_func;
84071 #endif
84072 #ifdef __cplusplus
84074 #endif
84077 main ()
84079 return f != $ac_func;
84081 return 0;
84083 _ACEOF
84084 rm -f conftest.$ac_objext conftest$ac_exeext
84085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84086 (eval $ac_link) 2>conftest.er1
84087 ac_status=$?
84088 grep -v '^ *+' conftest.er1 >conftest.err
84089 rm -f conftest.er1
84090 cat conftest.err >&5
84091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84092 (exit $ac_status); } &&
84093 { ac_try='test -z "$ac_c_werror_flag"
84094 || test ! -s conftest.err'
84095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84096 (eval $ac_try) 2>&5
84097 ac_status=$?
84098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84099 (exit $ac_status); }; } &&
84100 { ac_try='test -s conftest$ac_exeext'
84101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84102 (eval $ac_try) 2>&5
84103 ac_status=$?
84104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84105 (exit $ac_status); }; }; then
84106 eval "$as_ac_var=yes"
84107 else
84108 echo "$as_me: failed program was:" >&5
84109 sed 's/^/| /' conftest.$ac_ext >&5
84111 eval "$as_ac_var=no"
84113 rm -f conftest.err conftest.$ac_objext \
84114 conftest$ac_exeext conftest.$ac_ext
84116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84118 if test `eval echo '${'$as_ac_var'}'` = yes; then
84119 cat >>confdefs.h <<_ACEOF
84120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84121 _ACEOF
84124 done
84134 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
84135 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
84136 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
84137 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
84138 echo $ECHO_N "(cached) $ECHO_C" >&6
84139 else
84143 ac_ext=cc
84144 ac_cpp='$CXXCPP $CPPFLAGS'
84145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84149 cat >conftest.$ac_ext <<_ACEOF
84150 /* confdefs.h. */
84151 _ACEOF
84152 cat confdefs.h >>conftest.$ac_ext
84153 cat >>conftest.$ac_ext <<_ACEOF
84154 /* end confdefs.h. */
84155 #include <math.h>
84156 #ifdef HAVE_IEEEFP_H
84157 #include <ieeefp.h>
84158 #endif
84161 main ()
84163 qfpclass(0);
84165 return 0;
84167 _ACEOF
84168 rm -f conftest.$ac_objext
84169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84170 (eval $ac_compile) 2>conftest.er1
84171 ac_status=$?
84172 grep -v '^ *+' conftest.er1 >conftest.err
84173 rm -f conftest.er1
84174 cat conftest.err >&5
84175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84176 (exit $ac_status); } &&
84177 { ac_try='test -z "$ac_cxx_werror_flag"
84178 || test ! -s conftest.err'
84179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84180 (eval $ac_try) 2>&5
84181 ac_status=$?
84182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84183 (exit $ac_status); }; } &&
84184 { ac_try='test -s conftest.$ac_objext'
84185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84186 (eval $ac_try) 2>&5
84187 ac_status=$?
84188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84189 (exit $ac_status); }; }; then
84190 glibcxx_cv_func_qfpclass_use=yes
84191 else
84192 echo "$as_me: failed program was:" >&5
84193 sed 's/^/| /' conftest.$ac_ext >&5
84195 glibcxx_cv_func_qfpclass_use=no
84197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84198 ac_ext=c
84199 ac_cpp='$CPP $CPPFLAGS'
84200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
84209 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
84211 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
84213 for ac_func in qfpclass
84215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84216 echo "$as_me:$LINENO: checking for $ac_func" >&5
84217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84218 if eval "test \"\${$as_ac_var+set}\" = set"; then
84219 echo $ECHO_N "(cached) $ECHO_C" >&6
84220 else
84221 if test x$gcc_no_link = xyes; then
84222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84224 { (exit 1); exit 1; }; }
84226 cat >conftest.$ac_ext <<_ACEOF
84227 /* confdefs.h. */
84228 _ACEOF
84229 cat confdefs.h >>conftest.$ac_ext
84230 cat >>conftest.$ac_ext <<_ACEOF
84231 /* end confdefs.h. */
84232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84234 #define $ac_func innocuous_$ac_func
84236 /* System header to define __stub macros and hopefully few prototypes,
84237 which can conflict with char $ac_func (); below.
84238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84239 <limits.h> exists even on freestanding compilers. */
84241 #ifdef __STDC__
84242 # include <limits.h>
84243 #else
84244 # include <assert.h>
84245 #endif
84247 #undef $ac_func
84249 /* Override any gcc2 internal prototype to avoid an error. */
84250 #ifdef __cplusplus
84251 extern "C"
84253 #endif
84254 /* We use char because int might match the return type of a gcc2
84255 builtin and then its argument prototype would still apply. */
84256 char $ac_func ();
84257 /* The GNU C library defines this for functions which it implements
84258 to always fail with ENOSYS. Some functions are actually named
84259 something starting with __ and the normal name is an alias. */
84260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84261 choke me
84262 #else
84263 char (*f) () = $ac_func;
84264 #endif
84265 #ifdef __cplusplus
84267 #endif
84270 main ()
84272 return f != $ac_func;
84274 return 0;
84276 _ACEOF
84277 rm -f conftest.$ac_objext conftest$ac_exeext
84278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84279 (eval $ac_link) 2>conftest.er1
84280 ac_status=$?
84281 grep -v '^ *+' conftest.er1 >conftest.err
84282 rm -f conftest.er1
84283 cat conftest.err >&5
84284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84285 (exit $ac_status); } &&
84286 { ac_try='test -z "$ac_c_werror_flag"
84287 || test ! -s conftest.err'
84288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84289 (eval $ac_try) 2>&5
84290 ac_status=$?
84291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84292 (exit $ac_status); }; } &&
84293 { ac_try='test -s conftest$ac_exeext'
84294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84295 (eval $ac_try) 2>&5
84296 ac_status=$?
84297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84298 (exit $ac_status); }; }; then
84299 eval "$as_ac_var=yes"
84300 else
84301 echo "$as_me: failed program was:" >&5
84302 sed 's/^/| /' conftest.$ac_ext >&5
84304 eval "$as_ac_var=no"
84306 rm -f conftest.err conftest.$ac_objext \
84307 conftest$ac_exeext conftest.$ac_ext
84309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84311 if test `eval echo '${'$as_ac_var'}'` = yes; then
84312 cat >>confdefs.h <<_ACEOF
84313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84314 _ACEOF
84317 done
84319 else
84321 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
84322 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
84323 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
84324 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
84325 echo $ECHO_N "(cached) $ECHO_C" >&6
84326 else
84330 ac_ext=cc
84331 ac_cpp='$CXXCPP $CPPFLAGS'
84332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84336 cat >conftest.$ac_ext <<_ACEOF
84337 /* confdefs.h. */
84338 _ACEOF
84339 cat confdefs.h >>conftest.$ac_ext
84340 cat >>conftest.$ac_ext <<_ACEOF
84341 /* end confdefs.h. */
84342 #include <math.h>
84343 #ifdef HAVE_IEEEFP_H
84344 #include <ieeefp.h>
84345 #endif
84348 main ()
84350 _qfpclass(0);
84352 return 0;
84354 _ACEOF
84355 rm -f conftest.$ac_objext
84356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84357 (eval $ac_compile) 2>conftest.er1
84358 ac_status=$?
84359 grep -v '^ *+' conftest.er1 >conftest.err
84360 rm -f conftest.er1
84361 cat conftest.err >&5
84362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84363 (exit $ac_status); } &&
84364 { ac_try='test -z "$ac_cxx_werror_flag"
84365 || test ! -s conftest.err'
84366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84367 (eval $ac_try) 2>&5
84368 ac_status=$?
84369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84370 (exit $ac_status); }; } &&
84371 { ac_try='test -s conftest.$ac_objext'
84372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84373 (eval $ac_try) 2>&5
84374 ac_status=$?
84375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84376 (exit $ac_status); }; }; then
84377 glibcxx_cv_func__qfpclass_use=yes
84378 else
84379 echo "$as_me: failed program was:" >&5
84380 sed 's/^/| /' conftest.$ac_ext >&5
84382 glibcxx_cv_func__qfpclass_use=no
84384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84385 ac_ext=c
84386 ac_cpp='$CPP $CPPFLAGS'
84387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
84396 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
84398 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
84400 for ac_func in _qfpclass
84402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84403 echo "$as_me:$LINENO: checking for $ac_func" >&5
84404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84405 if eval "test \"\${$as_ac_var+set}\" = set"; then
84406 echo $ECHO_N "(cached) $ECHO_C" >&6
84407 else
84408 if test x$gcc_no_link = xyes; then
84409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84411 { (exit 1); exit 1; }; }
84413 cat >conftest.$ac_ext <<_ACEOF
84414 /* confdefs.h. */
84415 _ACEOF
84416 cat confdefs.h >>conftest.$ac_ext
84417 cat >>conftest.$ac_ext <<_ACEOF
84418 /* end confdefs.h. */
84419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84421 #define $ac_func innocuous_$ac_func
84423 /* System header to define __stub macros and hopefully few prototypes,
84424 which can conflict with char $ac_func (); below.
84425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84426 <limits.h> exists even on freestanding compilers. */
84428 #ifdef __STDC__
84429 # include <limits.h>
84430 #else
84431 # include <assert.h>
84432 #endif
84434 #undef $ac_func
84436 /* Override any gcc2 internal prototype to avoid an error. */
84437 #ifdef __cplusplus
84438 extern "C"
84440 #endif
84441 /* We use char because int might match the return type of a gcc2
84442 builtin and then its argument prototype would still apply. */
84443 char $ac_func ();
84444 /* The GNU C library defines this for functions which it implements
84445 to always fail with ENOSYS. Some functions are actually named
84446 something starting with __ and the normal name is an alias. */
84447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84448 choke me
84449 #else
84450 char (*f) () = $ac_func;
84451 #endif
84452 #ifdef __cplusplus
84454 #endif
84457 main ()
84459 return f != $ac_func;
84461 return 0;
84463 _ACEOF
84464 rm -f conftest.$ac_objext conftest$ac_exeext
84465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84466 (eval $ac_link) 2>conftest.er1
84467 ac_status=$?
84468 grep -v '^ *+' conftest.er1 >conftest.err
84469 rm -f conftest.er1
84470 cat conftest.err >&5
84471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84472 (exit $ac_status); } &&
84473 { ac_try='test -z "$ac_c_werror_flag"
84474 || test ! -s conftest.err'
84475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84476 (eval $ac_try) 2>&5
84477 ac_status=$?
84478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84479 (exit $ac_status); }; } &&
84480 { ac_try='test -s conftest$ac_exeext'
84481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84482 (eval $ac_try) 2>&5
84483 ac_status=$?
84484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84485 (exit $ac_status); }; }; then
84486 eval "$as_ac_var=yes"
84487 else
84488 echo "$as_me: failed program was:" >&5
84489 sed 's/^/| /' conftest.$ac_ext >&5
84491 eval "$as_ac_var=no"
84493 rm -f conftest.err conftest.$ac_objext \
84494 conftest$ac_exeext conftest.$ac_ext
84496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84498 if test `eval echo '${'$as_ac_var'}'` = yes; then
84499 cat >>confdefs.h <<_ACEOF
84500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84501 _ACEOF
84504 done
84514 echo "$as_me:$LINENO: checking for hypot declaration" >&5
84515 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
84516 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
84517 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
84518 echo $ECHO_N "(cached) $ECHO_C" >&6
84519 else
84523 ac_ext=cc
84524 ac_cpp='$CXXCPP $CPPFLAGS'
84525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
84537 main ()
84539 hypot(0, 0);
84541 return 0;
84543 _ACEOF
84544 rm -f conftest.$ac_objext
84545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84546 (eval $ac_compile) 2>conftest.er1
84547 ac_status=$?
84548 grep -v '^ *+' conftest.er1 >conftest.err
84549 rm -f conftest.er1
84550 cat conftest.err >&5
84551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84552 (exit $ac_status); } &&
84553 { ac_try='test -z "$ac_cxx_werror_flag"
84554 || test ! -s conftest.err'
84555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84556 (eval $ac_try) 2>&5
84557 ac_status=$?
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); }; } &&
84560 { ac_try='test -s conftest.$ac_objext'
84561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84562 (eval $ac_try) 2>&5
84563 ac_status=$?
84564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84565 (exit $ac_status); }; }; then
84566 glibcxx_cv_func_hypot_use=yes
84567 else
84568 echo "$as_me: failed program was:" >&5
84569 sed 's/^/| /' conftest.$ac_ext >&5
84571 glibcxx_cv_func_hypot_use=no
84573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84574 ac_ext=c
84575 ac_cpp='$CPP $CPPFLAGS'
84576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
84585 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
84587 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
84589 for ac_func in hypot
84591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84592 echo "$as_me:$LINENO: checking for $ac_func" >&5
84593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84594 if eval "test \"\${$as_ac_var+set}\" = set"; then
84595 echo $ECHO_N "(cached) $ECHO_C" >&6
84596 else
84597 if test x$gcc_no_link = xyes; then
84598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84600 { (exit 1); exit 1; }; }
84602 cat >conftest.$ac_ext <<_ACEOF
84603 /* confdefs.h. */
84604 _ACEOF
84605 cat confdefs.h >>conftest.$ac_ext
84606 cat >>conftest.$ac_ext <<_ACEOF
84607 /* end confdefs.h. */
84608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84610 #define $ac_func innocuous_$ac_func
84612 /* System header to define __stub macros and hopefully few prototypes,
84613 which can conflict with char $ac_func (); below.
84614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84615 <limits.h> exists even on freestanding compilers. */
84617 #ifdef __STDC__
84618 # include <limits.h>
84619 #else
84620 # include <assert.h>
84621 #endif
84623 #undef $ac_func
84625 /* Override any gcc2 internal prototype to avoid an error. */
84626 #ifdef __cplusplus
84627 extern "C"
84629 #endif
84630 /* We use char because int might match the return type of a gcc2
84631 builtin and then its argument prototype would still apply. */
84632 char $ac_func ();
84633 /* The GNU C library defines this for functions which it implements
84634 to always fail with ENOSYS. Some functions are actually named
84635 something starting with __ and the normal name is an alias. */
84636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84637 choke me
84638 #else
84639 char (*f) () = $ac_func;
84640 #endif
84641 #ifdef __cplusplus
84643 #endif
84646 main ()
84648 return f != $ac_func;
84650 return 0;
84652 _ACEOF
84653 rm -f conftest.$ac_objext conftest$ac_exeext
84654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84655 (eval $ac_link) 2>conftest.er1
84656 ac_status=$?
84657 grep -v '^ *+' conftest.er1 >conftest.err
84658 rm -f conftest.er1
84659 cat conftest.err >&5
84660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84661 (exit $ac_status); } &&
84662 { ac_try='test -z "$ac_c_werror_flag"
84663 || test ! -s conftest.err'
84664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84665 (eval $ac_try) 2>&5
84666 ac_status=$?
84667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84668 (exit $ac_status); }; } &&
84669 { ac_try='test -s conftest$ac_exeext'
84670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84671 (eval $ac_try) 2>&5
84672 ac_status=$?
84673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84674 (exit $ac_status); }; }; then
84675 eval "$as_ac_var=yes"
84676 else
84677 echo "$as_me: failed program was:" >&5
84678 sed 's/^/| /' conftest.$ac_ext >&5
84680 eval "$as_ac_var=no"
84682 rm -f conftest.err conftest.$ac_objext \
84683 conftest$ac_exeext conftest.$ac_ext
84685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84687 if test `eval echo '${'$as_ac_var'}'` = yes; then
84688 cat >>confdefs.h <<_ACEOF
84689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84690 _ACEOF
84693 done
84695 else
84697 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
84698 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
84699 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
84700 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
84701 echo $ECHO_N "(cached) $ECHO_C" >&6
84702 else
84706 ac_ext=cc
84707 ac_cpp='$CXXCPP $CPPFLAGS'
84708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
84720 main ()
84722 _hypot(0, 0);
84724 return 0;
84726 _ACEOF
84727 rm -f conftest.$ac_objext
84728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84729 (eval $ac_compile) 2>conftest.er1
84730 ac_status=$?
84731 grep -v '^ *+' conftest.er1 >conftest.err
84732 rm -f conftest.er1
84733 cat conftest.err >&5
84734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84735 (exit $ac_status); } &&
84736 { ac_try='test -z "$ac_cxx_werror_flag"
84737 || test ! -s conftest.err'
84738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84739 (eval $ac_try) 2>&5
84740 ac_status=$?
84741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84742 (exit $ac_status); }; } &&
84743 { ac_try='test -s conftest.$ac_objext'
84744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84745 (eval $ac_try) 2>&5
84746 ac_status=$?
84747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84748 (exit $ac_status); }; }; then
84749 glibcxx_cv_func__hypot_use=yes
84750 else
84751 echo "$as_me: failed program was:" >&5
84752 sed 's/^/| /' conftest.$ac_ext >&5
84754 glibcxx_cv_func__hypot_use=no
84756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84757 ac_ext=c
84758 ac_cpp='$CPP $CPPFLAGS'
84759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
84768 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
84770 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
84772 for ac_func in _hypot
84774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84775 echo "$as_me:$LINENO: checking for $ac_func" >&5
84776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84777 if eval "test \"\${$as_ac_var+set}\" = set"; then
84778 echo $ECHO_N "(cached) $ECHO_C" >&6
84779 else
84780 if test x$gcc_no_link = xyes; then
84781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84783 { (exit 1); exit 1; }; }
84785 cat >conftest.$ac_ext <<_ACEOF
84786 /* confdefs.h. */
84787 _ACEOF
84788 cat confdefs.h >>conftest.$ac_ext
84789 cat >>conftest.$ac_ext <<_ACEOF
84790 /* end confdefs.h. */
84791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84793 #define $ac_func innocuous_$ac_func
84795 /* System header to define __stub macros and hopefully few prototypes,
84796 which can conflict with char $ac_func (); below.
84797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84798 <limits.h> exists even on freestanding compilers. */
84800 #ifdef __STDC__
84801 # include <limits.h>
84802 #else
84803 # include <assert.h>
84804 #endif
84806 #undef $ac_func
84808 /* Override any gcc2 internal prototype to avoid an error. */
84809 #ifdef __cplusplus
84810 extern "C"
84812 #endif
84813 /* We use char because int might match the return type of a gcc2
84814 builtin and then its argument prototype would still apply. */
84815 char $ac_func ();
84816 /* The GNU C library defines this for functions which it implements
84817 to always fail with ENOSYS. Some functions are actually named
84818 something starting with __ and the normal name is an alias. */
84819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84820 choke me
84821 #else
84822 char (*f) () = $ac_func;
84823 #endif
84824 #ifdef __cplusplus
84826 #endif
84829 main ()
84831 return f != $ac_func;
84833 return 0;
84835 _ACEOF
84836 rm -f conftest.$ac_objext conftest$ac_exeext
84837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84838 (eval $ac_link) 2>conftest.er1
84839 ac_status=$?
84840 grep -v '^ *+' conftest.er1 >conftest.err
84841 rm -f conftest.er1
84842 cat conftest.err >&5
84843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84844 (exit $ac_status); } &&
84845 { ac_try='test -z "$ac_c_werror_flag"
84846 || test ! -s conftest.err'
84847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84848 (eval $ac_try) 2>&5
84849 ac_status=$?
84850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84851 (exit $ac_status); }; } &&
84852 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
84858 eval "$as_ac_var=yes"
84859 else
84860 echo "$as_me: failed program was:" >&5
84861 sed 's/^/| /' conftest.$ac_ext >&5
84863 eval "$as_ac_var=no"
84865 rm -f conftest.err conftest.$ac_objext \
84866 conftest$ac_exeext conftest.$ac_ext
84868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84870 if test `eval echo '${'$as_ac_var'}'` = yes; then
84871 cat >>confdefs.h <<_ACEOF
84872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84873 _ACEOF
84876 done
84886 echo "$as_me:$LINENO: checking for float trig functions" >&5
84887 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
84888 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
84889 echo $ECHO_N "(cached) $ECHO_C" >&6
84890 else
84894 ac_ext=cc
84895 ac_cpp='$CXXCPP $CPPFLAGS'
84896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84900 cat >conftest.$ac_ext <<_ACEOF
84901 /* confdefs.h. */
84902 _ACEOF
84903 cat confdefs.h >>conftest.$ac_ext
84904 cat >>conftest.$ac_ext <<_ACEOF
84905 /* end confdefs.h. */
84906 #include <math.h>
84908 main ()
84910 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
84912 return 0;
84914 _ACEOF
84915 rm -f conftest.$ac_objext
84916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84917 (eval $ac_compile) 2>conftest.er1
84918 ac_status=$?
84919 grep -v '^ *+' conftest.er1 >conftest.err
84920 rm -f conftest.er1
84921 cat conftest.err >&5
84922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84923 (exit $ac_status); } &&
84924 { ac_try='test -z "$ac_cxx_werror_flag"
84925 || test ! -s conftest.err'
84926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84927 (eval $ac_try) 2>&5
84928 ac_status=$?
84929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84930 (exit $ac_status); }; } &&
84931 { ac_try='test -s conftest.$ac_objext'
84932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84933 (eval $ac_try) 2>&5
84934 ac_status=$?
84935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84936 (exit $ac_status); }; }; then
84937 glibcxx_cv_func_float_trig_use=yes
84938 else
84939 echo "$as_me: failed program was:" >&5
84940 sed 's/^/| /' conftest.$ac_ext >&5
84942 glibcxx_cv_func_float_trig_use=no
84944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84945 ac_ext=c
84946 ac_cpp='$CPP $CPPFLAGS'
84947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
84954 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
84955 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
84965 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
84967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84968 echo "$as_me:$LINENO: checking for $ac_func" >&5
84969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84970 if eval "test \"\${$as_ac_var+set}\" = set"; then
84971 echo $ECHO_N "(cached) $ECHO_C" >&6
84972 else
84973 if test x$gcc_no_link = xyes; then
84974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84976 { (exit 1); exit 1; }; }
84978 cat >conftest.$ac_ext <<_ACEOF
84979 /* confdefs.h. */
84980 _ACEOF
84981 cat confdefs.h >>conftest.$ac_ext
84982 cat >>conftest.$ac_ext <<_ACEOF
84983 /* end confdefs.h. */
84984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84986 #define $ac_func innocuous_$ac_func
84988 /* System header to define __stub macros and hopefully few prototypes,
84989 which can conflict with char $ac_func (); below.
84990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84991 <limits.h> exists even on freestanding compilers. */
84993 #ifdef __STDC__
84994 # include <limits.h>
84995 #else
84996 # include <assert.h>
84997 #endif
84999 #undef $ac_func
85001 /* Override any gcc2 internal prototype to avoid an error. */
85002 #ifdef __cplusplus
85003 extern "C"
85005 #endif
85006 /* We use char because int might match the return type of a gcc2
85007 builtin and then its argument prototype would still apply. */
85008 char $ac_func ();
85009 /* The GNU C library defines this for functions which it implements
85010 to always fail with ENOSYS. Some functions are actually named
85011 something starting with __ and the normal name is an alias. */
85012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85013 choke me
85014 #else
85015 char (*f) () = $ac_func;
85016 #endif
85017 #ifdef __cplusplus
85019 #endif
85022 main ()
85024 return f != $ac_func;
85026 return 0;
85028 _ACEOF
85029 rm -f conftest.$ac_objext conftest$ac_exeext
85030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85031 (eval $ac_link) 2>conftest.er1
85032 ac_status=$?
85033 grep -v '^ *+' conftest.er1 >conftest.err
85034 rm -f conftest.er1
85035 cat conftest.err >&5
85036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85037 (exit $ac_status); } &&
85038 { ac_try='test -z "$ac_c_werror_flag"
85039 || test ! -s conftest.err'
85040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85041 (eval $ac_try) 2>&5
85042 ac_status=$?
85043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85044 (exit $ac_status); }; } &&
85045 { ac_try='test -s conftest$ac_exeext'
85046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85047 (eval $ac_try) 2>&5
85048 ac_status=$?
85049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85050 (exit $ac_status); }; }; then
85051 eval "$as_ac_var=yes"
85052 else
85053 echo "$as_me: failed program was:" >&5
85054 sed 's/^/| /' conftest.$ac_ext >&5
85056 eval "$as_ac_var=no"
85058 rm -f conftest.err conftest.$ac_objext \
85059 conftest$ac_exeext conftest.$ac_ext
85061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85063 if test `eval echo '${'$as_ac_var'}'` = yes; then
85064 cat >>confdefs.h <<_ACEOF
85065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85066 _ACEOF
85069 done
85071 else
85072 echo "$as_me:$LINENO: checking for _float trig functions" >&5
85073 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
85074 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
85075 echo $ECHO_N "(cached) $ECHO_C" >&6
85076 else
85080 ac_ext=cc
85081 ac_cpp='$CXXCPP $CPPFLAGS'
85082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85086 cat >conftest.$ac_ext <<_ACEOF
85087 /* confdefs.h. */
85088 _ACEOF
85089 cat confdefs.h >>conftest.$ac_ext
85090 cat >>conftest.$ac_ext <<_ACEOF
85091 /* end confdefs.h. */
85092 #include <math.h>
85094 main ()
85096 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
85098 return 0;
85100 _ACEOF
85101 rm -f conftest.$ac_objext
85102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85103 (eval $ac_compile) 2>conftest.er1
85104 ac_status=$?
85105 grep -v '^ *+' conftest.er1 >conftest.err
85106 rm -f conftest.er1
85107 cat conftest.err >&5
85108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85109 (exit $ac_status); } &&
85110 { ac_try='test -z "$ac_cxx_werror_flag"
85111 || test ! -s conftest.err'
85112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85113 (eval $ac_try) 2>&5
85114 ac_status=$?
85115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85116 (exit $ac_status); }; } &&
85117 { ac_try='test -s conftest.$ac_objext'
85118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85119 (eval $ac_try) 2>&5
85120 ac_status=$?
85121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122 (exit $ac_status); }; }; then
85123 glibcxx_cv_func__float_trig_use=yes
85124 else
85125 echo "$as_me: failed program was:" >&5
85126 sed 's/^/| /' conftest.$ac_ext >&5
85128 glibcxx_cv_func__float_trig_use=no
85130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85131 ac_ext=c
85132 ac_cpp='$CPP $CPPFLAGS'
85133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
85140 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
85141 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
85151 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
85153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85154 echo "$as_me:$LINENO: checking for $ac_func" >&5
85155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85156 if eval "test \"\${$as_ac_var+set}\" = set"; then
85157 echo $ECHO_N "(cached) $ECHO_C" >&6
85158 else
85159 if test x$gcc_no_link = xyes; then
85160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85162 { (exit 1); exit 1; }; }
85164 cat >conftest.$ac_ext <<_ACEOF
85165 /* confdefs.h. */
85166 _ACEOF
85167 cat confdefs.h >>conftest.$ac_ext
85168 cat >>conftest.$ac_ext <<_ACEOF
85169 /* end confdefs.h. */
85170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85172 #define $ac_func innocuous_$ac_func
85174 /* System header to define __stub macros and hopefully few prototypes,
85175 which can conflict with char $ac_func (); below.
85176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85177 <limits.h> exists even on freestanding compilers. */
85179 #ifdef __STDC__
85180 # include <limits.h>
85181 #else
85182 # include <assert.h>
85183 #endif
85185 #undef $ac_func
85187 /* Override any gcc2 internal prototype to avoid an error. */
85188 #ifdef __cplusplus
85189 extern "C"
85191 #endif
85192 /* We use char because int might match the return type of a gcc2
85193 builtin and then its argument prototype would still apply. */
85194 char $ac_func ();
85195 /* The GNU C library defines this for functions which it implements
85196 to always fail with ENOSYS. Some functions are actually named
85197 something starting with __ and the normal name is an alias. */
85198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85199 choke me
85200 #else
85201 char (*f) () = $ac_func;
85202 #endif
85203 #ifdef __cplusplus
85205 #endif
85208 main ()
85210 return f != $ac_func;
85212 return 0;
85214 _ACEOF
85215 rm -f conftest.$ac_objext conftest$ac_exeext
85216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85217 (eval $ac_link) 2>conftest.er1
85218 ac_status=$?
85219 grep -v '^ *+' conftest.er1 >conftest.err
85220 rm -f conftest.er1
85221 cat conftest.err >&5
85222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85223 (exit $ac_status); } &&
85224 { ac_try='test -z "$ac_c_werror_flag"
85225 || test ! -s conftest.err'
85226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85227 (eval $ac_try) 2>&5
85228 ac_status=$?
85229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85230 (exit $ac_status); }; } &&
85231 { ac_try='test -s conftest$ac_exeext'
85232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85233 (eval $ac_try) 2>&5
85234 ac_status=$?
85235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85236 (exit $ac_status); }; }; then
85237 eval "$as_ac_var=yes"
85238 else
85239 echo "$as_me: failed program was:" >&5
85240 sed 's/^/| /' conftest.$ac_ext >&5
85242 eval "$as_ac_var=no"
85244 rm -f conftest.err conftest.$ac_objext \
85245 conftest$ac_exeext conftest.$ac_ext
85247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85249 if test `eval echo '${'$as_ac_var'}'` = yes; then
85250 cat >>confdefs.h <<_ACEOF
85251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85252 _ACEOF
85255 done
85273 echo "$as_me:$LINENO: checking for float round functions" >&5
85274 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
85275 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
85276 echo $ECHO_N "(cached) $ECHO_C" >&6
85277 else
85281 ac_ext=cc
85282 ac_cpp='$CXXCPP $CPPFLAGS'
85283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85287 cat >conftest.$ac_ext <<_ACEOF
85288 /* confdefs.h. */
85289 _ACEOF
85290 cat confdefs.h >>conftest.$ac_ext
85291 cat >>conftest.$ac_ext <<_ACEOF
85292 /* end confdefs.h. */
85293 #include <math.h>
85295 main ()
85297 ceilf (0); floorf (0);
85299 return 0;
85301 _ACEOF
85302 rm -f conftest.$ac_objext
85303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85304 (eval $ac_compile) 2>conftest.er1
85305 ac_status=$?
85306 grep -v '^ *+' conftest.er1 >conftest.err
85307 rm -f conftest.er1
85308 cat conftest.err >&5
85309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85310 (exit $ac_status); } &&
85311 { ac_try='test -z "$ac_cxx_werror_flag"
85312 || test ! -s conftest.err'
85313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85314 (eval $ac_try) 2>&5
85315 ac_status=$?
85316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85317 (exit $ac_status); }; } &&
85318 { ac_try='test -s conftest.$ac_objext'
85319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85320 (eval $ac_try) 2>&5
85321 ac_status=$?
85322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85323 (exit $ac_status); }; }; then
85324 glibcxx_cv_func_float_round_use=yes
85325 else
85326 echo "$as_me: failed program was:" >&5
85327 sed 's/^/| /' conftest.$ac_ext >&5
85329 glibcxx_cv_func_float_round_use=no
85331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85332 ac_ext=c
85333 ac_cpp='$CPP $CPPFLAGS'
85334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
85341 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
85342 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
85345 for ac_func in ceilf floorf
85347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85348 echo "$as_me:$LINENO: checking for $ac_func" >&5
85349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85350 if eval "test \"\${$as_ac_var+set}\" = set"; then
85351 echo $ECHO_N "(cached) $ECHO_C" >&6
85352 else
85353 if test x$gcc_no_link = xyes; then
85354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85356 { (exit 1); exit 1; }; }
85358 cat >conftest.$ac_ext <<_ACEOF
85359 /* confdefs.h. */
85360 _ACEOF
85361 cat confdefs.h >>conftest.$ac_ext
85362 cat >>conftest.$ac_ext <<_ACEOF
85363 /* end confdefs.h. */
85364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85366 #define $ac_func innocuous_$ac_func
85368 /* System header to define __stub macros and hopefully few prototypes,
85369 which can conflict with char $ac_func (); below.
85370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85371 <limits.h> exists even on freestanding compilers. */
85373 #ifdef __STDC__
85374 # include <limits.h>
85375 #else
85376 # include <assert.h>
85377 #endif
85379 #undef $ac_func
85381 /* Override any gcc2 internal prototype to avoid an error. */
85382 #ifdef __cplusplus
85383 extern "C"
85385 #endif
85386 /* We use char because int might match the return type of a gcc2
85387 builtin and then its argument prototype would still apply. */
85388 char $ac_func ();
85389 /* The GNU C library defines this for functions which it implements
85390 to always fail with ENOSYS. Some functions are actually named
85391 something starting with __ and the normal name is an alias. */
85392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85393 choke me
85394 #else
85395 char (*f) () = $ac_func;
85396 #endif
85397 #ifdef __cplusplus
85399 #endif
85402 main ()
85404 return f != $ac_func;
85406 return 0;
85408 _ACEOF
85409 rm -f conftest.$ac_objext conftest$ac_exeext
85410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85411 (eval $ac_link) 2>conftest.er1
85412 ac_status=$?
85413 grep -v '^ *+' conftest.er1 >conftest.err
85414 rm -f conftest.er1
85415 cat conftest.err >&5
85416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85417 (exit $ac_status); } &&
85418 { ac_try='test -z "$ac_c_werror_flag"
85419 || test ! -s conftest.err'
85420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85421 (eval $ac_try) 2>&5
85422 ac_status=$?
85423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85424 (exit $ac_status); }; } &&
85425 { ac_try='test -s conftest$ac_exeext'
85426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85427 (eval $ac_try) 2>&5
85428 ac_status=$?
85429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85430 (exit $ac_status); }; }; then
85431 eval "$as_ac_var=yes"
85432 else
85433 echo "$as_me: failed program was:" >&5
85434 sed 's/^/| /' conftest.$ac_ext >&5
85436 eval "$as_ac_var=no"
85438 rm -f conftest.err conftest.$ac_objext \
85439 conftest$ac_exeext conftest.$ac_ext
85441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85443 if test `eval echo '${'$as_ac_var'}'` = yes; then
85444 cat >>confdefs.h <<_ACEOF
85445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85446 _ACEOF
85449 done
85451 else
85452 echo "$as_me:$LINENO: checking for _float round functions" >&5
85453 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
85454 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
85455 echo $ECHO_N "(cached) $ECHO_C" >&6
85456 else
85460 ac_ext=cc
85461 ac_cpp='$CXXCPP $CPPFLAGS'
85462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85466 cat >conftest.$ac_ext <<_ACEOF
85467 /* confdefs.h. */
85468 _ACEOF
85469 cat confdefs.h >>conftest.$ac_ext
85470 cat >>conftest.$ac_ext <<_ACEOF
85471 /* end confdefs.h. */
85472 #include <math.h>
85474 main ()
85476 _ceilf (0); _floorf (0);
85478 return 0;
85480 _ACEOF
85481 rm -f conftest.$ac_objext
85482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85483 (eval $ac_compile) 2>conftest.er1
85484 ac_status=$?
85485 grep -v '^ *+' conftest.er1 >conftest.err
85486 rm -f conftest.er1
85487 cat conftest.err >&5
85488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85489 (exit $ac_status); } &&
85490 { ac_try='test -z "$ac_cxx_werror_flag"
85491 || test ! -s conftest.err'
85492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85493 (eval $ac_try) 2>&5
85494 ac_status=$?
85495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85496 (exit $ac_status); }; } &&
85497 { ac_try='test -s conftest.$ac_objext'
85498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85499 (eval $ac_try) 2>&5
85500 ac_status=$?
85501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85502 (exit $ac_status); }; }; then
85503 glibcxx_cv_func__float_round_use=yes
85504 else
85505 echo "$as_me: failed program was:" >&5
85506 sed 's/^/| /' conftest.$ac_ext >&5
85508 glibcxx_cv_func__float_round_use=no
85510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85511 ac_ext=c
85512 ac_cpp='$CPP $CPPFLAGS'
85513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
85520 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
85521 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
85524 for ac_func in _ceilf _floorf
85526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85527 echo "$as_me:$LINENO: checking for $ac_func" >&5
85528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85529 if eval "test \"\${$as_ac_var+set}\" = set"; then
85530 echo $ECHO_N "(cached) $ECHO_C" >&6
85531 else
85532 if test x$gcc_no_link = xyes; then
85533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85535 { (exit 1); exit 1; }; }
85537 cat >conftest.$ac_ext <<_ACEOF
85538 /* confdefs.h. */
85539 _ACEOF
85540 cat confdefs.h >>conftest.$ac_ext
85541 cat >>conftest.$ac_ext <<_ACEOF
85542 /* end confdefs.h. */
85543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85545 #define $ac_func innocuous_$ac_func
85547 /* System header to define __stub macros and hopefully few prototypes,
85548 which can conflict with char $ac_func (); below.
85549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85550 <limits.h> exists even on freestanding compilers. */
85552 #ifdef __STDC__
85553 # include <limits.h>
85554 #else
85555 # include <assert.h>
85556 #endif
85558 #undef $ac_func
85560 /* Override any gcc2 internal prototype to avoid an error. */
85561 #ifdef __cplusplus
85562 extern "C"
85564 #endif
85565 /* We use char because int might match the return type of a gcc2
85566 builtin and then its argument prototype would still apply. */
85567 char $ac_func ();
85568 /* The GNU C library defines this for functions which it implements
85569 to always fail with ENOSYS. Some functions are actually named
85570 something starting with __ and the normal name is an alias. */
85571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85572 choke me
85573 #else
85574 char (*f) () = $ac_func;
85575 #endif
85576 #ifdef __cplusplus
85578 #endif
85581 main ()
85583 return f != $ac_func;
85585 return 0;
85587 _ACEOF
85588 rm -f conftest.$ac_objext conftest$ac_exeext
85589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85590 (eval $ac_link) 2>conftest.er1
85591 ac_status=$?
85592 grep -v '^ *+' conftest.er1 >conftest.err
85593 rm -f conftest.er1
85594 cat conftest.err >&5
85595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85596 (exit $ac_status); } &&
85597 { ac_try='test -z "$ac_c_werror_flag"
85598 || test ! -s conftest.err'
85599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85600 (eval $ac_try) 2>&5
85601 ac_status=$?
85602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85603 (exit $ac_status); }; } &&
85604 { ac_try='test -s conftest$ac_exeext'
85605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85606 (eval $ac_try) 2>&5
85607 ac_status=$?
85608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85609 (exit $ac_status); }; }; then
85610 eval "$as_ac_var=yes"
85611 else
85612 echo "$as_me: failed program was:" >&5
85613 sed 's/^/| /' conftest.$ac_ext >&5
85615 eval "$as_ac_var=no"
85617 rm -f conftest.err conftest.$ac_objext \
85618 conftest$ac_exeext conftest.$ac_ext
85620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85622 if test `eval echo '${'$as_ac_var'}'` = yes; then
85623 cat >>confdefs.h <<_ACEOF
85624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85625 _ACEOF
85628 done
85640 echo "$as_me:$LINENO: checking for expf declaration" >&5
85641 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
85642 if test x${glibcxx_cv_func_expf_use+set} != xset; then
85643 if test "${glibcxx_cv_func_expf_use+set}" = set; then
85644 echo $ECHO_N "(cached) $ECHO_C" >&6
85645 else
85649 ac_ext=cc
85650 ac_cpp='$CXXCPP $CPPFLAGS'
85651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85655 cat >conftest.$ac_ext <<_ACEOF
85656 /* confdefs.h. */
85657 _ACEOF
85658 cat confdefs.h >>conftest.$ac_ext
85659 cat >>conftest.$ac_ext <<_ACEOF
85660 /* end confdefs.h. */
85661 #include <math.h>
85662 #ifdef HAVE_IEEEFP_H
85663 #include <ieeefp.h>
85664 #endif
85667 main ()
85669 expf(0);
85671 return 0;
85673 _ACEOF
85674 rm -f conftest.$ac_objext
85675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85676 (eval $ac_compile) 2>conftest.er1
85677 ac_status=$?
85678 grep -v '^ *+' conftest.er1 >conftest.err
85679 rm -f conftest.er1
85680 cat conftest.err >&5
85681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85682 (exit $ac_status); } &&
85683 { ac_try='test -z "$ac_cxx_werror_flag"
85684 || test ! -s conftest.err'
85685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85686 (eval $ac_try) 2>&5
85687 ac_status=$?
85688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85689 (exit $ac_status); }; } &&
85690 { ac_try='test -s conftest.$ac_objext'
85691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85692 (eval $ac_try) 2>&5
85693 ac_status=$?
85694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85695 (exit $ac_status); }; }; then
85696 glibcxx_cv_func_expf_use=yes
85697 else
85698 echo "$as_me: failed program was:" >&5
85699 sed 's/^/| /' conftest.$ac_ext >&5
85701 glibcxx_cv_func_expf_use=no
85703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85704 ac_ext=c
85705 ac_cpp='$CPP $CPPFLAGS'
85706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
85715 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
85717 if test x$glibcxx_cv_func_expf_use = x"yes"; then
85719 for ac_func in expf
85721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85722 echo "$as_me:$LINENO: checking for $ac_func" >&5
85723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85724 if eval "test \"\${$as_ac_var+set}\" = set"; then
85725 echo $ECHO_N "(cached) $ECHO_C" >&6
85726 else
85727 if test x$gcc_no_link = xyes; then
85728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85730 { (exit 1); exit 1; }; }
85732 cat >conftest.$ac_ext <<_ACEOF
85733 /* confdefs.h. */
85734 _ACEOF
85735 cat confdefs.h >>conftest.$ac_ext
85736 cat >>conftest.$ac_ext <<_ACEOF
85737 /* end confdefs.h. */
85738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85740 #define $ac_func innocuous_$ac_func
85742 /* System header to define __stub macros and hopefully few prototypes,
85743 which can conflict with char $ac_func (); below.
85744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85745 <limits.h> exists even on freestanding compilers. */
85747 #ifdef __STDC__
85748 # include <limits.h>
85749 #else
85750 # include <assert.h>
85751 #endif
85753 #undef $ac_func
85755 /* Override any gcc2 internal prototype to avoid an error. */
85756 #ifdef __cplusplus
85757 extern "C"
85759 #endif
85760 /* We use char because int might match the return type of a gcc2
85761 builtin and then its argument prototype would still apply. */
85762 char $ac_func ();
85763 /* The GNU C library defines this for functions which it implements
85764 to always fail with ENOSYS. Some functions are actually named
85765 something starting with __ and the normal name is an alias. */
85766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85767 choke me
85768 #else
85769 char (*f) () = $ac_func;
85770 #endif
85771 #ifdef __cplusplus
85773 #endif
85776 main ()
85778 return f != $ac_func;
85780 return 0;
85782 _ACEOF
85783 rm -f conftest.$ac_objext conftest$ac_exeext
85784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85785 (eval $ac_link) 2>conftest.er1
85786 ac_status=$?
85787 grep -v '^ *+' conftest.er1 >conftest.err
85788 rm -f conftest.er1
85789 cat conftest.err >&5
85790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85791 (exit $ac_status); } &&
85792 { ac_try='test -z "$ac_c_werror_flag"
85793 || test ! -s conftest.err'
85794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85795 (eval $ac_try) 2>&5
85796 ac_status=$?
85797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85798 (exit $ac_status); }; } &&
85799 { ac_try='test -s conftest$ac_exeext'
85800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85801 (eval $ac_try) 2>&5
85802 ac_status=$?
85803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85804 (exit $ac_status); }; }; then
85805 eval "$as_ac_var=yes"
85806 else
85807 echo "$as_me: failed program was:" >&5
85808 sed 's/^/| /' conftest.$ac_ext >&5
85810 eval "$as_ac_var=no"
85812 rm -f conftest.err conftest.$ac_objext \
85813 conftest$ac_exeext conftest.$ac_ext
85815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85817 if test `eval echo '${'$as_ac_var'}'` = yes; then
85818 cat >>confdefs.h <<_ACEOF
85819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85820 _ACEOF
85823 done
85825 else
85827 echo "$as_me:$LINENO: checking for _expf declaration" >&5
85828 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
85829 if test x${glibcxx_cv_func__expf_use+set} != xset; then
85830 if test "${glibcxx_cv_func__expf_use+set}" = set; then
85831 echo $ECHO_N "(cached) $ECHO_C" >&6
85832 else
85836 ac_ext=cc
85837 ac_cpp='$CXXCPP $CPPFLAGS'
85838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85842 cat >conftest.$ac_ext <<_ACEOF
85843 /* confdefs.h. */
85844 _ACEOF
85845 cat confdefs.h >>conftest.$ac_ext
85846 cat >>conftest.$ac_ext <<_ACEOF
85847 /* end confdefs.h. */
85848 #include <math.h>
85849 #ifdef HAVE_IEEEFP_H
85850 #include <ieeefp.h>
85851 #endif
85854 main ()
85856 _expf(0);
85858 return 0;
85860 _ACEOF
85861 rm -f conftest.$ac_objext
85862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85863 (eval $ac_compile) 2>conftest.er1
85864 ac_status=$?
85865 grep -v '^ *+' conftest.er1 >conftest.err
85866 rm -f conftest.er1
85867 cat conftest.err >&5
85868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85869 (exit $ac_status); } &&
85870 { ac_try='test -z "$ac_cxx_werror_flag"
85871 || test ! -s conftest.err'
85872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85873 (eval $ac_try) 2>&5
85874 ac_status=$?
85875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85876 (exit $ac_status); }; } &&
85877 { ac_try='test -s conftest.$ac_objext'
85878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85879 (eval $ac_try) 2>&5
85880 ac_status=$?
85881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85882 (exit $ac_status); }; }; then
85883 glibcxx_cv_func__expf_use=yes
85884 else
85885 echo "$as_me: failed program was:" >&5
85886 sed 's/^/| /' conftest.$ac_ext >&5
85888 glibcxx_cv_func__expf_use=no
85890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85891 ac_ext=c
85892 ac_cpp='$CPP $CPPFLAGS'
85893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
85902 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
85904 if test x$glibcxx_cv_func__expf_use = x"yes"; then
85906 for ac_func in _expf
85908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85909 echo "$as_me:$LINENO: checking for $ac_func" >&5
85910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85911 if eval "test \"\${$as_ac_var+set}\" = set"; then
85912 echo $ECHO_N "(cached) $ECHO_C" >&6
85913 else
85914 if test x$gcc_no_link = xyes; then
85915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85917 { (exit 1); exit 1; }; }
85919 cat >conftest.$ac_ext <<_ACEOF
85920 /* confdefs.h. */
85921 _ACEOF
85922 cat confdefs.h >>conftest.$ac_ext
85923 cat >>conftest.$ac_ext <<_ACEOF
85924 /* end confdefs.h. */
85925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85927 #define $ac_func innocuous_$ac_func
85929 /* System header to define __stub macros and hopefully few prototypes,
85930 which can conflict with char $ac_func (); below.
85931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85932 <limits.h> exists even on freestanding compilers. */
85934 #ifdef __STDC__
85935 # include <limits.h>
85936 #else
85937 # include <assert.h>
85938 #endif
85940 #undef $ac_func
85942 /* Override any gcc2 internal prototype to avoid an error. */
85943 #ifdef __cplusplus
85944 extern "C"
85946 #endif
85947 /* We use char because int might match the return type of a gcc2
85948 builtin and then its argument prototype would still apply. */
85949 char $ac_func ();
85950 /* The GNU C library defines this for functions which it implements
85951 to always fail with ENOSYS. Some functions are actually named
85952 something starting with __ and the normal name is an alias. */
85953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85954 choke me
85955 #else
85956 char (*f) () = $ac_func;
85957 #endif
85958 #ifdef __cplusplus
85960 #endif
85963 main ()
85965 return f != $ac_func;
85967 return 0;
85969 _ACEOF
85970 rm -f conftest.$ac_objext conftest$ac_exeext
85971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85972 (eval $ac_link) 2>conftest.er1
85973 ac_status=$?
85974 grep -v '^ *+' conftest.er1 >conftest.err
85975 rm -f conftest.er1
85976 cat conftest.err >&5
85977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85978 (exit $ac_status); } &&
85979 { ac_try='test -z "$ac_c_werror_flag"
85980 || test ! -s conftest.err'
85981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85982 (eval $ac_try) 2>&5
85983 ac_status=$?
85984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85985 (exit $ac_status); }; } &&
85986 { ac_try='test -s conftest$ac_exeext'
85987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85988 (eval $ac_try) 2>&5
85989 ac_status=$?
85990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85991 (exit $ac_status); }; }; then
85992 eval "$as_ac_var=yes"
85993 else
85994 echo "$as_me: failed program was:" >&5
85995 sed 's/^/| /' conftest.$ac_ext >&5
85997 eval "$as_ac_var=no"
85999 rm -f conftest.err conftest.$ac_objext \
86000 conftest$ac_exeext conftest.$ac_ext
86002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86004 if test `eval echo '${'$as_ac_var'}'` = yes; then
86005 cat >>confdefs.h <<_ACEOF
86006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86007 _ACEOF
86010 done
86020 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
86021 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
86022 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
86023 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
86024 echo $ECHO_N "(cached) $ECHO_C" >&6
86025 else
86029 ac_ext=cc
86030 ac_cpp='$CXXCPP $CPPFLAGS'
86031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86035 cat >conftest.$ac_ext <<_ACEOF
86036 /* confdefs.h. */
86037 _ACEOF
86038 cat confdefs.h >>conftest.$ac_ext
86039 cat >>conftest.$ac_ext <<_ACEOF
86040 /* end confdefs.h. */
86041 #include <math.h>
86042 #ifdef HAVE_IEEEFP_H
86043 #include <ieeefp.h>
86044 #endif
86047 main ()
86049 isnanf(0);
86051 return 0;
86053 _ACEOF
86054 rm -f conftest.$ac_objext
86055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86056 (eval $ac_compile) 2>conftest.er1
86057 ac_status=$?
86058 grep -v '^ *+' conftest.er1 >conftest.err
86059 rm -f conftest.er1
86060 cat conftest.err >&5
86061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86062 (exit $ac_status); } &&
86063 { ac_try='test -z "$ac_cxx_werror_flag"
86064 || test ! -s conftest.err'
86065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86066 (eval $ac_try) 2>&5
86067 ac_status=$?
86068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86069 (exit $ac_status); }; } &&
86070 { ac_try='test -s conftest.$ac_objext'
86071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86072 (eval $ac_try) 2>&5
86073 ac_status=$?
86074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86075 (exit $ac_status); }; }; then
86076 glibcxx_cv_func_isnanf_use=yes
86077 else
86078 echo "$as_me: failed program was:" >&5
86079 sed 's/^/| /' conftest.$ac_ext >&5
86081 glibcxx_cv_func_isnanf_use=no
86083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86084 ac_ext=c
86085 ac_cpp='$CPP $CPPFLAGS'
86086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
86095 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
86097 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
86099 for ac_func in isnanf
86101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86102 echo "$as_me:$LINENO: checking for $ac_func" >&5
86103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86104 if eval "test \"\${$as_ac_var+set}\" = set"; then
86105 echo $ECHO_N "(cached) $ECHO_C" >&6
86106 else
86107 if test x$gcc_no_link = xyes; then
86108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86110 { (exit 1); exit 1; }; }
86112 cat >conftest.$ac_ext <<_ACEOF
86113 /* confdefs.h. */
86114 _ACEOF
86115 cat confdefs.h >>conftest.$ac_ext
86116 cat >>conftest.$ac_ext <<_ACEOF
86117 /* end confdefs.h. */
86118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86120 #define $ac_func innocuous_$ac_func
86122 /* System header to define __stub macros and hopefully few prototypes,
86123 which can conflict with char $ac_func (); below.
86124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86125 <limits.h> exists even on freestanding compilers. */
86127 #ifdef __STDC__
86128 # include <limits.h>
86129 #else
86130 # include <assert.h>
86131 #endif
86133 #undef $ac_func
86135 /* Override any gcc2 internal prototype to avoid an error. */
86136 #ifdef __cplusplus
86137 extern "C"
86139 #endif
86140 /* We use char because int might match the return type of a gcc2
86141 builtin and then its argument prototype would still apply. */
86142 char $ac_func ();
86143 /* The GNU C library defines this for functions which it implements
86144 to always fail with ENOSYS. Some functions are actually named
86145 something starting with __ and the normal name is an alias. */
86146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86147 choke me
86148 #else
86149 char (*f) () = $ac_func;
86150 #endif
86151 #ifdef __cplusplus
86153 #endif
86156 main ()
86158 return f != $ac_func;
86160 return 0;
86162 _ACEOF
86163 rm -f conftest.$ac_objext conftest$ac_exeext
86164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86165 (eval $ac_link) 2>conftest.er1
86166 ac_status=$?
86167 grep -v '^ *+' conftest.er1 >conftest.err
86168 rm -f conftest.er1
86169 cat conftest.err >&5
86170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86171 (exit $ac_status); } &&
86172 { ac_try='test -z "$ac_c_werror_flag"
86173 || test ! -s conftest.err'
86174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86175 (eval $ac_try) 2>&5
86176 ac_status=$?
86177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86178 (exit $ac_status); }; } &&
86179 { ac_try='test -s conftest$ac_exeext'
86180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86181 (eval $ac_try) 2>&5
86182 ac_status=$?
86183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86184 (exit $ac_status); }; }; then
86185 eval "$as_ac_var=yes"
86186 else
86187 echo "$as_me: failed program was:" >&5
86188 sed 's/^/| /' conftest.$ac_ext >&5
86190 eval "$as_ac_var=no"
86192 rm -f conftest.err conftest.$ac_objext \
86193 conftest$ac_exeext conftest.$ac_ext
86195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86197 if test `eval echo '${'$as_ac_var'}'` = yes; then
86198 cat >>confdefs.h <<_ACEOF
86199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86200 _ACEOF
86203 done
86205 else
86207 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
86208 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
86209 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
86210 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
86211 echo $ECHO_N "(cached) $ECHO_C" >&6
86212 else
86216 ac_ext=cc
86217 ac_cpp='$CXXCPP $CPPFLAGS'
86218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86222 cat >conftest.$ac_ext <<_ACEOF
86223 /* confdefs.h. */
86224 _ACEOF
86225 cat confdefs.h >>conftest.$ac_ext
86226 cat >>conftest.$ac_ext <<_ACEOF
86227 /* end confdefs.h. */
86228 #include <math.h>
86229 #ifdef HAVE_IEEEFP_H
86230 #include <ieeefp.h>
86231 #endif
86234 main ()
86236 _isnanf(0);
86238 return 0;
86240 _ACEOF
86241 rm -f conftest.$ac_objext
86242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86243 (eval $ac_compile) 2>conftest.er1
86244 ac_status=$?
86245 grep -v '^ *+' conftest.er1 >conftest.err
86246 rm -f conftest.er1
86247 cat conftest.err >&5
86248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86249 (exit $ac_status); } &&
86250 { ac_try='test -z "$ac_cxx_werror_flag"
86251 || test ! -s conftest.err'
86252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86253 (eval $ac_try) 2>&5
86254 ac_status=$?
86255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86256 (exit $ac_status); }; } &&
86257 { ac_try='test -s conftest.$ac_objext'
86258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86259 (eval $ac_try) 2>&5
86260 ac_status=$?
86261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86262 (exit $ac_status); }; }; then
86263 glibcxx_cv_func__isnanf_use=yes
86264 else
86265 echo "$as_me: failed program was:" >&5
86266 sed 's/^/| /' conftest.$ac_ext >&5
86268 glibcxx_cv_func__isnanf_use=no
86270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86271 ac_ext=c
86272 ac_cpp='$CPP $CPPFLAGS'
86273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
86282 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
86284 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
86286 for ac_func in _isnanf
86288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86289 echo "$as_me:$LINENO: checking for $ac_func" >&5
86290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86291 if eval "test \"\${$as_ac_var+set}\" = set"; then
86292 echo $ECHO_N "(cached) $ECHO_C" >&6
86293 else
86294 if test x$gcc_no_link = xyes; then
86295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86297 { (exit 1); exit 1; }; }
86299 cat >conftest.$ac_ext <<_ACEOF
86300 /* confdefs.h. */
86301 _ACEOF
86302 cat confdefs.h >>conftest.$ac_ext
86303 cat >>conftest.$ac_ext <<_ACEOF
86304 /* end confdefs.h. */
86305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86307 #define $ac_func innocuous_$ac_func
86309 /* System header to define __stub macros and hopefully few prototypes,
86310 which can conflict with char $ac_func (); below.
86311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86312 <limits.h> exists even on freestanding compilers. */
86314 #ifdef __STDC__
86315 # include <limits.h>
86316 #else
86317 # include <assert.h>
86318 #endif
86320 #undef $ac_func
86322 /* Override any gcc2 internal prototype to avoid an error. */
86323 #ifdef __cplusplus
86324 extern "C"
86326 #endif
86327 /* We use char because int might match the return type of a gcc2
86328 builtin and then its argument prototype would still apply. */
86329 char $ac_func ();
86330 /* The GNU C library defines this for functions which it implements
86331 to always fail with ENOSYS. Some functions are actually named
86332 something starting with __ and the normal name is an alias. */
86333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86334 choke me
86335 #else
86336 char (*f) () = $ac_func;
86337 #endif
86338 #ifdef __cplusplus
86340 #endif
86343 main ()
86345 return f != $ac_func;
86347 return 0;
86349 _ACEOF
86350 rm -f conftest.$ac_objext conftest$ac_exeext
86351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86352 (eval $ac_link) 2>conftest.er1
86353 ac_status=$?
86354 grep -v '^ *+' conftest.er1 >conftest.err
86355 rm -f conftest.er1
86356 cat conftest.err >&5
86357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86358 (exit $ac_status); } &&
86359 { ac_try='test -z "$ac_c_werror_flag"
86360 || test ! -s conftest.err'
86361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86362 (eval $ac_try) 2>&5
86363 ac_status=$?
86364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86365 (exit $ac_status); }; } &&
86366 { ac_try='test -s conftest$ac_exeext'
86367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86368 (eval $ac_try) 2>&5
86369 ac_status=$?
86370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86371 (exit $ac_status); }; }; then
86372 eval "$as_ac_var=yes"
86373 else
86374 echo "$as_me: failed program was:" >&5
86375 sed 's/^/| /' conftest.$ac_ext >&5
86377 eval "$as_ac_var=no"
86379 rm -f conftest.err conftest.$ac_objext \
86380 conftest$ac_exeext conftest.$ac_ext
86382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86384 if test `eval echo '${'$as_ac_var'}'` = yes; then
86385 cat >>confdefs.h <<_ACEOF
86386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86387 _ACEOF
86390 done
86400 echo "$as_me:$LINENO: checking for isinff declaration" >&5
86401 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
86402 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
86403 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
86404 echo $ECHO_N "(cached) $ECHO_C" >&6
86405 else
86409 ac_ext=cc
86410 ac_cpp='$CXXCPP $CPPFLAGS'
86411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86415 cat >conftest.$ac_ext <<_ACEOF
86416 /* confdefs.h. */
86417 _ACEOF
86418 cat confdefs.h >>conftest.$ac_ext
86419 cat >>conftest.$ac_ext <<_ACEOF
86420 /* end confdefs.h. */
86421 #include <math.h>
86422 #ifdef HAVE_IEEEFP_H
86423 #include <ieeefp.h>
86424 #endif
86427 main ()
86429 isinff(0);
86431 return 0;
86433 _ACEOF
86434 rm -f conftest.$ac_objext
86435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86436 (eval $ac_compile) 2>conftest.er1
86437 ac_status=$?
86438 grep -v '^ *+' conftest.er1 >conftest.err
86439 rm -f conftest.er1
86440 cat conftest.err >&5
86441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86442 (exit $ac_status); } &&
86443 { ac_try='test -z "$ac_cxx_werror_flag"
86444 || test ! -s conftest.err'
86445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86446 (eval $ac_try) 2>&5
86447 ac_status=$?
86448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86449 (exit $ac_status); }; } &&
86450 { ac_try='test -s conftest.$ac_objext'
86451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86452 (eval $ac_try) 2>&5
86453 ac_status=$?
86454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86455 (exit $ac_status); }; }; then
86456 glibcxx_cv_func_isinff_use=yes
86457 else
86458 echo "$as_me: failed program was:" >&5
86459 sed 's/^/| /' conftest.$ac_ext >&5
86461 glibcxx_cv_func_isinff_use=no
86463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86464 ac_ext=c
86465 ac_cpp='$CPP $CPPFLAGS'
86466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
86475 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
86477 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
86479 for ac_func in isinff
86481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86482 echo "$as_me:$LINENO: checking for $ac_func" >&5
86483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86484 if eval "test \"\${$as_ac_var+set}\" = set"; then
86485 echo $ECHO_N "(cached) $ECHO_C" >&6
86486 else
86487 if test x$gcc_no_link = xyes; then
86488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86490 { (exit 1); exit 1; }; }
86492 cat >conftest.$ac_ext <<_ACEOF
86493 /* confdefs.h. */
86494 _ACEOF
86495 cat confdefs.h >>conftest.$ac_ext
86496 cat >>conftest.$ac_ext <<_ACEOF
86497 /* end confdefs.h. */
86498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86500 #define $ac_func innocuous_$ac_func
86502 /* System header to define __stub macros and hopefully few prototypes,
86503 which can conflict with char $ac_func (); below.
86504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86505 <limits.h> exists even on freestanding compilers. */
86507 #ifdef __STDC__
86508 # include <limits.h>
86509 #else
86510 # include <assert.h>
86511 #endif
86513 #undef $ac_func
86515 /* Override any gcc2 internal prototype to avoid an error. */
86516 #ifdef __cplusplus
86517 extern "C"
86519 #endif
86520 /* We use char because int might match the return type of a gcc2
86521 builtin and then its argument prototype would still apply. */
86522 char $ac_func ();
86523 /* The GNU C library defines this for functions which it implements
86524 to always fail with ENOSYS. Some functions are actually named
86525 something starting with __ and the normal name is an alias. */
86526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86527 choke me
86528 #else
86529 char (*f) () = $ac_func;
86530 #endif
86531 #ifdef __cplusplus
86533 #endif
86536 main ()
86538 return f != $ac_func;
86540 return 0;
86542 _ACEOF
86543 rm -f conftest.$ac_objext conftest$ac_exeext
86544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86545 (eval $ac_link) 2>conftest.er1
86546 ac_status=$?
86547 grep -v '^ *+' conftest.er1 >conftest.err
86548 rm -f conftest.er1
86549 cat conftest.err >&5
86550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86551 (exit $ac_status); } &&
86552 { ac_try='test -z "$ac_c_werror_flag"
86553 || test ! -s conftest.err'
86554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86555 (eval $ac_try) 2>&5
86556 ac_status=$?
86557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86558 (exit $ac_status); }; } &&
86559 { ac_try='test -s conftest$ac_exeext'
86560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86561 (eval $ac_try) 2>&5
86562 ac_status=$?
86563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86564 (exit $ac_status); }; }; then
86565 eval "$as_ac_var=yes"
86566 else
86567 echo "$as_me: failed program was:" >&5
86568 sed 's/^/| /' conftest.$ac_ext >&5
86570 eval "$as_ac_var=no"
86572 rm -f conftest.err conftest.$ac_objext \
86573 conftest$ac_exeext conftest.$ac_ext
86575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86577 if test `eval echo '${'$as_ac_var'}'` = yes; then
86578 cat >>confdefs.h <<_ACEOF
86579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86580 _ACEOF
86583 done
86585 else
86587 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
86588 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
86589 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
86590 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
86591 echo $ECHO_N "(cached) $ECHO_C" >&6
86592 else
86596 ac_ext=cc
86597 ac_cpp='$CXXCPP $CPPFLAGS'
86598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86602 cat >conftest.$ac_ext <<_ACEOF
86603 /* confdefs.h. */
86604 _ACEOF
86605 cat confdefs.h >>conftest.$ac_ext
86606 cat >>conftest.$ac_ext <<_ACEOF
86607 /* end confdefs.h. */
86608 #include <math.h>
86609 #ifdef HAVE_IEEEFP_H
86610 #include <ieeefp.h>
86611 #endif
86614 main ()
86616 _isinff(0);
86618 return 0;
86620 _ACEOF
86621 rm -f conftest.$ac_objext
86622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86623 (eval $ac_compile) 2>conftest.er1
86624 ac_status=$?
86625 grep -v '^ *+' conftest.er1 >conftest.err
86626 rm -f conftest.er1
86627 cat conftest.err >&5
86628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86629 (exit $ac_status); } &&
86630 { ac_try='test -z "$ac_cxx_werror_flag"
86631 || test ! -s conftest.err'
86632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86633 (eval $ac_try) 2>&5
86634 ac_status=$?
86635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86636 (exit $ac_status); }; } &&
86637 { ac_try='test -s conftest.$ac_objext'
86638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86639 (eval $ac_try) 2>&5
86640 ac_status=$?
86641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86642 (exit $ac_status); }; }; then
86643 glibcxx_cv_func__isinff_use=yes
86644 else
86645 echo "$as_me: failed program was:" >&5
86646 sed 's/^/| /' conftest.$ac_ext >&5
86648 glibcxx_cv_func__isinff_use=no
86650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86651 ac_ext=c
86652 ac_cpp='$CPP $CPPFLAGS'
86653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
86662 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
86664 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
86666 for ac_func in _isinff
86668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86669 echo "$as_me:$LINENO: checking for $ac_func" >&5
86670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86671 if eval "test \"\${$as_ac_var+set}\" = set"; then
86672 echo $ECHO_N "(cached) $ECHO_C" >&6
86673 else
86674 if test x$gcc_no_link = xyes; then
86675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86677 { (exit 1); exit 1; }; }
86679 cat >conftest.$ac_ext <<_ACEOF
86680 /* confdefs.h. */
86681 _ACEOF
86682 cat confdefs.h >>conftest.$ac_ext
86683 cat >>conftest.$ac_ext <<_ACEOF
86684 /* end confdefs.h. */
86685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86687 #define $ac_func innocuous_$ac_func
86689 /* System header to define __stub macros and hopefully few prototypes,
86690 which can conflict with char $ac_func (); below.
86691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86692 <limits.h> exists even on freestanding compilers. */
86694 #ifdef __STDC__
86695 # include <limits.h>
86696 #else
86697 # include <assert.h>
86698 #endif
86700 #undef $ac_func
86702 /* Override any gcc2 internal prototype to avoid an error. */
86703 #ifdef __cplusplus
86704 extern "C"
86706 #endif
86707 /* We use char because int might match the return type of a gcc2
86708 builtin and then its argument prototype would still apply. */
86709 char $ac_func ();
86710 /* The GNU C library defines this for functions which it implements
86711 to always fail with ENOSYS. Some functions are actually named
86712 something starting with __ and the normal name is an alias. */
86713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86714 choke me
86715 #else
86716 char (*f) () = $ac_func;
86717 #endif
86718 #ifdef __cplusplus
86720 #endif
86723 main ()
86725 return f != $ac_func;
86727 return 0;
86729 _ACEOF
86730 rm -f conftest.$ac_objext conftest$ac_exeext
86731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86732 (eval $ac_link) 2>conftest.er1
86733 ac_status=$?
86734 grep -v '^ *+' conftest.er1 >conftest.err
86735 rm -f conftest.er1
86736 cat conftest.err >&5
86737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86738 (exit $ac_status); } &&
86739 { ac_try='test -z "$ac_c_werror_flag"
86740 || test ! -s conftest.err'
86741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86742 (eval $ac_try) 2>&5
86743 ac_status=$?
86744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86745 (exit $ac_status); }; } &&
86746 { ac_try='test -s conftest$ac_exeext'
86747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86748 (eval $ac_try) 2>&5
86749 ac_status=$?
86750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86751 (exit $ac_status); }; }; then
86752 eval "$as_ac_var=yes"
86753 else
86754 echo "$as_me: failed program was:" >&5
86755 sed 's/^/| /' conftest.$ac_ext >&5
86757 eval "$as_ac_var=no"
86759 rm -f conftest.err conftest.$ac_objext \
86760 conftest$ac_exeext conftest.$ac_ext
86762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86764 if test `eval echo '${'$as_ac_var'}'` = yes; then
86765 cat >>confdefs.h <<_ACEOF
86766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86767 _ACEOF
86770 done
86780 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
86781 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
86782 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
86783 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
86784 echo $ECHO_N "(cached) $ECHO_C" >&6
86785 else
86789 ac_ext=cc
86790 ac_cpp='$CXXCPP $CPPFLAGS'
86791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
86803 main ()
86805 atan2f(0, 0);
86807 return 0;
86809 _ACEOF
86810 rm -f conftest.$ac_objext
86811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86812 (eval $ac_compile) 2>conftest.er1
86813 ac_status=$?
86814 grep -v '^ *+' conftest.er1 >conftest.err
86815 rm -f conftest.er1
86816 cat conftest.err >&5
86817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86818 (exit $ac_status); } &&
86819 { ac_try='test -z "$ac_cxx_werror_flag"
86820 || test ! -s conftest.err'
86821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86822 (eval $ac_try) 2>&5
86823 ac_status=$?
86824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86825 (exit $ac_status); }; } &&
86826 { ac_try='test -s conftest.$ac_objext'
86827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86828 (eval $ac_try) 2>&5
86829 ac_status=$?
86830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86831 (exit $ac_status); }; }; then
86832 glibcxx_cv_func_atan2f_use=yes
86833 else
86834 echo "$as_me: failed program was:" >&5
86835 sed 's/^/| /' conftest.$ac_ext >&5
86837 glibcxx_cv_func_atan2f_use=no
86839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86840 ac_ext=c
86841 ac_cpp='$CPP $CPPFLAGS'
86842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
86851 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
86853 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
86855 for ac_func in atan2f
86857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86858 echo "$as_me:$LINENO: checking for $ac_func" >&5
86859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86860 if eval "test \"\${$as_ac_var+set}\" = set"; then
86861 echo $ECHO_N "(cached) $ECHO_C" >&6
86862 else
86863 if test x$gcc_no_link = xyes; then
86864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86866 { (exit 1); exit 1; }; }
86868 cat >conftest.$ac_ext <<_ACEOF
86869 /* confdefs.h. */
86870 _ACEOF
86871 cat confdefs.h >>conftest.$ac_ext
86872 cat >>conftest.$ac_ext <<_ACEOF
86873 /* end confdefs.h. */
86874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86876 #define $ac_func innocuous_$ac_func
86878 /* System header to define __stub macros and hopefully few prototypes,
86879 which can conflict with char $ac_func (); below.
86880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86881 <limits.h> exists even on freestanding compilers. */
86883 #ifdef __STDC__
86884 # include <limits.h>
86885 #else
86886 # include <assert.h>
86887 #endif
86889 #undef $ac_func
86891 /* Override any gcc2 internal prototype to avoid an error. */
86892 #ifdef __cplusplus
86893 extern "C"
86895 #endif
86896 /* We use char because int might match the return type of a gcc2
86897 builtin and then its argument prototype would still apply. */
86898 char $ac_func ();
86899 /* The GNU C library defines this for functions which it implements
86900 to always fail with ENOSYS. Some functions are actually named
86901 something starting with __ and the normal name is an alias. */
86902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86903 choke me
86904 #else
86905 char (*f) () = $ac_func;
86906 #endif
86907 #ifdef __cplusplus
86909 #endif
86912 main ()
86914 return f != $ac_func;
86916 return 0;
86918 _ACEOF
86919 rm -f conftest.$ac_objext conftest$ac_exeext
86920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86921 (eval $ac_link) 2>conftest.er1
86922 ac_status=$?
86923 grep -v '^ *+' conftest.er1 >conftest.err
86924 rm -f conftest.er1
86925 cat conftest.err >&5
86926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86927 (exit $ac_status); } &&
86928 { ac_try='test -z "$ac_c_werror_flag"
86929 || test ! -s conftest.err'
86930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86931 (eval $ac_try) 2>&5
86932 ac_status=$?
86933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86934 (exit $ac_status); }; } &&
86935 { ac_try='test -s conftest$ac_exeext'
86936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86937 (eval $ac_try) 2>&5
86938 ac_status=$?
86939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86940 (exit $ac_status); }; }; then
86941 eval "$as_ac_var=yes"
86942 else
86943 echo "$as_me: failed program was:" >&5
86944 sed 's/^/| /' conftest.$ac_ext >&5
86946 eval "$as_ac_var=no"
86948 rm -f conftest.err conftest.$ac_objext \
86949 conftest$ac_exeext conftest.$ac_ext
86951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86953 if test `eval echo '${'$as_ac_var'}'` = yes; then
86954 cat >>confdefs.h <<_ACEOF
86955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86956 _ACEOF
86959 done
86961 else
86963 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
86964 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
86965 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
86966 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
86967 echo $ECHO_N "(cached) $ECHO_C" >&6
86968 else
86972 ac_ext=cc
86973 ac_cpp='$CXXCPP $CPPFLAGS'
86974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
86986 main ()
86988 _atan2f(0, 0);
86990 return 0;
86992 _ACEOF
86993 rm -f conftest.$ac_objext
86994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86995 (eval $ac_compile) 2>conftest.er1
86996 ac_status=$?
86997 grep -v '^ *+' conftest.er1 >conftest.err
86998 rm -f conftest.er1
86999 cat conftest.err >&5
87000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87001 (exit $ac_status); } &&
87002 { ac_try='test -z "$ac_cxx_werror_flag"
87003 || test ! -s conftest.err'
87004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87005 (eval $ac_try) 2>&5
87006 ac_status=$?
87007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87008 (exit $ac_status); }; } &&
87009 { ac_try='test -s conftest.$ac_objext'
87010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87011 (eval $ac_try) 2>&5
87012 ac_status=$?
87013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87014 (exit $ac_status); }; }; then
87015 glibcxx_cv_func__atan2f_use=yes
87016 else
87017 echo "$as_me: failed program was:" >&5
87018 sed 's/^/| /' conftest.$ac_ext >&5
87020 glibcxx_cv_func__atan2f_use=no
87022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87023 ac_ext=c
87024 ac_cpp='$CPP $CPPFLAGS'
87025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87033 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
87034 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
87036 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
87038 for ac_func in _atan2f
87040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87041 echo "$as_me:$LINENO: checking for $ac_func" >&5
87042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87043 if eval "test \"\${$as_ac_var+set}\" = set"; then
87044 echo $ECHO_N "(cached) $ECHO_C" >&6
87045 else
87046 if test x$gcc_no_link = xyes; then
87047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87049 { (exit 1); exit 1; }; }
87051 cat >conftest.$ac_ext <<_ACEOF
87052 /* confdefs.h. */
87053 _ACEOF
87054 cat confdefs.h >>conftest.$ac_ext
87055 cat >>conftest.$ac_ext <<_ACEOF
87056 /* end confdefs.h. */
87057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87059 #define $ac_func innocuous_$ac_func
87061 /* System header to define __stub macros and hopefully few prototypes,
87062 which can conflict with char $ac_func (); below.
87063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87064 <limits.h> exists even on freestanding compilers. */
87066 #ifdef __STDC__
87067 # include <limits.h>
87068 #else
87069 # include <assert.h>
87070 #endif
87072 #undef $ac_func
87074 /* Override any gcc2 internal prototype to avoid an error. */
87075 #ifdef __cplusplus
87076 extern "C"
87078 #endif
87079 /* We use char because int might match the return type of a gcc2
87080 builtin and then its argument prototype would still apply. */
87081 char $ac_func ();
87082 /* The GNU C library defines this for functions which it implements
87083 to always fail with ENOSYS. Some functions are actually named
87084 something starting with __ and the normal name is an alias. */
87085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87086 choke me
87087 #else
87088 char (*f) () = $ac_func;
87089 #endif
87090 #ifdef __cplusplus
87092 #endif
87095 main ()
87097 return f != $ac_func;
87099 return 0;
87101 _ACEOF
87102 rm -f conftest.$ac_objext conftest$ac_exeext
87103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87104 (eval $ac_link) 2>conftest.er1
87105 ac_status=$?
87106 grep -v '^ *+' conftest.er1 >conftest.err
87107 rm -f conftest.er1
87108 cat conftest.err >&5
87109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87110 (exit $ac_status); } &&
87111 { ac_try='test -z "$ac_c_werror_flag"
87112 || test ! -s conftest.err'
87113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87114 (eval $ac_try) 2>&5
87115 ac_status=$?
87116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87117 (exit $ac_status); }; } &&
87118 { ac_try='test -s conftest$ac_exeext'
87119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87120 (eval $ac_try) 2>&5
87121 ac_status=$?
87122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87123 (exit $ac_status); }; }; then
87124 eval "$as_ac_var=yes"
87125 else
87126 echo "$as_me: failed program was:" >&5
87127 sed 's/^/| /' conftest.$ac_ext >&5
87129 eval "$as_ac_var=no"
87131 rm -f conftest.err conftest.$ac_objext \
87132 conftest$ac_exeext conftest.$ac_ext
87134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87136 if test `eval echo '${'$as_ac_var'}'` = yes; then
87137 cat >>confdefs.h <<_ACEOF
87138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87139 _ACEOF
87142 done
87152 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
87153 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
87154 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
87155 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
87156 echo $ECHO_N "(cached) $ECHO_C" >&6
87157 else
87161 ac_ext=cc
87162 ac_cpp='$CXXCPP $CPPFLAGS'
87163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87167 cat >conftest.$ac_ext <<_ACEOF
87168 /* confdefs.h. */
87169 _ACEOF
87170 cat confdefs.h >>conftest.$ac_ext
87171 cat >>conftest.$ac_ext <<_ACEOF
87172 /* end confdefs.h. */
87173 #include <math.h>
87174 #ifdef HAVE_IEEEFP_H
87175 #include <ieeefp.h>
87176 #endif
87179 main ()
87181 fabsf(0);
87183 return 0;
87185 _ACEOF
87186 rm -f conftest.$ac_objext
87187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87188 (eval $ac_compile) 2>conftest.er1
87189 ac_status=$?
87190 grep -v '^ *+' conftest.er1 >conftest.err
87191 rm -f conftest.er1
87192 cat conftest.err >&5
87193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87194 (exit $ac_status); } &&
87195 { ac_try='test -z "$ac_cxx_werror_flag"
87196 || test ! -s conftest.err'
87197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87198 (eval $ac_try) 2>&5
87199 ac_status=$?
87200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87201 (exit $ac_status); }; } &&
87202 { ac_try='test -s conftest.$ac_objext'
87203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87204 (eval $ac_try) 2>&5
87205 ac_status=$?
87206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87207 (exit $ac_status); }; }; then
87208 glibcxx_cv_func_fabsf_use=yes
87209 else
87210 echo "$as_me: failed program was:" >&5
87211 sed 's/^/| /' conftest.$ac_ext >&5
87213 glibcxx_cv_func_fabsf_use=no
87215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87216 ac_ext=c
87217 ac_cpp='$CPP $CPPFLAGS'
87218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87226 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
87227 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
87229 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
87231 for ac_func in fabsf
87233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87234 echo "$as_me:$LINENO: checking for $ac_func" >&5
87235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87236 if eval "test \"\${$as_ac_var+set}\" = set"; then
87237 echo $ECHO_N "(cached) $ECHO_C" >&6
87238 else
87239 if test x$gcc_no_link = xyes; then
87240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87242 { (exit 1); exit 1; }; }
87244 cat >conftest.$ac_ext <<_ACEOF
87245 /* confdefs.h. */
87246 _ACEOF
87247 cat confdefs.h >>conftest.$ac_ext
87248 cat >>conftest.$ac_ext <<_ACEOF
87249 /* end confdefs.h. */
87250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87252 #define $ac_func innocuous_$ac_func
87254 /* System header to define __stub macros and hopefully few prototypes,
87255 which can conflict with char $ac_func (); below.
87256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87257 <limits.h> exists even on freestanding compilers. */
87259 #ifdef __STDC__
87260 # include <limits.h>
87261 #else
87262 # include <assert.h>
87263 #endif
87265 #undef $ac_func
87267 /* Override any gcc2 internal prototype to avoid an error. */
87268 #ifdef __cplusplus
87269 extern "C"
87271 #endif
87272 /* We use char because int might match the return type of a gcc2
87273 builtin and then its argument prototype would still apply. */
87274 char $ac_func ();
87275 /* The GNU C library defines this for functions which it implements
87276 to always fail with ENOSYS. Some functions are actually named
87277 something starting with __ and the normal name is an alias. */
87278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87279 choke me
87280 #else
87281 char (*f) () = $ac_func;
87282 #endif
87283 #ifdef __cplusplus
87285 #endif
87288 main ()
87290 return f != $ac_func;
87292 return 0;
87294 _ACEOF
87295 rm -f conftest.$ac_objext conftest$ac_exeext
87296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87297 (eval $ac_link) 2>conftest.er1
87298 ac_status=$?
87299 grep -v '^ *+' conftest.er1 >conftest.err
87300 rm -f conftest.er1
87301 cat conftest.err >&5
87302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87303 (exit $ac_status); } &&
87304 { ac_try='test -z "$ac_c_werror_flag"
87305 || test ! -s conftest.err'
87306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87307 (eval $ac_try) 2>&5
87308 ac_status=$?
87309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87310 (exit $ac_status); }; } &&
87311 { ac_try='test -s conftest$ac_exeext'
87312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87313 (eval $ac_try) 2>&5
87314 ac_status=$?
87315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87316 (exit $ac_status); }; }; then
87317 eval "$as_ac_var=yes"
87318 else
87319 echo "$as_me: failed program was:" >&5
87320 sed 's/^/| /' conftest.$ac_ext >&5
87322 eval "$as_ac_var=no"
87324 rm -f conftest.err conftest.$ac_objext \
87325 conftest$ac_exeext conftest.$ac_ext
87327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87329 if test `eval echo '${'$as_ac_var'}'` = yes; then
87330 cat >>confdefs.h <<_ACEOF
87331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87332 _ACEOF
87335 done
87337 else
87339 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
87340 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
87341 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
87342 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
87343 echo $ECHO_N "(cached) $ECHO_C" >&6
87344 else
87348 ac_ext=cc
87349 ac_cpp='$CXXCPP $CPPFLAGS'
87350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87354 cat >conftest.$ac_ext <<_ACEOF
87355 /* confdefs.h. */
87356 _ACEOF
87357 cat confdefs.h >>conftest.$ac_ext
87358 cat >>conftest.$ac_ext <<_ACEOF
87359 /* end confdefs.h. */
87360 #include <math.h>
87361 #ifdef HAVE_IEEEFP_H
87362 #include <ieeefp.h>
87363 #endif
87366 main ()
87368 _fabsf(0);
87370 return 0;
87372 _ACEOF
87373 rm -f conftest.$ac_objext
87374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87375 (eval $ac_compile) 2>conftest.er1
87376 ac_status=$?
87377 grep -v '^ *+' conftest.er1 >conftest.err
87378 rm -f conftest.er1
87379 cat conftest.err >&5
87380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87381 (exit $ac_status); } &&
87382 { ac_try='test -z "$ac_cxx_werror_flag"
87383 || test ! -s conftest.err'
87384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87385 (eval $ac_try) 2>&5
87386 ac_status=$?
87387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87388 (exit $ac_status); }; } &&
87389 { ac_try='test -s conftest.$ac_objext'
87390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87391 (eval $ac_try) 2>&5
87392 ac_status=$?
87393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87394 (exit $ac_status); }; }; then
87395 glibcxx_cv_func__fabsf_use=yes
87396 else
87397 echo "$as_me: failed program was:" >&5
87398 sed 's/^/| /' conftest.$ac_ext >&5
87400 glibcxx_cv_func__fabsf_use=no
87402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87403 ac_ext=c
87404 ac_cpp='$CPP $CPPFLAGS'
87405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87413 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
87414 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
87416 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
87418 for ac_func in _fabsf
87420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87421 echo "$as_me:$LINENO: checking for $ac_func" >&5
87422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87423 if eval "test \"\${$as_ac_var+set}\" = set"; then
87424 echo $ECHO_N "(cached) $ECHO_C" >&6
87425 else
87426 if test x$gcc_no_link = xyes; then
87427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87429 { (exit 1); exit 1; }; }
87431 cat >conftest.$ac_ext <<_ACEOF
87432 /* confdefs.h. */
87433 _ACEOF
87434 cat confdefs.h >>conftest.$ac_ext
87435 cat >>conftest.$ac_ext <<_ACEOF
87436 /* end confdefs.h. */
87437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87439 #define $ac_func innocuous_$ac_func
87441 /* System header to define __stub macros and hopefully few prototypes,
87442 which can conflict with char $ac_func (); below.
87443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87444 <limits.h> exists even on freestanding compilers. */
87446 #ifdef __STDC__
87447 # include <limits.h>
87448 #else
87449 # include <assert.h>
87450 #endif
87452 #undef $ac_func
87454 /* Override any gcc2 internal prototype to avoid an error. */
87455 #ifdef __cplusplus
87456 extern "C"
87458 #endif
87459 /* We use char because int might match the return type of a gcc2
87460 builtin and then its argument prototype would still apply. */
87461 char $ac_func ();
87462 /* The GNU C library defines this for functions which it implements
87463 to always fail with ENOSYS. Some functions are actually named
87464 something starting with __ and the normal name is an alias. */
87465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87466 choke me
87467 #else
87468 char (*f) () = $ac_func;
87469 #endif
87470 #ifdef __cplusplus
87472 #endif
87475 main ()
87477 return f != $ac_func;
87479 return 0;
87481 _ACEOF
87482 rm -f conftest.$ac_objext conftest$ac_exeext
87483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87484 (eval $ac_link) 2>conftest.er1
87485 ac_status=$?
87486 grep -v '^ *+' conftest.er1 >conftest.err
87487 rm -f conftest.er1
87488 cat conftest.err >&5
87489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87490 (exit $ac_status); } &&
87491 { ac_try='test -z "$ac_c_werror_flag"
87492 || test ! -s conftest.err'
87493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87494 (eval $ac_try) 2>&5
87495 ac_status=$?
87496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87497 (exit $ac_status); }; } &&
87498 { ac_try='test -s conftest$ac_exeext'
87499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87500 (eval $ac_try) 2>&5
87501 ac_status=$?
87502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87503 (exit $ac_status); }; }; then
87504 eval "$as_ac_var=yes"
87505 else
87506 echo "$as_me: failed program was:" >&5
87507 sed 's/^/| /' conftest.$ac_ext >&5
87509 eval "$as_ac_var=no"
87511 rm -f conftest.err conftest.$ac_objext \
87512 conftest$ac_exeext conftest.$ac_ext
87514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87516 if test `eval echo '${'$as_ac_var'}'` = yes; then
87517 cat >>confdefs.h <<_ACEOF
87518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87519 _ACEOF
87522 done
87532 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
87533 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
87534 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
87535 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
87536 echo $ECHO_N "(cached) $ECHO_C" >&6
87537 else
87541 ac_ext=cc
87542 ac_cpp='$CXXCPP $CPPFLAGS'
87543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
87555 main ()
87557 fmodf(0, 0);
87559 return 0;
87561 _ACEOF
87562 rm -f conftest.$ac_objext
87563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87564 (eval $ac_compile) 2>conftest.er1
87565 ac_status=$?
87566 grep -v '^ *+' conftest.er1 >conftest.err
87567 rm -f conftest.er1
87568 cat conftest.err >&5
87569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87570 (exit $ac_status); } &&
87571 { ac_try='test -z "$ac_cxx_werror_flag"
87572 || test ! -s conftest.err'
87573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87574 (eval $ac_try) 2>&5
87575 ac_status=$?
87576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87577 (exit $ac_status); }; } &&
87578 { ac_try='test -s conftest.$ac_objext'
87579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87580 (eval $ac_try) 2>&5
87581 ac_status=$?
87582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87583 (exit $ac_status); }; }; then
87584 glibcxx_cv_func_fmodf_use=yes
87585 else
87586 echo "$as_me: failed program was:" >&5
87587 sed 's/^/| /' conftest.$ac_ext >&5
87589 glibcxx_cv_func_fmodf_use=no
87591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87592 ac_ext=c
87593 ac_cpp='$CPP $CPPFLAGS'
87594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87602 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
87603 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
87605 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
87607 for ac_func in fmodf
87609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87610 echo "$as_me:$LINENO: checking for $ac_func" >&5
87611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87612 if eval "test \"\${$as_ac_var+set}\" = set"; then
87613 echo $ECHO_N "(cached) $ECHO_C" >&6
87614 else
87615 if test x$gcc_no_link = xyes; then
87616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87618 { (exit 1); exit 1; }; }
87620 cat >conftest.$ac_ext <<_ACEOF
87621 /* confdefs.h. */
87622 _ACEOF
87623 cat confdefs.h >>conftest.$ac_ext
87624 cat >>conftest.$ac_ext <<_ACEOF
87625 /* end confdefs.h. */
87626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87628 #define $ac_func innocuous_$ac_func
87630 /* System header to define __stub macros and hopefully few prototypes,
87631 which can conflict with char $ac_func (); below.
87632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87633 <limits.h> exists even on freestanding compilers. */
87635 #ifdef __STDC__
87636 # include <limits.h>
87637 #else
87638 # include <assert.h>
87639 #endif
87641 #undef $ac_func
87643 /* Override any gcc2 internal prototype to avoid an error. */
87644 #ifdef __cplusplus
87645 extern "C"
87647 #endif
87648 /* We use char because int might match the return type of a gcc2
87649 builtin and then its argument prototype would still apply. */
87650 char $ac_func ();
87651 /* The GNU C library defines this for functions which it implements
87652 to always fail with ENOSYS. Some functions are actually named
87653 something starting with __ and the normal name is an alias. */
87654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87655 choke me
87656 #else
87657 char (*f) () = $ac_func;
87658 #endif
87659 #ifdef __cplusplus
87661 #endif
87664 main ()
87666 return f != $ac_func;
87668 return 0;
87670 _ACEOF
87671 rm -f conftest.$ac_objext conftest$ac_exeext
87672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87673 (eval $ac_link) 2>conftest.er1
87674 ac_status=$?
87675 grep -v '^ *+' conftest.er1 >conftest.err
87676 rm -f conftest.er1
87677 cat conftest.err >&5
87678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87679 (exit $ac_status); } &&
87680 { ac_try='test -z "$ac_c_werror_flag"
87681 || test ! -s conftest.err'
87682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87683 (eval $ac_try) 2>&5
87684 ac_status=$?
87685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87686 (exit $ac_status); }; } &&
87687 { ac_try='test -s conftest$ac_exeext'
87688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87689 (eval $ac_try) 2>&5
87690 ac_status=$?
87691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87692 (exit $ac_status); }; }; then
87693 eval "$as_ac_var=yes"
87694 else
87695 echo "$as_me: failed program was:" >&5
87696 sed 's/^/| /' conftest.$ac_ext >&5
87698 eval "$as_ac_var=no"
87700 rm -f conftest.err conftest.$ac_objext \
87701 conftest$ac_exeext conftest.$ac_ext
87703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87705 if test `eval echo '${'$as_ac_var'}'` = yes; then
87706 cat >>confdefs.h <<_ACEOF
87707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87708 _ACEOF
87711 done
87713 else
87715 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
87716 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
87717 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
87718 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
87719 echo $ECHO_N "(cached) $ECHO_C" >&6
87720 else
87724 ac_ext=cc
87725 ac_cpp='$CXXCPP $CPPFLAGS'
87726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
87738 main ()
87740 _fmodf(0, 0);
87742 return 0;
87744 _ACEOF
87745 rm -f conftest.$ac_objext
87746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87747 (eval $ac_compile) 2>conftest.er1
87748 ac_status=$?
87749 grep -v '^ *+' conftest.er1 >conftest.err
87750 rm -f conftest.er1
87751 cat conftest.err >&5
87752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87753 (exit $ac_status); } &&
87754 { ac_try='test -z "$ac_cxx_werror_flag"
87755 || test ! -s conftest.err'
87756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87757 (eval $ac_try) 2>&5
87758 ac_status=$?
87759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87760 (exit $ac_status); }; } &&
87761 { ac_try='test -s conftest.$ac_objext'
87762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87763 (eval $ac_try) 2>&5
87764 ac_status=$?
87765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87766 (exit $ac_status); }; }; then
87767 glibcxx_cv_func__fmodf_use=yes
87768 else
87769 echo "$as_me: failed program was:" >&5
87770 sed 's/^/| /' conftest.$ac_ext >&5
87772 glibcxx_cv_func__fmodf_use=no
87774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87775 ac_ext=c
87776 ac_cpp='$CPP $CPPFLAGS'
87777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87785 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
87786 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
87788 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
87790 for ac_func in _fmodf
87792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87793 echo "$as_me:$LINENO: checking for $ac_func" >&5
87794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87795 if eval "test \"\${$as_ac_var+set}\" = set"; then
87796 echo $ECHO_N "(cached) $ECHO_C" >&6
87797 else
87798 if test x$gcc_no_link = xyes; then
87799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87801 { (exit 1); exit 1; }; }
87803 cat >conftest.$ac_ext <<_ACEOF
87804 /* confdefs.h. */
87805 _ACEOF
87806 cat confdefs.h >>conftest.$ac_ext
87807 cat >>conftest.$ac_ext <<_ACEOF
87808 /* end confdefs.h. */
87809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87811 #define $ac_func innocuous_$ac_func
87813 /* System header to define __stub macros and hopefully few prototypes,
87814 which can conflict with char $ac_func (); below.
87815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87816 <limits.h> exists even on freestanding compilers. */
87818 #ifdef __STDC__
87819 # include <limits.h>
87820 #else
87821 # include <assert.h>
87822 #endif
87824 #undef $ac_func
87826 /* Override any gcc2 internal prototype to avoid an error. */
87827 #ifdef __cplusplus
87828 extern "C"
87830 #endif
87831 /* We use char because int might match the return type of a gcc2
87832 builtin and then its argument prototype would still apply. */
87833 char $ac_func ();
87834 /* The GNU C library defines this for functions which it implements
87835 to always fail with ENOSYS. Some functions are actually named
87836 something starting with __ and the normal name is an alias. */
87837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87838 choke me
87839 #else
87840 char (*f) () = $ac_func;
87841 #endif
87842 #ifdef __cplusplus
87844 #endif
87847 main ()
87849 return f != $ac_func;
87851 return 0;
87853 _ACEOF
87854 rm -f conftest.$ac_objext conftest$ac_exeext
87855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87856 (eval $ac_link) 2>conftest.er1
87857 ac_status=$?
87858 grep -v '^ *+' conftest.er1 >conftest.err
87859 rm -f conftest.er1
87860 cat conftest.err >&5
87861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87862 (exit $ac_status); } &&
87863 { ac_try='test -z "$ac_c_werror_flag"
87864 || test ! -s conftest.err'
87865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87866 (eval $ac_try) 2>&5
87867 ac_status=$?
87868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87869 (exit $ac_status); }; } &&
87870 { ac_try='test -s conftest$ac_exeext'
87871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87872 (eval $ac_try) 2>&5
87873 ac_status=$?
87874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87875 (exit $ac_status); }; }; then
87876 eval "$as_ac_var=yes"
87877 else
87878 echo "$as_me: failed program was:" >&5
87879 sed 's/^/| /' conftest.$ac_ext >&5
87881 eval "$as_ac_var=no"
87883 rm -f conftest.err conftest.$ac_objext \
87884 conftest$ac_exeext conftest.$ac_ext
87886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87888 if test `eval echo '${'$as_ac_var'}'` = yes; then
87889 cat >>confdefs.h <<_ACEOF
87890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87891 _ACEOF
87894 done
87904 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
87905 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
87906 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
87907 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
87908 echo $ECHO_N "(cached) $ECHO_C" >&6
87909 else
87913 ac_ext=cc
87914 ac_cpp='$CXXCPP $CPPFLAGS'
87915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
87927 main ()
87929 frexpf(0, 0);
87931 return 0;
87933 _ACEOF
87934 rm -f conftest.$ac_objext
87935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87936 (eval $ac_compile) 2>conftest.er1
87937 ac_status=$?
87938 grep -v '^ *+' conftest.er1 >conftest.err
87939 rm -f conftest.er1
87940 cat conftest.err >&5
87941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87942 (exit $ac_status); } &&
87943 { ac_try='test -z "$ac_cxx_werror_flag"
87944 || test ! -s conftest.err'
87945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87946 (eval $ac_try) 2>&5
87947 ac_status=$?
87948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87949 (exit $ac_status); }; } &&
87950 { ac_try='test -s conftest.$ac_objext'
87951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87952 (eval $ac_try) 2>&5
87953 ac_status=$?
87954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87955 (exit $ac_status); }; }; then
87956 glibcxx_cv_func_frexpf_use=yes
87957 else
87958 echo "$as_me: failed program was:" >&5
87959 sed 's/^/| /' conftest.$ac_ext >&5
87961 glibcxx_cv_func_frexpf_use=no
87963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87964 ac_ext=c
87965 ac_cpp='$CPP $CPPFLAGS'
87966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87974 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
87975 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
87977 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
87979 for ac_func in frexpf
87981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87982 echo "$as_me:$LINENO: checking for $ac_func" >&5
87983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87984 if eval "test \"\${$as_ac_var+set}\" = set"; then
87985 echo $ECHO_N "(cached) $ECHO_C" >&6
87986 else
87987 if test x$gcc_no_link = xyes; then
87988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87990 { (exit 1); exit 1; }; }
87992 cat >conftest.$ac_ext <<_ACEOF
87993 /* confdefs.h. */
87994 _ACEOF
87995 cat confdefs.h >>conftest.$ac_ext
87996 cat >>conftest.$ac_ext <<_ACEOF
87997 /* end confdefs.h. */
87998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88000 #define $ac_func innocuous_$ac_func
88002 /* System header to define __stub macros and hopefully few prototypes,
88003 which can conflict with char $ac_func (); below.
88004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88005 <limits.h> exists even on freestanding compilers. */
88007 #ifdef __STDC__
88008 # include <limits.h>
88009 #else
88010 # include <assert.h>
88011 #endif
88013 #undef $ac_func
88015 /* Override any gcc2 internal prototype to avoid an error. */
88016 #ifdef __cplusplus
88017 extern "C"
88019 #endif
88020 /* We use char because int might match the return type of a gcc2
88021 builtin and then its argument prototype would still apply. */
88022 char $ac_func ();
88023 /* The GNU C library defines this for functions which it implements
88024 to always fail with ENOSYS. Some functions are actually named
88025 something starting with __ and the normal name is an alias. */
88026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88027 choke me
88028 #else
88029 char (*f) () = $ac_func;
88030 #endif
88031 #ifdef __cplusplus
88033 #endif
88036 main ()
88038 return f != $ac_func;
88040 return 0;
88042 _ACEOF
88043 rm -f conftest.$ac_objext conftest$ac_exeext
88044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88045 (eval $ac_link) 2>conftest.er1
88046 ac_status=$?
88047 grep -v '^ *+' conftest.er1 >conftest.err
88048 rm -f conftest.er1
88049 cat conftest.err >&5
88050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88051 (exit $ac_status); } &&
88052 { ac_try='test -z "$ac_c_werror_flag"
88053 || test ! -s conftest.err'
88054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88055 (eval $ac_try) 2>&5
88056 ac_status=$?
88057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88058 (exit $ac_status); }; } &&
88059 { ac_try='test -s conftest$ac_exeext'
88060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88061 (eval $ac_try) 2>&5
88062 ac_status=$?
88063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88064 (exit $ac_status); }; }; then
88065 eval "$as_ac_var=yes"
88066 else
88067 echo "$as_me: failed program was:" >&5
88068 sed 's/^/| /' conftest.$ac_ext >&5
88070 eval "$as_ac_var=no"
88072 rm -f conftest.err conftest.$ac_objext \
88073 conftest$ac_exeext conftest.$ac_ext
88075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88077 if test `eval echo '${'$as_ac_var'}'` = yes; then
88078 cat >>confdefs.h <<_ACEOF
88079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88080 _ACEOF
88083 done
88085 else
88087 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
88088 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
88089 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
88090 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
88091 echo $ECHO_N "(cached) $ECHO_C" >&6
88092 else
88096 ac_ext=cc
88097 ac_cpp='$CXXCPP $CPPFLAGS'
88098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
88110 main ()
88112 _frexpf(0, 0);
88114 return 0;
88116 _ACEOF
88117 rm -f conftest.$ac_objext
88118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88119 (eval $ac_compile) 2>conftest.er1
88120 ac_status=$?
88121 grep -v '^ *+' conftest.er1 >conftest.err
88122 rm -f conftest.er1
88123 cat conftest.err >&5
88124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88125 (exit $ac_status); } &&
88126 { ac_try='test -z "$ac_cxx_werror_flag"
88127 || test ! -s conftest.err'
88128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88129 (eval $ac_try) 2>&5
88130 ac_status=$?
88131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88132 (exit $ac_status); }; } &&
88133 { ac_try='test -s conftest.$ac_objext'
88134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88135 (eval $ac_try) 2>&5
88136 ac_status=$?
88137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88138 (exit $ac_status); }; }; then
88139 glibcxx_cv_func__frexpf_use=yes
88140 else
88141 echo "$as_me: failed program was:" >&5
88142 sed 's/^/| /' conftest.$ac_ext >&5
88144 glibcxx_cv_func__frexpf_use=no
88146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88147 ac_ext=c
88148 ac_cpp='$CPP $CPPFLAGS'
88149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88157 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
88158 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
88160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
88162 for ac_func in _frexpf
88164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88165 echo "$as_me:$LINENO: checking for $ac_func" >&5
88166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88167 if eval "test \"\${$as_ac_var+set}\" = set"; then
88168 echo $ECHO_N "(cached) $ECHO_C" >&6
88169 else
88170 if test x$gcc_no_link = xyes; then
88171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88173 { (exit 1); exit 1; }; }
88175 cat >conftest.$ac_ext <<_ACEOF
88176 /* confdefs.h. */
88177 _ACEOF
88178 cat confdefs.h >>conftest.$ac_ext
88179 cat >>conftest.$ac_ext <<_ACEOF
88180 /* end confdefs.h. */
88181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88183 #define $ac_func innocuous_$ac_func
88185 /* System header to define __stub macros and hopefully few prototypes,
88186 which can conflict with char $ac_func (); below.
88187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88188 <limits.h> exists even on freestanding compilers. */
88190 #ifdef __STDC__
88191 # include <limits.h>
88192 #else
88193 # include <assert.h>
88194 #endif
88196 #undef $ac_func
88198 /* Override any gcc2 internal prototype to avoid an error. */
88199 #ifdef __cplusplus
88200 extern "C"
88202 #endif
88203 /* We use char because int might match the return type of a gcc2
88204 builtin and then its argument prototype would still apply. */
88205 char $ac_func ();
88206 /* The GNU C library defines this for functions which it implements
88207 to always fail with ENOSYS. Some functions are actually named
88208 something starting with __ and the normal name is an alias. */
88209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88210 choke me
88211 #else
88212 char (*f) () = $ac_func;
88213 #endif
88214 #ifdef __cplusplus
88216 #endif
88219 main ()
88221 return f != $ac_func;
88223 return 0;
88225 _ACEOF
88226 rm -f conftest.$ac_objext conftest$ac_exeext
88227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88228 (eval $ac_link) 2>conftest.er1
88229 ac_status=$?
88230 grep -v '^ *+' conftest.er1 >conftest.err
88231 rm -f conftest.er1
88232 cat conftest.err >&5
88233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88234 (exit $ac_status); } &&
88235 { ac_try='test -z "$ac_c_werror_flag"
88236 || test ! -s conftest.err'
88237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88238 (eval $ac_try) 2>&5
88239 ac_status=$?
88240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241 (exit $ac_status); }; } &&
88242 { ac_try='test -s conftest$ac_exeext'
88243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88244 (eval $ac_try) 2>&5
88245 ac_status=$?
88246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247 (exit $ac_status); }; }; then
88248 eval "$as_ac_var=yes"
88249 else
88250 echo "$as_me: failed program was:" >&5
88251 sed 's/^/| /' conftest.$ac_ext >&5
88253 eval "$as_ac_var=no"
88255 rm -f conftest.err conftest.$ac_objext \
88256 conftest$ac_exeext conftest.$ac_ext
88258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88260 if test `eval echo '${'$as_ac_var'}'` = yes; then
88261 cat >>confdefs.h <<_ACEOF
88262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88263 _ACEOF
88266 done
88276 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
88277 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
88278 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
88279 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
88280 echo $ECHO_N "(cached) $ECHO_C" >&6
88281 else
88285 ac_ext=cc
88286 ac_cpp='$CXXCPP $CPPFLAGS'
88287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
88299 main ()
88301 hypotf(0, 0);
88303 return 0;
88305 _ACEOF
88306 rm -f conftest.$ac_objext
88307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88308 (eval $ac_compile) 2>conftest.er1
88309 ac_status=$?
88310 grep -v '^ *+' conftest.er1 >conftest.err
88311 rm -f conftest.er1
88312 cat conftest.err >&5
88313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88314 (exit $ac_status); } &&
88315 { ac_try='test -z "$ac_cxx_werror_flag"
88316 || test ! -s conftest.err'
88317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88318 (eval $ac_try) 2>&5
88319 ac_status=$?
88320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88321 (exit $ac_status); }; } &&
88322 { ac_try='test -s conftest.$ac_objext'
88323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88324 (eval $ac_try) 2>&5
88325 ac_status=$?
88326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88327 (exit $ac_status); }; }; then
88328 glibcxx_cv_func_hypotf_use=yes
88329 else
88330 echo "$as_me: failed program was:" >&5
88331 sed 's/^/| /' conftest.$ac_ext >&5
88333 glibcxx_cv_func_hypotf_use=no
88335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88336 ac_ext=c
88337 ac_cpp='$CPP $CPPFLAGS'
88338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
88347 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
88349 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
88351 for ac_func in hypotf
88353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88354 echo "$as_me:$LINENO: checking for $ac_func" >&5
88355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88356 if eval "test \"\${$as_ac_var+set}\" = set"; then
88357 echo $ECHO_N "(cached) $ECHO_C" >&6
88358 else
88359 if test x$gcc_no_link = xyes; then
88360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88362 { (exit 1); exit 1; }; }
88364 cat >conftest.$ac_ext <<_ACEOF
88365 /* confdefs.h. */
88366 _ACEOF
88367 cat confdefs.h >>conftest.$ac_ext
88368 cat >>conftest.$ac_ext <<_ACEOF
88369 /* end confdefs.h. */
88370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88372 #define $ac_func innocuous_$ac_func
88374 /* System header to define __stub macros and hopefully few prototypes,
88375 which can conflict with char $ac_func (); below.
88376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88377 <limits.h> exists even on freestanding compilers. */
88379 #ifdef __STDC__
88380 # include <limits.h>
88381 #else
88382 # include <assert.h>
88383 #endif
88385 #undef $ac_func
88387 /* Override any gcc2 internal prototype to avoid an error. */
88388 #ifdef __cplusplus
88389 extern "C"
88391 #endif
88392 /* We use char because int might match the return type of a gcc2
88393 builtin and then its argument prototype would still apply. */
88394 char $ac_func ();
88395 /* The GNU C library defines this for functions which it implements
88396 to always fail with ENOSYS. Some functions are actually named
88397 something starting with __ and the normal name is an alias. */
88398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88399 choke me
88400 #else
88401 char (*f) () = $ac_func;
88402 #endif
88403 #ifdef __cplusplus
88405 #endif
88408 main ()
88410 return f != $ac_func;
88412 return 0;
88414 _ACEOF
88415 rm -f conftest.$ac_objext conftest$ac_exeext
88416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88417 (eval $ac_link) 2>conftest.er1
88418 ac_status=$?
88419 grep -v '^ *+' conftest.er1 >conftest.err
88420 rm -f conftest.er1
88421 cat conftest.err >&5
88422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88423 (exit $ac_status); } &&
88424 { ac_try='test -z "$ac_c_werror_flag"
88425 || test ! -s conftest.err'
88426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88427 (eval $ac_try) 2>&5
88428 ac_status=$?
88429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88430 (exit $ac_status); }; } &&
88431 { ac_try='test -s conftest$ac_exeext'
88432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88433 (eval $ac_try) 2>&5
88434 ac_status=$?
88435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88436 (exit $ac_status); }; }; then
88437 eval "$as_ac_var=yes"
88438 else
88439 echo "$as_me: failed program was:" >&5
88440 sed 's/^/| /' conftest.$ac_ext >&5
88442 eval "$as_ac_var=no"
88444 rm -f conftest.err conftest.$ac_objext \
88445 conftest$ac_exeext conftest.$ac_ext
88447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88449 if test `eval echo '${'$as_ac_var'}'` = yes; then
88450 cat >>confdefs.h <<_ACEOF
88451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88452 _ACEOF
88455 done
88457 else
88459 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
88460 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
88461 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
88462 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
88463 echo $ECHO_N "(cached) $ECHO_C" >&6
88464 else
88468 ac_ext=cc
88469 ac_cpp='$CXXCPP $CPPFLAGS'
88470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
88482 main ()
88484 _hypotf(0, 0);
88486 return 0;
88488 _ACEOF
88489 rm -f conftest.$ac_objext
88490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88491 (eval $ac_compile) 2>conftest.er1
88492 ac_status=$?
88493 grep -v '^ *+' conftest.er1 >conftest.err
88494 rm -f conftest.er1
88495 cat conftest.err >&5
88496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88497 (exit $ac_status); } &&
88498 { ac_try='test -z "$ac_cxx_werror_flag"
88499 || test ! -s conftest.err'
88500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88501 (eval $ac_try) 2>&5
88502 ac_status=$?
88503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88504 (exit $ac_status); }; } &&
88505 { ac_try='test -s conftest.$ac_objext'
88506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88507 (eval $ac_try) 2>&5
88508 ac_status=$?
88509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88510 (exit $ac_status); }; }; then
88511 glibcxx_cv_func__hypotf_use=yes
88512 else
88513 echo "$as_me: failed program was:" >&5
88514 sed 's/^/| /' conftest.$ac_ext >&5
88516 glibcxx_cv_func__hypotf_use=no
88518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88519 ac_ext=c
88520 ac_cpp='$CPP $CPPFLAGS'
88521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88529 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
88530 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
88532 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
88534 for ac_func in _hypotf
88536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88537 echo "$as_me:$LINENO: checking for $ac_func" >&5
88538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88539 if eval "test \"\${$as_ac_var+set}\" = set"; then
88540 echo $ECHO_N "(cached) $ECHO_C" >&6
88541 else
88542 if test x$gcc_no_link = xyes; then
88543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88545 { (exit 1); exit 1; }; }
88547 cat >conftest.$ac_ext <<_ACEOF
88548 /* confdefs.h. */
88549 _ACEOF
88550 cat confdefs.h >>conftest.$ac_ext
88551 cat >>conftest.$ac_ext <<_ACEOF
88552 /* end confdefs.h. */
88553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88555 #define $ac_func innocuous_$ac_func
88557 /* System header to define __stub macros and hopefully few prototypes,
88558 which can conflict with char $ac_func (); below.
88559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88560 <limits.h> exists even on freestanding compilers. */
88562 #ifdef __STDC__
88563 # include <limits.h>
88564 #else
88565 # include <assert.h>
88566 #endif
88568 #undef $ac_func
88570 /* Override any gcc2 internal prototype to avoid an error. */
88571 #ifdef __cplusplus
88572 extern "C"
88574 #endif
88575 /* We use char because int might match the return type of a gcc2
88576 builtin and then its argument prototype would still apply. */
88577 char $ac_func ();
88578 /* The GNU C library defines this for functions which it implements
88579 to always fail with ENOSYS. Some functions are actually named
88580 something starting with __ and the normal name is an alias. */
88581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88582 choke me
88583 #else
88584 char (*f) () = $ac_func;
88585 #endif
88586 #ifdef __cplusplus
88588 #endif
88591 main ()
88593 return f != $ac_func;
88595 return 0;
88597 _ACEOF
88598 rm -f conftest.$ac_objext conftest$ac_exeext
88599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88600 (eval $ac_link) 2>conftest.er1
88601 ac_status=$?
88602 grep -v '^ *+' conftest.er1 >conftest.err
88603 rm -f conftest.er1
88604 cat conftest.err >&5
88605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88606 (exit $ac_status); } &&
88607 { ac_try='test -z "$ac_c_werror_flag"
88608 || test ! -s conftest.err'
88609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88610 (eval $ac_try) 2>&5
88611 ac_status=$?
88612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88613 (exit $ac_status); }; } &&
88614 { ac_try='test -s conftest$ac_exeext'
88615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88616 (eval $ac_try) 2>&5
88617 ac_status=$?
88618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88619 (exit $ac_status); }; }; then
88620 eval "$as_ac_var=yes"
88621 else
88622 echo "$as_me: failed program was:" >&5
88623 sed 's/^/| /' conftest.$ac_ext >&5
88625 eval "$as_ac_var=no"
88627 rm -f conftest.err conftest.$ac_objext \
88628 conftest$ac_exeext conftest.$ac_ext
88630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88632 if test `eval echo '${'$as_ac_var'}'` = yes; then
88633 cat >>confdefs.h <<_ACEOF
88634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88635 _ACEOF
88638 done
88648 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
88649 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
88650 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
88651 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
88652 echo $ECHO_N "(cached) $ECHO_C" >&6
88653 else
88657 ac_ext=cc
88658 ac_cpp='$CXXCPP $CPPFLAGS'
88659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
88671 main ()
88673 ldexpf(0, 0);
88675 return 0;
88677 _ACEOF
88678 rm -f conftest.$ac_objext
88679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88680 (eval $ac_compile) 2>conftest.er1
88681 ac_status=$?
88682 grep -v '^ *+' conftest.er1 >conftest.err
88683 rm -f conftest.er1
88684 cat conftest.err >&5
88685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88686 (exit $ac_status); } &&
88687 { ac_try='test -z "$ac_cxx_werror_flag"
88688 || test ! -s conftest.err'
88689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88690 (eval $ac_try) 2>&5
88691 ac_status=$?
88692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88693 (exit $ac_status); }; } &&
88694 { ac_try='test -s conftest.$ac_objext'
88695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88696 (eval $ac_try) 2>&5
88697 ac_status=$?
88698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88699 (exit $ac_status); }; }; then
88700 glibcxx_cv_func_ldexpf_use=yes
88701 else
88702 echo "$as_me: failed program was:" >&5
88703 sed 's/^/| /' conftest.$ac_ext >&5
88705 glibcxx_cv_func_ldexpf_use=no
88707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88708 ac_ext=c
88709 ac_cpp='$CPP $CPPFLAGS'
88710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
88719 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
88721 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
88723 for ac_func in ldexpf
88725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88726 echo "$as_me:$LINENO: checking for $ac_func" >&5
88727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88728 if eval "test \"\${$as_ac_var+set}\" = set"; then
88729 echo $ECHO_N "(cached) $ECHO_C" >&6
88730 else
88731 if test x$gcc_no_link = xyes; then
88732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88734 { (exit 1); exit 1; }; }
88736 cat >conftest.$ac_ext <<_ACEOF
88737 /* confdefs.h. */
88738 _ACEOF
88739 cat confdefs.h >>conftest.$ac_ext
88740 cat >>conftest.$ac_ext <<_ACEOF
88741 /* end confdefs.h. */
88742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88744 #define $ac_func innocuous_$ac_func
88746 /* System header to define __stub macros and hopefully few prototypes,
88747 which can conflict with char $ac_func (); below.
88748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88749 <limits.h> exists even on freestanding compilers. */
88751 #ifdef __STDC__
88752 # include <limits.h>
88753 #else
88754 # include <assert.h>
88755 #endif
88757 #undef $ac_func
88759 /* Override any gcc2 internal prototype to avoid an error. */
88760 #ifdef __cplusplus
88761 extern "C"
88763 #endif
88764 /* We use char because int might match the return type of a gcc2
88765 builtin and then its argument prototype would still apply. */
88766 char $ac_func ();
88767 /* The GNU C library defines this for functions which it implements
88768 to always fail with ENOSYS. Some functions are actually named
88769 something starting with __ and the normal name is an alias. */
88770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88771 choke me
88772 #else
88773 char (*f) () = $ac_func;
88774 #endif
88775 #ifdef __cplusplus
88777 #endif
88780 main ()
88782 return f != $ac_func;
88784 return 0;
88786 _ACEOF
88787 rm -f conftest.$ac_objext conftest$ac_exeext
88788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88789 (eval $ac_link) 2>conftest.er1
88790 ac_status=$?
88791 grep -v '^ *+' conftest.er1 >conftest.err
88792 rm -f conftest.er1
88793 cat conftest.err >&5
88794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88795 (exit $ac_status); } &&
88796 { ac_try='test -z "$ac_c_werror_flag"
88797 || test ! -s conftest.err'
88798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88799 (eval $ac_try) 2>&5
88800 ac_status=$?
88801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88802 (exit $ac_status); }; } &&
88803 { ac_try='test -s conftest$ac_exeext'
88804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88805 (eval $ac_try) 2>&5
88806 ac_status=$?
88807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88808 (exit $ac_status); }; }; then
88809 eval "$as_ac_var=yes"
88810 else
88811 echo "$as_me: failed program was:" >&5
88812 sed 's/^/| /' conftest.$ac_ext >&5
88814 eval "$as_ac_var=no"
88816 rm -f conftest.err conftest.$ac_objext \
88817 conftest$ac_exeext conftest.$ac_ext
88819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88821 if test `eval echo '${'$as_ac_var'}'` = yes; then
88822 cat >>confdefs.h <<_ACEOF
88823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88824 _ACEOF
88827 done
88829 else
88831 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
88832 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
88833 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
88834 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
88835 echo $ECHO_N "(cached) $ECHO_C" >&6
88836 else
88840 ac_ext=cc
88841 ac_cpp='$CXXCPP $CPPFLAGS'
88842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
88854 main ()
88856 _ldexpf(0, 0);
88858 return 0;
88860 _ACEOF
88861 rm -f conftest.$ac_objext
88862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88863 (eval $ac_compile) 2>conftest.er1
88864 ac_status=$?
88865 grep -v '^ *+' conftest.er1 >conftest.err
88866 rm -f conftest.er1
88867 cat conftest.err >&5
88868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88869 (exit $ac_status); } &&
88870 { ac_try='test -z "$ac_cxx_werror_flag"
88871 || test ! -s conftest.err'
88872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88873 (eval $ac_try) 2>&5
88874 ac_status=$?
88875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88876 (exit $ac_status); }; } &&
88877 { ac_try='test -s conftest.$ac_objext'
88878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88879 (eval $ac_try) 2>&5
88880 ac_status=$?
88881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88882 (exit $ac_status); }; }; then
88883 glibcxx_cv_func__ldexpf_use=yes
88884 else
88885 echo "$as_me: failed program was:" >&5
88886 sed 's/^/| /' conftest.$ac_ext >&5
88888 glibcxx_cv_func__ldexpf_use=no
88890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88891 ac_ext=c
88892 ac_cpp='$CPP $CPPFLAGS'
88893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
88902 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
88904 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
88906 for ac_func in _ldexpf
88908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88909 echo "$as_me:$LINENO: checking for $ac_func" >&5
88910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88911 if eval "test \"\${$as_ac_var+set}\" = set"; then
88912 echo $ECHO_N "(cached) $ECHO_C" >&6
88913 else
88914 if test x$gcc_no_link = xyes; then
88915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88917 { (exit 1); exit 1; }; }
88919 cat >conftest.$ac_ext <<_ACEOF
88920 /* confdefs.h. */
88921 _ACEOF
88922 cat confdefs.h >>conftest.$ac_ext
88923 cat >>conftest.$ac_ext <<_ACEOF
88924 /* end confdefs.h. */
88925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88927 #define $ac_func innocuous_$ac_func
88929 /* System header to define __stub macros and hopefully few prototypes,
88930 which can conflict with char $ac_func (); below.
88931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88932 <limits.h> exists even on freestanding compilers. */
88934 #ifdef __STDC__
88935 # include <limits.h>
88936 #else
88937 # include <assert.h>
88938 #endif
88940 #undef $ac_func
88942 /* Override any gcc2 internal prototype to avoid an error. */
88943 #ifdef __cplusplus
88944 extern "C"
88946 #endif
88947 /* We use char because int might match the return type of a gcc2
88948 builtin and then its argument prototype would still apply. */
88949 char $ac_func ();
88950 /* The GNU C library defines this for functions which it implements
88951 to always fail with ENOSYS. Some functions are actually named
88952 something starting with __ and the normal name is an alias. */
88953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88954 choke me
88955 #else
88956 char (*f) () = $ac_func;
88957 #endif
88958 #ifdef __cplusplus
88960 #endif
88963 main ()
88965 return f != $ac_func;
88967 return 0;
88969 _ACEOF
88970 rm -f conftest.$ac_objext conftest$ac_exeext
88971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88972 (eval $ac_link) 2>conftest.er1
88973 ac_status=$?
88974 grep -v '^ *+' conftest.er1 >conftest.err
88975 rm -f conftest.er1
88976 cat conftest.err >&5
88977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88978 (exit $ac_status); } &&
88979 { ac_try='test -z "$ac_c_werror_flag"
88980 || test ! -s conftest.err'
88981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88982 (eval $ac_try) 2>&5
88983 ac_status=$?
88984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88985 (exit $ac_status); }; } &&
88986 { ac_try='test -s conftest$ac_exeext'
88987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88988 (eval $ac_try) 2>&5
88989 ac_status=$?
88990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88991 (exit $ac_status); }; }; then
88992 eval "$as_ac_var=yes"
88993 else
88994 echo "$as_me: failed program was:" >&5
88995 sed 's/^/| /' conftest.$ac_ext >&5
88997 eval "$as_ac_var=no"
88999 rm -f conftest.err conftest.$ac_objext \
89000 conftest$ac_exeext conftest.$ac_ext
89002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89004 if test `eval echo '${'$as_ac_var'}'` = yes; then
89005 cat >>confdefs.h <<_ACEOF
89006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89007 _ACEOF
89010 done
89020 echo "$as_me:$LINENO: checking for logf declaration" >&5
89021 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
89022 if test x${glibcxx_cv_func_logf_use+set} != xset; then
89023 if test "${glibcxx_cv_func_logf_use+set}" = set; then
89024 echo $ECHO_N "(cached) $ECHO_C" >&6
89025 else
89029 ac_ext=cc
89030 ac_cpp='$CXXCPP $CPPFLAGS'
89031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89035 cat >conftest.$ac_ext <<_ACEOF
89036 /* confdefs.h. */
89037 _ACEOF
89038 cat confdefs.h >>conftest.$ac_ext
89039 cat >>conftest.$ac_ext <<_ACEOF
89040 /* end confdefs.h. */
89041 #include <math.h>
89042 #ifdef HAVE_IEEEFP_H
89043 #include <ieeefp.h>
89044 #endif
89047 main ()
89049 logf(0);
89051 return 0;
89053 _ACEOF
89054 rm -f conftest.$ac_objext
89055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89056 (eval $ac_compile) 2>conftest.er1
89057 ac_status=$?
89058 grep -v '^ *+' conftest.er1 >conftest.err
89059 rm -f conftest.er1
89060 cat conftest.err >&5
89061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89062 (exit $ac_status); } &&
89063 { ac_try='test -z "$ac_cxx_werror_flag"
89064 || test ! -s conftest.err'
89065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89066 (eval $ac_try) 2>&5
89067 ac_status=$?
89068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89069 (exit $ac_status); }; } &&
89070 { ac_try='test -s conftest.$ac_objext'
89071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89072 (eval $ac_try) 2>&5
89073 ac_status=$?
89074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89075 (exit $ac_status); }; }; then
89076 glibcxx_cv_func_logf_use=yes
89077 else
89078 echo "$as_me: failed program was:" >&5
89079 sed 's/^/| /' conftest.$ac_ext >&5
89081 glibcxx_cv_func_logf_use=no
89083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89084 ac_ext=c
89085 ac_cpp='$CPP $CPPFLAGS'
89086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
89095 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
89097 if test x$glibcxx_cv_func_logf_use = x"yes"; then
89099 for ac_func in logf
89101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89102 echo "$as_me:$LINENO: checking for $ac_func" >&5
89103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89104 if eval "test \"\${$as_ac_var+set}\" = set"; then
89105 echo $ECHO_N "(cached) $ECHO_C" >&6
89106 else
89107 if test x$gcc_no_link = xyes; then
89108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89110 { (exit 1); exit 1; }; }
89112 cat >conftest.$ac_ext <<_ACEOF
89113 /* confdefs.h. */
89114 _ACEOF
89115 cat confdefs.h >>conftest.$ac_ext
89116 cat >>conftest.$ac_ext <<_ACEOF
89117 /* end confdefs.h. */
89118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89120 #define $ac_func innocuous_$ac_func
89122 /* System header to define __stub macros and hopefully few prototypes,
89123 which can conflict with char $ac_func (); below.
89124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89125 <limits.h> exists even on freestanding compilers. */
89127 #ifdef __STDC__
89128 # include <limits.h>
89129 #else
89130 # include <assert.h>
89131 #endif
89133 #undef $ac_func
89135 /* Override any gcc2 internal prototype to avoid an error. */
89136 #ifdef __cplusplus
89137 extern "C"
89139 #endif
89140 /* We use char because int might match the return type of a gcc2
89141 builtin and then its argument prototype would still apply. */
89142 char $ac_func ();
89143 /* The GNU C library defines this for functions which it implements
89144 to always fail with ENOSYS. Some functions are actually named
89145 something starting with __ and the normal name is an alias. */
89146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89147 choke me
89148 #else
89149 char (*f) () = $ac_func;
89150 #endif
89151 #ifdef __cplusplus
89153 #endif
89156 main ()
89158 return f != $ac_func;
89160 return 0;
89162 _ACEOF
89163 rm -f conftest.$ac_objext conftest$ac_exeext
89164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89165 (eval $ac_link) 2>conftest.er1
89166 ac_status=$?
89167 grep -v '^ *+' conftest.er1 >conftest.err
89168 rm -f conftest.er1
89169 cat conftest.err >&5
89170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89171 (exit $ac_status); } &&
89172 { ac_try='test -z "$ac_c_werror_flag"
89173 || test ! -s conftest.err'
89174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89175 (eval $ac_try) 2>&5
89176 ac_status=$?
89177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89178 (exit $ac_status); }; } &&
89179 { ac_try='test -s conftest$ac_exeext'
89180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89181 (eval $ac_try) 2>&5
89182 ac_status=$?
89183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89184 (exit $ac_status); }; }; then
89185 eval "$as_ac_var=yes"
89186 else
89187 echo "$as_me: failed program was:" >&5
89188 sed 's/^/| /' conftest.$ac_ext >&5
89190 eval "$as_ac_var=no"
89192 rm -f conftest.err conftest.$ac_objext \
89193 conftest$ac_exeext conftest.$ac_ext
89195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89197 if test `eval echo '${'$as_ac_var'}'` = yes; then
89198 cat >>confdefs.h <<_ACEOF
89199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89200 _ACEOF
89203 done
89205 else
89207 echo "$as_me:$LINENO: checking for _logf declaration" >&5
89208 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
89209 if test x${glibcxx_cv_func__logf_use+set} != xset; then
89210 if test "${glibcxx_cv_func__logf_use+set}" = set; then
89211 echo $ECHO_N "(cached) $ECHO_C" >&6
89212 else
89216 ac_ext=cc
89217 ac_cpp='$CXXCPP $CPPFLAGS'
89218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89222 cat >conftest.$ac_ext <<_ACEOF
89223 /* confdefs.h. */
89224 _ACEOF
89225 cat confdefs.h >>conftest.$ac_ext
89226 cat >>conftest.$ac_ext <<_ACEOF
89227 /* end confdefs.h. */
89228 #include <math.h>
89229 #ifdef HAVE_IEEEFP_H
89230 #include <ieeefp.h>
89231 #endif
89234 main ()
89236 _logf(0);
89238 return 0;
89240 _ACEOF
89241 rm -f conftest.$ac_objext
89242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89243 (eval $ac_compile) 2>conftest.er1
89244 ac_status=$?
89245 grep -v '^ *+' conftest.er1 >conftest.err
89246 rm -f conftest.er1
89247 cat conftest.err >&5
89248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89249 (exit $ac_status); } &&
89250 { ac_try='test -z "$ac_cxx_werror_flag"
89251 || test ! -s conftest.err'
89252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89253 (eval $ac_try) 2>&5
89254 ac_status=$?
89255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89256 (exit $ac_status); }; } &&
89257 { ac_try='test -s conftest.$ac_objext'
89258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89259 (eval $ac_try) 2>&5
89260 ac_status=$?
89261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89262 (exit $ac_status); }; }; then
89263 glibcxx_cv_func__logf_use=yes
89264 else
89265 echo "$as_me: failed program was:" >&5
89266 sed 's/^/| /' conftest.$ac_ext >&5
89268 glibcxx_cv_func__logf_use=no
89270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89271 ac_ext=c
89272 ac_cpp='$CPP $CPPFLAGS'
89273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
89282 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
89284 if test x$glibcxx_cv_func__logf_use = x"yes"; then
89286 for ac_func in _logf
89288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89289 echo "$as_me:$LINENO: checking for $ac_func" >&5
89290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89291 if eval "test \"\${$as_ac_var+set}\" = set"; then
89292 echo $ECHO_N "(cached) $ECHO_C" >&6
89293 else
89294 if test x$gcc_no_link = xyes; then
89295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89297 { (exit 1); exit 1; }; }
89299 cat >conftest.$ac_ext <<_ACEOF
89300 /* confdefs.h. */
89301 _ACEOF
89302 cat confdefs.h >>conftest.$ac_ext
89303 cat >>conftest.$ac_ext <<_ACEOF
89304 /* end confdefs.h. */
89305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89307 #define $ac_func innocuous_$ac_func
89309 /* System header to define __stub macros and hopefully few prototypes,
89310 which can conflict with char $ac_func (); below.
89311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89312 <limits.h> exists even on freestanding compilers. */
89314 #ifdef __STDC__
89315 # include <limits.h>
89316 #else
89317 # include <assert.h>
89318 #endif
89320 #undef $ac_func
89322 /* Override any gcc2 internal prototype to avoid an error. */
89323 #ifdef __cplusplus
89324 extern "C"
89326 #endif
89327 /* We use char because int might match the return type of a gcc2
89328 builtin and then its argument prototype would still apply. */
89329 char $ac_func ();
89330 /* The GNU C library defines this for functions which it implements
89331 to always fail with ENOSYS. Some functions are actually named
89332 something starting with __ and the normal name is an alias. */
89333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89334 choke me
89335 #else
89336 char (*f) () = $ac_func;
89337 #endif
89338 #ifdef __cplusplus
89340 #endif
89343 main ()
89345 return f != $ac_func;
89347 return 0;
89349 _ACEOF
89350 rm -f conftest.$ac_objext conftest$ac_exeext
89351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89352 (eval $ac_link) 2>conftest.er1
89353 ac_status=$?
89354 grep -v '^ *+' conftest.er1 >conftest.err
89355 rm -f conftest.er1
89356 cat conftest.err >&5
89357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89358 (exit $ac_status); } &&
89359 { ac_try='test -z "$ac_c_werror_flag"
89360 || test ! -s conftest.err'
89361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89362 (eval $ac_try) 2>&5
89363 ac_status=$?
89364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89365 (exit $ac_status); }; } &&
89366 { ac_try='test -s conftest$ac_exeext'
89367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89368 (eval $ac_try) 2>&5
89369 ac_status=$?
89370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89371 (exit $ac_status); }; }; then
89372 eval "$as_ac_var=yes"
89373 else
89374 echo "$as_me: failed program was:" >&5
89375 sed 's/^/| /' conftest.$ac_ext >&5
89377 eval "$as_ac_var=no"
89379 rm -f conftest.err conftest.$ac_objext \
89380 conftest$ac_exeext conftest.$ac_ext
89382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89384 if test `eval echo '${'$as_ac_var'}'` = yes; then
89385 cat >>confdefs.h <<_ACEOF
89386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89387 _ACEOF
89390 done
89400 echo "$as_me:$LINENO: checking for log10f declaration" >&5
89401 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
89402 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
89403 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
89404 echo $ECHO_N "(cached) $ECHO_C" >&6
89405 else
89409 ac_ext=cc
89410 ac_cpp='$CXXCPP $CPPFLAGS'
89411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89415 cat >conftest.$ac_ext <<_ACEOF
89416 /* confdefs.h. */
89417 _ACEOF
89418 cat confdefs.h >>conftest.$ac_ext
89419 cat >>conftest.$ac_ext <<_ACEOF
89420 /* end confdefs.h. */
89421 #include <math.h>
89422 #ifdef HAVE_IEEEFP_H
89423 #include <ieeefp.h>
89424 #endif
89427 main ()
89429 log10f(0);
89431 return 0;
89433 _ACEOF
89434 rm -f conftest.$ac_objext
89435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89436 (eval $ac_compile) 2>conftest.er1
89437 ac_status=$?
89438 grep -v '^ *+' conftest.er1 >conftest.err
89439 rm -f conftest.er1
89440 cat conftest.err >&5
89441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89442 (exit $ac_status); } &&
89443 { ac_try='test -z "$ac_cxx_werror_flag"
89444 || test ! -s conftest.err'
89445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89446 (eval $ac_try) 2>&5
89447 ac_status=$?
89448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89449 (exit $ac_status); }; } &&
89450 { ac_try='test -s conftest.$ac_objext'
89451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89452 (eval $ac_try) 2>&5
89453 ac_status=$?
89454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89455 (exit $ac_status); }; }; then
89456 glibcxx_cv_func_log10f_use=yes
89457 else
89458 echo "$as_me: failed program was:" >&5
89459 sed 's/^/| /' conftest.$ac_ext >&5
89461 glibcxx_cv_func_log10f_use=no
89463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89464 ac_ext=c
89465 ac_cpp='$CPP $CPPFLAGS'
89466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
89475 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
89477 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
89479 for ac_func in log10f
89481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89482 echo "$as_me:$LINENO: checking for $ac_func" >&5
89483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89484 if eval "test \"\${$as_ac_var+set}\" = set"; then
89485 echo $ECHO_N "(cached) $ECHO_C" >&6
89486 else
89487 if test x$gcc_no_link = xyes; then
89488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89490 { (exit 1); exit 1; }; }
89492 cat >conftest.$ac_ext <<_ACEOF
89493 /* confdefs.h. */
89494 _ACEOF
89495 cat confdefs.h >>conftest.$ac_ext
89496 cat >>conftest.$ac_ext <<_ACEOF
89497 /* end confdefs.h. */
89498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89500 #define $ac_func innocuous_$ac_func
89502 /* System header to define __stub macros and hopefully few prototypes,
89503 which can conflict with char $ac_func (); below.
89504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89505 <limits.h> exists even on freestanding compilers. */
89507 #ifdef __STDC__
89508 # include <limits.h>
89509 #else
89510 # include <assert.h>
89511 #endif
89513 #undef $ac_func
89515 /* Override any gcc2 internal prototype to avoid an error. */
89516 #ifdef __cplusplus
89517 extern "C"
89519 #endif
89520 /* We use char because int might match the return type of a gcc2
89521 builtin and then its argument prototype would still apply. */
89522 char $ac_func ();
89523 /* The GNU C library defines this for functions which it implements
89524 to always fail with ENOSYS. Some functions are actually named
89525 something starting with __ and the normal name is an alias. */
89526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89527 choke me
89528 #else
89529 char (*f) () = $ac_func;
89530 #endif
89531 #ifdef __cplusplus
89533 #endif
89536 main ()
89538 return f != $ac_func;
89540 return 0;
89542 _ACEOF
89543 rm -f conftest.$ac_objext conftest$ac_exeext
89544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89545 (eval $ac_link) 2>conftest.er1
89546 ac_status=$?
89547 grep -v '^ *+' conftest.er1 >conftest.err
89548 rm -f conftest.er1
89549 cat conftest.err >&5
89550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89551 (exit $ac_status); } &&
89552 { ac_try='test -z "$ac_c_werror_flag"
89553 || test ! -s conftest.err'
89554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89555 (eval $ac_try) 2>&5
89556 ac_status=$?
89557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89558 (exit $ac_status); }; } &&
89559 { ac_try='test -s conftest$ac_exeext'
89560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89561 (eval $ac_try) 2>&5
89562 ac_status=$?
89563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89564 (exit $ac_status); }; }; then
89565 eval "$as_ac_var=yes"
89566 else
89567 echo "$as_me: failed program was:" >&5
89568 sed 's/^/| /' conftest.$ac_ext >&5
89570 eval "$as_ac_var=no"
89572 rm -f conftest.err conftest.$ac_objext \
89573 conftest$ac_exeext conftest.$ac_ext
89575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89577 if test `eval echo '${'$as_ac_var'}'` = yes; then
89578 cat >>confdefs.h <<_ACEOF
89579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89580 _ACEOF
89583 done
89585 else
89587 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
89588 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
89589 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
89590 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
89591 echo $ECHO_N "(cached) $ECHO_C" >&6
89592 else
89596 ac_ext=cc
89597 ac_cpp='$CXXCPP $CPPFLAGS'
89598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89602 cat >conftest.$ac_ext <<_ACEOF
89603 /* confdefs.h. */
89604 _ACEOF
89605 cat confdefs.h >>conftest.$ac_ext
89606 cat >>conftest.$ac_ext <<_ACEOF
89607 /* end confdefs.h. */
89608 #include <math.h>
89609 #ifdef HAVE_IEEEFP_H
89610 #include <ieeefp.h>
89611 #endif
89614 main ()
89616 _log10f(0);
89618 return 0;
89620 _ACEOF
89621 rm -f conftest.$ac_objext
89622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89623 (eval $ac_compile) 2>conftest.er1
89624 ac_status=$?
89625 grep -v '^ *+' conftest.er1 >conftest.err
89626 rm -f conftest.er1
89627 cat conftest.err >&5
89628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89629 (exit $ac_status); } &&
89630 { ac_try='test -z "$ac_cxx_werror_flag"
89631 || test ! -s conftest.err'
89632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89633 (eval $ac_try) 2>&5
89634 ac_status=$?
89635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89636 (exit $ac_status); }; } &&
89637 { ac_try='test -s conftest.$ac_objext'
89638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89639 (eval $ac_try) 2>&5
89640 ac_status=$?
89641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89642 (exit $ac_status); }; }; then
89643 glibcxx_cv_func__log10f_use=yes
89644 else
89645 echo "$as_me: failed program was:" >&5
89646 sed 's/^/| /' conftest.$ac_ext >&5
89648 glibcxx_cv_func__log10f_use=no
89650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89651 ac_ext=c
89652 ac_cpp='$CPP $CPPFLAGS'
89653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
89662 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
89664 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
89666 for ac_func in _log10f
89668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89669 echo "$as_me:$LINENO: checking for $ac_func" >&5
89670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89671 if eval "test \"\${$as_ac_var+set}\" = set"; then
89672 echo $ECHO_N "(cached) $ECHO_C" >&6
89673 else
89674 if test x$gcc_no_link = xyes; then
89675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89677 { (exit 1); exit 1; }; }
89679 cat >conftest.$ac_ext <<_ACEOF
89680 /* confdefs.h. */
89681 _ACEOF
89682 cat confdefs.h >>conftest.$ac_ext
89683 cat >>conftest.$ac_ext <<_ACEOF
89684 /* end confdefs.h. */
89685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89687 #define $ac_func innocuous_$ac_func
89689 /* System header to define __stub macros and hopefully few prototypes,
89690 which can conflict with char $ac_func (); below.
89691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89692 <limits.h> exists even on freestanding compilers. */
89694 #ifdef __STDC__
89695 # include <limits.h>
89696 #else
89697 # include <assert.h>
89698 #endif
89700 #undef $ac_func
89702 /* Override any gcc2 internal prototype to avoid an error. */
89703 #ifdef __cplusplus
89704 extern "C"
89706 #endif
89707 /* We use char because int might match the return type of a gcc2
89708 builtin and then its argument prototype would still apply. */
89709 char $ac_func ();
89710 /* The GNU C library defines this for functions which it implements
89711 to always fail with ENOSYS. Some functions are actually named
89712 something starting with __ and the normal name is an alias. */
89713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89714 choke me
89715 #else
89716 char (*f) () = $ac_func;
89717 #endif
89718 #ifdef __cplusplus
89720 #endif
89723 main ()
89725 return f != $ac_func;
89727 return 0;
89729 _ACEOF
89730 rm -f conftest.$ac_objext conftest$ac_exeext
89731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89732 (eval $ac_link) 2>conftest.er1
89733 ac_status=$?
89734 grep -v '^ *+' conftest.er1 >conftest.err
89735 rm -f conftest.er1
89736 cat conftest.err >&5
89737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89738 (exit $ac_status); } &&
89739 { ac_try='test -z "$ac_c_werror_flag"
89740 || test ! -s conftest.err'
89741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89742 (eval $ac_try) 2>&5
89743 ac_status=$?
89744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89745 (exit $ac_status); }; } &&
89746 { ac_try='test -s conftest$ac_exeext'
89747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89748 (eval $ac_try) 2>&5
89749 ac_status=$?
89750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89751 (exit $ac_status); }; }; then
89752 eval "$as_ac_var=yes"
89753 else
89754 echo "$as_me: failed program was:" >&5
89755 sed 's/^/| /' conftest.$ac_ext >&5
89757 eval "$as_ac_var=no"
89759 rm -f conftest.err conftest.$ac_objext \
89760 conftest$ac_exeext conftest.$ac_ext
89762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89764 if test `eval echo '${'$as_ac_var'}'` = yes; then
89765 cat >>confdefs.h <<_ACEOF
89766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89767 _ACEOF
89770 done
89780 echo "$as_me:$LINENO: checking for modff declaration" >&5
89781 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
89782 if test x${glibcxx_cv_func_modff_use+set} != xset; then
89783 if test "${glibcxx_cv_func_modff_use+set}" = set; then
89784 echo $ECHO_N "(cached) $ECHO_C" >&6
89785 else
89789 ac_ext=cc
89790 ac_cpp='$CXXCPP $CPPFLAGS'
89791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
89803 main ()
89805 modff(0, 0);
89807 return 0;
89809 _ACEOF
89810 rm -f conftest.$ac_objext
89811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89812 (eval $ac_compile) 2>conftest.er1
89813 ac_status=$?
89814 grep -v '^ *+' conftest.er1 >conftest.err
89815 rm -f conftest.er1
89816 cat conftest.err >&5
89817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89818 (exit $ac_status); } &&
89819 { ac_try='test -z "$ac_cxx_werror_flag"
89820 || test ! -s conftest.err'
89821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89822 (eval $ac_try) 2>&5
89823 ac_status=$?
89824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89825 (exit $ac_status); }; } &&
89826 { ac_try='test -s conftest.$ac_objext'
89827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89828 (eval $ac_try) 2>&5
89829 ac_status=$?
89830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89831 (exit $ac_status); }; }; then
89832 glibcxx_cv_func_modff_use=yes
89833 else
89834 echo "$as_me: failed program was:" >&5
89835 sed 's/^/| /' conftest.$ac_ext >&5
89837 glibcxx_cv_func_modff_use=no
89839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89840 ac_ext=c
89841 ac_cpp='$CPP $CPPFLAGS'
89842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
89851 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
89853 if test x$glibcxx_cv_func_modff_use = x"yes"; then
89855 for ac_func in modff
89857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89858 echo "$as_me:$LINENO: checking for $ac_func" >&5
89859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89860 if eval "test \"\${$as_ac_var+set}\" = set"; then
89861 echo $ECHO_N "(cached) $ECHO_C" >&6
89862 else
89863 if test x$gcc_no_link = xyes; then
89864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89866 { (exit 1); exit 1; }; }
89868 cat >conftest.$ac_ext <<_ACEOF
89869 /* confdefs.h. */
89870 _ACEOF
89871 cat confdefs.h >>conftest.$ac_ext
89872 cat >>conftest.$ac_ext <<_ACEOF
89873 /* end confdefs.h. */
89874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89876 #define $ac_func innocuous_$ac_func
89878 /* System header to define __stub macros and hopefully few prototypes,
89879 which can conflict with char $ac_func (); below.
89880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89881 <limits.h> exists even on freestanding compilers. */
89883 #ifdef __STDC__
89884 # include <limits.h>
89885 #else
89886 # include <assert.h>
89887 #endif
89889 #undef $ac_func
89891 /* Override any gcc2 internal prototype to avoid an error. */
89892 #ifdef __cplusplus
89893 extern "C"
89895 #endif
89896 /* We use char because int might match the return type of a gcc2
89897 builtin and then its argument prototype would still apply. */
89898 char $ac_func ();
89899 /* The GNU C library defines this for functions which it implements
89900 to always fail with ENOSYS. Some functions are actually named
89901 something starting with __ and the normal name is an alias. */
89902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89903 choke me
89904 #else
89905 char (*f) () = $ac_func;
89906 #endif
89907 #ifdef __cplusplus
89909 #endif
89912 main ()
89914 return f != $ac_func;
89916 return 0;
89918 _ACEOF
89919 rm -f conftest.$ac_objext conftest$ac_exeext
89920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89921 (eval $ac_link) 2>conftest.er1
89922 ac_status=$?
89923 grep -v '^ *+' conftest.er1 >conftest.err
89924 rm -f conftest.er1
89925 cat conftest.err >&5
89926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89927 (exit $ac_status); } &&
89928 { ac_try='test -z "$ac_c_werror_flag"
89929 || test ! -s conftest.err'
89930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89931 (eval $ac_try) 2>&5
89932 ac_status=$?
89933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89934 (exit $ac_status); }; } &&
89935 { ac_try='test -s conftest$ac_exeext'
89936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89937 (eval $ac_try) 2>&5
89938 ac_status=$?
89939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89940 (exit $ac_status); }; }; then
89941 eval "$as_ac_var=yes"
89942 else
89943 echo "$as_me: failed program was:" >&5
89944 sed 's/^/| /' conftest.$ac_ext >&5
89946 eval "$as_ac_var=no"
89948 rm -f conftest.err conftest.$ac_objext \
89949 conftest$ac_exeext conftest.$ac_ext
89951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89953 if test `eval echo '${'$as_ac_var'}'` = yes; then
89954 cat >>confdefs.h <<_ACEOF
89955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89956 _ACEOF
89959 done
89961 else
89963 echo "$as_me:$LINENO: checking for _modff declaration" >&5
89964 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
89965 if test x${glibcxx_cv_func__modff_use+set} != xset; then
89966 if test "${glibcxx_cv_func__modff_use+set}" = set; then
89967 echo $ECHO_N "(cached) $ECHO_C" >&6
89968 else
89972 ac_ext=cc
89973 ac_cpp='$CXXCPP $CPPFLAGS'
89974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
89986 main ()
89988 _modff(0, 0);
89990 return 0;
89992 _ACEOF
89993 rm -f conftest.$ac_objext
89994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89995 (eval $ac_compile) 2>conftest.er1
89996 ac_status=$?
89997 grep -v '^ *+' conftest.er1 >conftest.err
89998 rm -f conftest.er1
89999 cat conftest.err >&5
90000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90001 (exit $ac_status); } &&
90002 { ac_try='test -z "$ac_cxx_werror_flag"
90003 || test ! -s conftest.err'
90004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90005 (eval $ac_try) 2>&5
90006 ac_status=$?
90007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90008 (exit $ac_status); }; } &&
90009 { ac_try='test -s conftest.$ac_objext'
90010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90011 (eval $ac_try) 2>&5
90012 ac_status=$?
90013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90014 (exit $ac_status); }; }; then
90015 glibcxx_cv_func__modff_use=yes
90016 else
90017 echo "$as_me: failed program was:" >&5
90018 sed 's/^/| /' conftest.$ac_ext >&5
90020 glibcxx_cv_func__modff_use=no
90022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90023 ac_ext=c
90024 ac_cpp='$CPP $CPPFLAGS'
90025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90033 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
90034 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
90036 if test x$glibcxx_cv_func__modff_use = x"yes"; then
90038 for ac_func in _modff
90040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90041 echo "$as_me:$LINENO: checking for $ac_func" >&5
90042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90043 if eval "test \"\${$as_ac_var+set}\" = set"; then
90044 echo $ECHO_N "(cached) $ECHO_C" >&6
90045 else
90046 if test x$gcc_no_link = xyes; then
90047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90049 { (exit 1); exit 1; }; }
90051 cat >conftest.$ac_ext <<_ACEOF
90052 /* confdefs.h. */
90053 _ACEOF
90054 cat confdefs.h >>conftest.$ac_ext
90055 cat >>conftest.$ac_ext <<_ACEOF
90056 /* end confdefs.h. */
90057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90059 #define $ac_func innocuous_$ac_func
90061 /* System header to define __stub macros and hopefully few prototypes,
90062 which can conflict with char $ac_func (); below.
90063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90064 <limits.h> exists even on freestanding compilers. */
90066 #ifdef __STDC__
90067 # include <limits.h>
90068 #else
90069 # include <assert.h>
90070 #endif
90072 #undef $ac_func
90074 /* Override any gcc2 internal prototype to avoid an error. */
90075 #ifdef __cplusplus
90076 extern "C"
90078 #endif
90079 /* We use char because int might match the return type of a gcc2
90080 builtin and then its argument prototype would still apply. */
90081 char $ac_func ();
90082 /* The GNU C library defines this for functions which it implements
90083 to always fail with ENOSYS. Some functions are actually named
90084 something starting with __ and the normal name is an alias. */
90085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90086 choke me
90087 #else
90088 char (*f) () = $ac_func;
90089 #endif
90090 #ifdef __cplusplus
90092 #endif
90095 main ()
90097 return f != $ac_func;
90099 return 0;
90101 _ACEOF
90102 rm -f conftest.$ac_objext conftest$ac_exeext
90103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90104 (eval $ac_link) 2>conftest.er1
90105 ac_status=$?
90106 grep -v '^ *+' conftest.er1 >conftest.err
90107 rm -f conftest.er1
90108 cat conftest.err >&5
90109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90110 (exit $ac_status); } &&
90111 { ac_try='test -z "$ac_c_werror_flag"
90112 || test ! -s conftest.err'
90113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90114 (eval $ac_try) 2>&5
90115 ac_status=$?
90116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90117 (exit $ac_status); }; } &&
90118 { ac_try='test -s conftest$ac_exeext'
90119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90120 (eval $ac_try) 2>&5
90121 ac_status=$?
90122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90123 (exit $ac_status); }; }; then
90124 eval "$as_ac_var=yes"
90125 else
90126 echo "$as_me: failed program was:" >&5
90127 sed 's/^/| /' conftest.$ac_ext >&5
90129 eval "$as_ac_var=no"
90131 rm -f conftest.err conftest.$ac_objext \
90132 conftest$ac_exeext conftest.$ac_ext
90134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90136 if test `eval echo '${'$as_ac_var'}'` = yes; then
90137 cat >>confdefs.h <<_ACEOF
90138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90139 _ACEOF
90142 done
90152 echo "$as_me:$LINENO: checking for modf declaration" >&5
90153 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
90154 if test x${glibcxx_cv_func_modf_use+set} != xset; then
90155 if test "${glibcxx_cv_func_modf_use+set}" = set; then
90156 echo $ECHO_N "(cached) $ECHO_C" >&6
90157 else
90161 ac_ext=cc
90162 ac_cpp='$CXXCPP $CPPFLAGS'
90163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
90175 main ()
90177 modf(0, 0);
90179 return 0;
90181 _ACEOF
90182 rm -f conftest.$ac_objext
90183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90184 (eval $ac_compile) 2>conftest.er1
90185 ac_status=$?
90186 grep -v '^ *+' conftest.er1 >conftest.err
90187 rm -f conftest.er1
90188 cat conftest.err >&5
90189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90190 (exit $ac_status); } &&
90191 { ac_try='test -z "$ac_cxx_werror_flag"
90192 || test ! -s conftest.err'
90193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90194 (eval $ac_try) 2>&5
90195 ac_status=$?
90196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90197 (exit $ac_status); }; } &&
90198 { ac_try='test -s conftest.$ac_objext'
90199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90200 (eval $ac_try) 2>&5
90201 ac_status=$?
90202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90203 (exit $ac_status); }; }; then
90204 glibcxx_cv_func_modf_use=yes
90205 else
90206 echo "$as_me: failed program was:" >&5
90207 sed 's/^/| /' conftest.$ac_ext >&5
90209 glibcxx_cv_func_modf_use=no
90211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90212 ac_ext=c
90213 ac_cpp='$CPP $CPPFLAGS'
90214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
90223 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
90225 if test x$glibcxx_cv_func_modf_use = x"yes"; then
90227 for ac_func in modf
90229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90230 echo "$as_me:$LINENO: checking for $ac_func" >&5
90231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90232 if eval "test \"\${$as_ac_var+set}\" = set"; then
90233 echo $ECHO_N "(cached) $ECHO_C" >&6
90234 else
90235 if test x$gcc_no_link = xyes; then
90236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90238 { (exit 1); exit 1; }; }
90240 cat >conftest.$ac_ext <<_ACEOF
90241 /* confdefs.h. */
90242 _ACEOF
90243 cat confdefs.h >>conftest.$ac_ext
90244 cat >>conftest.$ac_ext <<_ACEOF
90245 /* end confdefs.h. */
90246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90248 #define $ac_func innocuous_$ac_func
90250 /* System header to define __stub macros and hopefully few prototypes,
90251 which can conflict with char $ac_func (); below.
90252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90253 <limits.h> exists even on freestanding compilers. */
90255 #ifdef __STDC__
90256 # include <limits.h>
90257 #else
90258 # include <assert.h>
90259 #endif
90261 #undef $ac_func
90263 /* Override any gcc2 internal prototype to avoid an error. */
90264 #ifdef __cplusplus
90265 extern "C"
90267 #endif
90268 /* We use char because int might match the return type of a gcc2
90269 builtin and then its argument prototype would still apply. */
90270 char $ac_func ();
90271 /* The GNU C library defines this for functions which it implements
90272 to always fail with ENOSYS. Some functions are actually named
90273 something starting with __ and the normal name is an alias. */
90274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90275 choke me
90276 #else
90277 char (*f) () = $ac_func;
90278 #endif
90279 #ifdef __cplusplus
90281 #endif
90284 main ()
90286 return f != $ac_func;
90288 return 0;
90290 _ACEOF
90291 rm -f conftest.$ac_objext conftest$ac_exeext
90292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90293 (eval $ac_link) 2>conftest.er1
90294 ac_status=$?
90295 grep -v '^ *+' conftest.er1 >conftest.err
90296 rm -f conftest.er1
90297 cat conftest.err >&5
90298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90299 (exit $ac_status); } &&
90300 { ac_try='test -z "$ac_c_werror_flag"
90301 || test ! -s conftest.err'
90302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90303 (eval $ac_try) 2>&5
90304 ac_status=$?
90305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90306 (exit $ac_status); }; } &&
90307 { ac_try='test -s conftest$ac_exeext'
90308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90309 (eval $ac_try) 2>&5
90310 ac_status=$?
90311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90312 (exit $ac_status); }; }; then
90313 eval "$as_ac_var=yes"
90314 else
90315 echo "$as_me: failed program was:" >&5
90316 sed 's/^/| /' conftest.$ac_ext >&5
90318 eval "$as_ac_var=no"
90320 rm -f conftest.err conftest.$ac_objext \
90321 conftest$ac_exeext conftest.$ac_ext
90323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90325 if test `eval echo '${'$as_ac_var'}'` = yes; then
90326 cat >>confdefs.h <<_ACEOF
90327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90328 _ACEOF
90331 done
90333 else
90335 echo "$as_me:$LINENO: checking for _modf declaration" >&5
90336 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
90337 if test x${glibcxx_cv_func__modf_use+set} != xset; then
90338 if test "${glibcxx_cv_func__modf_use+set}" = set; then
90339 echo $ECHO_N "(cached) $ECHO_C" >&6
90340 else
90344 ac_ext=cc
90345 ac_cpp='$CXXCPP $CPPFLAGS'
90346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
90358 main ()
90360 _modf(0, 0);
90362 return 0;
90364 _ACEOF
90365 rm -f conftest.$ac_objext
90366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90367 (eval $ac_compile) 2>conftest.er1
90368 ac_status=$?
90369 grep -v '^ *+' conftest.er1 >conftest.err
90370 rm -f conftest.er1
90371 cat conftest.err >&5
90372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90373 (exit $ac_status); } &&
90374 { ac_try='test -z "$ac_cxx_werror_flag"
90375 || test ! -s conftest.err'
90376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90377 (eval $ac_try) 2>&5
90378 ac_status=$?
90379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90380 (exit $ac_status); }; } &&
90381 { ac_try='test -s conftest.$ac_objext'
90382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90383 (eval $ac_try) 2>&5
90384 ac_status=$?
90385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90386 (exit $ac_status); }; }; then
90387 glibcxx_cv_func__modf_use=yes
90388 else
90389 echo "$as_me: failed program was:" >&5
90390 sed 's/^/| /' conftest.$ac_ext >&5
90392 glibcxx_cv_func__modf_use=no
90394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90395 ac_ext=c
90396 ac_cpp='$CPP $CPPFLAGS'
90397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90405 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
90406 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
90408 if test x$glibcxx_cv_func__modf_use = x"yes"; then
90410 for ac_func in _modf
90412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90413 echo "$as_me:$LINENO: checking for $ac_func" >&5
90414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90415 if eval "test \"\${$as_ac_var+set}\" = set"; then
90416 echo $ECHO_N "(cached) $ECHO_C" >&6
90417 else
90418 if test x$gcc_no_link = xyes; then
90419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90421 { (exit 1); exit 1; }; }
90423 cat >conftest.$ac_ext <<_ACEOF
90424 /* confdefs.h. */
90425 _ACEOF
90426 cat confdefs.h >>conftest.$ac_ext
90427 cat >>conftest.$ac_ext <<_ACEOF
90428 /* end confdefs.h. */
90429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90431 #define $ac_func innocuous_$ac_func
90433 /* System header to define __stub macros and hopefully few prototypes,
90434 which can conflict with char $ac_func (); below.
90435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90436 <limits.h> exists even on freestanding compilers. */
90438 #ifdef __STDC__
90439 # include <limits.h>
90440 #else
90441 # include <assert.h>
90442 #endif
90444 #undef $ac_func
90446 /* Override any gcc2 internal prototype to avoid an error. */
90447 #ifdef __cplusplus
90448 extern "C"
90450 #endif
90451 /* We use char because int might match the return type of a gcc2
90452 builtin and then its argument prototype would still apply. */
90453 char $ac_func ();
90454 /* The GNU C library defines this for functions which it implements
90455 to always fail with ENOSYS. Some functions are actually named
90456 something starting with __ and the normal name is an alias. */
90457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90458 choke me
90459 #else
90460 char (*f) () = $ac_func;
90461 #endif
90462 #ifdef __cplusplus
90464 #endif
90467 main ()
90469 return f != $ac_func;
90471 return 0;
90473 _ACEOF
90474 rm -f conftest.$ac_objext conftest$ac_exeext
90475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90476 (eval $ac_link) 2>conftest.er1
90477 ac_status=$?
90478 grep -v '^ *+' conftest.er1 >conftest.err
90479 rm -f conftest.er1
90480 cat conftest.err >&5
90481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90482 (exit $ac_status); } &&
90483 { ac_try='test -z "$ac_c_werror_flag"
90484 || test ! -s conftest.err'
90485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90486 (eval $ac_try) 2>&5
90487 ac_status=$?
90488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90489 (exit $ac_status); }; } &&
90490 { ac_try='test -s conftest$ac_exeext'
90491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90492 (eval $ac_try) 2>&5
90493 ac_status=$?
90494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90495 (exit $ac_status); }; }; then
90496 eval "$as_ac_var=yes"
90497 else
90498 echo "$as_me: failed program was:" >&5
90499 sed 's/^/| /' conftest.$ac_ext >&5
90501 eval "$as_ac_var=no"
90503 rm -f conftest.err conftest.$ac_objext \
90504 conftest$ac_exeext conftest.$ac_ext
90506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90508 if test `eval echo '${'$as_ac_var'}'` = yes; then
90509 cat >>confdefs.h <<_ACEOF
90510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90511 _ACEOF
90514 done
90524 echo "$as_me:$LINENO: checking for powf declaration" >&5
90525 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
90526 if test x${glibcxx_cv_func_powf_use+set} != xset; then
90527 if test "${glibcxx_cv_func_powf_use+set}" = set; then
90528 echo $ECHO_N "(cached) $ECHO_C" >&6
90529 else
90533 ac_ext=cc
90534 ac_cpp='$CXXCPP $CPPFLAGS'
90535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
90547 main ()
90549 powf(0, 0);
90551 return 0;
90553 _ACEOF
90554 rm -f conftest.$ac_objext
90555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90556 (eval $ac_compile) 2>conftest.er1
90557 ac_status=$?
90558 grep -v '^ *+' conftest.er1 >conftest.err
90559 rm -f conftest.er1
90560 cat conftest.err >&5
90561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90562 (exit $ac_status); } &&
90563 { ac_try='test -z "$ac_cxx_werror_flag"
90564 || test ! -s conftest.err'
90565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90566 (eval $ac_try) 2>&5
90567 ac_status=$?
90568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90569 (exit $ac_status); }; } &&
90570 { ac_try='test -s conftest.$ac_objext'
90571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90572 (eval $ac_try) 2>&5
90573 ac_status=$?
90574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90575 (exit $ac_status); }; }; then
90576 glibcxx_cv_func_powf_use=yes
90577 else
90578 echo "$as_me: failed program was:" >&5
90579 sed 's/^/| /' conftest.$ac_ext >&5
90581 glibcxx_cv_func_powf_use=no
90583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90584 ac_ext=c
90585 ac_cpp='$CPP $CPPFLAGS'
90586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
90595 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
90597 if test x$glibcxx_cv_func_powf_use = x"yes"; then
90599 for ac_func in powf
90601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90602 echo "$as_me:$LINENO: checking for $ac_func" >&5
90603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90604 if eval "test \"\${$as_ac_var+set}\" = set"; then
90605 echo $ECHO_N "(cached) $ECHO_C" >&6
90606 else
90607 if test x$gcc_no_link = xyes; then
90608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90610 { (exit 1); exit 1; }; }
90612 cat >conftest.$ac_ext <<_ACEOF
90613 /* confdefs.h. */
90614 _ACEOF
90615 cat confdefs.h >>conftest.$ac_ext
90616 cat >>conftest.$ac_ext <<_ACEOF
90617 /* end confdefs.h. */
90618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90620 #define $ac_func innocuous_$ac_func
90622 /* System header to define __stub macros and hopefully few prototypes,
90623 which can conflict with char $ac_func (); below.
90624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90625 <limits.h> exists even on freestanding compilers. */
90627 #ifdef __STDC__
90628 # include <limits.h>
90629 #else
90630 # include <assert.h>
90631 #endif
90633 #undef $ac_func
90635 /* Override any gcc2 internal prototype to avoid an error. */
90636 #ifdef __cplusplus
90637 extern "C"
90639 #endif
90640 /* We use char because int might match the return type of a gcc2
90641 builtin and then its argument prototype would still apply. */
90642 char $ac_func ();
90643 /* The GNU C library defines this for functions which it implements
90644 to always fail with ENOSYS. Some functions are actually named
90645 something starting with __ and the normal name is an alias. */
90646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90647 choke me
90648 #else
90649 char (*f) () = $ac_func;
90650 #endif
90651 #ifdef __cplusplus
90653 #endif
90656 main ()
90658 return f != $ac_func;
90660 return 0;
90662 _ACEOF
90663 rm -f conftest.$ac_objext conftest$ac_exeext
90664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90665 (eval $ac_link) 2>conftest.er1
90666 ac_status=$?
90667 grep -v '^ *+' conftest.er1 >conftest.err
90668 rm -f conftest.er1
90669 cat conftest.err >&5
90670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90671 (exit $ac_status); } &&
90672 { ac_try='test -z "$ac_c_werror_flag"
90673 || test ! -s conftest.err'
90674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90675 (eval $ac_try) 2>&5
90676 ac_status=$?
90677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90678 (exit $ac_status); }; } &&
90679 { ac_try='test -s conftest$ac_exeext'
90680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90681 (eval $ac_try) 2>&5
90682 ac_status=$?
90683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90684 (exit $ac_status); }; }; then
90685 eval "$as_ac_var=yes"
90686 else
90687 echo "$as_me: failed program was:" >&5
90688 sed 's/^/| /' conftest.$ac_ext >&5
90690 eval "$as_ac_var=no"
90692 rm -f conftest.err conftest.$ac_objext \
90693 conftest$ac_exeext conftest.$ac_ext
90695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90697 if test `eval echo '${'$as_ac_var'}'` = yes; then
90698 cat >>confdefs.h <<_ACEOF
90699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90700 _ACEOF
90703 done
90705 else
90707 echo "$as_me:$LINENO: checking for _powf declaration" >&5
90708 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
90709 if test x${glibcxx_cv_func__powf_use+set} != xset; then
90710 if test "${glibcxx_cv_func__powf_use+set}" = set; then
90711 echo $ECHO_N "(cached) $ECHO_C" >&6
90712 else
90716 ac_ext=cc
90717 ac_cpp='$CXXCPP $CPPFLAGS'
90718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
90730 main ()
90732 _powf(0, 0);
90734 return 0;
90736 _ACEOF
90737 rm -f conftest.$ac_objext
90738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90739 (eval $ac_compile) 2>conftest.er1
90740 ac_status=$?
90741 grep -v '^ *+' conftest.er1 >conftest.err
90742 rm -f conftest.er1
90743 cat conftest.err >&5
90744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90745 (exit $ac_status); } &&
90746 { ac_try='test -z "$ac_cxx_werror_flag"
90747 || test ! -s conftest.err'
90748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90749 (eval $ac_try) 2>&5
90750 ac_status=$?
90751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90752 (exit $ac_status); }; } &&
90753 { ac_try='test -s conftest.$ac_objext'
90754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90755 (eval $ac_try) 2>&5
90756 ac_status=$?
90757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90758 (exit $ac_status); }; }; then
90759 glibcxx_cv_func__powf_use=yes
90760 else
90761 echo "$as_me: failed program was:" >&5
90762 sed 's/^/| /' conftest.$ac_ext >&5
90764 glibcxx_cv_func__powf_use=no
90766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90767 ac_ext=c
90768 ac_cpp='$CPP $CPPFLAGS'
90769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90777 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
90778 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
90780 if test x$glibcxx_cv_func__powf_use = x"yes"; then
90782 for ac_func in _powf
90784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90785 echo "$as_me:$LINENO: checking for $ac_func" >&5
90786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90787 if eval "test \"\${$as_ac_var+set}\" = set"; then
90788 echo $ECHO_N "(cached) $ECHO_C" >&6
90789 else
90790 if test x$gcc_no_link = xyes; then
90791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90793 { (exit 1); exit 1; }; }
90795 cat >conftest.$ac_ext <<_ACEOF
90796 /* confdefs.h. */
90797 _ACEOF
90798 cat confdefs.h >>conftest.$ac_ext
90799 cat >>conftest.$ac_ext <<_ACEOF
90800 /* end confdefs.h. */
90801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90803 #define $ac_func innocuous_$ac_func
90805 /* System header to define __stub macros and hopefully few prototypes,
90806 which can conflict with char $ac_func (); below.
90807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90808 <limits.h> exists even on freestanding compilers. */
90810 #ifdef __STDC__
90811 # include <limits.h>
90812 #else
90813 # include <assert.h>
90814 #endif
90816 #undef $ac_func
90818 /* Override any gcc2 internal prototype to avoid an error. */
90819 #ifdef __cplusplus
90820 extern "C"
90822 #endif
90823 /* We use char because int might match the return type of a gcc2
90824 builtin and then its argument prototype would still apply. */
90825 char $ac_func ();
90826 /* The GNU C library defines this for functions which it implements
90827 to always fail with ENOSYS. Some functions are actually named
90828 something starting with __ and the normal name is an alias. */
90829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90830 choke me
90831 #else
90832 char (*f) () = $ac_func;
90833 #endif
90834 #ifdef __cplusplus
90836 #endif
90839 main ()
90841 return f != $ac_func;
90843 return 0;
90845 _ACEOF
90846 rm -f conftest.$ac_objext conftest$ac_exeext
90847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90848 (eval $ac_link) 2>conftest.er1
90849 ac_status=$?
90850 grep -v '^ *+' conftest.er1 >conftest.err
90851 rm -f conftest.er1
90852 cat conftest.err >&5
90853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90854 (exit $ac_status); } &&
90855 { ac_try='test -z "$ac_c_werror_flag"
90856 || test ! -s conftest.err'
90857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90858 (eval $ac_try) 2>&5
90859 ac_status=$?
90860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90861 (exit $ac_status); }; } &&
90862 { ac_try='test -s conftest$ac_exeext'
90863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90864 (eval $ac_try) 2>&5
90865 ac_status=$?
90866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90867 (exit $ac_status); }; }; then
90868 eval "$as_ac_var=yes"
90869 else
90870 echo "$as_me: failed program was:" >&5
90871 sed 's/^/| /' conftest.$ac_ext >&5
90873 eval "$as_ac_var=no"
90875 rm -f conftest.err conftest.$ac_objext \
90876 conftest$ac_exeext conftest.$ac_ext
90878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90880 if test `eval echo '${'$as_ac_var'}'` = yes; then
90881 cat >>confdefs.h <<_ACEOF
90882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90883 _ACEOF
90886 done
90896 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
90897 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
90898 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
90899 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
90900 echo $ECHO_N "(cached) $ECHO_C" >&6
90901 else
90905 ac_ext=cc
90906 ac_cpp='$CXXCPP $CPPFLAGS'
90907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90911 cat >conftest.$ac_ext <<_ACEOF
90912 /* confdefs.h. */
90913 _ACEOF
90914 cat confdefs.h >>conftest.$ac_ext
90915 cat >>conftest.$ac_ext <<_ACEOF
90916 /* end confdefs.h. */
90917 #include <math.h>
90918 #ifdef HAVE_IEEEFP_H
90919 #include <ieeefp.h>
90920 #endif
90923 main ()
90925 sqrtf(0);
90927 return 0;
90929 _ACEOF
90930 rm -f conftest.$ac_objext
90931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90932 (eval $ac_compile) 2>conftest.er1
90933 ac_status=$?
90934 grep -v '^ *+' conftest.er1 >conftest.err
90935 rm -f conftest.er1
90936 cat conftest.err >&5
90937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90938 (exit $ac_status); } &&
90939 { ac_try='test -z "$ac_cxx_werror_flag"
90940 || test ! -s conftest.err'
90941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90942 (eval $ac_try) 2>&5
90943 ac_status=$?
90944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90945 (exit $ac_status); }; } &&
90946 { ac_try='test -s conftest.$ac_objext'
90947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90948 (eval $ac_try) 2>&5
90949 ac_status=$?
90950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90951 (exit $ac_status); }; }; then
90952 glibcxx_cv_func_sqrtf_use=yes
90953 else
90954 echo "$as_me: failed program was:" >&5
90955 sed 's/^/| /' conftest.$ac_ext >&5
90957 glibcxx_cv_func_sqrtf_use=no
90959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90960 ac_ext=c
90961 ac_cpp='$CPP $CPPFLAGS'
90962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
90971 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
90973 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
90975 for ac_func in sqrtf
90977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90978 echo "$as_me:$LINENO: checking for $ac_func" >&5
90979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90980 if eval "test \"\${$as_ac_var+set}\" = set"; then
90981 echo $ECHO_N "(cached) $ECHO_C" >&6
90982 else
90983 if test x$gcc_no_link = xyes; then
90984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90986 { (exit 1); exit 1; }; }
90988 cat >conftest.$ac_ext <<_ACEOF
90989 /* confdefs.h. */
90990 _ACEOF
90991 cat confdefs.h >>conftest.$ac_ext
90992 cat >>conftest.$ac_ext <<_ACEOF
90993 /* end confdefs.h. */
90994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90996 #define $ac_func innocuous_$ac_func
90998 /* System header to define __stub macros and hopefully few prototypes,
90999 which can conflict with char $ac_func (); below.
91000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91001 <limits.h> exists even on freestanding compilers. */
91003 #ifdef __STDC__
91004 # include <limits.h>
91005 #else
91006 # include <assert.h>
91007 #endif
91009 #undef $ac_func
91011 /* Override any gcc2 internal prototype to avoid an error. */
91012 #ifdef __cplusplus
91013 extern "C"
91015 #endif
91016 /* We use char because int might match the return type of a gcc2
91017 builtin and then its argument prototype would still apply. */
91018 char $ac_func ();
91019 /* The GNU C library defines this for functions which it implements
91020 to always fail with ENOSYS. Some functions are actually named
91021 something starting with __ and the normal name is an alias. */
91022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91023 choke me
91024 #else
91025 char (*f) () = $ac_func;
91026 #endif
91027 #ifdef __cplusplus
91029 #endif
91032 main ()
91034 return f != $ac_func;
91036 return 0;
91038 _ACEOF
91039 rm -f conftest.$ac_objext conftest$ac_exeext
91040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91041 (eval $ac_link) 2>conftest.er1
91042 ac_status=$?
91043 grep -v '^ *+' conftest.er1 >conftest.err
91044 rm -f conftest.er1
91045 cat conftest.err >&5
91046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91047 (exit $ac_status); } &&
91048 { ac_try='test -z "$ac_c_werror_flag"
91049 || test ! -s conftest.err'
91050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91051 (eval $ac_try) 2>&5
91052 ac_status=$?
91053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91054 (exit $ac_status); }; } &&
91055 { ac_try='test -s conftest$ac_exeext'
91056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91057 (eval $ac_try) 2>&5
91058 ac_status=$?
91059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91060 (exit $ac_status); }; }; then
91061 eval "$as_ac_var=yes"
91062 else
91063 echo "$as_me: failed program was:" >&5
91064 sed 's/^/| /' conftest.$ac_ext >&5
91066 eval "$as_ac_var=no"
91068 rm -f conftest.err conftest.$ac_objext \
91069 conftest$ac_exeext conftest.$ac_ext
91071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91073 if test `eval echo '${'$as_ac_var'}'` = yes; then
91074 cat >>confdefs.h <<_ACEOF
91075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91076 _ACEOF
91079 done
91081 else
91083 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
91084 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
91085 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
91086 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
91087 echo $ECHO_N "(cached) $ECHO_C" >&6
91088 else
91092 ac_ext=cc
91093 ac_cpp='$CXXCPP $CPPFLAGS'
91094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91098 cat >conftest.$ac_ext <<_ACEOF
91099 /* confdefs.h. */
91100 _ACEOF
91101 cat confdefs.h >>conftest.$ac_ext
91102 cat >>conftest.$ac_ext <<_ACEOF
91103 /* end confdefs.h. */
91104 #include <math.h>
91105 #ifdef HAVE_IEEEFP_H
91106 #include <ieeefp.h>
91107 #endif
91110 main ()
91112 _sqrtf(0);
91114 return 0;
91116 _ACEOF
91117 rm -f conftest.$ac_objext
91118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91119 (eval $ac_compile) 2>conftest.er1
91120 ac_status=$?
91121 grep -v '^ *+' conftest.er1 >conftest.err
91122 rm -f conftest.er1
91123 cat conftest.err >&5
91124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91125 (exit $ac_status); } &&
91126 { ac_try='test -z "$ac_cxx_werror_flag"
91127 || test ! -s conftest.err'
91128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91129 (eval $ac_try) 2>&5
91130 ac_status=$?
91131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91132 (exit $ac_status); }; } &&
91133 { ac_try='test -s conftest.$ac_objext'
91134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91135 (eval $ac_try) 2>&5
91136 ac_status=$?
91137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91138 (exit $ac_status); }; }; then
91139 glibcxx_cv_func__sqrtf_use=yes
91140 else
91141 echo "$as_me: failed program was:" >&5
91142 sed 's/^/| /' conftest.$ac_ext >&5
91144 glibcxx_cv_func__sqrtf_use=no
91146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91147 ac_ext=c
91148 ac_cpp='$CPP $CPPFLAGS'
91149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91157 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
91158 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
91160 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
91162 for ac_func in _sqrtf
91164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91165 echo "$as_me:$LINENO: checking for $ac_func" >&5
91166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91167 if eval "test \"\${$as_ac_var+set}\" = set"; then
91168 echo $ECHO_N "(cached) $ECHO_C" >&6
91169 else
91170 if test x$gcc_no_link = xyes; then
91171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91173 { (exit 1); exit 1; }; }
91175 cat >conftest.$ac_ext <<_ACEOF
91176 /* confdefs.h. */
91177 _ACEOF
91178 cat confdefs.h >>conftest.$ac_ext
91179 cat >>conftest.$ac_ext <<_ACEOF
91180 /* end confdefs.h. */
91181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91183 #define $ac_func innocuous_$ac_func
91185 /* System header to define __stub macros and hopefully few prototypes,
91186 which can conflict with char $ac_func (); below.
91187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91188 <limits.h> exists even on freestanding compilers. */
91190 #ifdef __STDC__
91191 # include <limits.h>
91192 #else
91193 # include <assert.h>
91194 #endif
91196 #undef $ac_func
91198 /* Override any gcc2 internal prototype to avoid an error. */
91199 #ifdef __cplusplus
91200 extern "C"
91202 #endif
91203 /* We use char because int might match the return type of a gcc2
91204 builtin and then its argument prototype would still apply. */
91205 char $ac_func ();
91206 /* The GNU C library defines this for functions which it implements
91207 to always fail with ENOSYS. Some functions are actually named
91208 something starting with __ and the normal name is an alias. */
91209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91210 choke me
91211 #else
91212 char (*f) () = $ac_func;
91213 #endif
91214 #ifdef __cplusplus
91216 #endif
91219 main ()
91221 return f != $ac_func;
91223 return 0;
91225 _ACEOF
91226 rm -f conftest.$ac_objext conftest$ac_exeext
91227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91228 (eval $ac_link) 2>conftest.er1
91229 ac_status=$?
91230 grep -v '^ *+' conftest.er1 >conftest.err
91231 rm -f conftest.er1
91232 cat conftest.err >&5
91233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91234 (exit $ac_status); } &&
91235 { ac_try='test -z "$ac_c_werror_flag"
91236 || test ! -s conftest.err'
91237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91238 (eval $ac_try) 2>&5
91239 ac_status=$?
91240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91241 (exit $ac_status); }; } &&
91242 { ac_try='test -s conftest$ac_exeext'
91243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91244 (eval $ac_try) 2>&5
91245 ac_status=$?
91246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91247 (exit $ac_status); }; }; then
91248 eval "$as_ac_var=yes"
91249 else
91250 echo "$as_me: failed program was:" >&5
91251 sed 's/^/| /' conftest.$ac_ext >&5
91253 eval "$as_ac_var=no"
91255 rm -f conftest.err conftest.$ac_objext \
91256 conftest$ac_exeext conftest.$ac_ext
91258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91260 if test `eval echo '${'$as_ac_var'}'` = yes; then
91261 cat >>confdefs.h <<_ACEOF
91262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91263 _ACEOF
91266 done
91276 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
91277 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
91278 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
91279 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
91280 echo $ECHO_N "(cached) $ECHO_C" >&6
91281 else
91285 ac_ext=cc
91286 ac_cpp='$CXXCPP $CPPFLAGS'
91287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
91299 main ()
91301 sincosf(0, 0, 0);
91303 return 0;
91305 _ACEOF
91306 rm -f conftest.$ac_objext
91307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91308 (eval $ac_compile) 2>conftest.er1
91309 ac_status=$?
91310 grep -v '^ *+' conftest.er1 >conftest.err
91311 rm -f conftest.er1
91312 cat conftest.err >&5
91313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91314 (exit $ac_status); } &&
91315 { ac_try='test -z "$ac_cxx_werror_flag"
91316 || test ! -s conftest.err'
91317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91318 (eval $ac_try) 2>&5
91319 ac_status=$?
91320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91321 (exit $ac_status); }; } &&
91322 { ac_try='test -s conftest.$ac_objext'
91323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91324 (eval $ac_try) 2>&5
91325 ac_status=$?
91326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91327 (exit $ac_status); }; }; then
91328 glibcxx_cv_func_sincosf_use=yes
91329 else
91330 echo "$as_me: failed program was:" >&5
91331 sed 's/^/| /' conftest.$ac_ext >&5
91333 glibcxx_cv_func_sincosf_use=no
91335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91336 ac_ext=c
91337 ac_cpp='$CPP $CPPFLAGS'
91338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
91347 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
91349 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
91351 for ac_func in sincosf
91353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91354 echo "$as_me:$LINENO: checking for $ac_func" >&5
91355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91356 if eval "test \"\${$as_ac_var+set}\" = set"; then
91357 echo $ECHO_N "(cached) $ECHO_C" >&6
91358 else
91359 if test x$gcc_no_link = xyes; then
91360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91362 { (exit 1); exit 1; }; }
91364 cat >conftest.$ac_ext <<_ACEOF
91365 /* confdefs.h. */
91366 _ACEOF
91367 cat confdefs.h >>conftest.$ac_ext
91368 cat >>conftest.$ac_ext <<_ACEOF
91369 /* end confdefs.h. */
91370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91372 #define $ac_func innocuous_$ac_func
91374 /* System header to define __stub macros and hopefully few prototypes,
91375 which can conflict with char $ac_func (); below.
91376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91377 <limits.h> exists even on freestanding compilers. */
91379 #ifdef __STDC__
91380 # include <limits.h>
91381 #else
91382 # include <assert.h>
91383 #endif
91385 #undef $ac_func
91387 /* Override any gcc2 internal prototype to avoid an error. */
91388 #ifdef __cplusplus
91389 extern "C"
91391 #endif
91392 /* We use char because int might match the return type of a gcc2
91393 builtin and then its argument prototype would still apply. */
91394 char $ac_func ();
91395 /* The GNU C library defines this for functions which it implements
91396 to always fail with ENOSYS. Some functions are actually named
91397 something starting with __ and the normal name is an alias. */
91398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91399 choke me
91400 #else
91401 char (*f) () = $ac_func;
91402 #endif
91403 #ifdef __cplusplus
91405 #endif
91408 main ()
91410 return f != $ac_func;
91412 return 0;
91414 _ACEOF
91415 rm -f conftest.$ac_objext conftest$ac_exeext
91416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91417 (eval $ac_link) 2>conftest.er1
91418 ac_status=$?
91419 grep -v '^ *+' conftest.er1 >conftest.err
91420 rm -f conftest.er1
91421 cat conftest.err >&5
91422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91423 (exit $ac_status); } &&
91424 { ac_try='test -z "$ac_c_werror_flag"
91425 || test ! -s conftest.err'
91426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91427 (eval $ac_try) 2>&5
91428 ac_status=$?
91429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91430 (exit $ac_status); }; } &&
91431 { ac_try='test -s conftest$ac_exeext'
91432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91433 (eval $ac_try) 2>&5
91434 ac_status=$?
91435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91436 (exit $ac_status); }; }; then
91437 eval "$as_ac_var=yes"
91438 else
91439 echo "$as_me: failed program was:" >&5
91440 sed 's/^/| /' conftest.$ac_ext >&5
91442 eval "$as_ac_var=no"
91444 rm -f conftest.err conftest.$ac_objext \
91445 conftest$ac_exeext conftest.$ac_ext
91447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91449 if test `eval echo '${'$as_ac_var'}'` = yes; then
91450 cat >>confdefs.h <<_ACEOF
91451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91452 _ACEOF
91455 done
91457 else
91459 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
91460 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
91461 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
91462 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
91463 echo $ECHO_N "(cached) $ECHO_C" >&6
91464 else
91468 ac_ext=cc
91469 ac_cpp='$CXXCPP $CPPFLAGS'
91470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
91482 main ()
91484 _sincosf(0, 0, 0);
91486 return 0;
91488 _ACEOF
91489 rm -f conftest.$ac_objext
91490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91491 (eval $ac_compile) 2>conftest.er1
91492 ac_status=$?
91493 grep -v '^ *+' conftest.er1 >conftest.err
91494 rm -f conftest.er1
91495 cat conftest.err >&5
91496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91497 (exit $ac_status); } &&
91498 { ac_try='test -z "$ac_cxx_werror_flag"
91499 || test ! -s conftest.err'
91500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91501 (eval $ac_try) 2>&5
91502 ac_status=$?
91503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91504 (exit $ac_status); }; } &&
91505 { ac_try='test -s conftest.$ac_objext'
91506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91507 (eval $ac_try) 2>&5
91508 ac_status=$?
91509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91510 (exit $ac_status); }; }; then
91511 glibcxx_cv_func__sincosf_use=yes
91512 else
91513 echo "$as_me: failed program was:" >&5
91514 sed 's/^/| /' conftest.$ac_ext >&5
91516 glibcxx_cv_func__sincosf_use=no
91518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91519 ac_ext=c
91520 ac_cpp='$CPP $CPPFLAGS'
91521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91529 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
91530 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
91532 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
91534 for ac_func in _sincosf
91536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91537 echo "$as_me:$LINENO: checking for $ac_func" >&5
91538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91539 if eval "test \"\${$as_ac_var+set}\" = set"; then
91540 echo $ECHO_N "(cached) $ECHO_C" >&6
91541 else
91542 if test x$gcc_no_link = xyes; then
91543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91545 { (exit 1); exit 1; }; }
91547 cat >conftest.$ac_ext <<_ACEOF
91548 /* confdefs.h. */
91549 _ACEOF
91550 cat confdefs.h >>conftest.$ac_ext
91551 cat >>conftest.$ac_ext <<_ACEOF
91552 /* end confdefs.h. */
91553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91555 #define $ac_func innocuous_$ac_func
91557 /* System header to define __stub macros and hopefully few prototypes,
91558 which can conflict with char $ac_func (); below.
91559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91560 <limits.h> exists even on freestanding compilers. */
91562 #ifdef __STDC__
91563 # include <limits.h>
91564 #else
91565 # include <assert.h>
91566 #endif
91568 #undef $ac_func
91570 /* Override any gcc2 internal prototype to avoid an error. */
91571 #ifdef __cplusplus
91572 extern "C"
91574 #endif
91575 /* We use char because int might match the return type of a gcc2
91576 builtin and then its argument prototype would still apply. */
91577 char $ac_func ();
91578 /* The GNU C library defines this for functions which it implements
91579 to always fail with ENOSYS. Some functions are actually named
91580 something starting with __ and the normal name is an alias. */
91581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91582 choke me
91583 #else
91584 char (*f) () = $ac_func;
91585 #endif
91586 #ifdef __cplusplus
91588 #endif
91591 main ()
91593 return f != $ac_func;
91595 return 0;
91597 _ACEOF
91598 rm -f conftest.$ac_objext conftest$ac_exeext
91599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91600 (eval $ac_link) 2>conftest.er1
91601 ac_status=$?
91602 grep -v '^ *+' conftest.er1 >conftest.err
91603 rm -f conftest.er1
91604 cat conftest.err >&5
91605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91606 (exit $ac_status); } &&
91607 { ac_try='test -z "$ac_c_werror_flag"
91608 || test ! -s conftest.err'
91609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91610 (eval $ac_try) 2>&5
91611 ac_status=$?
91612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91613 (exit $ac_status); }; } &&
91614 { ac_try='test -s conftest$ac_exeext'
91615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91616 (eval $ac_try) 2>&5
91617 ac_status=$?
91618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91619 (exit $ac_status); }; }; then
91620 eval "$as_ac_var=yes"
91621 else
91622 echo "$as_me: failed program was:" >&5
91623 sed 's/^/| /' conftest.$ac_ext >&5
91625 eval "$as_ac_var=no"
91627 rm -f conftest.err conftest.$ac_objext \
91628 conftest$ac_exeext conftest.$ac_ext
91630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91632 if test `eval echo '${'$as_ac_var'}'` = yes; then
91633 cat >>confdefs.h <<_ACEOF
91634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91635 _ACEOF
91638 done
91648 echo "$as_me:$LINENO: checking for finitef declaration" >&5
91649 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
91650 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
91651 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
91652 echo $ECHO_N "(cached) $ECHO_C" >&6
91653 else
91657 ac_ext=cc
91658 ac_cpp='$CXXCPP $CPPFLAGS'
91659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91663 cat >conftest.$ac_ext <<_ACEOF
91664 /* confdefs.h. */
91665 _ACEOF
91666 cat confdefs.h >>conftest.$ac_ext
91667 cat >>conftest.$ac_ext <<_ACEOF
91668 /* end confdefs.h. */
91669 #include <math.h>
91670 #ifdef HAVE_IEEEFP_H
91671 #include <ieeefp.h>
91672 #endif
91675 main ()
91677 finitef(0);
91679 return 0;
91681 _ACEOF
91682 rm -f conftest.$ac_objext
91683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91684 (eval $ac_compile) 2>conftest.er1
91685 ac_status=$?
91686 grep -v '^ *+' conftest.er1 >conftest.err
91687 rm -f conftest.er1
91688 cat conftest.err >&5
91689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91690 (exit $ac_status); } &&
91691 { ac_try='test -z "$ac_cxx_werror_flag"
91692 || test ! -s conftest.err'
91693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91694 (eval $ac_try) 2>&5
91695 ac_status=$?
91696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91697 (exit $ac_status); }; } &&
91698 { ac_try='test -s conftest.$ac_objext'
91699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91700 (eval $ac_try) 2>&5
91701 ac_status=$?
91702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703 (exit $ac_status); }; }; then
91704 glibcxx_cv_func_finitef_use=yes
91705 else
91706 echo "$as_me: failed program was:" >&5
91707 sed 's/^/| /' conftest.$ac_ext >&5
91709 glibcxx_cv_func_finitef_use=no
91711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91712 ac_ext=c
91713 ac_cpp='$CPP $CPPFLAGS'
91714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91722 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
91723 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
91725 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
91727 for ac_func in finitef
91729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91730 echo "$as_me:$LINENO: checking for $ac_func" >&5
91731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91732 if eval "test \"\${$as_ac_var+set}\" = set"; then
91733 echo $ECHO_N "(cached) $ECHO_C" >&6
91734 else
91735 if test x$gcc_no_link = xyes; then
91736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91738 { (exit 1); exit 1; }; }
91740 cat >conftest.$ac_ext <<_ACEOF
91741 /* confdefs.h. */
91742 _ACEOF
91743 cat confdefs.h >>conftest.$ac_ext
91744 cat >>conftest.$ac_ext <<_ACEOF
91745 /* end confdefs.h. */
91746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91748 #define $ac_func innocuous_$ac_func
91750 /* System header to define __stub macros and hopefully few prototypes,
91751 which can conflict with char $ac_func (); below.
91752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91753 <limits.h> exists even on freestanding compilers. */
91755 #ifdef __STDC__
91756 # include <limits.h>
91757 #else
91758 # include <assert.h>
91759 #endif
91761 #undef $ac_func
91763 /* Override any gcc2 internal prototype to avoid an error. */
91764 #ifdef __cplusplus
91765 extern "C"
91767 #endif
91768 /* We use char because int might match the return type of a gcc2
91769 builtin and then its argument prototype would still apply. */
91770 char $ac_func ();
91771 /* The GNU C library defines this for functions which it implements
91772 to always fail with ENOSYS. Some functions are actually named
91773 something starting with __ and the normal name is an alias. */
91774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91775 choke me
91776 #else
91777 char (*f) () = $ac_func;
91778 #endif
91779 #ifdef __cplusplus
91781 #endif
91784 main ()
91786 return f != $ac_func;
91788 return 0;
91790 _ACEOF
91791 rm -f conftest.$ac_objext conftest$ac_exeext
91792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91793 (eval $ac_link) 2>conftest.er1
91794 ac_status=$?
91795 grep -v '^ *+' conftest.er1 >conftest.err
91796 rm -f conftest.er1
91797 cat conftest.err >&5
91798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91799 (exit $ac_status); } &&
91800 { ac_try='test -z "$ac_c_werror_flag"
91801 || test ! -s conftest.err'
91802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91803 (eval $ac_try) 2>&5
91804 ac_status=$?
91805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91806 (exit $ac_status); }; } &&
91807 { ac_try='test -s conftest$ac_exeext'
91808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91809 (eval $ac_try) 2>&5
91810 ac_status=$?
91811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91812 (exit $ac_status); }; }; then
91813 eval "$as_ac_var=yes"
91814 else
91815 echo "$as_me: failed program was:" >&5
91816 sed 's/^/| /' conftest.$ac_ext >&5
91818 eval "$as_ac_var=no"
91820 rm -f conftest.err conftest.$ac_objext \
91821 conftest$ac_exeext conftest.$ac_ext
91823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91825 if test `eval echo '${'$as_ac_var'}'` = yes; then
91826 cat >>confdefs.h <<_ACEOF
91827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91828 _ACEOF
91831 done
91833 else
91835 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
91836 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
91837 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
91838 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
91839 echo $ECHO_N "(cached) $ECHO_C" >&6
91840 else
91844 ac_ext=cc
91845 ac_cpp='$CXXCPP $CPPFLAGS'
91846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91850 cat >conftest.$ac_ext <<_ACEOF
91851 /* confdefs.h. */
91852 _ACEOF
91853 cat confdefs.h >>conftest.$ac_ext
91854 cat >>conftest.$ac_ext <<_ACEOF
91855 /* end confdefs.h. */
91856 #include <math.h>
91857 #ifdef HAVE_IEEEFP_H
91858 #include <ieeefp.h>
91859 #endif
91862 main ()
91864 _finitef(0);
91866 return 0;
91868 _ACEOF
91869 rm -f conftest.$ac_objext
91870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91871 (eval $ac_compile) 2>conftest.er1
91872 ac_status=$?
91873 grep -v '^ *+' conftest.er1 >conftest.err
91874 rm -f conftest.er1
91875 cat conftest.err >&5
91876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91877 (exit $ac_status); } &&
91878 { ac_try='test -z "$ac_cxx_werror_flag"
91879 || test ! -s conftest.err'
91880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91881 (eval $ac_try) 2>&5
91882 ac_status=$?
91883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91884 (exit $ac_status); }; } &&
91885 { ac_try='test -s conftest.$ac_objext'
91886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91887 (eval $ac_try) 2>&5
91888 ac_status=$?
91889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91890 (exit $ac_status); }; }; then
91891 glibcxx_cv_func__finitef_use=yes
91892 else
91893 echo "$as_me: failed program was:" >&5
91894 sed 's/^/| /' conftest.$ac_ext >&5
91896 glibcxx_cv_func__finitef_use=no
91898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91899 ac_ext=c
91900 ac_cpp='$CPP $CPPFLAGS'
91901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91909 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
91910 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
91912 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
91914 for ac_func in _finitef
91916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91917 echo "$as_me:$LINENO: checking for $ac_func" >&5
91918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91919 if eval "test \"\${$as_ac_var+set}\" = set"; then
91920 echo $ECHO_N "(cached) $ECHO_C" >&6
91921 else
91922 if test x$gcc_no_link = xyes; then
91923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91925 { (exit 1); exit 1; }; }
91927 cat >conftest.$ac_ext <<_ACEOF
91928 /* confdefs.h. */
91929 _ACEOF
91930 cat confdefs.h >>conftest.$ac_ext
91931 cat >>conftest.$ac_ext <<_ACEOF
91932 /* end confdefs.h. */
91933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91935 #define $ac_func innocuous_$ac_func
91937 /* System header to define __stub macros and hopefully few prototypes,
91938 which can conflict with char $ac_func (); below.
91939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91940 <limits.h> exists even on freestanding compilers. */
91942 #ifdef __STDC__
91943 # include <limits.h>
91944 #else
91945 # include <assert.h>
91946 #endif
91948 #undef $ac_func
91950 /* Override any gcc2 internal prototype to avoid an error. */
91951 #ifdef __cplusplus
91952 extern "C"
91954 #endif
91955 /* We use char because int might match the return type of a gcc2
91956 builtin and then its argument prototype would still apply. */
91957 char $ac_func ();
91958 /* The GNU C library defines this for functions which it implements
91959 to always fail with ENOSYS. Some functions are actually named
91960 something starting with __ and the normal name is an alias. */
91961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91962 choke me
91963 #else
91964 char (*f) () = $ac_func;
91965 #endif
91966 #ifdef __cplusplus
91968 #endif
91971 main ()
91973 return f != $ac_func;
91975 return 0;
91977 _ACEOF
91978 rm -f conftest.$ac_objext conftest$ac_exeext
91979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91980 (eval $ac_link) 2>conftest.er1
91981 ac_status=$?
91982 grep -v '^ *+' conftest.er1 >conftest.err
91983 rm -f conftest.er1
91984 cat conftest.err >&5
91985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91986 (exit $ac_status); } &&
91987 { ac_try='test -z "$ac_c_werror_flag"
91988 || test ! -s conftest.err'
91989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91990 (eval $ac_try) 2>&5
91991 ac_status=$?
91992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91993 (exit $ac_status); }; } &&
91994 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
92000 eval "$as_ac_var=yes"
92001 else
92002 echo "$as_me: failed program was:" >&5
92003 sed 's/^/| /' conftest.$ac_ext >&5
92005 eval "$as_ac_var=no"
92007 rm -f conftest.err conftest.$ac_objext \
92008 conftest$ac_exeext conftest.$ac_ext
92010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92012 if test `eval echo '${'$as_ac_var'}'` = yes; then
92013 cat >>confdefs.h <<_ACEOF
92014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92015 _ACEOF
92018 done
92028 echo "$as_me:$LINENO: checking for long double trig functions" >&5
92029 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
92030 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
92031 echo $ECHO_N "(cached) $ECHO_C" >&6
92032 else
92036 ac_ext=cc
92037 ac_cpp='$CXXCPP $CPPFLAGS'
92038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92042 cat >conftest.$ac_ext <<_ACEOF
92043 /* confdefs.h. */
92044 _ACEOF
92045 cat confdefs.h >>conftest.$ac_ext
92046 cat >>conftest.$ac_ext <<_ACEOF
92047 /* end confdefs.h. */
92048 #include <math.h>
92050 main ()
92052 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
92054 return 0;
92056 _ACEOF
92057 rm -f conftest.$ac_objext
92058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92059 (eval $ac_compile) 2>conftest.er1
92060 ac_status=$?
92061 grep -v '^ *+' conftest.er1 >conftest.err
92062 rm -f conftest.er1
92063 cat conftest.err >&5
92064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92065 (exit $ac_status); } &&
92066 { ac_try='test -z "$ac_cxx_werror_flag"
92067 || test ! -s conftest.err'
92068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92069 (eval $ac_try) 2>&5
92070 ac_status=$?
92071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92072 (exit $ac_status); }; } &&
92073 { ac_try='test -s conftest.$ac_objext'
92074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92075 (eval $ac_try) 2>&5
92076 ac_status=$?
92077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92078 (exit $ac_status); }; }; then
92079 glibcxx_cv_func_long_double_trig_use=yes
92080 else
92081 echo "$as_me: failed program was:" >&5
92082 sed 's/^/| /' conftest.$ac_ext >&5
92084 glibcxx_cv_func_long_double_trig_use=no
92086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92087 ac_ext=c
92088 ac_cpp='$CPP $CPPFLAGS'
92089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
92096 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
92097 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
92107 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
92109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92110 echo "$as_me:$LINENO: checking for $ac_func" >&5
92111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92112 if eval "test \"\${$as_ac_var+set}\" = set"; then
92113 echo $ECHO_N "(cached) $ECHO_C" >&6
92114 else
92115 if test x$gcc_no_link = xyes; then
92116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92118 { (exit 1); exit 1; }; }
92120 cat >conftest.$ac_ext <<_ACEOF
92121 /* confdefs.h. */
92122 _ACEOF
92123 cat confdefs.h >>conftest.$ac_ext
92124 cat >>conftest.$ac_ext <<_ACEOF
92125 /* end confdefs.h. */
92126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92128 #define $ac_func innocuous_$ac_func
92130 /* System header to define __stub macros and hopefully few prototypes,
92131 which can conflict with char $ac_func (); below.
92132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92133 <limits.h> exists even on freestanding compilers. */
92135 #ifdef __STDC__
92136 # include <limits.h>
92137 #else
92138 # include <assert.h>
92139 #endif
92141 #undef $ac_func
92143 /* Override any gcc2 internal prototype to avoid an error. */
92144 #ifdef __cplusplus
92145 extern "C"
92147 #endif
92148 /* We use char because int might match the return type of a gcc2
92149 builtin and then its argument prototype would still apply. */
92150 char $ac_func ();
92151 /* The GNU C library defines this for functions which it implements
92152 to always fail with ENOSYS. Some functions are actually named
92153 something starting with __ and the normal name is an alias. */
92154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92155 choke me
92156 #else
92157 char (*f) () = $ac_func;
92158 #endif
92159 #ifdef __cplusplus
92161 #endif
92164 main ()
92166 return f != $ac_func;
92168 return 0;
92170 _ACEOF
92171 rm -f conftest.$ac_objext conftest$ac_exeext
92172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92173 (eval $ac_link) 2>conftest.er1
92174 ac_status=$?
92175 grep -v '^ *+' conftest.er1 >conftest.err
92176 rm -f conftest.er1
92177 cat conftest.err >&5
92178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92179 (exit $ac_status); } &&
92180 { ac_try='test -z "$ac_c_werror_flag"
92181 || test ! -s conftest.err'
92182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92183 (eval $ac_try) 2>&5
92184 ac_status=$?
92185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92186 (exit $ac_status); }; } &&
92187 { ac_try='test -s conftest$ac_exeext'
92188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92189 (eval $ac_try) 2>&5
92190 ac_status=$?
92191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92192 (exit $ac_status); }; }; then
92193 eval "$as_ac_var=yes"
92194 else
92195 echo "$as_me: failed program was:" >&5
92196 sed 's/^/| /' conftest.$ac_ext >&5
92198 eval "$as_ac_var=no"
92200 rm -f conftest.err conftest.$ac_objext \
92201 conftest$ac_exeext conftest.$ac_ext
92203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92205 if test `eval echo '${'$as_ac_var'}'` = yes; then
92206 cat >>confdefs.h <<_ACEOF
92207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92208 _ACEOF
92211 done
92213 else
92214 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
92215 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
92216 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
92217 echo $ECHO_N "(cached) $ECHO_C" >&6
92218 else
92222 ac_ext=cc
92223 ac_cpp='$CXXCPP $CPPFLAGS'
92224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92228 cat >conftest.$ac_ext <<_ACEOF
92229 /* confdefs.h. */
92230 _ACEOF
92231 cat confdefs.h >>conftest.$ac_ext
92232 cat >>conftest.$ac_ext <<_ACEOF
92233 /* end confdefs.h. */
92234 #include <math.h>
92236 main ()
92238 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
92240 return 0;
92242 _ACEOF
92243 rm -f conftest.$ac_objext
92244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92245 (eval $ac_compile) 2>conftest.er1
92246 ac_status=$?
92247 grep -v '^ *+' conftest.er1 >conftest.err
92248 rm -f conftest.er1
92249 cat conftest.err >&5
92250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92251 (exit $ac_status); } &&
92252 { ac_try='test -z "$ac_cxx_werror_flag"
92253 || test ! -s conftest.err'
92254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92255 (eval $ac_try) 2>&5
92256 ac_status=$?
92257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92258 (exit $ac_status); }; } &&
92259 { ac_try='test -s conftest.$ac_objext'
92260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92261 (eval $ac_try) 2>&5
92262 ac_status=$?
92263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92264 (exit $ac_status); }; }; then
92265 glibcxx_cv_func__long_double_trig_use=yes
92266 else
92267 echo "$as_me: failed program was:" >&5
92268 sed 's/^/| /' conftest.$ac_ext >&5
92270 glibcxx_cv_func__long_double_trig_use=no
92272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92273 ac_ext=c
92274 ac_cpp='$CPP $CPPFLAGS'
92275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
92282 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
92283 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
92293 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
92295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92296 echo "$as_me:$LINENO: checking for $ac_func" >&5
92297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92298 if eval "test \"\${$as_ac_var+set}\" = set"; then
92299 echo $ECHO_N "(cached) $ECHO_C" >&6
92300 else
92301 if test x$gcc_no_link = xyes; then
92302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92304 { (exit 1); exit 1; }; }
92306 cat >conftest.$ac_ext <<_ACEOF
92307 /* confdefs.h. */
92308 _ACEOF
92309 cat confdefs.h >>conftest.$ac_ext
92310 cat >>conftest.$ac_ext <<_ACEOF
92311 /* end confdefs.h. */
92312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92314 #define $ac_func innocuous_$ac_func
92316 /* System header to define __stub macros and hopefully few prototypes,
92317 which can conflict with char $ac_func (); below.
92318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92319 <limits.h> exists even on freestanding compilers. */
92321 #ifdef __STDC__
92322 # include <limits.h>
92323 #else
92324 # include <assert.h>
92325 #endif
92327 #undef $ac_func
92329 /* Override any gcc2 internal prototype to avoid an error. */
92330 #ifdef __cplusplus
92331 extern "C"
92333 #endif
92334 /* We use char because int might match the return type of a gcc2
92335 builtin and then its argument prototype would still apply. */
92336 char $ac_func ();
92337 /* The GNU C library defines this for functions which it implements
92338 to always fail with ENOSYS. Some functions are actually named
92339 something starting with __ and the normal name is an alias. */
92340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92341 choke me
92342 #else
92343 char (*f) () = $ac_func;
92344 #endif
92345 #ifdef __cplusplus
92347 #endif
92350 main ()
92352 return f != $ac_func;
92354 return 0;
92356 _ACEOF
92357 rm -f conftest.$ac_objext conftest$ac_exeext
92358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92359 (eval $ac_link) 2>conftest.er1
92360 ac_status=$?
92361 grep -v '^ *+' conftest.er1 >conftest.err
92362 rm -f conftest.er1
92363 cat conftest.err >&5
92364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92365 (exit $ac_status); } &&
92366 { ac_try='test -z "$ac_c_werror_flag"
92367 || test ! -s conftest.err'
92368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92369 (eval $ac_try) 2>&5
92370 ac_status=$?
92371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92372 (exit $ac_status); }; } &&
92373 { ac_try='test -s conftest$ac_exeext'
92374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92375 (eval $ac_try) 2>&5
92376 ac_status=$?
92377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92378 (exit $ac_status); }; }; then
92379 eval "$as_ac_var=yes"
92380 else
92381 echo "$as_me: failed program was:" >&5
92382 sed 's/^/| /' conftest.$ac_ext >&5
92384 eval "$as_ac_var=no"
92386 rm -f conftest.err conftest.$ac_objext \
92387 conftest$ac_exeext conftest.$ac_ext
92389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92391 if test `eval echo '${'$as_ac_var'}'` = yes; then
92392 cat >>confdefs.h <<_ACEOF
92393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92394 _ACEOF
92397 done
92415 echo "$as_me:$LINENO: checking for long double round functions" >&5
92416 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
92417 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
92418 echo $ECHO_N "(cached) $ECHO_C" >&6
92419 else
92423 ac_ext=cc
92424 ac_cpp='$CXXCPP $CPPFLAGS'
92425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92429 cat >conftest.$ac_ext <<_ACEOF
92430 /* confdefs.h. */
92431 _ACEOF
92432 cat confdefs.h >>conftest.$ac_ext
92433 cat >>conftest.$ac_ext <<_ACEOF
92434 /* end confdefs.h. */
92435 #include <math.h>
92437 main ()
92439 ceill (0); floorl (0);
92441 return 0;
92443 _ACEOF
92444 rm -f conftest.$ac_objext
92445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92446 (eval $ac_compile) 2>conftest.er1
92447 ac_status=$?
92448 grep -v '^ *+' conftest.er1 >conftest.err
92449 rm -f conftest.er1
92450 cat conftest.err >&5
92451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92452 (exit $ac_status); } &&
92453 { ac_try='test -z "$ac_cxx_werror_flag"
92454 || test ! -s conftest.err'
92455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92456 (eval $ac_try) 2>&5
92457 ac_status=$?
92458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92459 (exit $ac_status); }; } &&
92460 { ac_try='test -s conftest.$ac_objext'
92461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92462 (eval $ac_try) 2>&5
92463 ac_status=$?
92464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92465 (exit $ac_status); }; }; then
92466 glibcxx_cv_func_long_double_round_use=yes
92467 else
92468 echo "$as_me: failed program was:" >&5
92469 sed 's/^/| /' conftest.$ac_ext >&5
92471 glibcxx_cv_func_long_double_round_use=no
92473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92474 ac_ext=c
92475 ac_cpp='$CPP $CPPFLAGS'
92476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
92483 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
92484 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
92487 for ac_func in ceill floorl
92489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92490 echo "$as_me:$LINENO: checking for $ac_func" >&5
92491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92492 if eval "test \"\${$as_ac_var+set}\" = set"; then
92493 echo $ECHO_N "(cached) $ECHO_C" >&6
92494 else
92495 if test x$gcc_no_link = xyes; then
92496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92498 { (exit 1); exit 1; }; }
92500 cat >conftest.$ac_ext <<_ACEOF
92501 /* confdefs.h. */
92502 _ACEOF
92503 cat confdefs.h >>conftest.$ac_ext
92504 cat >>conftest.$ac_ext <<_ACEOF
92505 /* end confdefs.h. */
92506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92508 #define $ac_func innocuous_$ac_func
92510 /* System header to define __stub macros and hopefully few prototypes,
92511 which can conflict with char $ac_func (); below.
92512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92513 <limits.h> exists even on freestanding compilers. */
92515 #ifdef __STDC__
92516 # include <limits.h>
92517 #else
92518 # include <assert.h>
92519 #endif
92521 #undef $ac_func
92523 /* Override any gcc2 internal prototype to avoid an error. */
92524 #ifdef __cplusplus
92525 extern "C"
92527 #endif
92528 /* We use char because int might match the return type of a gcc2
92529 builtin and then its argument prototype would still apply. */
92530 char $ac_func ();
92531 /* The GNU C library defines this for functions which it implements
92532 to always fail with ENOSYS. Some functions are actually named
92533 something starting with __ and the normal name is an alias. */
92534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92535 choke me
92536 #else
92537 char (*f) () = $ac_func;
92538 #endif
92539 #ifdef __cplusplus
92541 #endif
92544 main ()
92546 return f != $ac_func;
92548 return 0;
92550 _ACEOF
92551 rm -f conftest.$ac_objext conftest$ac_exeext
92552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92553 (eval $ac_link) 2>conftest.er1
92554 ac_status=$?
92555 grep -v '^ *+' conftest.er1 >conftest.err
92556 rm -f conftest.er1
92557 cat conftest.err >&5
92558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92559 (exit $ac_status); } &&
92560 { ac_try='test -z "$ac_c_werror_flag"
92561 || test ! -s conftest.err'
92562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92563 (eval $ac_try) 2>&5
92564 ac_status=$?
92565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92566 (exit $ac_status); }; } &&
92567 { ac_try='test -s conftest$ac_exeext'
92568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92569 (eval $ac_try) 2>&5
92570 ac_status=$?
92571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92572 (exit $ac_status); }; }; then
92573 eval "$as_ac_var=yes"
92574 else
92575 echo "$as_me: failed program was:" >&5
92576 sed 's/^/| /' conftest.$ac_ext >&5
92578 eval "$as_ac_var=no"
92580 rm -f conftest.err conftest.$ac_objext \
92581 conftest$ac_exeext conftest.$ac_ext
92583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92585 if test `eval echo '${'$as_ac_var'}'` = yes; then
92586 cat >>confdefs.h <<_ACEOF
92587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92588 _ACEOF
92591 done
92593 else
92594 echo "$as_me:$LINENO: checking for _long double round functions" >&5
92595 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
92596 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
92597 echo $ECHO_N "(cached) $ECHO_C" >&6
92598 else
92602 ac_ext=cc
92603 ac_cpp='$CXXCPP $CPPFLAGS'
92604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92608 cat >conftest.$ac_ext <<_ACEOF
92609 /* confdefs.h. */
92610 _ACEOF
92611 cat confdefs.h >>conftest.$ac_ext
92612 cat >>conftest.$ac_ext <<_ACEOF
92613 /* end confdefs.h. */
92614 #include <math.h>
92616 main ()
92618 _ceill (0); _floorl (0);
92620 return 0;
92622 _ACEOF
92623 rm -f conftest.$ac_objext
92624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92625 (eval $ac_compile) 2>conftest.er1
92626 ac_status=$?
92627 grep -v '^ *+' conftest.er1 >conftest.err
92628 rm -f conftest.er1
92629 cat conftest.err >&5
92630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92631 (exit $ac_status); } &&
92632 { ac_try='test -z "$ac_cxx_werror_flag"
92633 || test ! -s conftest.err'
92634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92635 (eval $ac_try) 2>&5
92636 ac_status=$?
92637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92638 (exit $ac_status); }; } &&
92639 { ac_try='test -s conftest.$ac_objext'
92640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92641 (eval $ac_try) 2>&5
92642 ac_status=$?
92643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92644 (exit $ac_status); }; }; then
92645 glibcxx_cv_func__long_double_round_use=yes
92646 else
92647 echo "$as_me: failed program was:" >&5
92648 sed 's/^/| /' conftest.$ac_ext >&5
92650 glibcxx_cv_func__long_double_round_use=no
92652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92653 ac_ext=c
92654 ac_cpp='$CPP $CPPFLAGS'
92655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
92662 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
92663 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
92666 for ac_func in _ceill _floorl
92668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92669 echo "$as_me:$LINENO: checking for $ac_func" >&5
92670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92671 if eval "test \"\${$as_ac_var+set}\" = set"; then
92672 echo $ECHO_N "(cached) $ECHO_C" >&6
92673 else
92674 if test x$gcc_no_link = xyes; then
92675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92677 { (exit 1); exit 1; }; }
92679 cat >conftest.$ac_ext <<_ACEOF
92680 /* confdefs.h. */
92681 _ACEOF
92682 cat confdefs.h >>conftest.$ac_ext
92683 cat >>conftest.$ac_ext <<_ACEOF
92684 /* end confdefs.h. */
92685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92687 #define $ac_func innocuous_$ac_func
92689 /* System header to define __stub macros and hopefully few prototypes,
92690 which can conflict with char $ac_func (); below.
92691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92692 <limits.h> exists even on freestanding compilers. */
92694 #ifdef __STDC__
92695 # include <limits.h>
92696 #else
92697 # include <assert.h>
92698 #endif
92700 #undef $ac_func
92702 /* Override any gcc2 internal prototype to avoid an error. */
92703 #ifdef __cplusplus
92704 extern "C"
92706 #endif
92707 /* We use char because int might match the return type of a gcc2
92708 builtin and then its argument prototype would still apply. */
92709 char $ac_func ();
92710 /* The GNU C library defines this for functions which it implements
92711 to always fail with ENOSYS. Some functions are actually named
92712 something starting with __ and the normal name is an alias. */
92713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92714 choke me
92715 #else
92716 char (*f) () = $ac_func;
92717 #endif
92718 #ifdef __cplusplus
92720 #endif
92723 main ()
92725 return f != $ac_func;
92727 return 0;
92729 _ACEOF
92730 rm -f conftest.$ac_objext conftest$ac_exeext
92731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92732 (eval $ac_link) 2>conftest.er1
92733 ac_status=$?
92734 grep -v '^ *+' conftest.er1 >conftest.err
92735 rm -f conftest.er1
92736 cat conftest.err >&5
92737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92738 (exit $ac_status); } &&
92739 { ac_try='test -z "$ac_c_werror_flag"
92740 || test ! -s conftest.err'
92741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92742 (eval $ac_try) 2>&5
92743 ac_status=$?
92744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92745 (exit $ac_status); }; } &&
92746 { ac_try='test -s conftest$ac_exeext'
92747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92748 (eval $ac_try) 2>&5
92749 ac_status=$?
92750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92751 (exit $ac_status); }; }; then
92752 eval "$as_ac_var=yes"
92753 else
92754 echo "$as_me: failed program was:" >&5
92755 sed 's/^/| /' conftest.$ac_ext >&5
92757 eval "$as_ac_var=no"
92759 rm -f conftest.err conftest.$ac_objext \
92760 conftest$ac_exeext conftest.$ac_ext
92762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92764 if test `eval echo '${'$as_ac_var'}'` = yes; then
92765 cat >>confdefs.h <<_ACEOF
92766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92767 _ACEOF
92770 done
92782 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
92783 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
92784 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
92785 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
92786 echo $ECHO_N "(cached) $ECHO_C" >&6
92787 else
92791 ac_ext=cc
92792 ac_cpp='$CXXCPP $CPPFLAGS'
92793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92797 cat >conftest.$ac_ext <<_ACEOF
92798 /* confdefs.h. */
92799 _ACEOF
92800 cat confdefs.h >>conftest.$ac_ext
92801 cat >>conftest.$ac_ext <<_ACEOF
92802 /* end confdefs.h. */
92803 #include <math.h>
92804 #ifdef HAVE_IEEEFP_H
92805 #include <ieeefp.h>
92806 #endif
92809 main ()
92811 isnanl(0);
92813 return 0;
92815 _ACEOF
92816 rm -f conftest.$ac_objext
92817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92818 (eval $ac_compile) 2>conftest.er1
92819 ac_status=$?
92820 grep -v '^ *+' conftest.er1 >conftest.err
92821 rm -f conftest.er1
92822 cat conftest.err >&5
92823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92824 (exit $ac_status); } &&
92825 { ac_try='test -z "$ac_cxx_werror_flag"
92826 || test ! -s conftest.err'
92827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92828 (eval $ac_try) 2>&5
92829 ac_status=$?
92830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92831 (exit $ac_status); }; } &&
92832 { ac_try='test -s conftest.$ac_objext'
92833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92834 (eval $ac_try) 2>&5
92835 ac_status=$?
92836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92837 (exit $ac_status); }; }; then
92838 glibcxx_cv_func_isnanl_use=yes
92839 else
92840 echo "$as_me: failed program was:" >&5
92841 sed 's/^/| /' conftest.$ac_ext >&5
92843 glibcxx_cv_func_isnanl_use=no
92845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92846 ac_ext=c
92847 ac_cpp='$CPP $CPPFLAGS'
92848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
92857 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
92859 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
92861 for ac_func in isnanl
92863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92864 echo "$as_me:$LINENO: checking for $ac_func" >&5
92865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92866 if eval "test \"\${$as_ac_var+set}\" = set"; then
92867 echo $ECHO_N "(cached) $ECHO_C" >&6
92868 else
92869 if test x$gcc_no_link = xyes; then
92870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92872 { (exit 1); exit 1; }; }
92874 cat >conftest.$ac_ext <<_ACEOF
92875 /* confdefs.h. */
92876 _ACEOF
92877 cat confdefs.h >>conftest.$ac_ext
92878 cat >>conftest.$ac_ext <<_ACEOF
92879 /* end confdefs.h. */
92880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92882 #define $ac_func innocuous_$ac_func
92884 /* System header to define __stub macros and hopefully few prototypes,
92885 which can conflict with char $ac_func (); below.
92886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92887 <limits.h> exists even on freestanding compilers. */
92889 #ifdef __STDC__
92890 # include <limits.h>
92891 #else
92892 # include <assert.h>
92893 #endif
92895 #undef $ac_func
92897 /* Override any gcc2 internal prototype to avoid an error. */
92898 #ifdef __cplusplus
92899 extern "C"
92901 #endif
92902 /* We use char because int might match the return type of a gcc2
92903 builtin and then its argument prototype would still apply. */
92904 char $ac_func ();
92905 /* The GNU C library defines this for functions which it implements
92906 to always fail with ENOSYS. Some functions are actually named
92907 something starting with __ and the normal name is an alias. */
92908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92909 choke me
92910 #else
92911 char (*f) () = $ac_func;
92912 #endif
92913 #ifdef __cplusplus
92915 #endif
92918 main ()
92920 return f != $ac_func;
92922 return 0;
92924 _ACEOF
92925 rm -f conftest.$ac_objext conftest$ac_exeext
92926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92927 (eval $ac_link) 2>conftest.er1
92928 ac_status=$?
92929 grep -v '^ *+' conftest.er1 >conftest.err
92930 rm -f conftest.er1
92931 cat conftest.err >&5
92932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92933 (exit $ac_status); } &&
92934 { ac_try='test -z "$ac_c_werror_flag"
92935 || test ! -s conftest.err'
92936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92937 (eval $ac_try) 2>&5
92938 ac_status=$?
92939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92940 (exit $ac_status); }; } &&
92941 { ac_try='test -s conftest$ac_exeext'
92942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92943 (eval $ac_try) 2>&5
92944 ac_status=$?
92945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92946 (exit $ac_status); }; }; then
92947 eval "$as_ac_var=yes"
92948 else
92949 echo "$as_me: failed program was:" >&5
92950 sed 's/^/| /' conftest.$ac_ext >&5
92952 eval "$as_ac_var=no"
92954 rm -f conftest.err conftest.$ac_objext \
92955 conftest$ac_exeext conftest.$ac_ext
92957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92959 if test `eval echo '${'$as_ac_var'}'` = yes; then
92960 cat >>confdefs.h <<_ACEOF
92961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92962 _ACEOF
92965 done
92967 else
92969 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
92970 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
92971 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
92972 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
92973 echo $ECHO_N "(cached) $ECHO_C" >&6
92974 else
92978 ac_ext=cc
92979 ac_cpp='$CXXCPP $CPPFLAGS'
92980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92984 cat >conftest.$ac_ext <<_ACEOF
92985 /* confdefs.h. */
92986 _ACEOF
92987 cat confdefs.h >>conftest.$ac_ext
92988 cat >>conftest.$ac_ext <<_ACEOF
92989 /* end confdefs.h. */
92990 #include <math.h>
92991 #ifdef HAVE_IEEEFP_H
92992 #include <ieeefp.h>
92993 #endif
92996 main ()
92998 _isnanl(0);
93000 return 0;
93002 _ACEOF
93003 rm -f conftest.$ac_objext
93004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93005 (eval $ac_compile) 2>conftest.er1
93006 ac_status=$?
93007 grep -v '^ *+' conftest.er1 >conftest.err
93008 rm -f conftest.er1
93009 cat conftest.err >&5
93010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93011 (exit $ac_status); } &&
93012 { ac_try='test -z "$ac_cxx_werror_flag"
93013 || test ! -s conftest.err'
93014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93015 (eval $ac_try) 2>&5
93016 ac_status=$?
93017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93018 (exit $ac_status); }; } &&
93019 { ac_try='test -s conftest.$ac_objext'
93020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93021 (eval $ac_try) 2>&5
93022 ac_status=$?
93023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93024 (exit $ac_status); }; }; then
93025 glibcxx_cv_func__isnanl_use=yes
93026 else
93027 echo "$as_me: failed program was:" >&5
93028 sed 's/^/| /' conftest.$ac_ext >&5
93030 glibcxx_cv_func__isnanl_use=no
93032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93033 ac_ext=c
93034 ac_cpp='$CPP $CPPFLAGS'
93035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
93044 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
93046 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
93048 for ac_func in _isnanl
93050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93051 echo "$as_me:$LINENO: checking for $ac_func" >&5
93052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93053 if eval "test \"\${$as_ac_var+set}\" = set"; then
93054 echo $ECHO_N "(cached) $ECHO_C" >&6
93055 else
93056 if test x$gcc_no_link = xyes; then
93057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93059 { (exit 1); exit 1; }; }
93061 cat >conftest.$ac_ext <<_ACEOF
93062 /* confdefs.h. */
93063 _ACEOF
93064 cat confdefs.h >>conftest.$ac_ext
93065 cat >>conftest.$ac_ext <<_ACEOF
93066 /* end confdefs.h. */
93067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93069 #define $ac_func innocuous_$ac_func
93071 /* System header to define __stub macros and hopefully few prototypes,
93072 which can conflict with char $ac_func (); below.
93073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93074 <limits.h> exists even on freestanding compilers. */
93076 #ifdef __STDC__
93077 # include <limits.h>
93078 #else
93079 # include <assert.h>
93080 #endif
93082 #undef $ac_func
93084 /* Override any gcc2 internal prototype to avoid an error. */
93085 #ifdef __cplusplus
93086 extern "C"
93088 #endif
93089 /* We use char because int might match the return type of a gcc2
93090 builtin and then its argument prototype would still apply. */
93091 char $ac_func ();
93092 /* The GNU C library defines this for functions which it implements
93093 to always fail with ENOSYS. Some functions are actually named
93094 something starting with __ and the normal name is an alias. */
93095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93096 choke me
93097 #else
93098 char (*f) () = $ac_func;
93099 #endif
93100 #ifdef __cplusplus
93102 #endif
93105 main ()
93107 return f != $ac_func;
93109 return 0;
93111 _ACEOF
93112 rm -f conftest.$ac_objext conftest$ac_exeext
93113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93114 (eval $ac_link) 2>conftest.er1
93115 ac_status=$?
93116 grep -v '^ *+' conftest.er1 >conftest.err
93117 rm -f conftest.er1
93118 cat conftest.err >&5
93119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93120 (exit $ac_status); } &&
93121 { ac_try='test -z "$ac_c_werror_flag"
93122 || test ! -s conftest.err'
93123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93124 (eval $ac_try) 2>&5
93125 ac_status=$?
93126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93127 (exit $ac_status); }; } &&
93128 { ac_try='test -s conftest$ac_exeext'
93129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93130 (eval $ac_try) 2>&5
93131 ac_status=$?
93132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93133 (exit $ac_status); }; }; then
93134 eval "$as_ac_var=yes"
93135 else
93136 echo "$as_me: failed program was:" >&5
93137 sed 's/^/| /' conftest.$ac_ext >&5
93139 eval "$as_ac_var=no"
93141 rm -f conftest.err conftest.$ac_objext \
93142 conftest$ac_exeext conftest.$ac_ext
93144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93146 if test `eval echo '${'$as_ac_var'}'` = yes; then
93147 cat >>confdefs.h <<_ACEOF
93148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93149 _ACEOF
93152 done
93162 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
93163 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
93164 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
93165 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
93166 echo $ECHO_N "(cached) $ECHO_C" >&6
93167 else
93171 ac_ext=cc
93172 ac_cpp='$CXXCPP $CPPFLAGS'
93173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93177 cat >conftest.$ac_ext <<_ACEOF
93178 /* confdefs.h. */
93179 _ACEOF
93180 cat confdefs.h >>conftest.$ac_ext
93181 cat >>conftest.$ac_ext <<_ACEOF
93182 /* end confdefs.h. */
93183 #include <math.h>
93184 #ifdef HAVE_IEEEFP_H
93185 #include <ieeefp.h>
93186 #endif
93189 main ()
93191 isinfl(0);
93193 return 0;
93195 _ACEOF
93196 rm -f conftest.$ac_objext
93197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93198 (eval $ac_compile) 2>conftest.er1
93199 ac_status=$?
93200 grep -v '^ *+' conftest.er1 >conftest.err
93201 rm -f conftest.er1
93202 cat conftest.err >&5
93203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93204 (exit $ac_status); } &&
93205 { ac_try='test -z "$ac_cxx_werror_flag"
93206 || test ! -s conftest.err'
93207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93208 (eval $ac_try) 2>&5
93209 ac_status=$?
93210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93211 (exit $ac_status); }; } &&
93212 { ac_try='test -s conftest.$ac_objext'
93213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93214 (eval $ac_try) 2>&5
93215 ac_status=$?
93216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93217 (exit $ac_status); }; }; then
93218 glibcxx_cv_func_isinfl_use=yes
93219 else
93220 echo "$as_me: failed program was:" >&5
93221 sed 's/^/| /' conftest.$ac_ext >&5
93223 glibcxx_cv_func_isinfl_use=no
93225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93226 ac_ext=c
93227 ac_cpp='$CPP $CPPFLAGS'
93228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
93237 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
93239 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
93241 for ac_func in isinfl
93243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93244 echo "$as_me:$LINENO: checking for $ac_func" >&5
93245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93246 if eval "test \"\${$as_ac_var+set}\" = set"; then
93247 echo $ECHO_N "(cached) $ECHO_C" >&6
93248 else
93249 if test x$gcc_no_link = xyes; then
93250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93252 { (exit 1); exit 1; }; }
93254 cat >conftest.$ac_ext <<_ACEOF
93255 /* confdefs.h. */
93256 _ACEOF
93257 cat confdefs.h >>conftest.$ac_ext
93258 cat >>conftest.$ac_ext <<_ACEOF
93259 /* end confdefs.h. */
93260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93262 #define $ac_func innocuous_$ac_func
93264 /* System header to define __stub macros and hopefully few prototypes,
93265 which can conflict with char $ac_func (); below.
93266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93267 <limits.h> exists even on freestanding compilers. */
93269 #ifdef __STDC__
93270 # include <limits.h>
93271 #else
93272 # include <assert.h>
93273 #endif
93275 #undef $ac_func
93277 /* Override any gcc2 internal prototype to avoid an error. */
93278 #ifdef __cplusplus
93279 extern "C"
93281 #endif
93282 /* We use char because int might match the return type of a gcc2
93283 builtin and then its argument prototype would still apply. */
93284 char $ac_func ();
93285 /* The GNU C library defines this for functions which it implements
93286 to always fail with ENOSYS. Some functions are actually named
93287 something starting with __ and the normal name is an alias. */
93288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93289 choke me
93290 #else
93291 char (*f) () = $ac_func;
93292 #endif
93293 #ifdef __cplusplus
93295 #endif
93298 main ()
93300 return f != $ac_func;
93302 return 0;
93304 _ACEOF
93305 rm -f conftest.$ac_objext conftest$ac_exeext
93306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93307 (eval $ac_link) 2>conftest.er1
93308 ac_status=$?
93309 grep -v '^ *+' conftest.er1 >conftest.err
93310 rm -f conftest.er1
93311 cat conftest.err >&5
93312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93313 (exit $ac_status); } &&
93314 { ac_try='test -z "$ac_c_werror_flag"
93315 || test ! -s conftest.err'
93316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93317 (eval $ac_try) 2>&5
93318 ac_status=$?
93319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93320 (exit $ac_status); }; } &&
93321 { ac_try='test -s conftest$ac_exeext'
93322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93323 (eval $ac_try) 2>&5
93324 ac_status=$?
93325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93326 (exit $ac_status); }; }; then
93327 eval "$as_ac_var=yes"
93328 else
93329 echo "$as_me: failed program was:" >&5
93330 sed 's/^/| /' conftest.$ac_ext >&5
93332 eval "$as_ac_var=no"
93334 rm -f conftest.err conftest.$ac_objext \
93335 conftest$ac_exeext conftest.$ac_ext
93337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93339 if test `eval echo '${'$as_ac_var'}'` = yes; then
93340 cat >>confdefs.h <<_ACEOF
93341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93342 _ACEOF
93345 done
93347 else
93349 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
93350 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
93351 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
93352 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
93353 echo $ECHO_N "(cached) $ECHO_C" >&6
93354 else
93358 ac_ext=cc
93359 ac_cpp='$CXXCPP $CPPFLAGS'
93360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93364 cat >conftest.$ac_ext <<_ACEOF
93365 /* confdefs.h. */
93366 _ACEOF
93367 cat confdefs.h >>conftest.$ac_ext
93368 cat >>conftest.$ac_ext <<_ACEOF
93369 /* end confdefs.h. */
93370 #include <math.h>
93371 #ifdef HAVE_IEEEFP_H
93372 #include <ieeefp.h>
93373 #endif
93376 main ()
93378 _isinfl(0);
93380 return 0;
93382 _ACEOF
93383 rm -f conftest.$ac_objext
93384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93385 (eval $ac_compile) 2>conftest.er1
93386 ac_status=$?
93387 grep -v '^ *+' conftest.er1 >conftest.err
93388 rm -f conftest.er1
93389 cat conftest.err >&5
93390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93391 (exit $ac_status); } &&
93392 { ac_try='test -z "$ac_cxx_werror_flag"
93393 || test ! -s conftest.err'
93394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93395 (eval $ac_try) 2>&5
93396 ac_status=$?
93397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93398 (exit $ac_status); }; } &&
93399 { ac_try='test -s conftest.$ac_objext'
93400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93401 (eval $ac_try) 2>&5
93402 ac_status=$?
93403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93404 (exit $ac_status); }; }; then
93405 glibcxx_cv_func__isinfl_use=yes
93406 else
93407 echo "$as_me: failed program was:" >&5
93408 sed 's/^/| /' conftest.$ac_ext >&5
93410 glibcxx_cv_func__isinfl_use=no
93412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93413 ac_ext=c
93414 ac_cpp='$CPP $CPPFLAGS'
93415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
93424 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
93426 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
93428 for ac_func in _isinfl
93430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93431 echo "$as_me:$LINENO: checking for $ac_func" >&5
93432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93433 if eval "test \"\${$as_ac_var+set}\" = set"; then
93434 echo $ECHO_N "(cached) $ECHO_C" >&6
93435 else
93436 if test x$gcc_no_link = xyes; then
93437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93439 { (exit 1); exit 1; }; }
93441 cat >conftest.$ac_ext <<_ACEOF
93442 /* confdefs.h. */
93443 _ACEOF
93444 cat confdefs.h >>conftest.$ac_ext
93445 cat >>conftest.$ac_ext <<_ACEOF
93446 /* end confdefs.h. */
93447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93449 #define $ac_func innocuous_$ac_func
93451 /* System header to define __stub macros and hopefully few prototypes,
93452 which can conflict with char $ac_func (); below.
93453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93454 <limits.h> exists even on freestanding compilers. */
93456 #ifdef __STDC__
93457 # include <limits.h>
93458 #else
93459 # include <assert.h>
93460 #endif
93462 #undef $ac_func
93464 /* Override any gcc2 internal prototype to avoid an error. */
93465 #ifdef __cplusplus
93466 extern "C"
93468 #endif
93469 /* We use char because int might match the return type of a gcc2
93470 builtin and then its argument prototype would still apply. */
93471 char $ac_func ();
93472 /* The GNU C library defines this for functions which it implements
93473 to always fail with ENOSYS. Some functions are actually named
93474 something starting with __ and the normal name is an alias. */
93475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93476 choke me
93477 #else
93478 char (*f) () = $ac_func;
93479 #endif
93480 #ifdef __cplusplus
93482 #endif
93485 main ()
93487 return f != $ac_func;
93489 return 0;
93491 _ACEOF
93492 rm -f conftest.$ac_objext conftest$ac_exeext
93493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93494 (eval $ac_link) 2>conftest.er1
93495 ac_status=$?
93496 grep -v '^ *+' conftest.er1 >conftest.err
93497 rm -f conftest.er1
93498 cat conftest.err >&5
93499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93500 (exit $ac_status); } &&
93501 { ac_try='test -z "$ac_c_werror_flag"
93502 || test ! -s conftest.err'
93503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93504 (eval $ac_try) 2>&5
93505 ac_status=$?
93506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93507 (exit $ac_status); }; } &&
93508 { ac_try='test -s conftest$ac_exeext'
93509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93510 (eval $ac_try) 2>&5
93511 ac_status=$?
93512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93513 (exit $ac_status); }; }; then
93514 eval "$as_ac_var=yes"
93515 else
93516 echo "$as_me: failed program was:" >&5
93517 sed 's/^/| /' conftest.$ac_ext >&5
93519 eval "$as_ac_var=no"
93521 rm -f conftest.err conftest.$ac_objext \
93522 conftest$ac_exeext conftest.$ac_ext
93524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93526 if test `eval echo '${'$as_ac_var'}'` = yes; then
93527 cat >>confdefs.h <<_ACEOF
93528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93529 _ACEOF
93532 done
93542 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
93543 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
93544 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
93545 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
93546 echo $ECHO_N "(cached) $ECHO_C" >&6
93547 else
93551 ac_ext=cc
93552 ac_cpp='$CXXCPP $CPPFLAGS'
93553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
93565 main ()
93567 copysignl(0, 0);
93569 return 0;
93571 _ACEOF
93572 rm -f conftest.$ac_objext
93573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93574 (eval $ac_compile) 2>conftest.er1
93575 ac_status=$?
93576 grep -v '^ *+' conftest.er1 >conftest.err
93577 rm -f conftest.er1
93578 cat conftest.err >&5
93579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93580 (exit $ac_status); } &&
93581 { ac_try='test -z "$ac_cxx_werror_flag"
93582 || test ! -s conftest.err'
93583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93584 (eval $ac_try) 2>&5
93585 ac_status=$?
93586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93587 (exit $ac_status); }; } &&
93588 { ac_try='test -s conftest.$ac_objext'
93589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93590 (eval $ac_try) 2>&5
93591 ac_status=$?
93592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93593 (exit $ac_status); }; }; then
93594 glibcxx_cv_func_copysignl_use=yes
93595 else
93596 echo "$as_me: failed program was:" >&5
93597 sed 's/^/| /' conftest.$ac_ext >&5
93599 glibcxx_cv_func_copysignl_use=no
93601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93602 ac_ext=c
93603 ac_cpp='$CPP $CPPFLAGS'
93604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
93613 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
93615 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
93617 for ac_func in copysignl
93619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93620 echo "$as_me:$LINENO: checking for $ac_func" >&5
93621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93622 if eval "test \"\${$as_ac_var+set}\" = set"; then
93623 echo $ECHO_N "(cached) $ECHO_C" >&6
93624 else
93625 if test x$gcc_no_link = xyes; then
93626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93628 { (exit 1); exit 1; }; }
93630 cat >conftest.$ac_ext <<_ACEOF
93631 /* confdefs.h. */
93632 _ACEOF
93633 cat confdefs.h >>conftest.$ac_ext
93634 cat >>conftest.$ac_ext <<_ACEOF
93635 /* end confdefs.h. */
93636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93638 #define $ac_func innocuous_$ac_func
93640 /* System header to define __stub macros and hopefully few prototypes,
93641 which can conflict with char $ac_func (); below.
93642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93643 <limits.h> exists even on freestanding compilers. */
93645 #ifdef __STDC__
93646 # include <limits.h>
93647 #else
93648 # include <assert.h>
93649 #endif
93651 #undef $ac_func
93653 /* Override any gcc2 internal prototype to avoid an error. */
93654 #ifdef __cplusplus
93655 extern "C"
93657 #endif
93658 /* We use char because int might match the return type of a gcc2
93659 builtin and then its argument prototype would still apply. */
93660 char $ac_func ();
93661 /* The GNU C library defines this for functions which it implements
93662 to always fail with ENOSYS. Some functions are actually named
93663 something starting with __ and the normal name is an alias. */
93664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93665 choke me
93666 #else
93667 char (*f) () = $ac_func;
93668 #endif
93669 #ifdef __cplusplus
93671 #endif
93674 main ()
93676 return f != $ac_func;
93678 return 0;
93680 _ACEOF
93681 rm -f conftest.$ac_objext conftest$ac_exeext
93682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93683 (eval $ac_link) 2>conftest.er1
93684 ac_status=$?
93685 grep -v '^ *+' conftest.er1 >conftest.err
93686 rm -f conftest.er1
93687 cat conftest.err >&5
93688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93689 (exit $ac_status); } &&
93690 { ac_try='test -z "$ac_c_werror_flag"
93691 || test ! -s conftest.err'
93692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93693 (eval $ac_try) 2>&5
93694 ac_status=$?
93695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93696 (exit $ac_status); }; } &&
93697 { ac_try='test -s conftest$ac_exeext'
93698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93699 (eval $ac_try) 2>&5
93700 ac_status=$?
93701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93702 (exit $ac_status); }; }; then
93703 eval "$as_ac_var=yes"
93704 else
93705 echo "$as_me: failed program was:" >&5
93706 sed 's/^/| /' conftest.$ac_ext >&5
93708 eval "$as_ac_var=no"
93710 rm -f conftest.err conftest.$ac_objext \
93711 conftest$ac_exeext conftest.$ac_ext
93713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93715 if test `eval echo '${'$as_ac_var'}'` = yes; then
93716 cat >>confdefs.h <<_ACEOF
93717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93718 _ACEOF
93721 done
93723 else
93725 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
93726 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
93727 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
93728 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
93729 echo $ECHO_N "(cached) $ECHO_C" >&6
93730 else
93734 ac_ext=cc
93735 ac_cpp='$CXXCPP $CPPFLAGS'
93736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
93748 main ()
93750 _copysignl(0, 0);
93752 return 0;
93754 _ACEOF
93755 rm -f conftest.$ac_objext
93756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93757 (eval $ac_compile) 2>conftest.er1
93758 ac_status=$?
93759 grep -v '^ *+' conftest.er1 >conftest.err
93760 rm -f conftest.er1
93761 cat conftest.err >&5
93762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93763 (exit $ac_status); } &&
93764 { ac_try='test -z "$ac_cxx_werror_flag"
93765 || test ! -s conftest.err'
93766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93767 (eval $ac_try) 2>&5
93768 ac_status=$?
93769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93770 (exit $ac_status); }; } &&
93771 { ac_try='test -s conftest.$ac_objext'
93772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93773 (eval $ac_try) 2>&5
93774 ac_status=$?
93775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93776 (exit $ac_status); }; }; then
93777 glibcxx_cv_func__copysignl_use=yes
93778 else
93779 echo "$as_me: failed program was:" >&5
93780 sed 's/^/| /' conftest.$ac_ext >&5
93782 glibcxx_cv_func__copysignl_use=no
93784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93785 ac_ext=c
93786 ac_cpp='$CPP $CPPFLAGS'
93787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93795 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
93796 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
93798 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
93800 for ac_func in _copysignl
93802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93803 echo "$as_me:$LINENO: checking for $ac_func" >&5
93804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93805 if eval "test \"\${$as_ac_var+set}\" = set"; then
93806 echo $ECHO_N "(cached) $ECHO_C" >&6
93807 else
93808 if test x$gcc_no_link = xyes; then
93809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93811 { (exit 1); exit 1; }; }
93813 cat >conftest.$ac_ext <<_ACEOF
93814 /* confdefs.h. */
93815 _ACEOF
93816 cat confdefs.h >>conftest.$ac_ext
93817 cat >>conftest.$ac_ext <<_ACEOF
93818 /* end confdefs.h. */
93819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93821 #define $ac_func innocuous_$ac_func
93823 /* System header to define __stub macros and hopefully few prototypes,
93824 which can conflict with char $ac_func (); below.
93825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93826 <limits.h> exists even on freestanding compilers. */
93828 #ifdef __STDC__
93829 # include <limits.h>
93830 #else
93831 # include <assert.h>
93832 #endif
93834 #undef $ac_func
93836 /* Override any gcc2 internal prototype to avoid an error. */
93837 #ifdef __cplusplus
93838 extern "C"
93840 #endif
93841 /* We use char because int might match the return type of a gcc2
93842 builtin and then its argument prototype would still apply. */
93843 char $ac_func ();
93844 /* The GNU C library defines this for functions which it implements
93845 to always fail with ENOSYS. Some functions are actually named
93846 something starting with __ and the normal name is an alias. */
93847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93848 choke me
93849 #else
93850 char (*f) () = $ac_func;
93851 #endif
93852 #ifdef __cplusplus
93854 #endif
93857 main ()
93859 return f != $ac_func;
93861 return 0;
93863 _ACEOF
93864 rm -f conftest.$ac_objext conftest$ac_exeext
93865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93866 (eval $ac_link) 2>conftest.er1
93867 ac_status=$?
93868 grep -v '^ *+' conftest.er1 >conftest.err
93869 rm -f conftest.er1
93870 cat conftest.err >&5
93871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93872 (exit $ac_status); } &&
93873 { ac_try='test -z "$ac_c_werror_flag"
93874 || test ! -s conftest.err'
93875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93876 (eval $ac_try) 2>&5
93877 ac_status=$?
93878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93879 (exit $ac_status); }; } &&
93880 { ac_try='test -s conftest$ac_exeext'
93881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93882 (eval $ac_try) 2>&5
93883 ac_status=$?
93884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93885 (exit $ac_status); }; }; then
93886 eval "$as_ac_var=yes"
93887 else
93888 echo "$as_me: failed program was:" >&5
93889 sed 's/^/| /' conftest.$ac_ext >&5
93891 eval "$as_ac_var=no"
93893 rm -f conftest.err conftest.$ac_objext \
93894 conftest$ac_exeext conftest.$ac_ext
93896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93898 if test `eval echo '${'$as_ac_var'}'` = yes; then
93899 cat >>confdefs.h <<_ACEOF
93900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93901 _ACEOF
93904 done
93914 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
93915 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
93916 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
93917 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
93918 echo $ECHO_N "(cached) $ECHO_C" >&6
93919 else
93923 ac_ext=cc
93924 ac_cpp='$CXXCPP $CPPFLAGS'
93925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
93937 main ()
93939 atan2l(0, 0);
93941 return 0;
93943 _ACEOF
93944 rm -f conftest.$ac_objext
93945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93946 (eval $ac_compile) 2>conftest.er1
93947 ac_status=$?
93948 grep -v '^ *+' conftest.er1 >conftest.err
93949 rm -f conftest.er1
93950 cat conftest.err >&5
93951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93952 (exit $ac_status); } &&
93953 { ac_try='test -z "$ac_cxx_werror_flag"
93954 || test ! -s conftest.err'
93955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93956 (eval $ac_try) 2>&5
93957 ac_status=$?
93958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93959 (exit $ac_status); }; } &&
93960 { ac_try='test -s conftest.$ac_objext'
93961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93962 (eval $ac_try) 2>&5
93963 ac_status=$?
93964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93965 (exit $ac_status); }; }; then
93966 glibcxx_cv_func_atan2l_use=yes
93967 else
93968 echo "$as_me: failed program was:" >&5
93969 sed 's/^/| /' conftest.$ac_ext >&5
93971 glibcxx_cv_func_atan2l_use=no
93973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93974 ac_ext=c
93975 ac_cpp='$CPP $CPPFLAGS'
93976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
93985 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
93987 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
93989 for ac_func in atan2l
93991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93992 echo "$as_me:$LINENO: checking for $ac_func" >&5
93993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93994 if eval "test \"\${$as_ac_var+set}\" = set"; then
93995 echo $ECHO_N "(cached) $ECHO_C" >&6
93996 else
93997 if test x$gcc_no_link = xyes; then
93998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94000 { (exit 1); exit 1; }; }
94002 cat >conftest.$ac_ext <<_ACEOF
94003 /* confdefs.h. */
94004 _ACEOF
94005 cat confdefs.h >>conftest.$ac_ext
94006 cat >>conftest.$ac_ext <<_ACEOF
94007 /* end confdefs.h. */
94008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94010 #define $ac_func innocuous_$ac_func
94012 /* System header to define __stub macros and hopefully few prototypes,
94013 which can conflict with char $ac_func (); below.
94014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94015 <limits.h> exists even on freestanding compilers. */
94017 #ifdef __STDC__
94018 # include <limits.h>
94019 #else
94020 # include <assert.h>
94021 #endif
94023 #undef $ac_func
94025 /* Override any gcc2 internal prototype to avoid an error. */
94026 #ifdef __cplusplus
94027 extern "C"
94029 #endif
94030 /* We use char because int might match the return type of a gcc2
94031 builtin and then its argument prototype would still apply. */
94032 char $ac_func ();
94033 /* The GNU C library defines this for functions which it implements
94034 to always fail with ENOSYS. Some functions are actually named
94035 something starting with __ and the normal name is an alias. */
94036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94037 choke me
94038 #else
94039 char (*f) () = $ac_func;
94040 #endif
94041 #ifdef __cplusplus
94043 #endif
94046 main ()
94048 return f != $ac_func;
94050 return 0;
94052 _ACEOF
94053 rm -f conftest.$ac_objext conftest$ac_exeext
94054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94055 (eval $ac_link) 2>conftest.er1
94056 ac_status=$?
94057 grep -v '^ *+' conftest.er1 >conftest.err
94058 rm -f conftest.er1
94059 cat conftest.err >&5
94060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94061 (exit $ac_status); } &&
94062 { ac_try='test -z "$ac_c_werror_flag"
94063 || test ! -s conftest.err'
94064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94065 (eval $ac_try) 2>&5
94066 ac_status=$?
94067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94068 (exit $ac_status); }; } &&
94069 { ac_try='test -s conftest$ac_exeext'
94070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94071 (eval $ac_try) 2>&5
94072 ac_status=$?
94073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94074 (exit $ac_status); }; }; then
94075 eval "$as_ac_var=yes"
94076 else
94077 echo "$as_me: failed program was:" >&5
94078 sed 's/^/| /' conftest.$ac_ext >&5
94080 eval "$as_ac_var=no"
94082 rm -f conftest.err conftest.$ac_objext \
94083 conftest$ac_exeext conftest.$ac_ext
94085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94087 if test `eval echo '${'$as_ac_var'}'` = yes; then
94088 cat >>confdefs.h <<_ACEOF
94089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94090 _ACEOF
94093 done
94095 else
94097 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
94098 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
94099 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
94100 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
94101 echo $ECHO_N "(cached) $ECHO_C" >&6
94102 else
94106 ac_ext=cc
94107 ac_cpp='$CXXCPP $CPPFLAGS'
94108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
94120 main ()
94122 _atan2l(0, 0);
94124 return 0;
94126 _ACEOF
94127 rm -f conftest.$ac_objext
94128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94129 (eval $ac_compile) 2>conftest.er1
94130 ac_status=$?
94131 grep -v '^ *+' conftest.er1 >conftest.err
94132 rm -f conftest.er1
94133 cat conftest.err >&5
94134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94135 (exit $ac_status); } &&
94136 { ac_try='test -z "$ac_cxx_werror_flag"
94137 || test ! -s conftest.err'
94138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94139 (eval $ac_try) 2>&5
94140 ac_status=$?
94141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94142 (exit $ac_status); }; } &&
94143 { ac_try='test -s conftest.$ac_objext'
94144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94145 (eval $ac_try) 2>&5
94146 ac_status=$?
94147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94148 (exit $ac_status); }; }; then
94149 glibcxx_cv_func__atan2l_use=yes
94150 else
94151 echo "$as_me: failed program was:" >&5
94152 sed 's/^/| /' conftest.$ac_ext >&5
94154 glibcxx_cv_func__atan2l_use=no
94156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94157 ac_ext=c
94158 ac_cpp='$CPP $CPPFLAGS'
94159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
94168 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
94170 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
94172 for ac_func in _atan2l
94174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94175 echo "$as_me:$LINENO: checking for $ac_func" >&5
94176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94177 if eval "test \"\${$as_ac_var+set}\" = set"; then
94178 echo $ECHO_N "(cached) $ECHO_C" >&6
94179 else
94180 if test x$gcc_no_link = xyes; then
94181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94183 { (exit 1); exit 1; }; }
94185 cat >conftest.$ac_ext <<_ACEOF
94186 /* confdefs.h. */
94187 _ACEOF
94188 cat confdefs.h >>conftest.$ac_ext
94189 cat >>conftest.$ac_ext <<_ACEOF
94190 /* end confdefs.h. */
94191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94193 #define $ac_func innocuous_$ac_func
94195 /* System header to define __stub macros and hopefully few prototypes,
94196 which can conflict with char $ac_func (); below.
94197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94198 <limits.h> exists even on freestanding compilers. */
94200 #ifdef __STDC__
94201 # include <limits.h>
94202 #else
94203 # include <assert.h>
94204 #endif
94206 #undef $ac_func
94208 /* Override any gcc2 internal prototype to avoid an error. */
94209 #ifdef __cplusplus
94210 extern "C"
94212 #endif
94213 /* We use char because int might match the return type of a gcc2
94214 builtin and then its argument prototype would still apply. */
94215 char $ac_func ();
94216 /* The GNU C library defines this for functions which it implements
94217 to always fail with ENOSYS. Some functions are actually named
94218 something starting with __ and the normal name is an alias. */
94219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94220 choke me
94221 #else
94222 char (*f) () = $ac_func;
94223 #endif
94224 #ifdef __cplusplus
94226 #endif
94229 main ()
94231 return f != $ac_func;
94233 return 0;
94235 _ACEOF
94236 rm -f conftest.$ac_objext conftest$ac_exeext
94237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94238 (eval $ac_link) 2>conftest.er1
94239 ac_status=$?
94240 grep -v '^ *+' conftest.er1 >conftest.err
94241 rm -f conftest.er1
94242 cat conftest.err >&5
94243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94244 (exit $ac_status); } &&
94245 { ac_try='test -z "$ac_c_werror_flag"
94246 || test ! -s conftest.err'
94247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94248 (eval $ac_try) 2>&5
94249 ac_status=$?
94250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94251 (exit $ac_status); }; } &&
94252 { ac_try='test -s conftest$ac_exeext'
94253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94254 (eval $ac_try) 2>&5
94255 ac_status=$?
94256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94257 (exit $ac_status); }; }; then
94258 eval "$as_ac_var=yes"
94259 else
94260 echo "$as_me: failed program was:" >&5
94261 sed 's/^/| /' conftest.$ac_ext >&5
94263 eval "$as_ac_var=no"
94265 rm -f conftest.err conftest.$ac_objext \
94266 conftest$ac_exeext conftest.$ac_ext
94268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94270 if test `eval echo '${'$as_ac_var'}'` = yes; then
94271 cat >>confdefs.h <<_ACEOF
94272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94273 _ACEOF
94276 done
94286 echo "$as_me:$LINENO: checking for expl declaration" >&5
94287 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
94288 if test x${glibcxx_cv_func_expl_use+set} != xset; then
94289 if test "${glibcxx_cv_func_expl_use+set}" = set; then
94290 echo $ECHO_N "(cached) $ECHO_C" >&6
94291 else
94295 ac_ext=cc
94296 ac_cpp='$CXXCPP $CPPFLAGS'
94297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94301 cat >conftest.$ac_ext <<_ACEOF
94302 /* confdefs.h. */
94303 _ACEOF
94304 cat confdefs.h >>conftest.$ac_ext
94305 cat >>conftest.$ac_ext <<_ACEOF
94306 /* end confdefs.h. */
94307 #include <math.h>
94308 #ifdef HAVE_IEEEFP_H
94309 #include <ieeefp.h>
94310 #endif
94313 main ()
94315 expl(0);
94317 return 0;
94319 _ACEOF
94320 rm -f conftest.$ac_objext
94321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94322 (eval $ac_compile) 2>conftest.er1
94323 ac_status=$?
94324 grep -v '^ *+' conftest.er1 >conftest.err
94325 rm -f conftest.er1
94326 cat conftest.err >&5
94327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94328 (exit $ac_status); } &&
94329 { ac_try='test -z "$ac_cxx_werror_flag"
94330 || test ! -s conftest.err'
94331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94332 (eval $ac_try) 2>&5
94333 ac_status=$?
94334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94335 (exit $ac_status); }; } &&
94336 { ac_try='test -s conftest.$ac_objext'
94337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94338 (eval $ac_try) 2>&5
94339 ac_status=$?
94340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94341 (exit $ac_status); }; }; then
94342 glibcxx_cv_func_expl_use=yes
94343 else
94344 echo "$as_me: failed program was:" >&5
94345 sed 's/^/| /' conftest.$ac_ext >&5
94347 glibcxx_cv_func_expl_use=no
94349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94350 ac_ext=c
94351 ac_cpp='$CPP $CPPFLAGS'
94352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
94361 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
94363 if test x$glibcxx_cv_func_expl_use = x"yes"; then
94365 for ac_func in expl
94367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94368 echo "$as_me:$LINENO: checking for $ac_func" >&5
94369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94370 if eval "test \"\${$as_ac_var+set}\" = set"; then
94371 echo $ECHO_N "(cached) $ECHO_C" >&6
94372 else
94373 if test x$gcc_no_link = xyes; then
94374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94376 { (exit 1); exit 1; }; }
94378 cat >conftest.$ac_ext <<_ACEOF
94379 /* confdefs.h. */
94380 _ACEOF
94381 cat confdefs.h >>conftest.$ac_ext
94382 cat >>conftest.$ac_ext <<_ACEOF
94383 /* end confdefs.h. */
94384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94386 #define $ac_func innocuous_$ac_func
94388 /* System header to define __stub macros and hopefully few prototypes,
94389 which can conflict with char $ac_func (); below.
94390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94391 <limits.h> exists even on freestanding compilers. */
94393 #ifdef __STDC__
94394 # include <limits.h>
94395 #else
94396 # include <assert.h>
94397 #endif
94399 #undef $ac_func
94401 /* Override any gcc2 internal prototype to avoid an error. */
94402 #ifdef __cplusplus
94403 extern "C"
94405 #endif
94406 /* We use char because int might match the return type of a gcc2
94407 builtin and then its argument prototype would still apply. */
94408 char $ac_func ();
94409 /* The GNU C library defines this for functions which it implements
94410 to always fail with ENOSYS. Some functions are actually named
94411 something starting with __ and the normal name is an alias. */
94412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94413 choke me
94414 #else
94415 char (*f) () = $ac_func;
94416 #endif
94417 #ifdef __cplusplus
94419 #endif
94422 main ()
94424 return f != $ac_func;
94426 return 0;
94428 _ACEOF
94429 rm -f conftest.$ac_objext conftest$ac_exeext
94430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94431 (eval $ac_link) 2>conftest.er1
94432 ac_status=$?
94433 grep -v '^ *+' conftest.er1 >conftest.err
94434 rm -f conftest.er1
94435 cat conftest.err >&5
94436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94437 (exit $ac_status); } &&
94438 { ac_try='test -z "$ac_c_werror_flag"
94439 || test ! -s conftest.err'
94440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94441 (eval $ac_try) 2>&5
94442 ac_status=$?
94443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94444 (exit $ac_status); }; } &&
94445 { ac_try='test -s conftest$ac_exeext'
94446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94447 (eval $ac_try) 2>&5
94448 ac_status=$?
94449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94450 (exit $ac_status); }; }; then
94451 eval "$as_ac_var=yes"
94452 else
94453 echo "$as_me: failed program was:" >&5
94454 sed 's/^/| /' conftest.$ac_ext >&5
94456 eval "$as_ac_var=no"
94458 rm -f conftest.err conftest.$ac_objext \
94459 conftest$ac_exeext conftest.$ac_ext
94461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94463 if test `eval echo '${'$as_ac_var'}'` = yes; then
94464 cat >>confdefs.h <<_ACEOF
94465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94466 _ACEOF
94469 done
94471 else
94473 echo "$as_me:$LINENO: checking for _expl declaration" >&5
94474 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
94475 if test x${glibcxx_cv_func__expl_use+set} != xset; then
94476 if test "${glibcxx_cv_func__expl_use+set}" = set; then
94477 echo $ECHO_N "(cached) $ECHO_C" >&6
94478 else
94482 ac_ext=cc
94483 ac_cpp='$CXXCPP $CPPFLAGS'
94484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94488 cat >conftest.$ac_ext <<_ACEOF
94489 /* confdefs.h. */
94490 _ACEOF
94491 cat confdefs.h >>conftest.$ac_ext
94492 cat >>conftest.$ac_ext <<_ACEOF
94493 /* end confdefs.h. */
94494 #include <math.h>
94495 #ifdef HAVE_IEEEFP_H
94496 #include <ieeefp.h>
94497 #endif
94500 main ()
94502 _expl(0);
94504 return 0;
94506 _ACEOF
94507 rm -f conftest.$ac_objext
94508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94509 (eval $ac_compile) 2>conftest.er1
94510 ac_status=$?
94511 grep -v '^ *+' conftest.er1 >conftest.err
94512 rm -f conftest.er1
94513 cat conftest.err >&5
94514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94515 (exit $ac_status); } &&
94516 { ac_try='test -z "$ac_cxx_werror_flag"
94517 || test ! -s conftest.err'
94518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94519 (eval $ac_try) 2>&5
94520 ac_status=$?
94521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94522 (exit $ac_status); }; } &&
94523 { ac_try='test -s conftest.$ac_objext'
94524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94525 (eval $ac_try) 2>&5
94526 ac_status=$?
94527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94528 (exit $ac_status); }; }; then
94529 glibcxx_cv_func__expl_use=yes
94530 else
94531 echo "$as_me: failed program was:" >&5
94532 sed 's/^/| /' conftest.$ac_ext >&5
94534 glibcxx_cv_func__expl_use=no
94536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94537 ac_ext=c
94538 ac_cpp='$CPP $CPPFLAGS'
94539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
94548 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
94550 if test x$glibcxx_cv_func__expl_use = x"yes"; then
94552 for ac_func in _expl
94554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94555 echo "$as_me:$LINENO: checking for $ac_func" >&5
94556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94557 if eval "test \"\${$as_ac_var+set}\" = set"; then
94558 echo $ECHO_N "(cached) $ECHO_C" >&6
94559 else
94560 if test x$gcc_no_link = xyes; then
94561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94563 { (exit 1); exit 1; }; }
94565 cat >conftest.$ac_ext <<_ACEOF
94566 /* confdefs.h. */
94567 _ACEOF
94568 cat confdefs.h >>conftest.$ac_ext
94569 cat >>conftest.$ac_ext <<_ACEOF
94570 /* end confdefs.h. */
94571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94573 #define $ac_func innocuous_$ac_func
94575 /* System header to define __stub macros and hopefully few prototypes,
94576 which can conflict with char $ac_func (); below.
94577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94578 <limits.h> exists even on freestanding compilers. */
94580 #ifdef __STDC__
94581 # include <limits.h>
94582 #else
94583 # include <assert.h>
94584 #endif
94586 #undef $ac_func
94588 /* Override any gcc2 internal prototype to avoid an error. */
94589 #ifdef __cplusplus
94590 extern "C"
94592 #endif
94593 /* We use char because int might match the return type of a gcc2
94594 builtin and then its argument prototype would still apply. */
94595 char $ac_func ();
94596 /* The GNU C library defines this for functions which it implements
94597 to always fail with ENOSYS. Some functions are actually named
94598 something starting with __ and the normal name is an alias. */
94599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94600 choke me
94601 #else
94602 char (*f) () = $ac_func;
94603 #endif
94604 #ifdef __cplusplus
94606 #endif
94609 main ()
94611 return f != $ac_func;
94613 return 0;
94615 _ACEOF
94616 rm -f conftest.$ac_objext conftest$ac_exeext
94617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94618 (eval $ac_link) 2>conftest.er1
94619 ac_status=$?
94620 grep -v '^ *+' conftest.er1 >conftest.err
94621 rm -f conftest.er1
94622 cat conftest.err >&5
94623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94624 (exit $ac_status); } &&
94625 { ac_try='test -z "$ac_c_werror_flag"
94626 || test ! -s conftest.err'
94627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94628 (eval $ac_try) 2>&5
94629 ac_status=$?
94630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94631 (exit $ac_status); }; } &&
94632 { ac_try='test -s conftest$ac_exeext'
94633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94634 (eval $ac_try) 2>&5
94635 ac_status=$?
94636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94637 (exit $ac_status); }; }; then
94638 eval "$as_ac_var=yes"
94639 else
94640 echo "$as_me: failed program was:" >&5
94641 sed 's/^/| /' conftest.$ac_ext >&5
94643 eval "$as_ac_var=no"
94645 rm -f conftest.err conftest.$ac_objext \
94646 conftest$ac_exeext conftest.$ac_ext
94648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94650 if test `eval echo '${'$as_ac_var'}'` = yes; then
94651 cat >>confdefs.h <<_ACEOF
94652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94653 _ACEOF
94656 done
94666 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
94667 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
94668 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
94669 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
94670 echo $ECHO_N "(cached) $ECHO_C" >&6
94671 else
94675 ac_ext=cc
94676 ac_cpp='$CXXCPP $CPPFLAGS'
94677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94681 cat >conftest.$ac_ext <<_ACEOF
94682 /* confdefs.h. */
94683 _ACEOF
94684 cat confdefs.h >>conftest.$ac_ext
94685 cat >>conftest.$ac_ext <<_ACEOF
94686 /* end confdefs.h. */
94687 #include <math.h>
94688 #ifdef HAVE_IEEEFP_H
94689 #include <ieeefp.h>
94690 #endif
94693 main ()
94695 fabsl(0);
94697 return 0;
94699 _ACEOF
94700 rm -f conftest.$ac_objext
94701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94702 (eval $ac_compile) 2>conftest.er1
94703 ac_status=$?
94704 grep -v '^ *+' conftest.er1 >conftest.err
94705 rm -f conftest.er1
94706 cat conftest.err >&5
94707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94708 (exit $ac_status); } &&
94709 { ac_try='test -z "$ac_cxx_werror_flag"
94710 || test ! -s conftest.err'
94711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94712 (eval $ac_try) 2>&5
94713 ac_status=$?
94714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94715 (exit $ac_status); }; } &&
94716 { ac_try='test -s conftest.$ac_objext'
94717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94718 (eval $ac_try) 2>&5
94719 ac_status=$?
94720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94721 (exit $ac_status); }; }; then
94722 glibcxx_cv_func_fabsl_use=yes
94723 else
94724 echo "$as_me: failed program was:" >&5
94725 sed 's/^/| /' conftest.$ac_ext >&5
94727 glibcxx_cv_func_fabsl_use=no
94729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94730 ac_ext=c
94731 ac_cpp='$CPP $CPPFLAGS'
94732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94740 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
94741 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
94743 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
94745 for ac_func in fabsl
94747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94748 echo "$as_me:$LINENO: checking for $ac_func" >&5
94749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94750 if eval "test \"\${$as_ac_var+set}\" = set"; then
94751 echo $ECHO_N "(cached) $ECHO_C" >&6
94752 else
94753 if test x$gcc_no_link = xyes; then
94754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94756 { (exit 1); exit 1; }; }
94758 cat >conftest.$ac_ext <<_ACEOF
94759 /* confdefs.h. */
94760 _ACEOF
94761 cat confdefs.h >>conftest.$ac_ext
94762 cat >>conftest.$ac_ext <<_ACEOF
94763 /* end confdefs.h. */
94764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94766 #define $ac_func innocuous_$ac_func
94768 /* System header to define __stub macros and hopefully few prototypes,
94769 which can conflict with char $ac_func (); below.
94770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94771 <limits.h> exists even on freestanding compilers. */
94773 #ifdef __STDC__
94774 # include <limits.h>
94775 #else
94776 # include <assert.h>
94777 #endif
94779 #undef $ac_func
94781 /* Override any gcc2 internal prototype to avoid an error. */
94782 #ifdef __cplusplus
94783 extern "C"
94785 #endif
94786 /* We use char because int might match the return type of a gcc2
94787 builtin and then its argument prototype would still apply. */
94788 char $ac_func ();
94789 /* The GNU C library defines this for functions which it implements
94790 to always fail with ENOSYS. Some functions are actually named
94791 something starting with __ and the normal name is an alias. */
94792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94793 choke me
94794 #else
94795 char (*f) () = $ac_func;
94796 #endif
94797 #ifdef __cplusplus
94799 #endif
94802 main ()
94804 return f != $ac_func;
94806 return 0;
94808 _ACEOF
94809 rm -f conftest.$ac_objext conftest$ac_exeext
94810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94811 (eval $ac_link) 2>conftest.er1
94812 ac_status=$?
94813 grep -v '^ *+' conftest.er1 >conftest.err
94814 rm -f conftest.er1
94815 cat conftest.err >&5
94816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94817 (exit $ac_status); } &&
94818 { ac_try='test -z "$ac_c_werror_flag"
94819 || test ! -s conftest.err'
94820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94821 (eval $ac_try) 2>&5
94822 ac_status=$?
94823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94824 (exit $ac_status); }; } &&
94825 { ac_try='test -s conftest$ac_exeext'
94826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94827 (eval $ac_try) 2>&5
94828 ac_status=$?
94829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94830 (exit $ac_status); }; }; then
94831 eval "$as_ac_var=yes"
94832 else
94833 echo "$as_me: failed program was:" >&5
94834 sed 's/^/| /' conftest.$ac_ext >&5
94836 eval "$as_ac_var=no"
94838 rm -f conftest.err conftest.$ac_objext \
94839 conftest$ac_exeext conftest.$ac_ext
94841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94843 if test `eval echo '${'$as_ac_var'}'` = yes; then
94844 cat >>confdefs.h <<_ACEOF
94845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94846 _ACEOF
94849 done
94851 else
94853 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
94854 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
94855 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
94856 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
94857 echo $ECHO_N "(cached) $ECHO_C" >&6
94858 else
94862 ac_ext=cc
94863 ac_cpp='$CXXCPP $CPPFLAGS'
94864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94868 cat >conftest.$ac_ext <<_ACEOF
94869 /* confdefs.h. */
94870 _ACEOF
94871 cat confdefs.h >>conftest.$ac_ext
94872 cat >>conftest.$ac_ext <<_ACEOF
94873 /* end confdefs.h. */
94874 #include <math.h>
94875 #ifdef HAVE_IEEEFP_H
94876 #include <ieeefp.h>
94877 #endif
94880 main ()
94882 _fabsl(0);
94884 return 0;
94886 _ACEOF
94887 rm -f conftest.$ac_objext
94888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94889 (eval $ac_compile) 2>conftest.er1
94890 ac_status=$?
94891 grep -v '^ *+' conftest.er1 >conftest.err
94892 rm -f conftest.er1
94893 cat conftest.err >&5
94894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94895 (exit $ac_status); } &&
94896 { ac_try='test -z "$ac_cxx_werror_flag"
94897 || test ! -s conftest.err'
94898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94899 (eval $ac_try) 2>&5
94900 ac_status=$?
94901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94902 (exit $ac_status); }; } &&
94903 { ac_try='test -s conftest.$ac_objext'
94904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94905 (eval $ac_try) 2>&5
94906 ac_status=$?
94907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94908 (exit $ac_status); }; }; then
94909 glibcxx_cv_func__fabsl_use=yes
94910 else
94911 echo "$as_me: failed program was:" >&5
94912 sed 's/^/| /' conftest.$ac_ext >&5
94914 glibcxx_cv_func__fabsl_use=no
94916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94917 ac_ext=c
94918 ac_cpp='$CPP $CPPFLAGS'
94919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
94928 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
94930 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
94932 for ac_func in _fabsl
94934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94935 echo "$as_me:$LINENO: checking for $ac_func" >&5
94936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94937 if eval "test \"\${$as_ac_var+set}\" = set"; then
94938 echo $ECHO_N "(cached) $ECHO_C" >&6
94939 else
94940 if test x$gcc_no_link = xyes; then
94941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94943 { (exit 1); exit 1; }; }
94945 cat >conftest.$ac_ext <<_ACEOF
94946 /* confdefs.h. */
94947 _ACEOF
94948 cat confdefs.h >>conftest.$ac_ext
94949 cat >>conftest.$ac_ext <<_ACEOF
94950 /* end confdefs.h. */
94951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94953 #define $ac_func innocuous_$ac_func
94955 /* System header to define __stub macros and hopefully few prototypes,
94956 which can conflict with char $ac_func (); below.
94957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94958 <limits.h> exists even on freestanding compilers. */
94960 #ifdef __STDC__
94961 # include <limits.h>
94962 #else
94963 # include <assert.h>
94964 #endif
94966 #undef $ac_func
94968 /* Override any gcc2 internal prototype to avoid an error. */
94969 #ifdef __cplusplus
94970 extern "C"
94972 #endif
94973 /* We use char because int might match the return type of a gcc2
94974 builtin and then its argument prototype would still apply. */
94975 char $ac_func ();
94976 /* The GNU C library defines this for functions which it implements
94977 to always fail with ENOSYS. Some functions are actually named
94978 something starting with __ and the normal name is an alias. */
94979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94980 choke me
94981 #else
94982 char (*f) () = $ac_func;
94983 #endif
94984 #ifdef __cplusplus
94986 #endif
94989 main ()
94991 return f != $ac_func;
94993 return 0;
94995 _ACEOF
94996 rm -f conftest.$ac_objext conftest$ac_exeext
94997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94998 (eval $ac_link) 2>conftest.er1
94999 ac_status=$?
95000 grep -v '^ *+' conftest.er1 >conftest.err
95001 rm -f conftest.er1
95002 cat conftest.err >&5
95003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95004 (exit $ac_status); } &&
95005 { ac_try='test -z "$ac_c_werror_flag"
95006 || test ! -s conftest.err'
95007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95008 (eval $ac_try) 2>&5
95009 ac_status=$?
95010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95011 (exit $ac_status); }; } &&
95012 { ac_try='test -s conftest$ac_exeext'
95013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95014 (eval $ac_try) 2>&5
95015 ac_status=$?
95016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95017 (exit $ac_status); }; }; then
95018 eval "$as_ac_var=yes"
95019 else
95020 echo "$as_me: failed program was:" >&5
95021 sed 's/^/| /' conftest.$ac_ext >&5
95023 eval "$as_ac_var=no"
95025 rm -f conftest.err conftest.$ac_objext \
95026 conftest$ac_exeext conftest.$ac_ext
95028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95030 if test `eval echo '${'$as_ac_var'}'` = yes; then
95031 cat >>confdefs.h <<_ACEOF
95032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95033 _ACEOF
95036 done
95046 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
95047 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
95048 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
95049 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
95050 echo $ECHO_N "(cached) $ECHO_C" >&6
95051 else
95055 ac_ext=cc
95056 ac_cpp='$CXXCPP $CPPFLAGS'
95057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
95069 main ()
95071 fmodl(0, 0);
95073 return 0;
95075 _ACEOF
95076 rm -f conftest.$ac_objext
95077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95078 (eval $ac_compile) 2>conftest.er1
95079 ac_status=$?
95080 grep -v '^ *+' conftest.er1 >conftest.err
95081 rm -f conftest.er1
95082 cat conftest.err >&5
95083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95084 (exit $ac_status); } &&
95085 { ac_try='test -z "$ac_cxx_werror_flag"
95086 || test ! -s conftest.err'
95087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95088 (eval $ac_try) 2>&5
95089 ac_status=$?
95090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95091 (exit $ac_status); }; } &&
95092 { ac_try='test -s conftest.$ac_objext'
95093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95094 (eval $ac_try) 2>&5
95095 ac_status=$?
95096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95097 (exit $ac_status); }; }; then
95098 glibcxx_cv_func_fmodl_use=yes
95099 else
95100 echo "$as_me: failed program was:" >&5
95101 sed 's/^/| /' conftest.$ac_ext >&5
95103 glibcxx_cv_func_fmodl_use=no
95105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95106 ac_ext=c
95107 ac_cpp='$CPP $CPPFLAGS'
95108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
95117 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
95119 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
95121 for ac_func in fmodl
95123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95124 echo "$as_me:$LINENO: checking for $ac_func" >&5
95125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95126 if eval "test \"\${$as_ac_var+set}\" = set"; then
95127 echo $ECHO_N "(cached) $ECHO_C" >&6
95128 else
95129 if test x$gcc_no_link = xyes; then
95130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95132 { (exit 1); exit 1; }; }
95134 cat >conftest.$ac_ext <<_ACEOF
95135 /* confdefs.h. */
95136 _ACEOF
95137 cat confdefs.h >>conftest.$ac_ext
95138 cat >>conftest.$ac_ext <<_ACEOF
95139 /* end confdefs.h. */
95140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95142 #define $ac_func innocuous_$ac_func
95144 /* System header to define __stub macros and hopefully few prototypes,
95145 which can conflict with char $ac_func (); below.
95146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95147 <limits.h> exists even on freestanding compilers. */
95149 #ifdef __STDC__
95150 # include <limits.h>
95151 #else
95152 # include <assert.h>
95153 #endif
95155 #undef $ac_func
95157 /* Override any gcc2 internal prototype to avoid an error. */
95158 #ifdef __cplusplus
95159 extern "C"
95161 #endif
95162 /* We use char because int might match the return type of a gcc2
95163 builtin and then its argument prototype would still apply. */
95164 char $ac_func ();
95165 /* The GNU C library defines this for functions which it implements
95166 to always fail with ENOSYS. Some functions are actually named
95167 something starting with __ and the normal name is an alias. */
95168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95169 choke me
95170 #else
95171 char (*f) () = $ac_func;
95172 #endif
95173 #ifdef __cplusplus
95175 #endif
95178 main ()
95180 return f != $ac_func;
95182 return 0;
95184 _ACEOF
95185 rm -f conftest.$ac_objext conftest$ac_exeext
95186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95187 (eval $ac_link) 2>conftest.er1
95188 ac_status=$?
95189 grep -v '^ *+' conftest.er1 >conftest.err
95190 rm -f conftest.er1
95191 cat conftest.err >&5
95192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95193 (exit $ac_status); } &&
95194 { ac_try='test -z "$ac_c_werror_flag"
95195 || test ! -s conftest.err'
95196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95197 (eval $ac_try) 2>&5
95198 ac_status=$?
95199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95200 (exit $ac_status); }; } &&
95201 { ac_try='test -s conftest$ac_exeext'
95202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95203 (eval $ac_try) 2>&5
95204 ac_status=$?
95205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95206 (exit $ac_status); }; }; then
95207 eval "$as_ac_var=yes"
95208 else
95209 echo "$as_me: failed program was:" >&5
95210 sed 's/^/| /' conftest.$ac_ext >&5
95212 eval "$as_ac_var=no"
95214 rm -f conftest.err conftest.$ac_objext \
95215 conftest$ac_exeext conftest.$ac_ext
95217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95219 if test `eval echo '${'$as_ac_var'}'` = yes; then
95220 cat >>confdefs.h <<_ACEOF
95221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95222 _ACEOF
95225 done
95227 else
95229 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
95230 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
95231 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
95232 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
95233 echo $ECHO_N "(cached) $ECHO_C" >&6
95234 else
95238 ac_ext=cc
95239 ac_cpp='$CXXCPP $CPPFLAGS'
95240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
95252 main ()
95254 _fmodl(0, 0);
95256 return 0;
95258 _ACEOF
95259 rm -f conftest.$ac_objext
95260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95261 (eval $ac_compile) 2>conftest.er1
95262 ac_status=$?
95263 grep -v '^ *+' conftest.er1 >conftest.err
95264 rm -f conftest.er1
95265 cat conftest.err >&5
95266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95267 (exit $ac_status); } &&
95268 { ac_try='test -z "$ac_cxx_werror_flag"
95269 || test ! -s conftest.err'
95270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95271 (eval $ac_try) 2>&5
95272 ac_status=$?
95273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95274 (exit $ac_status); }; } &&
95275 { ac_try='test -s conftest.$ac_objext'
95276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95277 (eval $ac_try) 2>&5
95278 ac_status=$?
95279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95280 (exit $ac_status); }; }; then
95281 glibcxx_cv_func__fmodl_use=yes
95282 else
95283 echo "$as_me: failed program was:" >&5
95284 sed 's/^/| /' conftest.$ac_ext >&5
95286 glibcxx_cv_func__fmodl_use=no
95288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95289 ac_ext=c
95290 ac_cpp='$CPP $CPPFLAGS'
95291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
95300 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
95302 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
95304 for ac_func in _fmodl
95306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95307 echo "$as_me:$LINENO: checking for $ac_func" >&5
95308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95309 if eval "test \"\${$as_ac_var+set}\" = set"; then
95310 echo $ECHO_N "(cached) $ECHO_C" >&6
95311 else
95312 if test x$gcc_no_link = xyes; then
95313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95315 { (exit 1); exit 1; }; }
95317 cat >conftest.$ac_ext <<_ACEOF
95318 /* confdefs.h. */
95319 _ACEOF
95320 cat confdefs.h >>conftest.$ac_ext
95321 cat >>conftest.$ac_ext <<_ACEOF
95322 /* end confdefs.h. */
95323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95325 #define $ac_func innocuous_$ac_func
95327 /* System header to define __stub macros and hopefully few prototypes,
95328 which can conflict with char $ac_func (); below.
95329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95330 <limits.h> exists even on freestanding compilers. */
95332 #ifdef __STDC__
95333 # include <limits.h>
95334 #else
95335 # include <assert.h>
95336 #endif
95338 #undef $ac_func
95340 /* Override any gcc2 internal prototype to avoid an error. */
95341 #ifdef __cplusplus
95342 extern "C"
95344 #endif
95345 /* We use char because int might match the return type of a gcc2
95346 builtin and then its argument prototype would still apply. */
95347 char $ac_func ();
95348 /* The GNU C library defines this for functions which it implements
95349 to always fail with ENOSYS. Some functions are actually named
95350 something starting with __ and the normal name is an alias. */
95351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95352 choke me
95353 #else
95354 char (*f) () = $ac_func;
95355 #endif
95356 #ifdef __cplusplus
95358 #endif
95361 main ()
95363 return f != $ac_func;
95365 return 0;
95367 _ACEOF
95368 rm -f conftest.$ac_objext conftest$ac_exeext
95369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95370 (eval $ac_link) 2>conftest.er1
95371 ac_status=$?
95372 grep -v '^ *+' conftest.er1 >conftest.err
95373 rm -f conftest.er1
95374 cat conftest.err >&5
95375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95376 (exit $ac_status); } &&
95377 { ac_try='test -z "$ac_c_werror_flag"
95378 || test ! -s conftest.err'
95379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95380 (eval $ac_try) 2>&5
95381 ac_status=$?
95382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95383 (exit $ac_status); }; } &&
95384 { ac_try='test -s conftest$ac_exeext'
95385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95386 (eval $ac_try) 2>&5
95387 ac_status=$?
95388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95389 (exit $ac_status); }; }; then
95390 eval "$as_ac_var=yes"
95391 else
95392 echo "$as_me: failed program was:" >&5
95393 sed 's/^/| /' conftest.$ac_ext >&5
95395 eval "$as_ac_var=no"
95397 rm -f conftest.err conftest.$ac_objext \
95398 conftest$ac_exeext conftest.$ac_ext
95400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95402 if test `eval echo '${'$as_ac_var'}'` = yes; then
95403 cat >>confdefs.h <<_ACEOF
95404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95405 _ACEOF
95408 done
95418 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
95419 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
95420 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
95421 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
95422 echo $ECHO_N "(cached) $ECHO_C" >&6
95423 else
95427 ac_ext=cc
95428 ac_cpp='$CXXCPP $CPPFLAGS'
95429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
95441 main ()
95443 frexpl(0, 0);
95445 return 0;
95447 _ACEOF
95448 rm -f conftest.$ac_objext
95449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95450 (eval $ac_compile) 2>conftest.er1
95451 ac_status=$?
95452 grep -v '^ *+' conftest.er1 >conftest.err
95453 rm -f conftest.er1
95454 cat conftest.err >&5
95455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95456 (exit $ac_status); } &&
95457 { ac_try='test -z "$ac_cxx_werror_flag"
95458 || test ! -s conftest.err'
95459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95460 (eval $ac_try) 2>&5
95461 ac_status=$?
95462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95463 (exit $ac_status); }; } &&
95464 { ac_try='test -s conftest.$ac_objext'
95465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95466 (eval $ac_try) 2>&5
95467 ac_status=$?
95468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95469 (exit $ac_status); }; }; then
95470 glibcxx_cv_func_frexpl_use=yes
95471 else
95472 echo "$as_me: failed program was:" >&5
95473 sed 's/^/| /' conftest.$ac_ext >&5
95475 glibcxx_cv_func_frexpl_use=no
95477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95478 ac_ext=c
95479 ac_cpp='$CPP $CPPFLAGS'
95480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
95489 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
95491 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
95493 for ac_func in frexpl
95495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95496 echo "$as_me:$LINENO: checking for $ac_func" >&5
95497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95498 if eval "test \"\${$as_ac_var+set}\" = set"; then
95499 echo $ECHO_N "(cached) $ECHO_C" >&6
95500 else
95501 if test x$gcc_no_link = xyes; then
95502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95504 { (exit 1); exit 1; }; }
95506 cat >conftest.$ac_ext <<_ACEOF
95507 /* confdefs.h. */
95508 _ACEOF
95509 cat confdefs.h >>conftest.$ac_ext
95510 cat >>conftest.$ac_ext <<_ACEOF
95511 /* end confdefs.h. */
95512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95514 #define $ac_func innocuous_$ac_func
95516 /* System header to define __stub macros and hopefully few prototypes,
95517 which can conflict with char $ac_func (); below.
95518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95519 <limits.h> exists even on freestanding compilers. */
95521 #ifdef __STDC__
95522 # include <limits.h>
95523 #else
95524 # include <assert.h>
95525 #endif
95527 #undef $ac_func
95529 /* Override any gcc2 internal prototype to avoid an error. */
95530 #ifdef __cplusplus
95531 extern "C"
95533 #endif
95534 /* We use char because int might match the return type of a gcc2
95535 builtin and then its argument prototype would still apply. */
95536 char $ac_func ();
95537 /* The GNU C library defines this for functions which it implements
95538 to always fail with ENOSYS. Some functions are actually named
95539 something starting with __ and the normal name is an alias. */
95540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95541 choke me
95542 #else
95543 char (*f) () = $ac_func;
95544 #endif
95545 #ifdef __cplusplus
95547 #endif
95550 main ()
95552 return f != $ac_func;
95554 return 0;
95556 _ACEOF
95557 rm -f conftest.$ac_objext conftest$ac_exeext
95558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95559 (eval $ac_link) 2>conftest.er1
95560 ac_status=$?
95561 grep -v '^ *+' conftest.er1 >conftest.err
95562 rm -f conftest.er1
95563 cat conftest.err >&5
95564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95565 (exit $ac_status); } &&
95566 { ac_try='test -z "$ac_c_werror_flag"
95567 || test ! -s conftest.err'
95568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95569 (eval $ac_try) 2>&5
95570 ac_status=$?
95571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95572 (exit $ac_status); }; } &&
95573 { ac_try='test -s conftest$ac_exeext'
95574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95575 (eval $ac_try) 2>&5
95576 ac_status=$?
95577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95578 (exit $ac_status); }; }; then
95579 eval "$as_ac_var=yes"
95580 else
95581 echo "$as_me: failed program was:" >&5
95582 sed 's/^/| /' conftest.$ac_ext >&5
95584 eval "$as_ac_var=no"
95586 rm -f conftest.err conftest.$ac_objext \
95587 conftest$ac_exeext conftest.$ac_ext
95589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95591 if test `eval echo '${'$as_ac_var'}'` = yes; then
95592 cat >>confdefs.h <<_ACEOF
95593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95594 _ACEOF
95597 done
95599 else
95601 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
95602 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
95603 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
95604 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
95605 echo $ECHO_N "(cached) $ECHO_C" >&6
95606 else
95610 ac_ext=cc
95611 ac_cpp='$CXXCPP $CPPFLAGS'
95612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
95624 main ()
95626 _frexpl(0, 0);
95628 return 0;
95630 _ACEOF
95631 rm -f conftest.$ac_objext
95632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95633 (eval $ac_compile) 2>conftest.er1
95634 ac_status=$?
95635 grep -v '^ *+' conftest.er1 >conftest.err
95636 rm -f conftest.er1
95637 cat conftest.err >&5
95638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95639 (exit $ac_status); } &&
95640 { ac_try='test -z "$ac_cxx_werror_flag"
95641 || test ! -s conftest.err'
95642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95643 (eval $ac_try) 2>&5
95644 ac_status=$?
95645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95646 (exit $ac_status); }; } &&
95647 { ac_try='test -s conftest.$ac_objext'
95648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95649 (eval $ac_try) 2>&5
95650 ac_status=$?
95651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95652 (exit $ac_status); }; }; then
95653 glibcxx_cv_func__frexpl_use=yes
95654 else
95655 echo "$as_me: failed program was:" >&5
95656 sed 's/^/| /' conftest.$ac_ext >&5
95658 glibcxx_cv_func__frexpl_use=no
95660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95661 ac_ext=c
95662 ac_cpp='$CPP $CPPFLAGS'
95663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
95672 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
95674 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
95676 for ac_func in _frexpl
95678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95679 echo "$as_me:$LINENO: checking for $ac_func" >&5
95680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95681 if eval "test \"\${$as_ac_var+set}\" = set"; then
95682 echo $ECHO_N "(cached) $ECHO_C" >&6
95683 else
95684 if test x$gcc_no_link = xyes; then
95685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95687 { (exit 1); exit 1; }; }
95689 cat >conftest.$ac_ext <<_ACEOF
95690 /* confdefs.h. */
95691 _ACEOF
95692 cat confdefs.h >>conftest.$ac_ext
95693 cat >>conftest.$ac_ext <<_ACEOF
95694 /* end confdefs.h. */
95695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95697 #define $ac_func innocuous_$ac_func
95699 /* System header to define __stub macros and hopefully few prototypes,
95700 which can conflict with char $ac_func (); below.
95701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95702 <limits.h> exists even on freestanding compilers. */
95704 #ifdef __STDC__
95705 # include <limits.h>
95706 #else
95707 # include <assert.h>
95708 #endif
95710 #undef $ac_func
95712 /* Override any gcc2 internal prototype to avoid an error. */
95713 #ifdef __cplusplus
95714 extern "C"
95716 #endif
95717 /* We use char because int might match the return type of a gcc2
95718 builtin and then its argument prototype would still apply. */
95719 char $ac_func ();
95720 /* The GNU C library defines this for functions which it implements
95721 to always fail with ENOSYS. Some functions are actually named
95722 something starting with __ and the normal name is an alias. */
95723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95724 choke me
95725 #else
95726 char (*f) () = $ac_func;
95727 #endif
95728 #ifdef __cplusplus
95730 #endif
95733 main ()
95735 return f != $ac_func;
95737 return 0;
95739 _ACEOF
95740 rm -f conftest.$ac_objext conftest$ac_exeext
95741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95742 (eval $ac_link) 2>conftest.er1
95743 ac_status=$?
95744 grep -v '^ *+' conftest.er1 >conftest.err
95745 rm -f conftest.er1
95746 cat conftest.err >&5
95747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95748 (exit $ac_status); } &&
95749 { ac_try='test -z "$ac_c_werror_flag"
95750 || test ! -s conftest.err'
95751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95752 (eval $ac_try) 2>&5
95753 ac_status=$?
95754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95755 (exit $ac_status); }; } &&
95756 { ac_try='test -s conftest$ac_exeext'
95757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95758 (eval $ac_try) 2>&5
95759 ac_status=$?
95760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95761 (exit $ac_status); }; }; then
95762 eval "$as_ac_var=yes"
95763 else
95764 echo "$as_me: failed program was:" >&5
95765 sed 's/^/| /' conftest.$ac_ext >&5
95767 eval "$as_ac_var=no"
95769 rm -f conftest.err conftest.$ac_objext \
95770 conftest$ac_exeext conftest.$ac_ext
95772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95774 if test `eval echo '${'$as_ac_var'}'` = yes; then
95775 cat >>confdefs.h <<_ACEOF
95776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95777 _ACEOF
95780 done
95790 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
95791 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
95792 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
95793 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
95794 echo $ECHO_N "(cached) $ECHO_C" >&6
95795 else
95799 ac_ext=cc
95800 ac_cpp='$CXXCPP $CPPFLAGS'
95801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
95813 main ()
95815 hypotl(0, 0);
95817 return 0;
95819 _ACEOF
95820 rm -f conftest.$ac_objext
95821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95822 (eval $ac_compile) 2>conftest.er1
95823 ac_status=$?
95824 grep -v '^ *+' conftest.er1 >conftest.err
95825 rm -f conftest.er1
95826 cat conftest.err >&5
95827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95828 (exit $ac_status); } &&
95829 { ac_try='test -z "$ac_cxx_werror_flag"
95830 || test ! -s conftest.err'
95831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95832 (eval $ac_try) 2>&5
95833 ac_status=$?
95834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95835 (exit $ac_status); }; } &&
95836 { ac_try='test -s conftest.$ac_objext'
95837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95838 (eval $ac_try) 2>&5
95839 ac_status=$?
95840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95841 (exit $ac_status); }; }; then
95842 glibcxx_cv_func_hypotl_use=yes
95843 else
95844 echo "$as_me: failed program was:" >&5
95845 sed 's/^/| /' conftest.$ac_ext >&5
95847 glibcxx_cv_func_hypotl_use=no
95849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95850 ac_ext=c
95851 ac_cpp='$CPP $CPPFLAGS'
95852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
95861 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
95863 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
95865 for ac_func in hypotl
95867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95868 echo "$as_me:$LINENO: checking for $ac_func" >&5
95869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95870 if eval "test \"\${$as_ac_var+set}\" = set"; then
95871 echo $ECHO_N "(cached) $ECHO_C" >&6
95872 else
95873 if test x$gcc_no_link = xyes; then
95874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95876 { (exit 1); exit 1; }; }
95878 cat >conftest.$ac_ext <<_ACEOF
95879 /* confdefs.h. */
95880 _ACEOF
95881 cat confdefs.h >>conftest.$ac_ext
95882 cat >>conftest.$ac_ext <<_ACEOF
95883 /* end confdefs.h. */
95884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95886 #define $ac_func innocuous_$ac_func
95888 /* System header to define __stub macros and hopefully few prototypes,
95889 which can conflict with char $ac_func (); below.
95890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95891 <limits.h> exists even on freestanding compilers. */
95893 #ifdef __STDC__
95894 # include <limits.h>
95895 #else
95896 # include <assert.h>
95897 #endif
95899 #undef $ac_func
95901 /* Override any gcc2 internal prototype to avoid an error. */
95902 #ifdef __cplusplus
95903 extern "C"
95905 #endif
95906 /* We use char because int might match the return type of a gcc2
95907 builtin and then its argument prototype would still apply. */
95908 char $ac_func ();
95909 /* The GNU C library defines this for functions which it implements
95910 to always fail with ENOSYS. Some functions are actually named
95911 something starting with __ and the normal name is an alias. */
95912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95913 choke me
95914 #else
95915 char (*f) () = $ac_func;
95916 #endif
95917 #ifdef __cplusplus
95919 #endif
95922 main ()
95924 return f != $ac_func;
95926 return 0;
95928 _ACEOF
95929 rm -f conftest.$ac_objext conftest$ac_exeext
95930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95931 (eval $ac_link) 2>conftest.er1
95932 ac_status=$?
95933 grep -v '^ *+' conftest.er1 >conftest.err
95934 rm -f conftest.er1
95935 cat conftest.err >&5
95936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95937 (exit $ac_status); } &&
95938 { ac_try='test -z "$ac_c_werror_flag"
95939 || test ! -s conftest.err'
95940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95941 (eval $ac_try) 2>&5
95942 ac_status=$?
95943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95944 (exit $ac_status); }; } &&
95945 { ac_try='test -s conftest$ac_exeext'
95946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95947 (eval $ac_try) 2>&5
95948 ac_status=$?
95949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95950 (exit $ac_status); }; }; then
95951 eval "$as_ac_var=yes"
95952 else
95953 echo "$as_me: failed program was:" >&5
95954 sed 's/^/| /' conftest.$ac_ext >&5
95956 eval "$as_ac_var=no"
95958 rm -f conftest.err conftest.$ac_objext \
95959 conftest$ac_exeext conftest.$ac_ext
95961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95963 if test `eval echo '${'$as_ac_var'}'` = yes; then
95964 cat >>confdefs.h <<_ACEOF
95965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95966 _ACEOF
95969 done
95971 else
95973 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
95974 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
95975 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
95976 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
95977 echo $ECHO_N "(cached) $ECHO_C" >&6
95978 else
95982 ac_ext=cc
95983 ac_cpp='$CXXCPP $CPPFLAGS'
95984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
95996 main ()
95998 _hypotl(0, 0);
96000 return 0;
96002 _ACEOF
96003 rm -f conftest.$ac_objext
96004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96005 (eval $ac_compile) 2>conftest.er1
96006 ac_status=$?
96007 grep -v '^ *+' conftest.er1 >conftest.err
96008 rm -f conftest.er1
96009 cat conftest.err >&5
96010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96011 (exit $ac_status); } &&
96012 { ac_try='test -z "$ac_cxx_werror_flag"
96013 || test ! -s conftest.err'
96014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96015 (eval $ac_try) 2>&5
96016 ac_status=$?
96017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96018 (exit $ac_status); }; } &&
96019 { ac_try='test -s conftest.$ac_objext'
96020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96021 (eval $ac_try) 2>&5
96022 ac_status=$?
96023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96024 (exit $ac_status); }; }; then
96025 glibcxx_cv_func__hypotl_use=yes
96026 else
96027 echo "$as_me: failed program was:" >&5
96028 sed 's/^/| /' conftest.$ac_ext >&5
96030 glibcxx_cv_func__hypotl_use=no
96032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96033 ac_ext=c
96034 ac_cpp='$CPP $CPPFLAGS'
96035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
96044 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
96046 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
96048 for ac_func in _hypotl
96050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96051 echo "$as_me:$LINENO: checking for $ac_func" >&5
96052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96053 if eval "test \"\${$as_ac_var+set}\" = set"; then
96054 echo $ECHO_N "(cached) $ECHO_C" >&6
96055 else
96056 if test x$gcc_no_link = xyes; then
96057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96059 { (exit 1); exit 1; }; }
96061 cat >conftest.$ac_ext <<_ACEOF
96062 /* confdefs.h. */
96063 _ACEOF
96064 cat confdefs.h >>conftest.$ac_ext
96065 cat >>conftest.$ac_ext <<_ACEOF
96066 /* end confdefs.h. */
96067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96069 #define $ac_func innocuous_$ac_func
96071 /* System header to define __stub macros and hopefully few prototypes,
96072 which can conflict with char $ac_func (); below.
96073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96074 <limits.h> exists even on freestanding compilers. */
96076 #ifdef __STDC__
96077 # include <limits.h>
96078 #else
96079 # include <assert.h>
96080 #endif
96082 #undef $ac_func
96084 /* Override any gcc2 internal prototype to avoid an error. */
96085 #ifdef __cplusplus
96086 extern "C"
96088 #endif
96089 /* We use char because int might match the return type of a gcc2
96090 builtin and then its argument prototype would still apply. */
96091 char $ac_func ();
96092 /* The GNU C library defines this for functions which it implements
96093 to always fail with ENOSYS. Some functions are actually named
96094 something starting with __ and the normal name is an alias. */
96095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96096 choke me
96097 #else
96098 char (*f) () = $ac_func;
96099 #endif
96100 #ifdef __cplusplus
96102 #endif
96105 main ()
96107 return f != $ac_func;
96109 return 0;
96111 _ACEOF
96112 rm -f conftest.$ac_objext conftest$ac_exeext
96113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96114 (eval $ac_link) 2>conftest.er1
96115 ac_status=$?
96116 grep -v '^ *+' conftest.er1 >conftest.err
96117 rm -f conftest.er1
96118 cat conftest.err >&5
96119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96120 (exit $ac_status); } &&
96121 { ac_try='test -z "$ac_c_werror_flag"
96122 || test ! -s conftest.err'
96123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96124 (eval $ac_try) 2>&5
96125 ac_status=$?
96126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96127 (exit $ac_status); }; } &&
96128 { ac_try='test -s conftest$ac_exeext'
96129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96130 (eval $ac_try) 2>&5
96131 ac_status=$?
96132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96133 (exit $ac_status); }; }; then
96134 eval "$as_ac_var=yes"
96135 else
96136 echo "$as_me: failed program was:" >&5
96137 sed 's/^/| /' conftest.$ac_ext >&5
96139 eval "$as_ac_var=no"
96141 rm -f conftest.err conftest.$ac_objext \
96142 conftest$ac_exeext conftest.$ac_ext
96144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96146 if test `eval echo '${'$as_ac_var'}'` = yes; then
96147 cat >>confdefs.h <<_ACEOF
96148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96149 _ACEOF
96152 done
96162 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
96163 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
96164 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
96165 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
96166 echo $ECHO_N "(cached) $ECHO_C" >&6
96167 else
96171 ac_ext=cc
96172 ac_cpp='$CXXCPP $CPPFLAGS'
96173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
96185 main ()
96187 ldexpl(0, 0);
96189 return 0;
96191 _ACEOF
96192 rm -f conftest.$ac_objext
96193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96194 (eval $ac_compile) 2>conftest.er1
96195 ac_status=$?
96196 grep -v '^ *+' conftest.er1 >conftest.err
96197 rm -f conftest.er1
96198 cat conftest.err >&5
96199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96200 (exit $ac_status); } &&
96201 { ac_try='test -z "$ac_cxx_werror_flag"
96202 || test ! -s conftest.err'
96203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96204 (eval $ac_try) 2>&5
96205 ac_status=$?
96206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96207 (exit $ac_status); }; } &&
96208 { ac_try='test -s conftest.$ac_objext'
96209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96210 (eval $ac_try) 2>&5
96211 ac_status=$?
96212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96213 (exit $ac_status); }; }; then
96214 glibcxx_cv_func_ldexpl_use=yes
96215 else
96216 echo "$as_me: failed program was:" >&5
96217 sed 's/^/| /' conftest.$ac_ext >&5
96219 glibcxx_cv_func_ldexpl_use=no
96221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96222 ac_ext=c
96223 ac_cpp='$CPP $CPPFLAGS'
96224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
96233 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
96235 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
96237 for ac_func in ldexpl
96239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96240 echo "$as_me:$LINENO: checking for $ac_func" >&5
96241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96242 if eval "test \"\${$as_ac_var+set}\" = set"; then
96243 echo $ECHO_N "(cached) $ECHO_C" >&6
96244 else
96245 if test x$gcc_no_link = xyes; then
96246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96248 { (exit 1); exit 1; }; }
96250 cat >conftest.$ac_ext <<_ACEOF
96251 /* confdefs.h. */
96252 _ACEOF
96253 cat confdefs.h >>conftest.$ac_ext
96254 cat >>conftest.$ac_ext <<_ACEOF
96255 /* end confdefs.h. */
96256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96258 #define $ac_func innocuous_$ac_func
96260 /* System header to define __stub macros and hopefully few prototypes,
96261 which can conflict with char $ac_func (); below.
96262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96263 <limits.h> exists even on freestanding compilers. */
96265 #ifdef __STDC__
96266 # include <limits.h>
96267 #else
96268 # include <assert.h>
96269 #endif
96271 #undef $ac_func
96273 /* Override any gcc2 internal prototype to avoid an error. */
96274 #ifdef __cplusplus
96275 extern "C"
96277 #endif
96278 /* We use char because int might match the return type of a gcc2
96279 builtin and then its argument prototype would still apply. */
96280 char $ac_func ();
96281 /* The GNU C library defines this for functions which it implements
96282 to always fail with ENOSYS. Some functions are actually named
96283 something starting with __ and the normal name is an alias. */
96284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96285 choke me
96286 #else
96287 char (*f) () = $ac_func;
96288 #endif
96289 #ifdef __cplusplus
96291 #endif
96294 main ()
96296 return f != $ac_func;
96298 return 0;
96300 _ACEOF
96301 rm -f conftest.$ac_objext conftest$ac_exeext
96302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96303 (eval $ac_link) 2>conftest.er1
96304 ac_status=$?
96305 grep -v '^ *+' conftest.er1 >conftest.err
96306 rm -f conftest.er1
96307 cat conftest.err >&5
96308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96309 (exit $ac_status); } &&
96310 { ac_try='test -z "$ac_c_werror_flag"
96311 || test ! -s conftest.err'
96312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96313 (eval $ac_try) 2>&5
96314 ac_status=$?
96315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96316 (exit $ac_status); }; } &&
96317 { ac_try='test -s conftest$ac_exeext'
96318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96319 (eval $ac_try) 2>&5
96320 ac_status=$?
96321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96322 (exit $ac_status); }; }; then
96323 eval "$as_ac_var=yes"
96324 else
96325 echo "$as_me: failed program was:" >&5
96326 sed 's/^/| /' conftest.$ac_ext >&5
96328 eval "$as_ac_var=no"
96330 rm -f conftest.err conftest.$ac_objext \
96331 conftest$ac_exeext conftest.$ac_ext
96333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96335 if test `eval echo '${'$as_ac_var'}'` = yes; then
96336 cat >>confdefs.h <<_ACEOF
96337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96338 _ACEOF
96341 done
96343 else
96345 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
96346 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
96347 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
96348 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
96349 echo $ECHO_N "(cached) $ECHO_C" >&6
96350 else
96354 ac_ext=cc
96355 ac_cpp='$CXXCPP $CPPFLAGS'
96356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
96368 main ()
96370 _ldexpl(0, 0);
96372 return 0;
96374 _ACEOF
96375 rm -f conftest.$ac_objext
96376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96377 (eval $ac_compile) 2>conftest.er1
96378 ac_status=$?
96379 grep -v '^ *+' conftest.er1 >conftest.err
96380 rm -f conftest.er1
96381 cat conftest.err >&5
96382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96383 (exit $ac_status); } &&
96384 { ac_try='test -z "$ac_cxx_werror_flag"
96385 || test ! -s conftest.err'
96386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96387 (eval $ac_try) 2>&5
96388 ac_status=$?
96389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96390 (exit $ac_status); }; } &&
96391 { ac_try='test -s conftest.$ac_objext'
96392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96393 (eval $ac_try) 2>&5
96394 ac_status=$?
96395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96396 (exit $ac_status); }; }; then
96397 glibcxx_cv_func__ldexpl_use=yes
96398 else
96399 echo "$as_me: failed program was:" >&5
96400 sed 's/^/| /' conftest.$ac_ext >&5
96402 glibcxx_cv_func__ldexpl_use=no
96404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96405 ac_ext=c
96406 ac_cpp='$CPP $CPPFLAGS'
96407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
96416 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
96418 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
96420 for ac_func in _ldexpl
96422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96423 echo "$as_me:$LINENO: checking for $ac_func" >&5
96424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96425 if eval "test \"\${$as_ac_var+set}\" = set"; then
96426 echo $ECHO_N "(cached) $ECHO_C" >&6
96427 else
96428 if test x$gcc_no_link = xyes; then
96429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96431 { (exit 1); exit 1; }; }
96433 cat >conftest.$ac_ext <<_ACEOF
96434 /* confdefs.h. */
96435 _ACEOF
96436 cat confdefs.h >>conftest.$ac_ext
96437 cat >>conftest.$ac_ext <<_ACEOF
96438 /* end confdefs.h. */
96439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96441 #define $ac_func innocuous_$ac_func
96443 /* System header to define __stub macros and hopefully few prototypes,
96444 which can conflict with char $ac_func (); below.
96445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96446 <limits.h> exists even on freestanding compilers. */
96448 #ifdef __STDC__
96449 # include <limits.h>
96450 #else
96451 # include <assert.h>
96452 #endif
96454 #undef $ac_func
96456 /* Override any gcc2 internal prototype to avoid an error. */
96457 #ifdef __cplusplus
96458 extern "C"
96460 #endif
96461 /* We use char because int might match the return type of a gcc2
96462 builtin and then its argument prototype would still apply. */
96463 char $ac_func ();
96464 /* The GNU C library defines this for functions which it implements
96465 to always fail with ENOSYS. Some functions are actually named
96466 something starting with __ and the normal name is an alias. */
96467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96468 choke me
96469 #else
96470 char (*f) () = $ac_func;
96471 #endif
96472 #ifdef __cplusplus
96474 #endif
96477 main ()
96479 return f != $ac_func;
96481 return 0;
96483 _ACEOF
96484 rm -f conftest.$ac_objext conftest$ac_exeext
96485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96486 (eval $ac_link) 2>conftest.er1
96487 ac_status=$?
96488 grep -v '^ *+' conftest.er1 >conftest.err
96489 rm -f conftest.er1
96490 cat conftest.err >&5
96491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96492 (exit $ac_status); } &&
96493 { ac_try='test -z "$ac_c_werror_flag"
96494 || test ! -s conftest.err'
96495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96496 (eval $ac_try) 2>&5
96497 ac_status=$?
96498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96499 (exit $ac_status); }; } &&
96500 { ac_try='test -s conftest$ac_exeext'
96501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96502 (eval $ac_try) 2>&5
96503 ac_status=$?
96504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96505 (exit $ac_status); }; }; then
96506 eval "$as_ac_var=yes"
96507 else
96508 echo "$as_me: failed program was:" >&5
96509 sed 's/^/| /' conftest.$ac_ext >&5
96511 eval "$as_ac_var=no"
96513 rm -f conftest.err conftest.$ac_objext \
96514 conftest$ac_exeext conftest.$ac_ext
96516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96518 if test `eval echo '${'$as_ac_var'}'` = yes; then
96519 cat >>confdefs.h <<_ACEOF
96520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96521 _ACEOF
96524 done
96534 echo "$as_me:$LINENO: checking for logl declaration" >&5
96535 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
96536 if test x${glibcxx_cv_func_logl_use+set} != xset; then
96537 if test "${glibcxx_cv_func_logl_use+set}" = set; then
96538 echo $ECHO_N "(cached) $ECHO_C" >&6
96539 else
96543 ac_ext=cc
96544 ac_cpp='$CXXCPP $CPPFLAGS'
96545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96549 cat >conftest.$ac_ext <<_ACEOF
96550 /* confdefs.h. */
96551 _ACEOF
96552 cat confdefs.h >>conftest.$ac_ext
96553 cat >>conftest.$ac_ext <<_ACEOF
96554 /* end confdefs.h. */
96555 #include <math.h>
96556 #ifdef HAVE_IEEEFP_H
96557 #include <ieeefp.h>
96558 #endif
96561 main ()
96563 logl(0);
96565 return 0;
96567 _ACEOF
96568 rm -f conftest.$ac_objext
96569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96570 (eval $ac_compile) 2>conftest.er1
96571 ac_status=$?
96572 grep -v '^ *+' conftest.er1 >conftest.err
96573 rm -f conftest.er1
96574 cat conftest.err >&5
96575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96576 (exit $ac_status); } &&
96577 { ac_try='test -z "$ac_cxx_werror_flag"
96578 || test ! -s conftest.err'
96579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96580 (eval $ac_try) 2>&5
96581 ac_status=$?
96582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96583 (exit $ac_status); }; } &&
96584 { ac_try='test -s conftest.$ac_objext'
96585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96586 (eval $ac_try) 2>&5
96587 ac_status=$?
96588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96589 (exit $ac_status); }; }; then
96590 glibcxx_cv_func_logl_use=yes
96591 else
96592 echo "$as_me: failed program was:" >&5
96593 sed 's/^/| /' conftest.$ac_ext >&5
96595 glibcxx_cv_func_logl_use=no
96597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96598 ac_ext=c
96599 ac_cpp='$CPP $CPPFLAGS'
96600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96608 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
96609 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
96611 if test x$glibcxx_cv_func_logl_use = x"yes"; then
96613 for ac_func in logl
96615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96616 echo "$as_me:$LINENO: checking for $ac_func" >&5
96617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96618 if eval "test \"\${$as_ac_var+set}\" = set"; then
96619 echo $ECHO_N "(cached) $ECHO_C" >&6
96620 else
96621 if test x$gcc_no_link = xyes; then
96622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96624 { (exit 1); exit 1; }; }
96626 cat >conftest.$ac_ext <<_ACEOF
96627 /* confdefs.h. */
96628 _ACEOF
96629 cat confdefs.h >>conftest.$ac_ext
96630 cat >>conftest.$ac_ext <<_ACEOF
96631 /* end confdefs.h. */
96632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96634 #define $ac_func innocuous_$ac_func
96636 /* System header to define __stub macros and hopefully few prototypes,
96637 which can conflict with char $ac_func (); below.
96638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96639 <limits.h> exists even on freestanding compilers. */
96641 #ifdef __STDC__
96642 # include <limits.h>
96643 #else
96644 # include <assert.h>
96645 #endif
96647 #undef $ac_func
96649 /* Override any gcc2 internal prototype to avoid an error. */
96650 #ifdef __cplusplus
96651 extern "C"
96653 #endif
96654 /* We use char because int might match the return type of a gcc2
96655 builtin and then its argument prototype would still apply. */
96656 char $ac_func ();
96657 /* The GNU C library defines this for functions which it implements
96658 to always fail with ENOSYS. Some functions are actually named
96659 something starting with __ and the normal name is an alias. */
96660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96661 choke me
96662 #else
96663 char (*f) () = $ac_func;
96664 #endif
96665 #ifdef __cplusplus
96667 #endif
96670 main ()
96672 return f != $ac_func;
96674 return 0;
96676 _ACEOF
96677 rm -f conftest.$ac_objext conftest$ac_exeext
96678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96679 (eval $ac_link) 2>conftest.er1
96680 ac_status=$?
96681 grep -v '^ *+' conftest.er1 >conftest.err
96682 rm -f conftest.er1
96683 cat conftest.err >&5
96684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96685 (exit $ac_status); } &&
96686 { ac_try='test -z "$ac_c_werror_flag"
96687 || test ! -s conftest.err'
96688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96689 (eval $ac_try) 2>&5
96690 ac_status=$?
96691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96692 (exit $ac_status); }; } &&
96693 { ac_try='test -s conftest$ac_exeext'
96694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96695 (eval $ac_try) 2>&5
96696 ac_status=$?
96697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96698 (exit $ac_status); }; }; then
96699 eval "$as_ac_var=yes"
96700 else
96701 echo "$as_me: failed program was:" >&5
96702 sed 's/^/| /' conftest.$ac_ext >&5
96704 eval "$as_ac_var=no"
96706 rm -f conftest.err conftest.$ac_objext \
96707 conftest$ac_exeext conftest.$ac_ext
96709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96711 if test `eval echo '${'$as_ac_var'}'` = yes; then
96712 cat >>confdefs.h <<_ACEOF
96713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96714 _ACEOF
96717 done
96719 else
96721 echo "$as_me:$LINENO: checking for _logl declaration" >&5
96722 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
96723 if test x${glibcxx_cv_func__logl_use+set} != xset; then
96724 if test "${glibcxx_cv_func__logl_use+set}" = set; then
96725 echo $ECHO_N "(cached) $ECHO_C" >&6
96726 else
96730 ac_ext=cc
96731 ac_cpp='$CXXCPP $CPPFLAGS'
96732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96736 cat >conftest.$ac_ext <<_ACEOF
96737 /* confdefs.h. */
96738 _ACEOF
96739 cat confdefs.h >>conftest.$ac_ext
96740 cat >>conftest.$ac_ext <<_ACEOF
96741 /* end confdefs.h. */
96742 #include <math.h>
96743 #ifdef HAVE_IEEEFP_H
96744 #include <ieeefp.h>
96745 #endif
96748 main ()
96750 _logl(0);
96752 return 0;
96754 _ACEOF
96755 rm -f conftest.$ac_objext
96756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96757 (eval $ac_compile) 2>conftest.er1
96758 ac_status=$?
96759 grep -v '^ *+' conftest.er1 >conftest.err
96760 rm -f conftest.er1
96761 cat conftest.err >&5
96762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96763 (exit $ac_status); } &&
96764 { ac_try='test -z "$ac_cxx_werror_flag"
96765 || test ! -s conftest.err'
96766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96767 (eval $ac_try) 2>&5
96768 ac_status=$?
96769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96770 (exit $ac_status); }; } &&
96771 { ac_try='test -s conftest.$ac_objext'
96772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96773 (eval $ac_try) 2>&5
96774 ac_status=$?
96775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96776 (exit $ac_status); }; }; then
96777 glibcxx_cv_func__logl_use=yes
96778 else
96779 echo "$as_me: failed program was:" >&5
96780 sed 's/^/| /' conftest.$ac_ext >&5
96782 glibcxx_cv_func__logl_use=no
96784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96785 ac_ext=c
96786 ac_cpp='$CPP $CPPFLAGS'
96787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96795 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
96796 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
96798 if test x$glibcxx_cv_func__logl_use = x"yes"; then
96800 for ac_func in _logl
96802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96803 echo "$as_me:$LINENO: checking for $ac_func" >&5
96804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96805 if eval "test \"\${$as_ac_var+set}\" = set"; then
96806 echo $ECHO_N "(cached) $ECHO_C" >&6
96807 else
96808 if test x$gcc_no_link = xyes; then
96809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96811 { (exit 1); exit 1; }; }
96813 cat >conftest.$ac_ext <<_ACEOF
96814 /* confdefs.h. */
96815 _ACEOF
96816 cat confdefs.h >>conftest.$ac_ext
96817 cat >>conftest.$ac_ext <<_ACEOF
96818 /* end confdefs.h. */
96819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96821 #define $ac_func innocuous_$ac_func
96823 /* System header to define __stub macros and hopefully few prototypes,
96824 which can conflict with char $ac_func (); below.
96825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96826 <limits.h> exists even on freestanding compilers. */
96828 #ifdef __STDC__
96829 # include <limits.h>
96830 #else
96831 # include <assert.h>
96832 #endif
96834 #undef $ac_func
96836 /* Override any gcc2 internal prototype to avoid an error. */
96837 #ifdef __cplusplus
96838 extern "C"
96840 #endif
96841 /* We use char because int might match the return type of a gcc2
96842 builtin and then its argument prototype would still apply. */
96843 char $ac_func ();
96844 /* The GNU C library defines this for functions which it implements
96845 to always fail with ENOSYS. Some functions are actually named
96846 something starting with __ and the normal name is an alias. */
96847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96848 choke me
96849 #else
96850 char (*f) () = $ac_func;
96851 #endif
96852 #ifdef __cplusplus
96854 #endif
96857 main ()
96859 return f != $ac_func;
96861 return 0;
96863 _ACEOF
96864 rm -f conftest.$ac_objext conftest$ac_exeext
96865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96866 (eval $ac_link) 2>conftest.er1
96867 ac_status=$?
96868 grep -v '^ *+' conftest.er1 >conftest.err
96869 rm -f conftest.er1
96870 cat conftest.err >&5
96871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96872 (exit $ac_status); } &&
96873 { ac_try='test -z "$ac_c_werror_flag"
96874 || test ! -s conftest.err'
96875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96876 (eval $ac_try) 2>&5
96877 ac_status=$?
96878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96879 (exit $ac_status); }; } &&
96880 { ac_try='test -s conftest$ac_exeext'
96881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96882 (eval $ac_try) 2>&5
96883 ac_status=$?
96884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96885 (exit $ac_status); }; }; then
96886 eval "$as_ac_var=yes"
96887 else
96888 echo "$as_me: failed program was:" >&5
96889 sed 's/^/| /' conftest.$ac_ext >&5
96891 eval "$as_ac_var=no"
96893 rm -f conftest.err conftest.$ac_objext \
96894 conftest$ac_exeext conftest.$ac_ext
96896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96898 if test `eval echo '${'$as_ac_var'}'` = yes; then
96899 cat >>confdefs.h <<_ACEOF
96900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96901 _ACEOF
96904 done
96914 echo "$as_me:$LINENO: checking for log10l declaration" >&5
96915 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
96916 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
96917 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
96918 echo $ECHO_N "(cached) $ECHO_C" >&6
96919 else
96923 ac_ext=cc
96924 ac_cpp='$CXXCPP $CPPFLAGS'
96925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96929 cat >conftest.$ac_ext <<_ACEOF
96930 /* confdefs.h. */
96931 _ACEOF
96932 cat confdefs.h >>conftest.$ac_ext
96933 cat >>conftest.$ac_ext <<_ACEOF
96934 /* end confdefs.h. */
96935 #include <math.h>
96936 #ifdef HAVE_IEEEFP_H
96937 #include <ieeefp.h>
96938 #endif
96941 main ()
96943 log10l(0);
96945 return 0;
96947 _ACEOF
96948 rm -f conftest.$ac_objext
96949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96950 (eval $ac_compile) 2>conftest.er1
96951 ac_status=$?
96952 grep -v '^ *+' conftest.er1 >conftest.err
96953 rm -f conftest.er1
96954 cat conftest.err >&5
96955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96956 (exit $ac_status); } &&
96957 { ac_try='test -z "$ac_cxx_werror_flag"
96958 || test ! -s conftest.err'
96959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96960 (eval $ac_try) 2>&5
96961 ac_status=$?
96962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96963 (exit $ac_status); }; } &&
96964 { ac_try='test -s conftest.$ac_objext'
96965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96966 (eval $ac_try) 2>&5
96967 ac_status=$?
96968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96969 (exit $ac_status); }; }; then
96970 glibcxx_cv_func_log10l_use=yes
96971 else
96972 echo "$as_me: failed program was:" >&5
96973 sed 's/^/| /' conftest.$ac_ext >&5
96975 glibcxx_cv_func_log10l_use=no
96977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96978 ac_ext=c
96979 ac_cpp='$CPP $CPPFLAGS'
96980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96988 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
96989 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
96991 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
96993 for ac_func in log10l
96995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96996 echo "$as_me:$LINENO: checking for $ac_func" >&5
96997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96998 if eval "test \"\${$as_ac_var+set}\" = set"; then
96999 echo $ECHO_N "(cached) $ECHO_C" >&6
97000 else
97001 if test x$gcc_no_link = xyes; then
97002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97004 { (exit 1); exit 1; }; }
97006 cat >conftest.$ac_ext <<_ACEOF
97007 /* confdefs.h. */
97008 _ACEOF
97009 cat confdefs.h >>conftest.$ac_ext
97010 cat >>conftest.$ac_ext <<_ACEOF
97011 /* end confdefs.h. */
97012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97014 #define $ac_func innocuous_$ac_func
97016 /* System header to define __stub macros and hopefully few prototypes,
97017 which can conflict with char $ac_func (); below.
97018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97019 <limits.h> exists even on freestanding compilers. */
97021 #ifdef __STDC__
97022 # include <limits.h>
97023 #else
97024 # include <assert.h>
97025 #endif
97027 #undef $ac_func
97029 /* Override any gcc2 internal prototype to avoid an error. */
97030 #ifdef __cplusplus
97031 extern "C"
97033 #endif
97034 /* We use char because int might match the return type of a gcc2
97035 builtin and then its argument prototype would still apply. */
97036 char $ac_func ();
97037 /* The GNU C library defines this for functions which it implements
97038 to always fail with ENOSYS. Some functions are actually named
97039 something starting with __ and the normal name is an alias. */
97040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97041 choke me
97042 #else
97043 char (*f) () = $ac_func;
97044 #endif
97045 #ifdef __cplusplus
97047 #endif
97050 main ()
97052 return f != $ac_func;
97054 return 0;
97056 _ACEOF
97057 rm -f conftest.$ac_objext conftest$ac_exeext
97058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97059 (eval $ac_link) 2>conftest.er1
97060 ac_status=$?
97061 grep -v '^ *+' conftest.er1 >conftest.err
97062 rm -f conftest.er1
97063 cat conftest.err >&5
97064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97065 (exit $ac_status); } &&
97066 { ac_try='test -z "$ac_c_werror_flag"
97067 || test ! -s conftest.err'
97068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97069 (eval $ac_try) 2>&5
97070 ac_status=$?
97071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97072 (exit $ac_status); }; } &&
97073 { ac_try='test -s conftest$ac_exeext'
97074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97075 (eval $ac_try) 2>&5
97076 ac_status=$?
97077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97078 (exit $ac_status); }; }; then
97079 eval "$as_ac_var=yes"
97080 else
97081 echo "$as_me: failed program was:" >&5
97082 sed 's/^/| /' conftest.$ac_ext >&5
97084 eval "$as_ac_var=no"
97086 rm -f conftest.err conftest.$ac_objext \
97087 conftest$ac_exeext conftest.$ac_ext
97089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97091 if test `eval echo '${'$as_ac_var'}'` = yes; then
97092 cat >>confdefs.h <<_ACEOF
97093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97094 _ACEOF
97097 done
97099 else
97101 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
97102 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
97103 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
97104 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
97105 echo $ECHO_N "(cached) $ECHO_C" >&6
97106 else
97110 ac_ext=cc
97111 ac_cpp='$CXXCPP $CPPFLAGS'
97112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97116 cat >conftest.$ac_ext <<_ACEOF
97117 /* confdefs.h. */
97118 _ACEOF
97119 cat confdefs.h >>conftest.$ac_ext
97120 cat >>conftest.$ac_ext <<_ACEOF
97121 /* end confdefs.h. */
97122 #include <math.h>
97123 #ifdef HAVE_IEEEFP_H
97124 #include <ieeefp.h>
97125 #endif
97128 main ()
97130 _log10l(0);
97132 return 0;
97134 _ACEOF
97135 rm -f conftest.$ac_objext
97136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97137 (eval $ac_compile) 2>conftest.er1
97138 ac_status=$?
97139 grep -v '^ *+' conftest.er1 >conftest.err
97140 rm -f conftest.er1
97141 cat conftest.err >&5
97142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97143 (exit $ac_status); } &&
97144 { ac_try='test -z "$ac_cxx_werror_flag"
97145 || test ! -s conftest.err'
97146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97147 (eval $ac_try) 2>&5
97148 ac_status=$?
97149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97150 (exit $ac_status); }; } &&
97151 { ac_try='test -s conftest.$ac_objext'
97152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97153 (eval $ac_try) 2>&5
97154 ac_status=$?
97155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97156 (exit $ac_status); }; }; then
97157 glibcxx_cv_func__log10l_use=yes
97158 else
97159 echo "$as_me: failed program was:" >&5
97160 sed 's/^/| /' conftest.$ac_ext >&5
97162 glibcxx_cv_func__log10l_use=no
97164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97165 ac_ext=c
97166 ac_cpp='$CPP $CPPFLAGS'
97167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
97176 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
97178 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
97180 for ac_func in _log10l
97182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97183 echo "$as_me:$LINENO: checking for $ac_func" >&5
97184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97185 if eval "test \"\${$as_ac_var+set}\" = set"; then
97186 echo $ECHO_N "(cached) $ECHO_C" >&6
97187 else
97188 if test x$gcc_no_link = xyes; then
97189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97191 { (exit 1); exit 1; }; }
97193 cat >conftest.$ac_ext <<_ACEOF
97194 /* confdefs.h. */
97195 _ACEOF
97196 cat confdefs.h >>conftest.$ac_ext
97197 cat >>conftest.$ac_ext <<_ACEOF
97198 /* end confdefs.h. */
97199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97201 #define $ac_func innocuous_$ac_func
97203 /* System header to define __stub macros and hopefully few prototypes,
97204 which can conflict with char $ac_func (); below.
97205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97206 <limits.h> exists even on freestanding compilers. */
97208 #ifdef __STDC__
97209 # include <limits.h>
97210 #else
97211 # include <assert.h>
97212 #endif
97214 #undef $ac_func
97216 /* Override any gcc2 internal prototype to avoid an error. */
97217 #ifdef __cplusplus
97218 extern "C"
97220 #endif
97221 /* We use char because int might match the return type of a gcc2
97222 builtin and then its argument prototype would still apply. */
97223 char $ac_func ();
97224 /* The GNU C library defines this for functions which it implements
97225 to always fail with ENOSYS. Some functions are actually named
97226 something starting with __ and the normal name is an alias. */
97227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97228 choke me
97229 #else
97230 char (*f) () = $ac_func;
97231 #endif
97232 #ifdef __cplusplus
97234 #endif
97237 main ()
97239 return f != $ac_func;
97241 return 0;
97243 _ACEOF
97244 rm -f conftest.$ac_objext conftest$ac_exeext
97245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97246 (eval $ac_link) 2>conftest.er1
97247 ac_status=$?
97248 grep -v '^ *+' conftest.er1 >conftest.err
97249 rm -f conftest.er1
97250 cat conftest.err >&5
97251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97252 (exit $ac_status); } &&
97253 { ac_try='test -z "$ac_c_werror_flag"
97254 || test ! -s conftest.err'
97255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97256 (eval $ac_try) 2>&5
97257 ac_status=$?
97258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97259 (exit $ac_status); }; } &&
97260 { ac_try='test -s conftest$ac_exeext'
97261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97262 (eval $ac_try) 2>&5
97263 ac_status=$?
97264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97265 (exit $ac_status); }; }; then
97266 eval "$as_ac_var=yes"
97267 else
97268 echo "$as_me: failed program was:" >&5
97269 sed 's/^/| /' conftest.$ac_ext >&5
97271 eval "$as_ac_var=no"
97273 rm -f conftest.err conftest.$ac_objext \
97274 conftest$ac_exeext conftest.$ac_ext
97276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97278 if test `eval echo '${'$as_ac_var'}'` = yes; then
97279 cat >>confdefs.h <<_ACEOF
97280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97281 _ACEOF
97284 done
97294 echo "$as_me:$LINENO: checking for modfl declaration" >&5
97295 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
97296 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
97297 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
97298 echo $ECHO_N "(cached) $ECHO_C" >&6
97299 else
97303 ac_ext=cc
97304 ac_cpp='$CXXCPP $CPPFLAGS'
97305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
97317 main ()
97319 modfl(0, 0);
97321 return 0;
97323 _ACEOF
97324 rm -f conftest.$ac_objext
97325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97326 (eval $ac_compile) 2>conftest.er1
97327 ac_status=$?
97328 grep -v '^ *+' conftest.er1 >conftest.err
97329 rm -f conftest.er1
97330 cat conftest.err >&5
97331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97332 (exit $ac_status); } &&
97333 { ac_try='test -z "$ac_cxx_werror_flag"
97334 || test ! -s conftest.err'
97335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97336 (eval $ac_try) 2>&5
97337 ac_status=$?
97338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97339 (exit $ac_status); }; } &&
97340 { ac_try='test -s conftest.$ac_objext'
97341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97342 (eval $ac_try) 2>&5
97343 ac_status=$?
97344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97345 (exit $ac_status); }; }; then
97346 glibcxx_cv_func_modfl_use=yes
97347 else
97348 echo "$as_me: failed program was:" >&5
97349 sed 's/^/| /' conftest.$ac_ext >&5
97351 glibcxx_cv_func_modfl_use=no
97353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97354 ac_ext=c
97355 ac_cpp='$CPP $CPPFLAGS'
97356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
97365 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
97367 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
97369 for ac_func in modfl
97371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97372 echo "$as_me:$LINENO: checking for $ac_func" >&5
97373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97374 if eval "test \"\${$as_ac_var+set}\" = set"; then
97375 echo $ECHO_N "(cached) $ECHO_C" >&6
97376 else
97377 if test x$gcc_no_link = xyes; then
97378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97380 { (exit 1); exit 1; }; }
97382 cat >conftest.$ac_ext <<_ACEOF
97383 /* confdefs.h. */
97384 _ACEOF
97385 cat confdefs.h >>conftest.$ac_ext
97386 cat >>conftest.$ac_ext <<_ACEOF
97387 /* end confdefs.h. */
97388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97390 #define $ac_func innocuous_$ac_func
97392 /* System header to define __stub macros and hopefully few prototypes,
97393 which can conflict with char $ac_func (); below.
97394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97395 <limits.h> exists even on freestanding compilers. */
97397 #ifdef __STDC__
97398 # include <limits.h>
97399 #else
97400 # include <assert.h>
97401 #endif
97403 #undef $ac_func
97405 /* Override any gcc2 internal prototype to avoid an error. */
97406 #ifdef __cplusplus
97407 extern "C"
97409 #endif
97410 /* We use char because int might match the return type of a gcc2
97411 builtin and then its argument prototype would still apply. */
97412 char $ac_func ();
97413 /* The GNU C library defines this for functions which it implements
97414 to always fail with ENOSYS. Some functions are actually named
97415 something starting with __ and the normal name is an alias. */
97416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97417 choke me
97418 #else
97419 char (*f) () = $ac_func;
97420 #endif
97421 #ifdef __cplusplus
97423 #endif
97426 main ()
97428 return f != $ac_func;
97430 return 0;
97432 _ACEOF
97433 rm -f conftest.$ac_objext conftest$ac_exeext
97434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97435 (eval $ac_link) 2>conftest.er1
97436 ac_status=$?
97437 grep -v '^ *+' conftest.er1 >conftest.err
97438 rm -f conftest.er1
97439 cat conftest.err >&5
97440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97441 (exit $ac_status); } &&
97442 { ac_try='test -z "$ac_c_werror_flag"
97443 || test ! -s conftest.err'
97444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97445 (eval $ac_try) 2>&5
97446 ac_status=$?
97447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97448 (exit $ac_status); }; } &&
97449 { ac_try='test -s conftest$ac_exeext'
97450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97451 (eval $ac_try) 2>&5
97452 ac_status=$?
97453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97454 (exit $ac_status); }; }; then
97455 eval "$as_ac_var=yes"
97456 else
97457 echo "$as_me: failed program was:" >&5
97458 sed 's/^/| /' conftest.$ac_ext >&5
97460 eval "$as_ac_var=no"
97462 rm -f conftest.err conftest.$ac_objext \
97463 conftest$ac_exeext conftest.$ac_ext
97465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97467 if test `eval echo '${'$as_ac_var'}'` = yes; then
97468 cat >>confdefs.h <<_ACEOF
97469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97470 _ACEOF
97473 done
97475 else
97477 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
97478 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
97479 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
97480 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
97481 echo $ECHO_N "(cached) $ECHO_C" >&6
97482 else
97486 ac_ext=cc
97487 ac_cpp='$CXXCPP $CPPFLAGS'
97488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
97500 main ()
97502 _modfl(0, 0);
97504 return 0;
97506 _ACEOF
97507 rm -f conftest.$ac_objext
97508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97509 (eval $ac_compile) 2>conftest.er1
97510 ac_status=$?
97511 grep -v '^ *+' conftest.er1 >conftest.err
97512 rm -f conftest.er1
97513 cat conftest.err >&5
97514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97515 (exit $ac_status); } &&
97516 { ac_try='test -z "$ac_cxx_werror_flag"
97517 || test ! -s conftest.err'
97518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97519 (eval $ac_try) 2>&5
97520 ac_status=$?
97521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97522 (exit $ac_status); }; } &&
97523 { ac_try='test -s conftest.$ac_objext'
97524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97525 (eval $ac_try) 2>&5
97526 ac_status=$?
97527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97528 (exit $ac_status); }; }; then
97529 glibcxx_cv_func__modfl_use=yes
97530 else
97531 echo "$as_me: failed program was:" >&5
97532 sed 's/^/| /' conftest.$ac_ext >&5
97534 glibcxx_cv_func__modfl_use=no
97536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97537 ac_ext=c
97538 ac_cpp='$CPP $CPPFLAGS'
97539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
97548 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
97550 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
97552 for ac_func in _modfl
97554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97555 echo "$as_me:$LINENO: checking for $ac_func" >&5
97556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97557 if eval "test \"\${$as_ac_var+set}\" = set"; then
97558 echo $ECHO_N "(cached) $ECHO_C" >&6
97559 else
97560 if test x$gcc_no_link = xyes; then
97561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97563 { (exit 1); exit 1; }; }
97565 cat >conftest.$ac_ext <<_ACEOF
97566 /* confdefs.h. */
97567 _ACEOF
97568 cat confdefs.h >>conftest.$ac_ext
97569 cat >>conftest.$ac_ext <<_ACEOF
97570 /* end confdefs.h. */
97571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97573 #define $ac_func innocuous_$ac_func
97575 /* System header to define __stub macros and hopefully few prototypes,
97576 which can conflict with char $ac_func (); below.
97577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97578 <limits.h> exists even on freestanding compilers. */
97580 #ifdef __STDC__
97581 # include <limits.h>
97582 #else
97583 # include <assert.h>
97584 #endif
97586 #undef $ac_func
97588 /* Override any gcc2 internal prototype to avoid an error. */
97589 #ifdef __cplusplus
97590 extern "C"
97592 #endif
97593 /* We use char because int might match the return type of a gcc2
97594 builtin and then its argument prototype would still apply. */
97595 char $ac_func ();
97596 /* The GNU C library defines this for functions which it implements
97597 to always fail with ENOSYS. Some functions are actually named
97598 something starting with __ and the normal name is an alias. */
97599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97600 choke me
97601 #else
97602 char (*f) () = $ac_func;
97603 #endif
97604 #ifdef __cplusplus
97606 #endif
97609 main ()
97611 return f != $ac_func;
97613 return 0;
97615 _ACEOF
97616 rm -f conftest.$ac_objext conftest$ac_exeext
97617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97618 (eval $ac_link) 2>conftest.er1
97619 ac_status=$?
97620 grep -v '^ *+' conftest.er1 >conftest.err
97621 rm -f conftest.er1
97622 cat conftest.err >&5
97623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97624 (exit $ac_status); } &&
97625 { ac_try='test -z "$ac_c_werror_flag"
97626 || test ! -s conftest.err'
97627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97628 (eval $ac_try) 2>&5
97629 ac_status=$?
97630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97631 (exit $ac_status); }; } &&
97632 { ac_try='test -s conftest$ac_exeext'
97633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97634 (eval $ac_try) 2>&5
97635 ac_status=$?
97636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97637 (exit $ac_status); }; }; then
97638 eval "$as_ac_var=yes"
97639 else
97640 echo "$as_me: failed program was:" >&5
97641 sed 's/^/| /' conftest.$ac_ext >&5
97643 eval "$as_ac_var=no"
97645 rm -f conftest.err conftest.$ac_objext \
97646 conftest$ac_exeext conftest.$ac_ext
97648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97650 if test `eval echo '${'$as_ac_var'}'` = yes; then
97651 cat >>confdefs.h <<_ACEOF
97652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97653 _ACEOF
97656 done
97666 echo "$as_me:$LINENO: checking for powl declaration" >&5
97667 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
97668 if test x${glibcxx_cv_func_powl_use+set} != xset; then
97669 if test "${glibcxx_cv_func_powl_use+set}" = set; then
97670 echo $ECHO_N "(cached) $ECHO_C" >&6
97671 else
97675 ac_ext=cc
97676 ac_cpp='$CXXCPP $CPPFLAGS'
97677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
97689 main ()
97691 powl(0, 0);
97693 return 0;
97695 _ACEOF
97696 rm -f conftest.$ac_objext
97697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97698 (eval $ac_compile) 2>conftest.er1
97699 ac_status=$?
97700 grep -v '^ *+' conftest.er1 >conftest.err
97701 rm -f conftest.er1
97702 cat conftest.err >&5
97703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97704 (exit $ac_status); } &&
97705 { ac_try='test -z "$ac_cxx_werror_flag"
97706 || test ! -s conftest.err'
97707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97708 (eval $ac_try) 2>&5
97709 ac_status=$?
97710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97711 (exit $ac_status); }; } &&
97712 { ac_try='test -s conftest.$ac_objext'
97713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97714 (eval $ac_try) 2>&5
97715 ac_status=$?
97716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97717 (exit $ac_status); }; }; then
97718 glibcxx_cv_func_powl_use=yes
97719 else
97720 echo "$as_me: failed program was:" >&5
97721 sed 's/^/| /' conftest.$ac_ext >&5
97723 glibcxx_cv_func_powl_use=no
97725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97726 ac_ext=c
97727 ac_cpp='$CPP $CPPFLAGS'
97728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97736 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
97737 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
97739 if test x$glibcxx_cv_func_powl_use = x"yes"; then
97741 for ac_func in powl
97743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97744 echo "$as_me:$LINENO: checking for $ac_func" >&5
97745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97746 if eval "test \"\${$as_ac_var+set}\" = set"; then
97747 echo $ECHO_N "(cached) $ECHO_C" >&6
97748 else
97749 if test x$gcc_no_link = xyes; then
97750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97752 { (exit 1); exit 1; }; }
97754 cat >conftest.$ac_ext <<_ACEOF
97755 /* confdefs.h. */
97756 _ACEOF
97757 cat confdefs.h >>conftest.$ac_ext
97758 cat >>conftest.$ac_ext <<_ACEOF
97759 /* end confdefs.h. */
97760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97762 #define $ac_func innocuous_$ac_func
97764 /* System header to define __stub macros and hopefully few prototypes,
97765 which can conflict with char $ac_func (); below.
97766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97767 <limits.h> exists even on freestanding compilers. */
97769 #ifdef __STDC__
97770 # include <limits.h>
97771 #else
97772 # include <assert.h>
97773 #endif
97775 #undef $ac_func
97777 /* Override any gcc2 internal prototype to avoid an error. */
97778 #ifdef __cplusplus
97779 extern "C"
97781 #endif
97782 /* We use char because int might match the return type of a gcc2
97783 builtin and then its argument prototype would still apply. */
97784 char $ac_func ();
97785 /* The GNU C library defines this for functions which it implements
97786 to always fail with ENOSYS. Some functions are actually named
97787 something starting with __ and the normal name is an alias. */
97788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97789 choke me
97790 #else
97791 char (*f) () = $ac_func;
97792 #endif
97793 #ifdef __cplusplus
97795 #endif
97798 main ()
97800 return f != $ac_func;
97802 return 0;
97804 _ACEOF
97805 rm -f conftest.$ac_objext conftest$ac_exeext
97806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97807 (eval $ac_link) 2>conftest.er1
97808 ac_status=$?
97809 grep -v '^ *+' conftest.er1 >conftest.err
97810 rm -f conftest.er1
97811 cat conftest.err >&5
97812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97813 (exit $ac_status); } &&
97814 { ac_try='test -z "$ac_c_werror_flag"
97815 || test ! -s conftest.err'
97816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97817 (eval $ac_try) 2>&5
97818 ac_status=$?
97819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97820 (exit $ac_status); }; } &&
97821 { ac_try='test -s conftest$ac_exeext'
97822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97823 (eval $ac_try) 2>&5
97824 ac_status=$?
97825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97826 (exit $ac_status); }; }; then
97827 eval "$as_ac_var=yes"
97828 else
97829 echo "$as_me: failed program was:" >&5
97830 sed 's/^/| /' conftest.$ac_ext >&5
97832 eval "$as_ac_var=no"
97834 rm -f conftest.err conftest.$ac_objext \
97835 conftest$ac_exeext conftest.$ac_ext
97837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97839 if test `eval echo '${'$as_ac_var'}'` = yes; then
97840 cat >>confdefs.h <<_ACEOF
97841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97842 _ACEOF
97845 done
97847 else
97849 echo "$as_me:$LINENO: checking for _powl declaration" >&5
97850 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
97851 if test x${glibcxx_cv_func__powl_use+set} != xset; then
97852 if test "${glibcxx_cv_func__powl_use+set}" = set; then
97853 echo $ECHO_N "(cached) $ECHO_C" >&6
97854 else
97858 ac_ext=cc
97859 ac_cpp='$CXXCPP $CPPFLAGS'
97860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
97872 main ()
97874 _powl(0, 0);
97876 return 0;
97878 _ACEOF
97879 rm -f conftest.$ac_objext
97880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97881 (eval $ac_compile) 2>conftest.er1
97882 ac_status=$?
97883 grep -v '^ *+' conftest.er1 >conftest.err
97884 rm -f conftest.er1
97885 cat conftest.err >&5
97886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97887 (exit $ac_status); } &&
97888 { ac_try='test -z "$ac_cxx_werror_flag"
97889 || test ! -s conftest.err'
97890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97891 (eval $ac_try) 2>&5
97892 ac_status=$?
97893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97894 (exit $ac_status); }; } &&
97895 { ac_try='test -s conftest.$ac_objext'
97896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97897 (eval $ac_try) 2>&5
97898 ac_status=$?
97899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97900 (exit $ac_status); }; }; then
97901 glibcxx_cv_func__powl_use=yes
97902 else
97903 echo "$as_me: failed program was:" >&5
97904 sed 's/^/| /' conftest.$ac_ext >&5
97906 glibcxx_cv_func__powl_use=no
97908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97909 ac_ext=c
97910 ac_cpp='$CPP $CPPFLAGS'
97911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97919 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
97920 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
97922 if test x$glibcxx_cv_func__powl_use = x"yes"; then
97924 for ac_func in _powl
97926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97927 echo "$as_me:$LINENO: checking for $ac_func" >&5
97928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97929 if eval "test \"\${$as_ac_var+set}\" = set"; then
97930 echo $ECHO_N "(cached) $ECHO_C" >&6
97931 else
97932 if test x$gcc_no_link = xyes; then
97933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97935 { (exit 1); exit 1; }; }
97937 cat >conftest.$ac_ext <<_ACEOF
97938 /* confdefs.h. */
97939 _ACEOF
97940 cat confdefs.h >>conftest.$ac_ext
97941 cat >>conftest.$ac_ext <<_ACEOF
97942 /* end confdefs.h. */
97943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97945 #define $ac_func innocuous_$ac_func
97947 /* System header to define __stub macros and hopefully few prototypes,
97948 which can conflict with char $ac_func (); below.
97949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97950 <limits.h> exists even on freestanding compilers. */
97952 #ifdef __STDC__
97953 # include <limits.h>
97954 #else
97955 # include <assert.h>
97956 #endif
97958 #undef $ac_func
97960 /* Override any gcc2 internal prototype to avoid an error. */
97961 #ifdef __cplusplus
97962 extern "C"
97964 #endif
97965 /* We use char because int might match the return type of a gcc2
97966 builtin and then its argument prototype would still apply. */
97967 char $ac_func ();
97968 /* The GNU C library defines this for functions which it implements
97969 to always fail with ENOSYS. Some functions are actually named
97970 something starting with __ and the normal name is an alias. */
97971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97972 choke me
97973 #else
97974 char (*f) () = $ac_func;
97975 #endif
97976 #ifdef __cplusplus
97978 #endif
97981 main ()
97983 return f != $ac_func;
97985 return 0;
97987 _ACEOF
97988 rm -f conftest.$ac_objext conftest$ac_exeext
97989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97990 (eval $ac_link) 2>conftest.er1
97991 ac_status=$?
97992 grep -v '^ *+' conftest.er1 >conftest.err
97993 rm -f conftest.er1
97994 cat conftest.err >&5
97995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97996 (exit $ac_status); } &&
97997 { ac_try='test -z "$ac_c_werror_flag"
97998 || test ! -s conftest.err'
97999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98000 (eval $ac_try) 2>&5
98001 ac_status=$?
98002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98003 (exit $ac_status); }; } &&
98004 { ac_try='test -s conftest$ac_exeext'
98005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98006 (eval $ac_try) 2>&5
98007 ac_status=$?
98008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98009 (exit $ac_status); }; }; then
98010 eval "$as_ac_var=yes"
98011 else
98012 echo "$as_me: failed program was:" >&5
98013 sed 's/^/| /' conftest.$ac_ext >&5
98015 eval "$as_ac_var=no"
98017 rm -f conftest.err conftest.$ac_objext \
98018 conftest$ac_exeext conftest.$ac_ext
98020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98022 if test `eval echo '${'$as_ac_var'}'` = yes; then
98023 cat >>confdefs.h <<_ACEOF
98024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98025 _ACEOF
98028 done
98038 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
98039 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
98040 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
98041 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
98042 echo $ECHO_N "(cached) $ECHO_C" >&6
98043 else
98047 ac_ext=cc
98048 ac_cpp='$CXXCPP $CPPFLAGS'
98049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98053 cat >conftest.$ac_ext <<_ACEOF
98054 /* confdefs.h. */
98055 _ACEOF
98056 cat confdefs.h >>conftest.$ac_ext
98057 cat >>conftest.$ac_ext <<_ACEOF
98058 /* end confdefs.h. */
98059 #include <math.h>
98060 #ifdef HAVE_IEEEFP_H
98061 #include <ieeefp.h>
98062 #endif
98065 main ()
98067 sqrtl(0);
98069 return 0;
98071 _ACEOF
98072 rm -f conftest.$ac_objext
98073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98074 (eval $ac_compile) 2>conftest.er1
98075 ac_status=$?
98076 grep -v '^ *+' conftest.er1 >conftest.err
98077 rm -f conftest.er1
98078 cat conftest.err >&5
98079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98080 (exit $ac_status); } &&
98081 { ac_try='test -z "$ac_cxx_werror_flag"
98082 || test ! -s conftest.err'
98083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98084 (eval $ac_try) 2>&5
98085 ac_status=$?
98086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98087 (exit $ac_status); }; } &&
98088 { ac_try='test -s conftest.$ac_objext'
98089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98090 (eval $ac_try) 2>&5
98091 ac_status=$?
98092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98093 (exit $ac_status); }; }; then
98094 glibcxx_cv_func_sqrtl_use=yes
98095 else
98096 echo "$as_me: failed program was:" >&5
98097 sed 's/^/| /' conftest.$ac_ext >&5
98099 glibcxx_cv_func_sqrtl_use=no
98101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98102 ac_ext=c
98103 ac_cpp='$CPP $CPPFLAGS'
98104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
98113 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
98115 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
98117 for ac_func in sqrtl
98119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98120 echo "$as_me:$LINENO: checking for $ac_func" >&5
98121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98122 if eval "test \"\${$as_ac_var+set}\" = set"; then
98123 echo $ECHO_N "(cached) $ECHO_C" >&6
98124 else
98125 if test x$gcc_no_link = xyes; then
98126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98128 { (exit 1); exit 1; }; }
98130 cat >conftest.$ac_ext <<_ACEOF
98131 /* confdefs.h. */
98132 _ACEOF
98133 cat confdefs.h >>conftest.$ac_ext
98134 cat >>conftest.$ac_ext <<_ACEOF
98135 /* end confdefs.h. */
98136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98138 #define $ac_func innocuous_$ac_func
98140 /* System header to define __stub macros and hopefully few prototypes,
98141 which can conflict with char $ac_func (); below.
98142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98143 <limits.h> exists even on freestanding compilers. */
98145 #ifdef __STDC__
98146 # include <limits.h>
98147 #else
98148 # include <assert.h>
98149 #endif
98151 #undef $ac_func
98153 /* Override any gcc2 internal prototype to avoid an error. */
98154 #ifdef __cplusplus
98155 extern "C"
98157 #endif
98158 /* We use char because int might match the return type of a gcc2
98159 builtin and then its argument prototype would still apply. */
98160 char $ac_func ();
98161 /* The GNU C library defines this for functions which it implements
98162 to always fail with ENOSYS. Some functions are actually named
98163 something starting with __ and the normal name is an alias. */
98164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98165 choke me
98166 #else
98167 char (*f) () = $ac_func;
98168 #endif
98169 #ifdef __cplusplus
98171 #endif
98174 main ()
98176 return f != $ac_func;
98178 return 0;
98180 _ACEOF
98181 rm -f conftest.$ac_objext conftest$ac_exeext
98182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98183 (eval $ac_link) 2>conftest.er1
98184 ac_status=$?
98185 grep -v '^ *+' conftest.er1 >conftest.err
98186 rm -f conftest.er1
98187 cat conftest.err >&5
98188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98189 (exit $ac_status); } &&
98190 { ac_try='test -z "$ac_c_werror_flag"
98191 || test ! -s conftest.err'
98192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98193 (eval $ac_try) 2>&5
98194 ac_status=$?
98195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98196 (exit $ac_status); }; } &&
98197 { ac_try='test -s conftest$ac_exeext'
98198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98199 (eval $ac_try) 2>&5
98200 ac_status=$?
98201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98202 (exit $ac_status); }; }; then
98203 eval "$as_ac_var=yes"
98204 else
98205 echo "$as_me: failed program was:" >&5
98206 sed 's/^/| /' conftest.$ac_ext >&5
98208 eval "$as_ac_var=no"
98210 rm -f conftest.err conftest.$ac_objext \
98211 conftest$ac_exeext conftest.$ac_ext
98213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98215 if test `eval echo '${'$as_ac_var'}'` = yes; then
98216 cat >>confdefs.h <<_ACEOF
98217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98218 _ACEOF
98221 done
98223 else
98225 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
98226 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
98227 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
98228 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
98229 echo $ECHO_N "(cached) $ECHO_C" >&6
98230 else
98234 ac_ext=cc
98235 ac_cpp='$CXXCPP $CPPFLAGS'
98236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98240 cat >conftest.$ac_ext <<_ACEOF
98241 /* confdefs.h. */
98242 _ACEOF
98243 cat confdefs.h >>conftest.$ac_ext
98244 cat >>conftest.$ac_ext <<_ACEOF
98245 /* end confdefs.h. */
98246 #include <math.h>
98247 #ifdef HAVE_IEEEFP_H
98248 #include <ieeefp.h>
98249 #endif
98252 main ()
98254 _sqrtl(0);
98256 return 0;
98258 _ACEOF
98259 rm -f conftest.$ac_objext
98260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98261 (eval $ac_compile) 2>conftest.er1
98262 ac_status=$?
98263 grep -v '^ *+' conftest.er1 >conftest.err
98264 rm -f conftest.er1
98265 cat conftest.err >&5
98266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98267 (exit $ac_status); } &&
98268 { ac_try='test -z "$ac_cxx_werror_flag"
98269 || test ! -s conftest.err'
98270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98271 (eval $ac_try) 2>&5
98272 ac_status=$?
98273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98274 (exit $ac_status); }; } &&
98275 { ac_try='test -s conftest.$ac_objext'
98276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98277 (eval $ac_try) 2>&5
98278 ac_status=$?
98279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98280 (exit $ac_status); }; }; then
98281 glibcxx_cv_func__sqrtl_use=yes
98282 else
98283 echo "$as_me: failed program was:" >&5
98284 sed 's/^/| /' conftest.$ac_ext >&5
98286 glibcxx_cv_func__sqrtl_use=no
98288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98289 ac_ext=c
98290 ac_cpp='$CPP $CPPFLAGS'
98291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
98300 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
98302 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
98304 for ac_func in _sqrtl
98306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98307 echo "$as_me:$LINENO: checking for $ac_func" >&5
98308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98309 if eval "test \"\${$as_ac_var+set}\" = set"; then
98310 echo $ECHO_N "(cached) $ECHO_C" >&6
98311 else
98312 if test x$gcc_no_link = xyes; then
98313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98315 { (exit 1); exit 1; }; }
98317 cat >conftest.$ac_ext <<_ACEOF
98318 /* confdefs.h. */
98319 _ACEOF
98320 cat confdefs.h >>conftest.$ac_ext
98321 cat >>conftest.$ac_ext <<_ACEOF
98322 /* end confdefs.h. */
98323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98325 #define $ac_func innocuous_$ac_func
98327 /* System header to define __stub macros and hopefully few prototypes,
98328 which can conflict with char $ac_func (); below.
98329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98330 <limits.h> exists even on freestanding compilers. */
98332 #ifdef __STDC__
98333 # include <limits.h>
98334 #else
98335 # include <assert.h>
98336 #endif
98338 #undef $ac_func
98340 /* Override any gcc2 internal prototype to avoid an error. */
98341 #ifdef __cplusplus
98342 extern "C"
98344 #endif
98345 /* We use char because int might match the return type of a gcc2
98346 builtin and then its argument prototype would still apply. */
98347 char $ac_func ();
98348 /* The GNU C library defines this for functions which it implements
98349 to always fail with ENOSYS. Some functions are actually named
98350 something starting with __ and the normal name is an alias. */
98351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98352 choke me
98353 #else
98354 char (*f) () = $ac_func;
98355 #endif
98356 #ifdef __cplusplus
98358 #endif
98361 main ()
98363 return f != $ac_func;
98365 return 0;
98367 _ACEOF
98368 rm -f conftest.$ac_objext conftest$ac_exeext
98369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98370 (eval $ac_link) 2>conftest.er1
98371 ac_status=$?
98372 grep -v '^ *+' conftest.er1 >conftest.err
98373 rm -f conftest.er1
98374 cat conftest.err >&5
98375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98376 (exit $ac_status); } &&
98377 { ac_try='test -z "$ac_c_werror_flag"
98378 || test ! -s conftest.err'
98379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98380 (eval $ac_try) 2>&5
98381 ac_status=$?
98382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98383 (exit $ac_status); }; } &&
98384 { ac_try='test -s conftest$ac_exeext'
98385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98386 (eval $ac_try) 2>&5
98387 ac_status=$?
98388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98389 (exit $ac_status); }; }; then
98390 eval "$as_ac_var=yes"
98391 else
98392 echo "$as_me: failed program was:" >&5
98393 sed 's/^/| /' conftest.$ac_ext >&5
98395 eval "$as_ac_var=no"
98397 rm -f conftest.err conftest.$ac_objext \
98398 conftest$ac_exeext conftest.$ac_ext
98400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98402 if test `eval echo '${'$as_ac_var'}'` = yes; then
98403 cat >>confdefs.h <<_ACEOF
98404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98405 _ACEOF
98408 done
98418 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
98419 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
98420 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
98421 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
98422 echo $ECHO_N "(cached) $ECHO_C" >&6
98423 else
98427 ac_ext=cc
98428 ac_cpp='$CXXCPP $CPPFLAGS'
98429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
98441 main ()
98443 sincosl(0, 0, 0);
98445 return 0;
98447 _ACEOF
98448 rm -f conftest.$ac_objext
98449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98450 (eval $ac_compile) 2>conftest.er1
98451 ac_status=$?
98452 grep -v '^ *+' conftest.er1 >conftest.err
98453 rm -f conftest.er1
98454 cat conftest.err >&5
98455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98456 (exit $ac_status); } &&
98457 { ac_try='test -z "$ac_cxx_werror_flag"
98458 || test ! -s conftest.err'
98459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98460 (eval $ac_try) 2>&5
98461 ac_status=$?
98462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98463 (exit $ac_status); }; } &&
98464 { ac_try='test -s conftest.$ac_objext'
98465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98466 (eval $ac_try) 2>&5
98467 ac_status=$?
98468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98469 (exit $ac_status); }; }; then
98470 glibcxx_cv_func_sincosl_use=yes
98471 else
98472 echo "$as_me: failed program was:" >&5
98473 sed 's/^/| /' conftest.$ac_ext >&5
98475 glibcxx_cv_func_sincosl_use=no
98477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98478 ac_ext=c
98479 ac_cpp='$CPP $CPPFLAGS'
98480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
98489 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
98491 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
98493 for ac_func in sincosl
98495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98496 echo "$as_me:$LINENO: checking for $ac_func" >&5
98497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98498 if eval "test \"\${$as_ac_var+set}\" = set"; then
98499 echo $ECHO_N "(cached) $ECHO_C" >&6
98500 else
98501 if test x$gcc_no_link = xyes; then
98502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98504 { (exit 1); exit 1; }; }
98506 cat >conftest.$ac_ext <<_ACEOF
98507 /* confdefs.h. */
98508 _ACEOF
98509 cat confdefs.h >>conftest.$ac_ext
98510 cat >>conftest.$ac_ext <<_ACEOF
98511 /* end confdefs.h. */
98512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98514 #define $ac_func innocuous_$ac_func
98516 /* System header to define __stub macros and hopefully few prototypes,
98517 which can conflict with char $ac_func (); below.
98518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98519 <limits.h> exists even on freestanding compilers. */
98521 #ifdef __STDC__
98522 # include <limits.h>
98523 #else
98524 # include <assert.h>
98525 #endif
98527 #undef $ac_func
98529 /* Override any gcc2 internal prototype to avoid an error. */
98530 #ifdef __cplusplus
98531 extern "C"
98533 #endif
98534 /* We use char because int might match the return type of a gcc2
98535 builtin and then its argument prototype would still apply. */
98536 char $ac_func ();
98537 /* The GNU C library defines this for functions which it implements
98538 to always fail with ENOSYS. Some functions are actually named
98539 something starting with __ and the normal name is an alias. */
98540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98541 choke me
98542 #else
98543 char (*f) () = $ac_func;
98544 #endif
98545 #ifdef __cplusplus
98547 #endif
98550 main ()
98552 return f != $ac_func;
98554 return 0;
98556 _ACEOF
98557 rm -f conftest.$ac_objext conftest$ac_exeext
98558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98559 (eval $ac_link) 2>conftest.er1
98560 ac_status=$?
98561 grep -v '^ *+' conftest.er1 >conftest.err
98562 rm -f conftest.er1
98563 cat conftest.err >&5
98564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98565 (exit $ac_status); } &&
98566 { ac_try='test -z "$ac_c_werror_flag"
98567 || test ! -s conftest.err'
98568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98569 (eval $ac_try) 2>&5
98570 ac_status=$?
98571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98572 (exit $ac_status); }; } &&
98573 { ac_try='test -s conftest$ac_exeext'
98574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98575 (eval $ac_try) 2>&5
98576 ac_status=$?
98577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98578 (exit $ac_status); }; }; then
98579 eval "$as_ac_var=yes"
98580 else
98581 echo "$as_me: failed program was:" >&5
98582 sed 's/^/| /' conftest.$ac_ext >&5
98584 eval "$as_ac_var=no"
98586 rm -f conftest.err conftest.$ac_objext \
98587 conftest$ac_exeext conftest.$ac_ext
98589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98591 if test `eval echo '${'$as_ac_var'}'` = yes; then
98592 cat >>confdefs.h <<_ACEOF
98593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98594 _ACEOF
98597 done
98599 else
98601 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
98602 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
98603 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
98604 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
98605 echo $ECHO_N "(cached) $ECHO_C" >&6
98606 else
98610 ac_ext=cc
98611 ac_cpp='$CXXCPP $CPPFLAGS'
98612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
98624 main ()
98626 _sincosl(0, 0, 0);
98628 return 0;
98630 _ACEOF
98631 rm -f conftest.$ac_objext
98632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98633 (eval $ac_compile) 2>conftest.er1
98634 ac_status=$?
98635 grep -v '^ *+' conftest.er1 >conftest.err
98636 rm -f conftest.er1
98637 cat conftest.err >&5
98638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98639 (exit $ac_status); } &&
98640 { ac_try='test -z "$ac_cxx_werror_flag"
98641 || test ! -s conftest.err'
98642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98643 (eval $ac_try) 2>&5
98644 ac_status=$?
98645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98646 (exit $ac_status); }; } &&
98647 { ac_try='test -s conftest.$ac_objext'
98648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98649 (eval $ac_try) 2>&5
98650 ac_status=$?
98651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98652 (exit $ac_status); }; }; then
98653 glibcxx_cv_func__sincosl_use=yes
98654 else
98655 echo "$as_me: failed program was:" >&5
98656 sed 's/^/| /' conftest.$ac_ext >&5
98658 glibcxx_cv_func__sincosl_use=no
98660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98661 ac_ext=c
98662 ac_cpp='$CPP $CPPFLAGS'
98663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
98672 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
98674 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
98676 for ac_func in _sincosl
98678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98679 echo "$as_me:$LINENO: checking for $ac_func" >&5
98680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98681 if eval "test \"\${$as_ac_var+set}\" = set"; then
98682 echo $ECHO_N "(cached) $ECHO_C" >&6
98683 else
98684 if test x$gcc_no_link = xyes; then
98685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98687 { (exit 1); exit 1; }; }
98689 cat >conftest.$ac_ext <<_ACEOF
98690 /* confdefs.h. */
98691 _ACEOF
98692 cat confdefs.h >>conftest.$ac_ext
98693 cat >>conftest.$ac_ext <<_ACEOF
98694 /* end confdefs.h. */
98695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98697 #define $ac_func innocuous_$ac_func
98699 /* System header to define __stub macros and hopefully few prototypes,
98700 which can conflict with char $ac_func (); below.
98701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98702 <limits.h> exists even on freestanding compilers. */
98704 #ifdef __STDC__
98705 # include <limits.h>
98706 #else
98707 # include <assert.h>
98708 #endif
98710 #undef $ac_func
98712 /* Override any gcc2 internal prototype to avoid an error. */
98713 #ifdef __cplusplus
98714 extern "C"
98716 #endif
98717 /* We use char because int might match the return type of a gcc2
98718 builtin and then its argument prototype would still apply. */
98719 char $ac_func ();
98720 /* The GNU C library defines this for functions which it implements
98721 to always fail with ENOSYS. Some functions are actually named
98722 something starting with __ and the normal name is an alias. */
98723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98724 choke me
98725 #else
98726 char (*f) () = $ac_func;
98727 #endif
98728 #ifdef __cplusplus
98730 #endif
98733 main ()
98735 return f != $ac_func;
98737 return 0;
98739 _ACEOF
98740 rm -f conftest.$ac_objext conftest$ac_exeext
98741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98742 (eval $ac_link) 2>conftest.er1
98743 ac_status=$?
98744 grep -v '^ *+' conftest.er1 >conftest.err
98745 rm -f conftest.er1
98746 cat conftest.err >&5
98747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98748 (exit $ac_status); } &&
98749 { ac_try='test -z "$ac_c_werror_flag"
98750 || test ! -s conftest.err'
98751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98752 (eval $ac_try) 2>&5
98753 ac_status=$?
98754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98755 (exit $ac_status); }; } &&
98756 { ac_try='test -s conftest$ac_exeext'
98757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98758 (eval $ac_try) 2>&5
98759 ac_status=$?
98760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98761 (exit $ac_status); }; }; then
98762 eval "$as_ac_var=yes"
98763 else
98764 echo "$as_me: failed program was:" >&5
98765 sed 's/^/| /' conftest.$ac_ext >&5
98767 eval "$as_ac_var=no"
98769 rm -f conftest.err conftest.$ac_objext \
98770 conftest$ac_exeext conftest.$ac_ext
98772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98774 if test `eval echo '${'$as_ac_var'}'` = yes; then
98775 cat >>confdefs.h <<_ACEOF
98776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98777 _ACEOF
98780 done
98790 echo "$as_me:$LINENO: checking for finitel declaration" >&5
98791 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
98792 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
98793 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
98794 echo $ECHO_N "(cached) $ECHO_C" >&6
98795 else
98799 ac_ext=cc
98800 ac_cpp='$CXXCPP $CPPFLAGS'
98801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98805 cat >conftest.$ac_ext <<_ACEOF
98806 /* confdefs.h. */
98807 _ACEOF
98808 cat confdefs.h >>conftest.$ac_ext
98809 cat >>conftest.$ac_ext <<_ACEOF
98810 /* end confdefs.h. */
98811 #include <math.h>
98812 #ifdef HAVE_IEEEFP_H
98813 #include <ieeefp.h>
98814 #endif
98817 main ()
98819 finitel(0);
98821 return 0;
98823 _ACEOF
98824 rm -f conftest.$ac_objext
98825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98826 (eval $ac_compile) 2>conftest.er1
98827 ac_status=$?
98828 grep -v '^ *+' conftest.er1 >conftest.err
98829 rm -f conftest.er1
98830 cat conftest.err >&5
98831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98832 (exit $ac_status); } &&
98833 { ac_try='test -z "$ac_cxx_werror_flag"
98834 || test ! -s conftest.err'
98835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98836 (eval $ac_try) 2>&5
98837 ac_status=$?
98838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98839 (exit $ac_status); }; } &&
98840 { ac_try='test -s conftest.$ac_objext'
98841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98842 (eval $ac_try) 2>&5
98843 ac_status=$?
98844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98845 (exit $ac_status); }; }; then
98846 glibcxx_cv_func_finitel_use=yes
98847 else
98848 echo "$as_me: failed program was:" >&5
98849 sed 's/^/| /' conftest.$ac_ext >&5
98851 glibcxx_cv_func_finitel_use=no
98853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98854 ac_ext=c
98855 ac_cpp='$CPP $CPPFLAGS'
98856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
98865 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
98867 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
98869 for ac_func in finitel
98871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98872 echo "$as_me:$LINENO: checking for $ac_func" >&5
98873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98874 if eval "test \"\${$as_ac_var+set}\" = set"; then
98875 echo $ECHO_N "(cached) $ECHO_C" >&6
98876 else
98877 if test x$gcc_no_link = xyes; then
98878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98880 { (exit 1); exit 1; }; }
98882 cat >conftest.$ac_ext <<_ACEOF
98883 /* confdefs.h. */
98884 _ACEOF
98885 cat confdefs.h >>conftest.$ac_ext
98886 cat >>conftest.$ac_ext <<_ACEOF
98887 /* end confdefs.h. */
98888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98890 #define $ac_func innocuous_$ac_func
98892 /* System header to define __stub macros and hopefully few prototypes,
98893 which can conflict with char $ac_func (); below.
98894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98895 <limits.h> exists even on freestanding compilers. */
98897 #ifdef __STDC__
98898 # include <limits.h>
98899 #else
98900 # include <assert.h>
98901 #endif
98903 #undef $ac_func
98905 /* Override any gcc2 internal prototype to avoid an error. */
98906 #ifdef __cplusplus
98907 extern "C"
98909 #endif
98910 /* We use char because int might match the return type of a gcc2
98911 builtin and then its argument prototype would still apply. */
98912 char $ac_func ();
98913 /* The GNU C library defines this for functions which it implements
98914 to always fail with ENOSYS. Some functions are actually named
98915 something starting with __ and the normal name is an alias. */
98916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98917 choke me
98918 #else
98919 char (*f) () = $ac_func;
98920 #endif
98921 #ifdef __cplusplus
98923 #endif
98926 main ()
98928 return f != $ac_func;
98930 return 0;
98932 _ACEOF
98933 rm -f conftest.$ac_objext conftest$ac_exeext
98934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98935 (eval $ac_link) 2>conftest.er1
98936 ac_status=$?
98937 grep -v '^ *+' conftest.er1 >conftest.err
98938 rm -f conftest.er1
98939 cat conftest.err >&5
98940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98941 (exit $ac_status); } &&
98942 { ac_try='test -z "$ac_c_werror_flag"
98943 || test ! -s conftest.err'
98944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98945 (eval $ac_try) 2>&5
98946 ac_status=$?
98947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98948 (exit $ac_status); }; } &&
98949 { ac_try='test -s conftest$ac_exeext'
98950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98951 (eval $ac_try) 2>&5
98952 ac_status=$?
98953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98954 (exit $ac_status); }; }; then
98955 eval "$as_ac_var=yes"
98956 else
98957 echo "$as_me: failed program was:" >&5
98958 sed 's/^/| /' conftest.$ac_ext >&5
98960 eval "$as_ac_var=no"
98962 rm -f conftest.err conftest.$ac_objext \
98963 conftest$ac_exeext conftest.$ac_ext
98965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98967 if test `eval echo '${'$as_ac_var'}'` = yes; then
98968 cat >>confdefs.h <<_ACEOF
98969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98970 _ACEOF
98973 done
98975 else
98977 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
98978 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
98979 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
98980 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
98981 echo $ECHO_N "(cached) $ECHO_C" >&6
98982 else
98986 ac_ext=cc
98987 ac_cpp='$CXXCPP $CPPFLAGS'
98988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98992 cat >conftest.$ac_ext <<_ACEOF
98993 /* confdefs.h. */
98994 _ACEOF
98995 cat confdefs.h >>conftest.$ac_ext
98996 cat >>conftest.$ac_ext <<_ACEOF
98997 /* end confdefs.h. */
98998 #include <math.h>
98999 #ifdef HAVE_IEEEFP_H
99000 #include <ieeefp.h>
99001 #endif
99004 main ()
99006 _finitel(0);
99008 return 0;
99010 _ACEOF
99011 rm -f conftest.$ac_objext
99012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99013 (eval $ac_compile) 2>conftest.er1
99014 ac_status=$?
99015 grep -v '^ *+' conftest.er1 >conftest.err
99016 rm -f conftest.er1
99017 cat conftest.err >&5
99018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99019 (exit $ac_status); } &&
99020 { ac_try='test -z "$ac_cxx_werror_flag"
99021 || test ! -s conftest.err'
99022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99023 (eval $ac_try) 2>&5
99024 ac_status=$?
99025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99026 (exit $ac_status); }; } &&
99027 { ac_try='test -s conftest.$ac_objext'
99028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99029 (eval $ac_try) 2>&5
99030 ac_status=$?
99031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99032 (exit $ac_status); }; }; then
99033 glibcxx_cv_func__finitel_use=yes
99034 else
99035 echo "$as_me: failed program was:" >&5
99036 sed 's/^/| /' conftest.$ac_ext >&5
99038 glibcxx_cv_func__finitel_use=no
99040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99041 ac_ext=c
99042 ac_cpp='$CPP $CPPFLAGS'
99043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
99052 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
99054 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
99056 for ac_func in _finitel
99058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99059 echo "$as_me:$LINENO: checking for $ac_func" >&5
99060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99061 if eval "test \"\${$as_ac_var+set}\" = set"; then
99062 echo $ECHO_N "(cached) $ECHO_C" >&6
99063 else
99064 if test x$gcc_no_link = xyes; then
99065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99067 { (exit 1); exit 1; }; }
99069 cat >conftest.$ac_ext <<_ACEOF
99070 /* confdefs.h. */
99071 _ACEOF
99072 cat confdefs.h >>conftest.$ac_ext
99073 cat >>conftest.$ac_ext <<_ACEOF
99074 /* end confdefs.h. */
99075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99077 #define $ac_func innocuous_$ac_func
99079 /* System header to define __stub macros and hopefully few prototypes,
99080 which can conflict with char $ac_func (); below.
99081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99082 <limits.h> exists even on freestanding compilers. */
99084 #ifdef __STDC__
99085 # include <limits.h>
99086 #else
99087 # include <assert.h>
99088 #endif
99090 #undef $ac_func
99092 /* Override any gcc2 internal prototype to avoid an error. */
99093 #ifdef __cplusplus
99094 extern "C"
99096 #endif
99097 /* We use char because int might match the return type of a gcc2
99098 builtin and then its argument prototype would still apply. */
99099 char $ac_func ();
99100 /* The GNU C library defines this for functions which it implements
99101 to always fail with ENOSYS. Some functions are actually named
99102 something starting with __ and the normal name is an alias. */
99103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99104 choke me
99105 #else
99106 char (*f) () = $ac_func;
99107 #endif
99108 #ifdef __cplusplus
99110 #endif
99113 main ()
99115 return f != $ac_func;
99117 return 0;
99119 _ACEOF
99120 rm -f conftest.$ac_objext conftest$ac_exeext
99121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99122 (eval $ac_link) 2>conftest.er1
99123 ac_status=$?
99124 grep -v '^ *+' conftest.er1 >conftest.err
99125 rm -f conftest.er1
99126 cat conftest.err >&5
99127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99128 (exit $ac_status); } &&
99129 { ac_try='test -z "$ac_c_werror_flag"
99130 || test ! -s conftest.err'
99131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99132 (eval $ac_try) 2>&5
99133 ac_status=$?
99134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99135 (exit $ac_status); }; } &&
99136 { ac_try='test -s conftest$ac_exeext'
99137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99138 (eval $ac_try) 2>&5
99139 ac_status=$?
99140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99141 (exit $ac_status); }; }; then
99142 eval "$as_ac_var=yes"
99143 else
99144 echo "$as_me: failed program was:" >&5
99145 sed 's/^/| /' conftest.$ac_ext >&5
99147 eval "$as_ac_var=no"
99149 rm -f conftest.err conftest.$ac_objext \
99150 conftest$ac_exeext conftest.$ac_ext
99152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99154 if test `eval echo '${'$as_ac_var'}'` = yes; then
99155 cat >>confdefs.h <<_ACEOF
99156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99157 _ACEOF
99160 done
99169 LIBS="$ac_save_LIBS"
99170 CXXFLAGS="$ac_save_CXXFLAGS"
99174 echo "$as_me:$LINENO: checking for main in -lm" >&5
99175 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99176 if test "${ac_cv_lib_m_main+set}" = set; then
99177 echo $ECHO_N "(cached) $ECHO_C" >&6
99178 else
99179 ac_check_lib_save_LIBS=$LIBS
99180 LIBS="-lm $LIBS"
99181 if test x$gcc_no_link = xyes; then
99182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99184 { (exit 1); exit 1; }; }
99186 cat >conftest.$ac_ext <<_ACEOF
99187 /* confdefs.h. */
99188 _ACEOF
99189 cat confdefs.h >>conftest.$ac_ext
99190 cat >>conftest.$ac_ext <<_ACEOF
99191 /* end confdefs.h. */
99195 main ()
99197 main ();
99199 return 0;
99201 _ACEOF
99202 rm -f conftest.$ac_objext conftest$ac_exeext
99203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99204 (eval $ac_link) 2>conftest.er1
99205 ac_status=$?
99206 grep -v '^ *+' conftest.er1 >conftest.err
99207 rm -f conftest.er1
99208 cat conftest.err >&5
99209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99210 (exit $ac_status); } &&
99211 { ac_try='test -z "$ac_c_werror_flag"
99212 || test ! -s conftest.err'
99213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99214 (eval $ac_try) 2>&5
99215 ac_status=$?
99216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99217 (exit $ac_status); }; } &&
99218 { ac_try='test -s conftest$ac_exeext'
99219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99220 (eval $ac_try) 2>&5
99221 ac_status=$?
99222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99223 (exit $ac_status); }; }; then
99224 ac_cv_lib_m_main=yes
99225 else
99226 echo "$as_me: failed program was:" >&5
99227 sed 's/^/| /' conftest.$ac_ext >&5
99229 ac_cv_lib_m_main=no
99231 rm -f conftest.err conftest.$ac_objext \
99232 conftest$ac_exeext conftest.$ac_ext
99233 LIBS=$ac_check_lib_save_LIBS
99235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99236 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99237 if test $ac_cv_lib_m_main = yes; then
99238 cat >>confdefs.h <<_ACEOF
99239 #define HAVE_LIBM 1
99240 _ACEOF
99242 LIBS="-lm $LIBS"
99247 for ac_func in copysignf
99249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99250 echo "$as_me:$LINENO: checking for $ac_func" >&5
99251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99252 if eval "test \"\${$as_ac_var+set}\" = set"; then
99253 echo $ECHO_N "(cached) $ECHO_C" >&6
99254 else
99255 if test x$gcc_no_link = xyes; then
99256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99258 { (exit 1); exit 1; }; }
99260 cat >conftest.$ac_ext <<_ACEOF
99261 /* confdefs.h. */
99262 _ACEOF
99263 cat confdefs.h >>conftest.$ac_ext
99264 cat >>conftest.$ac_ext <<_ACEOF
99265 /* end confdefs.h. */
99266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99268 #define $ac_func innocuous_$ac_func
99270 /* System header to define __stub macros and hopefully few prototypes,
99271 which can conflict with char $ac_func (); below.
99272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99273 <limits.h> exists even on freestanding compilers. */
99275 #ifdef __STDC__
99276 # include <limits.h>
99277 #else
99278 # include <assert.h>
99279 #endif
99281 #undef $ac_func
99283 /* Override any gcc2 internal prototype to avoid an error. */
99284 #ifdef __cplusplus
99285 extern "C"
99287 #endif
99288 /* We use char because int might match the return type of a gcc2
99289 builtin and then its argument prototype would still apply. */
99290 char $ac_func ();
99291 /* The GNU C library defines this for functions which it implements
99292 to always fail with ENOSYS. Some functions are actually named
99293 something starting with __ and the normal name is an alias. */
99294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99295 choke me
99296 #else
99297 char (*f) () = $ac_func;
99298 #endif
99299 #ifdef __cplusplus
99301 #endif
99304 main ()
99306 return f != $ac_func;
99308 return 0;
99310 _ACEOF
99311 rm -f conftest.$ac_objext conftest$ac_exeext
99312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99313 (eval $ac_link) 2>conftest.er1
99314 ac_status=$?
99315 grep -v '^ *+' conftest.er1 >conftest.err
99316 rm -f conftest.er1
99317 cat conftest.err >&5
99318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99319 (exit $ac_status); } &&
99320 { ac_try='test -z "$ac_c_werror_flag"
99321 || test ! -s conftest.err'
99322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99323 (eval $ac_try) 2>&5
99324 ac_status=$?
99325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99326 (exit $ac_status); }; } &&
99327 { ac_try='test -s conftest$ac_exeext'
99328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99329 (eval $ac_try) 2>&5
99330 ac_status=$?
99331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99332 (exit $ac_status); }; }; then
99333 eval "$as_ac_var=yes"
99334 else
99335 echo "$as_me: failed program was:" >&5
99336 sed 's/^/| /' conftest.$ac_ext >&5
99338 eval "$as_ac_var=no"
99340 rm -f conftest.err conftest.$ac_objext \
99341 conftest$ac_exeext conftest.$ac_ext
99343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99345 if test `eval echo '${'$as_ac_var'}'` = yes; then
99346 cat >>confdefs.h <<_ACEOF
99347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99348 _ACEOF
99350 else
99351 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99353 done
99357 for ac_func in __signbit
99359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99360 echo "$as_me:$LINENO: checking for $ac_func" >&5
99361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99362 if eval "test \"\${$as_ac_var+set}\" = set"; then
99363 echo $ECHO_N "(cached) $ECHO_C" >&6
99364 else
99365 if test x$gcc_no_link = xyes; then
99366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99368 { (exit 1); exit 1; }; }
99370 cat >conftest.$ac_ext <<_ACEOF
99371 /* confdefs.h. */
99372 _ACEOF
99373 cat confdefs.h >>conftest.$ac_ext
99374 cat >>conftest.$ac_ext <<_ACEOF
99375 /* end confdefs.h. */
99376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99378 #define $ac_func innocuous_$ac_func
99380 /* System header to define __stub macros and hopefully few prototypes,
99381 which can conflict with char $ac_func (); below.
99382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99383 <limits.h> exists even on freestanding compilers. */
99385 #ifdef __STDC__
99386 # include <limits.h>
99387 #else
99388 # include <assert.h>
99389 #endif
99391 #undef $ac_func
99393 /* Override any gcc2 internal prototype to avoid an error. */
99394 #ifdef __cplusplus
99395 extern "C"
99397 #endif
99398 /* We use char because int might match the return type of a gcc2
99399 builtin and then its argument prototype would still apply. */
99400 char $ac_func ();
99401 /* The GNU C library defines this for functions which it implements
99402 to always fail with ENOSYS. Some functions are actually named
99403 something starting with __ and the normal name is an alias. */
99404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99405 choke me
99406 #else
99407 char (*f) () = $ac_func;
99408 #endif
99409 #ifdef __cplusplus
99411 #endif
99414 main ()
99416 return f != $ac_func;
99418 return 0;
99420 _ACEOF
99421 rm -f conftest.$ac_objext conftest$ac_exeext
99422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99423 (eval $ac_link) 2>conftest.er1
99424 ac_status=$?
99425 grep -v '^ *+' conftest.er1 >conftest.err
99426 rm -f conftest.er1
99427 cat conftest.err >&5
99428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99429 (exit $ac_status); } &&
99430 { ac_try='test -z "$ac_c_werror_flag"
99431 || test ! -s conftest.err'
99432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99433 (eval $ac_try) 2>&5
99434 ac_status=$?
99435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99436 (exit $ac_status); }; } &&
99437 { ac_try='test -s conftest$ac_exeext'
99438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99439 (eval $ac_try) 2>&5
99440 ac_status=$?
99441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99442 (exit $ac_status); }; }; then
99443 eval "$as_ac_var=yes"
99444 else
99445 echo "$as_me: failed program was:" >&5
99446 sed 's/^/| /' conftest.$ac_ext >&5
99448 eval "$as_ac_var=no"
99450 rm -f conftest.err conftest.$ac_objext \
99451 conftest$ac_exeext conftest.$ac_ext
99453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99455 if test `eval echo '${'$as_ac_var'}'` = yes; then
99456 cat >>confdefs.h <<_ACEOF
99457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99458 _ACEOF
99460 else
99461 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99463 done
99467 for ac_func in __signbitf
99469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99470 echo "$as_me:$LINENO: checking for $ac_func" >&5
99471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99472 if eval "test \"\${$as_ac_var+set}\" = set"; then
99473 echo $ECHO_N "(cached) $ECHO_C" >&6
99474 else
99475 if test x$gcc_no_link = xyes; then
99476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99478 { (exit 1); exit 1; }; }
99480 cat >conftest.$ac_ext <<_ACEOF
99481 /* confdefs.h. */
99482 _ACEOF
99483 cat confdefs.h >>conftest.$ac_ext
99484 cat >>conftest.$ac_ext <<_ACEOF
99485 /* end confdefs.h. */
99486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99488 #define $ac_func innocuous_$ac_func
99490 /* System header to define __stub macros and hopefully few prototypes,
99491 which can conflict with char $ac_func (); below.
99492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99493 <limits.h> exists even on freestanding compilers. */
99495 #ifdef __STDC__
99496 # include <limits.h>
99497 #else
99498 # include <assert.h>
99499 #endif
99501 #undef $ac_func
99503 /* Override any gcc2 internal prototype to avoid an error. */
99504 #ifdef __cplusplus
99505 extern "C"
99507 #endif
99508 /* We use char because int might match the return type of a gcc2
99509 builtin and then its argument prototype would still apply. */
99510 char $ac_func ();
99511 /* The GNU C library defines this for functions which it implements
99512 to always fail with ENOSYS. Some functions are actually named
99513 something starting with __ and the normal name is an alias. */
99514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99515 choke me
99516 #else
99517 char (*f) () = $ac_func;
99518 #endif
99519 #ifdef __cplusplus
99521 #endif
99524 main ()
99526 return f != $ac_func;
99528 return 0;
99530 _ACEOF
99531 rm -f conftest.$ac_objext conftest$ac_exeext
99532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99533 (eval $ac_link) 2>conftest.er1
99534 ac_status=$?
99535 grep -v '^ *+' conftest.er1 >conftest.err
99536 rm -f conftest.er1
99537 cat conftest.err >&5
99538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99539 (exit $ac_status); } &&
99540 { ac_try='test -z "$ac_c_werror_flag"
99541 || test ! -s conftest.err'
99542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99543 (eval $ac_try) 2>&5
99544 ac_status=$?
99545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99546 (exit $ac_status); }; } &&
99547 { ac_try='test -s conftest$ac_exeext'
99548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99549 (eval $ac_try) 2>&5
99550 ac_status=$?
99551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99552 (exit $ac_status); }; }; then
99553 eval "$as_ac_var=yes"
99554 else
99555 echo "$as_me: failed program was:" >&5
99556 sed 's/^/| /' conftest.$ac_ext >&5
99558 eval "$as_ac_var=no"
99560 rm -f conftest.err conftest.$ac_objext \
99561 conftest$ac_exeext conftest.$ac_ext
99563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99565 if test `eval echo '${'$as_ac_var'}'` = yes; then
99566 cat >>confdefs.h <<_ACEOF
99567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99568 _ACEOF
99570 else
99571 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99573 done
99576 if test x$ac_cv_func_copysignl = x"yes"; then
99578 for ac_func in __signbitl
99580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99581 echo "$as_me:$LINENO: checking for $ac_func" >&5
99582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99583 if eval "test \"\${$as_ac_var+set}\" = set"; then
99584 echo $ECHO_N "(cached) $ECHO_C" >&6
99585 else
99586 if test x$gcc_no_link = xyes; then
99587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99589 { (exit 1); exit 1; }; }
99591 cat >conftest.$ac_ext <<_ACEOF
99592 /* confdefs.h. */
99593 _ACEOF
99594 cat confdefs.h >>conftest.$ac_ext
99595 cat >>conftest.$ac_ext <<_ACEOF
99596 /* end confdefs.h. */
99597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99599 #define $ac_func innocuous_$ac_func
99601 /* System header to define __stub macros and hopefully few prototypes,
99602 which can conflict with char $ac_func (); below.
99603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99604 <limits.h> exists even on freestanding compilers. */
99606 #ifdef __STDC__
99607 # include <limits.h>
99608 #else
99609 # include <assert.h>
99610 #endif
99612 #undef $ac_func
99614 /* Override any gcc2 internal prototype to avoid an error. */
99615 #ifdef __cplusplus
99616 extern "C"
99618 #endif
99619 /* We use char because int might match the return type of a gcc2
99620 builtin and then its argument prototype would still apply. */
99621 char $ac_func ();
99622 /* The GNU C library defines this for functions which it implements
99623 to always fail with ENOSYS. Some functions are actually named
99624 something starting with __ and the normal name is an alias. */
99625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99626 choke me
99627 #else
99628 char (*f) () = $ac_func;
99629 #endif
99630 #ifdef __cplusplus
99632 #endif
99635 main ()
99637 return f != $ac_func;
99639 return 0;
99641 _ACEOF
99642 rm -f conftest.$ac_objext conftest$ac_exeext
99643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99644 (eval $ac_link) 2>conftest.er1
99645 ac_status=$?
99646 grep -v '^ *+' conftest.er1 >conftest.err
99647 rm -f conftest.er1
99648 cat conftest.err >&5
99649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99650 (exit $ac_status); } &&
99651 { ac_try='test -z "$ac_c_werror_flag"
99652 || test ! -s conftest.err'
99653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99654 (eval $ac_try) 2>&5
99655 ac_status=$?
99656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99657 (exit $ac_status); }; } &&
99658 { ac_try='test -s conftest$ac_exeext'
99659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99660 (eval $ac_try) 2>&5
99661 ac_status=$?
99662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99663 (exit $ac_status); }; }; then
99664 eval "$as_ac_var=yes"
99665 else
99666 echo "$as_me: failed program was:" >&5
99667 sed 's/^/| /' conftest.$ac_ext >&5
99669 eval "$as_ac_var=no"
99671 rm -f conftest.err conftest.$ac_objext \
99672 conftest$ac_exeext conftest.$ac_ext
99674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99676 if test `eval echo '${'$as_ac_var'}'` = yes; then
99677 cat >>confdefs.h <<_ACEOF
99678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99679 _ACEOF
99681 else
99682 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99684 done
99688 # Used in libmath/Makefile.am.
99689 if test -n "$LIBMATHOBJS"; then
99690 need_libmath=yes
99695 ac_test_CXXFLAGS="${CXXFLAGS+set}"
99696 ac_save_CXXFLAGS="$CXXFLAGS"
99697 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99700 echo "$as_me:$LINENO: checking for strtold declaration" >&5
99701 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99702 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99703 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99704 echo $ECHO_N "(cached) $ECHO_C" >&6
99705 else
99709 ac_ext=cc
99710 ac_cpp='$CXXCPP $CPPFLAGS'
99711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99715 cat >conftest.$ac_ext <<_ACEOF
99716 /* confdefs.h. */
99717 _ACEOF
99718 cat confdefs.h >>conftest.$ac_ext
99719 cat >>conftest.$ac_ext <<_ACEOF
99720 /* end confdefs.h. */
99721 #include <stdlib.h>
99723 main ()
99725 strtold(0, 0);
99727 return 0;
99729 _ACEOF
99730 rm -f conftest.$ac_objext
99731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99732 (eval $ac_compile) 2>conftest.er1
99733 ac_status=$?
99734 grep -v '^ *+' conftest.er1 >conftest.err
99735 rm -f conftest.er1
99736 cat conftest.err >&5
99737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99738 (exit $ac_status); } &&
99739 { ac_try='test -z "$ac_cxx_werror_flag"
99740 || test ! -s conftest.err'
99741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99742 (eval $ac_try) 2>&5
99743 ac_status=$?
99744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99745 (exit $ac_status); }; } &&
99746 { ac_try='test -s conftest.$ac_objext'
99747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99748 (eval $ac_try) 2>&5
99749 ac_status=$?
99750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99751 (exit $ac_status); }; }; then
99752 glibcxx_cv_func_strtold_use=yes
99753 else
99754 echo "$as_me: failed program was:" >&5
99755 sed 's/^/| /' conftest.$ac_ext >&5
99757 glibcxx_cv_func_strtold_use=no
99759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99760 ac_ext=c
99761 ac_cpp='$CPP $CPPFLAGS'
99762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99771 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99772 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99774 for ac_func in strtold
99776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99777 echo "$as_me:$LINENO: checking for $ac_func" >&5
99778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99779 if eval "test \"\${$as_ac_var+set}\" = set"; then
99780 echo $ECHO_N "(cached) $ECHO_C" >&6
99781 else
99782 if test x$gcc_no_link = xyes; then
99783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99785 { (exit 1); exit 1; }; }
99787 cat >conftest.$ac_ext <<_ACEOF
99788 /* confdefs.h. */
99789 _ACEOF
99790 cat confdefs.h >>conftest.$ac_ext
99791 cat >>conftest.$ac_ext <<_ACEOF
99792 /* end confdefs.h. */
99793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99795 #define $ac_func innocuous_$ac_func
99797 /* System header to define __stub macros and hopefully few prototypes,
99798 which can conflict with char $ac_func (); below.
99799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99800 <limits.h> exists even on freestanding compilers. */
99802 #ifdef __STDC__
99803 # include <limits.h>
99804 #else
99805 # include <assert.h>
99806 #endif
99808 #undef $ac_func
99810 /* Override any gcc2 internal prototype to avoid an error. */
99811 #ifdef __cplusplus
99812 extern "C"
99814 #endif
99815 /* We use char because int might match the return type of a gcc2
99816 builtin and then its argument prototype would still apply. */
99817 char $ac_func ();
99818 /* The GNU C library defines this for functions which it implements
99819 to always fail with ENOSYS. Some functions are actually named
99820 something starting with __ and the normal name is an alias. */
99821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99822 choke me
99823 #else
99824 char (*f) () = $ac_func;
99825 #endif
99826 #ifdef __cplusplus
99828 #endif
99831 main ()
99833 return f != $ac_func;
99835 return 0;
99837 _ACEOF
99838 rm -f conftest.$ac_objext conftest$ac_exeext
99839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99840 (eval $ac_link) 2>conftest.er1
99841 ac_status=$?
99842 grep -v '^ *+' conftest.er1 >conftest.err
99843 rm -f conftest.er1
99844 cat conftest.err >&5
99845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99846 (exit $ac_status); } &&
99847 { ac_try='test -z "$ac_c_werror_flag"
99848 || test ! -s conftest.err'
99849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99850 (eval $ac_try) 2>&5
99851 ac_status=$?
99852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99853 (exit $ac_status); }; } &&
99854 { ac_try='test -s conftest$ac_exeext'
99855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99856 (eval $ac_try) 2>&5
99857 ac_status=$?
99858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99859 (exit $ac_status); }; }; then
99860 eval "$as_ac_var=yes"
99861 else
99862 echo "$as_me: failed program was:" >&5
99863 sed 's/^/| /' conftest.$ac_ext >&5
99865 eval "$as_ac_var=no"
99867 rm -f conftest.err conftest.$ac_objext \
99868 conftest$ac_exeext conftest.$ac_ext
99870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99872 if test `eval echo '${'$as_ac_var'}'` = yes; then
99873 cat >>confdefs.h <<_ACEOF
99874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99875 _ACEOF
99878 done
99886 echo "$as_me:$LINENO: checking for strtof declaration" >&5
99887 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99888 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99889 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99890 echo $ECHO_N "(cached) $ECHO_C" >&6
99891 else
99895 ac_ext=cc
99896 ac_cpp='$CXXCPP $CPPFLAGS'
99897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99901 cat >conftest.$ac_ext <<_ACEOF
99902 /* confdefs.h. */
99903 _ACEOF
99904 cat confdefs.h >>conftest.$ac_ext
99905 cat >>conftest.$ac_ext <<_ACEOF
99906 /* end confdefs.h. */
99907 #include <stdlib.h>
99909 main ()
99911 strtof(0, 0);
99913 return 0;
99915 _ACEOF
99916 rm -f conftest.$ac_objext
99917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99918 (eval $ac_compile) 2>conftest.er1
99919 ac_status=$?
99920 grep -v '^ *+' conftest.er1 >conftest.err
99921 rm -f conftest.er1
99922 cat conftest.err >&5
99923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99924 (exit $ac_status); } &&
99925 { ac_try='test -z "$ac_cxx_werror_flag"
99926 || test ! -s conftest.err'
99927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99928 (eval $ac_try) 2>&5
99929 ac_status=$?
99930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99931 (exit $ac_status); }; } &&
99932 { ac_try='test -s conftest.$ac_objext'
99933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99934 (eval $ac_try) 2>&5
99935 ac_status=$?
99936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99937 (exit $ac_status); }; }; then
99938 glibcxx_cv_func_strtof_use=yes
99939 else
99940 echo "$as_me: failed program was:" >&5
99941 sed 's/^/| /' conftest.$ac_ext >&5
99943 glibcxx_cv_func_strtof_use=no
99945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99946 ac_ext=c
99947 ac_cpp='$CPP $CPPFLAGS'
99948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99957 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99958 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99960 for ac_func in strtof
99962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99963 echo "$as_me:$LINENO: checking for $ac_func" >&5
99964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99965 if eval "test \"\${$as_ac_var+set}\" = set"; then
99966 echo $ECHO_N "(cached) $ECHO_C" >&6
99967 else
99968 if test x$gcc_no_link = xyes; then
99969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99971 { (exit 1); exit 1; }; }
99973 cat >conftest.$ac_ext <<_ACEOF
99974 /* confdefs.h. */
99975 _ACEOF
99976 cat confdefs.h >>conftest.$ac_ext
99977 cat >>conftest.$ac_ext <<_ACEOF
99978 /* end confdefs.h. */
99979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99981 #define $ac_func innocuous_$ac_func
99983 /* System header to define __stub macros and hopefully few prototypes,
99984 which can conflict with char $ac_func (); below.
99985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99986 <limits.h> exists even on freestanding compilers. */
99988 #ifdef __STDC__
99989 # include <limits.h>
99990 #else
99991 # include <assert.h>
99992 #endif
99994 #undef $ac_func
99996 /* Override any gcc2 internal prototype to avoid an error. */
99997 #ifdef __cplusplus
99998 extern "C"
100000 #endif
100001 /* We use char because int might match the return type of a gcc2
100002 builtin and then its argument prototype would still apply. */
100003 char $ac_func ();
100004 /* The GNU C library defines this for functions which it implements
100005 to always fail with ENOSYS. Some functions are actually named
100006 something starting with __ and the normal name is an alias. */
100007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100008 choke me
100009 #else
100010 char (*f) () = $ac_func;
100011 #endif
100012 #ifdef __cplusplus
100014 #endif
100017 main ()
100019 return f != $ac_func;
100021 return 0;
100023 _ACEOF
100024 rm -f conftest.$ac_objext conftest$ac_exeext
100025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100026 (eval $ac_link) 2>conftest.er1
100027 ac_status=$?
100028 grep -v '^ *+' conftest.er1 >conftest.err
100029 rm -f conftest.er1
100030 cat conftest.err >&5
100031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100032 (exit $ac_status); } &&
100033 { ac_try='test -z "$ac_c_werror_flag"
100034 || test ! -s conftest.err'
100035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100036 (eval $ac_try) 2>&5
100037 ac_status=$?
100038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100039 (exit $ac_status); }; } &&
100040 { ac_try='test -s conftest$ac_exeext'
100041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100042 (eval $ac_try) 2>&5
100043 ac_status=$?
100044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100045 (exit $ac_status); }; }; then
100046 eval "$as_ac_var=yes"
100048 echo "$as_me: failed program was:" >&5
100049 sed 's/^/| /' conftest.$ac_ext >&5
100051 eval "$as_ac_var=no"
100053 rm -f conftest.err conftest.$ac_objext \
100054 conftest$ac_exeext conftest.$ac_ext
100056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100058 if test `eval echo '${'$as_ac_var'}'` = yes; then
100059 cat >>confdefs.h <<_ACEOF
100060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100061 _ACEOF
100072 CXXFLAGS="$ac_save_CXXFLAGS"
100075 cat >>confdefs.h <<\_ACEOF
100076 #define _GLIBCXX_USE_RANDOM_TR1 1
100077 _ACEOF
100080 # For iconv support.
100086 am_save_CPPFLAGS="$CPPFLAGS"
100088 for element in $INCICONV; do
100089 haveit=
100090 for x in $CPPFLAGS; do
100092 acl_save_prefix="$prefix"
100093 prefix="$acl_final_prefix"
100094 acl_save_exec_prefix="$exec_prefix"
100095 exec_prefix="$acl_final_exec_prefix"
100096 eval x=\"$x\"
100097 exec_prefix="$acl_save_exec_prefix"
100098 prefix="$acl_save_prefix"
100100 if test "X$x" = "X$element"; then
100101 haveit=yes
100102 break
100105 if test -z "$haveit"; then
100106 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
100111 echo "$as_me:$LINENO: checking for iconv" >&5
100112 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
100113 if test "${am_cv_func_iconv+set}" = set; then
100114 echo $ECHO_N "(cached) $ECHO_C" >&6
100117 am_cv_func_iconv="no, consider installing GNU libiconv"
100118 am_cv_lib_iconv=no
100119 if test x$gcc_no_link = xyes; then
100120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100122 { (exit 1); exit 1; }; }
100124 cat >conftest.$ac_ext <<_ACEOF
100125 /* confdefs.h. */
100126 _ACEOF
100127 cat confdefs.h >>conftest.$ac_ext
100128 cat >>conftest.$ac_ext <<_ACEOF
100129 /* end confdefs.h. */
100130 #include <stdlib.h>
100131 #include <iconv.h>
100133 main ()
100135 iconv_t cd = iconv_open("","");
100136 iconv(cd,NULL,NULL,NULL,NULL);
100137 iconv_close(cd);
100139 return 0;
100141 _ACEOF
100142 rm -f conftest.$ac_objext conftest$ac_exeext
100143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100144 (eval $ac_link) 2>conftest.er1
100145 ac_status=$?
100146 grep -v '^ *+' conftest.er1 >conftest.err
100147 rm -f conftest.er1
100148 cat conftest.err >&5
100149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100150 (exit $ac_status); } &&
100151 { ac_try='test -z "$ac_c_werror_flag"
100152 || test ! -s conftest.err'
100153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100154 (eval $ac_try) 2>&5
100155 ac_status=$?
100156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100157 (exit $ac_status); }; } &&
100158 { ac_try='test -s conftest$ac_exeext'
100159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100160 (eval $ac_try) 2>&5
100161 ac_status=$?
100162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100163 (exit $ac_status); }; }; then
100164 am_cv_func_iconv=yes
100166 echo "$as_me: failed program was:" >&5
100167 sed 's/^/| /' conftest.$ac_ext >&5
100170 rm -f conftest.err conftest.$ac_objext \
100171 conftest$ac_exeext conftest.$ac_ext
100172 if test "$am_cv_func_iconv" != yes; then
100173 am_save_LIBS="$LIBS"
100174 LIBS="$LIBS $LIBICONV"
100175 if test x$gcc_no_link = xyes; then
100176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100178 { (exit 1); exit 1; }; }
100180 cat >conftest.$ac_ext <<_ACEOF
100181 /* confdefs.h. */
100182 _ACEOF
100183 cat confdefs.h >>conftest.$ac_ext
100184 cat >>conftest.$ac_ext <<_ACEOF
100185 /* end confdefs.h. */
100186 #include <stdlib.h>
100187 #include <iconv.h>
100189 main ()
100191 iconv_t cd = iconv_open("","");
100192 iconv(cd,NULL,NULL,NULL,NULL);
100193 iconv_close(cd);
100195 return 0;
100197 _ACEOF
100198 rm -f conftest.$ac_objext conftest$ac_exeext
100199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100200 (eval $ac_link) 2>conftest.er1
100201 ac_status=$?
100202 grep -v '^ *+' conftest.er1 >conftest.err
100203 rm -f conftest.er1
100204 cat conftest.err >&5
100205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100206 (exit $ac_status); } &&
100207 { ac_try='test -z "$ac_c_werror_flag"
100208 || test ! -s conftest.err'
100209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100210 (eval $ac_try) 2>&5
100211 ac_status=$?
100212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100213 (exit $ac_status); }; } &&
100214 { ac_try='test -s conftest$ac_exeext'
100215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100216 (eval $ac_try) 2>&5
100217 ac_status=$?
100218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100219 (exit $ac_status); }; }; then
100220 am_cv_lib_iconv=yes
100221 am_cv_func_iconv=yes
100223 echo "$as_me: failed program was:" >&5
100224 sed 's/^/| /' conftest.$ac_ext >&5
100227 rm -f conftest.err conftest.$ac_objext \
100228 conftest$ac_exeext conftest.$ac_ext
100229 LIBS="$am_save_LIBS"
100233 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
100234 echo "${ECHO_T}$am_cv_func_iconv" >&6
100235 if test "$am_cv_func_iconv" = yes; then
100237 cat >>confdefs.h <<\_ACEOF
100238 #define HAVE_ICONV 1
100239 _ACEOF
100242 if test "$am_cv_lib_iconv" = yes; then
100243 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
100244 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
100245 echo "$as_me:$LINENO: result: $LIBICONV" >&5
100246 echo "${ECHO_T}$LIBICONV" >&6
100248 CPPFLAGS="$am_save_CPPFLAGS"
100249 LIBICONV=
100250 LTLIBICONV=
100255 if test "$am_cv_func_iconv" = yes; then
100256 echo "$as_me:$LINENO: checking for iconv declaration" >&5
100257 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
100258 if test "${am_cv_proto_iconv+set}" = set; then
100259 echo $ECHO_N "(cached) $ECHO_C" >&6
100262 cat >conftest.$ac_ext <<_ACEOF
100263 /* confdefs.h. */
100264 _ACEOF
100265 cat confdefs.h >>conftest.$ac_ext
100266 cat >>conftest.$ac_ext <<_ACEOF
100267 /* end confdefs.h. */
100269 #include <stdlib.h>
100270 #include <iconv.h>
100271 extern
100272 #ifdef __cplusplus
100274 #endif
100275 #if defined(__STDC__) || defined(__cplusplus)
100276 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
100277 #else
100278 size_t iconv();
100279 #endif
100282 main ()
100286 return 0;
100288 _ACEOF
100289 rm -f conftest.$ac_objext
100290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100291 (eval $ac_compile) 2>conftest.er1
100292 ac_status=$?
100293 grep -v '^ *+' conftest.er1 >conftest.err
100294 rm -f conftest.er1
100295 cat conftest.err >&5
100296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100297 (exit $ac_status); } &&
100298 { ac_try='test -z "$ac_c_werror_flag"
100299 || test ! -s conftest.err'
100300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100301 (eval $ac_try) 2>&5
100302 ac_status=$?
100303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100304 (exit $ac_status); }; } &&
100305 { ac_try='test -s conftest.$ac_objext'
100306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100307 (eval $ac_try) 2>&5
100308 ac_status=$?
100309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100310 (exit $ac_status); }; }; then
100311 am_cv_proto_iconv_arg1=""
100313 echo "$as_me: failed program was:" >&5
100314 sed 's/^/| /' conftest.$ac_ext >&5
100316 am_cv_proto_iconv_arg1="const"
100318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100319 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);"
100322 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
100323 echo "$as_me:$LINENO: result: ${ac_t:-
100324 }$am_cv_proto_iconv" >&5
100325 echo "${ECHO_T}${ac_t:-
100326 }$am_cv_proto_iconv" >&6
100328 cat >>confdefs.h <<_ACEOF
100329 #define ICONV_CONST $am_cv_proto_iconv_arg1
100330 _ACEOF
100335 *-mingw32*)
100336 cat >>confdefs.h <<\_ACEOF
100337 #define HAVE_STRTOF 1
100338 _ACEOF
100340 cat >>confdefs.h <<\_ACEOF
100341 #define HAVE_STRTOLD 1
100342 _ACEOF
100345 # If we're not using GNU ld, then there's no point in even trying these
100346 # tests. Check for that first. We should have already tested for gld
100347 # by now (in libtool), but require it now just to be safe...
100348 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100349 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100353 # The name set by libtool depends on the version of libtool. Shame on us
100354 # for depending on an impl detail, but c'est la vie. Older versions used
100355 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100356 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100357 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100358 # set (hence we're using an older libtool), then set it.
100359 if test x${with_gnu_ld+set} != xset; then
100360 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100361 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100362 with_gnu_ld=no
100364 with_gnu_ld=$ac_cv_prog_gnu_ld
100368 # Start by getting the version number. I think the libtool test already
100369 # does some of this, but throws away the result.
100370 glibcxx_ld_is_gold=no
100371 if test x"$with_gnu_ld" = x"yes"; then
100372 echo "$as_me:$LINENO: checking for ld version" >&5
100373 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100375 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
100376 glibcxx_ld_is_gold=yes
100378 ldver=`$LD --version 2>/dev/null | head -1 | \
100379 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
100381 glibcxx_gnu_ld_version=`echo $ldver | \
100382 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100383 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100384 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100387 # Set --gc-sections.
100388 glibcxx_have_gc_sections=no
100389 if test "$glibcxx_ld_is_gold" = "yes"; then
100390 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
100391 glibcxx_have_gc_sections=yes
100394 glibcxx_gcsections_min_ld=21602
100395 if test x"$with_gnu_ld" = x"yes" &&
100396 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100397 glibcxx_have_gc_sections=yes
100400 if test "$glibcxx_have_gc_sections" = "yes"; then
100401 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100402 # NB: This flag only works reliably after 2.16.1. Configure tests
100403 # for this are difficult, so hard wire a value that should work.
100405 ac_test_CFLAGS="${CFLAGS+set}"
100406 ac_save_CFLAGS="$CFLAGS"
100407 CFLAGS='-Wl,--gc-sections'
100409 # Check for -Wl,--gc-sections
100410 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100411 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100412 if test x$gcc_no_link = xyes; then
100413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100415 { (exit 1); exit 1; }; }
100417 cat >conftest.$ac_ext <<_ACEOF
100418 /* confdefs.h. */
100419 _ACEOF
100420 cat confdefs.h >>conftest.$ac_ext
100421 cat >>conftest.$ac_ext <<_ACEOF
100422 /* end confdefs.h. */
100423 int one(void) { return 1; }
100424 int two(void) { return 2; }
100427 main ()
100429 two();
100431 return 0;
100433 _ACEOF
100434 rm -f conftest.$ac_objext conftest$ac_exeext
100435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100436 (eval $ac_link) 2>conftest.er1
100437 ac_status=$?
100438 grep -v '^ *+' conftest.er1 >conftest.err
100439 rm -f conftest.er1
100440 cat conftest.err >&5
100441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100442 (exit $ac_status); } &&
100443 { ac_try='test -z "$ac_c_werror_flag"
100444 || test ! -s conftest.err'
100445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100446 (eval $ac_try) 2>&5
100447 ac_status=$?
100448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100449 (exit $ac_status); }; } &&
100450 { ac_try='test -s conftest$ac_exeext'
100451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100452 (eval $ac_try) 2>&5
100453 ac_status=$?
100454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100455 (exit $ac_status); }; }; then
100456 ac_gcsections=yes
100458 echo "$as_me: failed program was:" >&5
100459 sed 's/^/| /' conftest.$ac_ext >&5
100461 ac_gcsections=no
100463 rm -f conftest.err conftest.$ac_objext \
100464 conftest$ac_exeext conftest.$ac_ext
100465 if test "$ac_gcsections" = "yes"; then
100466 rm -f conftest.c
100467 touch conftest.c
100468 if $CC -c conftest.c; then
100469 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100470 grep "Warning: gc-sections option ignored" > /dev/null; then
100471 ac_gcsections=no
100474 rm -f conftest.c conftest.o conftest
100476 if test "$ac_gcsections" = "yes"; then
100477 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100479 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100480 echo "${ECHO_T}$ac_gcsections" >&6
100482 if test "$ac_test_CFLAGS" = set; then
100483 CFLAGS="$ac_save_CFLAGS"
100485 # this is the suspicious part
100486 CFLAGS=''
100490 # Set -z,relro.
100491 # Note this is only for shared objects.
100492 ac_ld_relro=no
100493 if test x"$with_gnu_ld" = x"yes"; then
100494 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100495 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100496 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100497 if test -n "$cxx_z_relo"; then
100498 OPT_LDFLAGS="-Wl,-z,relro"
100499 ac_ld_relro=yes
100501 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100502 echo "${ECHO_T}$ac_ld_relro" >&6
100505 # Set linker optimization flags.
100506 if test x"$with_gnu_ld" = x"yes"; then
100507 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100515 echo "$as_me:$LINENO: checking for main in -lm" >&5
100516 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100517 if test "${ac_cv_lib_m_main+set}" = set; then
100518 echo $ECHO_N "(cached) $ECHO_C" >&6
100520 ac_check_lib_save_LIBS=$LIBS
100521 LIBS="-lm $LIBS"
100522 if test x$gcc_no_link = xyes; then
100523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100525 { (exit 1); exit 1; }; }
100527 cat >conftest.$ac_ext <<_ACEOF
100528 /* confdefs.h. */
100529 _ACEOF
100530 cat confdefs.h >>conftest.$ac_ext
100531 cat >>conftest.$ac_ext <<_ACEOF
100532 /* end confdefs.h. */
100536 main ()
100538 main ();
100540 return 0;
100542 _ACEOF
100543 rm -f conftest.$ac_objext conftest$ac_exeext
100544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100545 (eval $ac_link) 2>conftest.er1
100546 ac_status=$?
100547 grep -v '^ *+' conftest.er1 >conftest.err
100548 rm -f conftest.er1
100549 cat conftest.err >&5
100550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100551 (exit $ac_status); } &&
100552 { ac_try='test -z "$ac_c_werror_flag"
100553 || test ! -s conftest.err'
100554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100555 (eval $ac_try) 2>&5
100556 ac_status=$?
100557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100558 (exit $ac_status); }; } &&
100559 { ac_try='test -s conftest$ac_exeext'
100560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100561 (eval $ac_try) 2>&5
100562 ac_status=$?
100563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100564 (exit $ac_status); }; }; then
100565 ac_cv_lib_m_main=yes
100567 echo "$as_me: failed program was:" >&5
100568 sed 's/^/| /' conftest.$ac_ext >&5
100570 ac_cv_lib_m_main=no
100572 rm -f conftest.err conftest.$ac_objext \
100573 conftest$ac_exeext conftest.$ac_ext
100574 LIBS=$ac_check_lib_save_LIBS
100576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100577 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100578 if test $ac_cv_lib_m_main = yes; then
100579 cat >>confdefs.h <<_ACEOF
100580 #define HAVE_LIBM 1
100581 _ACEOF
100583 LIBS="-lm $LIBS"
100588 for ac_func in copysignf
100590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100591 echo "$as_me:$LINENO: checking for $ac_func" >&5
100592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100593 if eval "test \"\${$as_ac_var+set}\" = set"; then
100594 echo $ECHO_N "(cached) $ECHO_C" >&6
100596 if test x$gcc_no_link = xyes; then
100597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100599 { (exit 1); exit 1; }; }
100601 cat >conftest.$ac_ext <<_ACEOF
100602 /* confdefs.h. */
100603 _ACEOF
100604 cat confdefs.h >>conftest.$ac_ext
100605 cat >>conftest.$ac_ext <<_ACEOF
100606 /* end confdefs.h. */
100607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100609 #define $ac_func innocuous_$ac_func
100611 /* System header to define __stub macros and hopefully few prototypes,
100612 which can conflict with char $ac_func (); below.
100613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100614 <limits.h> exists even on freestanding compilers. */
100616 #ifdef __STDC__
100617 # include <limits.h>
100618 #else
100619 # include <assert.h>
100620 #endif
100622 #undef $ac_func
100624 /* Override any gcc2 internal prototype to avoid an error. */
100625 #ifdef __cplusplus
100626 extern "C"
100628 #endif
100629 /* We use char because int might match the return type of a gcc2
100630 builtin and then its argument prototype would still apply. */
100631 char $ac_func ();
100632 /* The GNU C library defines this for functions which it implements
100633 to always fail with ENOSYS. Some functions are actually named
100634 something starting with __ and the normal name is an alias. */
100635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100636 choke me
100637 #else
100638 char (*f) () = $ac_func;
100639 #endif
100640 #ifdef __cplusplus
100642 #endif
100645 main ()
100647 return f != $ac_func;
100649 return 0;
100651 _ACEOF
100652 rm -f conftest.$ac_objext conftest$ac_exeext
100653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100654 (eval $ac_link) 2>conftest.er1
100655 ac_status=$?
100656 grep -v '^ *+' conftest.er1 >conftest.err
100657 rm -f conftest.er1
100658 cat conftest.err >&5
100659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100660 (exit $ac_status); } &&
100661 { ac_try='test -z "$ac_c_werror_flag"
100662 || test ! -s conftest.err'
100663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100664 (eval $ac_try) 2>&5
100665 ac_status=$?
100666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100667 (exit $ac_status); }; } &&
100668 { ac_try='test -s conftest$ac_exeext'
100669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100670 (eval $ac_try) 2>&5
100671 ac_status=$?
100672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100673 (exit $ac_status); }; }; then
100674 eval "$as_ac_var=yes"
100676 echo "$as_me: failed program was:" >&5
100677 sed 's/^/| /' conftest.$ac_ext >&5
100679 eval "$as_ac_var=no"
100681 rm -f conftest.err conftest.$ac_objext \
100682 conftest$ac_exeext conftest.$ac_ext
100684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100686 if test `eval echo '${'$as_ac_var'}'` = yes; then
100687 cat >>confdefs.h <<_ACEOF
100688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100689 _ACEOF
100692 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100698 for ac_func in __signbit
100700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100701 echo "$as_me:$LINENO: checking for $ac_func" >&5
100702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100703 if eval "test \"\${$as_ac_var+set}\" = set"; then
100704 echo $ECHO_N "(cached) $ECHO_C" >&6
100706 if test x$gcc_no_link = xyes; then
100707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100709 { (exit 1); exit 1; }; }
100711 cat >conftest.$ac_ext <<_ACEOF
100712 /* confdefs.h. */
100713 _ACEOF
100714 cat confdefs.h >>conftest.$ac_ext
100715 cat >>conftest.$ac_ext <<_ACEOF
100716 /* end confdefs.h. */
100717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100719 #define $ac_func innocuous_$ac_func
100721 /* System header to define __stub macros and hopefully few prototypes,
100722 which can conflict with char $ac_func (); below.
100723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100724 <limits.h> exists even on freestanding compilers. */
100726 #ifdef __STDC__
100727 # include <limits.h>
100728 #else
100729 # include <assert.h>
100730 #endif
100732 #undef $ac_func
100734 /* Override any gcc2 internal prototype to avoid an error. */
100735 #ifdef __cplusplus
100736 extern "C"
100738 #endif
100739 /* We use char because int might match the return type of a gcc2
100740 builtin and then its argument prototype would still apply. */
100741 char $ac_func ();
100742 /* The GNU C library defines this for functions which it implements
100743 to always fail with ENOSYS. Some functions are actually named
100744 something starting with __ and the normal name is an alias. */
100745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100746 choke me
100747 #else
100748 char (*f) () = $ac_func;
100749 #endif
100750 #ifdef __cplusplus
100752 #endif
100755 main ()
100757 return f != $ac_func;
100759 return 0;
100761 _ACEOF
100762 rm -f conftest.$ac_objext conftest$ac_exeext
100763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100764 (eval $ac_link) 2>conftest.er1
100765 ac_status=$?
100766 grep -v '^ *+' conftest.er1 >conftest.err
100767 rm -f conftest.er1
100768 cat conftest.err >&5
100769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100770 (exit $ac_status); } &&
100771 { ac_try='test -z "$ac_c_werror_flag"
100772 || test ! -s conftest.err'
100773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100774 (eval $ac_try) 2>&5
100775 ac_status=$?
100776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100777 (exit $ac_status); }; } &&
100778 { ac_try='test -s conftest$ac_exeext'
100779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100780 (eval $ac_try) 2>&5
100781 ac_status=$?
100782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100783 (exit $ac_status); }; }; then
100784 eval "$as_ac_var=yes"
100786 echo "$as_me: failed program was:" >&5
100787 sed 's/^/| /' conftest.$ac_ext >&5
100789 eval "$as_ac_var=no"
100791 rm -f conftest.err conftest.$ac_objext \
100792 conftest$ac_exeext conftest.$ac_ext
100794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100796 if test `eval echo '${'$as_ac_var'}'` = yes; then
100797 cat >>confdefs.h <<_ACEOF
100798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100799 _ACEOF
100802 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100808 for ac_func in __signbitf
100810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100811 echo "$as_me:$LINENO: checking for $ac_func" >&5
100812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100813 if eval "test \"\${$as_ac_var+set}\" = set"; then
100814 echo $ECHO_N "(cached) $ECHO_C" >&6
100816 if test x$gcc_no_link = xyes; then
100817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100819 { (exit 1); exit 1; }; }
100821 cat >conftest.$ac_ext <<_ACEOF
100822 /* confdefs.h. */
100823 _ACEOF
100824 cat confdefs.h >>conftest.$ac_ext
100825 cat >>conftest.$ac_ext <<_ACEOF
100826 /* end confdefs.h. */
100827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100829 #define $ac_func innocuous_$ac_func
100831 /* System header to define __stub macros and hopefully few prototypes,
100832 which can conflict with char $ac_func (); below.
100833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100834 <limits.h> exists even on freestanding compilers. */
100836 #ifdef __STDC__
100837 # include <limits.h>
100838 #else
100839 # include <assert.h>
100840 #endif
100842 #undef $ac_func
100844 /* Override any gcc2 internal prototype to avoid an error. */
100845 #ifdef __cplusplus
100846 extern "C"
100848 #endif
100849 /* We use char because int might match the return type of a gcc2
100850 builtin and then its argument prototype would still apply. */
100851 char $ac_func ();
100852 /* The GNU C library defines this for functions which it implements
100853 to always fail with ENOSYS. Some functions are actually named
100854 something starting with __ and the normal name is an alias. */
100855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100856 choke me
100857 #else
100858 char (*f) () = $ac_func;
100859 #endif
100860 #ifdef __cplusplus
100862 #endif
100865 main ()
100867 return f != $ac_func;
100869 return 0;
100871 _ACEOF
100872 rm -f conftest.$ac_objext conftest$ac_exeext
100873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100874 (eval $ac_link) 2>conftest.er1
100875 ac_status=$?
100876 grep -v '^ *+' conftest.er1 >conftest.err
100877 rm -f conftest.er1
100878 cat conftest.err >&5
100879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100880 (exit $ac_status); } &&
100881 { ac_try='test -z "$ac_c_werror_flag"
100882 || test ! -s conftest.err'
100883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100884 (eval $ac_try) 2>&5
100885 ac_status=$?
100886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100887 (exit $ac_status); }; } &&
100888 { ac_try='test -s conftest$ac_exeext'
100889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100890 (eval $ac_try) 2>&5
100891 ac_status=$?
100892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100893 (exit $ac_status); }; }; then
100894 eval "$as_ac_var=yes"
100896 echo "$as_me: failed program was:" >&5
100897 sed 's/^/| /' conftest.$ac_ext >&5
100899 eval "$as_ac_var=no"
100901 rm -f conftest.err conftest.$ac_objext \
100902 conftest$ac_exeext conftest.$ac_ext
100904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100906 if test `eval echo '${'$as_ac_var'}'` = yes; then
100907 cat >>confdefs.h <<_ACEOF
100908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100909 _ACEOF
100912 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100917 if test x$ac_cv_func_copysignl = x"yes"; then
100919 for ac_func in __signbitl
100921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100922 echo "$as_me:$LINENO: checking for $ac_func" >&5
100923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100924 if eval "test \"\${$as_ac_var+set}\" = set"; then
100925 echo $ECHO_N "(cached) $ECHO_C" >&6
100927 if test x$gcc_no_link = xyes; then
100928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100930 { (exit 1); exit 1; }; }
100932 cat >conftest.$ac_ext <<_ACEOF
100933 /* confdefs.h. */
100934 _ACEOF
100935 cat confdefs.h >>conftest.$ac_ext
100936 cat >>conftest.$ac_ext <<_ACEOF
100937 /* end confdefs.h. */
100938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100940 #define $ac_func innocuous_$ac_func
100942 /* System header to define __stub macros and hopefully few prototypes,
100943 which can conflict with char $ac_func (); below.
100944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100945 <limits.h> exists even on freestanding compilers. */
100947 #ifdef __STDC__
100948 # include <limits.h>
100949 #else
100950 # include <assert.h>
100951 #endif
100953 #undef $ac_func
100955 /* Override any gcc2 internal prototype to avoid an error. */
100956 #ifdef __cplusplus
100957 extern "C"
100959 #endif
100960 /* We use char because int might match the return type of a gcc2
100961 builtin and then its argument prototype would still apply. */
100962 char $ac_func ();
100963 /* The GNU C library defines this for functions which it implements
100964 to always fail with ENOSYS. Some functions are actually named
100965 something starting with __ and the normal name is an alias. */
100966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100967 choke me
100968 #else
100969 char (*f) () = $ac_func;
100970 #endif
100971 #ifdef __cplusplus
100973 #endif
100976 main ()
100978 return f != $ac_func;
100980 return 0;
100982 _ACEOF
100983 rm -f conftest.$ac_objext conftest$ac_exeext
100984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100985 (eval $ac_link) 2>conftest.er1
100986 ac_status=$?
100987 grep -v '^ *+' conftest.er1 >conftest.err
100988 rm -f conftest.er1
100989 cat conftest.err >&5
100990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100991 (exit $ac_status); } &&
100992 { ac_try='test -z "$ac_c_werror_flag"
100993 || test ! -s conftest.err'
100994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100995 (eval $ac_try) 2>&5
100996 ac_status=$?
100997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100998 (exit $ac_status); }; } &&
100999 { ac_try='test -s conftest$ac_exeext'
101000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101001 (eval $ac_try) 2>&5
101002 ac_status=$?
101003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101004 (exit $ac_status); }; }; then
101005 eval "$as_ac_var=yes"
101007 echo "$as_me: failed program was:" >&5
101008 sed 's/^/| /' conftest.$ac_ext >&5
101010 eval "$as_ac_var=no"
101012 rm -f conftest.err conftest.$ac_objext \
101013 conftest$ac_exeext conftest.$ac_ext
101015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101017 if test `eval echo '${'$as_ac_var'}'` = yes; then
101018 cat >>confdefs.h <<_ACEOF
101019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101020 _ACEOF
101023 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101029 # Used in libmath/Makefile.am.
101030 if test -n "$LIBMATHOBJS"; then
101031 need_libmath=yes
101036 *-netbsd*)
101037 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101040 # If we're not using GNU ld, then there's no point in even trying these
101041 # tests. Check for that first. We should have already tested for gld
101042 # by now (in libtool), but require it now just to be safe...
101043 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101044 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101048 # The name set by libtool depends on the version of libtool. Shame on us
101049 # for depending on an impl detail, but c'est la vie. Older versions used
101050 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101051 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101052 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101053 # set (hence we're using an older libtool), then set it.
101054 if test x${with_gnu_ld+set} != xset; then
101055 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101056 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101057 with_gnu_ld=no
101059 with_gnu_ld=$ac_cv_prog_gnu_ld
101063 # Start by getting the version number. I think the libtool test already
101064 # does some of this, but throws away the result.
101065 glibcxx_ld_is_gold=no
101066 if test x"$with_gnu_ld" = x"yes"; then
101067 echo "$as_me:$LINENO: checking for ld version" >&5
101068 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101070 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
101071 glibcxx_ld_is_gold=yes
101073 ldver=`$LD --version 2>/dev/null | head -1 | \
101074 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101076 glibcxx_gnu_ld_version=`echo $ldver | \
101077 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101078 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101079 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101082 # Set --gc-sections.
101083 glibcxx_have_gc_sections=no
101084 if test "$glibcxx_ld_is_gold" = "yes"; then
101085 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101086 glibcxx_have_gc_sections=yes
101089 glibcxx_gcsections_min_ld=21602
101090 if test x"$with_gnu_ld" = x"yes" &&
101091 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101092 glibcxx_have_gc_sections=yes
101095 if test "$glibcxx_have_gc_sections" = "yes"; then
101096 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101097 # NB: This flag only works reliably after 2.16.1. Configure tests
101098 # for this are difficult, so hard wire a value that should work.
101100 ac_test_CFLAGS="${CFLAGS+set}"
101101 ac_save_CFLAGS="$CFLAGS"
101102 CFLAGS='-Wl,--gc-sections'
101104 # Check for -Wl,--gc-sections
101105 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101106 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101107 if test x$gcc_no_link = xyes; then
101108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101110 { (exit 1); exit 1; }; }
101112 cat >conftest.$ac_ext <<_ACEOF
101113 /* confdefs.h. */
101114 _ACEOF
101115 cat confdefs.h >>conftest.$ac_ext
101116 cat >>conftest.$ac_ext <<_ACEOF
101117 /* end confdefs.h. */
101118 int one(void) { return 1; }
101119 int two(void) { return 2; }
101122 main ()
101124 two();
101126 return 0;
101128 _ACEOF
101129 rm -f conftest.$ac_objext conftest$ac_exeext
101130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101131 (eval $ac_link) 2>conftest.er1
101132 ac_status=$?
101133 grep -v '^ *+' conftest.er1 >conftest.err
101134 rm -f conftest.er1
101135 cat conftest.err >&5
101136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101137 (exit $ac_status); } &&
101138 { ac_try='test -z "$ac_c_werror_flag"
101139 || test ! -s conftest.err'
101140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101141 (eval $ac_try) 2>&5
101142 ac_status=$?
101143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101144 (exit $ac_status); }; } &&
101145 { ac_try='test -s conftest$ac_exeext'
101146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101147 (eval $ac_try) 2>&5
101148 ac_status=$?
101149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101150 (exit $ac_status); }; }; then
101151 ac_gcsections=yes
101153 echo "$as_me: failed program was:" >&5
101154 sed 's/^/| /' conftest.$ac_ext >&5
101156 ac_gcsections=no
101158 rm -f conftest.err conftest.$ac_objext \
101159 conftest$ac_exeext conftest.$ac_ext
101160 if test "$ac_gcsections" = "yes"; then
101161 rm -f conftest.c
101162 touch conftest.c
101163 if $CC -c conftest.c; then
101164 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101165 grep "Warning: gc-sections option ignored" > /dev/null; then
101166 ac_gcsections=no
101169 rm -f conftest.c conftest.o conftest
101171 if test "$ac_gcsections" = "yes"; then
101172 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101174 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101175 echo "${ECHO_T}$ac_gcsections" >&6
101177 if test "$ac_test_CFLAGS" = set; then
101178 CFLAGS="$ac_save_CFLAGS"
101180 # this is the suspicious part
101181 CFLAGS=''
101185 # Set -z,relro.
101186 # Note this is only for shared objects.
101187 ac_ld_relro=no
101188 if test x"$with_gnu_ld" = x"yes"; then
101189 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101190 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101191 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101192 if test -n "$cxx_z_relo"; then
101193 OPT_LDFLAGS="-Wl,-z,relro"
101194 ac_ld_relro=yes
101196 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101197 echo "${ECHO_T}$ac_ld_relro" >&6
101200 # Set linker optimization flags.
101201 if test x"$with_gnu_ld" = x"yes"; then
101202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101210 echo "$as_me:$LINENO: checking for main in -lm" >&5
101211 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101212 if test "${ac_cv_lib_m_main+set}" = set; then
101213 echo $ECHO_N "(cached) $ECHO_C" >&6
101215 ac_check_lib_save_LIBS=$LIBS
101216 LIBS="-lm $LIBS"
101217 if test x$gcc_no_link = xyes; then
101218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101220 { (exit 1); exit 1; }; }
101222 cat >conftest.$ac_ext <<_ACEOF
101223 /* confdefs.h. */
101224 _ACEOF
101225 cat confdefs.h >>conftest.$ac_ext
101226 cat >>conftest.$ac_ext <<_ACEOF
101227 /* end confdefs.h. */
101231 main ()
101233 main ();
101235 return 0;
101237 _ACEOF
101238 rm -f conftest.$ac_objext conftest$ac_exeext
101239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101240 (eval $ac_link) 2>conftest.er1
101241 ac_status=$?
101242 grep -v '^ *+' conftest.er1 >conftest.err
101243 rm -f conftest.er1
101244 cat conftest.err >&5
101245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101246 (exit $ac_status); } &&
101247 { ac_try='test -z "$ac_c_werror_flag"
101248 || test ! -s conftest.err'
101249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101250 (eval $ac_try) 2>&5
101251 ac_status=$?
101252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101253 (exit $ac_status); }; } &&
101254 { ac_try='test -s conftest$ac_exeext'
101255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101256 (eval $ac_try) 2>&5
101257 ac_status=$?
101258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101259 (exit $ac_status); }; }; then
101260 ac_cv_lib_m_main=yes
101262 echo "$as_me: failed program was:" >&5
101263 sed 's/^/| /' conftest.$ac_ext >&5
101265 ac_cv_lib_m_main=no
101267 rm -f conftest.err conftest.$ac_objext \
101268 conftest$ac_exeext conftest.$ac_ext
101269 LIBS=$ac_check_lib_save_LIBS
101271 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101272 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101273 if test $ac_cv_lib_m_main = yes; then
101274 cat >>confdefs.h <<_ACEOF
101275 #define HAVE_LIBM 1
101276 _ACEOF
101278 LIBS="-lm $LIBS"
101283 for ac_func in copysignf
101285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101286 echo "$as_me:$LINENO: checking for $ac_func" >&5
101287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101288 if eval "test \"\${$as_ac_var+set}\" = set"; then
101289 echo $ECHO_N "(cached) $ECHO_C" >&6
101291 if test x$gcc_no_link = xyes; then
101292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101294 { (exit 1); exit 1; }; }
101296 cat >conftest.$ac_ext <<_ACEOF
101297 /* confdefs.h. */
101298 _ACEOF
101299 cat confdefs.h >>conftest.$ac_ext
101300 cat >>conftest.$ac_ext <<_ACEOF
101301 /* end confdefs.h. */
101302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101304 #define $ac_func innocuous_$ac_func
101306 /* System header to define __stub macros and hopefully few prototypes,
101307 which can conflict with char $ac_func (); below.
101308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101309 <limits.h> exists even on freestanding compilers. */
101311 #ifdef __STDC__
101312 # include <limits.h>
101313 #else
101314 # include <assert.h>
101315 #endif
101317 #undef $ac_func
101319 /* Override any gcc2 internal prototype to avoid an error. */
101320 #ifdef __cplusplus
101321 extern "C"
101323 #endif
101324 /* We use char because int might match the return type of a gcc2
101325 builtin and then its argument prototype would still apply. */
101326 char $ac_func ();
101327 /* The GNU C library defines this for functions which it implements
101328 to always fail with ENOSYS. Some functions are actually named
101329 something starting with __ and the normal name is an alias. */
101330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101331 choke me
101332 #else
101333 char (*f) () = $ac_func;
101334 #endif
101335 #ifdef __cplusplus
101337 #endif
101340 main ()
101342 return f != $ac_func;
101344 return 0;
101346 _ACEOF
101347 rm -f conftest.$ac_objext conftest$ac_exeext
101348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101349 (eval $ac_link) 2>conftest.er1
101350 ac_status=$?
101351 grep -v '^ *+' conftest.er1 >conftest.err
101352 rm -f conftest.er1
101353 cat conftest.err >&5
101354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101355 (exit $ac_status); } &&
101356 { ac_try='test -z "$ac_c_werror_flag"
101357 || test ! -s conftest.err'
101358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101359 (eval $ac_try) 2>&5
101360 ac_status=$?
101361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101362 (exit $ac_status); }; } &&
101363 { ac_try='test -s conftest$ac_exeext'
101364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101365 (eval $ac_try) 2>&5
101366 ac_status=$?
101367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101368 (exit $ac_status); }; }; then
101369 eval "$as_ac_var=yes"
101371 echo "$as_me: failed program was:" >&5
101372 sed 's/^/| /' conftest.$ac_ext >&5
101374 eval "$as_ac_var=no"
101376 rm -f conftest.err conftest.$ac_objext \
101377 conftest$ac_exeext conftest.$ac_ext
101379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101381 if test `eval echo '${'$as_ac_var'}'` = yes; then
101382 cat >>confdefs.h <<_ACEOF
101383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101384 _ACEOF
101387 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101393 for ac_func in __signbit
101395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101396 echo "$as_me:$LINENO: checking for $ac_func" >&5
101397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101398 if eval "test \"\${$as_ac_var+set}\" = set"; then
101399 echo $ECHO_N "(cached) $ECHO_C" >&6
101401 if test x$gcc_no_link = xyes; then
101402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101404 { (exit 1); exit 1; }; }
101406 cat >conftest.$ac_ext <<_ACEOF
101407 /* confdefs.h. */
101408 _ACEOF
101409 cat confdefs.h >>conftest.$ac_ext
101410 cat >>conftest.$ac_ext <<_ACEOF
101411 /* end confdefs.h. */
101412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101414 #define $ac_func innocuous_$ac_func
101416 /* System header to define __stub macros and hopefully few prototypes,
101417 which can conflict with char $ac_func (); below.
101418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101419 <limits.h> exists even on freestanding compilers. */
101421 #ifdef __STDC__
101422 # include <limits.h>
101423 #else
101424 # include <assert.h>
101425 #endif
101427 #undef $ac_func
101429 /* Override any gcc2 internal prototype to avoid an error. */
101430 #ifdef __cplusplus
101431 extern "C"
101433 #endif
101434 /* We use char because int might match the return type of a gcc2
101435 builtin and then its argument prototype would still apply. */
101436 char $ac_func ();
101437 /* The GNU C library defines this for functions which it implements
101438 to always fail with ENOSYS. Some functions are actually named
101439 something starting with __ and the normal name is an alias. */
101440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101441 choke me
101442 #else
101443 char (*f) () = $ac_func;
101444 #endif
101445 #ifdef __cplusplus
101447 #endif
101450 main ()
101452 return f != $ac_func;
101454 return 0;
101456 _ACEOF
101457 rm -f conftest.$ac_objext conftest$ac_exeext
101458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101459 (eval $ac_link) 2>conftest.er1
101460 ac_status=$?
101461 grep -v '^ *+' conftest.er1 >conftest.err
101462 rm -f conftest.er1
101463 cat conftest.err >&5
101464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101465 (exit $ac_status); } &&
101466 { ac_try='test -z "$ac_c_werror_flag"
101467 || test ! -s conftest.err'
101468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101469 (eval $ac_try) 2>&5
101470 ac_status=$?
101471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101472 (exit $ac_status); }; } &&
101473 { ac_try='test -s conftest$ac_exeext'
101474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101475 (eval $ac_try) 2>&5
101476 ac_status=$?
101477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101478 (exit $ac_status); }; }; then
101479 eval "$as_ac_var=yes"
101481 echo "$as_me: failed program was:" >&5
101482 sed 's/^/| /' conftest.$ac_ext >&5
101484 eval "$as_ac_var=no"
101486 rm -f conftest.err conftest.$ac_objext \
101487 conftest$ac_exeext conftest.$ac_ext
101489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101491 if test `eval echo '${'$as_ac_var'}'` = yes; then
101492 cat >>confdefs.h <<_ACEOF
101493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101494 _ACEOF
101497 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101503 for ac_func in __signbitf
101505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101506 echo "$as_me:$LINENO: checking for $ac_func" >&5
101507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101508 if eval "test \"\${$as_ac_var+set}\" = set"; then
101509 echo $ECHO_N "(cached) $ECHO_C" >&6
101511 if test x$gcc_no_link = xyes; then
101512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101514 { (exit 1); exit 1; }; }
101516 cat >conftest.$ac_ext <<_ACEOF
101517 /* confdefs.h. */
101518 _ACEOF
101519 cat confdefs.h >>conftest.$ac_ext
101520 cat >>conftest.$ac_ext <<_ACEOF
101521 /* end confdefs.h. */
101522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101524 #define $ac_func innocuous_$ac_func
101526 /* System header to define __stub macros and hopefully few prototypes,
101527 which can conflict with char $ac_func (); below.
101528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101529 <limits.h> exists even on freestanding compilers. */
101531 #ifdef __STDC__
101532 # include <limits.h>
101533 #else
101534 # include <assert.h>
101535 #endif
101537 #undef $ac_func
101539 /* Override any gcc2 internal prototype to avoid an error. */
101540 #ifdef __cplusplus
101541 extern "C"
101543 #endif
101544 /* We use char because int might match the return type of a gcc2
101545 builtin and then its argument prototype would still apply. */
101546 char $ac_func ();
101547 /* The GNU C library defines this for functions which it implements
101548 to always fail with ENOSYS. Some functions are actually named
101549 something starting with __ and the normal name is an alias. */
101550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101551 choke me
101552 #else
101553 char (*f) () = $ac_func;
101554 #endif
101555 #ifdef __cplusplus
101557 #endif
101560 main ()
101562 return f != $ac_func;
101564 return 0;
101566 _ACEOF
101567 rm -f conftest.$ac_objext conftest$ac_exeext
101568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101569 (eval $ac_link) 2>conftest.er1
101570 ac_status=$?
101571 grep -v '^ *+' conftest.er1 >conftest.err
101572 rm -f conftest.er1
101573 cat conftest.err >&5
101574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101575 (exit $ac_status); } &&
101576 { ac_try='test -z "$ac_c_werror_flag"
101577 || test ! -s conftest.err'
101578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101579 (eval $ac_try) 2>&5
101580 ac_status=$?
101581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101582 (exit $ac_status); }; } &&
101583 { ac_try='test -s conftest$ac_exeext'
101584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101585 (eval $ac_try) 2>&5
101586 ac_status=$?
101587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101588 (exit $ac_status); }; }; then
101589 eval "$as_ac_var=yes"
101591 echo "$as_me: failed program was:" >&5
101592 sed 's/^/| /' conftest.$ac_ext >&5
101594 eval "$as_ac_var=no"
101596 rm -f conftest.err conftest.$ac_objext \
101597 conftest$ac_exeext conftest.$ac_ext
101599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101601 if test `eval echo '${'$as_ac_var'}'` = yes; then
101602 cat >>confdefs.h <<_ACEOF
101603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101604 _ACEOF
101607 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101612 if test x$ac_cv_func_copysignl = x"yes"; then
101614 for ac_func in __signbitl
101616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101617 echo "$as_me:$LINENO: checking for $ac_func" >&5
101618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101619 if eval "test \"\${$as_ac_var+set}\" = set"; then
101620 echo $ECHO_N "(cached) $ECHO_C" >&6
101622 if test x$gcc_no_link = xyes; then
101623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101625 { (exit 1); exit 1; }; }
101627 cat >conftest.$ac_ext <<_ACEOF
101628 /* confdefs.h. */
101629 _ACEOF
101630 cat confdefs.h >>conftest.$ac_ext
101631 cat >>conftest.$ac_ext <<_ACEOF
101632 /* end confdefs.h. */
101633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101635 #define $ac_func innocuous_$ac_func
101637 /* System header to define __stub macros and hopefully few prototypes,
101638 which can conflict with char $ac_func (); below.
101639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101640 <limits.h> exists even on freestanding compilers. */
101642 #ifdef __STDC__
101643 # include <limits.h>
101644 #else
101645 # include <assert.h>
101646 #endif
101648 #undef $ac_func
101650 /* Override any gcc2 internal prototype to avoid an error. */
101651 #ifdef __cplusplus
101652 extern "C"
101654 #endif
101655 /* We use char because int might match the return type of a gcc2
101656 builtin and then its argument prototype would still apply. */
101657 char $ac_func ();
101658 /* The GNU C library defines this for functions which it implements
101659 to always fail with ENOSYS. Some functions are actually named
101660 something starting with __ and the normal name is an alias. */
101661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101662 choke me
101663 #else
101664 char (*f) () = $ac_func;
101665 #endif
101666 #ifdef __cplusplus
101668 #endif
101671 main ()
101673 return f != $ac_func;
101675 return 0;
101677 _ACEOF
101678 rm -f conftest.$ac_objext conftest$ac_exeext
101679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101680 (eval $ac_link) 2>conftest.er1
101681 ac_status=$?
101682 grep -v '^ *+' conftest.er1 >conftest.err
101683 rm -f conftest.er1
101684 cat conftest.err >&5
101685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101686 (exit $ac_status); } &&
101687 { ac_try='test -z "$ac_c_werror_flag"
101688 || test ! -s conftest.err'
101689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101690 (eval $ac_try) 2>&5
101691 ac_status=$?
101692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101693 (exit $ac_status); }; } &&
101694 { ac_try='test -s conftest$ac_exeext'
101695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101696 (eval $ac_try) 2>&5
101697 ac_status=$?
101698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101699 (exit $ac_status); }; }; then
101700 eval "$as_ac_var=yes"
101702 echo "$as_me: failed program was:" >&5
101703 sed 's/^/| /' conftest.$ac_ext >&5
101705 eval "$as_ac_var=no"
101707 rm -f conftest.err conftest.$ac_objext \
101708 conftest$ac_exeext conftest.$ac_ext
101710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101712 if test `eval echo '${'$as_ac_var'}'` = yes; then
101713 cat >>confdefs.h <<_ACEOF
101714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101715 _ACEOF
101718 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101724 # Used in libmath/Makefile.am.
101725 if test -n "$LIBMATHOBJS"; then
101726 need_libmath=yes
101730 cat >>confdefs.h <<\_ACEOF
101731 #define HAVE_COPYSIGN 1
101732 _ACEOF
101734 cat >>confdefs.h <<\_ACEOF
101735 #define HAVE_COPYSIGNF 1
101736 _ACEOF
101738 cat >>confdefs.h <<\_ACEOF
101739 #define HAVE_FINITEF 1
101740 _ACEOF
101742 cat >>confdefs.h <<\_ACEOF
101743 #define HAVE_FINITE 1
101744 _ACEOF
101746 cat >>confdefs.h <<\_ACEOF
101747 #define HAVE_FREXPF 1
101748 _ACEOF
101750 cat >>confdefs.h <<\_ACEOF
101751 #define HAVE_HYPOTF 1
101752 _ACEOF
101754 cat >>confdefs.h <<\_ACEOF
101755 #define HAVE_ISINF 1
101756 _ACEOF
101758 cat >>confdefs.h <<\_ACEOF
101759 #define HAVE_ISINFF 1
101760 _ACEOF
101762 cat >>confdefs.h <<\_ACEOF
101763 #define HAVE_ISNAN 1
101764 _ACEOF
101766 cat >>confdefs.h <<\_ACEOF
101767 #define HAVE_ISNANF 1
101768 _ACEOF
101770 if test x"long_double_math_on_this_cpu" = x"yes"; then
101771 cat >>confdefs.h <<\_ACEOF
101772 #define HAVE_FINITEL 1
101773 _ACEOF
101775 cat >>confdefs.h <<\_ACEOF
101776 #define HAVE_ISINFL 1
101777 _ACEOF
101779 cat >>confdefs.h <<\_ACEOF
101780 #define HAVE_ISNANL 1
101781 _ACEOF
101785 *-netware)
101786 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101789 # If we're not using GNU ld, then there's no point in even trying these
101790 # tests. Check for that first. We should have already tested for gld
101791 # by now (in libtool), but require it now just to be safe...
101792 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101793 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101797 # The name set by libtool depends on the version of libtool. Shame on us
101798 # for depending on an impl detail, but c'est la vie. Older versions used
101799 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101800 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101801 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101802 # set (hence we're using an older libtool), then set it.
101803 if test x${with_gnu_ld+set} != xset; then
101804 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101805 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101806 with_gnu_ld=no
101808 with_gnu_ld=$ac_cv_prog_gnu_ld
101812 # Start by getting the version number. I think the libtool test already
101813 # does some of this, but throws away the result.
101814 glibcxx_ld_is_gold=no
101815 if test x"$with_gnu_ld" = x"yes"; then
101816 echo "$as_me:$LINENO: checking for ld version" >&5
101817 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101819 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
101820 glibcxx_ld_is_gold=yes
101822 ldver=`$LD --version 2>/dev/null | head -1 | \
101823 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101825 glibcxx_gnu_ld_version=`echo $ldver | \
101826 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101827 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101828 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101831 # Set --gc-sections.
101832 glibcxx_have_gc_sections=no
101833 if test "$glibcxx_ld_is_gold" = "yes"; then
101834 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101835 glibcxx_have_gc_sections=yes
101838 glibcxx_gcsections_min_ld=21602
101839 if test x"$with_gnu_ld" = x"yes" &&
101840 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101841 glibcxx_have_gc_sections=yes
101844 if test "$glibcxx_have_gc_sections" = "yes"; then
101845 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101846 # NB: This flag only works reliably after 2.16.1. Configure tests
101847 # for this are difficult, so hard wire a value that should work.
101849 ac_test_CFLAGS="${CFLAGS+set}"
101850 ac_save_CFLAGS="$CFLAGS"
101851 CFLAGS='-Wl,--gc-sections'
101853 # Check for -Wl,--gc-sections
101854 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101855 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101856 if test x$gcc_no_link = xyes; then
101857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101859 { (exit 1); exit 1; }; }
101861 cat >conftest.$ac_ext <<_ACEOF
101862 /* confdefs.h. */
101863 _ACEOF
101864 cat confdefs.h >>conftest.$ac_ext
101865 cat >>conftest.$ac_ext <<_ACEOF
101866 /* end confdefs.h. */
101867 int one(void) { return 1; }
101868 int two(void) { return 2; }
101871 main ()
101873 two();
101875 return 0;
101877 _ACEOF
101878 rm -f conftest.$ac_objext conftest$ac_exeext
101879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101880 (eval $ac_link) 2>conftest.er1
101881 ac_status=$?
101882 grep -v '^ *+' conftest.er1 >conftest.err
101883 rm -f conftest.er1
101884 cat conftest.err >&5
101885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101886 (exit $ac_status); } &&
101887 { ac_try='test -z "$ac_c_werror_flag"
101888 || test ! -s conftest.err'
101889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101890 (eval $ac_try) 2>&5
101891 ac_status=$?
101892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101893 (exit $ac_status); }; } &&
101894 { ac_try='test -s conftest$ac_exeext'
101895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101896 (eval $ac_try) 2>&5
101897 ac_status=$?
101898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101899 (exit $ac_status); }; }; then
101900 ac_gcsections=yes
101902 echo "$as_me: failed program was:" >&5
101903 sed 's/^/| /' conftest.$ac_ext >&5
101905 ac_gcsections=no
101907 rm -f conftest.err conftest.$ac_objext \
101908 conftest$ac_exeext conftest.$ac_ext
101909 if test "$ac_gcsections" = "yes"; then
101910 rm -f conftest.c
101911 touch conftest.c
101912 if $CC -c conftest.c; then
101913 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101914 grep "Warning: gc-sections option ignored" > /dev/null; then
101915 ac_gcsections=no
101918 rm -f conftest.c conftest.o conftest
101920 if test "$ac_gcsections" = "yes"; then
101921 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101923 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101924 echo "${ECHO_T}$ac_gcsections" >&6
101926 if test "$ac_test_CFLAGS" = set; then
101927 CFLAGS="$ac_save_CFLAGS"
101929 # this is the suspicious part
101930 CFLAGS=''
101934 # Set -z,relro.
101935 # Note this is only for shared objects.
101936 ac_ld_relro=no
101937 if test x"$with_gnu_ld" = x"yes"; then
101938 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101939 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101940 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101941 if test -n "$cxx_z_relo"; then
101942 OPT_LDFLAGS="-Wl,-z,relro"
101943 ac_ld_relro=yes
101945 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101946 echo "${ECHO_T}$ac_ld_relro" >&6
101949 # Set linker optimization flags.
101950 if test x"$with_gnu_ld" = x"yes"; then
101951 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101959 echo "$as_me:$LINENO: checking for main in -lm" >&5
101960 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101961 if test "${ac_cv_lib_m_main+set}" = set; then
101962 echo $ECHO_N "(cached) $ECHO_C" >&6
101964 ac_check_lib_save_LIBS=$LIBS
101965 LIBS="-lm $LIBS"
101966 if test x$gcc_no_link = xyes; then
101967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101969 { (exit 1); exit 1; }; }
101971 cat >conftest.$ac_ext <<_ACEOF
101972 /* confdefs.h. */
101973 _ACEOF
101974 cat confdefs.h >>conftest.$ac_ext
101975 cat >>conftest.$ac_ext <<_ACEOF
101976 /* end confdefs.h. */
101980 main ()
101982 main ();
101984 return 0;
101986 _ACEOF
101987 rm -f conftest.$ac_objext conftest$ac_exeext
101988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101989 (eval $ac_link) 2>conftest.er1
101990 ac_status=$?
101991 grep -v '^ *+' conftest.er1 >conftest.err
101992 rm -f conftest.er1
101993 cat conftest.err >&5
101994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101995 (exit $ac_status); } &&
101996 { ac_try='test -z "$ac_c_werror_flag"
101997 || test ! -s conftest.err'
101998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101999 (eval $ac_try) 2>&5
102000 ac_status=$?
102001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102002 (exit $ac_status); }; } &&
102003 { ac_try='test -s conftest$ac_exeext'
102004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102005 (eval $ac_try) 2>&5
102006 ac_status=$?
102007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102008 (exit $ac_status); }; }; then
102009 ac_cv_lib_m_main=yes
102011 echo "$as_me: failed program was:" >&5
102012 sed 's/^/| /' conftest.$ac_ext >&5
102014 ac_cv_lib_m_main=no
102016 rm -f conftest.err conftest.$ac_objext \
102017 conftest$ac_exeext conftest.$ac_ext
102018 LIBS=$ac_check_lib_save_LIBS
102020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102021 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102022 if test $ac_cv_lib_m_main = yes; then
102023 cat >>confdefs.h <<_ACEOF
102024 #define HAVE_LIBM 1
102025 _ACEOF
102027 LIBS="-lm $LIBS"
102032 for ac_func in copysignf
102034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102035 echo "$as_me:$LINENO: checking for $ac_func" >&5
102036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102037 if eval "test \"\${$as_ac_var+set}\" = set"; then
102038 echo $ECHO_N "(cached) $ECHO_C" >&6
102040 if test x$gcc_no_link = xyes; then
102041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102043 { (exit 1); exit 1; }; }
102045 cat >conftest.$ac_ext <<_ACEOF
102046 /* confdefs.h. */
102047 _ACEOF
102048 cat confdefs.h >>conftest.$ac_ext
102049 cat >>conftest.$ac_ext <<_ACEOF
102050 /* end confdefs.h. */
102051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102053 #define $ac_func innocuous_$ac_func
102055 /* System header to define __stub macros and hopefully few prototypes,
102056 which can conflict with char $ac_func (); below.
102057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102058 <limits.h> exists even on freestanding compilers. */
102060 #ifdef __STDC__
102061 # include <limits.h>
102062 #else
102063 # include <assert.h>
102064 #endif
102066 #undef $ac_func
102068 /* Override any gcc2 internal prototype to avoid an error. */
102069 #ifdef __cplusplus
102070 extern "C"
102072 #endif
102073 /* We use char because int might match the return type of a gcc2
102074 builtin and then its argument prototype would still apply. */
102075 char $ac_func ();
102076 /* The GNU C library defines this for functions which it implements
102077 to always fail with ENOSYS. Some functions are actually named
102078 something starting with __ and the normal name is an alias. */
102079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102080 choke me
102081 #else
102082 char (*f) () = $ac_func;
102083 #endif
102084 #ifdef __cplusplus
102086 #endif
102089 main ()
102091 return f != $ac_func;
102093 return 0;
102095 _ACEOF
102096 rm -f conftest.$ac_objext conftest$ac_exeext
102097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102098 (eval $ac_link) 2>conftest.er1
102099 ac_status=$?
102100 grep -v '^ *+' conftest.er1 >conftest.err
102101 rm -f conftest.er1
102102 cat conftest.err >&5
102103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102104 (exit $ac_status); } &&
102105 { ac_try='test -z "$ac_c_werror_flag"
102106 || test ! -s conftest.err'
102107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102108 (eval $ac_try) 2>&5
102109 ac_status=$?
102110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102111 (exit $ac_status); }; } &&
102112 { ac_try='test -s conftest$ac_exeext'
102113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102114 (eval $ac_try) 2>&5
102115 ac_status=$?
102116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102117 (exit $ac_status); }; }; then
102118 eval "$as_ac_var=yes"
102120 echo "$as_me: failed program was:" >&5
102121 sed 's/^/| /' conftest.$ac_ext >&5
102123 eval "$as_ac_var=no"
102125 rm -f conftest.err conftest.$ac_objext \
102126 conftest$ac_exeext conftest.$ac_ext
102128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102130 if test `eval echo '${'$as_ac_var'}'` = yes; then
102131 cat >>confdefs.h <<_ACEOF
102132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102133 _ACEOF
102136 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102142 for ac_func in __signbit
102144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102145 echo "$as_me:$LINENO: checking for $ac_func" >&5
102146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102147 if eval "test \"\${$as_ac_var+set}\" = set"; then
102148 echo $ECHO_N "(cached) $ECHO_C" >&6
102150 if test x$gcc_no_link = xyes; then
102151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102153 { (exit 1); exit 1; }; }
102155 cat >conftest.$ac_ext <<_ACEOF
102156 /* confdefs.h. */
102157 _ACEOF
102158 cat confdefs.h >>conftest.$ac_ext
102159 cat >>conftest.$ac_ext <<_ACEOF
102160 /* end confdefs.h. */
102161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102163 #define $ac_func innocuous_$ac_func
102165 /* System header to define __stub macros and hopefully few prototypes,
102166 which can conflict with char $ac_func (); below.
102167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102168 <limits.h> exists even on freestanding compilers. */
102170 #ifdef __STDC__
102171 # include <limits.h>
102172 #else
102173 # include <assert.h>
102174 #endif
102176 #undef $ac_func
102178 /* Override any gcc2 internal prototype to avoid an error. */
102179 #ifdef __cplusplus
102180 extern "C"
102182 #endif
102183 /* We use char because int might match the return type of a gcc2
102184 builtin and then its argument prototype would still apply. */
102185 char $ac_func ();
102186 /* The GNU C library defines this for functions which it implements
102187 to always fail with ENOSYS. Some functions are actually named
102188 something starting with __ and the normal name is an alias. */
102189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102190 choke me
102191 #else
102192 char (*f) () = $ac_func;
102193 #endif
102194 #ifdef __cplusplus
102196 #endif
102199 main ()
102201 return f != $ac_func;
102203 return 0;
102205 _ACEOF
102206 rm -f conftest.$ac_objext conftest$ac_exeext
102207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102208 (eval $ac_link) 2>conftest.er1
102209 ac_status=$?
102210 grep -v '^ *+' conftest.er1 >conftest.err
102211 rm -f conftest.er1
102212 cat conftest.err >&5
102213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102214 (exit $ac_status); } &&
102215 { ac_try='test -z "$ac_c_werror_flag"
102216 || test ! -s conftest.err'
102217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102218 (eval $ac_try) 2>&5
102219 ac_status=$?
102220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102221 (exit $ac_status); }; } &&
102222 { ac_try='test -s conftest$ac_exeext'
102223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102224 (eval $ac_try) 2>&5
102225 ac_status=$?
102226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102227 (exit $ac_status); }; }; then
102228 eval "$as_ac_var=yes"
102230 echo "$as_me: failed program was:" >&5
102231 sed 's/^/| /' conftest.$ac_ext >&5
102233 eval "$as_ac_var=no"
102235 rm -f conftest.err conftest.$ac_objext \
102236 conftest$ac_exeext conftest.$ac_ext
102238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102240 if test `eval echo '${'$as_ac_var'}'` = yes; then
102241 cat >>confdefs.h <<_ACEOF
102242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102243 _ACEOF
102246 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102252 for ac_func in __signbitf
102254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102255 echo "$as_me:$LINENO: checking for $ac_func" >&5
102256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102257 if eval "test \"\${$as_ac_var+set}\" = set"; then
102258 echo $ECHO_N "(cached) $ECHO_C" >&6
102260 if test x$gcc_no_link = xyes; then
102261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102263 { (exit 1); exit 1; }; }
102265 cat >conftest.$ac_ext <<_ACEOF
102266 /* confdefs.h. */
102267 _ACEOF
102268 cat confdefs.h >>conftest.$ac_ext
102269 cat >>conftest.$ac_ext <<_ACEOF
102270 /* end confdefs.h. */
102271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102273 #define $ac_func innocuous_$ac_func
102275 /* System header to define __stub macros and hopefully few prototypes,
102276 which can conflict with char $ac_func (); below.
102277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102278 <limits.h> exists even on freestanding compilers. */
102280 #ifdef __STDC__
102281 # include <limits.h>
102282 #else
102283 # include <assert.h>
102284 #endif
102286 #undef $ac_func
102288 /* Override any gcc2 internal prototype to avoid an error. */
102289 #ifdef __cplusplus
102290 extern "C"
102292 #endif
102293 /* We use char because int might match the return type of a gcc2
102294 builtin and then its argument prototype would still apply. */
102295 char $ac_func ();
102296 /* The GNU C library defines this for functions which it implements
102297 to always fail with ENOSYS. Some functions are actually named
102298 something starting with __ and the normal name is an alias. */
102299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102300 choke me
102301 #else
102302 char (*f) () = $ac_func;
102303 #endif
102304 #ifdef __cplusplus
102306 #endif
102309 main ()
102311 return f != $ac_func;
102313 return 0;
102315 _ACEOF
102316 rm -f conftest.$ac_objext conftest$ac_exeext
102317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102318 (eval $ac_link) 2>conftest.er1
102319 ac_status=$?
102320 grep -v '^ *+' conftest.er1 >conftest.err
102321 rm -f conftest.er1
102322 cat conftest.err >&5
102323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102324 (exit $ac_status); } &&
102325 { ac_try='test -z "$ac_c_werror_flag"
102326 || test ! -s conftest.err'
102327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102328 (eval $ac_try) 2>&5
102329 ac_status=$?
102330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102331 (exit $ac_status); }; } &&
102332 { ac_try='test -s conftest$ac_exeext'
102333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102334 (eval $ac_try) 2>&5
102335 ac_status=$?
102336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102337 (exit $ac_status); }; }; then
102338 eval "$as_ac_var=yes"
102340 echo "$as_me: failed program was:" >&5
102341 sed 's/^/| /' conftest.$ac_ext >&5
102343 eval "$as_ac_var=no"
102345 rm -f conftest.err conftest.$ac_objext \
102346 conftest$ac_exeext conftest.$ac_ext
102348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102350 if test `eval echo '${'$as_ac_var'}'` = yes; then
102351 cat >>confdefs.h <<_ACEOF
102352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102353 _ACEOF
102356 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102361 if test x$ac_cv_func_copysignl = x"yes"; then
102363 for ac_func in __signbitl
102365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102366 echo "$as_me:$LINENO: checking for $ac_func" >&5
102367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102368 if eval "test \"\${$as_ac_var+set}\" = set"; then
102369 echo $ECHO_N "(cached) $ECHO_C" >&6
102371 if test x$gcc_no_link = xyes; then
102372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102374 { (exit 1); exit 1; }; }
102376 cat >conftest.$ac_ext <<_ACEOF
102377 /* confdefs.h. */
102378 _ACEOF
102379 cat confdefs.h >>conftest.$ac_ext
102380 cat >>conftest.$ac_ext <<_ACEOF
102381 /* end confdefs.h. */
102382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102384 #define $ac_func innocuous_$ac_func
102386 /* System header to define __stub macros and hopefully few prototypes,
102387 which can conflict with char $ac_func (); below.
102388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102389 <limits.h> exists even on freestanding compilers. */
102391 #ifdef __STDC__
102392 # include <limits.h>
102393 #else
102394 # include <assert.h>
102395 #endif
102397 #undef $ac_func
102399 /* Override any gcc2 internal prototype to avoid an error. */
102400 #ifdef __cplusplus
102401 extern "C"
102403 #endif
102404 /* We use char because int might match the return type of a gcc2
102405 builtin and then its argument prototype would still apply. */
102406 char $ac_func ();
102407 /* The GNU C library defines this for functions which it implements
102408 to always fail with ENOSYS. Some functions are actually named
102409 something starting with __ and the normal name is an alias. */
102410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102411 choke me
102412 #else
102413 char (*f) () = $ac_func;
102414 #endif
102415 #ifdef __cplusplus
102417 #endif
102420 main ()
102422 return f != $ac_func;
102424 return 0;
102426 _ACEOF
102427 rm -f conftest.$ac_objext conftest$ac_exeext
102428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102429 (eval $ac_link) 2>conftest.er1
102430 ac_status=$?
102431 grep -v '^ *+' conftest.er1 >conftest.err
102432 rm -f conftest.er1
102433 cat conftest.err >&5
102434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102435 (exit $ac_status); } &&
102436 { ac_try='test -z "$ac_c_werror_flag"
102437 || test ! -s conftest.err'
102438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102439 (eval $ac_try) 2>&5
102440 ac_status=$?
102441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102442 (exit $ac_status); }; } &&
102443 { ac_try='test -s conftest$ac_exeext'
102444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102445 (eval $ac_try) 2>&5
102446 ac_status=$?
102447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102448 (exit $ac_status); }; }; then
102449 eval "$as_ac_var=yes"
102451 echo "$as_me: failed program was:" >&5
102452 sed 's/^/| /' conftest.$ac_ext >&5
102454 eval "$as_ac_var=no"
102456 rm -f conftest.err conftest.$ac_objext \
102457 conftest$ac_exeext conftest.$ac_ext
102459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102461 if test `eval echo '${'$as_ac_var'}'` = yes; then
102462 cat >>confdefs.h <<_ACEOF
102463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102464 _ACEOF
102467 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102473 # Used in libmath/Makefile.am.
102474 if test -n "$LIBMATHOBJS"; then
102475 need_libmath=yes
102479 cat >>confdefs.h <<\_ACEOF
102480 #define HAVE_HYPOT 1
102481 _ACEOF
102483 cat >>confdefs.h <<\_ACEOF
102484 #define HAVE_ISINF 1
102485 _ACEOF
102487 cat >>confdefs.h <<\_ACEOF
102488 #define HAVE_ISNAN 1
102489 _ACEOF
102492 *-qnx6.1* | *-qnx6.2*)
102493 SECTION_FLAGS='-ffunction-sections -fdata-sections'
102496 # If we're not using GNU ld, then there's no point in even trying these
102497 # tests. Check for that first. We should have already tested for gld
102498 # by now (in libtool), but require it now just to be safe...
102499 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102500 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102504 # The name set by libtool depends on the version of libtool. Shame on us
102505 # for depending on an impl detail, but c'est la vie. Older versions used
102506 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102507 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102508 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
102509 # set (hence we're using an older libtool), then set it.
102510 if test x${with_gnu_ld+set} != xset; then
102511 if test x${ac_cv_prog_gnu_ld+set} != xset; then
102512 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
102513 with_gnu_ld=no
102515 with_gnu_ld=$ac_cv_prog_gnu_ld
102519 # Start by getting the version number. I think the libtool test already
102520 # does some of this, but throws away the result.
102521 glibcxx_ld_is_gold=no
102522 if test x"$with_gnu_ld" = x"yes"; then
102523 echo "$as_me:$LINENO: checking for ld version" >&5
102524 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102526 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
102527 glibcxx_ld_is_gold=yes
102529 ldver=`$LD --version 2>/dev/null | head -1 | \
102530 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
102532 glibcxx_gnu_ld_version=`echo $ldver | \
102533 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102534 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102535 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102538 # Set --gc-sections.
102539 glibcxx_have_gc_sections=no
102540 if test "$glibcxx_ld_is_gold" = "yes"; then
102541 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
102542 glibcxx_have_gc_sections=yes
102545 glibcxx_gcsections_min_ld=21602
102546 if test x"$with_gnu_ld" = x"yes" &&
102547 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102548 glibcxx_have_gc_sections=yes
102551 if test "$glibcxx_have_gc_sections" = "yes"; then
102552 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
102553 # NB: This flag only works reliably after 2.16.1. Configure tests
102554 # for this are difficult, so hard wire a value that should work.
102556 ac_test_CFLAGS="${CFLAGS+set}"
102557 ac_save_CFLAGS="$CFLAGS"
102558 CFLAGS='-Wl,--gc-sections'
102560 # Check for -Wl,--gc-sections
102561 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102562 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102563 if test x$gcc_no_link = xyes; then
102564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102566 { (exit 1); exit 1; }; }
102568 cat >conftest.$ac_ext <<_ACEOF
102569 /* confdefs.h. */
102570 _ACEOF
102571 cat confdefs.h >>conftest.$ac_ext
102572 cat >>conftest.$ac_ext <<_ACEOF
102573 /* end confdefs.h. */
102574 int one(void) { return 1; }
102575 int two(void) { return 2; }
102578 main ()
102580 two();
102582 return 0;
102584 _ACEOF
102585 rm -f conftest.$ac_objext conftest$ac_exeext
102586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102587 (eval $ac_link) 2>conftest.er1
102588 ac_status=$?
102589 grep -v '^ *+' conftest.er1 >conftest.err
102590 rm -f conftest.er1
102591 cat conftest.err >&5
102592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102593 (exit $ac_status); } &&
102594 { ac_try='test -z "$ac_c_werror_flag"
102595 || test ! -s conftest.err'
102596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102597 (eval $ac_try) 2>&5
102598 ac_status=$?
102599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102600 (exit $ac_status); }; } &&
102601 { ac_try='test -s conftest$ac_exeext'
102602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102603 (eval $ac_try) 2>&5
102604 ac_status=$?
102605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102606 (exit $ac_status); }; }; then
102607 ac_gcsections=yes
102609 echo "$as_me: failed program was:" >&5
102610 sed 's/^/| /' conftest.$ac_ext >&5
102612 ac_gcsections=no
102614 rm -f conftest.err conftest.$ac_objext \
102615 conftest$ac_exeext conftest.$ac_ext
102616 if test "$ac_gcsections" = "yes"; then
102617 rm -f conftest.c
102618 touch conftest.c
102619 if $CC -c conftest.c; then
102620 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102621 grep "Warning: gc-sections option ignored" > /dev/null; then
102622 ac_gcsections=no
102625 rm -f conftest.c conftest.o conftest
102627 if test "$ac_gcsections" = "yes"; then
102628 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102630 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102631 echo "${ECHO_T}$ac_gcsections" >&6
102633 if test "$ac_test_CFLAGS" = set; then
102634 CFLAGS="$ac_save_CFLAGS"
102636 # this is the suspicious part
102637 CFLAGS=''
102641 # Set -z,relro.
102642 # Note this is only for shared objects.
102643 ac_ld_relro=no
102644 if test x"$with_gnu_ld" = x"yes"; then
102645 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102646 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102647 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102648 if test -n "$cxx_z_relo"; then
102649 OPT_LDFLAGS="-Wl,-z,relro"
102650 ac_ld_relro=yes
102652 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102653 echo "${ECHO_T}$ac_ld_relro" >&6
102656 # Set linker optimization flags.
102657 if test x"$with_gnu_ld" = x"yes"; then
102658 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102666 echo "$as_me:$LINENO: checking for main in -lm" >&5
102667 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102668 if test "${ac_cv_lib_m_main+set}" = set; then
102669 echo $ECHO_N "(cached) $ECHO_C" >&6
102671 ac_check_lib_save_LIBS=$LIBS
102672 LIBS="-lm $LIBS"
102673 if test x$gcc_no_link = xyes; then
102674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102676 { (exit 1); exit 1; }; }
102678 cat >conftest.$ac_ext <<_ACEOF
102679 /* confdefs.h. */
102680 _ACEOF
102681 cat confdefs.h >>conftest.$ac_ext
102682 cat >>conftest.$ac_ext <<_ACEOF
102683 /* end confdefs.h. */
102687 main ()
102689 main ();
102691 return 0;
102693 _ACEOF
102694 rm -f conftest.$ac_objext conftest$ac_exeext
102695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102696 (eval $ac_link) 2>conftest.er1
102697 ac_status=$?
102698 grep -v '^ *+' conftest.er1 >conftest.err
102699 rm -f conftest.er1
102700 cat conftest.err >&5
102701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102702 (exit $ac_status); } &&
102703 { ac_try='test -z "$ac_c_werror_flag"
102704 || test ! -s conftest.err'
102705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102706 (eval $ac_try) 2>&5
102707 ac_status=$?
102708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102709 (exit $ac_status); }; } &&
102710 { ac_try='test -s conftest$ac_exeext'
102711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102712 (eval $ac_try) 2>&5
102713 ac_status=$?
102714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102715 (exit $ac_status); }; }; then
102716 ac_cv_lib_m_main=yes
102718 echo "$as_me: failed program was:" >&5
102719 sed 's/^/| /' conftest.$ac_ext >&5
102721 ac_cv_lib_m_main=no
102723 rm -f conftest.err conftest.$ac_objext \
102724 conftest$ac_exeext conftest.$ac_ext
102725 LIBS=$ac_check_lib_save_LIBS
102727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102728 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102729 if test $ac_cv_lib_m_main = yes; then
102730 cat >>confdefs.h <<_ACEOF
102731 #define HAVE_LIBM 1
102732 _ACEOF
102734 LIBS="-lm $LIBS"
102739 for ac_func in copysignf
102741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102742 echo "$as_me:$LINENO: checking for $ac_func" >&5
102743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102744 if eval "test \"\${$as_ac_var+set}\" = set"; then
102745 echo $ECHO_N "(cached) $ECHO_C" >&6
102747 if test x$gcc_no_link = xyes; then
102748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102750 { (exit 1); exit 1; }; }
102752 cat >conftest.$ac_ext <<_ACEOF
102753 /* confdefs.h. */
102754 _ACEOF
102755 cat confdefs.h >>conftest.$ac_ext
102756 cat >>conftest.$ac_ext <<_ACEOF
102757 /* end confdefs.h. */
102758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102760 #define $ac_func innocuous_$ac_func
102762 /* System header to define __stub macros and hopefully few prototypes,
102763 which can conflict with char $ac_func (); below.
102764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102765 <limits.h> exists even on freestanding compilers. */
102767 #ifdef __STDC__
102768 # include <limits.h>
102769 #else
102770 # include <assert.h>
102771 #endif
102773 #undef $ac_func
102775 /* Override any gcc2 internal prototype to avoid an error. */
102776 #ifdef __cplusplus
102777 extern "C"
102779 #endif
102780 /* We use char because int might match the return type of a gcc2
102781 builtin and then its argument prototype would still apply. */
102782 char $ac_func ();
102783 /* The GNU C library defines this for functions which it implements
102784 to always fail with ENOSYS. Some functions are actually named
102785 something starting with __ and the normal name is an alias. */
102786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102787 choke me
102788 #else
102789 char (*f) () = $ac_func;
102790 #endif
102791 #ifdef __cplusplus
102793 #endif
102796 main ()
102798 return f != $ac_func;
102800 return 0;
102802 _ACEOF
102803 rm -f conftest.$ac_objext conftest$ac_exeext
102804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102805 (eval $ac_link) 2>conftest.er1
102806 ac_status=$?
102807 grep -v '^ *+' conftest.er1 >conftest.err
102808 rm -f conftest.er1
102809 cat conftest.err >&5
102810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102811 (exit $ac_status); } &&
102812 { ac_try='test -z "$ac_c_werror_flag"
102813 || test ! -s conftest.err'
102814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102815 (eval $ac_try) 2>&5
102816 ac_status=$?
102817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102818 (exit $ac_status); }; } &&
102819 { ac_try='test -s conftest$ac_exeext'
102820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102821 (eval $ac_try) 2>&5
102822 ac_status=$?
102823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102824 (exit $ac_status); }; }; then
102825 eval "$as_ac_var=yes"
102827 echo "$as_me: failed program was:" >&5
102828 sed 's/^/| /' conftest.$ac_ext >&5
102830 eval "$as_ac_var=no"
102832 rm -f conftest.err conftest.$ac_objext \
102833 conftest$ac_exeext conftest.$ac_ext
102835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102837 if test `eval echo '${'$as_ac_var'}'` = yes; then
102838 cat >>confdefs.h <<_ACEOF
102839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102840 _ACEOF
102843 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102849 for ac_func in __signbit
102851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102852 echo "$as_me:$LINENO: checking for $ac_func" >&5
102853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102854 if eval "test \"\${$as_ac_var+set}\" = set"; then
102855 echo $ECHO_N "(cached) $ECHO_C" >&6
102857 if test x$gcc_no_link = xyes; then
102858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102860 { (exit 1); exit 1; }; }
102862 cat >conftest.$ac_ext <<_ACEOF
102863 /* confdefs.h. */
102864 _ACEOF
102865 cat confdefs.h >>conftest.$ac_ext
102866 cat >>conftest.$ac_ext <<_ACEOF
102867 /* end confdefs.h. */
102868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102870 #define $ac_func innocuous_$ac_func
102872 /* System header to define __stub macros and hopefully few prototypes,
102873 which can conflict with char $ac_func (); below.
102874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102875 <limits.h> exists even on freestanding compilers. */
102877 #ifdef __STDC__
102878 # include <limits.h>
102879 #else
102880 # include <assert.h>
102881 #endif
102883 #undef $ac_func
102885 /* Override any gcc2 internal prototype to avoid an error. */
102886 #ifdef __cplusplus
102887 extern "C"
102889 #endif
102890 /* We use char because int might match the return type of a gcc2
102891 builtin and then its argument prototype would still apply. */
102892 char $ac_func ();
102893 /* The GNU C library defines this for functions which it implements
102894 to always fail with ENOSYS. Some functions are actually named
102895 something starting with __ and the normal name is an alias. */
102896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102897 choke me
102898 #else
102899 char (*f) () = $ac_func;
102900 #endif
102901 #ifdef __cplusplus
102903 #endif
102906 main ()
102908 return f != $ac_func;
102910 return 0;
102912 _ACEOF
102913 rm -f conftest.$ac_objext conftest$ac_exeext
102914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102915 (eval $ac_link) 2>conftest.er1
102916 ac_status=$?
102917 grep -v '^ *+' conftest.er1 >conftest.err
102918 rm -f conftest.er1
102919 cat conftest.err >&5
102920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102921 (exit $ac_status); } &&
102922 { ac_try='test -z "$ac_c_werror_flag"
102923 || test ! -s conftest.err'
102924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102925 (eval $ac_try) 2>&5
102926 ac_status=$?
102927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102928 (exit $ac_status); }; } &&
102929 { ac_try='test -s conftest$ac_exeext'
102930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102931 (eval $ac_try) 2>&5
102932 ac_status=$?
102933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102934 (exit $ac_status); }; }; then
102935 eval "$as_ac_var=yes"
102937 echo "$as_me: failed program was:" >&5
102938 sed 's/^/| /' conftest.$ac_ext >&5
102940 eval "$as_ac_var=no"
102942 rm -f conftest.err conftest.$ac_objext \
102943 conftest$ac_exeext conftest.$ac_ext
102945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102947 if test `eval echo '${'$as_ac_var'}'` = yes; then
102948 cat >>confdefs.h <<_ACEOF
102949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102950 _ACEOF
102953 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102959 for ac_func in __signbitf
102961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102962 echo "$as_me:$LINENO: checking for $ac_func" >&5
102963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102964 if eval "test \"\${$as_ac_var+set}\" = set"; then
102965 echo $ECHO_N "(cached) $ECHO_C" >&6
102967 if test x$gcc_no_link = xyes; then
102968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102970 { (exit 1); exit 1; }; }
102972 cat >conftest.$ac_ext <<_ACEOF
102973 /* confdefs.h. */
102974 _ACEOF
102975 cat confdefs.h >>conftest.$ac_ext
102976 cat >>conftest.$ac_ext <<_ACEOF
102977 /* end confdefs.h. */
102978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102980 #define $ac_func innocuous_$ac_func
102982 /* System header to define __stub macros and hopefully few prototypes,
102983 which can conflict with char $ac_func (); below.
102984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102985 <limits.h> exists even on freestanding compilers. */
102987 #ifdef __STDC__
102988 # include <limits.h>
102989 #else
102990 # include <assert.h>
102991 #endif
102993 #undef $ac_func
102995 /* Override any gcc2 internal prototype to avoid an error. */
102996 #ifdef __cplusplus
102997 extern "C"
102999 #endif
103000 /* We use char because int might match the return type of a gcc2
103001 builtin and then its argument prototype would still apply. */
103002 char $ac_func ();
103003 /* The GNU C library defines this for functions which it implements
103004 to always fail with ENOSYS. Some functions are actually named
103005 something starting with __ and the normal name is an alias. */
103006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103007 choke me
103008 #else
103009 char (*f) () = $ac_func;
103010 #endif
103011 #ifdef __cplusplus
103013 #endif
103016 main ()
103018 return f != $ac_func;
103020 return 0;
103022 _ACEOF
103023 rm -f conftest.$ac_objext conftest$ac_exeext
103024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103025 (eval $ac_link) 2>conftest.er1
103026 ac_status=$?
103027 grep -v '^ *+' conftest.er1 >conftest.err
103028 rm -f conftest.er1
103029 cat conftest.err >&5
103030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103031 (exit $ac_status); } &&
103032 { ac_try='test -z "$ac_c_werror_flag"
103033 || test ! -s conftest.err'
103034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103035 (eval $ac_try) 2>&5
103036 ac_status=$?
103037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103038 (exit $ac_status); }; } &&
103039 { ac_try='test -s conftest$ac_exeext'
103040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103041 (eval $ac_try) 2>&5
103042 ac_status=$?
103043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103044 (exit $ac_status); }; }; then
103045 eval "$as_ac_var=yes"
103047 echo "$as_me: failed program was:" >&5
103048 sed 's/^/| /' conftest.$ac_ext >&5
103050 eval "$as_ac_var=no"
103052 rm -f conftest.err conftest.$ac_objext \
103053 conftest$ac_exeext conftest.$ac_ext
103055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103057 if test `eval echo '${'$as_ac_var'}'` = yes; then
103058 cat >>confdefs.h <<_ACEOF
103059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103060 _ACEOF
103063 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103068 if test x$ac_cv_func_copysignl = x"yes"; then
103070 for ac_func in __signbitl
103072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103073 echo "$as_me:$LINENO: checking for $ac_func" >&5
103074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103075 if eval "test \"\${$as_ac_var+set}\" = set"; then
103076 echo $ECHO_N "(cached) $ECHO_C" >&6
103078 if test x$gcc_no_link = xyes; then
103079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103081 { (exit 1); exit 1; }; }
103083 cat >conftest.$ac_ext <<_ACEOF
103084 /* confdefs.h. */
103085 _ACEOF
103086 cat confdefs.h >>conftest.$ac_ext
103087 cat >>conftest.$ac_ext <<_ACEOF
103088 /* end confdefs.h. */
103089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103091 #define $ac_func innocuous_$ac_func
103093 /* System header to define __stub macros and hopefully few prototypes,
103094 which can conflict with char $ac_func (); below.
103095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103096 <limits.h> exists even on freestanding compilers. */
103098 #ifdef __STDC__
103099 # include <limits.h>
103100 #else
103101 # include <assert.h>
103102 #endif
103104 #undef $ac_func
103106 /* Override any gcc2 internal prototype to avoid an error. */
103107 #ifdef __cplusplus
103108 extern "C"
103110 #endif
103111 /* We use char because int might match the return type of a gcc2
103112 builtin and then its argument prototype would still apply. */
103113 char $ac_func ();
103114 /* The GNU C library defines this for functions which it implements
103115 to always fail with ENOSYS. Some functions are actually named
103116 something starting with __ and the normal name is an alias. */
103117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103118 choke me
103119 #else
103120 char (*f) () = $ac_func;
103121 #endif
103122 #ifdef __cplusplus
103124 #endif
103127 main ()
103129 return f != $ac_func;
103131 return 0;
103133 _ACEOF
103134 rm -f conftest.$ac_objext conftest$ac_exeext
103135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103136 (eval $ac_link) 2>conftest.er1
103137 ac_status=$?
103138 grep -v '^ *+' conftest.er1 >conftest.err
103139 rm -f conftest.er1
103140 cat conftest.err >&5
103141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103142 (exit $ac_status); } &&
103143 { ac_try='test -z "$ac_c_werror_flag"
103144 || test ! -s conftest.err'
103145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103146 (eval $ac_try) 2>&5
103147 ac_status=$?
103148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103149 (exit $ac_status); }; } &&
103150 { ac_try='test -s conftest$ac_exeext'
103151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103152 (eval $ac_try) 2>&5
103153 ac_status=$?
103154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103155 (exit $ac_status); }; }; then
103156 eval "$as_ac_var=yes"
103158 echo "$as_me: failed program was:" >&5
103159 sed 's/^/| /' conftest.$ac_ext >&5
103161 eval "$as_ac_var=no"
103163 rm -f conftest.err conftest.$ac_objext \
103164 conftest$ac_exeext conftest.$ac_ext
103166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103168 if test `eval echo '${'$as_ac_var'}'` = yes; then
103169 cat >>confdefs.h <<_ACEOF
103170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103171 _ACEOF
103174 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103180 # Used in libmath/Makefile.am.
103181 if test -n "$LIBMATHOBJS"; then
103182 need_libmath=yes
103186 cat >>confdefs.h <<\_ACEOF
103187 #define HAVE_COSF 1
103188 _ACEOF
103190 cat >>confdefs.h <<\_ACEOF
103191 #define HAVE_COSL 1
103192 _ACEOF
103194 cat >>confdefs.h <<\_ACEOF
103195 #define HAVE_COSHF 1
103196 _ACEOF
103198 cat >>confdefs.h <<\_ACEOF
103199 #define HAVE_COSHL 1
103200 _ACEOF
103202 cat >>confdefs.h <<\_ACEOF
103203 #define HAVE_LOGF 1
103204 _ACEOF
103206 cat >>confdefs.h <<\_ACEOF
103207 #define HAVE_LOGL 1
103208 _ACEOF
103210 cat >>confdefs.h <<\_ACEOF
103211 #define HAVE_LOG10F 1
103212 _ACEOF
103214 cat >>confdefs.h <<\_ACEOF
103215 #define HAVE_LOG10L 1
103216 _ACEOF
103218 cat >>confdefs.h <<\_ACEOF
103219 #define HAVE_SINF 1
103220 _ACEOF
103222 cat >>confdefs.h <<\_ACEOF
103223 #define HAVE_SINL 1
103224 _ACEOF
103226 cat >>confdefs.h <<\_ACEOF
103227 #define HAVE_SINHF 1
103228 _ACEOF
103230 cat >>confdefs.h <<\_ACEOF
103231 #define HAVE_SINHL 1
103232 _ACEOF
103235 *-solaris*)
103236 case "$target" in
103237 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
103239 # If we're not using GNU ld, then there's no point in even trying these
103240 # tests. Check for that first. We should have already tested for gld
103241 # by now (in libtool), but require it now just to be safe...
103242 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103243 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103247 # The name set by libtool depends on the version of libtool. Shame on us
103248 # for depending on an impl detail, but c'est la vie. Older versions used
103249 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103250 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103251 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103252 # set (hence we're using an older libtool), then set it.
103253 if test x${with_gnu_ld+set} != xset; then
103254 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103255 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103256 with_gnu_ld=no
103258 with_gnu_ld=$ac_cv_prog_gnu_ld
103262 # Start by getting the version number. I think the libtool test already
103263 # does some of this, but throws away the result.
103264 glibcxx_ld_is_gold=no
103265 if test x"$with_gnu_ld" = x"yes"; then
103266 echo "$as_me:$LINENO: checking for ld version" >&5
103267 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103269 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103270 glibcxx_ld_is_gold=yes
103272 ldver=`$LD --version 2>/dev/null | head -1 | \
103273 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103275 glibcxx_gnu_ld_version=`echo $ldver | \
103276 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103277 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103278 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103281 # Set --gc-sections.
103282 glibcxx_have_gc_sections=no
103283 if test "$glibcxx_ld_is_gold" = "yes"; then
103284 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103285 glibcxx_have_gc_sections=yes
103288 glibcxx_gcsections_min_ld=21602
103289 if test x"$with_gnu_ld" = x"yes" &&
103290 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103291 glibcxx_have_gc_sections=yes
103294 if test "$glibcxx_have_gc_sections" = "yes"; then
103295 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103296 # NB: This flag only works reliably after 2.16.1. Configure tests
103297 # for this are difficult, so hard wire a value that should work.
103299 ac_test_CFLAGS="${CFLAGS+set}"
103300 ac_save_CFLAGS="$CFLAGS"
103301 CFLAGS='-Wl,--gc-sections'
103303 # Check for -Wl,--gc-sections
103304 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103305 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103306 if test x$gcc_no_link = xyes; then
103307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103309 { (exit 1); exit 1; }; }
103311 cat >conftest.$ac_ext <<_ACEOF
103312 /* confdefs.h. */
103313 _ACEOF
103314 cat confdefs.h >>conftest.$ac_ext
103315 cat >>conftest.$ac_ext <<_ACEOF
103316 /* end confdefs.h. */
103317 int one(void) { return 1; }
103318 int two(void) { return 2; }
103321 main ()
103323 two();
103325 return 0;
103327 _ACEOF
103328 rm -f conftest.$ac_objext conftest$ac_exeext
103329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103330 (eval $ac_link) 2>conftest.er1
103331 ac_status=$?
103332 grep -v '^ *+' conftest.er1 >conftest.err
103333 rm -f conftest.er1
103334 cat conftest.err >&5
103335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103336 (exit $ac_status); } &&
103337 { ac_try='test -z "$ac_c_werror_flag"
103338 || test ! -s conftest.err'
103339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103340 (eval $ac_try) 2>&5
103341 ac_status=$?
103342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103343 (exit $ac_status); }; } &&
103344 { ac_try='test -s conftest$ac_exeext'
103345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103346 (eval $ac_try) 2>&5
103347 ac_status=$?
103348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103349 (exit $ac_status); }; }; then
103350 ac_gcsections=yes
103352 echo "$as_me: failed program was:" >&5
103353 sed 's/^/| /' conftest.$ac_ext >&5
103355 ac_gcsections=no
103357 rm -f conftest.err conftest.$ac_objext \
103358 conftest$ac_exeext conftest.$ac_ext
103359 if test "$ac_gcsections" = "yes"; then
103360 rm -f conftest.c
103361 touch conftest.c
103362 if $CC -c conftest.c; then
103363 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103364 grep "Warning: gc-sections option ignored" > /dev/null; then
103365 ac_gcsections=no
103368 rm -f conftest.c conftest.o conftest
103370 if test "$ac_gcsections" = "yes"; then
103371 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103373 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103374 echo "${ECHO_T}$ac_gcsections" >&6
103376 if test "$ac_test_CFLAGS" = set; then
103377 CFLAGS="$ac_save_CFLAGS"
103379 # this is the suspicious part
103380 CFLAGS=''
103384 # Set -z,relro.
103385 # Note this is only for shared objects.
103386 ac_ld_relro=no
103387 if test x"$with_gnu_ld" = x"yes"; then
103388 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103389 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103390 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103391 if test -n "$cxx_z_relo"; then
103392 OPT_LDFLAGS="-Wl,-z,relro"
103393 ac_ld_relro=yes
103395 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103396 echo "${ECHO_T}$ac_ld_relro" >&6
103399 # Set linker optimization flags.
103400 if test x"$with_gnu_ld" = x"yes"; then
103401 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103407 cat >>confdefs.h <<\_ACEOF
103408 #define HAVE_MBSTATE_T 1
103409 _ACEOF
103411 cat >>confdefs.h <<\_ACEOF
103412 #define HAVE_FINITE 1
103413 _ACEOF
103415 cat >>confdefs.h <<\_ACEOF
103416 #define HAVE_FPCLASS 1
103417 _ACEOF
103419 # All of the dependencies for wide character support are here, so
103420 # turn it on.
103421 cat >>confdefs.h <<\_ACEOF
103422 #define _GLIBCXX_USE_WCHAR_T 1
103423 _ACEOF
103426 cat >>confdefs.h <<\_ACEOF
103427 #define HAVE_LIBM 1
103428 _ACEOF
103432 case "$target" in
103433 *-*-solaris2.10)
103434 # These two C99 functions are present only in Solaris >= 10
103435 cat >>confdefs.h <<\_ACEOF
103436 #define HAVE_STRTOF 1
103437 _ACEOF
103439 cat >>confdefs.h <<\_ACEOF
103440 #define HAVE_STRTOLD 1
103441 _ACEOF
103445 cat >>confdefs.h <<\_ACEOF
103446 #define HAVE_COPYSIGN 1
103447 _ACEOF
103449 cat >>confdefs.h <<\_ACEOF
103450 #define HAVE_ISNAN 1
103451 _ACEOF
103453 cat >>confdefs.h <<\_ACEOF
103454 #define HAVE_ISNANF 1
103455 _ACEOF
103457 cat >>confdefs.h <<\_ACEOF
103458 #define HAVE_MODFF 1
103459 _ACEOF
103461 cat >>confdefs.h <<\_ACEOF
103462 #define HAVE_HYPOT 1
103463 _ACEOF
103466 *-tpf)
103467 SECTION_FLAGS='-ffunction-sections -fdata-sections'
103470 # If we're not using GNU ld, then there's no point in even trying these
103471 # tests. Check for that first. We should have already tested for gld
103472 # by now (in libtool), but require it now just to be safe...
103473 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103474 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103478 # The name set by libtool depends on the version of libtool. Shame on us
103479 # for depending on an impl detail, but c'est la vie. Older versions used
103480 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103481 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103482 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103483 # set (hence we're using an older libtool), then set it.
103484 if test x${with_gnu_ld+set} != xset; then
103485 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103486 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103487 with_gnu_ld=no
103489 with_gnu_ld=$ac_cv_prog_gnu_ld
103493 # Start by getting the version number. I think the libtool test already
103494 # does some of this, but throws away the result.
103495 glibcxx_ld_is_gold=no
103496 if test x"$with_gnu_ld" = x"yes"; then
103497 echo "$as_me:$LINENO: checking for ld version" >&5
103498 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103500 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103501 glibcxx_ld_is_gold=yes
103503 ldver=`$LD --version 2>/dev/null | head -1 | \
103504 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103506 glibcxx_gnu_ld_version=`echo $ldver | \
103507 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103508 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103509 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103512 # Set --gc-sections.
103513 glibcxx_have_gc_sections=no
103514 if test "$glibcxx_ld_is_gold" = "yes"; then
103515 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103516 glibcxx_have_gc_sections=yes
103519 glibcxx_gcsections_min_ld=21602
103520 if test x"$with_gnu_ld" = x"yes" &&
103521 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103522 glibcxx_have_gc_sections=yes
103525 if test "$glibcxx_have_gc_sections" = "yes"; then
103526 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103527 # NB: This flag only works reliably after 2.16.1. Configure tests
103528 # for this are difficult, so hard wire a value that should work.
103530 ac_test_CFLAGS="${CFLAGS+set}"
103531 ac_save_CFLAGS="$CFLAGS"
103532 CFLAGS='-Wl,--gc-sections'
103534 # Check for -Wl,--gc-sections
103535 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103536 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103537 if test x$gcc_no_link = xyes; then
103538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103540 { (exit 1); exit 1; }; }
103542 cat >conftest.$ac_ext <<_ACEOF
103543 /* confdefs.h. */
103544 _ACEOF
103545 cat confdefs.h >>conftest.$ac_ext
103546 cat >>conftest.$ac_ext <<_ACEOF
103547 /* end confdefs.h. */
103548 int one(void) { return 1; }
103549 int two(void) { return 2; }
103552 main ()
103554 two();
103556 return 0;
103558 _ACEOF
103559 rm -f conftest.$ac_objext conftest$ac_exeext
103560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103561 (eval $ac_link) 2>conftest.er1
103562 ac_status=$?
103563 grep -v '^ *+' conftest.er1 >conftest.err
103564 rm -f conftest.er1
103565 cat conftest.err >&5
103566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103567 (exit $ac_status); } &&
103568 { ac_try='test -z "$ac_c_werror_flag"
103569 || test ! -s conftest.err'
103570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103571 (eval $ac_try) 2>&5
103572 ac_status=$?
103573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103574 (exit $ac_status); }; } &&
103575 { ac_try='test -s conftest$ac_exeext'
103576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103577 (eval $ac_try) 2>&5
103578 ac_status=$?
103579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103580 (exit $ac_status); }; }; then
103581 ac_gcsections=yes
103583 echo "$as_me: failed program was:" >&5
103584 sed 's/^/| /' conftest.$ac_ext >&5
103586 ac_gcsections=no
103588 rm -f conftest.err conftest.$ac_objext \
103589 conftest$ac_exeext conftest.$ac_ext
103590 if test "$ac_gcsections" = "yes"; then
103591 rm -f conftest.c
103592 touch conftest.c
103593 if $CC -c conftest.c; then
103594 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103595 grep "Warning: gc-sections option ignored" > /dev/null; then
103596 ac_gcsections=no
103599 rm -f conftest.c conftest.o conftest
103601 if test "$ac_gcsections" = "yes"; then
103602 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103604 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103605 echo "${ECHO_T}$ac_gcsections" >&6
103607 if test "$ac_test_CFLAGS" = set; then
103608 CFLAGS="$ac_save_CFLAGS"
103610 # this is the suspicious part
103611 CFLAGS=''
103615 # Set -z,relro.
103616 # Note this is only for shared objects.
103617 ac_ld_relro=no
103618 if test x"$with_gnu_ld" = x"yes"; then
103619 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103620 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103621 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103622 if test -n "$cxx_z_relo"; then
103623 OPT_LDFLAGS="-Wl,-z,relro"
103624 ac_ld_relro=yes
103626 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103627 echo "${ECHO_T}$ac_ld_relro" >&6
103630 # Set linker optimization flags.
103631 if test x"$with_gnu_ld" = x"yes"; then
103632 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103640 echo "$as_me:$LINENO: checking for main in -lm" >&5
103641 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103642 if test "${ac_cv_lib_m_main+set}" = set; then
103643 echo $ECHO_N "(cached) $ECHO_C" >&6
103645 ac_check_lib_save_LIBS=$LIBS
103646 LIBS="-lm $LIBS"
103647 if test x$gcc_no_link = xyes; then
103648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103650 { (exit 1); exit 1; }; }
103652 cat >conftest.$ac_ext <<_ACEOF
103653 /* confdefs.h. */
103654 _ACEOF
103655 cat confdefs.h >>conftest.$ac_ext
103656 cat >>conftest.$ac_ext <<_ACEOF
103657 /* end confdefs.h. */
103661 main ()
103663 main ();
103665 return 0;
103667 _ACEOF
103668 rm -f conftest.$ac_objext conftest$ac_exeext
103669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103670 (eval $ac_link) 2>conftest.er1
103671 ac_status=$?
103672 grep -v '^ *+' conftest.er1 >conftest.err
103673 rm -f conftest.er1
103674 cat conftest.err >&5
103675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103676 (exit $ac_status); } &&
103677 { ac_try='test -z "$ac_c_werror_flag"
103678 || test ! -s conftest.err'
103679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103680 (eval $ac_try) 2>&5
103681 ac_status=$?
103682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103683 (exit $ac_status); }; } &&
103684 { ac_try='test -s conftest$ac_exeext'
103685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103686 (eval $ac_try) 2>&5
103687 ac_status=$?
103688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103689 (exit $ac_status); }; }; then
103690 ac_cv_lib_m_main=yes
103692 echo "$as_me: failed program was:" >&5
103693 sed 's/^/| /' conftest.$ac_ext >&5
103695 ac_cv_lib_m_main=no
103697 rm -f conftest.err conftest.$ac_objext \
103698 conftest$ac_exeext conftest.$ac_ext
103699 LIBS=$ac_check_lib_save_LIBS
103701 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103702 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103703 if test $ac_cv_lib_m_main = yes; then
103704 cat >>confdefs.h <<_ACEOF
103705 #define HAVE_LIBM 1
103706 _ACEOF
103708 LIBS="-lm $LIBS"
103713 for ac_func in copysignf
103715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103716 echo "$as_me:$LINENO: checking for $ac_func" >&5
103717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103718 if eval "test \"\${$as_ac_var+set}\" = set"; then
103719 echo $ECHO_N "(cached) $ECHO_C" >&6
103721 if test x$gcc_no_link = xyes; then
103722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103724 { (exit 1); exit 1; }; }
103726 cat >conftest.$ac_ext <<_ACEOF
103727 /* confdefs.h. */
103728 _ACEOF
103729 cat confdefs.h >>conftest.$ac_ext
103730 cat >>conftest.$ac_ext <<_ACEOF
103731 /* end confdefs.h. */
103732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103734 #define $ac_func innocuous_$ac_func
103736 /* System header to define __stub macros and hopefully few prototypes,
103737 which can conflict with char $ac_func (); below.
103738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103739 <limits.h> exists even on freestanding compilers. */
103741 #ifdef __STDC__
103742 # include <limits.h>
103743 #else
103744 # include <assert.h>
103745 #endif
103747 #undef $ac_func
103749 /* Override any gcc2 internal prototype to avoid an error. */
103750 #ifdef __cplusplus
103751 extern "C"
103753 #endif
103754 /* We use char because int might match the return type of a gcc2
103755 builtin and then its argument prototype would still apply. */
103756 char $ac_func ();
103757 /* The GNU C library defines this for functions which it implements
103758 to always fail with ENOSYS. Some functions are actually named
103759 something starting with __ and the normal name is an alias. */
103760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103761 choke me
103762 #else
103763 char (*f) () = $ac_func;
103764 #endif
103765 #ifdef __cplusplus
103767 #endif
103770 main ()
103772 return f != $ac_func;
103774 return 0;
103776 _ACEOF
103777 rm -f conftest.$ac_objext conftest$ac_exeext
103778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103779 (eval $ac_link) 2>conftest.er1
103780 ac_status=$?
103781 grep -v '^ *+' conftest.er1 >conftest.err
103782 rm -f conftest.er1
103783 cat conftest.err >&5
103784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103785 (exit $ac_status); } &&
103786 { ac_try='test -z "$ac_c_werror_flag"
103787 || test ! -s conftest.err'
103788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103789 (eval $ac_try) 2>&5
103790 ac_status=$?
103791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103792 (exit $ac_status); }; } &&
103793 { ac_try='test -s conftest$ac_exeext'
103794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103795 (eval $ac_try) 2>&5
103796 ac_status=$?
103797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103798 (exit $ac_status); }; }; then
103799 eval "$as_ac_var=yes"
103801 echo "$as_me: failed program was:" >&5
103802 sed 's/^/| /' conftest.$ac_ext >&5
103804 eval "$as_ac_var=no"
103806 rm -f conftest.err conftest.$ac_objext \
103807 conftest$ac_exeext conftest.$ac_ext
103809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103811 if test `eval echo '${'$as_ac_var'}'` = yes; then
103812 cat >>confdefs.h <<_ACEOF
103813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103814 _ACEOF
103817 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103823 for ac_func in __signbit
103825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103826 echo "$as_me:$LINENO: checking for $ac_func" >&5
103827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103828 if eval "test \"\${$as_ac_var+set}\" = set"; then
103829 echo $ECHO_N "(cached) $ECHO_C" >&6
103831 if test x$gcc_no_link = xyes; then
103832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103834 { (exit 1); exit 1; }; }
103836 cat >conftest.$ac_ext <<_ACEOF
103837 /* confdefs.h. */
103838 _ACEOF
103839 cat confdefs.h >>conftest.$ac_ext
103840 cat >>conftest.$ac_ext <<_ACEOF
103841 /* end confdefs.h. */
103842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103844 #define $ac_func innocuous_$ac_func
103846 /* System header to define __stub macros and hopefully few prototypes,
103847 which can conflict with char $ac_func (); below.
103848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103849 <limits.h> exists even on freestanding compilers. */
103851 #ifdef __STDC__
103852 # include <limits.h>
103853 #else
103854 # include <assert.h>
103855 #endif
103857 #undef $ac_func
103859 /* Override any gcc2 internal prototype to avoid an error. */
103860 #ifdef __cplusplus
103861 extern "C"
103863 #endif
103864 /* We use char because int might match the return type of a gcc2
103865 builtin and then its argument prototype would still apply. */
103866 char $ac_func ();
103867 /* The GNU C library defines this for functions which it implements
103868 to always fail with ENOSYS. Some functions are actually named
103869 something starting with __ and the normal name is an alias. */
103870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103871 choke me
103872 #else
103873 char (*f) () = $ac_func;
103874 #endif
103875 #ifdef __cplusplus
103877 #endif
103880 main ()
103882 return f != $ac_func;
103884 return 0;
103886 _ACEOF
103887 rm -f conftest.$ac_objext conftest$ac_exeext
103888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103889 (eval $ac_link) 2>conftest.er1
103890 ac_status=$?
103891 grep -v '^ *+' conftest.er1 >conftest.err
103892 rm -f conftest.er1
103893 cat conftest.err >&5
103894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103895 (exit $ac_status); } &&
103896 { ac_try='test -z "$ac_c_werror_flag"
103897 || test ! -s conftest.err'
103898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103899 (eval $ac_try) 2>&5
103900 ac_status=$?
103901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103902 (exit $ac_status); }; } &&
103903 { ac_try='test -s conftest$ac_exeext'
103904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103905 (eval $ac_try) 2>&5
103906 ac_status=$?
103907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103908 (exit $ac_status); }; }; then
103909 eval "$as_ac_var=yes"
103911 echo "$as_me: failed program was:" >&5
103912 sed 's/^/| /' conftest.$ac_ext >&5
103914 eval "$as_ac_var=no"
103916 rm -f conftest.err conftest.$ac_objext \
103917 conftest$ac_exeext conftest.$ac_ext
103919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103921 if test `eval echo '${'$as_ac_var'}'` = yes; then
103922 cat >>confdefs.h <<_ACEOF
103923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103924 _ACEOF
103927 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103933 for ac_func in __signbitf
103935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103936 echo "$as_me:$LINENO: checking for $ac_func" >&5
103937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103938 if eval "test \"\${$as_ac_var+set}\" = set"; then
103939 echo $ECHO_N "(cached) $ECHO_C" >&6
103941 if test x$gcc_no_link = xyes; then
103942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103944 { (exit 1); exit 1; }; }
103946 cat >conftest.$ac_ext <<_ACEOF
103947 /* confdefs.h. */
103948 _ACEOF
103949 cat confdefs.h >>conftest.$ac_ext
103950 cat >>conftest.$ac_ext <<_ACEOF
103951 /* end confdefs.h. */
103952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103954 #define $ac_func innocuous_$ac_func
103956 /* System header to define __stub macros and hopefully few prototypes,
103957 which can conflict with char $ac_func (); below.
103958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103959 <limits.h> exists even on freestanding compilers. */
103961 #ifdef __STDC__
103962 # include <limits.h>
103963 #else
103964 # include <assert.h>
103965 #endif
103967 #undef $ac_func
103969 /* Override any gcc2 internal prototype to avoid an error. */
103970 #ifdef __cplusplus
103971 extern "C"
103973 #endif
103974 /* We use char because int might match the return type of a gcc2
103975 builtin and then its argument prototype would still apply. */
103976 char $ac_func ();
103977 /* The GNU C library defines this for functions which it implements
103978 to always fail with ENOSYS. Some functions are actually named
103979 something starting with __ and the normal name is an alias. */
103980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103981 choke me
103982 #else
103983 char (*f) () = $ac_func;
103984 #endif
103985 #ifdef __cplusplus
103987 #endif
103990 main ()
103992 return f != $ac_func;
103994 return 0;
103996 _ACEOF
103997 rm -f conftest.$ac_objext conftest$ac_exeext
103998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103999 (eval $ac_link) 2>conftest.er1
104000 ac_status=$?
104001 grep -v '^ *+' conftest.er1 >conftest.err
104002 rm -f conftest.er1
104003 cat conftest.err >&5
104004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104005 (exit $ac_status); } &&
104006 { ac_try='test -z "$ac_c_werror_flag"
104007 || test ! -s conftest.err'
104008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104009 (eval $ac_try) 2>&5
104010 ac_status=$?
104011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104012 (exit $ac_status); }; } &&
104013 { ac_try='test -s conftest$ac_exeext'
104014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104015 (eval $ac_try) 2>&5
104016 ac_status=$?
104017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104018 (exit $ac_status); }; }; then
104019 eval "$as_ac_var=yes"
104021 echo "$as_me: failed program was:" >&5
104022 sed 's/^/| /' conftest.$ac_ext >&5
104024 eval "$as_ac_var=no"
104026 rm -f conftest.err conftest.$ac_objext \
104027 conftest$ac_exeext conftest.$ac_ext
104029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104031 if test `eval echo '${'$as_ac_var'}'` = yes; then
104032 cat >>confdefs.h <<_ACEOF
104033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104034 _ACEOF
104037 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
104042 if test x$ac_cv_func_copysignl = x"yes"; then
104044 for ac_func in __signbitl
104046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104047 echo "$as_me:$LINENO: checking for $ac_func" >&5
104048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104049 if eval "test \"\${$as_ac_var+set}\" = set"; then
104050 echo $ECHO_N "(cached) $ECHO_C" >&6
104052 if test x$gcc_no_link = xyes; then
104053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104055 { (exit 1); exit 1; }; }
104057 cat >conftest.$ac_ext <<_ACEOF
104058 /* confdefs.h. */
104059 _ACEOF
104060 cat confdefs.h >>conftest.$ac_ext
104061 cat >>conftest.$ac_ext <<_ACEOF
104062 /* end confdefs.h. */
104063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104065 #define $ac_func innocuous_$ac_func
104067 /* System header to define __stub macros and hopefully few prototypes,
104068 which can conflict with char $ac_func (); below.
104069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104070 <limits.h> exists even on freestanding compilers. */
104072 #ifdef __STDC__
104073 # include <limits.h>
104074 #else
104075 # include <assert.h>
104076 #endif
104078 #undef $ac_func
104080 /* Override any gcc2 internal prototype to avoid an error. */
104081 #ifdef __cplusplus
104082 extern "C"
104084 #endif
104085 /* We use char because int might match the return type of a gcc2
104086 builtin and then its argument prototype would still apply. */
104087 char $ac_func ();
104088 /* The GNU C library defines this for functions which it implements
104089 to always fail with ENOSYS. Some functions are actually named
104090 something starting with __ and the normal name is an alias. */
104091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104092 choke me
104093 #else
104094 char (*f) () = $ac_func;
104095 #endif
104096 #ifdef __cplusplus
104098 #endif
104101 main ()
104103 return f != $ac_func;
104105 return 0;
104107 _ACEOF
104108 rm -f conftest.$ac_objext conftest$ac_exeext
104109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104110 (eval $ac_link) 2>conftest.er1
104111 ac_status=$?
104112 grep -v '^ *+' conftest.er1 >conftest.err
104113 rm -f conftest.er1
104114 cat conftest.err >&5
104115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104116 (exit $ac_status); } &&
104117 { ac_try='test -z "$ac_c_werror_flag"
104118 || test ! -s conftest.err'
104119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104120 (eval $ac_try) 2>&5
104121 ac_status=$?
104122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104123 (exit $ac_status); }; } &&
104124 { ac_try='test -s conftest$ac_exeext'
104125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104126 (eval $ac_try) 2>&5
104127 ac_status=$?
104128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104129 (exit $ac_status); }; }; then
104130 eval "$as_ac_var=yes"
104132 echo "$as_me: failed program was:" >&5
104133 sed 's/^/| /' conftest.$ac_ext >&5
104135 eval "$as_ac_var=no"
104137 rm -f conftest.err conftest.$ac_objext \
104138 conftest$ac_exeext conftest.$ac_ext
104140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104142 if test `eval echo '${'$as_ac_var'}'` = yes; then
104143 cat >>confdefs.h <<_ACEOF
104144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104145 _ACEOF
104148 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
104154 # Used in libmath/Makefile.am.
104155 if test -n "$LIBMATHOBJS"; then
104156 need_libmath=yes
104160 cat >>confdefs.h <<\_ACEOF
104161 #define HAVE_COPYSIGN 1
104162 _ACEOF
104164 cat >>confdefs.h <<\_ACEOF
104165 #define HAVE_COPYSIGNF 1
104166 _ACEOF
104168 cat >>confdefs.h <<\_ACEOF
104169 #define HAVE_FINITE 1
104170 _ACEOF
104172 cat >>confdefs.h <<\_ACEOF
104173 #define HAVE_FINITEF 1
104174 _ACEOF
104176 cat >>confdefs.h <<\_ACEOF
104177 #define HAVE_FREXPF 1
104178 _ACEOF
104180 cat >>confdefs.h <<\_ACEOF
104181 #define HAVE_HYPOTF 1
104182 _ACEOF
104184 cat >>confdefs.h <<\_ACEOF
104185 #define HAVE_ISINF 1
104186 _ACEOF
104188 cat >>confdefs.h <<\_ACEOF
104189 #define HAVE_ISINFF 1
104190 _ACEOF
104192 cat >>confdefs.h <<\_ACEOF
104193 #define HAVE_ISNAN 1
104194 _ACEOF
104196 cat >>confdefs.h <<\_ACEOF
104197 #define HAVE_ISNANF 1
104198 _ACEOF
104200 cat >>confdefs.h <<\_ACEOF
104201 #define HAVE_SINCOS 1
104202 _ACEOF
104204 cat >>confdefs.h <<\_ACEOF
104205 #define HAVE_SINCOSF 1
104206 _ACEOF
104208 if test x"long_double_math_on_this_cpu" = x"yes"; then
104209 cat >>confdefs.h <<\_ACEOF
104210 #define HAVE_FINITEL 1
104211 _ACEOF
104213 cat >>confdefs.h <<\_ACEOF
104214 #define HAVE_HYPOTL 1
104215 _ACEOF
104217 cat >>confdefs.h <<\_ACEOF
104218 #define HAVE_ISINFL 1
104219 _ACEOF
104221 cat >>confdefs.h <<\_ACEOF
104222 #define HAVE_ISNANL 1
104223 _ACEOF
104227 *-vxworks)
104228 cat >>confdefs.h <<\_ACEOF
104229 #define HAVE_ACOSF 1
104230 _ACEOF
104232 cat >>confdefs.h <<\_ACEOF
104233 #define HAVE_ASINF 1
104234 _ACEOF
104236 cat >>confdefs.h <<\_ACEOF
104237 #define HAVE_ATAN2F 1
104238 _ACEOF
104240 cat >>confdefs.h <<\_ACEOF
104241 #define HAVE_ATANF 1
104242 _ACEOF
104244 cat >>confdefs.h <<\_ACEOF
104245 #define HAVE_CEILF 1
104246 _ACEOF
104248 cat >>confdefs.h <<\_ACEOF
104249 #define HAVE_COSF 1
104250 _ACEOF
104252 cat >>confdefs.h <<\_ACEOF
104253 #define HAVE_COSHF 1
104254 _ACEOF
104256 cat >>confdefs.h <<\_ACEOF
104257 #define HAVE_EXPF 1
104258 _ACEOF
104260 cat >>confdefs.h <<\_ACEOF
104261 #define HAVE_FABSF 1
104262 _ACEOF
104264 cat >>confdefs.h <<\_ACEOF
104265 #define HAVE_FLOORF 1
104266 _ACEOF
104268 cat >>confdefs.h <<\_ACEOF
104269 #define HAVE_FMODF 1
104270 _ACEOF
104272 cat >>confdefs.h <<\_ACEOF
104273 #define HAVE_HYPOT 1
104274 _ACEOF
104276 cat >>confdefs.h <<\_ACEOF
104277 #define HAVE_LOG10F 1
104278 _ACEOF
104280 cat >>confdefs.h <<\_ACEOF
104281 #define HAVE_LOGF 1
104282 _ACEOF
104284 cat >>confdefs.h <<\_ACEOF
104285 #define HAVE_POWF 1
104286 _ACEOF
104288 cat >>confdefs.h <<\_ACEOF
104289 #define HAVE_SINF 1
104290 _ACEOF
104292 cat >>confdefs.h <<\_ACEOF
104293 #define HAVE_SINHF 1
104294 _ACEOF
104296 cat >>confdefs.h <<\_ACEOF
104297 #define HAVE_SQRTF 1
104298 _ACEOF
104300 cat >>confdefs.h <<\_ACEOF
104301 #define HAVE_TANF 1
104302 _ACEOF
104304 cat >>confdefs.h <<\_ACEOF
104305 #define HAVE_TANHF 1
104306 _ACEOF
104310 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
104311 echo "$as_me: error: No support for this host/target combination." >&2;}
104312 { (exit 1); exit 1; }; }
104318 # At some point, we should differentiate between architectures
104319 # like x86, which have long double versions, and alpha/powerpc/etc.,
104320 # which don't. For the time being, punt.
104321 if test x"long_double_math_on_this_cpu" = x"yes"; then
104322 cat >>confdefs.h <<\_ACEOF
104323 #define HAVE_ACOSL 1
104324 _ACEOF
104326 cat >>confdefs.h <<\_ACEOF
104327 #define HAVE_ASINL 1
104328 _ACEOF
104330 cat >>confdefs.h <<\_ACEOF
104331 #define HAVE_ATAN2L 1
104332 _ACEOF
104334 cat >>confdefs.h <<\_ACEOF
104335 #define HAVE_ATANL 1
104336 _ACEOF
104338 cat >>confdefs.h <<\_ACEOF
104339 #define HAVE_CEILL 1
104340 _ACEOF
104342 cat >>confdefs.h <<\_ACEOF
104343 #define HAVE_COPYSIGNL 1
104344 _ACEOF
104346 cat >>confdefs.h <<\_ACEOF
104347 #define HAVE_COSL 1
104348 _ACEOF
104350 cat >>confdefs.h <<\_ACEOF
104351 #define HAVE_COSHL 1
104352 _ACEOF
104354 cat >>confdefs.h <<\_ACEOF
104355 #define HAVE_EXPL 1
104356 _ACEOF
104358 cat >>confdefs.h <<\_ACEOF
104359 #define HAVE_FABSL 1
104360 _ACEOF
104362 cat >>confdefs.h <<\_ACEOF
104363 #define HAVE_FLOORL 1
104364 _ACEOF
104366 cat >>confdefs.h <<\_ACEOF
104367 #define HAVE_FMODL 1
104368 _ACEOF
104370 cat >>confdefs.h <<\_ACEOF
104371 #define HAVE_FREXPL 1
104372 _ACEOF
104374 cat >>confdefs.h <<\_ACEOF
104375 #define HAVE_LDEXPL 1
104376 _ACEOF
104378 cat >>confdefs.h <<\_ACEOF
104379 #define HAVE_LOG10L 1
104380 _ACEOF
104382 cat >>confdefs.h <<\_ACEOF
104383 #define HAVE_LOGL 1
104384 _ACEOF
104386 cat >>confdefs.h <<\_ACEOF
104387 #define HAVE_MODFL 1
104388 _ACEOF
104390 cat >>confdefs.h <<\_ACEOF
104391 #define HAVE_POWL 1
104392 _ACEOF
104394 cat >>confdefs.h <<\_ACEOF
104395 #define HAVE_SINCOSL 1
104396 _ACEOF
104398 cat >>confdefs.h <<\_ACEOF
104399 #define HAVE_SINL 1
104400 _ACEOF
104402 cat >>confdefs.h <<\_ACEOF
104403 #define HAVE_SINHL 1
104404 _ACEOF
104406 cat >>confdefs.h <<\_ACEOF
104407 #define HAVE_SQRTL 1
104408 _ACEOF
104410 cat >>confdefs.h <<\_ACEOF
104411 #define HAVE_TANL 1
104412 _ACEOF
104414 cat >>confdefs.h <<\_ACEOF
104415 #define HAVE_TANHL 1
104416 _ACEOF
104420 # Assume we have _Unwind_GetIPInfo for cross-compiles.
104421 cat >>confdefs.h <<\_ACEOF
104422 #define HAVE_GETIPINFO 1
104423 _ACEOF
104427 # Check whether --enable-linux-futex or --disable-linux-futex was given.
104428 if test "${enable_linux_futex+set}" = set; then
104429 enableval="$enable_linux_futex"
104431 case "$enableval" in
104432 yes|no|default) ;;
104433 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
104434 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
104435 { (exit 1); exit 1; }; } ;;
104439 enable_linux_futex=default
104442 case "$target" in
104443 *-linux*)
104444 case "$enable_linux_futex" in
104445 default)
104446 # If headers don't have gettid/futex syscalls definition, then
104447 # default to no, otherwise there will be compile time failures.
104448 # Otherwise, default to yes. If we don't detect we are
104449 # compiled/linked against NPTL and not cross-compiling, check
104450 # if programs are run by default against NPTL and if not, issue
104451 # a warning.
104452 enable_linux_futex=no
104453 if test x$gcc_no_link = xyes; then
104454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104456 { (exit 1); exit 1; }; }
104458 cat >conftest.$ac_ext <<_ACEOF
104459 /* confdefs.h. */
104460 _ACEOF
104461 cat confdefs.h >>conftest.$ac_ext
104462 cat >>conftest.$ac_ext <<_ACEOF
104463 /* end confdefs.h. */
104464 #include <sys/syscall.h>
104465 int lk;
104467 main ()
104469 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
104471 return 0;
104473 _ACEOF
104474 rm -f conftest.$ac_objext conftest$ac_exeext
104475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104476 (eval $ac_link) 2>conftest.er1
104477 ac_status=$?
104478 grep -v '^ *+' conftest.er1 >conftest.err
104479 rm -f conftest.er1
104480 cat conftest.err >&5
104481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104482 (exit $ac_status); } &&
104483 { ac_try='test -z "$ac_c_werror_flag"
104484 || test ! -s conftest.err'
104485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104486 (eval $ac_try) 2>&5
104487 ac_status=$?
104488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104489 (exit $ac_status); }; } &&
104490 { ac_try='test -s conftest$ac_exeext'
104491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104492 (eval $ac_try) 2>&5
104493 ac_status=$?
104494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104495 (exit $ac_status); }; }; then
104496 save_LIBS="$LIBS"
104497 LIBS="-lpthread $LIBS"
104498 if test x$gcc_no_link = xyes; then
104499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104501 { (exit 1); exit 1; }; }
104503 cat >conftest.$ac_ext <<_ACEOF
104504 /* confdefs.h. */
104505 _ACEOF
104506 cat confdefs.h >>conftest.$ac_ext
104507 cat >>conftest.$ac_ext <<_ACEOF
104508 /* end confdefs.h. */
104509 #ifndef _GNU_SOURCE
104510 #define _GNU_SOURCE 1
104511 #endif
104512 #include <pthread.h>
104513 pthread_t th; void *status;
104515 main ()
104517 pthread_tryjoin_np (th, &status);
104519 return 0;
104521 _ACEOF
104522 rm -f conftest.$ac_objext conftest$ac_exeext
104523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104524 (eval $ac_link) 2>conftest.er1
104525 ac_status=$?
104526 grep -v '^ *+' conftest.er1 >conftest.err
104527 rm -f conftest.er1
104528 cat conftest.err >&5
104529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104530 (exit $ac_status); } &&
104531 { ac_try='test -z "$ac_c_werror_flag"
104532 || test ! -s conftest.err'
104533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104534 (eval $ac_try) 2>&5
104535 ac_status=$?
104536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104537 (exit $ac_status); }; } &&
104538 { ac_try='test -s conftest$ac_exeext'
104539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104540 (eval $ac_try) 2>&5
104541 ac_status=$?
104542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104543 (exit $ac_status); }; }; then
104544 enable_linux_futex=yes
104546 echo "$as_me: failed program was:" >&5
104547 sed 's/^/| /' conftest.$ac_ext >&5
104549 if test x$cross_compiling = xno; then
104550 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
104551 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
104552 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
104553 If so, please configure with --disable-linux-futex" >&5
104554 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
104555 If so, please configure with --disable-linux-futex" >&2;}
104558 enable_linux_futex=yes
104560 rm -f conftest.err conftest.$ac_objext \
104561 conftest$ac_exeext conftest.$ac_ext
104562 LIBS="$save_LIBS"
104564 echo "$as_me: failed program was:" >&5
104565 sed 's/^/| /' conftest.$ac_ext >&5
104568 rm -f conftest.err conftest.$ac_objext \
104569 conftest$ac_exeext conftest.$ac_ext
104572 if test x$gcc_no_link = xyes; then
104573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104575 { (exit 1); exit 1; }; }
104577 cat >conftest.$ac_ext <<_ACEOF
104578 /* confdefs.h. */
104579 _ACEOF
104580 cat confdefs.h >>conftest.$ac_ext
104581 cat >>conftest.$ac_ext <<_ACEOF
104582 /* end confdefs.h. */
104583 #include <sys/syscall.h>
104584 int lk;
104586 main ()
104588 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
104590 return 0;
104592 _ACEOF
104593 rm -f conftest.$ac_objext conftest$ac_exeext
104594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104595 (eval $ac_link) 2>conftest.er1
104596 ac_status=$?
104597 grep -v '^ *+' conftest.er1 >conftest.err
104598 rm -f conftest.er1
104599 cat conftest.err >&5
104600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104601 (exit $ac_status); } &&
104602 { ac_try='test -z "$ac_c_werror_flag"
104603 || test ! -s conftest.err'
104604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104605 (eval $ac_try) 2>&5
104606 ac_status=$?
104607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104608 (exit $ac_status); }; } &&
104609 { ac_try='test -s conftest$ac_exeext'
104610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104611 (eval $ac_try) 2>&5
104612 ac_status=$?
104613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104614 (exit $ac_status); }; }; then
104617 echo "$as_me: failed program was:" >&5
104618 sed 's/^/| /' conftest.$ac_ext >&5
104620 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
104621 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
104622 { (exit 1); exit 1; }; }
104624 rm -f conftest.err conftest.$ac_objext \
104625 conftest$ac_exeext conftest.$ac_ext
104630 enable_linux_futex=no
104633 if test x$enable_linux_futex = xyes; then
104635 cat >>confdefs.h <<\_ACEOF
104636 #define HAVE_LINUX_FUTEX 1
104637 _ACEOF
104644 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
104646 acx_cv_header_stdint=stddef.h
104647 acx_cv_header_stdint_kind="(already complete)"
104648 for i in stdint.h $inttype_headers; do
104649 unset ac_cv_type_uintptr_t
104650 unset ac_cv_type_uintmax_t
104651 unset ac_cv_type_int_least32_t
104652 unset ac_cv_type_int_fast32_t
104653 unset ac_cv_type_uint64_t
104654 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
104655 echo "$as_me:$LINENO: checking for uintmax_t" >&5
104656 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
104657 if test "${ac_cv_type_uintmax_t+set}" = set; then
104658 echo $ECHO_N "(cached) $ECHO_C" >&6
104660 cat >conftest.$ac_ext <<_ACEOF
104661 /* confdefs.h. */
104662 _ACEOF
104663 cat confdefs.h >>conftest.$ac_ext
104664 cat >>conftest.$ac_ext <<_ACEOF
104665 /* end confdefs.h. */
104666 #include <sys/types.h>
104667 #include <$i>
104670 main ()
104672 if ((uintmax_t *) 0)
104673 return 0;
104674 if (sizeof (uintmax_t))
104675 return 0;
104677 return 0;
104679 _ACEOF
104680 rm -f conftest.$ac_objext
104681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104682 (eval $ac_compile) 2>conftest.er1
104683 ac_status=$?
104684 grep -v '^ *+' conftest.er1 >conftest.err
104685 rm -f conftest.er1
104686 cat conftest.err >&5
104687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104688 (exit $ac_status); } &&
104689 { ac_try='test -z "$ac_c_werror_flag"
104690 || test ! -s conftest.err'
104691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104692 (eval $ac_try) 2>&5
104693 ac_status=$?
104694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104695 (exit $ac_status); }; } &&
104696 { ac_try='test -s conftest.$ac_objext'
104697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104698 (eval $ac_try) 2>&5
104699 ac_status=$?
104700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104701 (exit $ac_status); }; }; then
104702 ac_cv_type_uintmax_t=yes
104704 echo "$as_me: failed program was:" >&5
104705 sed 's/^/| /' conftest.$ac_ext >&5
104707 ac_cv_type_uintmax_t=no
104709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104711 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
104712 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
104713 if test $ac_cv_type_uintmax_t = yes; then
104714 acx_cv_header_stdint=$i
104716 continue
104719 echo "$as_me:$LINENO: checking for uintptr_t" >&5
104720 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
104721 if test "${ac_cv_type_uintptr_t+set}" = set; then
104722 echo $ECHO_N "(cached) $ECHO_C" >&6
104724 cat >conftest.$ac_ext <<_ACEOF
104725 /* confdefs.h. */
104726 _ACEOF
104727 cat confdefs.h >>conftest.$ac_ext
104728 cat >>conftest.$ac_ext <<_ACEOF
104729 /* end confdefs.h. */
104730 #include <sys/types.h>
104731 #include <$i>
104734 main ()
104736 if ((uintptr_t *) 0)
104737 return 0;
104738 if (sizeof (uintptr_t))
104739 return 0;
104741 return 0;
104743 _ACEOF
104744 rm -f conftest.$ac_objext
104745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104746 (eval $ac_compile) 2>conftest.er1
104747 ac_status=$?
104748 grep -v '^ *+' conftest.er1 >conftest.err
104749 rm -f conftest.er1
104750 cat conftest.err >&5
104751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104752 (exit $ac_status); } &&
104753 { ac_try='test -z "$ac_c_werror_flag"
104754 || test ! -s conftest.err'
104755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104756 (eval $ac_try) 2>&5
104757 ac_status=$?
104758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104759 (exit $ac_status); }; } &&
104760 { ac_try='test -s conftest.$ac_objext'
104761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104762 (eval $ac_try) 2>&5
104763 ac_status=$?
104764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104765 (exit $ac_status); }; }; then
104766 ac_cv_type_uintptr_t=yes
104768 echo "$as_me: failed program was:" >&5
104769 sed 's/^/| /' conftest.$ac_ext >&5
104771 ac_cv_type_uintptr_t=no
104773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104775 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
104776 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
104777 if test $ac_cv_type_uintptr_t = yes; then
104780 acx_cv_header_stdint_kind="(mostly complete)"
104783 echo "$as_me:$LINENO: checking for int_least32_t" >&5
104784 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
104785 if test "${ac_cv_type_int_least32_t+set}" = set; then
104786 echo $ECHO_N "(cached) $ECHO_C" >&6
104788 cat >conftest.$ac_ext <<_ACEOF
104789 /* confdefs.h. */
104790 _ACEOF
104791 cat confdefs.h >>conftest.$ac_ext
104792 cat >>conftest.$ac_ext <<_ACEOF
104793 /* end confdefs.h. */
104794 #include <sys/types.h>
104795 #include <$i>
104798 main ()
104800 if ((int_least32_t *) 0)
104801 return 0;
104802 if (sizeof (int_least32_t))
104803 return 0;
104805 return 0;
104807 _ACEOF
104808 rm -f conftest.$ac_objext
104809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104810 (eval $ac_compile) 2>conftest.er1
104811 ac_status=$?
104812 grep -v '^ *+' conftest.er1 >conftest.err
104813 rm -f conftest.er1
104814 cat conftest.err >&5
104815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104816 (exit $ac_status); } &&
104817 { ac_try='test -z "$ac_c_werror_flag"
104818 || test ! -s conftest.err'
104819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104820 (eval $ac_try) 2>&5
104821 ac_status=$?
104822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104823 (exit $ac_status); }; } &&
104824 { ac_try='test -s conftest.$ac_objext'
104825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104826 (eval $ac_try) 2>&5
104827 ac_status=$?
104828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104829 (exit $ac_status); }; }; then
104830 ac_cv_type_int_least32_t=yes
104832 echo "$as_me: failed program was:" >&5
104833 sed 's/^/| /' conftest.$ac_ext >&5
104835 ac_cv_type_int_least32_t=no
104837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104839 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
104840 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
104841 if test $ac_cv_type_int_least32_t = yes; then
104844 acx_cv_header_stdint_kind="(mostly complete)"
104847 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
104848 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
104849 if test "${ac_cv_type_int_fast32_t+set}" = set; then
104850 echo $ECHO_N "(cached) $ECHO_C" >&6
104852 cat >conftest.$ac_ext <<_ACEOF
104853 /* confdefs.h. */
104854 _ACEOF
104855 cat confdefs.h >>conftest.$ac_ext
104856 cat >>conftest.$ac_ext <<_ACEOF
104857 /* end confdefs.h. */
104858 #include <sys/types.h>
104859 #include <$i>
104862 main ()
104864 if ((int_fast32_t *) 0)
104865 return 0;
104866 if (sizeof (int_fast32_t))
104867 return 0;
104869 return 0;
104871 _ACEOF
104872 rm -f conftest.$ac_objext
104873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104874 (eval $ac_compile) 2>conftest.er1
104875 ac_status=$?
104876 grep -v '^ *+' conftest.er1 >conftest.err
104877 rm -f conftest.er1
104878 cat conftest.err >&5
104879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104880 (exit $ac_status); } &&
104881 { ac_try='test -z "$ac_c_werror_flag"
104882 || test ! -s conftest.err'
104883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104884 (eval $ac_try) 2>&5
104885 ac_status=$?
104886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104887 (exit $ac_status); }; } &&
104888 { ac_try='test -s conftest.$ac_objext'
104889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104890 (eval $ac_try) 2>&5
104891 ac_status=$?
104892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104893 (exit $ac_status); }; }; then
104894 ac_cv_type_int_fast32_t=yes
104896 echo "$as_me: failed program was:" >&5
104897 sed 's/^/| /' conftest.$ac_ext >&5
104899 ac_cv_type_int_fast32_t=no
104901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104903 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
104904 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
104905 if test $ac_cv_type_int_fast32_t = yes; then
104908 acx_cv_header_stdint_kind="(mostly complete)"
104911 echo "$as_me:$LINENO: checking for uint64_t" >&5
104912 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
104913 if test "${ac_cv_type_uint64_t+set}" = set; then
104914 echo $ECHO_N "(cached) $ECHO_C" >&6
104916 cat >conftest.$ac_ext <<_ACEOF
104917 /* confdefs.h. */
104918 _ACEOF
104919 cat confdefs.h >>conftest.$ac_ext
104920 cat >>conftest.$ac_ext <<_ACEOF
104921 /* end confdefs.h. */
104922 #include <sys/types.h>
104923 #include <$i>
104926 main ()
104928 if ((uint64_t *) 0)
104929 return 0;
104930 if (sizeof (uint64_t))
104931 return 0;
104933 return 0;
104935 _ACEOF
104936 rm -f conftest.$ac_objext
104937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104938 (eval $ac_compile) 2>conftest.er1
104939 ac_status=$?
104940 grep -v '^ *+' conftest.er1 >conftest.err
104941 rm -f conftest.er1
104942 cat conftest.err >&5
104943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104944 (exit $ac_status); } &&
104945 { ac_try='test -z "$ac_c_werror_flag"
104946 || test ! -s conftest.err'
104947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104948 (eval $ac_try) 2>&5
104949 ac_status=$?
104950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104951 (exit $ac_status); }; } &&
104952 { ac_try='test -s conftest.$ac_objext'
104953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104954 (eval $ac_try) 2>&5
104955 ac_status=$?
104956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104957 (exit $ac_status); }; }; then
104958 ac_cv_type_uint64_t=yes
104960 echo "$as_me: failed program was:" >&5
104961 sed 's/^/| /' conftest.$ac_ext >&5
104963 ac_cv_type_uint64_t=no
104965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104967 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
104968 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
104969 if test $ac_cv_type_uint64_t = yes; then
104972 acx_cv_header_stdint_kind="(lacks uint64_t)"
104975 break
104977 if test "$acx_cv_header_stdint" = stddef.h; then
104978 acx_cv_header_stdint_kind="(lacks uintmax_t)"
104979 for i in stdint.h $inttype_headers; do
104980 unset ac_cv_type_uintptr_t
104981 unset ac_cv_type_uint32_t
104982 unset ac_cv_type_uint64_t
104983 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
104984 echo "$as_me:$LINENO: checking for uint32_t" >&5
104985 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
104986 if test "${ac_cv_type_uint32_t+set}" = set; then
104987 echo $ECHO_N "(cached) $ECHO_C" >&6
104989 cat >conftest.$ac_ext <<_ACEOF
104990 /* confdefs.h. */
104991 _ACEOF
104992 cat confdefs.h >>conftest.$ac_ext
104993 cat >>conftest.$ac_ext <<_ACEOF
104994 /* end confdefs.h. */
104995 #include <sys/types.h>
104996 #include <$i>
104999 main ()
105001 if ((uint32_t *) 0)
105002 return 0;
105003 if (sizeof (uint32_t))
105004 return 0;
105006 return 0;
105008 _ACEOF
105009 rm -f conftest.$ac_objext
105010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105011 (eval $ac_compile) 2>conftest.er1
105012 ac_status=$?
105013 grep -v '^ *+' conftest.er1 >conftest.err
105014 rm -f conftest.er1
105015 cat conftest.err >&5
105016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105017 (exit $ac_status); } &&
105018 { ac_try='test -z "$ac_c_werror_flag"
105019 || test ! -s conftest.err'
105020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105021 (eval $ac_try) 2>&5
105022 ac_status=$?
105023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105024 (exit $ac_status); }; } &&
105025 { ac_try='test -s conftest.$ac_objext'
105026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105027 (eval $ac_try) 2>&5
105028 ac_status=$?
105029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105030 (exit $ac_status); }; }; then
105031 ac_cv_type_uint32_t=yes
105033 echo "$as_me: failed program was:" >&5
105034 sed 's/^/| /' conftest.$ac_ext >&5
105036 ac_cv_type_uint32_t=no
105038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105040 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
105041 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
105042 if test $ac_cv_type_uint32_t = yes; then
105043 acx_cv_header_stdint=$i
105045 continue
105048 echo "$as_me:$LINENO: checking for uint64_t" >&5
105049 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
105050 if test "${ac_cv_type_uint64_t+set}" = set; then
105051 echo $ECHO_N "(cached) $ECHO_C" >&6
105053 cat >conftest.$ac_ext <<_ACEOF
105054 /* confdefs.h. */
105055 _ACEOF
105056 cat confdefs.h >>conftest.$ac_ext
105057 cat >>conftest.$ac_ext <<_ACEOF
105058 /* end confdefs.h. */
105059 #include <sys/types.h>
105060 #include <$i>
105063 main ()
105065 if ((uint64_t *) 0)
105066 return 0;
105067 if (sizeof (uint64_t))
105068 return 0;
105070 return 0;
105072 _ACEOF
105073 rm -f conftest.$ac_objext
105074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105075 (eval $ac_compile) 2>conftest.er1
105076 ac_status=$?
105077 grep -v '^ *+' conftest.er1 >conftest.err
105078 rm -f conftest.er1
105079 cat conftest.err >&5
105080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105081 (exit $ac_status); } &&
105082 { ac_try='test -z "$ac_c_werror_flag"
105083 || test ! -s conftest.err'
105084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105085 (eval $ac_try) 2>&5
105086 ac_status=$?
105087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105088 (exit $ac_status); }; } &&
105089 { ac_try='test -s conftest.$ac_objext'
105090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105091 (eval $ac_try) 2>&5
105092 ac_status=$?
105093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105094 (exit $ac_status); }; }; then
105095 ac_cv_type_uint64_t=yes
105097 echo "$as_me: failed program was:" >&5
105098 sed 's/^/| /' conftest.$ac_ext >&5
105100 ac_cv_type_uint64_t=no
105102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105104 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
105105 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
105107 echo "$as_me:$LINENO: checking for uintptr_t" >&5
105108 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
105109 if test "${ac_cv_type_uintptr_t+set}" = set; then
105110 echo $ECHO_N "(cached) $ECHO_C" >&6
105112 cat >conftest.$ac_ext <<_ACEOF
105113 /* confdefs.h. */
105114 _ACEOF
105115 cat confdefs.h >>conftest.$ac_ext
105116 cat >>conftest.$ac_ext <<_ACEOF
105117 /* end confdefs.h. */
105118 #include <sys/types.h>
105119 #include <$i>
105122 main ()
105124 if ((uintptr_t *) 0)
105125 return 0;
105126 if (sizeof (uintptr_t))
105127 return 0;
105129 return 0;
105131 _ACEOF
105132 rm -f conftest.$ac_objext
105133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105134 (eval $ac_compile) 2>conftest.er1
105135 ac_status=$?
105136 grep -v '^ *+' conftest.er1 >conftest.err
105137 rm -f conftest.er1
105138 cat conftest.err >&5
105139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105140 (exit $ac_status); } &&
105141 { ac_try='test -z "$ac_c_werror_flag"
105142 || test ! -s conftest.err'
105143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105144 (eval $ac_try) 2>&5
105145 ac_status=$?
105146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105147 (exit $ac_status); }; } &&
105148 { ac_try='test -s conftest.$ac_objext'
105149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105150 (eval $ac_try) 2>&5
105151 ac_status=$?
105152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105153 (exit $ac_status); }; }; then
105154 ac_cv_type_uintptr_t=yes
105156 echo "$as_me: failed program was:" >&5
105157 sed 's/^/| /' conftest.$ac_ext >&5
105159 ac_cv_type_uintptr_t=no
105161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105163 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
105164 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
105166 break
105169 if test "$acx_cv_header_stdint" = stddef.h; then
105170 acx_cv_header_stdint_kind="(u_intXX_t style)"
105171 for i in sys/types.h $inttype_headers; do
105172 unset ac_cv_type_u_int32_t
105173 unset ac_cv_type_u_int64_t
105174 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
105175 echo "$as_me:$LINENO: checking for u_int32_t" >&5
105176 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
105177 if test "${ac_cv_type_u_int32_t+set}" = set; then
105178 echo $ECHO_N "(cached) $ECHO_C" >&6
105180 cat >conftest.$ac_ext <<_ACEOF
105181 /* confdefs.h. */
105182 _ACEOF
105183 cat confdefs.h >>conftest.$ac_ext
105184 cat >>conftest.$ac_ext <<_ACEOF
105185 /* end confdefs.h. */
105186 #include <sys/types.h>
105187 #include <$i>
105190 main ()
105192 if ((u_int32_t *) 0)
105193 return 0;
105194 if (sizeof (u_int32_t))
105195 return 0;
105197 return 0;
105199 _ACEOF
105200 rm -f conftest.$ac_objext
105201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105202 (eval $ac_compile) 2>conftest.er1
105203 ac_status=$?
105204 grep -v '^ *+' conftest.er1 >conftest.err
105205 rm -f conftest.er1
105206 cat conftest.err >&5
105207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105208 (exit $ac_status); } &&
105209 { ac_try='test -z "$ac_c_werror_flag"
105210 || test ! -s conftest.err'
105211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105212 (eval $ac_try) 2>&5
105213 ac_status=$?
105214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105215 (exit $ac_status); }; } &&
105216 { ac_try='test -s conftest.$ac_objext'
105217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105218 (eval $ac_try) 2>&5
105219 ac_status=$?
105220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105221 (exit $ac_status); }; }; then
105222 ac_cv_type_u_int32_t=yes
105224 echo "$as_me: failed program was:" >&5
105225 sed 's/^/| /' conftest.$ac_ext >&5
105227 ac_cv_type_u_int32_t=no
105229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105231 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
105232 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
105233 if test $ac_cv_type_u_int32_t = yes; then
105234 acx_cv_header_stdint=$i
105236 continue
105239 echo "$as_me:$LINENO: checking for u_int64_t" >&5
105240 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
105241 if test "${ac_cv_type_u_int64_t+set}" = set; then
105242 echo $ECHO_N "(cached) $ECHO_C" >&6
105244 cat >conftest.$ac_ext <<_ACEOF
105245 /* confdefs.h. */
105246 _ACEOF
105247 cat confdefs.h >>conftest.$ac_ext
105248 cat >>conftest.$ac_ext <<_ACEOF
105249 /* end confdefs.h. */
105250 #include <sys/types.h>
105251 #include <$i>
105254 main ()
105256 if ((u_int64_t *) 0)
105257 return 0;
105258 if (sizeof (u_int64_t))
105259 return 0;
105261 return 0;
105263 _ACEOF
105264 rm -f conftest.$ac_objext
105265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105266 (eval $ac_compile) 2>conftest.er1
105267 ac_status=$?
105268 grep -v '^ *+' conftest.er1 >conftest.err
105269 rm -f conftest.er1
105270 cat conftest.err >&5
105271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105272 (exit $ac_status); } &&
105273 { ac_try='test -z "$ac_c_werror_flag"
105274 || test ! -s conftest.err'
105275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105276 (eval $ac_try) 2>&5
105277 ac_status=$?
105278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105279 (exit $ac_status); }; } &&
105280 { ac_try='test -s conftest.$ac_objext'
105281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105282 (eval $ac_try) 2>&5
105283 ac_status=$?
105284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105285 (exit $ac_status); }; }; then
105286 ac_cv_type_u_int64_t=yes
105288 echo "$as_me: failed program was:" >&5
105289 sed 's/^/| /' conftest.$ac_ext >&5
105291 ac_cv_type_u_int64_t=no
105293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105295 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
105296 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
105298 break
105301 if test "$acx_cv_header_stdint" = stddef.h; then
105302 acx_cv_header_stdint_kind="(using manual detection)"
105305 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
105306 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
105307 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
105308 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
105309 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
105311 # ----------------- Summarize what we found so far
105313 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
105314 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
105316 case `$as_basename include/gstdint.h ||
105317 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
105318 Xinclude/gstdint.h : 'X\(//\)$' \| \
105319 Xinclude/gstdint.h : 'X\(/\)$' \| \
105320 . : '\(.\)' 2>/dev/null ||
105321 echo X/include/gstdint.h |
105322 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
105323 /^X\/\(\/\/\)$/{ s//\1/; q; }
105324 /^X\/\(\/\).*/{ s//\1/; q; }
105325 s/.*/./; q'` in
105326 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105327 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105328 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105329 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105330 *) ;;
105333 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
105334 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
105336 # ----------------- done included file, check C basic types --------
105338 # Lacking an uintptr_t? Test size of void *
105339 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
105340 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
105341 echo $ECHO_N "checking for void *... $ECHO_C" >&6
105342 if test "${ac_cv_type_void_p+set}" = set; then
105343 echo $ECHO_N "(cached) $ECHO_C" >&6
105345 cat >conftest.$ac_ext <<_ACEOF
105346 /* confdefs.h. */
105347 _ACEOF
105348 cat confdefs.h >>conftest.$ac_ext
105349 cat >>conftest.$ac_ext <<_ACEOF
105350 /* end confdefs.h. */
105351 $ac_includes_default
105353 main ()
105355 if ((void * *) 0)
105356 return 0;
105357 if (sizeof (void *))
105358 return 0;
105360 return 0;
105362 _ACEOF
105363 rm -f conftest.$ac_objext
105364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105365 (eval $ac_compile) 2>conftest.er1
105366 ac_status=$?
105367 grep -v '^ *+' conftest.er1 >conftest.err
105368 rm -f conftest.er1
105369 cat conftest.err >&5
105370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105371 (exit $ac_status); } &&
105372 { ac_try='test -z "$ac_c_werror_flag"
105373 || test ! -s conftest.err'
105374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105375 (eval $ac_try) 2>&5
105376 ac_status=$?
105377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105378 (exit $ac_status); }; } &&
105379 { ac_try='test -s conftest.$ac_objext'
105380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105381 (eval $ac_try) 2>&5
105382 ac_status=$?
105383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105384 (exit $ac_status); }; }; then
105385 ac_cv_type_void_p=yes
105387 echo "$as_me: failed program was:" >&5
105388 sed 's/^/| /' conftest.$ac_ext >&5
105390 ac_cv_type_void_p=no
105392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105394 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
105395 echo "${ECHO_T}$ac_cv_type_void_p" >&6
105397 echo "$as_me:$LINENO: checking size of void *" >&5
105398 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
105399 if test "${ac_cv_sizeof_void_p+set}" = set; then
105400 echo $ECHO_N "(cached) $ECHO_C" >&6
105402 if test "$ac_cv_type_void_p" = yes; then
105403 # The cast to unsigned long works around a bug in the HP C Compiler
105404 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105405 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105406 # This bug is HP SR number 8606223364.
105407 if test "$cross_compiling" = yes; then
105408 # Depending upon the size, compute the lo and hi bounds.
105409 cat >conftest.$ac_ext <<_ACEOF
105410 /* confdefs.h. */
105411 _ACEOF
105412 cat confdefs.h >>conftest.$ac_ext
105413 cat >>conftest.$ac_ext <<_ACEOF
105414 /* end confdefs.h. */
105415 $ac_includes_default
105417 main ()
105419 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
105420 test_array [0] = 0
105423 return 0;
105425 _ACEOF
105426 rm -f conftest.$ac_objext
105427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105428 (eval $ac_compile) 2>conftest.er1
105429 ac_status=$?
105430 grep -v '^ *+' conftest.er1 >conftest.err
105431 rm -f conftest.er1
105432 cat conftest.err >&5
105433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105434 (exit $ac_status); } &&
105435 { ac_try='test -z "$ac_c_werror_flag"
105436 || test ! -s conftest.err'
105437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105438 (eval $ac_try) 2>&5
105439 ac_status=$?
105440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105441 (exit $ac_status); }; } &&
105442 { ac_try='test -s conftest.$ac_objext'
105443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105444 (eval $ac_try) 2>&5
105445 ac_status=$?
105446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105447 (exit $ac_status); }; }; then
105448 ac_lo=0 ac_mid=0
105449 while :; do
105450 cat >conftest.$ac_ext <<_ACEOF
105451 /* confdefs.h. */
105452 _ACEOF
105453 cat confdefs.h >>conftest.$ac_ext
105454 cat >>conftest.$ac_ext <<_ACEOF
105455 /* end confdefs.h. */
105456 $ac_includes_default
105458 main ()
105460 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
105461 test_array [0] = 0
105464 return 0;
105466 _ACEOF
105467 rm -f conftest.$ac_objext
105468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105469 (eval $ac_compile) 2>conftest.er1
105470 ac_status=$?
105471 grep -v '^ *+' conftest.er1 >conftest.err
105472 rm -f conftest.er1
105473 cat conftest.err >&5
105474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105475 (exit $ac_status); } &&
105476 { ac_try='test -z "$ac_c_werror_flag"
105477 || test ! -s conftest.err'
105478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105479 (eval $ac_try) 2>&5
105480 ac_status=$?
105481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105482 (exit $ac_status); }; } &&
105483 { ac_try='test -s conftest.$ac_objext'
105484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105485 (eval $ac_try) 2>&5
105486 ac_status=$?
105487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105488 (exit $ac_status); }; }; then
105489 ac_hi=$ac_mid; break
105491 echo "$as_me: failed program was:" >&5
105492 sed 's/^/| /' conftest.$ac_ext >&5
105494 ac_lo=`expr $ac_mid + 1`
105495 if test $ac_lo -le $ac_mid; then
105496 ac_lo= ac_hi=
105497 break
105499 ac_mid=`expr 2 '*' $ac_mid + 1`
105501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105504 echo "$as_me: failed program was:" >&5
105505 sed 's/^/| /' conftest.$ac_ext >&5
105507 cat >conftest.$ac_ext <<_ACEOF
105508 /* confdefs.h. */
105509 _ACEOF
105510 cat confdefs.h >>conftest.$ac_ext
105511 cat >>conftest.$ac_ext <<_ACEOF
105512 /* end confdefs.h. */
105513 $ac_includes_default
105515 main ()
105517 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
105518 test_array [0] = 0
105521 return 0;
105523 _ACEOF
105524 rm -f conftest.$ac_objext
105525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105526 (eval $ac_compile) 2>conftest.er1
105527 ac_status=$?
105528 grep -v '^ *+' conftest.er1 >conftest.err
105529 rm -f conftest.er1
105530 cat conftest.err >&5
105531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105532 (exit $ac_status); } &&
105533 { ac_try='test -z "$ac_c_werror_flag"
105534 || test ! -s conftest.err'
105535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105536 (eval $ac_try) 2>&5
105537 ac_status=$?
105538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105539 (exit $ac_status); }; } &&
105540 { ac_try='test -s conftest.$ac_objext'
105541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105542 (eval $ac_try) 2>&5
105543 ac_status=$?
105544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105545 (exit $ac_status); }; }; then
105546 ac_hi=-1 ac_mid=-1
105547 while :; do
105548 cat >conftest.$ac_ext <<_ACEOF
105549 /* confdefs.h. */
105550 _ACEOF
105551 cat confdefs.h >>conftest.$ac_ext
105552 cat >>conftest.$ac_ext <<_ACEOF
105553 /* end confdefs.h. */
105554 $ac_includes_default
105556 main ()
105558 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
105559 test_array [0] = 0
105562 return 0;
105564 _ACEOF
105565 rm -f conftest.$ac_objext
105566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105567 (eval $ac_compile) 2>conftest.er1
105568 ac_status=$?
105569 grep -v '^ *+' conftest.er1 >conftest.err
105570 rm -f conftest.er1
105571 cat conftest.err >&5
105572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105573 (exit $ac_status); } &&
105574 { ac_try='test -z "$ac_c_werror_flag"
105575 || test ! -s conftest.err'
105576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105577 (eval $ac_try) 2>&5
105578 ac_status=$?
105579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105580 (exit $ac_status); }; } &&
105581 { ac_try='test -s conftest.$ac_objext'
105582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105583 (eval $ac_try) 2>&5
105584 ac_status=$?
105585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105586 (exit $ac_status); }; }; then
105587 ac_lo=$ac_mid; break
105589 echo "$as_me: failed program was:" >&5
105590 sed 's/^/| /' conftest.$ac_ext >&5
105592 ac_hi=`expr '(' $ac_mid ')' - 1`
105593 if test $ac_mid -le $ac_hi; then
105594 ac_lo= ac_hi=
105595 break
105597 ac_mid=`expr 2 '*' $ac_mid`
105599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105602 echo "$as_me: failed program was:" >&5
105603 sed 's/^/| /' conftest.$ac_ext >&5
105605 ac_lo= ac_hi=
105607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105610 # Binary search between lo and hi bounds.
105611 while test "x$ac_lo" != "x$ac_hi"; do
105612 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
105613 cat >conftest.$ac_ext <<_ACEOF
105614 /* confdefs.h. */
105615 _ACEOF
105616 cat confdefs.h >>conftest.$ac_ext
105617 cat >>conftest.$ac_ext <<_ACEOF
105618 /* end confdefs.h. */
105619 $ac_includes_default
105621 main ()
105623 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
105624 test_array [0] = 0
105627 return 0;
105629 _ACEOF
105630 rm -f conftest.$ac_objext
105631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105632 (eval $ac_compile) 2>conftest.er1
105633 ac_status=$?
105634 grep -v '^ *+' conftest.er1 >conftest.err
105635 rm -f conftest.er1
105636 cat conftest.err >&5
105637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105638 (exit $ac_status); } &&
105639 { ac_try='test -z "$ac_c_werror_flag"
105640 || test ! -s conftest.err'
105641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105642 (eval $ac_try) 2>&5
105643 ac_status=$?
105644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105645 (exit $ac_status); }; } &&
105646 { ac_try='test -s conftest.$ac_objext'
105647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105648 (eval $ac_try) 2>&5
105649 ac_status=$?
105650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105651 (exit $ac_status); }; }; then
105652 ac_hi=$ac_mid
105654 echo "$as_me: failed program was:" >&5
105655 sed 's/^/| /' conftest.$ac_ext >&5
105657 ac_lo=`expr '(' $ac_mid ')' + 1`
105659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105661 case $ac_lo in
105662 ?*) ac_cv_sizeof_void_p=$ac_lo;;
105663 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105664 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105665 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
105666 See \`config.log' for more details." >&5
105667 echo "$as_me: error: cannot compute sizeof (void *), 77
105668 See \`config.log' for more details." >&2;}
105669 { (exit 1); exit 1; }; }; } ;;
105672 if test "$cross_compiling" = yes; then
105673 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105674 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105675 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
105676 See \`config.log' for more details." >&5
105677 echo "$as_me: error: cannot run test program while cross compiling
105678 See \`config.log' for more details." >&2;}
105679 { (exit 1); exit 1; }; }; }
105681 cat >conftest.$ac_ext <<_ACEOF
105682 /* confdefs.h. */
105683 _ACEOF
105684 cat confdefs.h >>conftest.$ac_ext
105685 cat >>conftest.$ac_ext <<_ACEOF
105686 /* end confdefs.h. */
105687 $ac_includes_default
105688 long longval () { return (long) (sizeof (void *)); }
105689 unsigned long ulongval () { return (long) (sizeof (void *)); }
105690 #include <stdio.h>
105691 #include <stdlib.h>
105693 main ()
105696 FILE *f = fopen ("conftest.val", "w");
105697 if (! f)
105698 exit (1);
105699 if (((long) (sizeof (void *))) < 0)
105701 long i = longval ();
105702 if (i != ((long) (sizeof (void *))))
105703 exit (1);
105704 fprintf (f, "%ld\n", i);
105708 unsigned long i = ulongval ();
105709 if (i != ((long) (sizeof (void *))))
105710 exit (1);
105711 fprintf (f, "%lu\n", i);
105713 exit (ferror (f) || fclose (f) != 0);
105716 return 0;
105718 _ACEOF
105719 rm -f conftest$ac_exeext
105720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105721 (eval $ac_link) 2>&5
105722 ac_status=$?
105723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
105725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105726 (eval $ac_try) 2>&5
105727 ac_status=$?
105728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105729 (exit $ac_status); }; }; then
105730 ac_cv_sizeof_void_p=`cat conftest.val`
105732 echo "$as_me: program exited with status $ac_status" >&5
105733 echo "$as_me: failed program was:" >&5
105734 sed 's/^/| /' conftest.$ac_ext >&5
105736 ( exit $ac_status )
105737 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105738 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105739 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
105740 See \`config.log' for more details." >&5
105741 echo "$as_me: error: cannot compute sizeof (void *), 77
105742 See \`config.log' for more details." >&2;}
105743 { (exit 1); exit 1; }; }; }
105745 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
105748 rm -f conftest.val
105750 ac_cv_sizeof_void_p=0
105753 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
105754 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
105755 cat >>confdefs.h <<_ACEOF
105756 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
105757 _ACEOF
105762 # Lacking an uint64_t? Test size of long
105763 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
105764 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
105765 echo $ECHO_N "checking for long... $ECHO_C" >&6
105766 if test "${ac_cv_type_long+set}" = set; then
105767 echo $ECHO_N "(cached) $ECHO_C" >&6
105769 cat >conftest.$ac_ext <<_ACEOF
105770 /* confdefs.h. */
105771 _ACEOF
105772 cat confdefs.h >>conftest.$ac_ext
105773 cat >>conftest.$ac_ext <<_ACEOF
105774 /* end confdefs.h. */
105775 $ac_includes_default
105777 main ()
105779 if ((long *) 0)
105780 return 0;
105781 if (sizeof (long))
105782 return 0;
105784 return 0;
105786 _ACEOF
105787 rm -f conftest.$ac_objext
105788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105789 (eval $ac_compile) 2>conftest.er1
105790 ac_status=$?
105791 grep -v '^ *+' conftest.er1 >conftest.err
105792 rm -f conftest.er1
105793 cat conftest.err >&5
105794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105795 (exit $ac_status); } &&
105796 { ac_try='test -z "$ac_c_werror_flag"
105797 || test ! -s conftest.err'
105798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105799 (eval $ac_try) 2>&5
105800 ac_status=$?
105801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105802 (exit $ac_status); }; } &&
105803 { ac_try='test -s conftest.$ac_objext'
105804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105805 (eval $ac_try) 2>&5
105806 ac_status=$?
105807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105808 (exit $ac_status); }; }; then
105809 ac_cv_type_long=yes
105811 echo "$as_me: failed program was:" >&5
105812 sed 's/^/| /' conftest.$ac_ext >&5
105814 ac_cv_type_long=no
105816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105818 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
105819 echo "${ECHO_T}$ac_cv_type_long" >&6
105821 echo "$as_me:$LINENO: checking size of long" >&5
105822 echo $ECHO_N "checking size of long... $ECHO_C" >&6
105823 if test "${ac_cv_sizeof_long+set}" = set; then
105824 echo $ECHO_N "(cached) $ECHO_C" >&6
105826 if test "$ac_cv_type_long" = yes; then
105827 # The cast to unsigned long works around a bug in the HP C Compiler
105828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105830 # This bug is HP SR number 8606223364.
105831 if test "$cross_compiling" = yes; then
105832 # Depending upon the size, compute the lo and hi bounds.
105833 cat >conftest.$ac_ext <<_ACEOF
105834 /* confdefs.h. */
105835 _ACEOF
105836 cat confdefs.h >>conftest.$ac_ext
105837 cat >>conftest.$ac_ext <<_ACEOF
105838 /* end confdefs.h. */
105839 $ac_includes_default
105841 main ()
105843 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
105844 test_array [0] = 0
105847 return 0;
105849 _ACEOF
105850 rm -f conftest.$ac_objext
105851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105852 (eval $ac_compile) 2>conftest.er1
105853 ac_status=$?
105854 grep -v '^ *+' conftest.er1 >conftest.err
105855 rm -f conftest.er1
105856 cat conftest.err >&5
105857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105858 (exit $ac_status); } &&
105859 { ac_try='test -z "$ac_c_werror_flag"
105860 || test ! -s conftest.err'
105861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105862 (eval $ac_try) 2>&5
105863 ac_status=$?
105864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105865 (exit $ac_status); }; } &&
105866 { ac_try='test -s conftest.$ac_objext'
105867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105868 (eval $ac_try) 2>&5
105869 ac_status=$?
105870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105871 (exit $ac_status); }; }; then
105872 ac_lo=0 ac_mid=0
105873 while :; do
105874 cat >conftest.$ac_ext <<_ACEOF
105875 /* confdefs.h. */
105876 _ACEOF
105877 cat confdefs.h >>conftest.$ac_ext
105878 cat >>conftest.$ac_ext <<_ACEOF
105879 /* end confdefs.h. */
105880 $ac_includes_default
105882 main ()
105884 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
105885 test_array [0] = 0
105888 return 0;
105890 _ACEOF
105891 rm -f conftest.$ac_objext
105892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105893 (eval $ac_compile) 2>conftest.er1
105894 ac_status=$?
105895 grep -v '^ *+' conftest.er1 >conftest.err
105896 rm -f conftest.er1
105897 cat conftest.err >&5
105898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105899 (exit $ac_status); } &&
105900 { ac_try='test -z "$ac_c_werror_flag"
105901 || test ! -s conftest.err'
105902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105903 (eval $ac_try) 2>&5
105904 ac_status=$?
105905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105906 (exit $ac_status); }; } &&
105907 { ac_try='test -s conftest.$ac_objext'
105908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105909 (eval $ac_try) 2>&5
105910 ac_status=$?
105911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105912 (exit $ac_status); }; }; then
105913 ac_hi=$ac_mid; break
105915 echo "$as_me: failed program was:" >&5
105916 sed 's/^/| /' conftest.$ac_ext >&5
105918 ac_lo=`expr $ac_mid + 1`
105919 if test $ac_lo -le $ac_mid; then
105920 ac_lo= ac_hi=
105921 break
105923 ac_mid=`expr 2 '*' $ac_mid + 1`
105925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105928 echo "$as_me: failed program was:" >&5
105929 sed 's/^/| /' conftest.$ac_ext >&5
105931 cat >conftest.$ac_ext <<_ACEOF
105932 /* confdefs.h. */
105933 _ACEOF
105934 cat confdefs.h >>conftest.$ac_ext
105935 cat >>conftest.$ac_ext <<_ACEOF
105936 /* end confdefs.h. */
105937 $ac_includes_default
105939 main ()
105941 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
105942 test_array [0] = 0
105945 return 0;
105947 _ACEOF
105948 rm -f conftest.$ac_objext
105949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105950 (eval $ac_compile) 2>conftest.er1
105951 ac_status=$?
105952 grep -v '^ *+' conftest.er1 >conftest.err
105953 rm -f conftest.er1
105954 cat conftest.err >&5
105955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105956 (exit $ac_status); } &&
105957 { ac_try='test -z "$ac_c_werror_flag"
105958 || test ! -s conftest.err'
105959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105960 (eval $ac_try) 2>&5
105961 ac_status=$?
105962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105963 (exit $ac_status); }; } &&
105964 { ac_try='test -s conftest.$ac_objext'
105965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105966 (eval $ac_try) 2>&5
105967 ac_status=$?
105968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105969 (exit $ac_status); }; }; then
105970 ac_hi=-1 ac_mid=-1
105971 while :; do
105972 cat >conftest.$ac_ext <<_ACEOF
105973 /* confdefs.h. */
105974 _ACEOF
105975 cat confdefs.h >>conftest.$ac_ext
105976 cat >>conftest.$ac_ext <<_ACEOF
105977 /* end confdefs.h. */
105978 $ac_includes_default
105980 main ()
105982 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
105983 test_array [0] = 0
105986 return 0;
105988 _ACEOF
105989 rm -f conftest.$ac_objext
105990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105991 (eval $ac_compile) 2>conftest.er1
105992 ac_status=$?
105993 grep -v '^ *+' conftest.er1 >conftest.err
105994 rm -f conftest.er1
105995 cat conftest.err >&5
105996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105997 (exit $ac_status); } &&
105998 { ac_try='test -z "$ac_c_werror_flag"
105999 || test ! -s conftest.err'
106000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106001 (eval $ac_try) 2>&5
106002 ac_status=$?
106003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106004 (exit $ac_status); }; } &&
106005 { ac_try='test -s conftest.$ac_objext'
106006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106007 (eval $ac_try) 2>&5
106008 ac_status=$?
106009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106010 (exit $ac_status); }; }; then
106011 ac_lo=$ac_mid; break
106013 echo "$as_me: failed program was:" >&5
106014 sed 's/^/| /' conftest.$ac_ext >&5
106016 ac_hi=`expr '(' $ac_mid ')' - 1`
106017 if test $ac_mid -le $ac_hi; then
106018 ac_lo= ac_hi=
106019 break
106021 ac_mid=`expr 2 '*' $ac_mid`
106023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106026 echo "$as_me: failed program was:" >&5
106027 sed 's/^/| /' conftest.$ac_ext >&5
106029 ac_lo= ac_hi=
106031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106034 # Binary search between lo and hi bounds.
106035 while test "x$ac_lo" != "x$ac_hi"; do
106036 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106037 cat >conftest.$ac_ext <<_ACEOF
106038 /* confdefs.h. */
106039 _ACEOF
106040 cat confdefs.h >>conftest.$ac_ext
106041 cat >>conftest.$ac_ext <<_ACEOF
106042 /* end confdefs.h. */
106043 $ac_includes_default
106045 main ()
106047 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
106048 test_array [0] = 0
106051 return 0;
106053 _ACEOF
106054 rm -f conftest.$ac_objext
106055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106056 (eval $ac_compile) 2>conftest.er1
106057 ac_status=$?
106058 grep -v '^ *+' conftest.er1 >conftest.err
106059 rm -f conftest.er1
106060 cat conftest.err >&5
106061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106062 (exit $ac_status); } &&
106063 { ac_try='test -z "$ac_c_werror_flag"
106064 || test ! -s conftest.err'
106065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106066 (eval $ac_try) 2>&5
106067 ac_status=$?
106068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106069 (exit $ac_status); }; } &&
106070 { ac_try='test -s conftest.$ac_objext'
106071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106072 (eval $ac_try) 2>&5
106073 ac_status=$?
106074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106075 (exit $ac_status); }; }; then
106076 ac_hi=$ac_mid
106078 echo "$as_me: failed program was:" >&5
106079 sed 's/^/| /' conftest.$ac_ext >&5
106081 ac_lo=`expr '(' $ac_mid ')' + 1`
106083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106085 case $ac_lo in
106086 ?*) ac_cv_sizeof_long=$ac_lo;;
106087 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106088 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106090 See \`config.log' for more details." >&5
106091 echo "$as_me: error: cannot compute sizeof (long), 77
106092 See \`config.log' for more details." >&2;}
106093 { (exit 1); exit 1; }; }; } ;;
106096 if test "$cross_compiling" = yes; then
106097 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106098 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106099 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106100 See \`config.log' for more details." >&5
106101 echo "$as_me: error: cannot run test program while cross compiling
106102 See \`config.log' for more details." >&2;}
106103 { (exit 1); exit 1; }; }; }
106105 cat >conftest.$ac_ext <<_ACEOF
106106 /* confdefs.h. */
106107 _ACEOF
106108 cat confdefs.h >>conftest.$ac_ext
106109 cat >>conftest.$ac_ext <<_ACEOF
106110 /* end confdefs.h. */
106111 $ac_includes_default
106112 long longval () { return (long) (sizeof (long)); }
106113 unsigned long ulongval () { return (long) (sizeof (long)); }
106114 #include <stdio.h>
106115 #include <stdlib.h>
106117 main ()
106120 FILE *f = fopen ("conftest.val", "w");
106121 if (! f)
106122 exit (1);
106123 if (((long) (sizeof (long))) < 0)
106125 long i = longval ();
106126 if (i != ((long) (sizeof (long))))
106127 exit (1);
106128 fprintf (f, "%ld\n", i);
106132 unsigned long i = ulongval ();
106133 if (i != ((long) (sizeof (long))))
106134 exit (1);
106135 fprintf (f, "%lu\n", i);
106137 exit (ferror (f) || fclose (f) != 0);
106140 return 0;
106142 _ACEOF
106143 rm -f conftest$ac_exeext
106144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106145 (eval $ac_link) 2>&5
106146 ac_status=$?
106147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106150 (eval $ac_try) 2>&5
106151 ac_status=$?
106152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106153 (exit $ac_status); }; }; then
106154 ac_cv_sizeof_long=`cat conftest.val`
106156 echo "$as_me: program exited with status $ac_status" >&5
106157 echo "$as_me: failed program was:" >&5
106158 sed 's/^/| /' conftest.$ac_ext >&5
106160 ( exit $ac_status )
106161 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106162 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106164 See \`config.log' for more details." >&5
106165 echo "$as_me: error: cannot compute sizeof (long), 77
106166 See \`config.log' for more details." >&2;}
106167 { (exit 1); exit 1; }; }; }
106169 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106172 rm -f conftest.val
106174 ac_cv_sizeof_long=0
106177 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
106178 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
106179 cat >>confdefs.h <<_ACEOF
106180 #define SIZEOF_LONG $ac_cv_sizeof_long
106181 _ACEOF
106186 if test $acx_cv_header_stdint = stddef.h; then
106187 # Lacking a good header? Test size of everything and deduce all types.
106188 echo "$as_me:$LINENO: checking for int" >&5
106189 echo $ECHO_N "checking for int... $ECHO_C" >&6
106190 if test "${ac_cv_type_int+set}" = set; then
106191 echo $ECHO_N "(cached) $ECHO_C" >&6
106193 cat >conftest.$ac_ext <<_ACEOF
106194 /* confdefs.h. */
106195 _ACEOF
106196 cat confdefs.h >>conftest.$ac_ext
106197 cat >>conftest.$ac_ext <<_ACEOF
106198 /* end confdefs.h. */
106199 $ac_includes_default
106201 main ()
106203 if ((int *) 0)
106204 return 0;
106205 if (sizeof (int))
106206 return 0;
106208 return 0;
106210 _ACEOF
106211 rm -f conftest.$ac_objext
106212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106213 (eval $ac_compile) 2>conftest.er1
106214 ac_status=$?
106215 grep -v '^ *+' conftest.er1 >conftest.err
106216 rm -f conftest.er1
106217 cat conftest.err >&5
106218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106219 (exit $ac_status); } &&
106220 { ac_try='test -z "$ac_c_werror_flag"
106221 || test ! -s conftest.err'
106222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106223 (eval $ac_try) 2>&5
106224 ac_status=$?
106225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106226 (exit $ac_status); }; } &&
106227 { ac_try='test -s conftest.$ac_objext'
106228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106229 (eval $ac_try) 2>&5
106230 ac_status=$?
106231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106232 (exit $ac_status); }; }; then
106233 ac_cv_type_int=yes
106235 echo "$as_me: failed program was:" >&5
106236 sed 's/^/| /' conftest.$ac_ext >&5
106238 ac_cv_type_int=no
106240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106242 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
106243 echo "${ECHO_T}$ac_cv_type_int" >&6
106245 echo "$as_me:$LINENO: checking size of int" >&5
106246 echo $ECHO_N "checking size of int... $ECHO_C" >&6
106247 if test "${ac_cv_sizeof_int+set}" = set; then
106248 echo $ECHO_N "(cached) $ECHO_C" >&6
106250 if test "$ac_cv_type_int" = yes; then
106251 # The cast to unsigned long works around a bug in the HP C Compiler
106252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106254 # This bug is HP SR number 8606223364.
106255 if test "$cross_compiling" = yes; then
106256 # Depending upon the size, compute the lo and hi bounds.
106257 cat >conftest.$ac_ext <<_ACEOF
106258 /* confdefs.h. */
106259 _ACEOF
106260 cat confdefs.h >>conftest.$ac_ext
106261 cat >>conftest.$ac_ext <<_ACEOF
106262 /* end confdefs.h. */
106263 $ac_includes_default
106265 main ()
106267 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
106268 test_array [0] = 0
106271 return 0;
106273 _ACEOF
106274 rm -f conftest.$ac_objext
106275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106276 (eval $ac_compile) 2>conftest.er1
106277 ac_status=$?
106278 grep -v '^ *+' conftest.er1 >conftest.err
106279 rm -f conftest.er1
106280 cat conftest.err >&5
106281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106282 (exit $ac_status); } &&
106283 { ac_try='test -z "$ac_c_werror_flag"
106284 || test ! -s conftest.err'
106285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106286 (eval $ac_try) 2>&5
106287 ac_status=$?
106288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106289 (exit $ac_status); }; } &&
106290 { ac_try='test -s conftest.$ac_objext'
106291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106292 (eval $ac_try) 2>&5
106293 ac_status=$?
106294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106295 (exit $ac_status); }; }; then
106296 ac_lo=0 ac_mid=0
106297 while :; do
106298 cat >conftest.$ac_ext <<_ACEOF
106299 /* confdefs.h. */
106300 _ACEOF
106301 cat confdefs.h >>conftest.$ac_ext
106302 cat >>conftest.$ac_ext <<_ACEOF
106303 /* end confdefs.h. */
106304 $ac_includes_default
106306 main ()
106308 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
106309 test_array [0] = 0
106312 return 0;
106314 _ACEOF
106315 rm -f conftest.$ac_objext
106316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106317 (eval $ac_compile) 2>conftest.er1
106318 ac_status=$?
106319 grep -v '^ *+' conftest.er1 >conftest.err
106320 rm -f conftest.er1
106321 cat conftest.err >&5
106322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106323 (exit $ac_status); } &&
106324 { ac_try='test -z "$ac_c_werror_flag"
106325 || test ! -s conftest.err'
106326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106327 (eval $ac_try) 2>&5
106328 ac_status=$?
106329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106330 (exit $ac_status); }; } &&
106331 { ac_try='test -s conftest.$ac_objext'
106332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106333 (eval $ac_try) 2>&5
106334 ac_status=$?
106335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106336 (exit $ac_status); }; }; then
106337 ac_hi=$ac_mid; break
106339 echo "$as_me: failed program was:" >&5
106340 sed 's/^/| /' conftest.$ac_ext >&5
106342 ac_lo=`expr $ac_mid + 1`
106343 if test $ac_lo -le $ac_mid; then
106344 ac_lo= ac_hi=
106345 break
106347 ac_mid=`expr 2 '*' $ac_mid + 1`
106349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106352 echo "$as_me: failed program was:" >&5
106353 sed 's/^/| /' conftest.$ac_ext >&5
106355 cat >conftest.$ac_ext <<_ACEOF
106356 /* confdefs.h. */
106357 _ACEOF
106358 cat confdefs.h >>conftest.$ac_ext
106359 cat >>conftest.$ac_ext <<_ACEOF
106360 /* end confdefs.h. */
106361 $ac_includes_default
106363 main ()
106365 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
106366 test_array [0] = 0
106369 return 0;
106371 _ACEOF
106372 rm -f conftest.$ac_objext
106373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106374 (eval $ac_compile) 2>conftest.er1
106375 ac_status=$?
106376 grep -v '^ *+' conftest.er1 >conftest.err
106377 rm -f conftest.er1
106378 cat conftest.err >&5
106379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106380 (exit $ac_status); } &&
106381 { ac_try='test -z "$ac_c_werror_flag"
106382 || test ! -s conftest.err'
106383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106384 (eval $ac_try) 2>&5
106385 ac_status=$?
106386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106387 (exit $ac_status); }; } &&
106388 { ac_try='test -s conftest.$ac_objext'
106389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106390 (eval $ac_try) 2>&5
106391 ac_status=$?
106392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106393 (exit $ac_status); }; }; then
106394 ac_hi=-1 ac_mid=-1
106395 while :; do
106396 cat >conftest.$ac_ext <<_ACEOF
106397 /* confdefs.h. */
106398 _ACEOF
106399 cat confdefs.h >>conftest.$ac_ext
106400 cat >>conftest.$ac_ext <<_ACEOF
106401 /* end confdefs.h. */
106402 $ac_includes_default
106404 main ()
106406 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
106407 test_array [0] = 0
106410 return 0;
106412 _ACEOF
106413 rm -f conftest.$ac_objext
106414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106415 (eval $ac_compile) 2>conftest.er1
106416 ac_status=$?
106417 grep -v '^ *+' conftest.er1 >conftest.err
106418 rm -f conftest.er1
106419 cat conftest.err >&5
106420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106421 (exit $ac_status); } &&
106422 { ac_try='test -z "$ac_c_werror_flag"
106423 || test ! -s conftest.err'
106424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106425 (eval $ac_try) 2>&5
106426 ac_status=$?
106427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106428 (exit $ac_status); }; } &&
106429 { ac_try='test -s conftest.$ac_objext'
106430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106431 (eval $ac_try) 2>&5
106432 ac_status=$?
106433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106434 (exit $ac_status); }; }; then
106435 ac_lo=$ac_mid; break
106437 echo "$as_me: failed program was:" >&5
106438 sed 's/^/| /' conftest.$ac_ext >&5
106440 ac_hi=`expr '(' $ac_mid ')' - 1`
106441 if test $ac_mid -le $ac_hi; then
106442 ac_lo= ac_hi=
106443 break
106445 ac_mid=`expr 2 '*' $ac_mid`
106447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106450 echo "$as_me: failed program was:" >&5
106451 sed 's/^/| /' conftest.$ac_ext >&5
106453 ac_lo= ac_hi=
106455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106458 # Binary search between lo and hi bounds.
106459 while test "x$ac_lo" != "x$ac_hi"; do
106460 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106461 cat >conftest.$ac_ext <<_ACEOF
106462 /* confdefs.h. */
106463 _ACEOF
106464 cat confdefs.h >>conftest.$ac_ext
106465 cat >>conftest.$ac_ext <<_ACEOF
106466 /* end confdefs.h. */
106467 $ac_includes_default
106469 main ()
106471 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
106472 test_array [0] = 0
106475 return 0;
106477 _ACEOF
106478 rm -f conftest.$ac_objext
106479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106480 (eval $ac_compile) 2>conftest.er1
106481 ac_status=$?
106482 grep -v '^ *+' conftest.er1 >conftest.err
106483 rm -f conftest.er1
106484 cat conftest.err >&5
106485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106486 (exit $ac_status); } &&
106487 { ac_try='test -z "$ac_c_werror_flag"
106488 || test ! -s conftest.err'
106489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106490 (eval $ac_try) 2>&5
106491 ac_status=$?
106492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106493 (exit $ac_status); }; } &&
106494 { ac_try='test -s conftest.$ac_objext'
106495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106496 (eval $ac_try) 2>&5
106497 ac_status=$?
106498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106499 (exit $ac_status); }; }; then
106500 ac_hi=$ac_mid
106502 echo "$as_me: failed program was:" >&5
106503 sed 's/^/| /' conftest.$ac_ext >&5
106505 ac_lo=`expr '(' $ac_mid ')' + 1`
106507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106509 case $ac_lo in
106510 ?*) ac_cv_sizeof_int=$ac_lo;;
106511 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106512 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
106514 See \`config.log' for more details." >&5
106515 echo "$as_me: error: cannot compute sizeof (int), 77
106516 See \`config.log' for more details." >&2;}
106517 { (exit 1); exit 1; }; }; } ;;
106520 if test "$cross_compiling" = yes; then
106521 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106522 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106523 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106524 See \`config.log' for more details." >&5
106525 echo "$as_me: error: cannot run test program while cross compiling
106526 See \`config.log' for more details." >&2;}
106527 { (exit 1); exit 1; }; }; }
106529 cat >conftest.$ac_ext <<_ACEOF
106530 /* confdefs.h. */
106531 _ACEOF
106532 cat confdefs.h >>conftest.$ac_ext
106533 cat >>conftest.$ac_ext <<_ACEOF
106534 /* end confdefs.h. */
106535 $ac_includes_default
106536 long longval () { return (long) (sizeof (int)); }
106537 unsigned long ulongval () { return (long) (sizeof (int)); }
106538 #include <stdio.h>
106539 #include <stdlib.h>
106541 main ()
106544 FILE *f = fopen ("conftest.val", "w");
106545 if (! f)
106546 exit (1);
106547 if (((long) (sizeof (int))) < 0)
106549 long i = longval ();
106550 if (i != ((long) (sizeof (int))))
106551 exit (1);
106552 fprintf (f, "%ld\n", i);
106556 unsigned long i = ulongval ();
106557 if (i != ((long) (sizeof (int))))
106558 exit (1);
106559 fprintf (f, "%lu\n", i);
106561 exit (ferror (f) || fclose (f) != 0);
106564 return 0;
106566 _ACEOF
106567 rm -f conftest$ac_exeext
106568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106569 (eval $ac_link) 2>&5
106570 ac_status=$?
106571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106574 (eval $ac_try) 2>&5
106575 ac_status=$?
106576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106577 (exit $ac_status); }; }; then
106578 ac_cv_sizeof_int=`cat conftest.val`
106580 echo "$as_me: program exited with status $ac_status" >&5
106581 echo "$as_me: failed program was:" >&5
106582 sed 's/^/| /' conftest.$ac_ext >&5
106584 ( exit $ac_status )
106585 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106586 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
106588 See \`config.log' for more details." >&5
106589 echo "$as_me: error: cannot compute sizeof (int), 77
106590 See \`config.log' for more details." >&2;}
106591 { (exit 1); exit 1; }; }; }
106593 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106596 rm -f conftest.val
106598 ac_cv_sizeof_int=0
106601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
106602 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
106603 cat >>confdefs.h <<_ACEOF
106604 #define SIZEOF_INT $ac_cv_sizeof_int
106605 _ACEOF
106608 echo "$as_me:$LINENO: checking for short" >&5
106609 echo $ECHO_N "checking for short... $ECHO_C" >&6
106610 if test "${ac_cv_type_short+set}" = set; then
106611 echo $ECHO_N "(cached) $ECHO_C" >&6
106613 cat >conftest.$ac_ext <<_ACEOF
106614 /* confdefs.h. */
106615 _ACEOF
106616 cat confdefs.h >>conftest.$ac_ext
106617 cat >>conftest.$ac_ext <<_ACEOF
106618 /* end confdefs.h. */
106619 $ac_includes_default
106621 main ()
106623 if ((short *) 0)
106624 return 0;
106625 if (sizeof (short))
106626 return 0;
106628 return 0;
106630 _ACEOF
106631 rm -f conftest.$ac_objext
106632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106633 (eval $ac_compile) 2>conftest.er1
106634 ac_status=$?
106635 grep -v '^ *+' conftest.er1 >conftest.err
106636 rm -f conftest.er1
106637 cat conftest.err >&5
106638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106639 (exit $ac_status); } &&
106640 { ac_try='test -z "$ac_c_werror_flag"
106641 || test ! -s conftest.err'
106642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106643 (eval $ac_try) 2>&5
106644 ac_status=$?
106645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106646 (exit $ac_status); }; } &&
106647 { ac_try='test -s conftest.$ac_objext'
106648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106649 (eval $ac_try) 2>&5
106650 ac_status=$?
106651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106652 (exit $ac_status); }; }; then
106653 ac_cv_type_short=yes
106655 echo "$as_me: failed program was:" >&5
106656 sed 's/^/| /' conftest.$ac_ext >&5
106658 ac_cv_type_short=no
106660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106662 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
106663 echo "${ECHO_T}$ac_cv_type_short" >&6
106665 echo "$as_me:$LINENO: checking size of short" >&5
106666 echo $ECHO_N "checking size of short... $ECHO_C" >&6
106667 if test "${ac_cv_sizeof_short+set}" = set; then
106668 echo $ECHO_N "(cached) $ECHO_C" >&6
106670 if test "$ac_cv_type_short" = yes; then
106671 # The cast to unsigned long works around a bug in the HP C Compiler
106672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106674 # This bug is HP SR number 8606223364.
106675 if test "$cross_compiling" = yes; then
106676 # Depending upon the size, compute the lo and hi bounds.
106677 cat >conftest.$ac_ext <<_ACEOF
106678 /* confdefs.h. */
106679 _ACEOF
106680 cat confdefs.h >>conftest.$ac_ext
106681 cat >>conftest.$ac_ext <<_ACEOF
106682 /* end confdefs.h. */
106683 $ac_includes_default
106685 main ()
106687 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
106688 test_array [0] = 0
106691 return 0;
106693 _ACEOF
106694 rm -f conftest.$ac_objext
106695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106696 (eval $ac_compile) 2>conftest.er1
106697 ac_status=$?
106698 grep -v '^ *+' conftest.er1 >conftest.err
106699 rm -f conftest.er1
106700 cat conftest.err >&5
106701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106702 (exit $ac_status); } &&
106703 { ac_try='test -z "$ac_c_werror_flag"
106704 || test ! -s conftest.err'
106705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106706 (eval $ac_try) 2>&5
106707 ac_status=$?
106708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106709 (exit $ac_status); }; } &&
106710 { ac_try='test -s conftest.$ac_objext'
106711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106712 (eval $ac_try) 2>&5
106713 ac_status=$?
106714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106715 (exit $ac_status); }; }; then
106716 ac_lo=0 ac_mid=0
106717 while :; do
106718 cat >conftest.$ac_ext <<_ACEOF
106719 /* confdefs.h. */
106720 _ACEOF
106721 cat confdefs.h >>conftest.$ac_ext
106722 cat >>conftest.$ac_ext <<_ACEOF
106723 /* end confdefs.h. */
106724 $ac_includes_default
106726 main ()
106728 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
106729 test_array [0] = 0
106732 return 0;
106734 _ACEOF
106735 rm -f conftest.$ac_objext
106736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106737 (eval $ac_compile) 2>conftest.er1
106738 ac_status=$?
106739 grep -v '^ *+' conftest.er1 >conftest.err
106740 rm -f conftest.er1
106741 cat conftest.err >&5
106742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106743 (exit $ac_status); } &&
106744 { ac_try='test -z "$ac_c_werror_flag"
106745 || test ! -s conftest.err'
106746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106747 (eval $ac_try) 2>&5
106748 ac_status=$?
106749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106750 (exit $ac_status); }; } &&
106751 { ac_try='test -s conftest.$ac_objext'
106752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106753 (eval $ac_try) 2>&5
106754 ac_status=$?
106755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106756 (exit $ac_status); }; }; then
106757 ac_hi=$ac_mid; break
106759 echo "$as_me: failed program was:" >&5
106760 sed 's/^/| /' conftest.$ac_ext >&5
106762 ac_lo=`expr $ac_mid + 1`
106763 if test $ac_lo -le $ac_mid; then
106764 ac_lo= ac_hi=
106765 break
106767 ac_mid=`expr 2 '*' $ac_mid + 1`
106769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106772 echo "$as_me: failed program was:" >&5
106773 sed 's/^/| /' conftest.$ac_ext >&5
106775 cat >conftest.$ac_ext <<_ACEOF
106776 /* confdefs.h. */
106777 _ACEOF
106778 cat confdefs.h >>conftest.$ac_ext
106779 cat >>conftest.$ac_ext <<_ACEOF
106780 /* end confdefs.h. */
106781 $ac_includes_default
106783 main ()
106785 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
106786 test_array [0] = 0
106789 return 0;
106791 _ACEOF
106792 rm -f conftest.$ac_objext
106793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106794 (eval $ac_compile) 2>conftest.er1
106795 ac_status=$?
106796 grep -v '^ *+' conftest.er1 >conftest.err
106797 rm -f conftest.er1
106798 cat conftest.err >&5
106799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106800 (exit $ac_status); } &&
106801 { ac_try='test -z "$ac_c_werror_flag"
106802 || test ! -s conftest.err'
106803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106804 (eval $ac_try) 2>&5
106805 ac_status=$?
106806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106807 (exit $ac_status); }; } &&
106808 { ac_try='test -s conftest.$ac_objext'
106809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106810 (eval $ac_try) 2>&5
106811 ac_status=$?
106812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106813 (exit $ac_status); }; }; then
106814 ac_hi=-1 ac_mid=-1
106815 while :; do
106816 cat >conftest.$ac_ext <<_ACEOF
106817 /* confdefs.h. */
106818 _ACEOF
106819 cat confdefs.h >>conftest.$ac_ext
106820 cat >>conftest.$ac_ext <<_ACEOF
106821 /* end confdefs.h. */
106822 $ac_includes_default
106824 main ()
106826 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
106827 test_array [0] = 0
106830 return 0;
106832 _ACEOF
106833 rm -f conftest.$ac_objext
106834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106835 (eval $ac_compile) 2>conftest.er1
106836 ac_status=$?
106837 grep -v '^ *+' conftest.er1 >conftest.err
106838 rm -f conftest.er1
106839 cat conftest.err >&5
106840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106841 (exit $ac_status); } &&
106842 { ac_try='test -z "$ac_c_werror_flag"
106843 || test ! -s conftest.err'
106844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106845 (eval $ac_try) 2>&5
106846 ac_status=$?
106847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106848 (exit $ac_status); }; } &&
106849 { ac_try='test -s conftest.$ac_objext'
106850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106851 (eval $ac_try) 2>&5
106852 ac_status=$?
106853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106854 (exit $ac_status); }; }; then
106855 ac_lo=$ac_mid; break
106857 echo "$as_me: failed program was:" >&5
106858 sed 's/^/| /' conftest.$ac_ext >&5
106860 ac_hi=`expr '(' $ac_mid ')' - 1`
106861 if test $ac_mid -le $ac_hi; then
106862 ac_lo= ac_hi=
106863 break
106865 ac_mid=`expr 2 '*' $ac_mid`
106867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106870 echo "$as_me: failed program was:" >&5
106871 sed 's/^/| /' conftest.$ac_ext >&5
106873 ac_lo= ac_hi=
106875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106878 # Binary search between lo and hi bounds.
106879 while test "x$ac_lo" != "x$ac_hi"; do
106880 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106881 cat >conftest.$ac_ext <<_ACEOF
106882 /* confdefs.h. */
106883 _ACEOF
106884 cat confdefs.h >>conftest.$ac_ext
106885 cat >>conftest.$ac_ext <<_ACEOF
106886 /* end confdefs.h. */
106887 $ac_includes_default
106889 main ()
106891 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
106892 test_array [0] = 0
106895 return 0;
106897 _ACEOF
106898 rm -f conftest.$ac_objext
106899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106900 (eval $ac_compile) 2>conftest.er1
106901 ac_status=$?
106902 grep -v '^ *+' conftest.er1 >conftest.err
106903 rm -f conftest.er1
106904 cat conftest.err >&5
106905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106906 (exit $ac_status); } &&
106907 { ac_try='test -z "$ac_c_werror_flag"
106908 || test ! -s conftest.err'
106909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106910 (eval $ac_try) 2>&5
106911 ac_status=$?
106912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106913 (exit $ac_status); }; } &&
106914 { ac_try='test -s conftest.$ac_objext'
106915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106916 (eval $ac_try) 2>&5
106917 ac_status=$?
106918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106919 (exit $ac_status); }; }; then
106920 ac_hi=$ac_mid
106922 echo "$as_me: failed program was:" >&5
106923 sed 's/^/| /' conftest.$ac_ext >&5
106925 ac_lo=`expr '(' $ac_mid ')' + 1`
106927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106929 case $ac_lo in
106930 ?*) ac_cv_sizeof_short=$ac_lo;;
106931 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106932 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
106934 See \`config.log' for more details." >&5
106935 echo "$as_me: error: cannot compute sizeof (short), 77
106936 See \`config.log' for more details." >&2;}
106937 { (exit 1); exit 1; }; }; } ;;
106940 if test "$cross_compiling" = yes; then
106941 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106942 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106943 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106944 See \`config.log' for more details." >&5
106945 echo "$as_me: error: cannot run test program while cross compiling
106946 See \`config.log' for more details." >&2;}
106947 { (exit 1); exit 1; }; }; }
106949 cat >conftest.$ac_ext <<_ACEOF
106950 /* confdefs.h. */
106951 _ACEOF
106952 cat confdefs.h >>conftest.$ac_ext
106953 cat >>conftest.$ac_ext <<_ACEOF
106954 /* end confdefs.h. */
106955 $ac_includes_default
106956 long longval () { return (long) (sizeof (short)); }
106957 unsigned long ulongval () { return (long) (sizeof (short)); }
106958 #include <stdio.h>
106959 #include <stdlib.h>
106961 main ()
106964 FILE *f = fopen ("conftest.val", "w");
106965 if (! f)
106966 exit (1);
106967 if (((long) (sizeof (short))) < 0)
106969 long i = longval ();
106970 if (i != ((long) (sizeof (short))))
106971 exit (1);
106972 fprintf (f, "%ld\n", i);
106976 unsigned long i = ulongval ();
106977 if (i != ((long) (sizeof (short))))
106978 exit (1);
106979 fprintf (f, "%lu\n", i);
106981 exit (ferror (f) || fclose (f) != 0);
106984 return 0;
106986 _ACEOF
106987 rm -f conftest$ac_exeext
106988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106989 (eval $ac_link) 2>&5
106990 ac_status=$?
106991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106994 (eval $ac_try) 2>&5
106995 ac_status=$?
106996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106997 (exit $ac_status); }; }; then
106998 ac_cv_sizeof_short=`cat conftest.val`
107000 echo "$as_me: program exited with status $ac_status" >&5
107001 echo "$as_me: failed program was:" >&5
107002 sed 's/^/| /' conftest.$ac_ext >&5
107004 ( exit $ac_status )
107005 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107006 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
107008 See \`config.log' for more details." >&5
107009 echo "$as_me: error: cannot compute sizeof (short), 77
107010 See \`config.log' for more details." >&2;}
107011 { (exit 1); exit 1; }; }; }
107013 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
107016 rm -f conftest.val
107018 ac_cv_sizeof_short=0
107021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
107022 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
107023 cat >>confdefs.h <<_ACEOF
107024 #define SIZEOF_SHORT $ac_cv_sizeof_short
107025 _ACEOF
107028 echo "$as_me:$LINENO: checking for char" >&5
107029 echo $ECHO_N "checking for char... $ECHO_C" >&6
107030 if test "${ac_cv_type_char+set}" = set; then
107031 echo $ECHO_N "(cached) $ECHO_C" >&6
107033 cat >conftest.$ac_ext <<_ACEOF
107034 /* confdefs.h. */
107035 _ACEOF
107036 cat confdefs.h >>conftest.$ac_ext
107037 cat >>conftest.$ac_ext <<_ACEOF
107038 /* end confdefs.h. */
107039 $ac_includes_default
107041 main ()
107043 if ((char *) 0)
107044 return 0;
107045 if (sizeof (char))
107046 return 0;
107048 return 0;
107050 _ACEOF
107051 rm -f conftest.$ac_objext
107052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107053 (eval $ac_compile) 2>conftest.er1
107054 ac_status=$?
107055 grep -v '^ *+' conftest.er1 >conftest.err
107056 rm -f conftest.er1
107057 cat conftest.err >&5
107058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107059 (exit $ac_status); } &&
107060 { ac_try='test -z "$ac_c_werror_flag"
107061 || test ! -s conftest.err'
107062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107063 (eval $ac_try) 2>&5
107064 ac_status=$?
107065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107066 (exit $ac_status); }; } &&
107067 { ac_try='test -s conftest.$ac_objext'
107068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107069 (eval $ac_try) 2>&5
107070 ac_status=$?
107071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107072 (exit $ac_status); }; }; then
107073 ac_cv_type_char=yes
107075 echo "$as_me: failed program was:" >&5
107076 sed 's/^/| /' conftest.$ac_ext >&5
107078 ac_cv_type_char=no
107080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107082 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
107083 echo "${ECHO_T}$ac_cv_type_char" >&6
107085 echo "$as_me:$LINENO: checking size of char" >&5
107086 echo $ECHO_N "checking size of char... $ECHO_C" >&6
107087 if test "${ac_cv_sizeof_char+set}" = set; then
107088 echo $ECHO_N "(cached) $ECHO_C" >&6
107090 if test "$ac_cv_type_char" = yes; then
107091 # The cast to unsigned long works around a bug in the HP C Compiler
107092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
107093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
107094 # This bug is HP SR number 8606223364.
107095 if test "$cross_compiling" = yes; then
107096 # Depending upon the size, compute the lo and hi bounds.
107097 cat >conftest.$ac_ext <<_ACEOF
107098 /* confdefs.h. */
107099 _ACEOF
107100 cat confdefs.h >>conftest.$ac_ext
107101 cat >>conftest.$ac_ext <<_ACEOF
107102 /* end confdefs.h. */
107103 $ac_includes_default
107105 main ()
107107 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
107108 test_array [0] = 0
107111 return 0;
107113 _ACEOF
107114 rm -f conftest.$ac_objext
107115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107116 (eval $ac_compile) 2>conftest.er1
107117 ac_status=$?
107118 grep -v '^ *+' conftest.er1 >conftest.err
107119 rm -f conftest.er1
107120 cat conftest.err >&5
107121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107122 (exit $ac_status); } &&
107123 { ac_try='test -z "$ac_c_werror_flag"
107124 || test ! -s conftest.err'
107125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107126 (eval $ac_try) 2>&5
107127 ac_status=$?
107128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107129 (exit $ac_status); }; } &&
107130 { ac_try='test -s conftest.$ac_objext'
107131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107132 (eval $ac_try) 2>&5
107133 ac_status=$?
107134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107135 (exit $ac_status); }; }; then
107136 ac_lo=0 ac_mid=0
107137 while :; do
107138 cat >conftest.$ac_ext <<_ACEOF
107139 /* confdefs.h. */
107140 _ACEOF
107141 cat confdefs.h >>conftest.$ac_ext
107142 cat >>conftest.$ac_ext <<_ACEOF
107143 /* end confdefs.h. */
107144 $ac_includes_default
107146 main ()
107148 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107149 test_array [0] = 0
107152 return 0;
107154 _ACEOF
107155 rm -f conftest.$ac_objext
107156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107157 (eval $ac_compile) 2>conftest.er1
107158 ac_status=$?
107159 grep -v '^ *+' conftest.er1 >conftest.err
107160 rm -f conftest.er1
107161 cat conftest.err >&5
107162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107163 (exit $ac_status); } &&
107164 { ac_try='test -z "$ac_c_werror_flag"
107165 || test ! -s conftest.err'
107166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107167 (eval $ac_try) 2>&5
107168 ac_status=$?
107169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107170 (exit $ac_status); }; } &&
107171 { ac_try='test -s conftest.$ac_objext'
107172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107173 (eval $ac_try) 2>&5
107174 ac_status=$?
107175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107176 (exit $ac_status); }; }; then
107177 ac_hi=$ac_mid; break
107179 echo "$as_me: failed program was:" >&5
107180 sed 's/^/| /' conftest.$ac_ext >&5
107182 ac_lo=`expr $ac_mid + 1`
107183 if test $ac_lo -le $ac_mid; then
107184 ac_lo= ac_hi=
107185 break
107187 ac_mid=`expr 2 '*' $ac_mid + 1`
107189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107192 echo "$as_me: failed program was:" >&5
107193 sed 's/^/| /' conftest.$ac_ext >&5
107195 cat >conftest.$ac_ext <<_ACEOF
107196 /* confdefs.h. */
107197 _ACEOF
107198 cat confdefs.h >>conftest.$ac_ext
107199 cat >>conftest.$ac_ext <<_ACEOF
107200 /* end confdefs.h. */
107201 $ac_includes_default
107203 main ()
107205 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
107206 test_array [0] = 0
107209 return 0;
107211 _ACEOF
107212 rm -f conftest.$ac_objext
107213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107214 (eval $ac_compile) 2>conftest.er1
107215 ac_status=$?
107216 grep -v '^ *+' conftest.er1 >conftest.err
107217 rm -f conftest.er1
107218 cat conftest.err >&5
107219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107220 (exit $ac_status); } &&
107221 { ac_try='test -z "$ac_c_werror_flag"
107222 || test ! -s conftest.err'
107223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107224 (eval $ac_try) 2>&5
107225 ac_status=$?
107226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107227 (exit $ac_status); }; } &&
107228 { ac_try='test -s conftest.$ac_objext'
107229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107230 (eval $ac_try) 2>&5
107231 ac_status=$?
107232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107233 (exit $ac_status); }; }; then
107234 ac_hi=-1 ac_mid=-1
107235 while :; do
107236 cat >conftest.$ac_ext <<_ACEOF
107237 /* confdefs.h. */
107238 _ACEOF
107239 cat confdefs.h >>conftest.$ac_ext
107240 cat >>conftest.$ac_ext <<_ACEOF
107241 /* end confdefs.h. */
107242 $ac_includes_default
107244 main ()
107246 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
107247 test_array [0] = 0
107250 return 0;
107252 _ACEOF
107253 rm -f conftest.$ac_objext
107254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107255 (eval $ac_compile) 2>conftest.er1
107256 ac_status=$?
107257 grep -v '^ *+' conftest.er1 >conftest.err
107258 rm -f conftest.er1
107259 cat conftest.err >&5
107260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107261 (exit $ac_status); } &&
107262 { ac_try='test -z "$ac_c_werror_flag"
107263 || test ! -s conftest.err'
107264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107265 (eval $ac_try) 2>&5
107266 ac_status=$?
107267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107268 (exit $ac_status); }; } &&
107269 { ac_try='test -s conftest.$ac_objext'
107270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107271 (eval $ac_try) 2>&5
107272 ac_status=$?
107273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107274 (exit $ac_status); }; }; then
107275 ac_lo=$ac_mid; break
107277 echo "$as_me: failed program was:" >&5
107278 sed 's/^/| /' conftest.$ac_ext >&5
107280 ac_hi=`expr '(' $ac_mid ')' - 1`
107281 if test $ac_mid -le $ac_hi; then
107282 ac_lo= ac_hi=
107283 break
107285 ac_mid=`expr 2 '*' $ac_mid`
107287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107290 echo "$as_me: failed program was:" >&5
107291 sed 's/^/| /' conftest.$ac_ext >&5
107293 ac_lo= ac_hi=
107295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107298 # Binary search between lo and hi bounds.
107299 while test "x$ac_lo" != "x$ac_hi"; do
107300 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
107301 cat >conftest.$ac_ext <<_ACEOF
107302 /* confdefs.h. */
107303 _ACEOF
107304 cat confdefs.h >>conftest.$ac_ext
107305 cat >>conftest.$ac_ext <<_ACEOF
107306 /* end confdefs.h. */
107307 $ac_includes_default
107309 main ()
107311 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107312 test_array [0] = 0
107315 return 0;
107317 _ACEOF
107318 rm -f conftest.$ac_objext
107319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107320 (eval $ac_compile) 2>conftest.er1
107321 ac_status=$?
107322 grep -v '^ *+' conftest.er1 >conftest.err
107323 rm -f conftest.er1
107324 cat conftest.err >&5
107325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107326 (exit $ac_status); } &&
107327 { ac_try='test -z "$ac_c_werror_flag"
107328 || test ! -s conftest.err'
107329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107330 (eval $ac_try) 2>&5
107331 ac_status=$?
107332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107333 (exit $ac_status); }; } &&
107334 { ac_try='test -s conftest.$ac_objext'
107335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107336 (eval $ac_try) 2>&5
107337 ac_status=$?
107338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107339 (exit $ac_status); }; }; then
107340 ac_hi=$ac_mid
107342 echo "$as_me: failed program was:" >&5
107343 sed 's/^/| /' conftest.$ac_ext >&5
107345 ac_lo=`expr '(' $ac_mid ')' + 1`
107347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107349 case $ac_lo in
107350 ?*) ac_cv_sizeof_char=$ac_lo;;
107351 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107352 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107353 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
107354 See \`config.log' for more details." >&5
107355 echo "$as_me: error: cannot compute sizeof (char), 77
107356 See \`config.log' for more details." >&2;}
107357 { (exit 1); exit 1; }; }; } ;;
107360 if test "$cross_compiling" = yes; then
107361 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107362 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107363 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
107364 See \`config.log' for more details." >&5
107365 echo "$as_me: error: cannot run test program while cross compiling
107366 See \`config.log' for more details." >&2;}
107367 { (exit 1); exit 1; }; }; }
107369 cat >conftest.$ac_ext <<_ACEOF
107370 /* confdefs.h. */
107371 _ACEOF
107372 cat confdefs.h >>conftest.$ac_ext
107373 cat >>conftest.$ac_ext <<_ACEOF
107374 /* end confdefs.h. */
107375 $ac_includes_default
107376 long longval () { return (long) (sizeof (char)); }
107377 unsigned long ulongval () { return (long) (sizeof (char)); }
107378 #include <stdio.h>
107379 #include <stdlib.h>
107381 main ()
107384 FILE *f = fopen ("conftest.val", "w");
107385 if (! f)
107386 exit (1);
107387 if (((long) (sizeof (char))) < 0)
107389 long i = longval ();
107390 if (i != ((long) (sizeof (char))))
107391 exit (1);
107392 fprintf (f, "%ld\n", i);
107396 unsigned long i = ulongval ();
107397 if (i != ((long) (sizeof (char))))
107398 exit (1);
107399 fprintf (f, "%lu\n", i);
107401 exit (ferror (f) || fclose (f) != 0);
107404 return 0;
107406 _ACEOF
107407 rm -f conftest$ac_exeext
107408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107409 (eval $ac_link) 2>&5
107410 ac_status=$?
107411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
107413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107414 (eval $ac_try) 2>&5
107415 ac_status=$?
107416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107417 (exit $ac_status); }; }; then
107418 ac_cv_sizeof_char=`cat conftest.val`
107420 echo "$as_me: program exited with status $ac_status" >&5
107421 echo "$as_me: failed program was:" >&5
107422 sed 's/^/| /' conftest.$ac_ext >&5
107424 ( exit $ac_status )
107425 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107426 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
107428 See \`config.log' for more details." >&5
107429 echo "$as_me: error: cannot compute sizeof (char), 77
107430 See \`config.log' for more details." >&2;}
107431 { (exit 1); exit 1; }; }; }
107433 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
107436 rm -f conftest.val
107438 ac_cv_sizeof_char=0
107441 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
107442 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
107443 cat >>confdefs.h <<_ACEOF
107444 #define SIZEOF_CHAR $ac_cv_sizeof_char
107445 _ACEOF
107449 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
107450 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
107451 case "$ac_cv_sizeof_char" in
107452 1) acx_cv_type_int8_t=char ;;
107453 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
107454 echo "$as_me: error: no 8-bit type" >&2;}
107455 { (exit please report a bug); exit please report a bug; }; }
107457 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
107458 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
107460 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
107461 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
107462 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
107463 2:*) acx_cv_type_int16_t=int ;;
107464 *:2) acx_cv_type_int16_t=short ;;
107465 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
107466 echo "$as_me: error: no 16-bit type" >&2;}
107467 { (exit please report a bug); exit please report a bug; }; }
107469 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
107470 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
107472 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
107473 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
107474 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
107475 4:*) acx_cv_type_int32_t=int ;;
107476 *:4) acx_cv_type_int32_t=long ;;
107477 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
107478 echo "$as_me: error: no 32-bit type" >&2;}
107479 { (exit please report a bug); exit please report a bug; }; }
107481 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
107482 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
107485 # These tests are here to make the output prettier
107487 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
107488 case "$ac_cv_sizeof_long" in
107489 8) acx_cv_type_int64_t=long ;;
107491 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
107492 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
107493 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
107494 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
107497 # Now we can use the above types
107499 if test "$ac_cv_type_uintptr_t" != yes; then
107500 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
107501 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
107502 case $ac_cv_sizeof_void_p in
107503 2) acx_cv_type_intptr_t=int16_t ;;
107504 4) acx_cv_type_intptr_t=int32_t ;;
107505 8) acx_cv_type_intptr_t=int64_t ;;
107506 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
107507 echo "$as_me: error: no equivalent for intptr_t" >&2;}
107508 { (exit please report a bug); exit please report a bug; }; }
107510 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
107511 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
107514 # ----------------- done all checks, emit header -------------
107515 ac_config_commands="$ac_config_commands include/gstdint.h"
107520 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
107523 # Check whether --enable-symvers or --disable-symvers was given.
107524 if test "${enable_symvers+set}" = set; then
107525 enableval="$enable_symvers"
107527 case "$enableval" in
107528 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
107529 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
107530 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
107531 { (exit 1); exit 1; }; } ;;
107535 enable_symvers=yes
107539 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
107540 # don't know enough about $LD to do tricks...
107543 # Turn a 'yes' into a suitable default.
107544 if test x$enable_symvers = xyes ; then
107545 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
107546 enable_symvers=no
107548 if test $with_gnu_ld = yes ; then
107549 case ${target_os} in
107550 cygwin* | pe | mingw32*)
107551 enable_symvers=no ;;
107553 enable_symvers=gnu ;;
107556 case ${target_os} in
107557 darwin*)
107558 enable_symvers=darwin ;;
107560 enable_symvers=no ;;
107566 # Check to see if 'darwin' or 'darwin-export' can win.
107567 if test x$enable_symvers = xdarwin-export ; then
107568 enable_symvers=darwin
107571 # Check to see if 'gnu' can win.
107572 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
107573 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
107574 echo "$as_me:$LINENO: checking for shared libgcc" >&5
107575 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
107576 ac_save_CFLAGS="$CFLAGS"
107577 CFLAGS=' -lgcc_s'
107578 if test x$gcc_no_link = xyes; then
107579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107581 { (exit 1); exit 1; }; }
107583 cat >conftest.$ac_ext <<_ACEOF
107584 /* confdefs.h. */
107585 _ACEOF
107586 cat confdefs.h >>conftest.$ac_ext
107587 cat >>conftest.$ac_ext <<_ACEOF
107588 /* end confdefs.h. */
107591 main ()
107593 return 0;
107595 return 0;
107597 _ACEOF
107598 rm -f conftest.$ac_objext conftest$ac_exeext
107599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107600 (eval $ac_link) 2>conftest.er1
107601 ac_status=$?
107602 grep -v '^ *+' conftest.er1 >conftest.err
107603 rm -f conftest.er1
107604 cat conftest.err >&5
107605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107606 (exit $ac_status); } &&
107607 { ac_try='test -z "$ac_c_werror_flag"
107608 || test ! -s conftest.err'
107609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107610 (eval $ac_try) 2>&5
107611 ac_status=$?
107612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107613 (exit $ac_status); }; } &&
107614 { ac_try='test -s conftest$ac_exeext'
107615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107616 (eval $ac_try) 2>&5
107617 ac_status=$?
107618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107619 (exit $ac_status); }; }; then
107620 glibcxx_shared_libgcc=yes
107622 echo "$as_me: failed program was:" >&5
107623 sed 's/^/| /' conftest.$ac_ext >&5
107625 glibcxx_shared_libgcc=no
107627 rm -f conftest.err conftest.$ac_objext \
107628 conftest$ac_exeext conftest.$ac_ext
107629 CFLAGS="$ac_save_CFLAGS"
107630 if test $glibcxx_shared_libgcc = no; then
107631 cat > conftest.c <<EOF
107632 int main (void) { return 0; }
107634 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
107635 -shared -shared-libgcc -o conftest.so \
107636 conftest.c -v 2>&1 >/dev/null \
107637 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
107638 rm -f conftest.c conftest.so
107639 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
107640 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
107641 if test x$gcc_no_link = xyes; then
107642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107644 { (exit 1); exit 1; }; }
107646 cat >conftest.$ac_ext <<_ACEOF
107647 /* confdefs.h. */
107648 _ACEOF
107649 cat confdefs.h >>conftest.$ac_ext
107650 cat >>conftest.$ac_ext <<_ACEOF
107651 /* end confdefs.h. */
107654 main ()
107656 return 0;
107658 return 0;
107660 _ACEOF
107661 rm -f conftest.$ac_objext conftest$ac_exeext
107662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107663 (eval $ac_link) 2>conftest.er1
107664 ac_status=$?
107665 grep -v '^ *+' conftest.er1 >conftest.err
107666 rm -f conftest.er1
107667 cat conftest.err >&5
107668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107669 (exit $ac_status); } &&
107670 { ac_try='test -z "$ac_c_werror_flag"
107671 || test ! -s conftest.err'
107672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107673 (eval $ac_try) 2>&5
107674 ac_status=$?
107675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107676 (exit $ac_status); }; } &&
107677 { ac_try='test -s conftest$ac_exeext'
107678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107679 (eval $ac_try) 2>&5
107680 ac_status=$?
107681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107682 (exit $ac_status); }; }; then
107683 glibcxx_shared_libgcc=yes
107685 echo "$as_me: failed program was:" >&5
107686 sed 's/^/| /' conftest.$ac_ext >&5
107689 rm -f conftest.err conftest.$ac_objext \
107690 conftest$ac_exeext conftest.$ac_ext
107691 CFLAGS="$ac_save_CFLAGS"
107694 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
107695 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
107697 # For GNU ld, we need at least this version. The format is described in
107698 # GLIBCXX_CHECK_LINKER_FEATURES above.
107699 glibcxx_min_gnu_ld_version=21400
107701 # If no shared libgcc, can't win.
107702 if test $glibcxx_shared_libgcc != yes; then
107703 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107704 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107705 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
107706 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
107707 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107708 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107709 enable_symvers=no
107710 elif test $with_gnu_ld != yes ; then
107711 # just fail for now
107712 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107713 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107714 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
107715 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
107716 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107717 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107718 enable_symvers=no
107719 elif test $glibcxx_ld_is_gold = yes ; then
107720 : All versions of gold support symbol versioning.
107721 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
107722 # The right tools, the right setup, but too old. Fallbacks?
107723 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
107724 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
107725 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
107726 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
107727 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
107728 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
107729 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
107730 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
107731 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107732 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107733 enable_symvers=no
107737 # Everything parsed; figure out what file to use.
107738 case $enable_symvers in
107740 SYMVER_FILE=config/abi/pre/none.ver
107743 SYMVER_FILE=config/abi/pre/gnu.ver
107745 cat >>confdefs.h <<\_ACEOF
107746 #define _GLIBCXX_SYMVER_GNU 1
107747 _ACEOF
107750 gnu-versioned-namespace)
107751 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
107753 cat >>confdefs.h <<\_ACEOF
107754 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
107755 _ACEOF
107758 darwin)
107759 SYMVER_FILE=config/abi/pre/gnu.ver
107761 cat >>confdefs.h <<\_ACEOF
107762 #define _GLIBCXX_SYMVER_DARWIN 1
107763 _ACEOF
107768 if test x$enable_symvers != xno ; then
107770 cat >>confdefs.h <<\_ACEOF
107771 #define _GLIBCXX_SYMVER 1
107772 _ACEOF
107782 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
107783 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
107785 # Now, set up compatibility support, if any.
107786 # In addition, need this to deal with std::size_t mangling in
107787 # src/compatibility.cc. In a perfect world, could use
107788 # typeid(std::size_t).name()[0] to do direct substitution.
107789 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
107790 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
107791 ac_save_CFLAGS="$CFLAGS"
107792 CFLAGS="-Werror"
107793 cat >conftest.$ac_ext <<_ACEOF
107794 /* confdefs.h. */
107795 _ACEOF
107796 cat confdefs.h >>conftest.$ac_ext
107797 cat >>conftest.$ac_ext <<_ACEOF
107798 /* end confdefs.h. */
107801 main ()
107803 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
107805 return 0;
107807 _ACEOF
107808 rm -f conftest.$ac_objext
107809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107810 (eval $ac_compile) 2>conftest.er1
107811 ac_status=$?
107812 grep -v '^ *+' conftest.er1 >conftest.err
107813 rm -f conftest.er1
107814 cat conftest.err >&5
107815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107816 (exit $ac_status); } &&
107817 { ac_try='test -z "$ac_c_werror_flag"
107818 || test ! -s conftest.err'
107819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107820 (eval $ac_try) 2>&5
107821 ac_status=$?
107822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107823 (exit $ac_status); }; } &&
107824 { ac_try='test -s conftest.$ac_objext'
107825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107826 (eval $ac_try) 2>&5
107827 ac_status=$?
107828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107829 (exit $ac_status); }; }; then
107830 glibcxx_size_t_is_i=yes
107832 echo "$as_me: failed program was:" >&5
107833 sed 's/^/| /' conftest.$ac_ext >&5
107835 glibcxx_size_t_is_i=no
107837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107838 CFLAGS=$ac_save_CFLAGS
107839 if test "$glibcxx_size_t_is_i" = yes; then
107841 cat >>confdefs.h <<\_ACEOF
107842 #define _GLIBCXX_SIZE_T_IS_UINT 1
107843 _ACEOF
107846 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
107847 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
107849 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
107850 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
107851 ac_save_CFLAGS="$CFLAGS"
107852 CFLAGS="-Werror"
107853 cat >conftest.$ac_ext <<_ACEOF
107854 /* confdefs.h. */
107855 _ACEOF
107856 cat confdefs.h >>conftest.$ac_ext
107857 cat >>conftest.$ac_ext <<_ACEOF
107858 /* end confdefs.h. */
107861 main ()
107863 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
107865 return 0;
107867 _ACEOF
107868 rm -f conftest.$ac_objext
107869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107870 (eval $ac_compile) 2>conftest.er1
107871 ac_status=$?
107872 grep -v '^ *+' conftest.er1 >conftest.err
107873 rm -f conftest.er1
107874 cat conftest.err >&5
107875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107876 (exit $ac_status); } &&
107877 { ac_try='test -z "$ac_c_werror_flag"
107878 || test ! -s conftest.err'
107879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107880 (eval $ac_try) 2>&5
107881 ac_status=$?
107882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107883 (exit $ac_status); }; } &&
107884 { ac_try='test -s conftest.$ac_objext'
107885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107886 (eval $ac_try) 2>&5
107887 ac_status=$?
107888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107889 (exit $ac_status); }; }; then
107890 glibcxx_ptrdiff_t_is_i=yes
107892 echo "$as_me: failed program was:" >&5
107893 sed 's/^/| /' conftest.$ac_ext >&5
107895 glibcxx_ptrdiff_t_is_i=no
107897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107898 CFLAGS=$ac_save_CFLAGS
107899 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
107901 cat >>confdefs.h <<\_ACEOF
107902 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
107903 _ACEOF
107906 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
107907 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
107910 # Check whether --enable-visibility or --disable-visibility was given.
107911 if test "${enable_visibility+set}" = set; then
107912 enableval="$enable_visibility"
107914 case "$enableval" in
107915 yes|no) ;;
107916 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
107917 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
107918 { (exit 1); exit 1; }; } ;;
107922 enable_visibility=yes
107926 if test x$enable_visibility = xyes ; then
107927 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
107928 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
107929 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
107930 echo $ECHO_N "(cached) $ECHO_C" >&6
107933 save_CFLAGS="$CFLAGS"
107934 CFLAGS="$CFLAGS -Werror"
107935 cat >conftest.$ac_ext <<_ACEOF
107936 /* confdefs.h. */
107937 _ACEOF
107938 cat confdefs.h >>conftest.$ac_ext
107939 cat >>conftest.$ac_ext <<_ACEOF
107940 /* end confdefs.h. */
107941 void __attribute__((visibility("hidden"))) foo(void) { }
107943 main ()
107947 return 0;
107949 _ACEOF
107950 rm -f conftest.$ac_objext
107951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107952 (eval $ac_compile) 2>conftest.er1
107953 ac_status=$?
107954 grep -v '^ *+' conftest.er1 >conftest.err
107955 rm -f conftest.er1
107956 cat conftest.err >&5
107957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107958 (exit $ac_status); } &&
107959 { ac_try='test -z "$ac_c_werror_flag"
107960 || test ! -s conftest.err'
107961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107962 (eval $ac_try) 2>&5
107963 ac_status=$?
107964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107965 (exit $ac_status); }; } &&
107966 { ac_try='test -s conftest.$ac_objext'
107967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107968 (eval $ac_try) 2>&5
107969 ac_status=$?
107970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107971 (exit $ac_status); }; }; then
107972 glibcxx_cv_have_attribute_visibility=yes
107974 echo "$as_me: failed program was:" >&5
107975 sed 's/^/| /' conftest.$ac_ext >&5
107977 glibcxx_cv_have_attribute_visibility=no
107979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107980 CFLAGS="$save_CFLAGS"
107982 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
107983 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
107984 if test $glibcxx_cv_have_attribute_visibility = no; then
107985 enable_visibility=no
107990 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
107991 echo "$as_me: visibility supported: $enable_visibility" >&6;}
107994 ac_ldbl_compat=no
107995 case "$target" in
107996 powerpc*-*-linux* | \
107997 powerpc*-*-gnu* | \
107998 sparc*-*-linux* | \
107999 s390*-*-linux* | \
108000 alpha*-*-linux*)
108001 cat >conftest.$ac_ext <<_ACEOF
108002 /* confdefs.h. */
108003 _ACEOF
108004 cat confdefs.h >>conftest.$ac_ext
108005 cat >>conftest.$ac_ext <<_ACEOF
108006 /* end confdefs.h. */
108009 main ()
108012 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
108013 #error no need for long double compatibility
108014 #endif
108017 return 0;
108019 _ACEOF
108020 rm -f conftest.$ac_objext
108021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108022 (eval $ac_compile) 2>conftest.er1
108023 ac_status=$?
108024 grep -v '^ *+' conftest.er1 >conftest.err
108025 rm -f conftest.er1
108026 cat conftest.err >&5
108027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108028 (exit $ac_status); } &&
108029 { ac_try='test -z "$ac_c_werror_flag"
108030 || test ! -s conftest.err'
108031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108032 (eval $ac_try) 2>&5
108033 ac_status=$?
108034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108035 (exit $ac_status); }; } &&
108036 { ac_try='test -s conftest.$ac_objext'
108037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108038 (eval $ac_try) 2>&5
108039 ac_status=$?
108040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108041 (exit $ac_status); }; }; then
108042 ac_ldbl_compat=yes
108044 echo "$as_me: failed program was:" >&5
108045 sed 's/^/| /' conftest.$ac_ext >&5
108047 ac_ldbl_compat=no
108049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108050 if test "$ac_ldbl_compat" = yes; then
108052 cat >>confdefs.h <<\_ACEOF
108053 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
108054 _ACEOF
108056 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
108061 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
108063 if $GLIBCXX_IS_NATIVE ; then
108064 # Do checks for resource limit functions.
108066 setrlimit_have_headers=yes
108070 for ac_header in unistd.h sys/time.h sys/resource.h
108072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108074 echo "$as_me:$LINENO: checking for $ac_header" >&5
108075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108077 echo $ECHO_N "(cached) $ECHO_C" >&6
108079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108082 # Is the header compilable?
108083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108085 cat >conftest.$ac_ext <<_ACEOF
108086 /* confdefs.h. */
108087 _ACEOF
108088 cat confdefs.h >>conftest.$ac_ext
108089 cat >>conftest.$ac_ext <<_ACEOF
108090 /* end confdefs.h. */
108091 $ac_includes_default
108092 #include <$ac_header>
108093 _ACEOF
108094 rm -f conftest.$ac_objext
108095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108096 (eval $ac_compile) 2>conftest.er1
108097 ac_status=$?
108098 grep -v '^ *+' conftest.er1 >conftest.err
108099 rm -f conftest.er1
108100 cat conftest.err >&5
108101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108102 (exit $ac_status); } &&
108103 { ac_try='test -z "$ac_c_werror_flag"
108104 || test ! -s conftest.err'
108105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108106 (eval $ac_try) 2>&5
108107 ac_status=$?
108108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108109 (exit $ac_status); }; } &&
108110 { ac_try='test -s conftest.$ac_objext'
108111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108112 (eval $ac_try) 2>&5
108113 ac_status=$?
108114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108115 (exit $ac_status); }; }; then
108116 ac_header_compiler=yes
108118 echo "$as_me: failed program was:" >&5
108119 sed 's/^/| /' conftest.$ac_ext >&5
108121 ac_header_compiler=no
108123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108125 echo "${ECHO_T}$ac_header_compiler" >&6
108127 # Is the header present?
108128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108130 cat >conftest.$ac_ext <<_ACEOF
108131 /* confdefs.h. */
108132 _ACEOF
108133 cat confdefs.h >>conftest.$ac_ext
108134 cat >>conftest.$ac_ext <<_ACEOF
108135 /* end confdefs.h. */
108136 #include <$ac_header>
108137 _ACEOF
108138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108140 ac_status=$?
108141 grep -v '^ *+' conftest.er1 >conftest.err
108142 rm -f conftest.er1
108143 cat conftest.err >&5
108144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108145 (exit $ac_status); } >/dev/null; then
108146 if test -s conftest.err; then
108147 ac_cpp_err=$ac_c_preproc_warn_flag
108148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108150 ac_cpp_err=
108153 ac_cpp_err=yes
108155 if test -z "$ac_cpp_err"; then
108156 ac_header_preproc=yes
108158 echo "$as_me: failed program was:" >&5
108159 sed 's/^/| /' conftest.$ac_ext >&5
108161 ac_header_preproc=no
108163 rm -f conftest.err conftest.$ac_ext
108164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108165 echo "${ECHO_T}$ac_header_preproc" >&6
108167 # So? What about this header?
108168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108169 yes:no: )
108170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108174 ac_header_preproc=yes
108176 no:yes:* )
108177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108190 cat <<\_ASBOX
108191 ## ----------------------------------------- ##
108192 ## Report this to the package-unused lists. ##
108193 ## ----------------------------------------- ##
108194 _ASBOX
108196 sed "s/^/$as_me: WARNING: /" >&2
108199 echo "$as_me:$LINENO: checking for $ac_header" >&5
108200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108202 echo $ECHO_N "(cached) $ECHO_C" >&6
108204 eval "$as_ac_Header=\$ac_header_preproc"
108206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108211 cat >>confdefs.h <<_ACEOF
108212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108213 _ACEOF
108216 setrlimit_have_headers=no
108221 # If don't have the headers, then we can't run the tests now, and we
108222 # won't be seeing any of these during testsuite compilation.
108223 if test $setrlimit_have_headers = yes; then
108224 # Can't do these in a loop, else the resulting syntax is wrong.
108226 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
108227 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
108228 cat >conftest.$ac_ext <<_ACEOF
108229 /* confdefs.h. */
108230 _ACEOF
108231 cat confdefs.h >>conftest.$ac_ext
108232 cat >>conftest.$ac_ext <<_ACEOF
108233 /* end confdefs.h. */
108234 #include <unistd.h>
108235 #include <sys/time.h>
108236 #include <sys/resource.h>
108239 main ()
108241 int f = RLIMIT_DATA ;
108243 return 0;
108245 _ACEOF
108246 rm -f conftest.$ac_objext
108247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108248 (eval $ac_compile) 2>conftest.er1
108249 ac_status=$?
108250 grep -v '^ *+' conftest.er1 >conftest.err
108251 rm -f conftest.er1
108252 cat conftest.err >&5
108253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108254 (exit $ac_status); } &&
108255 { ac_try='test -z "$ac_c_werror_flag"
108256 || test ! -s conftest.err'
108257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108258 (eval $ac_try) 2>&5
108259 ac_status=$?
108260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108261 (exit $ac_status); }; } &&
108262 { ac_try='test -s conftest.$ac_objext'
108263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108264 (eval $ac_try) 2>&5
108265 ac_status=$?
108266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108267 (exit $ac_status); }; }; then
108268 glibcxx_mresult=1
108270 echo "$as_me: failed program was:" >&5
108271 sed 's/^/| /' conftest.$ac_ext >&5
108273 glibcxx_mresult=0
108275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108277 cat >>confdefs.h <<_ACEOF
108278 #define HAVE_LIMIT_DATA $glibcxx_mresult
108279 _ACEOF
108281 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108282 echo "$as_me:$LINENO: result: $res" >&5
108283 echo "${ECHO_T}$res" >&6
108286 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
108287 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
108288 cat >conftest.$ac_ext <<_ACEOF
108289 /* confdefs.h. */
108290 _ACEOF
108291 cat confdefs.h >>conftest.$ac_ext
108292 cat >>conftest.$ac_ext <<_ACEOF
108293 /* end confdefs.h. */
108294 #include <unistd.h>
108295 #include <sys/time.h>
108296 #include <sys/resource.h>
108299 main ()
108301 int f = RLIMIT_RSS ;
108303 return 0;
108305 _ACEOF
108306 rm -f conftest.$ac_objext
108307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108308 (eval $ac_compile) 2>conftest.er1
108309 ac_status=$?
108310 grep -v '^ *+' conftest.er1 >conftest.err
108311 rm -f conftest.er1
108312 cat conftest.err >&5
108313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108314 (exit $ac_status); } &&
108315 { ac_try='test -z "$ac_c_werror_flag"
108316 || test ! -s conftest.err'
108317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108318 (eval $ac_try) 2>&5
108319 ac_status=$?
108320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108321 (exit $ac_status); }; } &&
108322 { ac_try='test -s conftest.$ac_objext'
108323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108324 (eval $ac_try) 2>&5
108325 ac_status=$?
108326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108327 (exit $ac_status); }; }; then
108328 glibcxx_mresult=1
108330 echo "$as_me: failed program was:" >&5
108331 sed 's/^/| /' conftest.$ac_ext >&5
108333 glibcxx_mresult=0
108335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108337 cat >>confdefs.h <<_ACEOF
108338 #define HAVE_LIMIT_RSS $glibcxx_mresult
108339 _ACEOF
108341 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108342 echo "$as_me:$LINENO: result: $res" >&5
108343 echo "${ECHO_T}$res" >&6
108346 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
108347 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
108348 cat >conftest.$ac_ext <<_ACEOF
108349 /* confdefs.h. */
108350 _ACEOF
108351 cat confdefs.h >>conftest.$ac_ext
108352 cat >>conftest.$ac_ext <<_ACEOF
108353 /* end confdefs.h. */
108354 #include <unistd.h>
108355 #include <sys/time.h>
108356 #include <sys/resource.h>
108359 main ()
108361 int f = RLIMIT_VMEM ;
108363 return 0;
108365 _ACEOF
108366 rm -f conftest.$ac_objext
108367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108368 (eval $ac_compile) 2>conftest.er1
108369 ac_status=$?
108370 grep -v '^ *+' conftest.er1 >conftest.err
108371 rm -f conftest.er1
108372 cat conftest.err >&5
108373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108374 (exit $ac_status); } &&
108375 { ac_try='test -z "$ac_c_werror_flag"
108376 || test ! -s conftest.err'
108377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108378 (eval $ac_try) 2>&5
108379 ac_status=$?
108380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108381 (exit $ac_status); }; } &&
108382 { ac_try='test -s conftest.$ac_objext'
108383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108384 (eval $ac_try) 2>&5
108385 ac_status=$?
108386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108387 (exit $ac_status); }; }; then
108388 glibcxx_mresult=1
108390 echo "$as_me: failed program was:" >&5
108391 sed 's/^/| /' conftest.$ac_ext >&5
108393 glibcxx_mresult=0
108395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108397 cat >>confdefs.h <<_ACEOF
108398 #define HAVE_LIMIT_VMEM $glibcxx_mresult
108399 _ACEOF
108401 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108402 echo "$as_me:$LINENO: result: $res" >&5
108403 echo "${ECHO_T}$res" >&6
108406 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
108407 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
108408 cat >conftest.$ac_ext <<_ACEOF
108409 /* confdefs.h. */
108410 _ACEOF
108411 cat confdefs.h >>conftest.$ac_ext
108412 cat >>conftest.$ac_ext <<_ACEOF
108413 /* end confdefs.h. */
108414 #include <unistd.h>
108415 #include <sys/time.h>
108416 #include <sys/resource.h>
108419 main ()
108421 int f = RLIMIT_AS ;
108423 return 0;
108425 _ACEOF
108426 rm -f conftest.$ac_objext
108427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108428 (eval $ac_compile) 2>conftest.er1
108429 ac_status=$?
108430 grep -v '^ *+' conftest.er1 >conftest.err
108431 rm -f conftest.er1
108432 cat conftest.err >&5
108433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108434 (exit $ac_status); } &&
108435 { ac_try='test -z "$ac_c_werror_flag"
108436 || test ! -s conftest.err'
108437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108438 (eval $ac_try) 2>&5
108439 ac_status=$?
108440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108441 (exit $ac_status); }; } &&
108442 { ac_try='test -s conftest.$ac_objext'
108443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108444 (eval $ac_try) 2>&5
108445 ac_status=$?
108446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108447 (exit $ac_status); }; }; then
108448 glibcxx_mresult=1
108450 echo "$as_me: failed program was:" >&5
108451 sed 's/^/| /' conftest.$ac_ext >&5
108453 glibcxx_mresult=0
108455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108457 cat >>confdefs.h <<_ACEOF
108458 #define HAVE_LIMIT_AS $glibcxx_mresult
108459 _ACEOF
108461 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108462 echo "$as_me:$LINENO: result: $res" >&5
108463 echo "${ECHO_T}$res" >&6
108466 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
108467 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
108468 cat >conftest.$ac_ext <<_ACEOF
108469 /* confdefs.h. */
108470 _ACEOF
108471 cat confdefs.h >>conftest.$ac_ext
108472 cat >>conftest.$ac_ext <<_ACEOF
108473 /* end confdefs.h. */
108474 #include <unistd.h>
108475 #include <sys/time.h>
108476 #include <sys/resource.h>
108479 main ()
108481 int f = RLIMIT_FSIZE ;
108483 return 0;
108485 _ACEOF
108486 rm -f conftest.$ac_objext
108487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108488 (eval $ac_compile) 2>conftest.er1
108489 ac_status=$?
108490 grep -v '^ *+' conftest.er1 >conftest.err
108491 rm -f conftest.er1
108492 cat conftest.err >&5
108493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108494 (exit $ac_status); } &&
108495 { ac_try='test -z "$ac_c_werror_flag"
108496 || test ! -s conftest.err'
108497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108498 (eval $ac_try) 2>&5
108499 ac_status=$?
108500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108501 (exit $ac_status); }; } &&
108502 { ac_try='test -s conftest.$ac_objext'
108503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108504 (eval $ac_try) 2>&5
108505 ac_status=$?
108506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108507 (exit $ac_status); }; }; then
108508 glibcxx_mresult=1
108510 echo "$as_me: failed program was:" >&5
108511 sed 's/^/| /' conftest.$ac_ext >&5
108513 glibcxx_mresult=0
108515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108517 cat >>confdefs.h <<_ACEOF
108518 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
108519 _ACEOF
108521 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108522 echo "$as_me:$LINENO: result: $res" >&5
108523 echo "${ECHO_T}$res" >&6
108526 # Check for rlimit, setrlimit.
108527 if test "${glibcxx_cv_setrlimit+set}" = set; then
108528 echo $ECHO_N "(cached) $ECHO_C" >&6
108531 cat >conftest.$ac_ext <<_ACEOF
108532 /* confdefs.h. */
108533 _ACEOF
108534 cat confdefs.h >>conftest.$ac_ext
108535 cat >>conftest.$ac_ext <<_ACEOF
108536 /* end confdefs.h. */
108537 #include <unistd.h>
108538 #include <sys/time.h>
108539 #include <sys/resource.h>
108542 main ()
108544 struct rlimit r;
108545 setrlimit(0, &r);
108547 return 0;
108549 _ACEOF
108550 rm -f conftest.$ac_objext
108551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108552 (eval $ac_compile) 2>conftest.er1
108553 ac_status=$?
108554 grep -v '^ *+' conftest.er1 >conftest.err
108555 rm -f conftest.er1
108556 cat conftest.err >&5
108557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108558 (exit $ac_status); } &&
108559 { ac_try='test -z "$ac_c_werror_flag"
108560 || test ! -s conftest.err'
108561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108562 (eval $ac_try) 2>&5
108563 ac_status=$?
108564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108565 (exit $ac_status); }; } &&
108566 { ac_try='test -s conftest.$ac_objext'
108567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108568 (eval $ac_try) 2>&5
108569 ac_status=$?
108570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108571 (exit $ac_status); }; }; then
108572 glibcxx_cv_setrlimit=yes
108574 echo "$as_me: failed program was:" >&5
108575 sed 's/^/| /' conftest.$ac_ext >&5
108577 glibcxx_cv_setrlimit=no
108579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108585 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
108586 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
108587 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
108588 ac_res_limits=yes
108590 cat >>confdefs.h <<\_ACEOF
108591 #define _GLIBCXX_RES_LIMITS 1
108592 _ACEOF
108595 ac_res_limits=no
108597 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
108598 echo "${ECHO_T}$ac_res_limits" >&6
108601 # Look for setenv, so that extended locale tests can be performed.
108603 echo "$as_me:$LINENO: checking for setenv declaration" >&5
108604 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
108605 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
108606 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
108607 echo $ECHO_N "(cached) $ECHO_C" >&6
108612 ac_ext=cc
108613 ac_cpp='$CXXCPP $CPPFLAGS'
108614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108618 cat >conftest.$ac_ext <<_ACEOF
108619 /* confdefs.h. */
108620 _ACEOF
108621 cat confdefs.h >>conftest.$ac_ext
108622 cat >>conftest.$ac_ext <<_ACEOF
108623 /* end confdefs.h. */
108624 #include <stdlib.h>
108626 main ()
108628 setenv(0, 0, 0);
108630 return 0;
108632 _ACEOF
108633 rm -f conftest.$ac_objext
108634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108635 (eval $ac_compile) 2>conftest.er1
108636 ac_status=$?
108637 grep -v '^ *+' conftest.er1 >conftest.err
108638 rm -f conftest.er1
108639 cat conftest.err >&5
108640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108641 (exit $ac_status); } &&
108642 { ac_try='test -z "$ac_cxx_werror_flag"
108643 || test ! -s conftest.err'
108644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108645 (eval $ac_try) 2>&5
108646 ac_status=$?
108647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108648 (exit $ac_status); }; } &&
108649 { ac_try='test -s conftest.$ac_objext'
108650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108651 (eval $ac_try) 2>&5
108652 ac_status=$?
108653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108654 (exit $ac_status); }; }; then
108655 glibcxx_cv_func_setenv_use=yes
108657 echo "$as_me: failed program was:" >&5
108658 sed 's/^/| /' conftest.$ac_ext >&5
108660 glibcxx_cv_func_setenv_use=no
108662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108663 ac_ext=c
108664 ac_cpp='$CPP $CPPFLAGS'
108665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
108674 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
108675 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
108677 for ac_func in setenv
108679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108680 echo "$as_me:$LINENO: checking for $ac_func" >&5
108681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108682 if eval "test \"\${$as_ac_var+set}\" = set"; then
108683 echo $ECHO_N "(cached) $ECHO_C" >&6
108685 if test x$gcc_no_link = xyes; then
108686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108688 { (exit 1); exit 1; }; }
108690 cat >conftest.$ac_ext <<_ACEOF
108691 /* confdefs.h. */
108692 _ACEOF
108693 cat confdefs.h >>conftest.$ac_ext
108694 cat >>conftest.$ac_ext <<_ACEOF
108695 /* end confdefs.h. */
108696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108698 #define $ac_func innocuous_$ac_func
108700 /* System header to define __stub macros and hopefully few prototypes,
108701 which can conflict with char $ac_func (); below.
108702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108703 <limits.h> exists even on freestanding compilers. */
108705 #ifdef __STDC__
108706 # include <limits.h>
108707 #else
108708 # include <assert.h>
108709 #endif
108711 #undef $ac_func
108713 /* Override any gcc2 internal prototype to avoid an error. */
108714 #ifdef __cplusplus
108715 extern "C"
108717 #endif
108718 /* We use char because int might match the return type of a gcc2
108719 builtin and then its argument prototype would still apply. */
108720 char $ac_func ();
108721 /* The GNU C library defines this for functions which it implements
108722 to always fail with ENOSYS. Some functions are actually named
108723 something starting with __ and the normal name is an alias. */
108724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108725 choke me
108726 #else
108727 char (*f) () = $ac_func;
108728 #endif
108729 #ifdef __cplusplus
108731 #endif
108734 main ()
108736 return f != $ac_func;
108738 return 0;
108740 _ACEOF
108741 rm -f conftest.$ac_objext conftest$ac_exeext
108742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108743 (eval $ac_link) 2>conftest.er1
108744 ac_status=$?
108745 grep -v '^ *+' conftest.er1 >conftest.err
108746 rm -f conftest.er1
108747 cat conftest.err >&5
108748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108749 (exit $ac_status); } &&
108750 { ac_try='test -z "$ac_c_werror_flag"
108751 || test ! -s conftest.err'
108752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108753 (eval $ac_try) 2>&5
108754 ac_status=$?
108755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108756 (exit $ac_status); }; } &&
108757 { ac_try='test -s conftest$ac_exeext'
108758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108759 (eval $ac_try) 2>&5
108760 ac_status=$?
108761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108762 (exit $ac_status); }; }; then
108763 eval "$as_ac_var=yes"
108765 echo "$as_me: failed program was:" >&5
108766 sed 's/^/| /' conftest.$ac_ext >&5
108768 eval "$as_ac_var=no"
108770 rm -f conftest.err conftest.$ac_objext \
108771 conftest$ac_exeext conftest.$ac_ext
108773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108775 if test `eval echo '${'$as_ac_var'}'` = yes; then
108776 cat >>confdefs.h <<_ACEOF
108777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108778 _ACEOF
108787 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
108788 test $enable_symvers != no; then
108789 case "$host" in
108790 *-*-cygwin*)
108791 enable_abi_check=no ;;
108793 enable_abi_check=yes ;;
108796 # Only build this as native, since automake does not understand
108797 # CXX_FOR_BUILD.
108798 enable_abi_check=no
108801 # Export file names for ABI checking.
108802 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
108806 # Propagate the target-specific source directories through the build chain.
108807 ATOMICITY_SRCDIR=config/${atomicity_dir}
108808 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
108809 ATOMIC_FLAGS=${atomic_flags}
108810 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
108811 OS_INC_SRCDIR=config/${os_include_dir}
108812 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
108813 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
108823 # Determine cross-compile flags and AM_CONDITIONALs.
108824 #AC_SUBST(GLIBCXX_IS_NATIVE)
108825 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
108826 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
108827 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
108830 if test $is_hosted = yes; then
108831 GLIBCXX_HOSTED_TRUE=
108832 GLIBCXX_HOSTED_FALSE='#'
108834 GLIBCXX_HOSTED_TRUE='#'
108835 GLIBCXX_HOSTED_FALSE=
108841 if test $enable_libstdcxx_pch = yes; then
108842 GLIBCXX_BUILD_PCH_TRUE=
108843 GLIBCXX_BUILD_PCH_FALSE='#'
108845 GLIBCXX_BUILD_PCH_TRUE='#'
108846 GLIBCXX_BUILD_PCH_FALSE=
108852 if test $enable_cheaders = c; then
108853 GLIBCXX_C_HEADERS_C_TRUE=
108854 GLIBCXX_C_HEADERS_C_FALSE='#'
108856 GLIBCXX_C_HEADERS_C_TRUE='#'
108857 GLIBCXX_C_HEADERS_C_FALSE=
108863 if test $enable_cheaders = c_std; then
108864 GLIBCXX_C_HEADERS_C_STD_TRUE=
108865 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
108867 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
108868 GLIBCXX_C_HEADERS_C_STD_FALSE=
108874 if test $enable_cheaders = c_global; then
108875 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
108876 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
108878 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
108879 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
108885 if test $c_compatibility = yes; then
108886 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
108887 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
108889 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
108890 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
108896 if test $c_extra = yes; then
108897 GLIBCXX_C_HEADERS_EXTRA_TRUE=
108898 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
108900 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
108901 GLIBCXX_C_HEADERS_EXTRA_FALSE=
108907 if test $enable_libstdcxx_debug = yes; then
108908 GLIBCXX_BUILD_DEBUG_TRUE=
108909 GLIBCXX_BUILD_DEBUG_FALSE='#'
108911 GLIBCXX_BUILD_DEBUG_TRUE='#'
108912 GLIBCXX_BUILD_DEBUG_FALSE=
108918 if test $enable_parallel = yes; then
108919 ENABLE_PARALLEL_TRUE=
108920 ENABLE_PARALLEL_FALSE='#'
108922 ENABLE_PARALLEL_TRUE='#'
108923 ENABLE_PARALLEL_FALSE=
108929 if test $enable_symvers != no; then
108930 ENABLE_SYMVERS_TRUE=
108931 ENABLE_SYMVERS_FALSE='#'
108933 ENABLE_SYMVERS_TRUE='#'
108934 ENABLE_SYMVERS_FALSE=
108940 if test $enable_symvers = gnu; then
108941 ENABLE_SYMVERS_GNU_TRUE=
108942 ENABLE_SYMVERS_GNU_FALSE='#'
108944 ENABLE_SYMVERS_GNU_TRUE='#'
108945 ENABLE_SYMVERS_GNU_FALSE=
108951 if test $enable_symvers = gnu-versioned-namespace; then
108952 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
108953 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
108955 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
108956 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
108962 if test $enable_symvers = darwin; then
108963 ENABLE_SYMVERS_DARWIN_TRUE=
108964 ENABLE_SYMVERS_DARWIN_FALSE='#'
108966 ENABLE_SYMVERS_DARWIN_TRUE='#'
108967 ENABLE_SYMVERS_DARWIN_FALSE=
108973 if test $enable_visibility = yes; then
108974 ENABLE_VISIBILITY_TRUE=
108975 ENABLE_VISIBILITY_FALSE='#'
108977 ENABLE_VISIBILITY_TRUE='#'
108978 ENABLE_VISIBILITY_FALSE=
108984 if test $ac_ldbl_compat = yes; then
108985 GLIBCXX_LDBL_COMPAT_TRUE=
108986 GLIBCXX_LDBL_COMPAT_FALSE='#'
108988 GLIBCXX_LDBL_COMPAT_TRUE='#'
108989 GLIBCXX_LDBL_COMPAT_FALSE=
108995 cat >confcache <<\_ACEOF
108996 # This file is a shell script that caches the results of configure
108997 # tests run on this system so they can be shared between configure
108998 # scripts and configure runs, see configure's option --config-cache.
108999 # It is not useful on other systems. If it contains results you don't
109000 # want to keep, you may remove or edit it.
109002 # config.status only pays attention to the cache file if you give it
109003 # the --recheck option to rerun configure.
109005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109007 # following values.
109009 _ACEOF
109011 # The following way of writing the cache mishandles newlines in values,
109012 # but we know of no workaround that is simple, portable, and efficient.
109013 # So, don't put newlines in cache variables' values.
109014 # Ultrix sh set writes to stderr and can't be redirected directly,
109015 # and sets the high bit in the cache file unless we assign to the vars.
109017 (set) 2>&1 |
109018 case `(ac_space=' '; set | grep ac_space) 2>&1` in
109019 *ac_space=\ *)
109020 # `set' does not quote correctly, so add quotes (double-quote
109021 # substitution turns \\\\ into \\, and sed turns \\ into \).
109022 sed -n \
109023 "s/'/'\\\\''/g;
109024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109027 # `set' quotes correctly as required by POSIX, so do not add quotes.
109028 sed -n \
109029 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109031 esac;
109033 sed '
109034 t clear
109035 : clear
109036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109037 t end
109038 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109039 : end' >>confcache
109040 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109041 if test -w $cache_file; then
109042 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109043 cat confcache >$cache_file
109045 echo "not updating unwritable cache $cache_file"
109048 rm -f confcache
109050 if test ${multilib} = yes; then
109051 multilib_arg="--enable-multilib"
109053 multilib_arg=
109056 # Export all the install information.
109058 glibcxx_toolexecdir=no
109059 glibcxx_toolexeclibdir=no
109060 glibcxx_prefixdir=$prefix
109062 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
109063 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
109065 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
109066 if test "${with_gxx_include_dir+set}" = set; then
109067 withval="$with_gxx_include_dir"
109068 case "$withval" in
109069 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
109070 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
109071 { (exit 1); exit 1; }; } ;;
109072 no) gxx_include_dir=no ;;
109073 *) gxx_include_dir=$withval ;;
109076 gxx_include_dir=no
109078 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109079 echo "${ECHO_T}$gxx_include_dir" >&6
109081 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
109082 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
109083 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
109084 if test "${enable_version_specific_runtime_libs+set}" = set; then
109085 enableval="$enable_version_specific_runtime_libs"
109086 case "$enableval" in
109087 yes) version_specific_libs=yes ;;
109088 no) version_specific_libs=no ;;
109089 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
109090 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
109091 { (exit 1); exit 1; }; };;
109094 version_specific_libs=no
109096 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
109097 echo "${ECHO_T}$version_specific_libs" >&6
109099 # Default case for install directory for include files.
109100 if test $version_specific_libs = no && test $gxx_include_dir = no; then
109101 gxx_include_dir='include/c++/${gcc_version}'
109102 if test -n "$with_cross_host" &&
109103 test x"$with_cross_host" != x"no"; then
109104 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
109106 gxx_include_dir='${prefix}/'"$gxx_include_dir"
109110 # Version-specific runtime libs processing.
109111 if test $version_specific_libs = yes; then
109112 # Need the gcc compiler version to know where to install libraries
109113 # and header files if --enable-version-specific-runtime-libs option
109114 # is selected. FIXME: these variables are misnamed, there are
109115 # no executables installed in _toolexecdir or _toolexeclibdir.
109116 if test x"$gxx_include_dir" = x"no"; then
109117 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
109119 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109120 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
109123 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
109124 # Install a library built with a cross compiler in tooldir, not libdir.
109125 if test x"$glibcxx_toolexecdir" = x"no"; then
109126 if test -n "$with_cross_host" &&
109127 test x"$with_cross_host" != x"no"; then
109128 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
109129 glibcxx_toolexeclibdir='${toolexecdir}/lib'
109131 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109132 glibcxx_toolexeclibdir='${libdir}'
109134 multi_os_directory=`$CXX -print-multi-os-directory`
109135 case $multi_os_directory in
109136 .) ;; # Avoid trailing /.
109137 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
109141 echo "$as_me:$LINENO: checking for install location" >&5
109142 echo $ECHO_N "checking for install location... $ECHO_C" >&6
109143 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109144 echo "${ECHO_T}$gxx_include_dir" >&6
109152 # Export all the include and flag information to Makefiles.
109154 # Used for every C++ compile we perform.
109155 GLIBCXX_INCLUDES="\
109156 -I$glibcxx_builddir/include/$host_alias \
109157 -I$glibcxx_builddir/include \
109158 -I$glibcxx_srcdir/libsupc++"
109160 # For Canadian crosses, pick this up too.
109161 if test $CANADIAN = yes; then
109162 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
109165 # Stuff in the actual top level. Currently only used by libsupc++ to
109166 # get unwind* headers from the gcc dir.
109167 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
109168 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
109170 # Now, export this to all the little Makefiles....
109175 # Optimization flags that are probably a good idea for thrill-seekers. Just
109176 # uncomment the lines below and make, everything else is ready to go...
109177 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
109178 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
109181 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
109185 if test "$enable_shared" = yes; then
109186 LIBSUPCXX_PICFLAGS="-prefer-pic"
109188 LIBSUPCXX_PICFLAGS=
109192 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
109194 ac_config_files="$ac_config_files scripts/testsuite_flags"
109197 ac_config_commands="$ac_config_commands default"
109200 cat >confcache <<\_ACEOF
109201 # This file is a shell script that caches the results of configure
109202 # tests run on this system so they can be shared between configure
109203 # scripts and configure runs, see configure's option --config-cache.
109204 # It is not useful on other systems. If it contains results you don't
109205 # want to keep, you may remove or edit it.
109207 # config.status only pays attention to the cache file if you give it
109208 # the --recheck option to rerun configure.
109210 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109211 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109212 # following values.
109214 _ACEOF
109216 # The following way of writing the cache mishandles newlines in values,
109217 # but we know of no workaround that is simple, portable, and efficient.
109218 # So, don't put newlines in cache variables' values.
109219 # Ultrix sh set writes to stderr and can't be redirected directly,
109220 # and sets the high bit in the cache file unless we assign to the vars.
109222 (set) 2>&1 |
109223 case `(ac_space=' '; set | grep ac_space) 2>&1` in
109224 *ac_space=\ *)
109225 # `set' does not quote correctly, so add quotes (double-quote
109226 # substitution turns \\\\ into \\, and sed turns \\ into \).
109227 sed -n \
109228 "s/'/'\\\\''/g;
109229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109232 # `set' quotes correctly as required by POSIX, so do not add quotes.
109233 sed -n \
109234 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109236 esac;
109238 sed '
109239 t clear
109240 : clear
109241 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109242 t end
109243 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109244 : end' >>confcache
109245 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109246 if test -w $cache_file; then
109247 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109248 cat confcache >$cache_file
109250 echo "not updating unwritable cache $cache_file"
109253 rm -f confcache
109255 test "x$prefix" = xNONE && prefix=$ac_default_prefix
109256 # Let make expand exec_prefix.
109257 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
109259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
109260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
109261 # trailing colons and then remove the whole line if VPATH becomes empty
109262 # (actually we leave an empty line to preserve line numbers).
109263 if test "x$srcdir" = x.; then
109264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
109265 s/:*\$(srcdir):*/:/;
109266 s/:*\${srcdir}:*/:/;
109267 s/:*@srcdir@:*/:/;
109268 s/^\([^=]*=[ ]*\):*/\1/;
109269 s/:*$//;
109270 s/^[^=]*=[ ]*$//;
109274 DEFS=-DHAVE_CONFIG_H
109276 ac_libobjs=
109277 ac_ltlibobjs=
109278 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
109279 # 1. Remove the extension, and $U if already installed.
109280 ac_i=`echo "$ac_i" |
109281 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
109282 # 2. Add them.
109283 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
109284 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
109286 LIBOBJS=$ac_libobjs
109288 LTLIBOBJS=$ac_ltlibobjs
109291 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
109292 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
109293 Usually this means the macro was only invoked conditionally." >&5
109294 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
109295 Usually this means the macro was only invoked conditionally." >&2;}
109296 { (exit 1); exit 1; }; }
109298 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
109299 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109300 Usually this means the macro was only invoked conditionally." >&5
109301 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109302 Usually this means the macro was only invoked conditionally." >&2;}
109303 { (exit 1); exit 1; }; }
109305 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
109306 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109307 Usually this means the macro was only invoked conditionally." >&5
109308 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109309 Usually this means the macro was only invoked conditionally." >&2;}
109310 { (exit 1); exit 1; }; }
109312 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
109313 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109314 Usually this means the macro was only invoked conditionally." >&5
109315 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109316 Usually this means the macro was only invoked conditionally." >&2;}
109317 { (exit 1); exit 1; }; }
109319 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
109320 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109321 Usually this means the macro was only invoked conditionally." >&5
109322 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109323 Usually this means the macro was only invoked conditionally." >&2;}
109324 { (exit 1); exit 1; }; }
109326 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
109327 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
109328 Usually this means the macro was only invoked conditionally." >&5
109329 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
109330 Usually this means the macro was only invoked conditionally." >&2;}
109331 { (exit 1); exit 1; }; }
109333 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
109334 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109335 Usually this means the macro was only invoked conditionally." >&5
109336 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109337 Usually this means the macro was only invoked conditionally." >&2;}
109338 { (exit 1); exit 1; }; }
109340 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
109341 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
109342 Usually this means the macro was only invoked conditionally." >&5
109343 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
109344 Usually this means the macro was only invoked conditionally." >&2;}
109345 { (exit 1); exit 1; }; }
109347 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
109348 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109349 Usually this means the macro was only invoked conditionally." >&5
109350 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109351 Usually this means the macro was only invoked conditionally." >&2;}
109352 { (exit 1); exit 1; }; }
109354 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
109355 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
109356 Usually this means the macro was only invoked conditionally." >&5
109357 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
109358 Usually this means the macro was only invoked conditionally." >&2;}
109359 { (exit 1); exit 1; }; }
109361 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
109362 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
109363 Usually this means the macro was only invoked conditionally." >&5
109364 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
109365 Usually this means the macro was only invoked conditionally." >&2;}
109366 { (exit 1); exit 1; }; }
109368 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
109369 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109370 Usually this means the macro was only invoked conditionally." >&5
109371 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109372 Usually this means the macro was only invoked conditionally." >&2;}
109373 { (exit 1); exit 1; }; }
109375 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
109376 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109377 Usually this means the macro was only invoked conditionally." >&5
109378 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109379 Usually this means the macro was only invoked conditionally." >&2;}
109380 { (exit 1); exit 1; }; }
109382 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
109383 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109384 Usually this means the macro was only invoked conditionally." >&5
109385 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109386 Usually this means the macro was only invoked conditionally." >&2;}
109387 { (exit 1); exit 1; }; }
109389 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
109390 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109391 Usually this means the macro was only invoked conditionally." >&5
109392 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109393 Usually this means the macro was only invoked conditionally." >&2;}
109394 { (exit 1); exit 1; }; }
109396 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
109397 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109398 Usually this means the macro was only invoked conditionally." >&5
109399 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109400 Usually this means the macro was only invoked conditionally." >&2;}
109401 { (exit 1); exit 1; }; }
109404 : ${CONFIG_STATUS=./config.status}
109405 ac_clean_files_save=$ac_clean_files
109406 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
109407 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
109408 echo "$as_me: creating $CONFIG_STATUS" >&6;}
109409 cat >$CONFIG_STATUS <<_ACEOF
109410 #! $SHELL
109411 # Generated by $as_me.
109412 # Run this file to recreate the current configuration.
109413 # Compiler output produced by configure, useful for debugging
109414 # configure, is in config.log if it exists.
109416 debug=false
109417 ac_cs_recheck=false
109418 ac_cs_silent=false
109419 SHELL=\${CONFIG_SHELL-$SHELL}
109420 _ACEOF
109422 cat >>$CONFIG_STATUS <<\_ACEOF
109423 ## --------------------- ##
109424 ## M4sh Initialization. ##
109425 ## --------------------- ##
109427 # Be Bourne compatible
109428 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
109429 emulate sh
109430 NULLCMD=:
109431 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
109432 # is contrary to our usage. Disable this feature.
109433 alias -g '${1+"$@"}'='"$@"'
109434 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
109435 set -o posix
109437 DUALCASE=1; export DUALCASE # for MKS sh
109439 # Support unset when possible.
109440 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
109441 as_unset=unset
109443 as_unset=false
109447 # Work around bugs in pre-3.0 UWIN ksh.
109448 $as_unset ENV MAIL MAILPATH
109449 PS1='$ '
109450 PS2='> '
109451 PS4='+ '
109453 # NLS nuisances.
109454 for as_var in \
109455 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
109456 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109457 LC_TELEPHONE LC_TIME
109459 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109460 eval $as_var=C; export $as_var
109462 $as_unset $as_var
109466 # Required to use basename.
109467 if expr a : '\(a\)' >/dev/null 2>&1; then
109468 as_expr=expr
109470 as_expr=false
109473 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
109474 as_basename=basename
109476 as_basename=false
109480 # Name of the executable.
109481 as_me=`$as_basename "$0" ||
109482 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
109483 X"$0" : 'X\(//\)$' \| \
109484 X"$0" : 'X\(/\)$' \| \
109485 . : '\(.\)' 2>/dev/null ||
109486 echo X/"$0" |
109487 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
109488 /^X\/\(\/\/\)$/{ s//\1/; q; }
109489 /^X\/\(\/\).*/{ s//\1/; q; }
109490 s/.*/./; q'`
109493 # PATH needs CR, and LINENO needs CR and PATH.
109494 # Avoid depending upon Character Ranges.
109495 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
109496 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
109497 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
109498 as_cr_digits='0123456789'
109499 as_cr_alnum=$as_cr_Letters$as_cr_digits
109501 # The user is always right.
109502 if test "${PATH_SEPARATOR+set}" != set; then
109503 echo "#! /bin/sh" >conf$$.sh
109504 echo "exit 0" >>conf$$.sh
109505 chmod +x conf$$.sh
109506 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
109507 PATH_SEPARATOR=';'
109509 PATH_SEPARATOR=:
109511 rm -f conf$$.sh
109515 as_lineno_1=$LINENO
109516 as_lineno_2=$LINENO
109517 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109518 test "x$as_lineno_1" != "x$as_lineno_2" &&
109519 test "x$as_lineno_3" = "x$as_lineno_2" || {
109520 # Find who we are. Look in the path if we contain no path at all
109521 # relative or not.
109522 case $0 in
109523 *[\\/]* ) as_myself=$0 ;;
109524 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109525 for as_dir in $PATH
109527 IFS=$as_save_IFS
109528 test -z "$as_dir" && as_dir=.
109529 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109534 # We did not find ourselves, most probably we were run as `sh COMMAND'
109535 # in which case we are not to be found in the path.
109536 if test "x$as_myself" = x; then
109537 as_myself=$0
109539 if test ! -f "$as_myself"; then
109540 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
109541 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
109542 { (exit 1); exit 1; }; }
109544 case $CONFIG_SHELL in
109546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109547 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
109549 IFS=$as_save_IFS
109550 test -z "$as_dir" && as_dir=.
109551 for as_base in sh bash ksh sh5; do
109552 case $as_dir in
109554 if ("$as_dir/$as_base" -c '
109555 as_lineno_1=$LINENO
109556 as_lineno_2=$LINENO
109557 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109558 test "x$as_lineno_1" != "x$as_lineno_2" &&
109559 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
109560 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
109561 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
109562 CONFIG_SHELL=$as_dir/$as_base
109563 export CONFIG_SHELL
109564 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
109572 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
109573 # uniformly replaced by the line number. The first 'sed' inserts a
109574 # line-number line before each line; the second 'sed' does the real
109575 # work. The second script uses 'N' to pair each line-number line
109576 # with the numbered line, and appends trailing '-' during
109577 # substitution so that $LINENO is not a special case at line end.
109578 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
109579 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
109580 sed '=' <$as_myself |
109581 sed '
109583 s,$,-,
109584 : loop
109585 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
109586 t loop
109587 s,-$,,
109588 s,^['$as_cr_digits']*\n,,
109589 ' >$as_me.lineno &&
109590 chmod +x $as_me.lineno ||
109591 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
109592 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
109593 { (exit 1); exit 1; }; }
109595 # Don't try to exec as it changes $[0], causing all sort of problems
109596 # (the dirname of $[0] is not the place where we might find the
109597 # original and so on. Autoconf is especially sensible to this).
109598 . ./$as_me.lineno
109599 # Exit status is that of the last command.
109604 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
109605 *c*,-n*) ECHO_N= ECHO_C='
109606 ' ECHO_T=' ' ;;
109607 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
109608 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
109611 if expr a : '\(a\)' >/dev/null 2>&1; then
109612 as_expr=expr
109614 as_expr=false
109617 rm -f conf$$ conf$$.exe conf$$.file
109618 echo >conf$$.file
109619 if ln -s conf$$.file conf$$ 2>/dev/null; then
109620 # We could just check for DJGPP; but this test a) works b) is more generic
109621 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
109622 if test -f conf$$.exe; then
109623 # Don't use ln at all; we don't have any links
109624 as_ln_s='cp -p'
109626 as_ln_s='ln -s'
109628 elif ln conf$$.file conf$$ 2>/dev/null; then
109629 as_ln_s=ln
109631 as_ln_s='cp -p'
109633 rm -f conf$$ conf$$.exe conf$$.file
109635 if mkdir -p . 2>/dev/null; then
109636 as_mkdir_p=:
109638 test -d ./-p && rmdir ./-p
109639 as_mkdir_p=false
109642 as_executable_p="test -f"
109644 # Sed expression to map a string onto a valid CPP name.
109645 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
109647 # Sed expression to map a string onto a valid variable name.
109648 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
109651 # IFS
109652 # We need space, tab and new line, in precisely that order.
109653 as_nl='
109655 IFS=" $as_nl"
109657 # CDPATH.
109658 $as_unset CDPATH
109660 exec 6>&1
109662 # Open the log real soon, to keep \$[0] and so on meaningful, and to
109663 # report actual input values of CONFIG_FILES etc. instead of their
109664 # values after options handling. Logging --version etc. is OK.
109665 exec 5>>config.log
109668 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
109669 ## Running $as_me. ##
109670 _ASBOX
109671 } >&5
109672 cat >&5 <<_CSEOF
109674 This file was extended by package-unused $as_me version-unused, which was
109675 generated by GNU Autoconf 2.59. Invocation command line was
109677 CONFIG_FILES = $CONFIG_FILES
109678 CONFIG_HEADERS = $CONFIG_HEADERS
109679 CONFIG_LINKS = $CONFIG_LINKS
109680 CONFIG_COMMANDS = $CONFIG_COMMANDS
109681 $ $0 $@
109683 _CSEOF
109684 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
109685 echo >&5
109686 _ACEOF
109688 # Files that config.status was made for.
109689 if test -n "$ac_config_files"; then
109690 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
109693 if test -n "$ac_config_headers"; then
109694 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
109697 if test -n "$ac_config_links"; then
109698 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
109701 if test -n "$ac_config_commands"; then
109702 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
109705 cat >>$CONFIG_STATUS <<\_ACEOF
109707 ac_cs_usage="\
109708 \`$as_me' instantiates files from templates according to the
109709 current configuration.
109711 Usage: $0 [OPTIONS] [FILE]...
109713 -h, --help print this help, then exit
109714 -V, --version print version number, then exit
109715 -q, --quiet do not print progress messages
109716 -d, --debug don't remove temporary files
109717 --recheck update $as_me by reconfiguring in the same conditions
109718 --file=FILE[:TEMPLATE]
109719 instantiate the configuration file FILE
109720 --header=FILE[:TEMPLATE]
109721 instantiate the configuration header FILE
109723 Configuration files:
109724 $config_files
109726 Configuration headers:
109727 $config_headers
109729 Configuration commands:
109730 $config_commands
109732 Report bugs to <bug-autoconf@gnu.org>."
109733 _ACEOF
109735 cat >>$CONFIG_STATUS <<_ACEOF
109736 ac_cs_version="\\
109737 package-unused config.status version-unused
109738 configured by $0, generated by GNU Autoconf 2.59,
109739 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
109741 Copyright (C) 2003 Free Software Foundation, Inc.
109742 This config.status script is free software; the Free Software Foundation
109743 gives unlimited permission to copy, distribute and modify it."
109744 srcdir=$srcdir
109745 INSTALL="$INSTALL"
109746 _ACEOF
109748 cat >>$CONFIG_STATUS <<\_ACEOF
109749 # If no file are specified by the user, then we need to provide default
109750 # value. By we need to know if files were specified by the user.
109751 ac_need_defaults=:
109752 while test $# != 0
109754 case $1 in
109755 --*=*)
109756 ac_option=`expr "x$1" : 'x\([^=]*\)='`
109757 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
109758 ac_shift=:
109761 ac_option=$1
109762 ac_optarg=$2
109763 ac_shift=shift
109765 *) # This is not an option, so the user has probably given explicit
109766 # arguments.
109767 ac_option=$1
109768 ac_need_defaults=false;;
109771 case $ac_option in
109772 # Handling of the options.
109773 _ACEOF
109774 cat >>$CONFIG_STATUS <<\_ACEOF
109775 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
109776 ac_cs_recheck=: ;;
109777 --version | --vers* | -V )
109778 echo "$ac_cs_version"; exit 0 ;;
109779 --he | --h)
109780 # Conflict between --help and --header
109781 { { echo "$as_me:$LINENO: error: ambiguous option: $1
109782 Try \`$0 --help' for more information." >&5
109783 echo "$as_me: error: ambiguous option: $1
109784 Try \`$0 --help' for more information." >&2;}
109785 { (exit 1); exit 1; }; };;
109786 --help | --hel | -h )
109787 echo "$ac_cs_usage"; exit 0 ;;
109788 --debug | --d* | -d )
109789 debug=: ;;
109790 --file | --fil | --fi | --f )
109791 $ac_shift
109792 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
109793 ac_need_defaults=false;;
109794 --header | --heade | --head | --hea )
109795 $ac_shift
109796 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
109797 ac_need_defaults=false;;
109798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
109799 | -silent | --silent | --silen | --sile | --sil | --si | --s)
109800 ac_cs_silent=: ;;
109802 # This is an error.
109803 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
109804 Try \`$0 --help' for more information." >&5
109805 echo "$as_me: error: unrecognized option: $1
109806 Try \`$0 --help' for more information." >&2;}
109807 { (exit 1); exit 1; }; } ;;
109809 *) ac_config_targets="$ac_config_targets $1" ;;
109812 shift
109815 ac_configure_extra_args=
109817 if $ac_cs_silent; then
109818 exec 6>/dev/null
109819 ac_configure_extra_args="$ac_configure_extra_args --silent"
109822 _ACEOF
109823 cat >>$CONFIG_STATUS <<_ACEOF
109824 if \$ac_cs_recheck; then
109825 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
109826 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
109829 _ACEOF
109831 cat >>$CONFIG_STATUS <<_ACEOF
109833 # INIT-COMMANDS section.
109837 srcdir="$srcdir"
109838 host="$host"
109839 target="$target"
109840 with_multisubdir="$with_multisubdir"
109841 with_multisrctop="$with_multisrctop"
109842 with_target_subdir="$with_target_subdir"
109843 ac_configure_args="${multilib_arg} ${ac_configure_args}"
109844 multi_basedir="$multi_basedir"
109845 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
109846 CC="$CC"
109849 # The HP-UX ksh and POSIX shell print the target directory to stdout
109850 # if CDPATH is set.
109851 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
109853 sed_quote_subst='$sed_quote_subst'
109854 double_quote_subst='$double_quote_subst'
109855 delay_variable_subst='$delay_variable_subst'
109856 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
109857 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
109858 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
109859 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
109860 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
109861 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
109862 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
109863 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
109864 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
109865 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
109866 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
109867 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
109868 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
109869 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
109870 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
109871 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
109872 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
109873 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
109874 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
109875 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
109876 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
109877 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
109878 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
109879 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
109880 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
109881 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
109882 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
109883 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109884 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
109885 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
109886 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
109887 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
109888 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
109889 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
109890 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
109891 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109892 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109893 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109894 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
109895 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
109896 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
109897 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
109898 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
109899 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
109900 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"`'
109901 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"`'
109902 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
109903 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
109904 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
109905 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
109906 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
109907 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
109908 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
109909 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
109910 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
109911 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
109912 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
109913 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
109914 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
109915 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
109916 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
109917 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
109918 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109919 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109920 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
109921 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
109922 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109923 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109924 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
109925 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109926 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109927 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109928 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109929 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109930 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109931 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
109932 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
109933 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
109934 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109935 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
109936 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
109937 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
109938 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
109939 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
109940 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109941 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
109942 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
109943 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
109944 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
109945 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
109946 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109947 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
109948 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
109949 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109950 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
109951 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
109952 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
109953 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
109954 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
109955 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109956 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109957 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
109958 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
109959 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
109960 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
109961 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109962 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109963 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109964 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
109965 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
109966 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
109967 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
109968 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
109969 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
109970 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
109971 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
109972 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
109973 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
109974 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
109975 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
109976 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
109977 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
109978 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
109979 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
109980 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109981 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109982 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109983 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109984 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109985 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109986 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109987 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109988 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109989 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109990 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109991 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109992 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109993 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109994 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109995 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109996 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109997 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109998 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109999 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110000 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110001 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110002 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110003 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110004 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110005 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110006 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110007 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110008 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110009 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110010 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110011 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110012 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110013 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110014 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110015 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110016 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110017 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110018 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110019 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110020 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110021 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110022 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110023 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110024 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110025 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110026 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110028 LTCC='$LTCC'
110029 LTCFLAGS='$LTCFLAGS'
110030 compiler='$compiler_DEFAULT'
110032 # Quote evaled strings.
110033 for var in SED \
110034 GREP \
110035 EGREP \
110036 FGREP \
110039 LN_S \
110040 lt_SP2NL \
110041 lt_NL2SP \
110042 reload_flag \
110043 OBJDUMP \
110044 deplibs_check_method \
110045 file_magic_cmd \
110047 AR_FLAGS \
110048 STRIP \
110049 RANLIB \
110051 CFLAGS \
110052 compiler \
110053 lt_cv_sys_global_symbol_pipe \
110054 lt_cv_sys_global_symbol_to_cdecl \
110055 lt_cv_sys_global_symbol_to_c_name_address \
110056 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
110057 SHELL \
110058 ECHO \
110059 lt_prog_compiler_no_builtin_flag \
110060 lt_prog_compiler_wl \
110061 lt_prog_compiler_pic \
110062 lt_prog_compiler_static \
110063 lt_cv_prog_compiler_c_o \
110064 need_locks \
110065 DSYMUTIL \
110066 NMEDIT \
110067 LIPO \
110068 OTOOL \
110069 OTOOL64 \
110070 shrext_cmds \
110071 export_dynamic_flag_spec \
110072 whole_archive_flag_spec \
110073 compiler_needs_object \
110074 with_gnu_ld \
110075 allow_undefined_flag \
110076 no_undefined_flag \
110077 hardcode_libdir_flag_spec \
110078 hardcode_libdir_flag_spec_ld \
110079 hardcode_libdir_separator \
110080 fix_srcfile_path \
110081 exclude_expsyms \
110082 include_expsyms \
110083 file_list_spec \
110084 variables_saved_for_relink \
110085 libname_spec \
110086 library_names_spec \
110087 soname_spec \
110088 finish_eval \
110089 old_striplib \
110090 striplib \
110091 compiler_lib_search_dirs \
110092 predep_objects \
110093 postdep_objects \
110094 predeps \
110095 postdeps \
110096 compiler_lib_search_path \
110097 LD_CXX \
110098 compiler_CXX \
110099 lt_prog_compiler_no_builtin_flag_CXX \
110100 lt_prog_compiler_wl_CXX \
110101 lt_prog_compiler_pic_CXX \
110102 lt_prog_compiler_static_CXX \
110103 lt_cv_prog_compiler_c_o_CXX \
110104 export_dynamic_flag_spec_CXX \
110105 whole_archive_flag_spec_CXX \
110106 compiler_needs_object_CXX \
110107 with_gnu_ld_CXX \
110108 allow_undefined_flag_CXX \
110109 no_undefined_flag_CXX \
110110 hardcode_libdir_flag_spec_CXX \
110111 hardcode_libdir_flag_spec_ld_CXX \
110112 hardcode_libdir_separator_CXX \
110113 fix_srcfile_path_CXX \
110114 exclude_expsyms_CXX \
110115 include_expsyms_CXX \
110116 file_list_spec_CXX \
110117 compiler_lib_search_dirs_CXX \
110118 predep_objects_CXX \
110119 postdep_objects_CXX \
110120 predeps_CXX \
110121 postdeps_CXX \
110122 compiler_lib_search_path_CXX; do
110123 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110124 *[\\\\\\\`\\"\\\$]*)
110125 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
110128 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110133 # Double-quote double-evaled strings.
110134 for var in reload_cmds \
110135 old_postinstall_cmds \
110136 old_postuninstall_cmds \
110137 old_archive_cmds \
110138 extract_expsyms_cmds \
110139 old_archive_from_new_cmds \
110140 old_archive_from_expsyms_cmds \
110141 archive_cmds \
110142 archive_expsym_cmds \
110143 module_cmds \
110144 module_expsym_cmds \
110145 export_symbols_cmds \
110146 prelink_cmds \
110147 postinstall_cmds \
110148 postuninstall_cmds \
110149 finish_cmds \
110150 sys_lib_search_path_spec \
110151 sys_lib_dlsearch_path_spec \
110152 old_archive_cmds_CXX \
110153 old_archive_from_new_cmds_CXX \
110154 old_archive_from_expsyms_cmds_CXX \
110155 archive_cmds_CXX \
110156 archive_expsym_cmds_CXX \
110157 module_cmds_CXX \
110158 module_expsym_cmds_CXX \
110159 export_symbols_cmds_CXX \
110160 prelink_cmds_CXX; do
110161 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110162 *[\\\\\\\`\\"\\\$]*)
110163 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
110166 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110171 # Fix-up fallback echo if it was mangled by the above quoting rules.
110172 case \$lt_ECHO in
110173 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
110177 ac_aux_dir='$ac_aux_dir'
110178 xsi_shell='$xsi_shell'
110179 lt_shell_append='$lt_shell_append'
110181 # See if we are running on zsh, and set the options which allow our
110182 # commands through without removal of \ escapes INIT.
110183 if test -n "\${ZSH_VERSION+set}" ; then
110184 setopt NO_GLOB_SUBST
110188 PACKAGE='$PACKAGE'
110189 VERSION='$VERSION'
110190 TIMESTAMP='$TIMESTAMP'
110191 RM='$RM'
110192 ofile='$ofile'
110199 GCC="$GCC"
110200 CC="$CC"
110201 acx_cv_header_stdint="$acx_cv_header_stdint"
110202 acx_cv_type_int8_t="$acx_cv_type_int8_t"
110203 acx_cv_type_int16_t="$acx_cv_type_int16_t"
110204 acx_cv_type_int32_t="$acx_cv_type_int32_t"
110205 acx_cv_type_int64_t="$acx_cv_type_int64_t"
110206 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
110207 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
110208 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
110209 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
110210 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
110211 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
110212 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
110213 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
110214 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
110217 # Variables needed in config.status (file generation) which aren't already
110218 # passed by autoconf.
110219 SUBDIRS="$SUBDIRS"
110222 _ACEOF
110226 cat >>$CONFIG_STATUS <<\_ACEOF
110227 for ac_config_target in $ac_config_targets
110229 case "$ac_config_target" in
110230 # Handling of arguments.
110231 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110232 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110233 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110234 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110235 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110236 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
110237 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110238 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110239 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110240 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110241 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
110242 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
110243 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110244 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110245 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110246 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110247 { (exit 1); exit 1; }; };;
110251 # If the user did not use the arguments to specify the items to instantiate,
110252 # then the envvar interface is used. Set only those that are not.
110253 # We use the long form for the default assignment because of an extremely
110254 # bizarre bug on SunOS 4.1.3.
110255 if $ac_need_defaults; then
110256 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110257 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110258 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110261 # Have a temporary directory for convenience. Make it in the build tree
110262 # simply because there is no reason to put it here, and in addition,
110263 # creating and moving files from /tmp can sometimes cause problems.
110264 # Create a temporary directory, and hook for its removal unless debugging.
110265 $debug ||
110267 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110268 trap '{ (exit 1); exit 1; }' 1 2 13 15
110271 # Create a (secure) tmp directory for tmp files.
110274 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110275 test -n "$tmp" && test -d "$tmp"
110278 tmp=./confstat$$-$RANDOM
110279 (umask 077 && mkdir $tmp)
110282 echo "$me: cannot create a temporary directory in ." >&2
110283 { (exit 1); exit 1; }
110286 _ACEOF
110288 cat >>$CONFIG_STATUS <<_ACEOF
110291 # CONFIG_FILES section.
110294 # No need to generate the scripts if there are no CONFIG_FILES.
110295 # This happens for instance when ./config.status config.h
110296 if test -n "\$CONFIG_FILES"; then
110297 # Protect against being on the right side of a sed subst in config.status.
110298 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110299 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110300 s,@SHELL@,$SHELL,;t t
110301 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110302 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110303 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110304 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110305 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110306 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110307 s,@exec_prefix@,$exec_prefix,;t t
110308 s,@prefix@,$prefix,;t t
110309 s,@program_transform_name@,$program_transform_name,;t t
110310 s,@bindir@,$bindir,;t t
110311 s,@sbindir@,$sbindir,;t t
110312 s,@libexecdir@,$libexecdir,;t t
110313 s,@datadir@,$datadir,;t t
110314 s,@sysconfdir@,$sysconfdir,;t t
110315 s,@sharedstatedir@,$sharedstatedir,;t t
110316 s,@localstatedir@,$localstatedir,;t t
110317 s,@libdir@,$libdir,;t t
110318 s,@includedir@,$includedir,;t t
110319 s,@oldincludedir@,$oldincludedir,;t t
110320 s,@infodir@,$infodir,;t t
110321 s,@mandir@,$mandir,;t t
110322 s,@build_alias@,$build_alias,;t t
110323 s,@host_alias@,$host_alias,;t t
110324 s,@target_alias@,$target_alias,;t t
110325 s,@DEFS@,$DEFS,;t t
110326 s,@ECHO_C@,$ECHO_C,;t t
110327 s,@ECHO_N@,$ECHO_N,;t t
110328 s,@ECHO_T@,$ECHO_T,;t t
110329 s,@LIBS@,$LIBS,;t t
110330 s,@libtool_VERSION@,$libtool_VERSION,;t t
110331 s,@multi_basedir@,$multi_basedir,;t t
110332 s,@build@,$build,;t t
110333 s,@build_cpu@,$build_cpu,;t t
110334 s,@build_vendor@,$build_vendor,;t t
110335 s,@build_os@,$build_os,;t t
110336 s,@host@,$host,;t t
110337 s,@host_cpu@,$host_cpu,;t t
110338 s,@host_vendor@,$host_vendor,;t t
110339 s,@host_os@,$host_os,;t t
110340 s,@target@,$target,;t t
110341 s,@target_cpu@,$target_cpu,;t t
110342 s,@target_vendor@,$target_vendor,;t t
110343 s,@target_os@,$target_os,;t t
110344 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
110345 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
110346 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
110347 s,@CYGPATH_W@,$CYGPATH_W,;t t
110348 s,@PACKAGE@,$PACKAGE,;t t
110349 s,@VERSION@,$VERSION,;t t
110350 s,@ACLOCAL@,$ACLOCAL,;t t
110351 s,@AUTOCONF@,$AUTOCONF,;t t
110352 s,@AUTOMAKE@,$AUTOMAKE,;t t
110353 s,@AUTOHEADER@,$AUTOHEADER,;t t
110354 s,@MAKEINFO@,$MAKEINFO,;t t
110355 s,@install_sh@,$install_sh,;t t
110356 s,@STRIP@,$STRIP,;t t
110357 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
110358 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
110359 s,@mkdir_p@,$mkdir_p,;t t
110360 s,@AWK@,$AWK,;t t
110361 s,@SET_MAKE@,$SET_MAKE,;t t
110362 s,@am__leading_dot@,$am__leading_dot,;t t
110363 s,@AMTAR@,$AMTAR,;t t
110364 s,@am__tar@,$am__tar,;t t
110365 s,@am__untar@,$am__untar,;t t
110366 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
110367 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
110368 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
110369 s,@CC@,$CC,;t t
110370 s,@ac_ct_CC@,$ac_ct_CC,;t t
110371 s,@EXEEXT@,$EXEEXT,;t t
110372 s,@OBJEXT@,$OBJEXT,;t t
110373 s,@CXX@,$CXX,;t t
110374 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
110375 s,@CFLAGS@,$CFLAGS,;t t
110376 s,@CXXFLAGS@,$CXXFLAGS,;t t
110377 s,@LN_S@,$LN_S,;t t
110378 s,@AS@,$AS,;t t
110379 s,@ac_ct_AS@,$ac_ct_AS,;t t
110380 s,@AR@,$AR,;t t
110381 s,@ac_ct_AR@,$ac_ct_AR,;t t
110382 s,@RANLIB@,$RANLIB,;t t
110383 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
110384 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
110385 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
110386 s,@MAINT@,$MAINT,;t t
110387 s,@CPP@,$CPP,;t t
110388 s,@CPPFLAGS@,$CPPFLAGS,;t t
110389 s,@EGREP@,$EGREP,;t t
110390 s,@LIBTOOL@,$LIBTOOL,;t t
110391 s,@SED@,$SED,;t t
110392 s,@FGREP@,$FGREP,;t t
110393 s,@GREP@,$GREP,;t t
110394 s,@LD@,$LD,;t t
110395 s,@DUMPBIN@,$DUMPBIN,;t t
110396 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
110397 s,@NM@,$NM,;t t
110398 s,@OBJDUMP@,$OBJDUMP,;t t
110399 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
110400 s,@lt_ECHO@,$lt_ECHO,;t t
110401 s,@DSYMUTIL@,$DSYMUTIL,;t t
110402 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
110403 s,@NMEDIT@,$NMEDIT,;t t
110404 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
110405 s,@LIPO@,$LIPO,;t t
110406 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
110407 s,@OTOOL@,$OTOOL,;t t
110408 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
110409 s,@OTOOL64@,$OTOOL64,;t t
110410 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
110411 s,@LDFLAGS@,$LDFLAGS,;t t
110412 s,@CXXCPP@,$CXXCPP,;t t
110413 s,@enable_shared@,$enable_shared,;t t
110414 s,@enable_static@,$enable_static,;t t
110415 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
110416 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
110417 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
110418 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
110419 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
110420 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
110421 s,@WERROR@,$WERROR,;t t
110422 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
110423 s,@CSTDIO_H@,$CSTDIO_H,;t t
110424 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
110425 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
110426 s,@check_msgfmt@,$check_msgfmt,;t t
110427 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
110428 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
110429 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
110430 s,@USE_NLS@,$USE_NLS,;t t
110431 s,@CLOCALE_H@,$CLOCALE_H,;t t
110432 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
110433 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
110434 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
110435 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
110436 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
110437 s,@CMONEY_CC@,$CMONEY_CC,;t t
110438 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
110439 s,@CTIME_H@,$CTIME_H,;t t
110440 s,@CTIME_CC@,$CTIME_CC,;t t
110441 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
110442 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
110443 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
110444 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
110445 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
110446 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
110447 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
110448 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
110449 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
110450 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
110451 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
110452 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
110453 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
110454 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
110455 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
110456 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
110457 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
110458 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
110459 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
110460 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
110461 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
110462 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
110463 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
110464 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
110465 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
110466 s,@LIBICONV@,$LIBICONV,;t t
110467 s,@LTLIBICONV@,$LTLIBICONV,;t t
110468 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
110469 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
110470 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
110471 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
110472 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
110473 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
110474 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
110475 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
110476 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
110477 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
110478 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
110479 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
110480 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
110481 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
110482 s,@baseline_dir@,$baseline_dir,;t t
110483 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
110484 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
110485 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
110486 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
110487 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
110488 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
110489 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
110490 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
110491 s,@gxx_include_dir@,$gxx_include_dir,;t t
110492 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
110493 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
110494 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
110495 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
110496 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
110497 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
110498 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
110499 s,@LIBOBJS@,$LIBOBJS,;t t
110500 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
110503 _ACEOF
110505 cat >>$CONFIG_STATUS <<\_ACEOF
110506 # Split the substitutions into bite-sized pieces for seds with
110507 # small command number limits, like on Digital OSF/1 and HP-UX.
110508 ac_max_sed_lines=48
110509 ac_sed_frag=1 # Number of current file.
110510 ac_beg=1 # First line for current file.
110511 ac_end=$ac_max_sed_lines # Line after last line for current file.
110512 ac_more_lines=:
110513 ac_sed_cmds=
110514 while $ac_more_lines; do
110515 if test $ac_beg -gt 1; then
110516 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110518 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110520 if test ! -s $tmp/subs.frag; then
110521 ac_more_lines=false
110523 # The purpose of the label and of the branching condition is to
110524 # speed up the sed processing (if there are no `@' at all, there
110525 # is no need to browse any of the substitutions).
110526 # These are the two extra sed commands mentioned above.
110527 (echo ':t
110528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
110529 if test -z "$ac_sed_cmds"; then
110530 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
110532 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
110534 ac_sed_frag=`expr $ac_sed_frag + 1`
110535 ac_beg=$ac_end
110536 ac_end=`expr $ac_end + $ac_max_sed_lines`
110539 if test -z "$ac_sed_cmds"; then
110540 ac_sed_cmds=cat
110542 fi # test -n "$CONFIG_FILES"
110544 _ACEOF
110545 cat >>$CONFIG_STATUS <<\_ACEOF
110546 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
110547 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110548 case $ac_file in
110549 - | *:- | *:-:* ) # input from stdin
110550 cat >$tmp/stdin
110551 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110552 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110553 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110554 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110555 * ) ac_file_in=$ac_file.in ;;
110558 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
110559 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110560 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110561 X"$ac_file" : 'X\(//\)[^/]' \| \
110562 X"$ac_file" : 'X\(//\)$' \| \
110563 X"$ac_file" : 'X\(/\)' \| \
110564 . : '\(.\)' 2>/dev/null ||
110565 echo X"$ac_file" |
110566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110568 /^X\(\/\/\)$/{ s//\1/; q; }
110569 /^X\(\/\).*/{ s//\1/; q; }
110570 s/.*/./; q'`
110571 { if $as_mkdir_p; then
110572 mkdir -p "$ac_dir"
110574 as_dir="$ac_dir"
110575 as_dirs=
110576 while test ! -d "$as_dir"; do
110577 as_dirs="$as_dir $as_dirs"
110578 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110580 X"$as_dir" : 'X\(//\)[^/]' \| \
110581 X"$as_dir" : 'X\(//\)$' \| \
110582 X"$as_dir" : 'X\(/\)' \| \
110583 . : '\(.\)' 2>/dev/null ||
110584 echo X"$as_dir" |
110585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110587 /^X\(\/\/\)$/{ s//\1/; q; }
110588 /^X\(\/\).*/{ s//\1/; q; }
110589 s/.*/./; q'`
110591 test ! -n "$as_dirs" || mkdir $as_dirs
110592 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110593 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110594 { (exit 1); exit 1; }; }; }
110596 ac_builddir=.
110598 if test "$ac_dir" != .; then
110599 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110600 # A "../" for each directory in $ac_dir_suffix.
110601 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110603 ac_dir_suffix= ac_top_builddir=
110606 case $srcdir in
110607 .) # No --srcdir option. We are building in place.
110608 ac_srcdir=.
110609 if test -z "$ac_top_builddir"; then
110610 ac_top_srcdir=.
110612 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
110613 fi ;;
110614 [\\/]* | ?:[\\/]* ) # Absolute path.
110615 ac_srcdir=$srcdir$ac_dir_suffix;
110616 ac_top_srcdir=$srcdir ;;
110617 *) # Relative path.
110618 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
110619 ac_top_srcdir=$ac_top_builddir$srcdir ;;
110622 # Do not use `cd foo && pwd` to compute absolute paths, because
110623 # the directories may not exist.
110624 case `pwd` in
110625 .) ac_abs_builddir="$ac_dir";;
110627 case "$ac_dir" in
110628 .) ac_abs_builddir=`pwd`;;
110629 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
110630 *) ac_abs_builddir=`pwd`/"$ac_dir";;
110631 esac;;
110633 case $ac_abs_builddir in
110634 .) ac_abs_top_builddir=${ac_top_builddir}.;;
110636 case ${ac_top_builddir}. in
110637 .) ac_abs_top_builddir=$ac_abs_builddir;;
110638 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
110639 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
110640 esac;;
110642 case $ac_abs_builddir in
110643 .) ac_abs_srcdir=$ac_srcdir;;
110645 case $ac_srcdir in
110646 .) ac_abs_srcdir=$ac_abs_builddir;;
110647 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
110648 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
110649 esac;;
110651 case $ac_abs_builddir in
110652 .) ac_abs_top_srcdir=$ac_top_srcdir;;
110654 case $ac_top_srcdir in
110655 .) ac_abs_top_srcdir=$ac_abs_builddir;;
110656 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
110657 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
110658 esac;;
110662 case $INSTALL in
110663 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
110664 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
110667 if test x"$ac_file" != x-; then
110668 { echo "$as_me:$LINENO: creating $ac_file" >&5
110669 echo "$as_me: creating $ac_file" >&6;}
110670 rm -f "$ac_file"
110672 # Let's still pretend it is `configure' which instantiates (i.e., don't
110673 # use $as_me), people would be surprised to read:
110674 # /* config.h. Generated by config.status. */
110675 if test x"$ac_file" = x-; then
110676 configure_input=
110678 configure_input="$ac_file. "
110680 configure_input=$configure_input"Generated from `echo $ac_file_in |
110681 sed 's,.*/,,'` by configure."
110683 # First look for the input files in the build tree, otherwise in the
110684 # src tree.
110685 ac_file_inputs=`IFS=:
110686 for f in $ac_file_in; do
110687 case $f in
110688 -) echo $tmp/stdin ;;
110689 [\\/$]*)
110690 # Absolute (can't be DOS-style, as IFS=:)
110691 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110692 echo "$as_me: error: cannot find input file: $f" >&2;}
110693 { (exit 1); exit 1; }; }
110694 echo "$f";;
110695 *) # Relative
110696 if test -f "$f"; then
110697 # Build tree
110698 echo "$f"
110699 elif test -f "$srcdir/$f"; then
110700 # Source tree
110701 echo "$srcdir/$f"
110703 # /dev/null tree
110704 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110705 echo "$as_me: error: cannot find input file: $f" >&2;}
110706 { (exit 1); exit 1; }; }
110709 done` || { (exit 1); exit 1; }
110710 _ACEOF
110711 cat >>$CONFIG_STATUS <<_ACEOF
110712 sed "$ac_vpsub
110713 $extrasub
110714 _ACEOF
110715 cat >>$CONFIG_STATUS <<\_ACEOF
110717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
110718 s,@configure_input@,$configure_input,;t t
110719 s,@srcdir@,$ac_srcdir,;t t
110720 s,@abs_srcdir@,$ac_abs_srcdir,;t t
110721 s,@top_srcdir@,$ac_top_srcdir,;t t
110722 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
110723 s,@builddir@,$ac_builddir,;t t
110724 s,@abs_builddir@,$ac_abs_builddir,;t t
110725 s,@top_builddir@,$ac_top_builddir,;t t
110726 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
110727 s,@INSTALL@,$ac_INSTALL,;t t
110728 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
110729 rm -f $tmp/stdin
110730 if test x"$ac_file" != x-; then
110731 mv $tmp/out $ac_file
110733 cat $tmp/out
110734 rm -f $tmp/out
110737 # Run the commands associated with the file.
110738 case $ac_file in
110739 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
110742 _ACEOF
110743 cat >>$CONFIG_STATUS <<\_ACEOF
110746 # CONFIG_HEADER section.
110749 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
110750 # NAME is the cpp macro being defined and VALUE is the value it is being given.
110752 # ac_d sets the value in "#define NAME VALUE" lines.
110753 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
110754 ac_dB='[ ].*$,\1#\2'
110755 ac_dC=' '
110756 ac_dD=',;t'
110757 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
110758 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
110759 ac_uB='$,\1#\2define\3'
110760 ac_uC=' '
110761 ac_uD=',;t'
110763 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
110764 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110765 case $ac_file in
110766 - | *:- | *:-:* ) # input from stdin
110767 cat >$tmp/stdin
110768 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110769 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110770 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110771 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110772 * ) ac_file_in=$ac_file.in ;;
110775 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
110776 echo "$as_me: creating $ac_file" >&6;}
110778 # First look for the input files in the build tree, otherwise in the
110779 # src tree.
110780 ac_file_inputs=`IFS=:
110781 for f in $ac_file_in; do
110782 case $f in
110783 -) echo $tmp/stdin ;;
110784 [\\/$]*)
110785 # Absolute (can't be DOS-style, as IFS=:)
110786 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110787 echo "$as_me: error: cannot find input file: $f" >&2;}
110788 { (exit 1); exit 1; }; }
110789 # Do quote $f, to prevent DOS paths from being IFS'd.
110790 echo "$f";;
110791 *) # Relative
110792 if test -f "$f"; then
110793 # Build tree
110794 echo "$f"
110795 elif test -f "$srcdir/$f"; then
110796 # Source tree
110797 echo "$srcdir/$f"
110799 # /dev/null tree
110800 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110801 echo "$as_me: error: cannot find input file: $f" >&2;}
110802 { (exit 1); exit 1; }; }
110805 done` || { (exit 1); exit 1; }
110806 # Remove the trailing spaces.
110807 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
110809 _ACEOF
110811 # Transform confdefs.h into two sed scripts, `conftest.defines' and
110812 # `conftest.undefs', that substitutes the proper values into
110813 # config.h.in to produce config.h. The first handles `#define'
110814 # templates, and the second `#undef' templates.
110815 # And first: Protect against being on the right side of a sed subst in
110816 # config.status. Protect against being in an unquoted here document
110817 # in config.status.
110818 rm -f conftest.defines conftest.undefs
110819 # Using a here document instead of a string reduces the quoting nightmare.
110820 # Putting comments in sed scripts is not portable.
110822 # `end' is used to avoid that the second main sed command (meant for
110823 # 0-ary CPP macros) applies to n-ary macro definitions.
110824 # See the Autoconf documentation for `clear'.
110825 cat >confdef2sed.sed <<\_ACEOF
110826 s/[\\&,]/\\&/g
110827 s,[\\$`],\\&,g
110828 t clear
110829 : clear
110830 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
110831 t end
110832 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
110833 : end
110834 _ACEOF
110835 # If some macros were called several times there might be several times
110836 # the same #defines, which is useless. Nevertheless, we may not want to
110837 # sort them, since we want the *last* AC-DEFINE to be honored.
110838 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
110839 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
110840 rm -f confdef2sed.sed
110842 # This sed command replaces #undef with comments. This is necessary, for
110843 # example, in the case of _POSIX_SOURCE, which is predefined and required
110844 # on some systems where configure will not decide to define it.
110845 cat >>conftest.undefs <<\_ACEOF
110846 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
110847 _ACEOF
110849 # Break up conftest.defines because some shells have a limit on the size
110850 # of here documents, and old seds have small limits too (100 cmds).
110851 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
110852 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
110853 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
110854 echo ' :' >>$CONFIG_STATUS
110855 rm -f conftest.tail
110856 while grep . conftest.defines >/dev/null
110858 # Write a limited-size here document to $tmp/defines.sed.
110859 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
110860 # Speed up: don't consider the non `#define' lines.
110861 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
110862 # Work around the forget-to-reset-the-flag bug.
110863 echo 't clr' >>$CONFIG_STATUS
110864 echo ': clr' >>$CONFIG_STATUS
110865 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
110866 echo 'CEOF
110867 sed -f $tmp/defines.sed $tmp/in >$tmp/out
110868 rm -f $tmp/in
110869 mv $tmp/out $tmp/in
110870 ' >>$CONFIG_STATUS
110871 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
110872 rm -f conftest.defines
110873 mv conftest.tail conftest.defines
110875 rm -f conftest.defines
110876 echo ' fi # grep' >>$CONFIG_STATUS
110877 echo >>$CONFIG_STATUS
110879 # Break up conftest.undefs because some shells have a limit on the size
110880 # of here documents, and old seds have small limits too (100 cmds).
110881 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
110882 rm -f conftest.tail
110883 while grep . conftest.undefs >/dev/null
110885 # Write a limited-size here document to $tmp/undefs.sed.
110886 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
110887 # Speed up: don't consider the non `#undef'
110888 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
110889 # Work around the forget-to-reset-the-flag bug.
110890 echo 't clr' >>$CONFIG_STATUS
110891 echo ': clr' >>$CONFIG_STATUS
110892 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
110893 echo 'CEOF
110894 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
110895 rm -f $tmp/in
110896 mv $tmp/out $tmp/in
110897 ' >>$CONFIG_STATUS
110898 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
110899 rm -f conftest.undefs
110900 mv conftest.tail conftest.undefs
110902 rm -f conftest.undefs
110904 cat >>$CONFIG_STATUS <<\_ACEOF
110905 # Let's still pretend it is `configure' which instantiates (i.e., don't
110906 # use $as_me), people would be surprised to read:
110907 # /* config.h. Generated by config.status. */
110908 if test x"$ac_file" = x-; then
110909 echo "/* Generated by configure. */" >$tmp/config.h
110911 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
110913 cat $tmp/in >>$tmp/config.h
110914 rm -f $tmp/in
110915 if test x"$ac_file" != x-; then
110916 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
110917 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
110918 echo "$as_me: $ac_file is unchanged" >&6;}
110920 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110921 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110922 X"$ac_file" : 'X\(//\)[^/]' \| \
110923 X"$ac_file" : 'X\(//\)$' \| \
110924 X"$ac_file" : 'X\(/\)' \| \
110925 . : '\(.\)' 2>/dev/null ||
110926 echo X"$ac_file" |
110927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110928 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110929 /^X\(\/\/\)$/{ s//\1/; q; }
110930 /^X\(\/\).*/{ s//\1/; q; }
110931 s/.*/./; q'`
110932 { if $as_mkdir_p; then
110933 mkdir -p "$ac_dir"
110935 as_dir="$ac_dir"
110936 as_dirs=
110937 while test ! -d "$as_dir"; do
110938 as_dirs="$as_dir $as_dirs"
110939 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110941 X"$as_dir" : 'X\(//\)[^/]' \| \
110942 X"$as_dir" : 'X\(//\)$' \| \
110943 X"$as_dir" : 'X\(/\)' \| \
110944 . : '\(.\)' 2>/dev/null ||
110945 echo X"$as_dir" |
110946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110948 /^X\(\/\/\)$/{ s//\1/; q; }
110949 /^X\(\/\).*/{ s//\1/; q; }
110950 s/.*/./; q'`
110952 test ! -n "$as_dirs" || mkdir $as_dirs
110953 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110954 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110955 { (exit 1); exit 1; }; }; }
110957 rm -f $ac_file
110958 mv $tmp/config.h $ac_file
110961 cat $tmp/config.h
110962 rm -f $tmp/config.h
110964 # Compute $ac_file's index in $config_headers.
110965 _am_stamp_count=1
110966 for _am_header in $config_headers :; do
110967 case $_am_header in
110968 $ac_file | $ac_file:* )
110969 break ;;
110971 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
110974 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
110975 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110976 X$ac_file : 'X\(//\)[^/]' \| \
110977 X$ac_file : 'X\(//\)$' \| \
110978 X$ac_file : 'X\(/\)' \| \
110979 . : '\(.\)' 2>/dev/null ||
110980 echo X$ac_file |
110981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110982 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110983 /^X\(\/\/\)$/{ s//\1/; q; }
110984 /^X\(\/\).*/{ s//\1/; q; }
110985 s/.*/./; q'`/stamp-h$_am_stamp_count
110987 _ACEOF
110988 cat >>$CONFIG_STATUS <<\_ACEOF
110991 # CONFIG_COMMANDS section.
110993 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
110994 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
110995 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
110996 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
110997 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110998 X"$ac_dest" : 'X\(//\)[^/]' \| \
110999 X"$ac_dest" : 'X\(//\)$' \| \
111000 X"$ac_dest" : 'X\(/\)' \| \
111001 . : '\(.\)' 2>/dev/null ||
111002 echo X"$ac_dest" |
111003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111004 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111005 /^X\(\/\/\)$/{ s//\1/; q; }
111006 /^X\(\/\).*/{ s//\1/; q; }
111007 s/.*/./; q'`
111008 { if $as_mkdir_p; then
111009 mkdir -p "$ac_dir"
111011 as_dir="$ac_dir"
111012 as_dirs=
111013 while test ! -d "$as_dir"; do
111014 as_dirs="$as_dir $as_dirs"
111015 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111017 X"$as_dir" : 'X\(//\)[^/]' \| \
111018 X"$as_dir" : 'X\(//\)$' \| \
111019 X"$as_dir" : 'X\(/\)' \| \
111020 . : '\(.\)' 2>/dev/null ||
111021 echo X"$as_dir" |
111022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111024 /^X\(\/\/\)$/{ s//\1/; q; }
111025 /^X\(\/\).*/{ s//\1/; q; }
111026 s/.*/./; q'`
111028 test ! -n "$as_dirs" || mkdir $as_dirs
111029 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111030 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111031 { (exit 1); exit 1; }; }; }
111033 ac_builddir=.
111035 if test "$ac_dir" != .; then
111036 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111037 # A "../" for each directory in $ac_dir_suffix.
111038 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111040 ac_dir_suffix= ac_top_builddir=
111043 case $srcdir in
111044 .) # No --srcdir option. We are building in place.
111045 ac_srcdir=.
111046 if test -z "$ac_top_builddir"; then
111047 ac_top_srcdir=.
111049 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111050 fi ;;
111051 [\\/]* | ?:[\\/]* ) # Absolute path.
111052 ac_srcdir=$srcdir$ac_dir_suffix;
111053 ac_top_srcdir=$srcdir ;;
111054 *) # Relative path.
111055 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111056 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111059 # Do not use `cd foo && pwd` to compute absolute paths, because
111060 # the directories may not exist.
111061 case `pwd` in
111062 .) ac_abs_builddir="$ac_dir";;
111064 case "$ac_dir" in
111065 .) ac_abs_builddir=`pwd`;;
111066 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111067 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111068 esac;;
111070 case $ac_abs_builddir in
111071 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111073 case ${ac_top_builddir}. in
111074 .) ac_abs_top_builddir=$ac_abs_builddir;;
111075 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111076 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111077 esac;;
111079 case $ac_abs_builddir in
111080 .) ac_abs_srcdir=$ac_srcdir;;
111082 case $ac_srcdir in
111083 .) ac_abs_srcdir=$ac_abs_builddir;;
111084 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111085 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111086 esac;;
111088 case $ac_abs_builddir in
111089 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111091 case $ac_top_srcdir in
111092 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111093 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111094 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111095 esac;;
111099 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111100 echo "$as_me: executing $ac_dest commands" >&6;}
111101 case $ac_dest in
111102 default-1 )
111103 # Only add multilib support code if we just rebuilt the top-level
111104 # Makefile.
111105 case " $CONFIG_FILES " in
111106 *" Makefile "*)
111107 ac_file=Makefile . ${multi_basedir}/config-ml.in
111109 esac ;;
111110 libtool )
111112 # See if we are running on zsh, and set the options which allow our
111113 # commands through without removal of \ escapes.
111114 if test -n "${ZSH_VERSION+set}" ; then
111115 setopt NO_GLOB_SUBST
111118 cfgfile="${ofile}T"
111119 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
111120 $RM "$cfgfile"
111122 cat <<_LT_EOF >> "$cfgfile"
111123 #! $SHELL
111125 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
111126 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
111127 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
111128 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
111130 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
111131 # 2006, 2007, 2008 Free Software Foundation, Inc.
111132 # Written by Gordon Matzigkeit, 1996
111134 # This file is part of GNU Libtool.
111136 # GNU Libtool is free software; you can redistribute it and/or
111137 # modify it under the terms of the GNU General Public License as
111138 # published by the Free Software Foundation; either version 2 of
111139 # the License, or (at your option) any later version.
111141 # As a special exception to the GNU General Public License,
111142 # if you distribute this file as part of a program or library that
111143 # is built using GNU Libtool, you may include this file under the
111144 # same distribution terms that you use for the rest of that program.
111146 # GNU Libtool is distributed in the hope that it will be useful,
111147 # but WITHOUT ANY WARRANTY; without even the implied warranty of
111148 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
111149 # GNU General Public License for more details.
111151 # You should have received a copy of the GNU General Public License
111152 # along with GNU Libtool; see the file COPYING. If not, a copy
111153 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
111154 # obtained by writing to the Free Software Foundation, Inc.,
111155 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
111158 # The names of the tagged configurations supported by this script.
111159 available_tags="CXX "
111161 # ### BEGIN LIBTOOL CONFIG
111163 # Which release of libtool.m4 was used?
111164 macro_version=$macro_version
111165 macro_revision=$macro_revision
111167 # Whether or not to build shared libraries.
111168 build_libtool_libs=$enable_shared
111170 # Whether or not to build static libraries.
111171 build_old_libs=$enable_static
111173 # What type of objects to build.
111174 pic_mode=$pic_mode
111176 # Whether or not to optimize for fast installation.
111177 fast_install=$enable_fast_install
111179 # The host system.
111180 host_alias=$host_alias
111181 host=$host
111182 host_os=$host_os
111184 # The build system.
111185 build_alias=$build_alias
111186 build=$build
111187 build_os=$build_os
111189 # A sed program that does not truncate output.
111190 SED=$lt_SED
111192 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
111193 Xsed="\$SED -e 1s/^X//"
111195 # A grep program that handles long lines.
111196 GREP=$lt_GREP
111198 # An ERE matcher.
111199 EGREP=$lt_EGREP
111201 # A literal string matcher.
111202 FGREP=$lt_FGREP
111204 # A BSD- or MS-compatible name lister.
111205 NM=$lt_NM
111207 # Whether we need soft or hard links.
111208 LN_S=$lt_LN_S
111210 # What is the maximum length of a command?
111211 max_cmd_len=$max_cmd_len
111213 # Object file suffix (normally "o").
111214 objext=$ac_objext
111216 # Executable file suffix (normally "").
111217 exeext=$exeext
111219 # whether the shell understands "unset".
111220 lt_unset=$lt_unset
111222 # turn spaces into newlines.
111223 SP2NL=$lt_lt_SP2NL
111225 # turn newlines into spaces.
111226 NL2SP=$lt_lt_NL2SP
111228 # How to create reloadable object files.
111229 reload_flag=$lt_reload_flag
111230 reload_cmds=$lt_reload_cmds
111232 # An object symbol dumper.
111233 OBJDUMP=$lt_OBJDUMP
111235 # Method to check whether dependent libraries are shared objects.
111236 deplibs_check_method=$lt_deplibs_check_method
111238 # Command to use when deplibs_check_method == "file_magic".
111239 file_magic_cmd=$lt_file_magic_cmd
111241 # The archiver.
111242 AR=$lt_AR
111243 AR_FLAGS=$lt_AR_FLAGS
111245 # A symbol stripping program.
111246 STRIP=$lt_STRIP
111248 # Commands used to install an old-style archive.
111249 RANLIB=$lt_RANLIB
111250 old_postinstall_cmds=$lt_old_postinstall_cmds
111251 old_postuninstall_cmds=$lt_old_postuninstall_cmds
111253 # A C compiler.
111254 LTCC=$lt_CC
111256 # LTCC compiler flags.
111257 LTCFLAGS=$lt_CFLAGS
111259 # Take the output of nm and produce a listing of raw symbols and C names.
111260 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
111262 # Transform the output of nm in a proper C declaration.
111263 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
111265 # Transform the output of nm in a C name address pair.
111266 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
111268 # Transform the output of nm in a C name address pair when lib prefix is needed.
111269 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
111271 # The name of the directory that contains temporary libtool files.
111272 objdir=$objdir
111274 # Shell to use when invoking shell scripts.
111275 SHELL=$lt_SHELL
111277 # An echo program that does not interpret backslashes.
111278 ECHO=$lt_ECHO
111280 # Used to examine libraries when file_magic_cmd begins with "file".
111281 MAGIC_CMD=$MAGIC_CMD
111283 # Must we lock files when doing compilation?
111284 need_locks=$lt_need_locks
111286 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
111287 DSYMUTIL=$lt_DSYMUTIL
111289 # Tool to change global to local symbols on Mac OS X.
111290 NMEDIT=$lt_NMEDIT
111292 # Tool to manipulate fat objects and archives on Mac OS X.
111293 LIPO=$lt_LIPO
111295 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
111296 OTOOL=$lt_OTOOL
111298 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
111299 OTOOL64=$lt_OTOOL64
111301 # Old archive suffix (normally "a").
111302 libext=$libext
111304 # Shared library suffix (normally ".so").
111305 shrext_cmds=$lt_shrext_cmds
111307 # The commands to extract the exported symbol list from a shared archive.
111308 extract_expsyms_cmds=$lt_extract_expsyms_cmds
111310 # Variables whose values should be saved in libtool wrapper scripts and
111311 # restored at link time.
111312 variables_saved_for_relink=$lt_variables_saved_for_relink
111314 # Do we need the "lib" prefix for modules?
111315 need_lib_prefix=$need_lib_prefix
111317 # Do we need a version for libraries?
111318 need_version=$need_version
111320 # Library versioning type.
111321 version_type=$version_type
111323 # Shared library runtime path variable.
111324 runpath_var=$runpath_var
111326 # Shared library path variable.
111327 shlibpath_var=$shlibpath_var
111329 # Is shlibpath searched before the hard-coded library search path?
111330 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
111332 # Format of library name prefix.
111333 libname_spec=$lt_libname_spec
111335 # List of archive names. First name is the real one, the rest are links.
111336 # The last name is the one that the linker finds with -lNAME
111337 library_names_spec=$lt_library_names_spec
111339 # The coded name of the library, if different from the real name.
111340 soname_spec=$lt_soname_spec
111342 # Command to use after installation of a shared archive.
111343 postinstall_cmds=$lt_postinstall_cmds
111345 # Command to use after uninstallation of a shared archive.
111346 postuninstall_cmds=$lt_postuninstall_cmds
111348 # Commands used to finish a libtool library installation in a directory.
111349 finish_cmds=$lt_finish_cmds
111351 # As "finish_cmds", except a single script fragment to be evaled but
111352 # not shown.
111353 finish_eval=$lt_finish_eval
111355 # Whether we should hardcode library paths into libraries.
111356 hardcode_into_libs=$hardcode_into_libs
111358 # Compile-time system search path for libraries.
111359 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
111361 # Run-time system search path for libraries.
111362 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
111364 # Whether dlopen is supported.
111365 dlopen_support=$enable_dlopen
111367 # Whether dlopen of programs is supported.
111368 dlopen_self=$enable_dlopen_self
111370 # Whether dlopen of statically linked programs is supported.
111371 dlopen_self_static=$enable_dlopen_self_static
111373 # Commands to strip libraries.
111374 old_striplib=$lt_old_striplib
111375 striplib=$lt_striplib
111378 # The linker used to build libraries.
111379 LD=$lt_LD
111381 # Commands used to build an old-style archive.
111382 old_archive_cmds=$lt_old_archive_cmds
111384 # A language specific compiler.
111385 CC=$lt_compiler
111387 # Is the compiler the GNU compiler?
111388 with_gcc=$GCC
111390 # Compiler flag to turn off builtin functions.
111391 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
111393 # How to pass a linker flag through the compiler.
111394 wl=$lt_lt_prog_compiler_wl
111396 # Additional compiler flags for building library objects.
111397 pic_flag=$lt_lt_prog_compiler_pic
111399 # Compiler flag to prevent dynamic linking.
111400 link_static_flag=$lt_lt_prog_compiler_static
111402 # Does compiler simultaneously support -c and -o options?
111403 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
111405 # Whether or not to add -lc for building shared libraries.
111406 build_libtool_need_lc=$archive_cmds_need_lc
111408 # Whether or not to disallow shared libs when runtime libs are static.
111409 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
111411 # Compiler flag to allow reflexive dlopens.
111412 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
111414 # Compiler flag to generate shared objects directly from archives.
111415 whole_archive_flag_spec=$lt_whole_archive_flag_spec
111417 # Whether the compiler copes with passing no objects directly.
111418 compiler_needs_object=$lt_compiler_needs_object
111420 # Create an old-style archive from a shared archive.
111421 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
111423 # Create a temporary old-style archive to link instead of a shared archive.
111424 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
111426 # Commands used to build a shared archive.
111427 archive_cmds=$lt_archive_cmds
111428 archive_expsym_cmds=$lt_archive_expsym_cmds
111430 # Commands used to build a loadable module if different from building
111431 # a shared archive.
111432 module_cmds=$lt_module_cmds
111433 module_expsym_cmds=$lt_module_expsym_cmds
111435 # Whether we are building with GNU ld or not.
111436 with_gnu_ld=$lt_with_gnu_ld
111438 # Flag that allows shared libraries with undefined symbols to be built.
111439 allow_undefined_flag=$lt_allow_undefined_flag
111441 # Flag that enforces no undefined symbols.
111442 no_undefined_flag=$lt_no_undefined_flag
111444 # Flag to hardcode \$libdir into a binary during linking.
111445 # This must work even if \$libdir does not exist
111446 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
111448 # If ld is used when linking, flag to hardcode \$libdir into a binary
111449 # during linking. This must work even if \$libdir does not exist.
111450 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
111452 # Whether we need a single "-rpath" flag with a separated argument.
111453 hardcode_libdir_separator=$lt_hardcode_libdir_separator
111455 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111456 # DIR into the resulting binary.
111457 hardcode_direct=$hardcode_direct
111459 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111460 # DIR into the resulting binary and the resulting library dependency is
111461 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
111462 # library is relocated.
111463 hardcode_direct_absolute=$hardcode_direct_absolute
111465 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
111466 # into the resulting binary.
111467 hardcode_minus_L=$hardcode_minus_L
111469 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
111470 # into the resulting binary.
111471 hardcode_shlibpath_var=$hardcode_shlibpath_var
111473 # Set to "yes" if building a shared library automatically hardcodes DIR
111474 # into the library and all subsequent libraries and executables linked
111475 # against it.
111476 hardcode_automatic=$hardcode_automatic
111478 # Set to yes if linker adds runtime paths of dependent libraries
111479 # to runtime path list.
111480 inherit_rpath=$inherit_rpath
111482 # Whether libtool must link a program against all its dependency libraries.
111483 link_all_deplibs=$link_all_deplibs
111485 # Fix the shell variable \$srcfile for the compiler.
111486 fix_srcfile_path=$lt_fix_srcfile_path
111488 # Set to "yes" if exported symbols are required.
111489 always_export_symbols=$always_export_symbols
111491 # The commands to list exported symbols.
111492 export_symbols_cmds=$lt_export_symbols_cmds
111494 # Symbols that should not be listed in the preloaded symbols.
111495 exclude_expsyms=$lt_exclude_expsyms
111497 # Symbols that must always be exported.
111498 include_expsyms=$lt_include_expsyms
111500 # Commands necessary for linking programs (against libraries) with templates.
111501 prelink_cmds=$lt_prelink_cmds
111503 # Specify filename containing input files.
111504 file_list_spec=$lt_file_list_spec
111506 # How to hardcode a shared library path into an executable.
111507 hardcode_action=$hardcode_action
111509 # The directories searched by this compiler when creating a shared library.
111510 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
111512 # Dependencies to place before and after the objects being linked to
111513 # create a shared library.
111514 predep_objects=$lt_predep_objects
111515 postdep_objects=$lt_postdep_objects
111516 predeps=$lt_predeps
111517 postdeps=$lt_postdeps
111519 # The library search path used internally by the compiler when linking
111520 # a shared library.
111521 compiler_lib_search_path=$lt_compiler_lib_search_path
111523 # ### END LIBTOOL CONFIG
111525 _LT_EOF
111527 case $host_os in
111528 aix3*)
111529 cat <<\_LT_EOF >> "$cfgfile"
111530 # AIX sometimes has problems with the GCC collect2 program. For some
111531 # reason, if we set the COLLECT_NAMES environment variable, the problems
111532 # vanish in a puff of smoke.
111533 if test "X${COLLECT_NAMES+set}" != Xset; then
111534 COLLECT_NAMES=
111535 export COLLECT_NAMES
111537 _LT_EOF
111542 ltmain="$ac_aux_dir/ltmain.sh"
111545 # We use sed instead of cat because bash on DJGPP gets confused if
111546 # if finds mixed CR/LF and LF-only lines. Since sed operates in
111547 # text mode, it properly converts lines to CR/LF. This bash problem
111548 # is reportedly fixed, but why not run on old versions too?
111549 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
111550 || (rm -f "$cfgfile"; exit 1)
111552 case $xsi_shell in
111554 cat << \_LT_EOF >> "$cfgfile"
111556 # func_dirname file append nondir_replacement
111557 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
111558 # otherwise set result to NONDIR_REPLACEMENT.
111559 func_dirname ()
111561 case ${1} in
111562 */*) func_dirname_result="${1%/*}${2}" ;;
111563 * ) func_dirname_result="${3}" ;;
111567 # func_basename file
111568 func_basename ()
111570 func_basename_result="${1##*/}"
111573 # func_dirname_and_basename file append nondir_replacement
111574 # perform func_basename and func_dirname in a single function
111575 # call:
111576 # dirname: Compute the dirname of FILE. If nonempty,
111577 # add APPEND to the result, otherwise set result
111578 # to NONDIR_REPLACEMENT.
111579 # value returned in "$func_dirname_result"
111580 # basename: Compute filename of FILE.
111581 # value retuned in "$func_basename_result"
111582 # Implementation must be kept synchronized with func_dirname
111583 # and func_basename. For efficiency, we do not delegate to
111584 # those functions but instead duplicate the functionality here.
111585 func_dirname_and_basename ()
111587 case ${1} in
111588 */*) func_dirname_result="${1%/*}${2}" ;;
111589 * ) func_dirname_result="${3}" ;;
111591 func_basename_result="${1##*/}"
111594 # func_stripname prefix suffix name
111595 # strip PREFIX and SUFFIX off of NAME.
111596 # PREFIX and SUFFIX must not contain globbing or regex special
111597 # characters, hashes, percent signs, but SUFFIX may contain a leading
111598 # dot (in which case that matches only a dot).
111599 func_stripname ()
111601 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
111602 # positional parameters, so assign one to ordinary parameter first.
111603 func_stripname_result=${3}
111604 func_stripname_result=${func_stripname_result#"${1}"}
111605 func_stripname_result=${func_stripname_result%"${2}"}
111608 # func_opt_split
111609 func_opt_split ()
111611 func_opt_split_opt=${1%%=*}
111612 func_opt_split_arg=${1#*=}
111615 # func_lo2o object
111616 func_lo2o ()
111618 case ${1} in
111619 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
111620 *) func_lo2o_result=${1} ;;
111624 # func_xform libobj-or-source
111625 func_xform ()
111627 func_xform_result=${1%.*}.lo
111630 # func_arith arithmetic-term...
111631 func_arith ()
111633 func_arith_result=$(( $* ))
111636 # func_len string
111637 # STRING may not start with a hyphen.
111638 func_len ()
111640 func_len_result=${#1}
111643 _LT_EOF
111645 *) # Bourne compatible functions.
111646 cat << \_LT_EOF >> "$cfgfile"
111648 # func_dirname file append nondir_replacement
111649 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
111650 # otherwise set result to NONDIR_REPLACEMENT.
111651 func_dirname ()
111653 # Extract subdirectory from the argument.
111654 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
111655 if test "X$func_dirname_result" = "X${1}"; then
111656 func_dirname_result="${3}"
111658 func_dirname_result="$func_dirname_result${2}"
111662 # func_basename file
111663 func_basename ()
111665 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
111669 # func_stripname prefix suffix name
111670 # strip PREFIX and SUFFIX off of NAME.
111671 # PREFIX and SUFFIX must not contain globbing or regex special
111672 # characters, hashes, percent signs, but SUFFIX may contain a leading
111673 # dot (in which case that matches only a dot).
111674 # func_strip_suffix prefix name
111675 func_stripname ()
111677 case ${2} in
111678 .*) func_stripname_result=`$ECHO "X${3}" \
111679 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
111680 *) func_stripname_result=`$ECHO "X${3}" \
111681 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
111685 # sed scripts:
111686 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
111687 my_sed_long_arg='1s/^-[^=]*=//'
111689 # func_opt_split
111690 func_opt_split ()
111692 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
111693 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
111696 # func_lo2o object
111697 func_lo2o ()
111699 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
111702 # func_xform libobj-or-source
111703 func_xform ()
111705 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
111708 # func_arith arithmetic-term...
111709 func_arith ()
111711 func_arith_result=`expr "$@"`
111714 # func_len string
111715 # STRING may not start with a hyphen.
111716 func_len ()
111718 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
111721 _LT_EOF
111724 case $lt_shell_append in
111726 cat << \_LT_EOF >> "$cfgfile"
111728 # func_append var value
111729 # Append VALUE to the end of shell variable VAR.
111730 func_append ()
111732 eval "$1+=\$2"
111734 _LT_EOF
111737 cat << \_LT_EOF >> "$cfgfile"
111739 # func_append var value
111740 # Append VALUE to the end of shell variable VAR.
111741 func_append ()
111743 eval "$1=\$$1\$2"
111746 _LT_EOF
111751 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
111752 || (rm -f "$cfgfile"; exit 1)
111754 mv -f "$cfgfile" "$ofile" ||
111755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
111756 chmod +x "$ofile"
111759 cat <<_LT_EOF >> "$ofile"
111761 # ### BEGIN LIBTOOL TAG CONFIG: CXX
111763 # The linker used to build libraries.
111764 LD=$lt_LD_CXX
111766 # Commands used to build an old-style archive.
111767 old_archive_cmds=$lt_old_archive_cmds_CXX
111769 # A language specific compiler.
111770 CC=$lt_compiler_CXX
111772 # Is the compiler the GNU compiler?
111773 with_gcc=$GCC_CXX
111775 # Compiler flag to turn off builtin functions.
111776 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
111778 # How to pass a linker flag through the compiler.
111779 wl=$lt_lt_prog_compiler_wl_CXX
111781 # Additional compiler flags for building library objects.
111782 pic_flag=$lt_lt_prog_compiler_pic_CXX
111784 # Compiler flag to prevent dynamic linking.
111785 link_static_flag=$lt_lt_prog_compiler_static_CXX
111787 # Does compiler simultaneously support -c and -o options?
111788 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
111790 # Whether or not to add -lc for building shared libraries.
111791 build_libtool_need_lc=$archive_cmds_need_lc_CXX
111793 # Whether or not to disallow shared libs when runtime libs are static.
111794 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
111796 # Compiler flag to allow reflexive dlopens.
111797 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
111799 # Compiler flag to generate shared objects directly from archives.
111800 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
111802 # Whether the compiler copes with passing no objects directly.
111803 compiler_needs_object=$lt_compiler_needs_object_CXX
111805 # Create an old-style archive from a shared archive.
111806 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
111808 # Create a temporary old-style archive to link instead of a shared archive.
111809 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
111811 # Commands used to build a shared archive.
111812 archive_cmds=$lt_archive_cmds_CXX
111813 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
111815 # Commands used to build a loadable module if different from building
111816 # a shared archive.
111817 module_cmds=$lt_module_cmds_CXX
111818 module_expsym_cmds=$lt_module_expsym_cmds_CXX
111820 # Whether we are building with GNU ld or not.
111821 with_gnu_ld=$lt_with_gnu_ld_CXX
111823 # Flag that allows shared libraries with undefined symbols to be built.
111824 allow_undefined_flag=$lt_allow_undefined_flag_CXX
111826 # Flag that enforces no undefined symbols.
111827 no_undefined_flag=$lt_no_undefined_flag_CXX
111829 # Flag to hardcode \$libdir into a binary during linking.
111830 # This must work even if \$libdir does not exist
111831 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
111833 # If ld is used when linking, flag to hardcode \$libdir into a binary
111834 # during linking. This must work even if \$libdir does not exist.
111835 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
111837 # Whether we need a single "-rpath" flag with a separated argument.
111838 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
111840 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111841 # DIR into the resulting binary.
111842 hardcode_direct=$hardcode_direct_CXX
111844 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111845 # DIR into the resulting binary and the resulting library dependency is
111846 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
111847 # library is relocated.
111848 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
111850 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
111851 # into the resulting binary.
111852 hardcode_minus_L=$hardcode_minus_L_CXX
111854 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
111855 # into the resulting binary.
111856 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
111858 # Set to "yes" if building a shared library automatically hardcodes DIR
111859 # into the library and all subsequent libraries and executables linked
111860 # against it.
111861 hardcode_automatic=$hardcode_automatic_CXX
111863 # Set to yes if linker adds runtime paths of dependent libraries
111864 # to runtime path list.
111865 inherit_rpath=$inherit_rpath_CXX
111867 # Whether libtool must link a program against all its dependency libraries.
111868 link_all_deplibs=$link_all_deplibs_CXX
111870 # Fix the shell variable \$srcfile for the compiler.
111871 fix_srcfile_path=$lt_fix_srcfile_path_CXX
111873 # Set to "yes" if exported symbols are required.
111874 always_export_symbols=$always_export_symbols_CXX
111876 # The commands to list exported symbols.
111877 export_symbols_cmds=$lt_export_symbols_cmds_CXX
111879 # Symbols that should not be listed in the preloaded symbols.
111880 exclude_expsyms=$lt_exclude_expsyms_CXX
111882 # Symbols that must always be exported.
111883 include_expsyms=$lt_include_expsyms_CXX
111885 # Commands necessary for linking programs (against libraries) with templates.
111886 prelink_cmds=$lt_prelink_cmds_CXX
111888 # Specify filename containing input files.
111889 file_list_spec=$lt_file_list_spec_CXX
111891 # How to hardcode a shared library path into an executable.
111892 hardcode_action=$hardcode_action_CXX
111894 # The directories searched by this compiler when creating a shared library.
111895 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
111897 # Dependencies to place before and after the objects being linked to
111898 # create a shared library.
111899 predep_objects=$lt_predep_objects_CXX
111900 postdep_objects=$lt_postdep_objects_CXX
111901 predeps=$lt_predeps_CXX
111902 postdeps=$lt_postdeps_CXX
111904 # The library search path used internally by the compiler when linking
111905 # a shared library.
111906 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
111908 # ### END LIBTOOL TAG CONFIG: CXX
111909 _LT_EOF
111912 include/gstdint.h )
111913 if test "$GCC" = yes; then
111914 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
111916 echo "/* generated for $CC */" > tmp-stdint.h
111919 sed 's/^ *//' >> tmp-stdint.h <<EOF
111921 #ifndef GCC_GENERATED_STDINT_H
111922 #define GCC_GENERATED_STDINT_H 1
111924 #include <sys/types.h>
111927 if test "$acx_cv_header_stdint" != stdint.h; then
111928 echo "#include <stddef.h>" >> tmp-stdint.h
111930 if test "$acx_cv_header_stdint" != stddef.h; then
111931 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
111934 sed 's/^ *//' >> tmp-stdint.h <<EOF
111935 /* glibc uses these symbols as guards to prevent redefinitions. */
111936 #ifdef __int8_t_defined
111937 #define _INT8_T
111938 #define _INT16_T
111939 #define _INT32_T
111940 #endif
111941 #ifdef __uint32_t_defined
111942 #define _UINT32_T
111943 #endif
111947 # ----------------- done header, emit basic int types -------------
111948 if test "$acx_cv_header_stdint" = stddef.h; then
111949 sed 's/^ *//' >> tmp-stdint.h <<EOF
111951 #ifndef _UINT8_T
111952 #define _UINT8_T
111953 #ifndef __uint8_t_defined
111954 #define __uint8_t_defined
111955 typedef unsigned $acx_cv_type_int8_t uint8_t;
111956 #endif
111957 #endif
111959 #ifndef _UINT16_T
111960 #define _UINT16_T
111961 #ifndef __uint16_t_defined
111962 #define __uint16_t_defined
111963 typedef unsigned $acx_cv_type_int16_t uint16_t;
111964 #endif
111965 #endif
111967 #ifndef _UINT32_T
111968 #define _UINT32_T
111969 #ifndef __uint32_t_defined
111970 #define __uint32_t_defined
111971 typedef unsigned $acx_cv_type_int32_t uint32_t;
111972 #endif
111973 #endif
111975 #ifndef _INT8_T
111976 #define _INT8_T
111977 #ifndef __int8_t_defined
111978 #define __int8_t_defined
111979 typedef $acx_cv_type_int8_t int8_t;
111980 #endif
111981 #endif
111983 #ifndef _INT16_T
111984 #define _INT16_T
111985 #ifndef __int16_t_defined
111986 #define __int16_t_defined
111987 typedef $acx_cv_type_int16_t int16_t;
111988 #endif
111989 #endif
111991 #ifndef _INT32_T
111992 #define _INT32_T
111993 #ifndef __int32_t_defined
111994 #define __int32_t_defined
111995 typedef $acx_cv_type_int32_t int32_t;
111996 #endif
111997 #endif
111999 elif test "$ac_cv_type_u_int32_t" = yes; then
112000 sed 's/^ *//' >> tmp-stdint.h <<EOF
112002 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
112003 #ifndef _INT8_T
112004 #define _INT8_T
112005 #endif
112006 #ifndef _INT16_T
112007 #define _INT16_T
112008 #endif
112009 #ifndef _INT32_T
112010 #define _INT32_T
112011 #endif
112013 #ifndef _UINT8_T
112014 #define _UINT8_T
112015 #ifndef __uint8_t_defined
112016 #define __uint8_t_defined
112017 typedef u_int8_t uint8_t;
112018 #endif
112019 #endif
112021 #ifndef _UINT16_T
112022 #define _UINT16_T
112023 #ifndef __uint16_t_defined
112024 #define __uint16_t_defined
112025 typedef u_int16_t uint16_t;
112026 #endif
112027 #endif
112029 #ifndef _UINT32_T
112030 #define _UINT32_T
112031 #ifndef __uint32_t_defined
112032 #define __uint32_t_defined
112033 typedef u_int32_t uint32_t;
112034 #endif
112035 #endif
112038 sed 's/^ *//' >> tmp-stdint.h <<EOF
112040 /* Some systems have guard macros to prevent redefinitions, define them. */
112041 #ifndef _INT8_T
112042 #define _INT8_T
112043 #endif
112044 #ifndef _INT16_T
112045 #define _INT16_T
112046 #endif
112047 #ifndef _INT32_T
112048 #define _INT32_T
112049 #endif
112050 #ifndef _UINT8_T
112051 #define _UINT8_T
112052 #endif
112053 #ifndef _UINT16_T
112054 #define _UINT16_T
112055 #endif
112056 #ifndef _UINT32_T
112057 #define _UINT32_T
112058 #endif
112062 # ------------- done basic int types, emit int64_t types ------------
112063 if test "$ac_cv_type_uint64_t" = yes; then
112064 sed 's/^ *//' >> tmp-stdint.h <<EOF
112066 /* system headers have good uint64_t and int64_t */
112067 #ifndef _INT64_T
112068 #define _INT64_T
112069 #endif
112070 #ifndef _UINT64_T
112071 #define _UINT64_T
112072 #endif
112074 elif test "$ac_cv_type_u_int64_t" = yes; then
112075 sed 's/^ *//' >> tmp-stdint.h <<EOF
112077 /* system headers have an u_int64_t (and int64_t) */
112078 #ifndef _INT64_T
112079 #define _INT64_T
112080 #endif
112081 #ifndef _UINT64_T
112082 #define _UINT64_T
112083 #ifndef __uint64_t_defined
112084 #define __uint64_t_defined
112085 typedef u_int64_t uint64_t;
112086 #endif
112087 #endif
112089 elif test -n "$acx_cv_type_int64_t"; then
112090 sed 's/^ *//' >> tmp-stdint.h <<EOF
112092 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
112093 #ifndef _INT64_T
112094 #define _INT64_T
112095 typedef $acx_cv_type_int64_t int64_t;
112096 #endif
112097 #ifndef _UINT64_T
112098 #define _UINT64_T
112099 #ifndef __uint64_t_defined
112100 #define __uint64_t_defined
112101 typedef unsigned $acx_cv_type_int64_t uint64_t;
112102 #endif
112103 #endif
112106 sed 's/^ *//' >> tmp-stdint.h <<EOF
112108 /* some common heuristics for int64_t, using compiler-specific tests */
112109 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
112110 #ifndef _INT64_T
112111 #define _INT64_T
112112 #ifndef __int64_t_defined
112113 typedef long long int64_t;
112114 #endif
112115 #endif
112116 #ifndef _UINT64_T
112117 #define _UINT64_T
112118 typedef unsigned long long uint64_t;
112119 #endif
112121 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
112122 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
112123 does not implement __extension__. But that compiler doesn't define
112124 __GNUC_MINOR__. */
112125 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
112126 # define __extension__
112127 # endif
112129 # ifndef _INT64_T
112130 # define _INT64_T
112131 __extension__ typedef long long int64_t;
112132 # endif
112133 # ifndef _UINT64_T
112134 # define _UINT64_T
112135 __extension__ typedef unsigned long long uint64_t;
112136 # endif
112138 #elif !defined __STRICT_ANSI__
112139 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
112141 # ifndef _INT64_T
112142 # define _INT64_T
112143 typedef __int64 int64_t;
112144 # endif
112145 # ifndef _UINT64_T
112146 # define _UINT64_T
112147 typedef unsigned __int64 uint64_t;
112148 # endif
112149 # endif /* compiler */
112151 #endif /* ANSI version */
112155 # ------------- done int64_t types, emit intptr types ------------
112156 if test "$ac_cv_type_uintptr_t" != yes; then
112157 sed 's/^ *//' >> tmp-stdint.h <<EOF
112159 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
112160 #ifndef __uintptr_t_defined
112161 typedef u$acx_cv_type_intptr_t uintptr_t;
112162 #endif
112163 #ifndef __intptr_t_defined
112164 typedef $acx_cv_type_intptr_t intptr_t;
112165 #endif
112169 # ------------- done intptr types, emit int_least types ------------
112170 if test "$ac_cv_type_int_least32_t" != yes; then
112171 sed 's/^ *//' >> tmp-stdint.h <<EOF
112173 /* Define int_least types */
112174 typedef int8_t int_least8_t;
112175 typedef int16_t int_least16_t;
112176 typedef int32_t int_least32_t;
112177 #ifdef _INT64_T
112178 typedef int64_t int_least64_t;
112179 #endif
112181 typedef uint8_t uint_least8_t;
112182 typedef uint16_t uint_least16_t;
112183 typedef uint32_t uint_least32_t;
112184 #ifdef _UINT64_T
112185 typedef uint64_t uint_least64_t;
112186 #endif
112190 # ------------- done intptr types, emit int_fast types ------------
112191 if test "$ac_cv_type_int_fast32_t" != yes; then
112192 sed 's/^ *//' >> tmp-stdint.h <<EOF
112194 /* Define int_fast types. short is often slow */
112195 typedef int8_t int_fast8_t;
112196 typedef int int_fast16_t;
112197 typedef int32_t int_fast32_t;
112198 #ifdef _INT64_T
112199 typedef int64_t int_fast64_t;
112200 #endif
112202 typedef uint8_t uint_fast8_t;
112203 typedef unsigned int uint_fast16_t;
112204 typedef uint32_t uint_fast32_t;
112205 #ifdef _UINT64_T
112206 typedef uint64_t uint_fast64_t;
112207 #endif
112211 if test "$ac_cv_type_uintmax_t" != yes; then
112212 sed 's/^ *//' >> tmp-stdint.h <<EOF
112214 /* Define intmax based on what we found */
112215 #ifdef _INT64_T
112216 typedef int64_t intmax_t;
112217 #else
112218 typedef long intmax_t;
112219 #endif
112220 #ifdef _UINT64_T
112221 typedef uint64_t uintmax_t;
112222 #else
112223 typedef unsigned long uintmax_t;
112224 #endif
112228 sed 's/^ *//' >> tmp-stdint.h <<EOF
112230 #endif /* GCC_GENERATED_STDINT_H */
112233 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
112234 rm -f tmp-stdint.h
112236 mv -f tmp-stdint.h include/gstdint.h
112240 default ) if test -n "$CONFIG_FILES"; then
112241 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
112242 # that multilib installs will end up installed in the correct place.
112243 # The testsuite needs it for multilib-aware ABI baseline files.
112244 # To work around this not being passed down from config-ml.in ->
112245 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
112246 # append it here. Only modify Makefiles that have just been created.
112248 # Also, get rid of this simulated-VPATH thing that automake does.
112249 cat > vpsed << \_EOF
112250 s!`test -f '$<' || echo '$(srcdir)/'`!!
112252 for i in $SUBDIRS; do
112253 case $CONFIG_FILES in
112254 *${i}/Makefile*)
112255 #echo "Adding MULTISUBDIR to $i/Makefile"
112256 sed -f vpsed $i/Makefile > tmp
112257 grep '^MULTISUBDIR =' Makefile >> tmp
112258 mv tmp $i/Makefile
112262 rm vpsed
112264 (cd include && ${MAKE-make})
112268 _ACEOF
112270 cat >>$CONFIG_STATUS <<\_ACEOF
112272 { (exit 0); exit 0; }
112273 _ACEOF
112274 chmod +x $CONFIG_STATUS
112275 ac_clean_files=$ac_clean_files_save
112278 # configure is writing to config.log, and then calls config.status.
112279 # config.status does its own redirection, appending to config.log.
112280 # Unfortunately, on DOS this fails, as config.log is still kept open
112281 # by configure, so config.status won't be able to write to it; its
112282 # output is simply discarded. So we exec the FD to /dev/null,
112283 # effectively closing config.log, so it can be properly (re)opened and
112284 # appended to by config.status. When coming back to configure, we
112285 # need to make the FD available again.
112286 if test "$no_create" != yes; then
112287 ac_cs_success=:
112288 ac_config_status_args=
112289 test "$silent" = yes &&
112290 ac_config_status_args="$ac_config_status_args --quiet"
112291 exec 5>/dev/null
112292 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
112293 exec 5>>config.log
112294 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
112295 # would make configure fail if this is the last instruction.
112296 $ac_cs_success || { (exit 1); exit 1; }