2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars='am__EXEEXT_FALSE
610 glibcxx_toolexeclibdir
614 ERROR_CONSTANTS_SRCDIR
640 baseline_subdir_switch
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
659 port_specific_symbol_files
667 ENABLE_EXTERN_TEMPLATE_FALSE
668 ENABLE_EXTERN_TEMPLATE_TRUE
670 ENABLE_PARALLEL_FALSE
672 GLIBCXX_BUILD_DEBUG_FALSE
673 GLIBCXX_BUILD_DEBUG_TRUE
675 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
676 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
677 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
678 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
679 GLIBCXX_C_HEADERS_C_STD_FALSE
680 GLIBCXX_C_HEADERS_C_STD_TRUE
681 GLIBCXX_C_HEADERS_C_FALSE
682 GLIBCXX_C_HEADERS_C_TRUE
709 GLIBCXX_BUILD_PCH_FALSE
710 GLIBCXX_BUILD_PCH_TRUE
734 MAINTAINER_MODE_FALSE
762 INSTALL_STRIP_PROGRAM
817 program_transform_name
830 enable_option_checking
835 enable_maintainer_mode
842 enable_hosted_libstdcxx
843 enable_sjlj_exceptions
848 enable_libstdcxx_allocator
853 enable_concept_checks
854 enable_libstdcxx_debug_flags
855 enable_libstdcxx_debug
857 enable_fully_dynamic_string
858 enable_extern_template
859 enable_libstdcxx_time
863 with_system_libunwind
866 enable_libstdcxx_visibility
868 enable_version_specific_runtime_libs
870 ac_precious_vars='build_alias
886 # Initialize some variables set by options.
888 ac_init_version=false
889 ac_unrecognized_opts=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name=s,x,x,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir='${exec_prefix}/bin'
915 sbindir='${exec_prefix}/sbin'
916 libexecdir='${exec_prefix}/libexec'
917 datarootdir='${prefix}/share'
918 datadir='${datarootdir}'
919 sysconfdir='${prefix}/etc'
920 sharedstatedir='${prefix}/com'
921 localstatedir='${prefix}/var'
922 includedir='${prefix}/include'
923 oldincludedir='/usr/include'
924 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
925 infodir='${datarootdir}/info'
930 libdir='${exec_prefix}/lib'
931 localedir='${datarootdir}/locale'
932 mandir='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\$ac_option
946 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 -build | --build | --buil | --bui | --bu)
962 ac_prev=build_alias ;;
963 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
964 build_alias=$ac_optarg ;;
966 -cache-file | --cache-file | --cache-fil | --cache-fi \
967 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
968 ac_prev=cache_file ;;
969 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
970 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
971 cache_file=$ac_optarg ;;
974 cache_file=config.cache ;;
976 -datadir | --datadir | --datadi | --datad)
978 -datadir=* | --datadir=* | --datadi=* | --datad=*)
979 datadir=$ac_optarg ;;
981 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
982 | --dataroo | --dataro | --datar)
983 ac_prev=datarootdir ;;
984 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
985 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
986 datarootdir=$ac_optarg ;;
988 -disable-* | --disable-*)
989 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 as_fn_error "invalid feature name: $ac_useropt"
993 ac_useropt_orig=$ac_useropt
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep=', ';;
1002 eval enable_$ac_useropt=no ;;
1004 -docdir | --docdir | --docdi | --doc | --do)
1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007 docdir=$ac_optarg ;;
1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012 dvidir=$ac_optarg ;;
1014 -enable-* | --enable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval enable_$ac_useropt=\$ac_optarg ;;
1030 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032 | --exec | --exe | --ex)
1033 ac_prev=exec_prefix ;;
1034 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036 | --exec=* | --exe=* | --ex=*)
1037 exec_prefix=$ac_optarg ;;
1039 -gas | --gas | --ga | --g)
1040 # Obsolete; use --with-gas.
1043 -help | --help | --hel | --he | -h)
1044 ac_init_help=long ;;
1045 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1046 ac_init_help=recursive ;;
1047 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1048 ac_init_help=short ;;
1050 -host | --host | --hos | --ho)
1051 ac_prev=host_alias ;;
1052 -host=* | --host=* | --hos=* | --ho=*)
1053 host_alias=$ac_optarg ;;
1055 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 htmldir=$ac_optarg ;;
1061 -includedir | --includedir | --includedi | --included | --include \
1062 | --includ | --inclu | --incl | --inc)
1063 ac_prev=includedir ;;
1064 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065 | --includ=* | --inclu=* | --incl=* | --inc=*)
1066 includedir=$ac_optarg ;;
1068 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1071 infodir=$ac_optarg ;;
1073 -libdir | --libdir | --libdi | --libd)
1075 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1076 libdir=$ac_optarg ;;
1078 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079 | --libexe | --libex | --libe)
1080 ac_prev=libexecdir ;;
1081 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082 | --libexe=* | --libex=* | --libe=*)
1083 libexecdir=$ac_optarg ;;
1085 -localedir | --localedir | --localedi | --localed | --locale)
1086 ac_prev=localedir ;;
1087 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088 localedir=$ac_optarg ;;
1090 -localstatedir | --localstatedir | --localstatedi | --localstated \
1091 | --localstate | --localstat | --localsta | --localst | --locals)
1092 ac_prev=localstatedir ;;
1093 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1095 localstatedir=$ac_optarg ;;
1097 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1100 mandir=$ac_optarg ;;
1102 -nfp | --nfp | --nf)
1103 # Obsolete; use --without-fp.
1106 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107 | --no-cr | --no-c | -n)
1110 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116 | --oldin | --oldi | --old | --ol | --o)
1117 ac_prev=oldincludedir ;;
1118 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1121 oldincludedir=$ac_optarg ;;
1123 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1126 prefix=$ac_optarg ;;
1128 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129 | --program-pre | --program-pr | --program-p)
1130 ac_prev=program_prefix ;;
1131 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1133 program_prefix=$ac_optarg ;;
1135 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136 | --program-suf | --program-su | --program-s)
1137 ac_prev=program_suffix ;;
1138 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1140 program_suffix=$ac_optarg ;;
1142 -program-transform-name | --program-transform-name \
1143 | --program-transform-nam | --program-transform-na \
1144 | --program-transform-n | --program-transform- \
1145 | --program-transform | --program-transfor \
1146 | --program-transfo | --program-transf \
1147 | --program-trans | --program-tran \
1148 | --progr-tra | --program-tr | --program-t)
1149 ac_prev=program_transform_name ;;
1150 -program-transform-name=* | --program-transform-name=* \
1151 | --program-transform-nam=* | --program-transform-na=* \
1152 | --program-transform-n=* | --program-transform-=* \
1153 | --program-transform=* | --program-transfor=* \
1154 | --program-transfo=* | --program-transf=* \
1155 | --program-trans=* | --program-tran=* \
1156 | --progr-tra=* | --program-tr=* | --program-t=*)
1157 program_transform_name=$ac_optarg ;;
1159 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162 pdfdir=$ac_optarg ;;
1164 -psdir | --psdir | --psdi | --psd | --ps)
1166 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170 | -silent | --silent | --silen | --sile | --sil)
1173 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 sbindir=$ac_optarg ;;
1179 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1180 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1181 | --sharedst | --shareds | --shared | --share | --shar \
1183 ac_prev=sharedstatedir ;;
1184 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1185 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1186 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 sharedstatedir=$ac_optarg ;;
1190 -site | --site | --sit)
1192 -site=* | --site=* | --sit=*)
1195 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1198 srcdir=$ac_optarg ;;
1200 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1201 | --syscon | --sysco | --sysc | --sys | --sy)
1202 ac_prev=sysconfdir ;;
1203 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1204 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1205 sysconfdir=$ac_optarg ;;
1207 -target | --target | --targe | --targ | --tar | --ta | --t)
1208 ac_prev=target_alias ;;
1209 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1210 target_alias=$ac_optarg ;;
1212 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 -version | --version | --versio | --versi | --vers | -V)
1216 ac_init_version=: ;;
1219 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222 as_fn_error "invalid package name: $ac_useropt"
1223 ac_useropt_orig=$ac_useropt
1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230 ac_unrecognized_sep=', ';;
1232 eval with_$ac_useropt=\$ac_optarg ;;
1234 -without-* | --without-*)
1235 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238 as_fn_error "invalid package name: $ac_useropt"
1239 ac_useropt_orig=$ac_useropt
1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246 ac_unrecognized_sep=', ';;
1248 eval with_$ac_useropt=no ;;
1251 # Obsolete; use --with-x.
1254 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1255 | --x-incl | --x-inc | --x-in | --x-i)
1256 ac_prev=x_includes ;;
1257 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1258 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1259 x_includes=$ac_optarg ;;
1261 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1262 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1263 ac_prev=x_libraries ;;
1264 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1265 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266 x_libraries=$ac_optarg ;;
1268 -*) as_fn_error "unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information."
1273 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 case $ac_envvar in #(
1276 '' | [0-9]* | *[!_$as_cr_alnum]* )
1277 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1279 eval $ac_envvar=\$ac_optarg
1280 export $ac_envvar ;;
1283 # FIXME: should be removed in autoconf 3.0.
1284 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1286 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293 if test -n "$ac_prev"; then
1294 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295 as_fn_error "missing argument to $ac_option"
1298 if test -n "$ac_unrecognized_opts"; then
1299 case $enable_option_checking in
1301 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1302 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1306 # Check all directory arguments for consistency.
1307 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1312 eval ac_val=\$$ac_var
1313 # Remove trailing slashes.
1316 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317 eval $ac_var=\$ac_val;;
1319 # Be sure to have absolute directory names.
1321 [\\/$]* | ?:[\\/]* ) continue;;
1322 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1332 target=$target_alias
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x; then
1336 if test "x$build_alias" = x; then
1337 cross_compiling=maybe
1338 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1339 If a cross compiler is detected then cross compile mode will be used." >&2
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1348 test "$silent" = yes && exec 6>/dev/null
1351 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di=`ls -di .` &&
1353 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error "working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error "pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1395 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var in $ac_precious_vars; do
1412 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_${ac_var}_value=\$${ac_var}
1414 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488 --build=BUILD configure for building on BUILD [guessed]
1489 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1490 --target=TARGET configure for building compilers for TARGET [HOST]
1494 if test -n "$ac_init_help"; then
1495 case $ac_init_help in
1496 short | recursive ) echo "Configuration of package-unused version-unused:";;
1501 --disable-option-checking ignore unrecognized --enable/--with options
1502 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1503 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1504 --enable-multilib build many library versions (default)
1505 --enable-maintainer-mode enable make rules and dependencies not useful
1506 (and sometimes confusing) to the casual installer
1507 --enable-shared[=PKGS] build shared libraries [default=yes]
1508 --enable-static[=PKGS] build static libraries [default=yes]
1509 --enable-fast-install[=PKGS]
1510 optimize for fast installation [default=yes]
1511 --disable-libtool-lock avoid locking (might break parallel builds)
1512 --disable-hosted-libstdcxx
1513 only build freestanding C++ runtime support
1514 --enable-sjlj-exceptions
1515 force use of builtin_setjmp for exceptions
1517 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1518 [default=$is_hosted]
1519 --enable-cstdio[=PACKAGE]
1520 use target-specific I/O package [default=stdio]
1521 --enable-clocale[=MODEL]
1522 use MODEL for target locale package [default=auto]
1523 --enable-nls use Native Language Support (default)
1524 --enable-libstdcxx-allocator[=KIND]
1525 use KIND for target std::allocator base
1527 --enable-cheaders[=KIND]
1528 construct "C" headers for g++ [default=$c_model]
1529 --enable-long-long enable template specializations for 'long long'
1531 --enable-wchar_t enable template specializations for 'wchar_t'
1533 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1534 --enable-concept-checks use Boost-derived template checks [default=no]
1535 --enable-libstdcxx-debug-flags=FLAGS
1536 pass compiler FLAGS when building debug library
1537 [default="-gdwarf-4 -g3 -O0"]
1538 --enable-libstdcxx-debug
1539 build extra debug library [default=no]
1540 --enable-cxx-flags=FLAGS
1541 pass compiler FLAGS when building library [default=]
1542 --enable-fully-dynamic-string
1543 do not put empty strings in per-process static
1545 --enable-extern-template
1546 enable extern template [default=yes]
1547 --enable-libstdcxx-time[=KIND]
1548 use KIND for check type [default=no]
1549 --enable-tls Use thread-local storage [default=yes]
1550 --disable-rpath do not hardcode runtime library paths
1551 --enable-linux-futex use the Linux futex system call [default=default]
1552 --enable-symvers[=STYLE]
1553 enables symbol versioning of the shared library
1555 --enable-libstdcxx-visibility
1556 enables visibility safe usage [default=yes]
1557 --enable-version-specific-runtime-libs
1558 Specify that runtime libraries should be installed
1559 in a compiler-specific directory
1562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564 --with-target-subdir=SUBDIR
1565 configuring in a subdirectory
1566 --with-cross-host=HOST configuring with a cross compiler
1567 --with-newlib assume newlib as a system C library
1568 --with-pic try to use only PIC/non-PIC objects [default=use
1570 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1571 --with-gnu-ld assume the C compiler uses GNU ld default=no
1572 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1573 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1574 --with-system-libunwind use installed libunwind
1575 --with-gxx-include-dir=DIR
1576 installation directory for include files
1578 Some influential environment variables:
1579 CC C compiler command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1589 CXXCPP C++ preprocessor
1590 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1591 `c++filt', `gc++filt' on PATH.
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1596 Report bugs to the package provider.
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1626 .) # We are building in place.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1659 package-unused configure version-unused
1660 generated by GNU Autoconf 2.64
1662 Copyright (C) 2009 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 } # ac_fn_c_try_compile
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 } # ac_fn_cxx_try_compile
1749 # ac_fn_c_try_cpp LINENO
1750 # ----------------------
1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } >/dev/null && {
1771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 # ac_fn_c_try_link LINENO
1787 # -----------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext conftest$ac_exeext
1793 if { { ac_try="$ac_link"
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 $as_test_x conftest$ac_exeext
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 } # ac_fn_c_try_link
1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1833 # -------------------------------------------------------
1834 # Tests whether HEADER exists and can be compiled using the include files in
1835 # INCLUDES, setting the cache variable VAR accordingly.
1836 ac_fn_c_check_header_compile ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1849 if ac_fn_c_try_compile "$LINENO"; then :
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 } # ac_fn_c_check_header_compile
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866 # that executables *can* be run.
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if { { ac_try="$ac_link"
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>&5
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881 { { case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_try") 2>&5
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; }; }; then :
1893 $as_echo "$as_me: program exited with status $ac_status" >&5
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1897 ac_retval=$ac_status
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905 # ac_fn_c_check_func LINENO FUNC VAR
1906 # ----------------------------------
1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1908 ac_fn_c_check_func ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1914 $as_echo_n "(cached) " >&6
1916 if test x$gcc_no_link = xyes; then
1917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1923 #define $2 innocuous_$2
1925 /* System header to define __stub macros and hopefully few prototypes,
1926 which can conflict with char $2 (); below.
1927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928 <limits.h> exists even on freestanding compilers. */
1931 # include <limits.h>
1933 # include <assert.h>
1938 /* Override any GCC internal prototype to avoid an error.
1939 Use char because int might match the return type of a GCC
1940 builtin and then its argument prototype would still apply. */
1945 /* The GNU C library defines this for functions which it implements
1946 to always fail with ENOSYS. Some functions are actually named
1947 something starting with __ and the normal name is an alias. */
1948 #if defined __stub_$2 || defined __stub___$2
1960 if ac_fn_c_try_link "$LINENO"; then :
1965 rm -f core conftest.err conftest.$ac_objext \
1966 conftest$ac_exeext conftest.$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 } # ac_fn_c_check_func
1975 # ac_fn_cxx_try_cpp LINENO
1976 # ------------------------
1977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978 ac_fn_cxx_try_cpp ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990 if test -s conftest.err; then
1991 grep -v '^ *+' conftest.err >conftest.er1
1992 cat conftest.er1 >&5
1993 mv -f conftest.er1 conftest.err
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } >/dev/null && {
1997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1998 test ! -s conftest.err
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010 } # ac_fn_cxx_try_cpp
2012 # ac_fn_cxx_try_link LINENO
2013 # -------------------------
2014 # Try to link conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_link ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext conftest$ac_exeext
2019 if { { ac_try="$ac_link"
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_link") 2>conftest.err
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest$ac_exeext && {
2038 test "$cross_compiling" = yes ||
2039 $as_test_x conftest$ac_exeext
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2048 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2049 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2050 # interfere with the next link command; also delete a directory that is
2051 # left behind by Apple's compiler. We do this before executing the actions.
2052 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 } # ac_fn_cxx_try_link
2058 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2059 # -------------------------------------------------------
2060 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2061 # the include files in INCLUDES and setting the cache variable VAR
2063 ac_fn_c_check_header_mongrel ()
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070 $as_echo_n "(cached) " >&6
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2076 # Is the header compilable?
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2078 $as_echo_n "checking $2 usability... " >&6; }
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085 ac_header_compiler=yes
2087 ac_header_compiler=no
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2091 $as_echo "$ac_header_compiler" >&6; }
2093 # Is the header present?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2095 $as_echo_n "checking $2 presence... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2100 if ac_fn_c_try_cpp "$LINENO"; then :
2101 ac_header_preproc=yes
2103 ac_header_preproc=no
2105 rm -f conftest.err conftest.$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2107 $as_echo "$ac_header_preproc" >&6; }
2109 # So? What about this header?
2110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2113 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2119 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2121 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2123 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2125 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2135 eval "$3=\$ac_header_compiler"
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143 } # ac_fn_c_check_header_mongrel
2145 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # ---------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2150 ac_fn_cxx_check_header_mongrel ()
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157 $as_echo_n "(cached) " >&6
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2163 # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2171 if ac_fn_cxx_try_compile "$LINENO"; then :
2172 ac_header_compiler=yes
2174 ac_header_compiler=no
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2187 if ac_fn_cxx_try_cpp "$LINENO"; then :
2188 ac_header_preproc=yes
2190 ac_header_preproc=no
2192 rm -f conftest.err conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2196 # So? What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2220 $as_echo_n "(cached) " >&6
2222 eval "$3=\$ac_header_compiler"
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2228 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230 } # ac_fn_cxx_check_header_mongrel
2232 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2233 # --------------------------------------------
2234 # Tries to find the compile-time value of EXPR in a program that includes
2235 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 ac_fn_c_compute_int ()
2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240 if test "$cross_compiling" = yes; then
2241 # Depending upon the size, compute the lo and hi bounds.
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2248 static int test_array [1 - 2 * !(($2) >= 0)];
2255 if ac_fn_c_try_compile "$LINENO"; then :
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2264 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 ac_hi=$ac_mid; break
2274 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2275 if test $ac_lo -le $ac_mid; then
2279 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2290 static int test_array [1 - 2 * !(($2) < 0)];
2297 if ac_fn_c_try_compile "$LINENO"; then :
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2306 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_lo=$ac_mid; break
2316 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2317 if test $ac_mid -le $ac_hi; then
2321 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 # Binary search between lo and hi bounds.
2332 while test "x$ac_lo" != "x$ac_hi"; do
2333 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2340 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2347 if ac_fn_c_try_compile "$LINENO"; then :
2350 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2362 static long int longval () { return $2; }
2363 static unsigned long int ulongval () { return $2; }
2370 FILE *f = fopen ("conftest.val", "w");
2375 long int i = longval ();
2378 fprintf (f, "%ld", i);
2382 unsigned long int i = ulongval ();
2385 fprintf (f, "%lu", i);
2387 /* Do not output a trailing newline, as this causes \r\n confusion
2388 on some platforms. */
2389 return ferror (f) || fclose (f) != 0;
2395 if ac_fn_c_try_run "$LINENO"; then :
2396 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2401 conftest.$ac_objext conftest.beam conftest.$ac_ext
2405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2408 } # ac_fn_c_compute_int
2410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2411 # -------------------------------------------
2412 # Tests whether TYPE exists after having included INCLUDES, setting cache
2413 # variable VAR accordingly.
2414 ac_fn_c_check_type ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2420 $as_echo_n "(cached) " >&6
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2435 if ac_fn_c_try_compile "$LINENO"; then :
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2448 if ac_fn_c_try_compile "$LINENO"; then :
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2460 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462 } # ac_fn_c_check_type
2463 cat >config.log <<_ACEOF
2464 This file contains any messages produced by compilers while
2465 running configure, to aid debugging if configure makes a mistake.
2467 It was created by package-unused $as_me version-unused, which was
2468 generated by GNU Autoconf 2.64. Invocation command line was
2480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir=.
2504 $as_echo "PATH: $as_dir"
2520 # Keep a trace of the command line.
2521 # Strip out --no-create and --no-recursion so they do not pile up.
2522 # Strip out --silent because we don't want to record it for future runs.
2523 # Also quote any args containing shell meta-characters.
2524 # Make two passes to allow for proper duplicate-argument suppression.
2528 ac_must_keep_next=false
2534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2536 | -silent | --silent | --silen | --sile | --sil)
2539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544 as_fn_append ac_configure_args1 " '$ac_arg'"
2545 if test $ac_must_keep_next = true; then
2546 ac_must_keep_next=false # Got value, back to normal.
2549 *=* | --config-cache | -C | -disable-* | --disable-* \
2550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2552 | -with-* | --with-* | -without-* | --without-* | --x)
2553 case "$ac_configure_args0 " in
2554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2557 -* ) ac_must_keep_next=true ;;
2560 as_fn_append ac_configure_args " '$ac_arg'"
2565 { ac_configure_args0=; unset ac_configure_args0;}
2566 { ac_configure_args1=; unset ac_configure_args1;}
2568 # When interrupted or exit'd, cleanup temporary files, and complete
2569 # config.log. We remove comments because anyway the quotes in there
2570 # would cause problems or look ugly.
2571 # WARNING: Use '\'' to represent an apostrophe within the trap.
2572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2573 trap 'exit_status=$?
2574 # Save into config.log some information that might help in debugging.
2579 ## ---------------- ##
2580 ## Cache variables. ##
2581 ## ---------------- ##
2584 # The following way of writing the cache mishandles newlines in values,
2586 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2587 eval ac_val=\$$ac_var
2591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2595 _ | IFS | as_nl) ;; #(
2596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2597 *) { eval $ac_var=; unset $ac_var;} ;;
2602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2603 *${as_nl}ac_space=\ *)
2605 "s/'\''/'\''\\\\'\'''\''/g;
2606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2617 ## ----------------- ##
2618 ## Output variables. ##
2619 ## ----------------- ##
2622 for ac_var in $ac_subst_vars
2624 eval ac_val=\$$ac_var
2626 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 $as_echo "$ac_var='\''$ac_val'\''"
2632 if test -n "$ac_subst_files"; then
2634 ## ------------------- ##
2635 ## File substitutions. ##
2636 ## ------------------- ##
2639 for ac_var in $ac_subst_files
2641 eval ac_val=\$$ac_var
2643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 $as_echo "$ac_var='\''$ac_val'\''"
2650 if test -s confdefs.h; then
2660 test "$ac_signal" != 0 &&
2661 $as_echo "$as_me: caught signal $ac_signal"
2662 $as_echo "$as_me: exit $exit_status"
2664 rm -f core *.core core.conftest.* &&
2665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2668 for ac_signal in 1 2 13 15; do
2669 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2674 rm -f -r conftest* confdefs.h
2676 $as_echo "/* confdefs.h */" > confdefs.h
2678 # Predefined preprocessor variables.
2680 cat >>confdefs.h <<_ACEOF
2681 #define PACKAGE_NAME "$PACKAGE_NAME"
2684 cat >>confdefs.h <<_ACEOF
2685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2688 cat >>confdefs.h <<_ACEOF
2689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2692 cat >>confdefs.h <<_ACEOF
2693 #define PACKAGE_STRING "$PACKAGE_STRING"
2696 cat >>confdefs.h <<_ACEOF
2697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2700 cat >>confdefs.h <<_ACEOF
2701 #define PACKAGE_URL "$PACKAGE_URL"
2705 # Let the site file select an alternate cache file if it wants to.
2706 # Prefer an explicitly selected file to automatically selected ones.
2709 if test -n "$CONFIG_SITE"; then
2710 ac_site_file1=$CONFIG_SITE
2711 elif test "x$prefix" != xNONE; then
2712 ac_site_file1=$prefix/share/config.site
2713 ac_site_file2=$prefix/etc/config.site
2715 ac_site_file1=$ac_default_prefix/share/config.site
2716 ac_site_file2=$ac_default_prefix/etc/config.site
2718 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 test "x$ac_site_file" = xNONE && continue
2721 if test -r "$ac_site_file"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2723 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2724 sed 's/^/| /' "$ac_site_file" >&5
2729 if test -r "$cache_file"; then
2730 # Some versions of bash will fail to source /dev/null (special
2731 # files actually), so we avoid doing that.
2732 if test -f "$cache_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2734 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2737 *) . "./$cache_file";;
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2742 $as_echo "$as_me: creating cache $cache_file" >&6;}
2746 # Check that the precious variables saved in the cache have kept the same
2748 ac_cache_corrupted=false
2749 for ac_var in $ac_precious_vars; do
2750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2751 eval ac_new_set=\$ac_env_${ac_var}_set
2752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2753 eval ac_new_val=\$ac_env_${ac_var}_value
2754 case $ac_old_set,$ac_new_set in
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2758 ac_cache_corrupted=: ;;
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2762 ac_cache_corrupted=: ;;
2765 if test "x$ac_old_val" != "x$ac_new_val"; then
2766 # differences in whitespace do not lead to failure.
2767 ac_old_val_w=`echo x $ac_old_val`
2768 ac_new_val_w=`echo x $ac_new_val`
2769 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2772 ac_cache_corrupted=:
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2776 eval $ac_var=\$ac_old_val
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2779 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2781 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2784 # Pass precious variables to config.status.
2785 if test "$ac_new_set" = set; then
2787 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2788 *) ac_arg=$ac_var=$ac_new_val ;;
2790 case " $ac_configure_args " in
2791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2792 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2796 if $ac_cache_corrupted; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2801 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 ## -------------------- ##
2804 ## Main body of script. ##
2805 ## -------------------- ##
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 ac_config_headers="$ac_config_headers config.h"
2821 # This works around the fact that libtool configuration may change LD
2822 # for this particular configuration, but some shells, instead of
2823 # keeping the changes in LD private, export them just because LD is
2824 # exported. Only used at the end of this file.
2825 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2827 # Find the rest of the source tree framework.
2828 # Default to --enable-multilib
2829 # Check whether --enable-multilib was given.
2830 if test "${enable_multilib+set}" = set; then :
2831 enableval=$enable_multilib; case "$enableval" in
2832 yes) multilib=yes ;;
2834 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2841 # We may get other options which we leave undocumented:
2842 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2843 # See config-ml.in if you want the gory details.
2845 if test "$srcdir" = "."; then
2846 if test "$with_target_subdir" != "."; then
2847 multi_basedir="$srcdir/$with_multisrctop../.."
2849 multi_basedir="$srcdir/$with_multisrctop.."
2852 multi_basedir="$srcdir/.."
2856 # Even if the default multilib is not a cross compilation,
2857 # it may be that some of the other multilibs are.
2858 if test $cross_compiling = no && test $multilib = yes \
2859 && test "x${with_multisubdir}" != x ; then
2860 cross_compiling=maybe
2863 ac_config_commands="$ac_config_commands default-1"
2866 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2868 # You will slowly go insane if you do not grok the following fact: when
2869 # building v3 as part of the compiler, the top-level /target/ becomes the
2870 # library's /host/. configure then causes --target to default to --host,
2871 # exactly like any other package using autoconf. Therefore, 'target' and
2872 # 'host' will always be the same. This makes sense both for native and
2873 # cross compilers, just think about it for a little while. :-)
2875 # Also, if v3 is being configured as part of a cross compiler, the top-level
2876 # configure script will pass the "real" host as $with_cross_host.
2878 # Do not delete or change the following two lines. For why, see
2879 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2881 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2882 for ac_t in install-sh install.sh shtool; do
2883 if test -f "$ac_dir/$ac_t"; then
2885 ac_install_sh="$ac_aux_dir/$ac_t -c"
2890 if test -z "$ac_aux_dir"; then
2891 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2894 # These three variables are undocumented and unsupported,
2895 # and are intended to be withdrawn in a future Autoconf release.
2896 # They can cause serious problems if a builder's source tree is in a directory
2897 # whose full name contains unusual characters.
2898 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2899 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2900 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2903 # Make sure we can run config.sub.
2904 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2905 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2908 $as_echo_n "checking build system type... " >&6; }
2909 if test "${ac_cv_build+set}" = set; then :
2910 $as_echo_n "(cached) " >&6
2912 ac_build_alias=$build_alias
2913 test "x$ac_build_alias" = x &&
2914 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2915 test "x$ac_build_alias" = x &&
2916 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2918 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2922 $as_echo "$ac_cv_build" >&6; }
2923 case $ac_cv_build in
2925 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2928 ac_save_IFS=$IFS; IFS='-'
2934 # Remember, the first character of IFS is used to create $*,
2935 # except with old shells:
2938 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2942 $as_echo_n "checking host system type... " >&6; }
2943 if test "${ac_cv_host+set}" = set; then :
2944 $as_echo_n "(cached) " >&6
2946 if test "x$host_alias" = x; then
2947 ac_cv_host=$ac_cv_build
2949 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2950 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2955 $as_echo "$ac_cv_host" >&6; }
2958 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2961 ac_save_IFS=$IFS; IFS='-'
2967 # Remember, the first character of IFS is used to create $*,
2968 # except with old shells:
2971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2975 $as_echo_n "checking target system type... " >&6; }
2976 if test "${ac_cv_target+set}" = set; then :
2977 $as_echo_n "(cached) " >&6
2979 if test "x$target_alias" = x; then
2980 ac_cv_target=$ac_cv_host
2982 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2983 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2988 $as_echo "$ac_cv_target" >&6; }
2989 case $ac_cv_target in
2991 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2993 target=$ac_cv_target
2994 ac_save_IFS=$IFS; IFS='-'
3000 # Remember, the first character of IFS is used to create $*,
3001 # except with old shells:
3004 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3007 # The aliases save the names the user supplied, while $host etc.
3008 # will get canonicalized.
3009 test -n "$target_alias" &&
3010 test "$program_prefix$program_suffix$program_transform_name" = \
3012 program_prefix=${target_alias}-
3014 target_alias=${target_alias-$host_alias}
3016 # Handy for debugging:
3017 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3019 if test "$build" != "$host"; then
3020 # We are being configured with some form of cross compiler.
3021 GLIBCXX_IS_NATIVE=false
3022 case "$host","$target" in
3023 # Darwin crosses can use the host system's libraries and headers,
3024 # because of the fat library support. Of course, it must be the
3025 # same version of Darwin on both sides. Allow the user to
3026 # just say --target=foo-darwin without a version number to mean
3027 # "the version on this system".
3028 *-*-darwin*,*-*-darwin*)
3029 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3030 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3031 if test $hostos = $targetos -o $targetos = darwin ; then
3032 GLIBCXX_IS_NATIVE=true
3041 GLIBCXX_IS_NATIVE=true
3044 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3045 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3046 # 1.x: minimum required version
3047 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3048 # of other PACKAGE_* variables will, however, and there's nothing
3049 # we can do about that; they come from AC_INIT).
3050 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3051 # file in the top srcdir, etc, etc), so stop complaining.
3052 # no-dependencies: turns off auto dependency generation (just for now)
3053 # no-dist: we don't want 'dist' and related rules.
3054 # -Wall: turns on all automake warnings...
3055 # -Wno-portability: ...except this one, since GNU make is now required.
3056 am__api_version='1.11'
3058 # Find a good install program. We prefer a C program (faster),
3059 # so one script is as good as another. But avoid the broken or
3060 # incompatible versions:
3061 # SysV /etc/install, /usr/sbin/install
3062 # SunOS /usr/etc/install
3063 # IRIX /sbin/install
3065 # AmigaOS /C/install, which installs bootblocks on floppy discs
3066 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3067 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3068 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3069 # OS/2's system install, which has a completely different semantic
3070 # ./install, which can be erroneously created by make from ./install.sh.
3071 # Reject install programs that cannot install multiple files.
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3073 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3074 if test -z "$INSTALL"; then
3075 if test "${ac_cv_path_install+set}" = set; then :
3076 $as_echo_n "(cached) " >&6
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir=.
3083 # Account for people who put trailing slashes in PATH elements.
3084 case $as_dir/ in #((
3085 ./ | .// | /[cC]/* | \
3086 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3087 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3090 # OSF1 and SCO ODT 3.0 have their own names for install.
3091 # Don't use installbsd from OSF since it installs stuff as root
3093 for ac_prog in ginstall scoinst install; do
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3096 if test $ac_prog = install &&
3097 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3098 # AIX install. It has an incompatible calling convention.
3100 elif test $ac_prog = install &&
3101 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3102 # program-specific install script used by HP pwplus--don't use.
3105 rm -rf conftest.one conftest.two conftest.dir
3106 echo one > conftest.one
3107 echo two > conftest.two
3109 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3110 test -s conftest.one && test -s conftest.two &&
3111 test -s conftest.dir/conftest.one &&
3112 test -s conftest.dir/conftest.two
3114 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3127 rm -rf conftest.one conftest.two conftest.dir
3130 if test "${ac_cv_path_install+set}" = set; then
3131 INSTALL=$ac_cv_path_install
3133 # As a last resort, use the slow shell script. Don't cache a
3134 # value for INSTALL within a source directory, because that will
3135 # break other packages using the cache if that directory is
3136 # removed, or if the value is a relative name.
3137 INSTALL=$ac_install_sh
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3141 $as_echo "$INSTALL" >&6; }
3143 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3144 # It thinks the first close brace ends the variable substitution.
3145 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3147 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3149 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3152 $as_echo_n "checking whether build environment is sane... " >&6; }
3155 echo timestamp > conftest.file
3156 # Reject unsafe characters in $srcdir or the absolute working directory
3157 # name. Accept space and tab only in the latter.
3161 *[\\\"\#\$\&\'\`$am_lf]*)
3162 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3165 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3166 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3169 # Do `set' in a subshell so we don't clobber the current shell's
3170 # arguments. Must try -L first in case configure is actually a
3171 # symlink; some systems play weird games with the mod time of symlinks
3172 # (eg FreeBSD returns the mod time of the symlink's containing
3175 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3176 if test "$*" = "X"; then
3178 set X `ls -t "$srcdir/configure" conftest.file`
3181 if test "$*" != "X $srcdir/configure conftest.file" \
3182 && test "$*" != "X conftest.file $srcdir/configure"; then
3184 # If neither matched, then we have a broken ls. This can happen
3185 # if, for instance, CONFIG_SHELL is bash and it inherits a
3186 # broken ls alias from the environment. This has actually
3187 # happened. Such a system could not be considered "sane".
3188 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3189 alias in your environment" "$LINENO" 5
3192 test "$2" = conftest.file
3198 as_fn_error "newly created file is older than distributed files!
3199 Check your system clock" "$LINENO" 5
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3202 $as_echo "yes" >&6; }
3203 test "$program_prefix" != NONE &&
3204 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3205 # Use a double $ so make ignores it.
3206 test "$program_suffix" != NONE &&
3207 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3208 # Double any \ or $.
3209 # By default was `s,x,x', remove it if useless.
3210 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3211 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3213 # expand $ac_aux_dir to an absolute path
3214 am_aux_dir=`cd $ac_aux_dir && pwd`
3216 if test x"${MISSING+set}" != xset; then
3219 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3221 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3224 # Use eval to expand $SHELL
3225 if eval "$MISSING --run true"; then
3226 am_missing_run="$MISSING --run "
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3230 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3233 if test x"${install_sh}" != xset; then
3236 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3238 install_sh="\${SHELL} $am_aux_dir/install-sh"
3242 # Installed binaries are usually stripped using `strip' when the user
3243 # run `make install-strip'. However `strip' might not be the right
3244 # tool to use in cross-compilation environments, therefore Automake
3245 # will honor the `STRIP' environment variable to overrule this program.
3246 if test "$cross_compiling" != no; then
3247 if test -n "$ac_tool_prefix"; then
3248 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3249 set dummy ${ac_tool_prefix}strip; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_STRIP+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$STRIP"; then
3256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 STRIP=$ac_cv_prog_STRIP
3276 if test -n "$STRIP"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3278 $as_echo "$STRIP" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3286 if test -z "$ac_cv_prog_STRIP"; then
3288 # Extract the first word of "strip", so it can be a program name with args.
3289 set dummy strip; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$ac_ct_STRIP"; then
3296 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3305 ac_cv_prog_ac_ct_STRIP="strip"
3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3316 if test -n "$ac_ct_STRIP"; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3318 $as_echo "$ac_ct_STRIP" >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3324 if test "x$ac_ct_STRIP" = x; then
3327 case $cross_compiling:$ac_tool_warned in
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3331 ac_tool_warned=yes ;;
3336 STRIP="$ac_cv_prog_STRIP"
3340 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3343 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3344 if test -z "$MKDIR_P"; then
3345 if test "${ac_cv_path_mkdir+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3352 test -z "$as_dir" && as_dir=.
3353 for ac_prog in mkdir gmkdir; do
3354 for ac_exec_ext in '' $ac_executable_extensions; do
3355 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3356 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3357 'mkdir (GNU coreutils) '* | \
3358 'mkdir (coreutils) '* | \
3359 'mkdir (fileutils) '4.1*)
3360 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3370 if test "${ac_cv_path_mkdir+set}" = set; then
3371 MKDIR_P="$ac_cv_path_mkdir -p"
3373 # As a last resort, use the slow shell script. Don't cache a
3374 # value for MKDIR_P within a source directory, because that will
3375 # break other packages using the cache if that directory is
3376 # removed, or if the value is a relative name.
3377 test -d ./--version && rmdir ./--version
3378 MKDIR_P="$ac_install_sh -d"
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3382 $as_echo "$MKDIR_P" >&6; }
3386 [\\/$]* | ?:[\\/]*) ;;
3387 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3390 for ac_prog in gawk mawk nawk awk
3392 # Extract the first word of "$ac_prog", so it can be a program name with args.
3393 set dummy $ac_prog; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if test "${ac_cv_prog_AWK+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$AWK"; then
3400 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_prog_AWK="$ac_prog"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 if test -n "$AWK"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3422 $as_echo "$AWK" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3429 test -n "$AWK" && break
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3433 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3435 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3436 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3437 $as_echo_n "(cached) " >&6
3439 cat >conftest.make <<\_ACEOF
3442 @echo '@@@%%%=$(MAKE)=@@@%%%'
3444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3445 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3447 eval ac_cv_prog_make_${ac_make}_set=yes;;
3449 eval ac_cv_prog_make_${ac_make}_set=no;;
3453 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455 $as_echo "yes" >&6; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459 $as_echo "no" >&6; }
3460 SET_MAKE="MAKE=${MAKE-make}"
3463 rm -rf .tst 2>/dev/null
3464 mkdir .tst 2>/dev/null
3465 if test -d .tst; then
3470 rmdir .tst 2>/dev/null
3472 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3473 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3474 # is not polluted with repeated "-I."
3475 am__isrc=' -I$(srcdir)'
3476 # test to see if srcdir already configured
3477 if test -f $srcdir/config.status; then
3478 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3482 # test whether we have cygpath
3483 if test -z "$CYGPATH_W"; then
3484 if (cygpath --version) >/dev/null 2>/dev/null; then
3485 CYGPATH_W='cygpath -w'
3492 # Define the identity of the package.
3494 VERSION='version-unused'
3497 # Some tools Automake needs.
3499 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3502 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3505 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3508 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3511 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3513 # We need awk for the "check" target. The system "awk" is bad on
3515 # Always define AMTAR for backward compatibility.
3517 AMTAR=${AMTAR-"${am_missing_run}tar"}
3519 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3528 # -fno-builtin must be present here so that a non-conflicting form of
3529 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3531 save_CXXFLAGS="$CXXFLAGS"
3532 CXXFLAGS="$CXXFLAGS -fno-builtin"
3534 ac_cpp='$CPP $CPPFLAGS'
3535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3540 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if test "${ac_cv_prog_CC+set}" = set; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$CC"; then
3547 ac_cv_prog_CC="$CC" # Let the user override the test.
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 if test -n "$CC"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3569 $as_echo "$CC" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3577 if test -z "$ac_cv_prog_CC"; then
3579 # Extract the first word of "gcc", so it can be a program name with args.
3580 set dummy gcc; ac_word=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3584 $as_echo_n "(cached) " >&6
3586 if test -n "$ac_ct_CC"; then
3587 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir=.
3594 for ac_exec_ext in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 ac_cv_prog_ac_ct_CC="gcc"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3607 if test -n "$ac_ct_CC"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3609 $as_echo "$ac_ct_CC" >&6; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3615 if test "x$ac_ct_CC" = x; then
3618 case $cross_compiling:$ac_tool_warned in
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622 ac_tool_warned=yes ;;
3630 if test -z "$CC"; then
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}cc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}cc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3671 if test -z "$CC"; then
3672 # Extract the first word of "cc", so it can be a program name with args.
3673 set dummy cc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3679 if test -n "$CC"; then
3680 ac_cv_prog_CC="$CC" # Let the user override the test.
3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 test -z "$as_dir" && as_dir=.
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3691 ac_prog_rejected=yes
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 if test $ac_prog_rejected = yes; then
3703 # We found a bogon in the path, so make sure we never use it.
3704 set dummy $ac_cv_prog_CC
3706 if test $# != 0; then
3707 # We chose a different compiler from the bogus one.
3708 # However, it has the same basename, so the bogon will be chosen
3709 # first if we set CC to just the basename; use the full file name.
3711 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3727 if test -z "$CC"; then
3728 if test -n "$ac_tool_prefix"; then
3729 for ac_prog in cl.exe
3731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if test "${ac_cv_prog_CC+set}" = set; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$CC"; then
3739 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir=.
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 if test -n "$CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 $as_echo "$CC" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3768 test -n "$CC" && break
3771 if test -z "$CC"; then
3773 for ac_prog in cl.exe
3775 # Extract the first word of "$ac_prog", so it can be a program name with args.
3776 set dummy $ac_prog; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$ac_ct_CC"; then
3783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792 ac_cv_prog_ac_ct_CC="$ac_prog"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3803 if test -n "$ac_ct_CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3805 $as_echo "$ac_ct_CC" >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3812 test -n "$ac_ct_CC" && break
3815 if test "x$ac_ct_CC" = x; then
3818 case $cross_compiling:$ac_tool_warned in
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3822 ac_tool_warned=yes ;;
3831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error "no acceptable C compiler found in \$PATH
3834 See \`config.log' for more details." "$LINENO" 5; }
3836 # Provide some information about the compiler.
3837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3840 for ac_option in --version -v -V -qversion; do
3841 { { ac_try="$ac_compiler $ac_option >&5"
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 if test -s conftest.err; then
3852 ... rest of stderr output deleted ...
3853 10q' conftest.err >conftest.er1
3854 cat conftest.er1 >&5
3855 rm -f conftest.er1 conftest.err
3857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3858 test $ac_status = 0; }
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3874 (eval $ac_link) 2>&5
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; then :
3882 if test x$gcc_no_link = xyes; then
3883 # Setting cross_compile will disable run tests; it will
3884 # also disable AC_CHECK_FILE but that's generally
3885 # correct if we can't link.
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3900 ac_clean_files_save=$ac_clean_files
3901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3902 # Try to create an executable without -o first, disregard a.out.
3903 # It will help us diagnose broken compilers, and finding out an intuition
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3906 $as_echo_n "checking for C compiler default output file name... " >&6; }
3907 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3909 # The possible output files:
3910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3913 for ac_file in $ac_files
3916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3917 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922 if { { ac_try="$ac_link_default"
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_link_default") 2>&5
3931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932 test $ac_status = 0; }; then :
3933 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3935 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3936 # so that the user can short-circuit this test for compilers unknown to
3938 for ac_file in $ac_files ''
3940 test -f "$ac_file" || continue
3942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3945 # We found the default executable, but exeext='' is most
3949 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3951 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 # We set ac_cv_exeext here because the later test for it is not
3954 # safe: cross compilers may not add the suffix if given an `-o'
3955 # argument, so we may need to know it at that point already.
3956 # Even if this section looks crufty: it has the advantage of
3963 test "$ac_cv_exeext" = no && ac_cv_exeext=
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3969 $as_echo "$ac_file" >&6; }
3970 if test -z "$ac_file"; then :
3971 $as_echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 { as_fn_set_status 77
3977 as_fn_error "C compiler cannot create executables
3978 See \`config.log' for more details." "$LINENO" 5; }; }
3980 ac_exeext=$ac_cv_exeext
3982 # Check that the compiler produces executables we can run. If not, either
3983 # the compiler is broken, or we cross compile.
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3985 $as_echo_n "checking whether the C compiler works... " >&6; }
3986 # If not cross compiling, check that we can run a simple program.
3987 if test "$cross_compiling" != yes; then
3988 if { ac_try='./$ac_file'
3989 { { case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_try") 2>&5
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; }; then
4001 if test "$cross_compiling" = maybe; then
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error "cannot run C compiled programs.
4007 If you meant to cross compile, use \`--host'.
4008 See \`config.log' for more details." "$LINENO" 5; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4015 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4016 ac_clean_files=$ac_clean_files_save
4017 # Check that the compiler produces executables we can run. If not, either
4018 # the compiler is broken, or we cross compile.
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4020 $as_echo_n "checking whether we are cross compiling... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4022 $as_echo "$cross_compiling" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4025 $as_echo_n "checking for suffix of executables... " >&6; }
4026 if { { ac_try="$ac_link"
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4039 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 for ac_file in conftest.exe conftest conftest.*; do
4042 test -f "$ac_file" || continue
4044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4045 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error "cannot compute suffix of executables: cannot compile and link
4054 See \`config.log' for more details." "$LINENO" 5; }
4056 rm -f conftest$ac_cv_exeext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 $as_echo "$ac_cv_exeext" >&6; }
4060 rm -f conftest.$ac_ext
4061 EXEEXT=$ac_cv_exeext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4065 $as_echo_n "checking for suffix of object files... " >&6; }
4066 if test "${ac_cv_objext+set}" = set; then :
4067 $as_echo_n "(cached) " >&6
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4080 rm -f conftest.o conftest.obj
4081 if { { ac_try="$ac_compile"
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_compile") 2>&5
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 for ac_file in conftest.o conftest.obj conftest.*; do
4093 test -f "$ac_file" || continue;
4095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4096 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4101 $as_echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error "cannot compute suffix of object files: cannot compile
4107 See \`config.log' for more details." "$LINENO" 5; }
4109 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4112 $as_echo "$ac_cv_objext" >&6; }
4113 OBJEXT=$ac_cv_objext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4117 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4118 $as_echo_n "(cached) " >&6
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4134 if ac_fn_c_try_compile "$LINENO"; then :
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4145 if test $ac_compiler_gnu = yes; then
4150 ac_test_CFLAGS=${CFLAGS+set}
4151 ac_save_CFLAGS=$CFLAGS
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4154 if test "${ac_cv_prog_cc_g+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 ac_save_c_werror_flag=$ac_c_werror_flag
4158 ac_c_werror_flag=yes
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4172 if ac_fn_c_try_compile "$LINENO"; then :
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4187 if ac_fn_c_try_compile "$LINENO"; then :
4190 ac_c_werror_flag=$ac_save_c_werror_flag
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4214 $as_echo "$ac_cv_prog_cc_g" >&6; }
4215 if test "$ac_test_CFLAGS" = set; then
4216 CFLAGS=$ac_save_CFLAGS
4217 elif test $ac_cv_prog_cc_g = yes; then
4218 if test "$GCC" = yes; then
4224 if test "$GCC" = yes; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4232 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4233 $as_echo_n "(cached) " >&6
4235 ac_cv_prog_cc_c89=no
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4241 #include <sys/types.h>
4242 #include <sys/stat.h>
4243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4244 struct buf { int x; };
4245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4246 static char *e (p, i)
4252 static char *f (char * (*g) (char **, int), char **p, ...)
4257 s = g (p, va_arg (v,int));
4262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4263 function prototypes and stuff, but not '\xHH' hex character constants.
4264 These don't provoke an error unfortunately, instead are silently treated
4265 as 'x'. The following induces an error, until -std is added to get
4266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4267 array size at least. It's necessary to write '\x00'==0 to get something
4268 that's true only with -std. */
4269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4272 inside strings and character constants. */
4274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4276 int test (int i, double x);
4277 struct s1 {int (*f) (int a);};
4278 struct s2 {int (*f) (double a);};
4279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4291 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4293 CC="$ac_save_CC $ac_arg"
4294 if ac_fn_c_try_compile "$LINENO"; then :
4295 ac_cv_prog_cc_c89=$ac_arg
4297 rm -f core conftest.err conftest.$ac_objext
4298 test "x$ac_cv_prog_cc_c89" != "xno" && break
4300 rm -f conftest.$ac_ext
4305 case "x$ac_cv_prog_cc_c89" in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4308 $as_echo "none needed" >&6; } ;;
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4311 $as_echo "unsupported" >&6; } ;;
4313 CC="$CC $ac_cv_prog_cc_c89"
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4315 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4317 if test "x$ac_cv_prog_cc_c89" != xno; then :
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 ac_cpp='$CXXCPP $CPPFLAGS'
4329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4332 if test -z "$CXX"; then
4333 if test -n "$CCC"; then
4336 if test -n "$ac_tool_prefix"; then
4337 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if test "${ac_cv_prog_CXX+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -n "$CXX"; then
4347 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir=.
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4356 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 if test -n "$CXX"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4369 $as_echo "$CXX" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4376 test -n "$CXX" && break
4379 if test -z "$CXX"; then
4381 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4383 # Extract the first word of "$ac_prog", so it can be a program name with args.
4384 set dummy $ac_prog; ac_word=$2
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386 $as_echo_n "checking for $ac_word... " >&6; }
4387 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4388 $as_echo_n "(cached) " >&6
4390 if test -n "$ac_ct_CXX"; then
4391 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400 ac_cv_prog_ac_ct_CXX="$ac_prog"
4401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4411 if test -n "$ac_ct_CXX"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4413 $as_echo "$ac_ct_CXX" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4420 test -n "$ac_ct_CXX" && break
4423 if test "x$ac_ct_CXX" = x; then
4426 case $cross_compiling:$ac_tool_warned in
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4430 ac_tool_warned=yes ;;
4438 # Provide some information about the compiler.
4439 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4442 for ac_option in --version -v -V -qversion; do
4443 { { ac_try="$ac_compiler $ac_option >&5"
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4452 if test -s conftest.err; then
4454 ... rest of stderr output deleted ...
4455 10q' conftest.err >conftest.er1
4456 cat conftest.er1 >&5
4457 rm -f conftest.er1 conftest.err
4459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4460 test $ac_status = 0; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4464 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4465 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4482 if ac_fn_cxx_try_compile "$LINENO"; then :
4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4492 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4493 if test $ac_compiler_gnu = yes; then
4498 ac_test_CXXFLAGS=${CXXFLAGS+set}
4499 ac_save_CXXFLAGS=$CXXFLAGS
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4501 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4502 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4503 $as_echo_n "(cached) " >&6
4505 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4506 ac_cxx_werror_flag=yes
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_cv_prog_cxx_g=yes
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4535 if ac_fn_cxx_try_compile "$LINENO"; then :
4538 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4551 if ac_fn_cxx_try_compile "$LINENO"; then :
4552 ac_cv_prog_cxx_g=yes
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4562 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4563 if test "$ac_test_CXXFLAGS" = set; then
4564 CXXFLAGS=$ac_save_CXXFLAGS
4565 elif test $ac_cv_prog_cxx_g = yes; then
4566 if test "$GXX" = yes; then
4572 if test "$GXX" = yes; then
4579 ac_cpp='$CPP $CPPFLAGS'
4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4584 CXXFLAGS="$save_CXXFLAGS"
4586 # Runs configure.host, and assorted other critical bits. Sets
4587 # up critical shell variables.
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4595 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4596 # On Suns, sometimes $CPP names a directory.
4597 if test -n "$CPP" && test -d "$CPP"; then
4600 if test -z "$CPP"; then
4601 if test "${ac_cv_prog_CPP+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 # Double quotes because CPP needs to be expanded
4605 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4608 for ac_c_preproc_warn_flag in '' yes
4610 # Use a header file that comes with gcc, so configuring glibc
4611 # with a fresh cross-compiler works.
4612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4613 # <limits.h> exists even on freestanding compilers.
4614 # On the NeXT, cc -E runs the code through the compiler's parser,
4615 # not just through cpp. "Syntax error" is here to catch this case.
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4619 # include <limits.h>
4621 # include <assert.h>
4625 if ac_fn_c_try_cpp "$LINENO"; then :
4628 # Broken: fails on valid input.
4631 rm -f conftest.err conftest.$ac_ext
4633 # OK, works on sane cases. Now check whether nonexistent headers
4634 # can be detected and how.
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4637 #include <ac_nonexistent.h>
4639 if ac_fn_c_try_cpp "$LINENO"; then :
4640 # Broken: success on invalid input.
4643 # Passes both tests.
4647 rm -f conftest.err conftest.$ac_ext
4650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4651 rm -f conftest.err conftest.$ac_ext
4652 if $ac_preproc_ok; then :
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4665 $as_echo "$CPP" >&6; }
4667 for ac_c_preproc_warn_flag in '' yes
4669 # Use a header file that comes with gcc, so configuring glibc
4670 # with a fresh cross-compiler works.
4671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4672 # <limits.h> exists even on freestanding compilers.
4673 # On the NeXT, cc -E runs the code through the compiler's parser,
4674 # not just through cpp. "Syntax error" is here to catch this case.
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4678 # include <limits.h>
4680 # include <assert.h>
4684 if ac_fn_c_try_cpp "$LINENO"; then :
4687 # Broken: fails on valid input.
4690 rm -f conftest.err conftest.$ac_ext
4692 # OK, works on sane cases. Now check whether nonexistent headers
4693 # can be detected and how.
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696 #include <ac_nonexistent.h>
4698 if ac_fn_c_try_cpp "$LINENO"; then :
4699 # Broken: success on invalid input.
4702 # Passes both tests.
4706 rm -f conftest.err conftest.$ac_ext
4709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4710 rm -f conftest.err conftest.$ac_ext
4711 if $ac_preproc_ok; then :
4714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4716 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4717 See \`config.log' for more details." "$LINENO" 5; }
4721 ac_cpp='$CPP $CPPFLAGS'
4722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4728 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4729 if test "${ac_cv_path_GREP+set}" = set; then :
4730 $as_echo_n "(cached) " >&6
4732 if test -z "$GREP"; then
4733 ac_path_GREP_found=false
4734 # Loop through the user's path and test for each of PROGNAME-LIST
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739 test -z "$as_dir" && as_dir=.
4740 for ac_prog in grep ggrep; do
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4743 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4744 # Check for GNU ac_path_GREP and select it if it is found.
4745 # Check for GNU $ac_path_GREP
4746 case `"$ac_path_GREP" --version 2>&1` in
4748 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4751 $as_echo_n 0123456789 >"conftest.in"
4754 cat "conftest.in" "conftest.in" >"conftest.tmp"
4755 mv "conftest.tmp" "conftest.in"
4756 cp "conftest.in" "conftest.nl"
4757 $as_echo 'GREP' >> "conftest.nl"
4758 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4759 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4760 as_fn_arith $ac_count + 1 && ac_count=$as_val
4761 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4762 # Best one so far, save it but keep looking for a better one
4763 ac_cv_path_GREP="$ac_path_GREP"
4764 ac_path_GREP_max=$ac_count
4766 # 10*(2^10) chars as input seems more than enough
4767 test $ac_count -gt 10 && break
4769 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4772 $ac_path_GREP_found && break 3
4777 if test -z "$ac_cv_path_GREP"; then
4778 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781 ac_cv_path_GREP=$GREP
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4786 $as_echo "$ac_cv_path_GREP" >&6; }
4787 GREP="$ac_cv_path_GREP"
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4791 $as_echo_n "checking for egrep... " >&6; }
4792 if test "${ac_cv_path_EGREP+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4795 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4796 then ac_cv_path_EGREP="$GREP -E"
4798 if test -z "$EGREP"; then
4799 ac_path_EGREP_found=false
4800 # Loop through the user's path and test for each of PROGNAME-LIST
4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4805 test -z "$as_dir" && as_dir=.
4806 for ac_prog in egrep; do
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4810 # Check for GNU ac_path_EGREP and select it if it is found.
4811 # Check for GNU $ac_path_EGREP
4812 case `"$ac_path_EGREP" --version 2>&1` in
4814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4817 $as_echo_n 0123456789 >"conftest.in"
4820 cat "conftest.in" "conftest.in" >"conftest.tmp"
4821 mv "conftest.tmp" "conftest.in"
4822 cp "conftest.in" "conftest.nl"
4823 $as_echo 'EGREP' >> "conftest.nl"
4824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4826 as_fn_arith $ac_count + 1 && ac_count=$as_val
4827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4828 # Best one so far, save it but keep looking for a better one
4829 ac_cv_path_EGREP="$ac_path_EGREP"
4830 ac_path_EGREP_max=$ac_count
4832 # 10*(2^10) chars as input seems more than enough
4833 test $ac_count -gt 10 && break
4835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838 $ac_path_EGREP_found && break 3
4843 if test -z "$ac_cv_path_EGREP"; then
4844 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4847 ac_cv_path_EGREP=$EGREP
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4853 $as_echo "$ac_cv_path_EGREP" >&6; }
4854 EGREP="$ac_cv_path_EGREP"
4858 # Keep these sync'd with the list in Makefile.am. The first provides an
4859 # expandable list at autoconf time; the second provides an expandable list
4860 # (i.e., shell variable) at configure time.
4862 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4864 # These need to be absolute paths, yet at the same time need to
4865 # canonicalize only relative paths, because then amd will not unmount
4866 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4867 glibcxx_builddir=`${PWDCMD-pwd}`
4869 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4870 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4872 toplevel_builddir=${glibcxx_builddir}/..
4873 toplevel_srcdir=${glibcxx_srcdir}/..
4879 # We use these options to decide which functions to include. They are
4880 # set from the top level.
4882 # Check whether --with-target-subdir was given.
4883 if test "${with_target_subdir+set}" = set; then :
4884 withval=$with_target_subdir;
4889 # Check whether --with-cross-host was given.
4890 if test "${with_cross_host+set}" = set; then :
4891 withval=$with_cross_host;
4896 # Check whether --with-newlib was given.
4897 if test "${with_newlib+set}" = set; then :
4898 withval=$with_newlib;
4902 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4903 # available). Uncomment the next line to force a particular method.
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4905 $as_echo_n "checking whether ln -s works... " >&6; }
4907 if test "$LN_S" = "ln -s"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4912 $as_echo "no, using $LN_S" >&6; }
4917 if test -n "$ac_tool_prefix"; then
4918 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4919 set dummy ${ac_tool_prefix}as; ac_word=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if test "${ac_cv_prog_AS+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$AS"; then
4926 ac_cv_prog_AS="$AS" # Let the user override the test.
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_AS="${ac_tool_prefix}as"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 if test -n "$AS"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4948 $as_echo "$AS" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4956 if test -z "$ac_cv_prog_AS"; then
4958 # Extract the first word of "as", so it can be a program name with args.
4959 set dummy as; ac_word=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$ac_ct_AS"; then
4966 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir=.
4973 for ac_exec_ext in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_ac_ct_AS="as"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4986 if test -n "$ac_ct_AS"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4988 $as_echo "$ac_ct_AS" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4994 if test "x$ac_ct_AS" = x; then
4997 case $cross_compiling:$ac_tool_warned in
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5001 ac_tool_warned=yes ;;
5009 if test -n "$ac_tool_prefix"; then
5010 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5011 set dummy ${ac_tool_prefix}ar; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if test "${ac_cv_prog_AR+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$AR"; then
5018 ac_cv_prog_AR="$AR" # Let the user override the test.
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_prog_AR="${ac_tool_prefix}ar"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 if test -n "$AR"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5040 $as_echo "$AR" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5048 if test -z "$ac_cv_prog_AR"; then
5050 # Extract the first word of "ar", so it can be a program name with args.
5051 set dummy ar; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5057 if test -n "$ac_ct_AR"; then
5058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_ac_ct_AR="ar"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5078 if test -n "$ac_ct_AR"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5080 $as_echo "$ac_ct_AR" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5086 if test "x$ac_ct_AR" = x; then
5089 case $cross_compiling:$ac_tool_warned in
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5101 if test -n "$ac_tool_prefix"; then
5102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5107 $as_echo_n "(cached) " >&6
5109 if test -n "$RANLIB"; then
5110 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir=.
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 RANLIB=$ac_cv_prog_RANLIB
5130 if test -n "$RANLIB"; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5132 $as_echo "$RANLIB" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5140 if test -z "$ac_cv_prog_RANLIB"; then
5141 ac_ct_RANLIB=$RANLIB
5142 # Extract the first word of "ranlib", so it can be a program name with args.
5143 set dummy ranlib; ac_word=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5147 $as_echo_n "(cached) " >&6
5149 if test -n "$ac_ct_RANLIB"; then
5150 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_RANLIB="ranlib"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5170 if test -n "$ac_ct_RANLIB"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5172 $as_echo "$ac_ct_RANLIB" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5178 if test "x$ac_ct_RANLIB" = x; then
5179 RANLIB="ranlib-not-found-in-path-error"
5181 case $cross_compiling:$ac_tool_warned in
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned=yes ;;
5187 RANLIB=$ac_ct_RANLIB
5190 RANLIB="$ac_cv_prog_RANLIB"
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5196 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5197 # Check whether --enable-maintainer-mode was given.
5198 if test "${enable_maintainer_mode+set}" = set; then :
5199 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5201 USE_MAINTAINER_MODE=no
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5205 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5206 if test $USE_MAINTAINER_MODE = yes; then
5207 MAINTAINER_MODE_TRUE=
5208 MAINTAINER_MODE_FALSE='#'
5210 MAINTAINER_MODE_TRUE='#'
5211 MAINTAINER_MODE_FALSE=
5214 MAINT=$MAINTAINER_MODE_TRUE
5218 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5219 # which are themselves conditionally expanded.
5220 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5221 ## other macros from doing the same. This should be automated.) -pme
5223 # Check for C library flavor since GNU/Linux platforms use different
5224 # configuration directories depending on the C library in use.
5225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226 /* end confdefs.h. */
5234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5235 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5261 # Find platform-specific directories containing configuration info.
5262 # Also possibly modify flags used elsewhere, as needed by the platform.
5264 . $glibcxx_srcdir/configure.host
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5266 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5268 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5272 if test "x${with_newlib}" != "xyes"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5281 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5286 macro_version='2.2.7a'
5287 macro_revision='1.3134'
5301 ltmain="$ac_aux_dir/ltmain.sh"
5303 # Backslashify metacharacters that are still active within
5304 # double-quoted strings.
5305 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5307 # Same as above, but do not quote variable references.
5308 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5310 # Sed substitution to delay expansion of an escaped shell variable in a
5311 # double_quote_subst'ed string.
5312 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5314 # Sed substitution to delay expansion of an escaped single quote.
5315 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5317 # Sed substitution to avoid accidental globbing in evaled expressions
5318 no_glob_subst='s/\*/\\\*/g'
5320 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5321 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5322 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5325 $as_echo_n "checking how to print strings... " >&6; }
5326 # Test print first, because it will be a builtin if present.
5327 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5328 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5330 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5333 # Use this function as a fallback that always works.
5334 func_fallback_echo ()
5336 eval 'cat <<_LTECHO_EOF
5340 ECHO='func_fallback_echo'
5343 # func_echo_all arg...
5344 # Invoke $ECHO with all args, space-separated.
5351 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5352 $as_echo "printf" >&6; } ;;
5353 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5354 $as_echo "print -r" >&6; } ;;
5355 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5356 $as_echo "cat" >&6; } ;;
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5373 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5374 if test "${ac_cv_path_SED+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5378 for ac_i in 1 2 3 4 5 6 7; do
5379 ac_script="$ac_script$as_nl$ac_script"
5381 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5382 { ac_script=; unset ac_script;}
5383 if test -z "$SED"; then
5384 ac_path_SED_found=false
5385 # Loop through the user's path and test for each of PROGNAME-LIST
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 test -z "$as_dir" && as_dir=.
5391 for ac_prog in sed gsed; do
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5394 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5395 # Check for GNU ac_path_SED and select it if it is found.
5396 # Check for GNU $ac_path_SED
5397 case `"$ac_path_SED" --version 2>&1` in
5399 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5402 $as_echo_n 0123456789 >"conftest.in"
5405 cat "conftest.in" "conftest.in" >"conftest.tmp"
5406 mv "conftest.tmp" "conftest.in"
5407 cp "conftest.in" "conftest.nl"
5408 $as_echo '' >> "conftest.nl"
5409 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5410 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5411 as_fn_arith $ac_count + 1 && ac_count=$as_val
5412 if test $ac_count -gt ${ac_path_SED_max-0}; then
5413 # Best one so far, save it but keep looking for a better one
5414 ac_cv_path_SED="$ac_path_SED"
5415 ac_path_SED_max=$ac_count
5417 # 10*(2^10) chars as input seems more than enough
5418 test $ac_count -gt 10 && break
5420 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 $ac_path_SED_found && break 3
5428 if test -z "$ac_cv_path_SED"; then
5429 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5437 $as_echo "$ac_cv_path_SED" >&6; }
5438 SED="$ac_cv_path_SED"
5441 test -z "$SED" && SED=sed
5442 Xsed="$SED -e 1s/^X//"
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5455 $as_echo_n "checking for fgrep... " >&6; }
5456 if test "${ac_cv_path_FGREP+set}" = set; then :
5457 $as_echo_n "(cached) " >&6
5459 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5460 then ac_cv_path_FGREP="$GREP -F"
5462 if test -z "$FGREP"; then
5463 ac_path_FGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in fgrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5474 # Check for GNU ac_path_FGREP and select it if it is found.
5475 # Check for GNU $ac_path_FGREP
5476 case `"$ac_path_FGREP" --version 2>&1` in
5478 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5481 $as_echo_n 0123456789 >"conftest.in"
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'FGREP' >> "conftest.nl"
5488 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_FGREP="$ac_path_FGREP"
5494 ac_path_FGREP_max=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 $ac_path_FGREP_found && break 3
5507 if test -z "$ac_cv_path_FGREP"; then
5508 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5511 ac_cv_path_FGREP=$FGREP
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5517 $as_echo "$ac_cv_path_FGREP" >&6; }
5518 FGREP="$ac_cv_path_FGREP"
5521 test -z "$GREP" && GREP=grep
5541 # Check whether --with-gnu-ld was given.
5542 if test "${with_gnu_ld+set}" = set; then :
5543 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5549 if test "$GCC" = yes; then
5550 # Check if gcc -print-prog-name=ld gives a path.
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5552 $as_echo_n "checking for ld used by $CC... " >&6; }
5555 # gcc leaves a trailing carriage return which upsets mingw
5556 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5561 # Accept absolute paths.
5563 re_direlt='/[^/][^/]*/\.\./'
5564 # Canonicalize the pathname of ld
5565 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5566 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5567 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5569 test -z "$LD" && LD="$ac_prog"
5572 # If it fails, then pretend we aren't using GCC.
5576 # If it is relative, then search for the first ld in PATH.
5580 elif test "$with_gnu_ld" = yes; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5582 $as_echo_n "checking for GNU ld... " >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5585 $as_echo_n "checking for non-GNU ld... " >&6; }
5587 if test "${lt_cv_path_LD+set}" = set; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -z "$LD"; then
5591 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5592 for ac_dir in $PATH; do
5594 test -z "$ac_dir" && ac_dir=.
5595 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5596 lt_cv_path_LD="$ac_dir/$ac_prog"
5597 # Check to see if the program is GNU ld. I'd rather use --version,
5598 # but apparently some variants of GNU ld only accept -v.
5599 # Break only if it was the GNU/non-GNU ld that we prefer.
5600 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5601 *GNU* | *'with BFD'*)
5602 test "$with_gnu_ld" != no && break
5605 test "$with_gnu_ld" != yes && break
5612 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5617 if test -n "$LD"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5619 $as_echo "$LD" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5624 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5626 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5627 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5628 $as_echo_n "(cached) " >&6
5630 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5631 case `$LD -v 2>&1 </dev/null` in
5632 *GNU* | *'with BFD'*)
5633 lt_cv_prog_gnu_ld=yes
5636 lt_cv_prog_gnu_ld=no
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5641 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5642 with_gnu_ld=$lt_cv_prog_gnu_ld
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5653 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5654 if test "${lt_cv_path_NM+set}" = set; then :
5655 $as_echo_n "(cached) " >&6
5657 if test -n "$NM"; then
5658 # Let the user override the test.
5661 lt_nm_to_check="${ac_tool_prefix}nm"
5662 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5663 lt_nm_to_check="$lt_nm_to_check nm"
5665 for lt_tmp_nm in $lt_nm_to_check; do
5666 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5667 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5669 test -z "$ac_dir" && ac_dir=.
5670 tmp_nm="$ac_dir/$lt_tmp_nm"
5671 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5672 # Check to see if the nm accepts a BSD-compat flag.
5673 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5674 # nm: unknown option "B" ignored
5675 # Tru64's nm complains that /dev/null is an invalid object file
5676 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5677 */dev/null* | *'Invalid file or object type'*)
5678 lt_cv_path_NM="$tmp_nm -B"
5682 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5684 lt_cv_path_NM="$tmp_nm -p"
5688 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5689 continue # so that we can try to find one that supports BSD flags
5698 : ${lt_cv_path_NM=no}
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5702 $as_echo "$lt_cv_path_NM" >&6; }
5703 if test "$lt_cv_path_NM" != "no"; then
5706 # Didn't find any BSD compatible name lister, look for dumpbin.
5707 if test -n "$DUMPBIN"; then :
5708 # Let the user override the test.
5710 if test -n "$ac_tool_prefix"; then
5711 for ac_prog in dumpbin "link -dump"
5713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5718 $as_echo_n "(cached) " >&6
5720 if test -n "$DUMPBIN"; then
5721 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5730 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 DUMPBIN=$ac_cv_prog_DUMPBIN
5741 if test -n "$DUMPBIN"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5743 $as_echo "$DUMPBIN" >&6; }
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5750 test -n "$DUMPBIN" && break
5753 if test -z "$DUMPBIN"; then
5754 ac_ct_DUMPBIN=$DUMPBIN
5755 for ac_prog in dumpbin "link -dump"
5757 # Extract the first word of "$ac_prog", so it can be a program name with args.
5758 set dummy $ac_prog; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -n "$ac_ct_DUMPBIN"; then
5765 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5785 if test -n "$ac_ct_DUMPBIN"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5787 $as_echo "$ac_ct_DUMPBIN" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5794 test -n "$ac_ct_DUMPBIN" && break
5797 if test "x$ac_ct_DUMPBIN" = x; then
5800 case $cross_compiling:$ac_tool_warned in
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804 ac_tool_warned=yes ;;
5806 DUMPBIN=$ac_ct_DUMPBIN
5810 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5812 DUMPBIN="$DUMPBIN -symbols"
5820 if test "$DUMPBIN" != ":"; then
5824 test -z "$NM" && NM=nm
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5832 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5833 if test "${lt_cv_nm_interface+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5836 lt_cv_nm_interface="BSD nm"
5837 echo "int some_variable = 0;" > conftest.$ac_ext
5838 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5839 (eval "$ac_compile" 2>conftest.err)
5840 cat conftest.err >&5
5841 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5842 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5843 cat conftest.err >&5
5844 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5845 cat conftest.out >&5
5846 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5847 lt_cv_nm_interface="MS dumpbin"
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5852 $as_echo "$lt_cv_nm_interface" >&6; }
5854 # find the maximum length of command line arguments
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5856 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5857 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5865 # On DJGPP, this test can blow up pretty badly due to problems in libc
5866 # (any single argument exceeding 2000 bytes causes a buffer overrun
5867 # during glob expansion). Even if it were fixed, the result of this
5868 # check would be larger than it should be.
5869 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5873 # Under GNU Hurd, this test is not required because there is
5874 # no limit to the length of command line arguments.
5875 # Libtool will interpret -1 as no limit whatsoever
5876 lt_cv_sys_max_cmd_len=-1;
5879 cygwin* | mingw* | cegcc*)
5880 # On Win9x/ME, this test blows up -- it succeeds, but takes
5881 # about 5 minutes as the teststring grows exponentially.
5882 # Worse, since 9x/ME are not pre-emptively multitasking,
5883 # you end up with a "frozen" computer, even though with patience
5884 # the test eventually succeeds (with a max line length of 256k).
5885 # Instead, let's just punt: use the minimum linelength reported by
5886 # all of the supported platforms: 8192 (on NT/2K/XP).
5887 lt_cv_sys_max_cmd_len=8192;
5891 # On MiNT this can take a long time and run out of memory.
5892 lt_cv_sys_max_cmd_len=8192;
5896 # On AmigaOS with pdksh, this test takes hours, literally.
5897 # So we just punt and use a minimum line length of 8192.
5898 lt_cv_sys_max_cmd_len=8192;
5901 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5902 # This has been around since 386BSD, at least. Likely further.
5903 if test -x /sbin/sysctl; then
5904 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5905 elif test -x /usr/sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5908 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5910 # And add a safety zone
5911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5916 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5917 lt_cv_sys_max_cmd_len=196608
5921 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5922 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5923 # nice to cause kernel panics so lets avoid the loop below.
5924 # First set a reasonable default.
5925 lt_cv_sys_max_cmd_len=16384
5927 if test -x /sbin/sysconfig; then
5928 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5929 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5934 lt_cv_sys_max_cmd_len=102400
5936 sysv5* | sco5v6* | sysv4.2uw2*)
5937 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5938 if test -n "$kargmax"; then
5939 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5941 lt_cv_sys_max_cmd_len=32768
5945 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5946 if test -n "$lt_cv_sys_max_cmd_len"; then
5947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5950 # Make teststring a little bigger before we do anything with it.
5951 # a 1K string should be a reasonable start.
5952 for i in 1 2 3 4 5 6 7 8 ; do
5953 teststring=$teststring$teststring
5955 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5956 # If test is not a shell built-in, we'll probably end up computing a
5957 # maximum length that is only half of the actual maximum length, but
5959 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5960 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5961 test $i != 17 # 1/2 MB should be enough
5964 teststring=$teststring$teststring
5966 # Only check the string length outside the loop.
5967 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5969 # Add a significant safety factor because C++ compilers can tack on
5970 # massive amounts of additional arguments before passing them to the
5971 # linker. It appears as though 1/2 is a usable value.
5972 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5979 if test -n $lt_cv_sys_max_cmd_len ; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5981 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5984 $as_echo "none" >&6; }
5986 max_cmd_len=$lt_cv_sys_max_cmd_len
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5998 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5999 # Try some XSI features
6002 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6004 && eval 'test $(( 1 + 1 )) -eq 2 \
6005 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6008 $as_echo "$xsi_shell" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6012 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6014 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6016 && lt_shell_append=yes
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6018 $as_echo "$lt_shell_append" >&6; }
6021 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6031 # test EBCDIC or ASCII
6032 case `echo X|tr X '\101'` in
6033 A) # ASCII based system
6034 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6035 lt_SP2NL='tr \040 \012'
6036 lt_NL2SP='tr \015\012 \040\040'
6038 *) # EBCDIC based system
6039 lt_SP2NL='tr \100 \n'
6040 lt_NL2SP='tr \r\n \100\100'
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6053 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6054 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6055 $as_echo_n "(cached) " >&6
6057 lt_cv_ld_reload_flag='-r'
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6060 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6061 reload_flag=$lt_cv_ld_reload_flag
6062 case $reload_flag in
6064 *) reload_flag=" $reload_flag" ;;
6066 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 if test "$GCC" = yes; then
6070 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6085 if test -n "$ac_tool_prefix"; then
6086 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6087 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6091 $as_echo_n "(cached) " >&6
6093 if test -n "$OBJDUMP"; then
6094 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 OBJDUMP=$ac_cv_prog_OBJDUMP
6114 if test -n "$OBJDUMP"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6116 $as_echo "$OBJDUMP" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6124 if test -z "$ac_cv_prog_OBJDUMP"; then
6125 ac_ct_OBJDUMP=$OBJDUMP
6126 # Extract the first word of "objdump", so it can be a program name with args.
6127 set dummy objdump; ac_word=$2
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129 $as_echo_n "checking for $ac_word... " >&6; }
6130 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6131 $as_echo_n "(cached) " >&6
6133 if test -n "$ac_ct_OBJDUMP"; then
6134 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6154 if test -n "$ac_ct_OBJDUMP"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6156 $as_echo "$ac_ct_OBJDUMP" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 $as_echo "no" >&6; }
6162 if test "x$ac_ct_OBJDUMP" = x; then
6165 case $cross_compiling:$ac_tool_warned in
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6169 ac_tool_warned=yes ;;
6171 OBJDUMP=$ac_ct_OBJDUMP
6174 OBJDUMP="$ac_cv_prog_OBJDUMP"
6177 test -z "$OBJDUMP" && OBJDUMP=objdump
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6188 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6189 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6190 $as_echo_n "(cached) " >&6
6192 lt_cv_file_magic_cmd='$MAGIC_CMD'
6193 lt_cv_file_magic_test_file=
6194 lt_cv_deplibs_check_method='unknown'
6195 # Need to set the preceding variable on all platforms that support
6196 # interlibrary dependencies.
6197 # 'none' -- dependencies not supported.
6198 # `unknown' -- same as none, but documents that we really don't know.
6199 # 'pass_all' -- all dependencies passed with no checks.
6200 # 'test_compile' -- check by making test program.
6201 # 'file_magic [[regex]]' -- check by looking for files in library path
6202 # which responds to the $file_magic_cmd with a given extended regex.
6203 # If you have `file' or equivalent on your system and you're not sure
6204 # whether `pass_all' will *always* work, you probably want this one.
6208 lt_cv_deplibs_check_method=pass_all
6212 lt_cv_deplibs_check_method=pass_all
6216 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6217 lt_cv_file_magic_cmd='/usr/bin/file -L'
6218 lt_cv_file_magic_test_file=/shlib/libc.so
6222 # func_win32_libid is a shell function defined in ltmain.sh
6223 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6224 lt_cv_file_magic_cmd='func_win32_libid'
6228 # Base MSYS/MinGW do not provide the 'file' command needed by
6229 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6230 # unless we find 'file', for example because we are cross-compiling.
6231 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6232 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6233 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6234 lt_cv_file_magic_cmd='func_win32_libid'
6236 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6237 lt_cv_file_magic_cmd='$OBJDUMP -f'
6242 # use the weaker test based on 'objdump'. See mingw*.
6243 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6244 lt_cv_file_magic_cmd='$OBJDUMP -f'
6247 darwin* | rhapsody*)
6248 lt_cv_deplibs_check_method=pass_all
6251 freebsd* | dragonfly*)
6252 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6255 # Not sure whether the presence of OpenBSD here was a mistake.
6256 # Let's accept both of them until this is cleared up.
6257 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6258 lt_cv_file_magic_cmd=/usr/bin/file
6259 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6263 lt_cv_deplibs_check_method=pass_all
6268 lt_cv_deplibs_check_method=pass_all
6272 lt_cv_deplibs_check_method=pass_all
6275 hpux10.20* | hpux11*)
6276 lt_cv_file_magic_cmd=/usr/bin/file
6279 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6280 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6283 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6284 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6287 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6288 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6294 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6298 irix5* | irix6* | nonstopux*)
6300 *-32|*"-32 ") libmagic=32-bit;;
6301 *-n32|*"-n32 ") libmagic=N32;;
6302 *-64|*"-64 ") libmagic=64-bit;;
6303 *) libmagic=never-match;;
6305 lt_cv_deplibs_check_method=pass_all
6308 # This must be Linux ELF.
6309 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6310 lt_cv_deplibs_check_method=pass_all
6314 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6315 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6322 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6323 lt_cv_file_magic_cmd=/usr/bin/file
6324 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6328 lt_cv_deplibs_check_method=pass_all
6332 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6339 osf3* | osf4* | osf5*)
6340 lt_cv_deplibs_check_method=pass_all
6344 lt_cv_deplibs_check_method=pass_all
6348 lt_cv_deplibs_check_method=pass_all
6351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6352 lt_cv_deplibs_check_method=pass_all
6356 case $host_vendor in
6358 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]'
6359 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6362 lt_cv_deplibs_check_method=pass_all
6365 lt_cv_file_magic_cmd='/bin/file'
6366 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6369 lt_cv_file_magic_cmd='/bin/file'
6370 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6371 lt_cv_file_magic_test_file=/lib/libc.so
6374 lt_cv_deplibs_check_method=pass_all
6377 lt_cv_deplibs_check_method=pass_all
6383 lt_cv_deplibs_check_method=pass_all
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6389 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6390 file_magic_cmd=$lt_cv_file_magic_cmd
6391 deplibs_check_method=$lt_cv_deplibs_check_method
6392 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6405 if test -n "$ac_tool_prefix"; then
6406 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6407 set dummy ${ac_tool_prefix}ar; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if test "${ac_cv_prog_AR+set}" = set; then :
6411 $as_echo_n "(cached) " >&6
6413 if test -n "$AR"; then
6414 ac_cv_prog_AR="$AR" # Let the user override the test.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423 ac_cv_prog_AR="${ac_tool_prefix}ar"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6434 if test -n "$AR"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6436 $as_echo "$AR" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6444 if test -z "$ac_cv_prog_AR"; then
6446 # Extract the first word of "ar", so it can be a program name with args.
6447 set dummy ar; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6451 $as_echo_n "(cached) " >&6
6453 if test -n "$ac_ct_AR"; then
6454 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463 ac_cv_prog_ac_ct_AR="ar"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6474 if test -n "$ac_ct_AR"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6476 $as_echo "$ac_ct_AR" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6482 if test "x$ac_ct_AR" = x; then
6485 case $cross_compiling:$ac_tool_warned in
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6489 ac_tool_warned=yes ;;
6497 test -z "$AR" && AR=ar
6498 test -z "$AR_FLAGS" && AR_FLAGS=cru
6510 if test -n "$ac_tool_prefix"; then
6511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}strip; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_STRIP+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6518 if test -n "$STRIP"; then
6519 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 STRIP=$ac_cv_prog_STRIP
6539 if test -n "$STRIP"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6541 $as_echo "$STRIP" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 if test -z "$ac_cv_prog_STRIP"; then
6551 # Extract the first word of "strip", so it can be a program name with args.
6552 set dummy strip; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6556 $as_echo_n "(cached) " >&6
6558 if test -n "$ac_ct_STRIP"; then
6559 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_ac_ct_STRIP="strip"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6579 if test -n "$ac_ct_STRIP"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6581 $as_echo "$ac_ct_STRIP" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6587 if test "x$ac_ct_STRIP" = x; then
6590 case $cross_compiling:$ac_tool_warned in
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6599 STRIP="$ac_cv_prog_STRIP"
6602 test -z "$STRIP" && STRIP=:
6609 if test -n "$ac_tool_prefix"; then
6610 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6611 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6617 if test -n "$RANLIB"; then
6618 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 RANLIB=$ac_cv_prog_RANLIB
6638 if test -n "$RANLIB"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6640 $as_echo "$RANLIB" >&6; }
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6648 if test -z "$ac_cv_prog_RANLIB"; then
6649 ac_ct_RANLIB=$RANLIB
6650 # Extract the first word of "ranlib", so it can be a program name with args.
6651 set dummy ranlib; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6655 $as_echo_n "(cached) " >&6
6657 if test -n "$ac_ct_RANLIB"; then
6658 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6667 ac_cv_prog_ac_ct_RANLIB="ranlib"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6678 if test -n "$ac_ct_RANLIB"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6680 $as_echo "$ac_ct_RANLIB" >&6; }
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6686 if test "x$ac_ct_RANLIB" = x; then
6689 case $cross_compiling:$ac_tool_warned in
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6693 ac_tool_warned=yes ;;
6695 RANLIB=$ac_ct_RANLIB
6698 RANLIB="$ac_cv_prog_RANLIB"
6701 test -z "$RANLIB" && RANLIB=:
6708 # Determine commands to create old-style static archives.
6709 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6710 old_postinstall_cmds='chmod 644 $oldlib'
6711 old_postuninstall_cmds=
6713 if test -n "$RANLIB"; then
6716 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6719 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6722 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6727 lock_old_archive_extraction=yes ;;
6729 lock_old_archive_extraction=no ;;
6770 # If no C compiler was specified, use CC.
6773 # If no C compiler flags were specified, use CFLAGS.
6774 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6776 # Allow CC to be a program name with arguments.
6780 # Check for command to grab the raw symbol name followed by C symbol from nm.
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6782 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6783 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6784 $as_echo_n "(cached) " >&6
6787 # These are sane defaults that work on at least a few old systems.
6788 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6790 # Character class describing NM global symbol codes.
6791 symcode='[BCDEGRST]'
6793 # Regexp to match symbols that can be accessed directly from C.
6794 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6796 # Define system-specific variables.
6801 cygwin* | mingw* | pw32* | cegcc*)
6802 symcode='[ABCDGISTW]'
6805 if test "$host_cpu" = ia64; then
6806 symcode='[ABCDEGRST]'
6810 symcode='[BCDEGRST]'
6813 symcode='[BCDEGQRST]'
6824 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6832 # If we're using GNU nm, then use its standard symbol codes.
6833 case `$NM -V 2>&1` in
6834 *GNU* | *'with BFD'*)
6835 symcode='[ABCDGIRSTW]' ;;
6838 # Transform an extracted symbol line into a proper C declaration.
6839 # Some systems (esp. on ia64) link data and code symbols differently,
6840 # so use this general approach.
6841 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6843 # Transform an extracted symbol line into symbol name and symbol address
6844 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6845 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'"
6847 # Handle CRLF in mingw tool chain
6851 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6855 # Try without a prefix underscore, then with it.
6856 for ac_symprfx in "" "_"; do
6858 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6859 symxfrm="\\1 $ac_symprfx\\2 \\2"
6861 # Write the raw and C identifiers.
6862 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6863 # Fake it for dumpbin and say T for any non-static function
6864 # and D for any global variable.
6865 # Also find C++ and __fastcall symbols from MSVC++,
6866 # which start with @ or ?.
6867 lt_cv_sys_global_symbol_pipe="$AWK '"\
6868 " {last_section=section; section=\$ 3};"\
6869 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6870 " \$ 0!~/External *\|/{next};"\
6871 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6872 " {if(hide[section]) next};"\
6873 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6874 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6875 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6876 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6877 " ' prfx=^$ac_symprfx"
6879 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6882 # Check to see that the pipe works correctly.
6886 cat > conftest.$ac_ext <<_LT_EOF
6891 void nm_test_func(void);
6892 void nm_test_func(void){}
6896 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6900 (eval $ac_compile) 2>&5
6902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6903 test $ac_status = 0; }; then
6904 # Now try to grab the symbols.
6906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6907 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6910 test $ac_status = 0; } && test -s "$nlist"; then
6911 # Try sorting and uniquifying the output.
6912 if sort "$nlist" | uniq > "$nlist"T; then
6913 mv -f "$nlist"T "$nlist"
6918 # Make sure that we snagged all the symbols we need.
6919 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6920 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6921 cat <<_LT_EOF > conftest.$ac_ext
6927 # Now generate the symbol file.
6928 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6930 cat <<_LT_EOF >> conftest.$ac_ext
6932 /* The mapping between symbol names and symbols. */
6937 lt__PROGRAM__LTX_preloaded_symbols[] =
6939 { "@PROGRAM@", (void *) 0 },
6941 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6942 cat <<\_LT_EOF >> conftest.$ac_ext
6946 /* This works around a problem in FreeBSD linker */
6947 #ifdef FREEBSD_WORKAROUND
6948 static const void *lt_preloaded_setup() {
6949 return lt__PROGRAM__LTX_preloaded_symbols;
6957 # Now try linking the two files.
6958 mv conftest.$ac_objext conftstm.$ac_objext
6959 lt_save_LIBS="$LIBS"
6960 lt_save_CFLAGS="$CFLAGS"
6961 LIBS="conftstm.$ac_objext"
6962 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6964 (eval $ac_link) 2>&5
6966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6967 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970 LIBS="$lt_save_LIBS"
6971 CFLAGS="$lt_save_CFLAGS"
6973 echo "cannot find nm_test_func in $nlist" >&5
6976 echo "cannot find nm_test_var in $nlist" >&5
6979 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6982 echo "$progname: failed program was:" >&5
6983 cat conftest.$ac_ext >&5
6985 rm -rf conftest* conftst*
6987 # Do not use the global_symbol_pipe unless it works.
6988 if test "$pipe_works" = yes; then
6991 lt_cv_sys_global_symbol_pipe=
6997 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6998 lt_cv_sys_global_symbol_to_cdecl=
7000 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7002 $as_echo "failed" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7005 $as_echo "ok" >&6; }
7029 # Check whether --enable-libtool-lock was given.
7030 if test "${enable_libtool_lock+set}" = set; then :
7031 enableval=$enable_libtool_lock;
7034 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7036 # Some flags need to be propagated to the compiler or linker for good
7040 # Find out which ABI we are using.
7041 echo 'int i;' > conftest.$ac_ext
7042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7043 (eval $ac_compile) 2>&5
7045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7046 test $ac_status = 0; }; then
7047 case `/usr/bin/file conftest.$ac_objext` in
7059 # Find out which ABI we are using.
7060 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 if test "$lt_cv_prog_gnu_ld" = yes; then
7067 case `/usr/bin/file conftest.$ac_objext` in
7069 LD="${LD-ld} -melf32bsmip"
7072 LD="${LD-ld} -melf32bmipn32"
7075 LD="${LD-ld} -melf64bmip"
7079 case `/usr/bin/file conftest.$ac_objext` in
7095 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7096 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7097 # Find out which ABI we are using.
7098 echo 'int i;' > conftest.$ac_ext
7099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7100 (eval $ac_compile) 2>&5
7102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7103 test $ac_status = 0; }; then
7104 case `/usr/bin/file conftest.o` in
7107 x86_64-*kfreebsd*-gnu)
7108 LD="${LD-ld} -m elf_i386_fbsd"
7111 LD="${LD-ld} -m elf_i386"
7113 ppc64-*linux*|powerpc64-*linux*)
7114 LD="${LD-ld} -m elf32ppclinux"
7117 LD="${LD-ld} -m elf_s390"
7120 LD="${LD-ld} -m elf32_sparc"
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_x86_64_fbsd"
7130 LD="${LD-ld} -m elf_x86_64"
7132 ppc*-*linux*|powerpc*-*linux*)
7133 LD="${LD-ld} -m elf64ppc"
7135 s390*-*linux*|s390*-*tpf*)
7136 LD="${LD-ld} -m elf64_s390"
7139 LD="${LD-ld} -m elf64_sparc"
7149 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7150 SAVE_CFLAGS="$CFLAGS"
7151 CFLAGS="$CFLAGS -belf"
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7153 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7154 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7155 $as_echo_n "(cached) " >&6
7158 ac_cpp='$CPP $CPPFLAGS'
7159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7163 if test x$gcc_no_link = xyes; then
7164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7177 if ac_fn_c_try_link "$LINENO"; then :
7178 lt_cv_cc_needs_belf=yes
7180 lt_cv_cc_needs_belf=no
7182 rm -f core conftest.err conftest.$ac_objext \
7183 conftest$ac_exeext conftest.$ac_ext
7185 ac_cpp='$CPP $CPPFLAGS'
7186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7192 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7193 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7194 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7195 CFLAGS="$SAVE_CFLAGS"
7199 # Find out which ABI we are using.
7200 echo 'int i;' > conftest.$ac_ext
7201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7202 (eval $ac_compile) 2>&5
7204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7205 test $ac_status = 0; }; then
7206 case `/usr/bin/file conftest.o` in
7208 case $lt_cv_prog_gnu_ld in
7209 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7211 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7223 need_locks="$enable_libtool_lock"
7227 rhapsody* | darwin*)
7228 if test -n "$ac_tool_prefix"; then
7229 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7230 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7234 $as_echo_n "(cached) " >&6
7236 if test -n "$DSYMUTIL"; then
7237 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7257 if test -n "$DSYMUTIL"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7259 $as_echo "$DSYMUTIL" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7267 if test -z "$ac_cv_prog_DSYMUTIL"; then
7268 ac_ct_DSYMUTIL=$DSYMUTIL
7269 # Extract the first word of "dsymutil", so it can be a program name with args.
7270 set dummy dsymutil; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$ac_ct_DSYMUTIL"; then
7277 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7297 if test -n "$ac_ct_DSYMUTIL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7299 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7305 if test "x$ac_ct_DSYMUTIL" = x; then
7308 case $cross_compiling:$ac_tool_warned in
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7312 ac_tool_warned=yes ;;
7314 DSYMUTIL=$ac_ct_DSYMUTIL
7317 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7320 if test -n "$ac_tool_prefix"; then
7321 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7328 if test -n "$NMEDIT"; then
7329 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 NMEDIT=$ac_cv_prog_NMEDIT
7349 if test -n "$NMEDIT"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7351 $as_echo "$NMEDIT" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7359 if test -z "$ac_cv_prog_NMEDIT"; then
7360 ac_ct_NMEDIT=$NMEDIT
7361 # Extract the first word of "nmedit", so it can be a program name with args.
7362 set dummy nmedit; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$ac_ct_NMEDIT"; then
7369 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7389 if test -n "$ac_ct_NMEDIT"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7391 $as_echo "$ac_ct_NMEDIT" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7397 if test "x$ac_ct_NMEDIT" = x; then
7400 case $cross_compiling:$ac_tool_warned in
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7406 NMEDIT=$ac_ct_NMEDIT
7409 NMEDIT="$ac_cv_prog_NMEDIT"
7412 if test -n "$ac_tool_prefix"; then
7413 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_LIPO+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$LIPO"; then
7421 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 LIPO=$ac_cv_prog_LIPO
7441 if test -n "$LIPO"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7443 $as_echo "$LIPO" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7451 if test -z "$ac_cv_prog_LIPO"; then
7453 # Extract the first word of "lipo", so it can be a program name with args.
7454 set dummy lipo; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$ac_ct_LIPO"; then
7461 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 ac_cv_prog_ac_ct_LIPO="lipo"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7481 if test -n "$ac_ct_LIPO"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7483 $as_echo "$ac_ct_LIPO" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7489 if test "x$ac_ct_LIPO" = x; then
7492 case $cross_compiling:$ac_tool_warned in
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7501 LIPO="$ac_cv_prog_LIPO"
7504 if test -n "$ac_tool_prefix"; then
7505 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}otool; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7512 if test -n "$OTOOL"; then
7513 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 OTOOL=$ac_cv_prog_OTOOL
7533 if test -n "$OTOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7535 $as_echo "$OTOOL" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7543 if test -z "$ac_cv_prog_OTOOL"; then
7545 # Extract the first word of "otool", so it can be a program name with args.
7546 set dummy otool; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$ac_ct_OTOOL"; then
7553 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_ac_ct_OTOOL="otool"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7573 if test -n "$ac_ct_OTOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7575 $as_echo "$ac_ct_OTOOL" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7581 if test "x$ac_ct_OTOOL" = x; then
7584 case $cross_compiling:$ac_tool_warned in
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7593 OTOOL="$ac_cv_prog_OTOOL"
7596 if test -n "$ac_tool_prefix"; then
7597 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7598 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7604 if test -n "$OTOOL64"; then
7605 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 OTOOL64=$ac_cv_prog_OTOOL64
7625 if test -n "$OTOOL64"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7627 $as_echo "$OTOOL64" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7635 if test -z "$ac_cv_prog_OTOOL64"; then
7636 ac_ct_OTOOL64=$OTOOL64
7637 # Extract the first word of "otool64", so it can be a program name with args.
7638 set dummy otool64; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7642 $as_echo_n "(cached) " >&6
7644 if test -n "$ac_ct_OTOOL64"; then
7645 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_prog_ac_ct_OTOOL64="otool64"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7665 if test -n "$ac_ct_OTOOL64"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7667 $as_echo "$ac_ct_OTOOL64" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7673 if test "x$ac_ct_OTOOL64" = x; then
7676 case $cross_compiling:$ac_tool_warned in
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7680 ac_tool_warned=yes ;;
7682 OTOOL64=$ac_ct_OTOOL64
7685 OTOOL64="$ac_cv_prog_OTOOL64"
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7715 $as_echo_n "checking for -single_module linker flag... " >&6; }
7716 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7717 $as_echo_n "(cached) " >&6
7719 lt_cv_apple_cc_single_mod=no
7720 if test -z "${LT_MULTI_MODULE}"; then
7721 # By default we will add the -single_module flag. You can override
7722 # by either setting the environment variable LT_MULTI_MODULE
7723 # non-empty at configure time, or by adding -multi_module to the
7725 rm -rf libconftest.dylib*
7726 echo "int foo(void){return 1;}" > conftest.c
7727 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7728 -dynamiclib -Wl,-single_module conftest.c" >&5
7729 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7732 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7733 lt_cv_apple_cc_single_mod=yes
7735 cat conftest.err >&5
7737 rm -rf libconftest.dylib*
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7742 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7744 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7745 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7746 $as_echo_n "(cached) " >&6
7748 lt_cv_ld_exported_symbols_list=no
7749 save_LDFLAGS=$LDFLAGS
7750 echo "_main" > conftest.sym
7751 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7752 if test x$gcc_no_link = xyes; then
7753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7766 if ac_fn_c_try_link "$LINENO"; then :
7767 lt_cv_ld_exported_symbols_list=yes
7769 lt_cv_ld_exported_symbols_list=no
7771 rm -f core conftest.err conftest.$ac_objext \
7772 conftest$ac_exeext conftest.$ac_ext
7773 LDFLAGS="$save_LDFLAGS"
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7777 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7779 $as_echo_n "checking for -force_load linker flag... " >&6; }
7780 if test "${lt_cv_ld_force_load+set}" = set; then :
7781 $as_echo_n "(cached) " >&6
7783 lt_cv_ld_force_load=no
7784 cat > conftest.c << _LT_EOF
7785 int forced_loaded() { return 2;}
7787 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7788 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7789 echo "$AR cru libconftest.a conftest.o" >&5
7790 $AR cru libconftest.a conftest.o 2>&5
7791 cat > conftest.c << _LT_EOF
7792 int main() { return 0;}
7794 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7795 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7797 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7798 lt_cv_ld_force_load=yes
7800 cat conftest.err >&5
7802 rm -f conftest.err libconftest.a conftest conftest.c
7803 rm -rf conftest.dSYM
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7807 $as_echo "$lt_cv_ld_force_load" >&6; }
7809 rhapsody* | darwin1.[012])
7810 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7812 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7813 darwin*) # darwin 5.x on
7814 # if running on 10.5 or later, the deployment target defaults
7815 # to the OS version, if on x86, and 10.4, the deployment
7816 # target defaults to 10.4. Don't you love it?
7817 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7818 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7819 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7821 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7823 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7827 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7828 _lt_dar_single_mod='$single_module'
7830 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7831 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7833 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7835 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7836 _lt_dsymutil='~$DSYMUTIL $lib || :'
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7844 $as_echo_n "checking for ANSI C header files... " >&6; }
7845 if test "${ac_cv_header_stdc+set}" = set; then :
7846 $as_echo_n "(cached) " >&6
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7863 if ac_fn_c_try_compile "$LINENO"; then :
7864 ac_cv_header_stdc=yes
7866 ac_cv_header_stdc=no
7868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7870 if test $ac_cv_header_stdc = yes; then
7871 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7873 /* end confdefs.h. */
7877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7878 $EGREP "memchr" >/dev/null 2>&1; then :
7881 ac_cv_header_stdc=no
7887 if test $ac_cv_header_stdc = yes; then
7888 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7895 $EGREP "free" >/dev/null 2>&1; then :
7898 ac_cv_header_stdc=no
7904 if test $ac_cv_header_stdc = yes; then
7905 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7906 if test "$cross_compiling" = yes; then :
7909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7913 #if ((' ' & 0x0FF) == 0x020)
7914 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7915 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7917 # define ISLOWER(c) \
7918 (('a' <= (c) && (c) <= 'i') \
7919 || ('j' <= (c) && (c) <= 'r') \
7920 || ('s' <= (c) && (c) <= 'z'))
7921 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7924 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7929 for (i = 0; i < 256; i++)
7930 if (XOR (islower (i), ISLOWER (i))
7931 || toupper (i) != TOUPPER (i))
7936 if ac_fn_c_try_run "$LINENO"; then :
7939 ac_cv_header_stdc=no
7941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7942 conftest.$ac_objext conftest.beam conftest.$ac_ext
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7948 $as_echo "$ac_cv_header_stdc" >&6; }
7949 if test $ac_cv_header_stdc = yes; then
7951 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7955 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7956 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7957 inttypes.h stdint.h unistd.h
7959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7960 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7962 eval as_val=\$$as_ac_Header
7963 if test "x$as_val" = x""yes; then :
7964 cat >>confdefs.h <<_ACEOF
7965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7973 for ac_header in dlfcn.h
7975 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7977 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7978 cat >>confdefs.h <<_ACEOF
7979 #define HAVE_DLFCN_H 1
7999 # Check whether --enable-shared was given.
8000 if test "${enable_shared+set}" = set; then :
8001 enableval=$enable_shared; p=${PACKAGE-default}
8003 yes) enable_shared=yes ;;
8004 no) enable_shared=no ;;
8007 # Look at the argument we got. We use all the common list separators.
8008 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8009 for pkg in $enableval; do
8011 if test "X$pkg" = "X$p"; then
8030 # Check whether --enable-static was given.
8031 if test "${enable_static+set}" = set; then :
8032 enableval=$enable_static; p=${PACKAGE-default}
8034 yes) enable_static=yes ;;
8035 no) enable_static=no ;;
8038 # Look at the argument we got. We use all the common list separators.
8039 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8040 for pkg in $enableval; do
8042 if test "X$pkg" = "X$p"; then
8062 # Check whether --with-pic was given.
8063 if test "${with_pic+set}" = set; then :
8064 withval=$with_pic; pic_mode="$withval"
8070 test -z "$pic_mode" && pic_mode=default
8078 # Check whether --enable-fast-install was given.
8079 if test "${enable_fast_install+set}" = set; then :
8080 enableval=$enable_fast_install; p=${PACKAGE-default}
8082 yes) enable_fast_install=yes ;;
8083 no) enable_fast_install=no ;;
8085 enable_fast_install=no
8086 # Look at the argument we got. We use all the common list separators.
8087 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8088 for pkg in $enableval; do
8090 if test "X$pkg" = "X$p"; then
8091 enable_fast_install=yes
8098 enable_fast_install=yes
8111 # This can be used to rebuild libtool when needed
8112 LIBTOOL_DEPS="$ltmain"
8114 # Always use our own libtool.
8115 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142 test -z "$LN_S" && LN_S="ln -s"
8157 if test -n "${ZSH_VERSION+set}" ; then
8158 setopt NO_GLOB_SUBST
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8162 $as_echo_n "checking for objdir... " >&6; }
8163 if test "${lt_cv_objdir+set}" = set; then :
8164 $as_echo_n "(cached) " >&6
8166 rm -f .libs 2>/dev/null
8167 mkdir .libs 2>/dev/null
8168 if test -d .libs; then
8171 # MS-DOS does not allow filenames that begin with a dot.
8174 rmdir .libs 2>/dev/null
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8177 $as_echo "$lt_cv_objdir" >&6; }
8178 objdir=$lt_cv_objdir
8184 cat >>confdefs.h <<_ACEOF
8185 #define LT_OBJDIR "$lt_cv_objdir/"
8193 # AIX sometimes has problems with the GCC collect2 program. For some
8194 # reason, if we set the COLLECT_NAMES environment variable, the problems
8195 # vanish in a puff of smoke.
8196 if test "X${COLLECT_NAMES+set}" != Xset; then
8198 export COLLECT_NAMES
8205 can_build_shared=yes
8207 # All known linkers require a `.a' archive for static linking (except MSVC,
8208 # which needs '.lib').
8211 with_gnu_ld="$lt_cv_prog_gnu_ld"
8214 old_CFLAGS="$CFLAGS"
8216 # Set sane defaults for various variables
8217 test -z "$CC" && CC=cc
8218 test -z "$LTCC" && LTCC=$CC
8219 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8220 test -z "$LD" && LD=ld
8221 test -z "$ac_objext" && ac_objext=o
8223 for cc_temp in $compiler""; do
8225 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8226 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8231 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8234 # Only perform the check for file, if the check method requires it
8235 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8236 case $deplibs_check_method in
8238 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8240 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8241 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8242 $as_echo_n "(cached) " >&6
8246 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8249 lt_save_MAGIC_CMD="$MAGIC_CMD"
8250 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8251 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8252 for ac_dir in $ac_dummy; do
8254 test -z "$ac_dir" && ac_dir=.
8255 if test -f $ac_dir/${ac_tool_prefix}file; then
8256 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8257 if test -n "$file_magic_test_file"; then
8258 case $deplibs_check_method in
8260 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8261 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8262 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8263 $EGREP "$file_magic_regex" > /dev/null; then
8268 *** Warning: the command libtool uses to detect shared libraries,
8269 *** $file_magic_cmd, produces output that libtool cannot recognize.
8270 *** The result is that libtool may fail to recognize shared libraries
8271 *** as such. This will affect the creation of libtool libraries that
8272 *** depend on shared libraries, but programs linked with such libtool
8273 *** libraries will work regardless of this problem. Nevertheless, you
8274 *** may want to report the problem to your system manager and/or to
8275 *** bug-libtool@gnu.org
8285 MAGIC_CMD="$lt_save_MAGIC_CMD"
8290 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8291 if test -n "$MAGIC_CMD"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8293 $as_echo "$MAGIC_CMD" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8303 if test -z "$lt_cv_path_MAGIC_CMD"; then
8304 if test -n "$ac_tool_prefix"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8306 $as_echo_n "checking for file... " >&6; }
8307 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8308 $as_echo_n "(cached) " >&6
8312 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8315 lt_save_MAGIC_CMD="$MAGIC_CMD"
8316 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8317 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8318 for ac_dir in $ac_dummy; do
8320 test -z "$ac_dir" && ac_dir=.
8321 if test -f $ac_dir/file; then
8322 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8323 if test -n "$file_magic_test_file"; then
8324 case $deplibs_check_method in
8326 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8327 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8328 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8329 $EGREP "$file_magic_regex" > /dev/null; then
8334 *** Warning: the command libtool uses to detect shared libraries,
8335 *** $file_magic_cmd, produces output that libtool cannot recognize.
8336 *** The result is that libtool may fail to recognize shared libraries
8337 *** as such. This will affect the creation of libtool libraries that
8338 *** depend on shared libraries, but programs linked with such libtool
8339 *** libraries will work regardless of this problem. Nevertheless, you
8340 *** may want to report the problem to your system manager and/or to
8341 *** bug-libtool@gnu.org
8351 MAGIC_CMD="$lt_save_MAGIC_CMD"
8356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8357 if test -n "$MAGIC_CMD"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8359 $as_echo "$MAGIC_CMD" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8375 # Use C for the default configuration in the libtool script
8379 ac_cpp='$CPP $CPPFLAGS'
8380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8385 # Source file extension for C test sources.
8388 # Object file extension for compiled C test sources.
8392 # Code to be used in simple compile tests
8393 lt_simple_compile_test_code="int some_variable = 0;"
8395 # Code to be used in simple link tests
8396 lt_simple_link_test_code='int main(){return(0);}'
8404 # If no C compiler was specified, use CC.
8407 # If no C compiler flags were specified, use CFLAGS.
8408 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8410 # Allow CC to be a program name with arguments.
8413 # Save the default compiler, since it gets overwritten when the other
8414 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8415 compiler_DEFAULT=$CC
8417 # save warnings/boilerplate of simple test code
8418 ac_outfile=conftest.$ac_objext
8419 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8420 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8421 _lt_compiler_boilerplate=`cat conftest.err`
8424 ac_outfile=conftest.$ac_objext
8425 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8426 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8427 _lt_linker_boilerplate=`cat conftest.err`
8432 ## There is no encapsulation within the following macros, do not change
8433 ## the running order or otherwise move them around unless you know exactly
8434 ## what you are doing...
8435 if test -n "$compiler"; then
8437 lt_prog_compiler_no_builtin_flag=
8439 if test "$GCC" = yes; then
8440 case $cc_basename in
8442 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8444 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8448 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8449 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8450 $as_echo_n "(cached) " >&6
8452 lt_cv_prog_compiler_rtti_exceptions=no
8453 ac_outfile=conftest.$ac_objext
8454 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8455 lt_compiler_flag="-fno-rtti -fno-exceptions"
8456 # Insert the option either (1) after the last *FLAGS variable, or
8457 # (2) before a word containing "conftest.", or (3) at the end.
8458 # Note that $ac_compile itself does not contain backslashes and begins
8459 # with a dollar sign (not a hyphen), so the echo should work correctly.
8460 # The option is referenced via a variable to avoid confusing sed.
8461 lt_compile=`echo "$ac_compile" | $SED \
8462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8464 -e 's:$: $lt_compiler_flag:'`
8465 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8466 (eval "$lt_compile" 2>conftest.err)
8468 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 if (exit $ac_status) && test -s "$ac_outfile"; then
8471 # The compiler can only warn and ignore the option if not recognized
8472 # So say no if there are warnings other than the usual output.
8473 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8474 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8475 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8476 lt_cv_prog_compiler_rtti_exceptions=yes
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8483 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8485 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8486 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8498 lt_prog_compiler_wl=
8499 lt_prog_compiler_pic=
8500 lt_prog_compiler_static=
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8505 if test "$GCC" = yes; then
8506 lt_prog_compiler_wl='-Wl,'
8507 lt_prog_compiler_static='-static'
8511 # All AIX code is PIC.
8512 if test "$host_cpu" = ia64; then
8513 # AIX 5 now supports IA64 processor
8514 lt_prog_compiler_static='-Bstatic'
8521 # see comment about AmigaOS4 .so support
8522 lt_prog_compiler_pic='-fPIC'
8525 # FIXME: we need at least 68020 code to build shared libraries, but
8526 # adding the `-m68020' flag to GCC prevents building anything better,
8528 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8533 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8534 # PIC is the default for these OSes.
8537 mingw* | cygwin* | pw32* | os2* | cegcc*)
8538 # This hack is so that the source file can tell whether it is being
8539 # built for inclusion in a dll (and should export symbols for example).
8540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8541 # (--disable-auto-import) libraries
8542 lt_prog_compiler_pic='-DDLL_EXPORT'
8545 darwin* | rhapsody*)
8546 # PIC is the default on this platform
8547 # Common symbols not allowed in MH_DYLIB files
8548 lt_prog_compiler_pic='-fno-common'
8552 # PIC is the default for Haiku.
8553 # The "-static" flag exists, but is broken.
8554 lt_prog_compiler_static=
8558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8560 # sets the default TLS model and affects inlining.
8566 lt_prog_compiler_pic='-fPIC'
8572 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8573 # Instead, we relocate shared libraries at runtime.
8577 # Just because we use GCC doesn't mean we suddenly get shared libraries
8578 # on systems that don't support them.
8579 lt_prog_compiler_can_build_shared=no
8584 # QNX uses GNU C++, but need to define -shared option too, otherwise
8586 lt_prog_compiler_pic='-fPIC -shared'
8590 if test -d /usr/nec; then
8591 lt_prog_compiler_pic=-Kconform_pic
8596 lt_prog_compiler_pic='-fPIC'
8600 case $cc_basename in
8601 nvcc*) # Cuda Compiler Driver 2.2
8602 lt_prog_compiler_wl='-Xlinker '
8603 lt_prog_compiler_pic='-Xcompiler -fPIC'
8607 # PORTME Check for flag to pass linker flags through the system compiler.
8610 lt_prog_compiler_wl='-Wl,'
8611 if test "$host_cpu" = ia64; then
8612 # AIX 5 now supports IA64 processor
8613 lt_prog_compiler_static='-Bstatic'
8615 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8619 mingw* | cygwin* | pw32* | os2* | cegcc*)
8620 # This hack is so that the source file can tell whether it is being
8621 # built for inclusion in a dll (and should export symbols for example).
8622 lt_prog_compiler_pic='-DDLL_EXPORT'
8625 hpux9* | hpux10* | hpux11*)
8626 lt_prog_compiler_wl='-Wl,'
8627 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8634 lt_prog_compiler_pic='+Z'
8637 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8638 lt_prog_compiler_static='${wl}-a ${wl}archive'
8641 irix5* | irix6* | nonstopux*)
8642 lt_prog_compiler_wl='-Wl,'
8643 # PIC (with -KPIC) is the default.
8644 lt_prog_compiler_static='-non_shared'
8647 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8648 case $cc_basename in
8649 # old Intel for x86_64 which still supported -KPIC.
8651 lt_prog_compiler_wl='-Wl,'
8652 lt_prog_compiler_pic='-KPIC'
8653 lt_prog_compiler_static='-static'
8655 # icc used to be incompatible with GCC.
8656 # ICC 10 doesn't accept -KPIC any more.
8658 lt_prog_compiler_wl='-Wl,'
8659 lt_prog_compiler_pic='-fPIC'
8660 lt_prog_compiler_static='-static'
8662 # Lahey Fortran 8.1.
8664 lt_prog_compiler_wl='-Wl,'
8665 lt_prog_compiler_pic='--shared'
8666 lt_prog_compiler_static='--static'
8668 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8669 # Portland Group compilers (*not* the Pentium gcc compiler,
8670 # which looks to be a dead project)
8671 lt_prog_compiler_wl='-Wl,'
8672 lt_prog_compiler_pic='-fpic'
8673 lt_prog_compiler_static='-Bstatic'
8676 lt_prog_compiler_wl='-Wl,'
8677 # All Alpha code is PIC.
8678 lt_prog_compiler_static='-non_shared'
8680 xl* | bgxl* | bgf* | mpixl*)
8681 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='-qpic'
8684 lt_prog_compiler_static='-qstaticlink'
8687 case `$CC -V 2>&1 | sed 5q` in
8688 *Sun\ F* | *Sun*Fortran*)
8689 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8690 lt_prog_compiler_pic='-KPIC'
8691 lt_prog_compiler_static='-Bstatic'
8692 lt_prog_compiler_wl=''
8696 lt_prog_compiler_pic='-KPIC'
8697 lt_prog_compiler_static='-Bstatic'
8698 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8711 # QNX uses GNU C++, but need to define -shared option too, otherwise
8713 lt_prog_compiler_pic='-fPIC -shared'
8716 osf3* | osf4* | osf5*)
8717 lt_prog_compiler_wl='-Wl,'
8718 # All OSF/1 code is PIC.
8719 lt_prog_compiler_static='-non_shared'
8723 lt_prog_compiler_static='-non_shared'
8727 lt_prog_compiler_pic='-KPIC'
8728 lt_prog_compiler_static='-Bstatic'
8729 case $cc_basename in
8731 lt_prog_compiler_wl='-Qoption ld ';;
8733 lt_prog_compiler_wl='-Wl,';;
8738 lt_prog_compiler_wl='-Qoption ld '
8739 lt_prog_compiler_pic='-PIC'
8740 lt_prog_compiler_static='-Bstatic'
8743 sysv4 | sysv4.2uw2* | sysv4.3*)
8744 lt_prog_compiler_wl='-Wl,'
8745 lt_prog_compiler_pic='-KPIC'
8746 lt_prog_compiler_static='-Bstatic'
8750 if test -d /usr/nec ;then
8751 lt_prog_compiler_pic='-Kconform_pic'
8752 lt_prog_compiler_static='-Bstatic'
8756 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8757 lt_prog_compiler_wl='-Wl,'
8758 lt_prog_compiler_pic='-KPIC'
8759 lt_prog_compiler_static='-Bstatic'
8763 lt_prog_compiler_wl='-Wl,'
8764 lt_prog_compiler_can_build_shared=no
8768 lt_prog_compiler_pic='-pic'
8769 lt_prog_compiler_static='-Bstatic'
8773 lt_prog_compiler_can_build_shared=no
8779 # For platforms which do not support PIC, -DPIC is meaningless:
8781 lt_prog_compiler_pic=
8784 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8788 $as_echo "$lt_prog_compiler_pic" >&6; }
8796 # Check to make sure the PIC flag actually works.
8798 if test -n "$lt_prog_compiler_pic"; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8800 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8801 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8802 $as_echo_n "(cached) " >&6
8804 lt_cv_prog_compiler_pic_works=no
8805 ac_outfile=conftest.$ac_objext
8806 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8807 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8808 # Insert the option either (1) after the last *FLAGS variable, or
8809 # (2) before a word containing "conftest.", or (3) at the end.
8810 # Note that $ac_compile itself does not contain backslashes and begins
8811 # with a dollar sign (not a hyphen), so the echo should work correctly.
8812 # The option is referenced via a variable to avoid confusing sed.
8813 lt_compile=`echo "$ac_compile" | $SED \
8814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8816 -e 's:$: $lt_compiler_flag:'`
8817 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8818 (eval "$lt_compile" 2>conftest.err)
8820 cat conftest.err >&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 if (exit $ac_status) && test -s "$ac_outfile"; then
8823 # The compiler can only warn and ignore the option if not recognized
8824 # So say no if there are warnings other than the usual output.
8825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8826 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8827 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8828 lt_cv_prog_compiler_pic_works=yes
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8835 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8837 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8838 case $lt_prog_compiler_pic in
8840 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8843 lt_prog_compiler_pic=
8844 lt_prog_compiler_can_build_shared=no
8855 # Check to make sure the static flag actually works.
8857 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8859 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8860 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8861 $as_echo_n "(cached) " >&6
8863 lt_cv_prog_compiler_static_works=no
8864 save_LDFLAGS="$LDFLAGS"
8865 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8866 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8867 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8868 # The linker can only warn and ignore the option if not recognized
8869 # So say no if there are warnings
8870 if test -s conftest.err; then
8871 # Append any errors to the config.log.
8872 cat conftest.err 1>&5
8873 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8874 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8875 if diff conftest.exp conftest.er2 >/dev/null; then
8876 lt_cv_prog_compiler_static_works=yes
8879 lt_cv_prog_compiler_static_works=yes
8883 LDFLAGS="$save_LDFLAGS"
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8887 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8889 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8892 lt_prog_compiler_static=
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8902 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8903 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8904 $as_echo_n "(cached) " >&6
8906 lt_cv_prog_compiler_c_o=no
8907 $RM -r conftest 2>/dev/null
8911 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8913 lt_compiler_flag="-o out/conftest2.$ac_objext"
8914 # Insert the option either (1) after the last *FLAGS variable, or
8915 # (2) before a word containing "conftest.", or (3) at the end.
8916 # Note that $ac_compile itself does not contain backslashes and begins
8917 # with a dollar sign (not a hyphen), so the echo should work correctly.
8918 lt_compile=`echo "$ac_compile" | $SED \
8919 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8920 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8921 -e 's:$: $lt_compiler_flag:'`
8922 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8923 (eval "$lt_compile" 2>out/conftest.err)
8925 cat out/conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8929 # The compiler can only warn and ignore the option if not recognized
8930 # So say no if there are warnings
8931 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8932 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8933 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8934 lt_cv_prog_compiler_c_o=yes
8939 # SGI C++ compiler will create directory out/ii_files/ for
8940 # template instantiation
8941 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8942 $RM out/* && rmdir out
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8949 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8957 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8958 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8959 $as_echo_n "(cached) " >&6
8961 lt_cv_prog_compiler_c_o=no
8962 $RM -r conftest 2>/dev/null
8966 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8968 lt_compiler_flag="-o out/conftest2.$ac_objext"
8969 # Insert the option either (1) after the last *FLAGS variable, or
8970 # (2) before a word containing "conftest.", or (3) at the end.
8971 # Note that $ac_compile itself does not contain backslashes and begins
8972 # with a dollar sign (not a hyphen), so the echo should work correctly.
8973 lt_compile=`echo "$ac_compile" | $SED \
8974 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8975 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8976 -e 's:$: $lt_compiler_flag:'`
8977 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8978 (eval "$lt_compile" 2>out/conftest.err)
8980 cat out/conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8984 # The compiler can only warn and ignore the option if not recognized
8985 # So say no if there are warnings
8986 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8987 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8988 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8989 lt_cv_prog_compiler_c_o=yes
8994 # SGI C++ compiler will create directory out/ii_files/ for
8995 # template instantiation
8996 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8997 $RM out/* && rmdir out
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9004 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9009 hard_links="nottested"
9010 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9011 # do not overwrite the value of need_locks provided by the user
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9013 $as_echo_n "checking if we can lock with hard links... " >&6; }
9016 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9018 ln conftest.a conftest.b 2>&5 || hard_links=no
9019 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9021 $as_echo "$hard_links" >&6; }
9022 if test "$hard_links" = no; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9024 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9037 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9040 allow_undefined_flag=
9041 always_export_symbols=no
9043 archive_expsym_cmds=
9044 compiler_needs_object=no
9045 enable_shared_with_static_runtimes=no
9046 export_dynamic_flag_spec=
9047 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9048 hardcode_automatic=no
9050 hardcode_direct_absolute=no
9051 hardcode_libdir_flag_spec=
9052 hardcode_libdir_flag_spec_ld=
9053 hardcode_libdir_separator=
9055 hardcode_shlibpath_var=unsupported
9057 link_all_deplibs=unknown
9060 old_archive_from_new_cmds=
9061 old_archive_from_expsyms_cmds=
9062 thread_safe_flag_spec=
9063 whole_archive_flag_spec=
9064 # include_expsyms should be a list of space-separated symbols to be *always*
9065 # included in the symbol list
9067 # exclude_expsyms can be an extended regexp of symbols to exclude
9068 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9069 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9070 # as well as any symbol that contains `d'.
9071 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9072 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9073 # platforms (ab)use it in PIC code, but their linkers get confused if
9074 # the symbol is explicitly referenced. Since portable code cannot
9075 # rely on this symbol name, it's probably fine to never include it in
9076 # preloaded symbol tables.
9077 # Exclude shared library initialization/finalization symbols.
9078 extract_expsyms_cmds=
9081 cygwin* | mingw* | pw32* | cegcc*)
9082 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9083 # When not using gcc, we currently assume that we are using
9084 # Microsoft Visual C++.
9085 if test "$GCC" != yes; then
9090 # we just hope/assume this is gcc and not c89 (= MSVC++)
9100 # On some targets, GNU ld is compatible enough with the native linker
9101 # that we're better off using the native interface for both.
9102 lt_use_gnu_ld_interface=no
9103 if test "$with_gnu_ld" = yes; then
9106 # The AIX port of GNU ld has always aspired to compatibility
9107 # with the native linker. However, as the warning in the GNU ld
9108 # block says, versions before 2.19.5* couldn't really create working
9109 # shared libraries, regardless of the interface used.
9110 case `$LD -v 2>&1` in
9111 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9112 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9113 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9115 lt_use_gnu_ld_interface=yes
9120 lt_use_gnu_ld_interface=yes
9125 if test "$lt_use_gnu_ld_interface" = yes; then
9126 # If archive_cmds runs LD, not CC, wlarc should be empty
9129 # Set some defaults for GNU ld with shared library support. These
9130 # are reset later if shared libraries are not supported. Putting them
9131 # here allows them to be overridden if necessary.
9132 runpath_var=LD_RUN_PATH
9133 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9134 export_dynamic_flag_spec='${wl}--export-dynamic'
9135 # ancient GNU ld didn't support --whole-archive et. al.
9136 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9137 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9139 whole_archive_flag_spec=
9141 supports_anon_versioning=no
9142 case `$LD -v 2>&1` in
9143 *GNU\ gold*) supports_anon_versioning=yes ;;
9144 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9145 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9146 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9147 *\ 2.11.*) ;; # other 2.11 versions
9148 *) supports_anon_versioning=yes ;;
9151 # See if GNU ld supports shared libraries.
9154 # On AIX/PPC, the GNU linker is very broken
9155 if test "$host_cpu" != ia64; then
9159 *** Warning: the GNU linker, at least up to release 2.19, is reported
9160 *** to be unable to reliably create shared libraries on AIX.
9161 *** Therefore, libtool is disabling shared libraries support. If you
9162 *** really care for shared libraries, you may want to install binutils
9163 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9164 *** You will then need to restart the configuration process.
9173 # see comment about AmigaOS4 .so support
9174 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9175 archive_expsym_cmds=''
9178 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)'
9179 hardcode_libdir_flag_spec='-L$libdir'
9180 hardcode_minus_L=yes
9186 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187 allow_undefined_flag=unsupported
9188 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9189 # support --undefined. This deserves some investigation. FIXME
9190 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196 cygwin* | mingw* | pw32* | cegcc*)
9197 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9198 # as there is no search path for DLLs.
9199 hardcode_libdir_flag_spec='-L$libdir'
9200 export_dynamic_flag_spec='${wl}--export-all-symbols'
9201 allow_undefined_flag=unsupported
9202 always_export_symbols=no
9203 enable_shared_with_static_runtimes=yes
9204 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9206 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9207 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9208 # If the export-symbols file already is a .def file (1st line
9209 # is EXPORTS), use it as is; otherwise, prepend...
9210 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9211 cp $export_symbols $output_objdir/$soname.def;
9213 echo EXPORTS > $output_objdir/$soname.def;
9214 cat $export_symbols >> $output_objdir/$soname.def;
9216 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9223 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9224 link_all_deplibs=yes
9229 hardcode_shlibpath_var=no
9230 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9231 export_dynamic_flag_spec='${wl}-E'
9232 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9233 # Instead, shared libraries are loaded at an image base (0x10000000 by
9234 # default) and relocated if they conflict, which is a slow very memory
9235 # consuming and fragmenting process. To avoid this, we pick a random,
9236 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9237 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9238 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9239 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'
9242 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9244 if test "$host_os" = linux-dietlibc; then
9245 case $cc_basename in
9246 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9249 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9250 && test "$tmp_diet" = no
9253 tmp_sharedflag='-shared'
9254 case $cc_basename,$host_cpu in
9255 pgcc*) # Portland Group C compiler
9256 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9257 tmp_addflag=' $pic_flag'
9259 pgf77* | pgf90* | pgf95* | pgfortran*)
9260 # Portland Group f77 and f90 compilers
9261 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9262 tmp_addflag=' $pic_flag -Mnomain' ;;
9263 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9264 tmp_addflag=' -i_dynamic' ;;
9265 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9266 tmp_addflag=' -i_dynamic -nofor_main' ;;
9267 ifc* | ifort*) # Intel Fortran compiler
9268 tmp_addflag=' -nofor_main' ;;
9269 lf95*) # Lahey Fortran 8.1
9270 whole_archive_flag_spec=
9271 tmp_sharedflag='--shared' ;;
9272 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9273 tmp_sharedflag='-qmkshrobj'
9275 nvcc*) # Cuda Compiler Driver 2.2
9276 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9277 compiler_needs_object=yes
9280 case `$CC -V 2>&1 | sed 5q` in
9281 *Sun\ C*) # Sun C 5.9
9282 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9283 compiler_needs_object=yes
9284 tmp_sharedflag='-G' ;;
9285 *Sun\ F*) # Sun Fortran 8.3
9286 tmp_sharedflag='-G' ;;
9288 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290 if test "x$supports_anon_versioning" = xyes; then
9291 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9292 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9293 echo "local: *; };" >> $output_objdir/$libname.ver~
9294 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9297 case $cc_basename in
9298 xlf* | bgf* | bgxlf* | mpixlf*)
9299 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9300 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9301 hardcode_libdir_flag_spec=
9302 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9303 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9304 if test "x$supports_anon_versioning" = xyes; then
9305 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9306 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9307 echo "local: *; };" >> $output_objdir/$libname.ver~
9308 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9318 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9319 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9322 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9323 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9332 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9333 *** create shared libraries on Solaris systems. Therefore, libtool
9334 *** is disabling shared libraries support. We urge you to upgrade GNU
9335 *** binutils to release 2.9.1 or newer. Another option is to modify
9336 *** your PATH or compiler configuration so that the native linker is
9337 *** used, and then restart.
9340 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9341 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9342 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9349 case `$LD -v 2>&1` in
9350 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9354 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9355 *** reliably create shared libraries on SCO systems. Therefore, libtool
9356 *** is disabling shared libraries support. We urge you to upgrade GNU
9357 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9358 *** your PATH or compiler configuration so that the native linker is
9359 *** used, and then restart.
9364 # For security reasons, it is highly recommended that you always
9365 # use absolute paths for naming shared libraries, and exclude the
9366 # DT_RUNPATH tag from executables and libraries. But doing so
9367 # requires that you compile everything twice, which is a pain.
9368 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9369 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9370 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9380 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383 hardcode_shlibpath_var=no
9387 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9388 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396 if test "$ld_shlibs" = no; then
9398 hardcode_libdir_flag_spec=
9399 export_dynamic_flag_spec=
9400 whole_archive_flag_spec=
9403 # PORTME fill in a description of your system's linker (not GNU ld)
9406 allow_undefined_flag=unsupported
9407 always_export_symbols=yes
9408 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'
9409 # Note: this linker hardcodes the directories in LIBPATH if there
9410 # are no directories specified by -L.
9411 hardcode_minus_L=yes
9412 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9413 # Neither direct hardcoding nor static linking is supported with a
9415 hardcode_direct=unsupported
9420 if test "$host_cpu" = ia64; then
9421 # On IA64, the linker does run time linking by default, so we don't
9422 # have to do anything special.
9423 aix_use_runtimelinking=no
9424 exp_sym_flag='-Bexport'
9427 # If we're using GNU nm, then we don't want the "-C" option.
9428 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9429 # Also, AIX nm treats weak defined symbols like other global
9430 # defined symbols, whereas GNU nm marks them as "W".
9431 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9432 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9434 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'
9436 aix_use_runtimelinking=no
9438 # Test if we are trying to use run time linking or normal
9439 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9440 # need to do runtime linking.
9441 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9442 for ld_flag in $LDFLAGS; do
9443 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9444 aix_use_runtimelinking=yes
9451 exp_sym_flag='-bexport'
9452 no_entry_flag='-bnoentry'
9455 # When large executables or shared objects are built, AIX ld can
9456 # have problems creating the table of contents. If linking a library
9457 # or program results in "error TOC overflow" add -mminimal-toc to
9458 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9459 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9463 hardcode_direct_absolute=yes
9464 hardcode_libdir_separator=':'
9465 link_all_deplibs=yes
9466 file_list_spec='${wl}-f,'
9468 if test "$GCC" = yes; then
9469 case $host_os in aix4.[012]|aix4.[012].*)
9470 # We only want to do this on AIX 4.2 and lower, the check
9471 # below for broken collect2 doesn't work under 4.3+
9472 collect2name=`${CC} -print-prog-name=collect2`
9473 if test -f "$collect2name" &&
9474 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9476 # We have reworked collect2
9479 # We have old collect2
9480 hardcode_direct=unsupported
9481 # It fails to find uninstalled libraries when the uninstalled
9482 # path is not listed in the libpath. Setting hardcode_minus_L
9483 # to unsupported forces relinking
9484 hardcode_minus_L=yes
9485 hardcode_libdir_flag_spec='-L$libdir'
9486 hardcode_libdir_separator=
9490 shared_flag='-shared'
9491 if test "$aix_use_runtimelinking" = yes; then
9492 shared_flag="$shared_flag "'${wl}-G'
9496 if test "$host_cpu" = ia64; then
9497 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9498 # chokes on -Wl,-G. The following line is correct:
9501 if test "$aix_use_runtimelinking" = yes; then
9502 shared_flag='${wl}-G'
9504 shared_flag='${wl}-bM:SRE'
9509 export_dynamic_flag_spec='${wl}-bexpall'
9510 # It seems that -bexpall does not export symbols beginning with
9511 # underscore (_), so it is better to generate a list of symbols to export.
9512 always_export_symbols=yes
9513 if test "$aix_use_runtimelinking" = yes; then
9514 # Warning - without using the other runtime loading flags (-brtl),
9515 # -berok will link without error, but may produce a broken library.
9516 allow_undefined_flag='-berok'
9517 # Determine the default libpath from the value encoded in an
9519 if test x$gcc_no_link = xyes; then
9520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9533 if ac_fn_c_try_link "$LINENO"; then :
9535 lt_aix_libpath_sed='
9536 /Import File Strings/,/^$/ {
9542 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9543 # Check for a 64-bit object if we didn't find anything.
9544 if test -z "$aix_libpath"; then
9545 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9552 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9553 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9555 if test "$host_cpu" = ia64; then
9556 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9557 allow_undefined_flag="-z nodefs"
9558 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"
9560 # Determine the default libpath from the value encoded in an
9562 if test x$gcc_no_link = xyes; then
9563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9576 if ac_fn_c_try_link "$LINENO"; then :
9578 lt_aix_libpath_sed='
9579 /Import File Strings/,/^$/ {
9585 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 # Check for a 64-bit object if we didn't find anything.
9587 if test -z "$aix_libpath"; then
9588 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9595 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9596 # Warning - without using the other run time loading flags,
9597 # -berok will link without error, but may produce a broken library.
9598 no_undefined_flag=' ${wl}-bernotok'
9599 allow_undefined_flag=' ${wl}-berok'
9600 if test "$with_gnu_ld" = yes; then
9601 # We only use this code for GNU lds that support --whole-archive.
9602 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9604 # Exported symbols can be pulled into shared objects from archives
9605 whole_archive_flag_spec='$convenience'
9607 archive_cmds_need_lc=yes
9608 # This is similar to how AIX traditionally builds its shared libraries.
9609 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'
9617 # see comment about AmigaOS4 .so support
9618 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9619 archive_expsym_cmds=''
9622 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)'
9623 hardcode_libdir_flag_spec='-L$libdir'
9624 hardcode_minus_L=yes
9630 export_dynamic_flag_spec=-rdynamic
9633 cygwin* | mingw* | pw32* | cegcc*)
9634 # When not using gcc, we currently assume that we are using
9635 # Microsoft Visual C++.
9636 # hardcode_libdir_flag_spec is actually meaningless, as there is
9637 # no search path for DLLs.
9638 hardcode_libdir_flag_spec=' '
9639 allow_undefined_flag=unsupported
9640 # Tell ltmain to make .lib files, not .a files.
9642 # Tell ltmain to make .dll files, not .so files.
9644 # FIXME: Setting linknames here is a bad hack.
9645 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9646 # The linker will automatically build a .lib file if we build a DLL.
9647 old_archive_from_new_cmds='true'
9648 # FIXME: Should let the user specify the lib program.
9649 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9650 fix_srcfile_path='`cygpath -w "$srcfile"`'
9651 enable_shared_with_static_runtimes=yes
9654 darwin* | rhapsody*)
9657 archive_cmds_need_lc=no
9659 hardcode_automatic=yes
9660 hardcode_shlibpath_var=unsupported
9661 if test "$lt_cv_ld_force_load" = "yes"; then
9662 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9664 whole_archive_flag_spec=''
9666 link_all_deplibs=yes
9667 allow_undefined_flag="$_lt_dar_allow_undefined"
9668 case $cc_basename in
9669 ifort*) _lt_dar_can_shared=yes ;;
9670 *) _lt_dar_can_shared=$GCC ;;
9672 if test "$_lt_dar_can_shared" = "yes"; then
9673 output_verbose_link_cmd=func_echo_all
9674 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9675 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9676 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}"
9677 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}"
9686 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_libdir_flag_spec='-L$libdir'
9688 hardcode_shlibpath_var=no
9691 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9692 # support. Future versions do this automatically, but an explicit c++rt0.o
9693 # does not break anything, and helps significantly (at the cost of a little
9696 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9697 hardcode_libdir_flag_spec='-R$libdir'
9699 hardcode_shlibpath_var=no
9702 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9704 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9706 hardcode_minus_L=yes
9707 hardcode_shlibpath_var=no
9710 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9711 freebsd* | dragonfly*)
9712 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9713 hardcode_libdir_flag_spec='-R$libdir'
9715 hardcode_shlibpath_var=no
9719 if test "$GCC" = yes; then
9720 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'
9722 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'
9724 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9725 hardcode_libdir_separator=:
9728 # hardcode_minus_L: Not really in the search PATH,
9729 # but as the default location of the library.
9730 hardcode_minus_L=yes
9731 export_dynamic_flag_spec='${wl}-E'
9735 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9736 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9740 if test "$with_gnu_ld" = no; then
9741 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9742 hardcode_libdir_flag_spec_ld='+b $libdir'
9743 hardcode_libdir_separator=:
9745 hardcode_direct_absolute=yes
9746 export_dynamic_flag_spec='${wl}-E'
9747 # hardcode_minus_L: Not really in the search PATH,
9748 # but as the default location of the library.
9749 hardcode_minus_L=yes
9754 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9776 # Older versions of the 11.00 compiler do not understand -b yet
9777 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9779 $as_echo_n "checking if $CC understands -b... " >&6; }
9780 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9781 $as_echo_n "(cached) " >&6
9783 lt_cv_prog_compiler__b=no
9784 save_LDFLAGS="$LDFLAGS"
9785 LDFLAGS="$LDFLAGS -b"
9786 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9787 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9788 # The linker can only warn and ignore the option if not recognized
9789 # So say no if there are warnings
9790 if test -s conftest.err; then
9791 # Append any errors to the config.log.
9792 cat conftest.err 1>&5
9793 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9794 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9795 if diff conftest.exp conftest.er2 >/dev/null; then
9796 lt_cv_prog_compiler__b=yes
9799 lt_cv_prog_compiler__b=yes
9803 LDFLAGS="$save_LDFLAGS"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9807 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9809 if test x"$lt_cv_prog_compiler__b" = xyes; then
9810 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9812 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9818 if test "$with_gnu_ld" = no; then
9819 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9820 hardcode_libdir_separator=:
9825 hardcode_shlibpath_var=no
9829 hardcode_direct_absolute=yes
9830 export_dynamic_flag_spec='${wl}-E'
9832 # hardcode_minus_L: Not really in the search PATH,
9833 # but as the default location of the library.
9834 hardcode_minus_L=yes
9840 irix5* | irix6* | nonstopux*)
9841 if test "$GCC" = yes; then
9842 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9843 # Try to use the -exported_symbol ld option, if it does not
9844 # work, assume that -exports_file does not work either and
9845 # implicitly export all symbols.
9846 save_LDFLAGS="$LDFLAGS"
9847 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9848 if test x$gcc_no_link = xyes; then
9849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LDFLAGS="$save_LDFLAGS"
9863 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9864 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9866 archive_cmds_need_lc='no'
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9870 link_all_deplibs=yes
9874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9875 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9877 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9879 hardcode_libdir_flag_spec='-R$libdir'
9881 hardcode_shlibpath_var=no
9885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9888 hardcode_libdir_separator=:
9889 hardcode_shlibpath_var=no
9896 if test -f /usr/libexec/ld.so; then
9898 hardcode_shlibpath_var=no
9899 hardcode_direct_absolute=yes
9900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9901 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9903 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9904 export_dynamic_flag_spec='${wl}-E'
9907 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9908 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_libdir_flag_spec='-R$libdir'
9912 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9923 hardcode_libdir_flag_spec='-L$libdir'
9924 hardcode_minus_L=yes
9925 allow_undefined_flag=unsupported
9926 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'
9927 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9931 if test "$GCC" = yes; then
9932 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9935 allow_undefined_flag=' -expect_unresolved \*'
9936 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9938 archive_cmds_need_lc='no'
9939 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940 hardcode_libdir_separator=:
9943 osf4* | osf5*) # as osf3* with the addition of -msym flag
9944 if test "$GCC" = yes; then
9945 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9947 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949 allow_undefined_flag=' -expect_unresolved \*'
9950 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9951 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~
9952 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9954 # Both c and cxx compiler support -rpath directly
9955 hardcode_libdir_flag_spec='-rpath $libdir'
9957 archive_cmds_need_lc='no'
9958 hardcode_libdir_separator=:
9962 no_undefined_flag=' -z defs'
9963 if test "$GCC" = yes; then
9965 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9969 case `$CC -V 2>&1` in
9972 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9974 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9978 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 hardcode_libdir_flag_spec='-R$libdir'
9985 hardcode_shlibpath_var=no
9987 solaris2.[0-5] | solaris2.[0-5].*) ;;
9989 # The compiler driver will combine and reorder linker options,
9990 # but understands `-z linker_flag'. GCC discards it without `$wl',
9991 # but is careful enough not to reorder.
9992 # Supported since Solaris 2.6 (maybe 2.5.1?)
9993 if test "$GCC" = yes; then
9994 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9996 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10000 link_all_deplibs=yes
10004 if test "x$host_vendor" = xsequent; then
10005 # Use $CC to link under sequent, because it throws in some extra .o
10006 # files that make .init and .fini sections work.
10007 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10009 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_libdir_flag_spec='-L$libdir'
10012 hardcode_direct=yes
10013 hardcode_minus_L=yes
10014 hardcode_shlibpath_var=no
10018 case $host_vendor in
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_direct=yes # is this really true???
10024 ## LD is ld it makes a PLAMLIB
10025 ## CC just makes a GrossModule.
10026 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10027 reload_cmds='$CC -r -o $output$reload_objs'
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10035 runpath_var='LD_RUN_PATH'
10036 hardcode_shlibpath_var=no
10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_shlibpath_var=no
10042 export_dynamic_flag_spec='-Bexport'
10046 if test -d /usr/nec; then
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_shlibpath_var=no
10049 runpath_var=LD_RUN_PATH
10050 hardcode_runpath_var=yes
10055 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10056 no_undefined_flag='${wl}-z,text'
10057 archive_cmds_need_lc=no
10058 hardcode_shlibpath_var=no
10059 runpath_var='LD_RUN_PATH'
10061 if test "$GCC" = yes; then
10062 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 sysv5* | sco3.2v5* | sco5v6*)
10071 # Note: We can NOT use -z defs as we might desire, because we do not
10072 # link with -lc, and that would cause any symbols used from libc to
10073 # always be unresolved, which means just about no library would
10074 # ever link correctly. If we're not using GNU ld we use -z text
10075 # though, which does catch some bad symbols but isn't as heavy-handed
10077 no_undefined_flag='${wl}-z,text'
10078 allow_undefined_flag='${wl}-z,nodefs'
10079 archive_cmds_need_lc=no
10080 hardcode_shlibpath_var=no
10081 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10082 hardcode_libdir_separator=':'
10083 link_all_deplibs=yes
10084 export_dynamic_flag_spec='${wl}-Bexport'
10085 runpath_var='LD_RUN_PATH'
10087 if test "$GCC" = yes; then
10088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_libdir_flag_spec='-L$libdir'
10099 hardcode_shlibpath_var=no
10107 if test x$host_vendor = xsni; then
10109 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10110 export_dynamic_flag_spec='${wl}-Blargedynsym'
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10117 $as_echo "$ld_shlibs" >&6; }
10118 test "$ld_shlibs" = no && can_build_shared=no
10120 with_gnu_ld=$with_gnu_ld
10137 # Do we need to explicitly link libc?
10139 case "x$archive_cmds_need_lc" in
10141 # Assume -lc should be added
10142 archive_cmds_need_lc=yes
10144 if test "$enable_shared" = yes && test "$GCC" = yes; then
10145 case $archive_cmds in
10147 # FIXME: we may have to deal with multi-command sequences.
10150 # Test whether the compiler implicitly links with -lc since on some
10151 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10152 # to ld, don't add -lc before -lgcc.
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10154 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10155 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10156 $as_echo_n "(cached) " >&6
10159 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10162 (eval $ac_compile) 2>&5
10164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165 test $ac_status = 0; } 2>conftest.err; then
10168 libobjs=conftest.$ac_objext
10170 wl=$lt_prog_compiler_wl
10171 pic_flag=$lt_prog_compiler_pic
10177 lt_save_allow_undefined_flag=$allow_undefined_flag
10178 allow_undefined_flag=
10179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183 test $ac_status = 0; }
10185 lt_cv_archive_cmds_need_lc=no
10187 lt_cv_archive_cmds_need_lc=yes
10189 allow_undefined_flag=$lt_save_allow_undefined_flag
10191 cat conftest.err 1>&5
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10197 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10198 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10362 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10364 if test "$GCC" = yes; then
10366 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10367 *) lt_awk_arg="/^libraries:/" ;;
10370 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10371 *) lt_sed_strip_eq="s,=/,/,g" ;;
10373 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10374 case $lt_search_path_spec in
10376 # if the path contains ";" then we assume it to be the separator
10377 # otherwise default to the standard path separator (i.e. ":") - it is
10378 # assumed that no part of a normal pathname contains ";" but that should
10379 # okay in the real world where ";" in dirpaths is itself problematic.
10380 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10383 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10386 # Ok, now we have the path, separated by spaces, we can step through it
10387 # and add multilib dir if necessary.
10388 lt_tmp_lt_search_path_spec=
10389 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10390 for lt_sys_path in $lt_search_path_spec; do
10391 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10392 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10394 test -d "$lt_sys_path" && \
10395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10398 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10399 BEGIN {RS=" "; FS="/|\n";} {
10402 for (lt_i = NF; lt_i > 0; lt_i--) {
10403 if ($lt_i != "" && $lt_i != ".") {
10404 if ($lt_i == "..") {
10407 if (lt_count == 0) {
10408 lt_foo="/" $lt_i lt_foo;
10415 if (lt_foo != "") { lt_freq[lt_foo]++; }
10416 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10418 # AWK program above erroneously prepends '/' to C:/dos/paths
10421 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10422 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10424 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10426 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10428 library_names_spec=
10429 libname_spec='lib$name'
10433 postuninstall_cmds=
10437 shlibpath_overrides_runpath=unknown
10439 dynamic_linker="$host_os ld.so"
10440 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10441 need_lib_prefix=unknown
10442 hardcode_into_libs=no
10444 # when you set need_version to no, make sure it does not cause -set_version
10445 # flags to be left without arguments
10446 need_version=unknown
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10452 shlibpath_var=LIBPATH
10454 # AIX 3 has no versioning support, so we append a major version to the name.
10455 soname_spec='${libname}${release}${shared_ext}$major'
10462 hardcode_into_libs=yes
10463 if test "$host_cpu" = ia64; then
10464 # AIX 5 supports IA64
10465 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10466 shlibpath_var=LD_LIBRARY_PATH
10468 # With GCC up to 2.95.x, collect2 would create an import file
10469 # for dependence libraries. The import file would start with
10470 # the line `#! .'. This would cause the generated library to
10471 # depend on `.', always an invalid library. This was fixed in
10472 # development snapshots of GCC prior to 3.0.
10474 aix4 | aix4.[01] | aix4.[01].*)
10475 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10477 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10480 can_build_shared=no
10484 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10485 # soname into executable. Probably we can add versioning support to
10486 # collect2, so additional links can be useful in future.
10487 if test "$aix_use_runtimelinking" = yes; then
10488 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10489 # instead of lib<name>.a to let people know that these are not
10490 # typical AIX shared libraries.
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 # We preserve .a as extension for shared libraries through AIX4.2
10494 # and later when we are not doing run time linking.
10495 library_names_spec='${libname}${release}.a $libname.a'
10496 soname_spec='${libname}${release}${shared_ext}$major'
10498 shlibpath_var=LIBPATH
10505 # Since July 2007 AmigaOS4 officially supports .so libraries.
10506 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 library_names_spec='$libname.ixlibrary $libname.a'
10511 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10512 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10518 library_names_spec='${libname}${shared_ext}'
10519 dynamic_linker="$host_os ld.so"
10520 shlibpath_var=LIBRARY_PATH
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec='${libname}${release}${shared_ext}$major'
10528 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10529 shlibpath_var=LD_LIBRARY_PATH
10530 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10531 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10532 # the default ld.so.conf also contains /usr/contrib/lib and
10533 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10534 # libtool to hard-code these into programs
10537 cygwin* | mingw* | pw32* | cegcc*)
10538 version_type=windows
10543 case $GCC,$host_os in
10544 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10545 library_names_spec='$libname.dll.a'
10546 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10547 postinstall_cmds='base_file=`basename \${file}`~
10548 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10549 dldir=$destdir/`dirname \$dlpath`~
10550 test -d \$dldir || mkdir -p \$dldir~
10551 $install_prog $dir/$dlname \$dldir/$dlname~
10552 chmod a+x \$dldir/$dlname~
10553 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10554 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10556 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10557 dlpath=$dir/\$dldll~
10559 shlibpath_overrides_runpath=yes
10563 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10564 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10566 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10569 # MinGW DLLs use traditional 'lib' prefix
10570 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573 # pw32 DLLs use 'pw' prefix rather than 'lib'
10574 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10583 dynamic_linker='Win32 ld.exe'
10584 # FIXME: first we should search . and the directory the executable is in
10588 darwin* | rhapsody*)
10589 dynamic_linker="$host_os dyld"
10590 version_type=darwin
10593 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10594 soname_spec='${libname}${release}${major}$shared_ext'
10595 shlibpath_overrides_runpath=yes
10596 shlibpath_var=DYLD_LIBRARY_PATH
10597 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10599 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10600 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LD_LIBRARY_PATH
10612 freebsd* | dragonfly*)
10613 # DragonFly does not have aout. When/if they implement a new
10614 # versioning mechanism, adjust this.
10615 if test -x /usr/bin/objformat; then
10616 objformat=`/usr/bin/objformat`
10619 freebsd[23].*) objformat=aout ;;
10620 *) objformat=elf ;;
10623 version_type=freebsd-$objformat
10624 case $version_type in
10626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10631 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10635 shlibpath_var=LD_LIBRARY_PATH
10638 shlibpath_overrides_runpath=yes
10640 freebsd3.[01]* | freebsdelf3.[01]*)
10641 shlibpath_overrides_runpath=yes
10642 hardcode_into_libs=yes
10644 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10645 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10646 shlibpath_overrides_runpath=no
10647 hardcode_into_libs=yes
10649 *) # from 4.6 on, and DragonFly
10650 shlibpath_overrides_runpath=yes
10651 hardcode_into_libs=yes
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 shlibpath_var=LD_LIBRARY_PATH
10663 hardcode_into_libs=yes
10670 dynamic_linker="$host_os runtime_loader"
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 shlibpath_var=LIBRARY_PATH
10674 shlibpath_overrides_runpath=yes
10675 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10676 hardcode_into_libs=yes
10679 hpux9* | hpux10* | hpux11*)
10680 # Give a soname corresponding to the major version so that dld.sl refuses to
10681 # link against other versions.
10688 hardcode_into_libs=yes
10689 dynamic_linker="$host_os dld.so"
10690 shlibpath_var=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 soname_spec='${libname}${release}${shared_ext}$major'
10694 if test "X$HPUX_IA64_MODE" = X32; then
10695 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10697 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10699 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10703 hardcode_into_libs=yes
10704 dynamic_linker="$host_os dld.sl"
10705 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10706 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10708 soname_spec='${libname}${release}${shared_ext}$major'
10709 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10710 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10714 dynamic_linker="$host_os dld.sl"
10715 shlibpath_var=SHLIB_PATH
10716 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10721 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10722 postinstall_cmds='chmod 555 $lib'
10723 # or fails outright, so override atomically:
10724 install_override_mode=555
10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10732 soname_spec='${libname}${release}${shared_ext}$major'
10733 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10734 shlibpath_var=LD_LIBRARY_PATH
10735 shlibpath_overrides_runpath=no
10736 hardcode_into_libs=yes
10739 irix5* | irix6* | nonstopux*)
10741 nonstopux*) version_type=nonstopux ;;
10743 if test "$lt_cv_prog_gnu_ld" = yes; then
10751 soname_spec='${libname}${release}${shared_ext}$major'
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10754 irix5* | nonstopux*)
10755 libsuff= shlibsuff=
10758 case $LD in # libtool.m4 will add one of these switches to LD
10759 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10760 libsuff= shlibsuff= libmagic=32-bit;;
10761 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10762 libsuff=32 shlibsuff=N32 libmagic=N32;;
10763 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10764 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10765 *) libsuff= shlibsuff= libmagic=never-match;;
10769 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10770 shlibpath_overrides_runpath=no
10771 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10772 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10773 hardcode_into_libs=yes
10776 # No shared lib support for Linux oldld, aout, or coff.
10777 linux*oldld* | linux*aout* | linux*coff*)
10781 # This must be Linux ELF.
10782 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10789 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=no
10792 # Some binutils ld are patched to set DT_RUNPATH
10793 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10794 $as_echo_n "(cached) " >&6
10796 lt_cv_shlibpath_overrides_runpath=no
10797 save_LDFLAGS=$LDFLAGS
10798 save_libdir=$libdir
10799 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10800 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10801 if test x$gcc_no_link = xyes; then
10802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10817 lt_cv_shlibpath_overrides_runpath=yes
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LDFLAGS=$save_LDFLAGS
10823 libdir=$save_libdir
10827 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10829 # This implies no fast_install, which is unacceptable.
10830 # Some rework will be needed to allow for fast_install
10831 # before this can be enabled.
10832 hardcode_into_libs=yes
10834 # Append ld.so.conf contents to the search path
10835 if test -f /etc/ld.so.conf; then
10836 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;s/"//g;/^$/d' | tr '\n' ' '`
10837 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10840 # We used to test for /lib/ld.so.1 and disable shared libraries on
10841 # powerpc, because MkLinux only supported shared libraries with the
10842 # GNU dynamic linker. Since this was broken with cross compilers,
10843 # most powerpc-linux boxes support dynamic linking these days and
10844 # people can always --disable-shared, the test was removed, and we
10845 # assume the GNU/Linux dynamic linker is in use.
10846 dynamic_linker='GNU/Linux ld.so'
10853 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10855 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10856 dynamic_linker='NetBSD (a.out) ld.so'
10858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 dynamic_linker='NetBSD ld.elf_so'
10862 shlibpath_var=LD_LIBRARY_PATH
10863 shlibpath_overrides_runpath=yes
10864 hardcode_into_libs=yes
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870 shlibpath_var=LD_LIBRARY_PATH
10871 shlibpath_overrides_runpath=yes
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879 soname_spec='${libname}${release}${shared_ext}$major'
10880 shlibpath_var=LD_LIBRARY_PATH
10881 shlibpath_overrides_runpath=no
10882 hardcode_into_libs=yes
10883 dynamic_linker='ldqnx.so'
10888 sys_lib_dlsearch_path_spec="/usr/lib"
10890 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10892 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10893 *) need_version=no ;;
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10900 openbsd2.[89] | openbsd2.[89].*)
10901 shlibpath_overrides_runpath=no
10904 shlibpath_overrides_runpath=yes
10908 shlibpath_overrides_runpath=yes
10913 libname_spec='$name'
10916 library_names_spec='$libname${shared_ext} $libname.a'
10917 dynamic_linker='OS/2 ld.exe'
10918 shlibpath_var=LIBPATH
10921 osf3* | osf4* | osf5*)
10925 soname_spec='${libname}${release}${shared_ext}$major'
10926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10929 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941 soname_spec='${libname}${release}${shared_ext}$major'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath=yes
10944 hardcode_into_libs=yes
10945 # ldd complains unless libraries are executable
10946 postinstall_cmds='chmod +x $lib'
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath=yes
10955 if test "$with_gnu_ld" = yes; then
10963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10964 soname_spec='${libname}${release}${shared_ext}$major'
10965 shlibpath_var=LD_LIBRARY_PATH
10966 case $host_vendor in
10968 shlibpath_overrides_runpath=no
10970 runpath_var=LD_RUN_PATH
10978 shlibpath_overrides_runpath=no
10979 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10985 if test -d /usr/nec ;then
10987 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10988 soname_spec='$libname${shared_ext}.$major'
10989 shlibpath_var=LD_LIBRARY_PATH
10993 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10994 version_type=freebsd-elf
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 shlibpath_overrides_runpath=yes
11001 hardcode_into_libs=yes
11002 if test "$with_gnu_ld" = yes; then
11003 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11005 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11008 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11012 sys_lib_dlsearch_path_spec='/usr/lib'
11016 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath=no
11023 hardcode_into_libs=yes
11028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11029 soname_spec='${libname}${release}${shared_ext}$major'
11030 shlibpath_var=LD_LIBRARY_PATH
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11038 $as_echo "$dynamic_linker" >&6; }
11039 test "$dynamic_linker" = no && can_build_shared=no
11041 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11042 if test "$GCC" = yes; then
11043 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11046 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11047 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11049 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11050 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11145 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11147 if test -n "$hardcode_libdir_flag_spec" ||
11148 test -n "$runpath_var" ||
11149 test "X$hardcode_automatic" = "Xyes" ; then
11151 # We can hardcode non-existent directories.
11152 if test "$hardcode_direct" != no &&
11153 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11154 # have to relink, otherwise we might link with an installed library
11155 # when we should be linking with a yet-to-be-installed one
11156 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11157 test "$hardcode_minus_L" != no; then
11158 # Linking always hardcodes the temporary library directory.
11159 hardcode_action=relink
11161 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11162 hardcode_action=immediate
11165 # We cannot hardcode anything, or else we can only hardcode existing
11167 hardcode_action=unsupported
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11170 $as_echo "$hardcode_action" >&6; }
11172 if test "$hardcode_action" = relink ||
11173 test "$inherit_rpath" = yes; then
11174 # Fast installation is not supported
11175 enable_fast_install=no
11176 elif test "$shlibpath_overrides_runpath" = yes ||
11177 test "$enable_shared" = no; then
11178 # Fast installation is not necessary
11179 enable_fast_install=needless
11187 if test "x$enable_dlopen" != xyes; then
11188 enable_dlopen=unknown
11189 enable_dlopen_self=unknown
11190 enable_dlopen_self_static=unknown
11197 lt_cv_dlopen="load_add_on"
11199 lt_cv_dlopen_self=yes
11202 mingw* | pw32* | cegcc*)
11203 lt_cv_dlopen="LoadLibrary"
11208 lt_cv_dlopen="dlopen"
11213 # if libdl is installed we need to link against it
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11215 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11216 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11217 $as_echo_n "(cached) " >&6
11219 ac_check_lib_save_LIBS=$LIBS
11221 if test x$gcc_no_link = xyes; then
11222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_dl_dlopen=yes
11245 ac_cv_lib_dl_dlopen=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11252 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11253 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11254 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 lt_cv_dlopen="dyld"
11259 lt_cv_dlopen_self=yes
11266 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11267 if test "x$ac_cv_func_shl_load" = x""yes; then :
11268 lt_cv_dlopen="shl_load"
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11271 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11272 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_lib_save_LIBS=$LIBS
11277 if test x$gcc_no_link = xyes; then
11278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11293 return shl_load ();
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 ac_cv_lib_dld_shl_load=yes
11301 ac_cv_lib_dld_shl_load=no
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11308 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11309 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11310 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11312 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11313 if test "x$ac_cv_func_dlopen" = x""yes; then :
11314 lt_cv_dlopen="dlopen"
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11317 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11318 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11319 $as_echo_n "(cached) " >&6
11321 ac_check_lib_save_LIBS=$LIBS
11323 if test x$gcc_no_link = xyes; then
11324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11344 if ac_fn_c_try_link "$LINENO"; then :
11345 ac_cv_lib_dl_dlopen=yes
11347 ac_cv_lib_dl_dlopen=no
11349 rm -f core conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_lib_save_LIBS
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11354 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11355 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11356 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11359 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11360 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11361 $as_echo_n "(cached) " >&6
11363 ac_check_lib_save_LIBS=$LIBS
11364 LIBS="-lsvld $LIBS"
11365 if test x$gcc_no_link = xyes; then
11366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11386 if ac_fn_c_try_link "$LINENO"; then :
11387 ac_cv_lib_svld_dlopen=yes
11389 ac_cv_lib_svld_dlopen=no
11391 rm -f core conftest.err conftest.$ac_objext \
11392 conftest$ac_exeext conftest.$ac_ext
11393 LIBS=$ac_check_lib_save_LIBS
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11396 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11397 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11398 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11401 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11402 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11403 $as_echo_n "(cached) " >&6
11405 ac_check_lib_save_LIBS=$LIBS
11407 if test x$gcc_no_link = xyes; then
11408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11423 return dld_link ();
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 ac_cv_lib_dld_dld_link=yes
11431 ac_cv_lib_dld_dld_link=no
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_lib_save_LIBS
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11438 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11439 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11440 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11461 if test "x$lt_cv_dlopen" != xno; then
11467 case $lt_cv_dlopen in
11469 save_CPPFLAGS="$CPPFLAGS"
11470 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11472 save_LDFLAGS="$LDFLAGS"
11473 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11476 LIBS="$lt_cv_dlopen_libs $LIBS"
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11479 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11480 if test "${lt_cv_dlopen_self+set}" = set; then :
11481 $as_echo_n "(cached) " >&6
11483 if test "$cross_compiling" = yes; then :
11484 lt_cv_dlopen_self=cross
11486 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11487 lt_status=$lt_dlunknown
11488 cat > conftest.$ac_ext <<_LT_EOF
11489 #line 11489 "configure"
11490 #include "confdefs.h"
11499 # define LT_DLGLOBAL RTLD_GLOBAL
11502 # define LT_DLGLOBAL DL_GLOBAL
11504 # define LT_DLGLOBAL 0
11508 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11509 find out it does not work in some platform. */
11510 #ifndef LT_DLLAZY_OR_NOW
11512 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # define LT_DLLAZY_OR_NOW DL_NOW
11523 # define LT_DLLAZY_OR_NOW 0
11530 /* When -fvisbility=hidden is used, assume the code has been annotated
11531 correspondingly for the symbols needed. */
11532 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11533 void fnord () __attribute__((visibility("default")));
11536 void fnord () { int i=42; }
11539 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11540 int status = $lt_dlunknown;
11544 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11548 else puts (dlerror ());
11550 /* dlclose (self); */
11558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11559 (eval $ac_link) 2>&5
11561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11562 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11563 (./conftest; exit; ) >&5 2>/dev/null
11565 case x$lt_status in
11566 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11567 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11568 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11571 # compilation failed
11572 lt_cv_dlopen_self=no
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11580 $as_echo "$lt_cv_dlopen_self" >&6; }
11582 if test "x$lt_cv_dlopen_self" = xyes; then
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11585 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11586 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11587 $as_echo_n "(cached) " >&6
11589 if test "$cross_compiling" = yes; then :
11590 lt_cv_dlopen_self_static=cross
11592 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11593 lt_status=$lt_dlunknown
11594 cat > conftest.$ac_ext <<_LT_EOF
11595 #line 11595 "configure"
11596 #include "confdefs.h"
11605 # define LT_DLGLOBAL RTLD_GLOBAL
11608 # define LT_DLGLOBAL DL_GLOBAL
11610 # define LT_DLGLOBAL 0
11614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11615 find out it does not work in some platform. */
11616 #ifndef LT_DLLAZY_OR_NOW
11618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # define LT_DLLAZY_OR_NOW DL_NOW
11629 # define LT_DLLAZY_OR_NOW 0
11636 /* When -fvisbility=hidden is used, assume the code has been annotated
11637 correspondingly for the symbols needed. */
11638 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11639 void fnord () __attribute__((visibility("default")));
11642 void fnord () { int i=42; }
11645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11646 int status = $lt_dlunknown;
11650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11654 else puts (dlerror ());
11656 /* dlclose (self); */
11664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11665 (eval $ac_link) 2>&5
11667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11668 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11669 (./conftest; exit; ) >&5 2>/dev/null
11671 case x$lt_status in
11672 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11673 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11674 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11677 # compilation failed
11678 lt_cv_dlopen_self_static=no
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11686 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11689 CPPFLAGS="$save_CPPFLAGS"
11690 LDFLAGS="$save_LDFLAGS"
11695 case $lt_cv_dlopen_self in
11696 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11697 *) enable_dlopen_self=unknown ;;
11700 case $lt_cv_dlopen_self_static in
11701 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11702 *) enable_dlopen_self_static=unknown ;;
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11725 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11726 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11727 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11728 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11730 $as_echo "yes" >&6; }
11732 # FIXME - insert some real tests, host_os isn't really good enough
11735 if test -n "$STRIP" ; then
11736 striplib="$STRIP -x"
11737 old_striplib="$STRIP -S"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11739 $as_echo "yes" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11742 $as_echo "no" >&6; }
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11747 $as_echo "no" >&6; }
11763 # Report which library types will actually be built
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11765 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11767 $as_echo "$can_build_shared" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11770 $as_echo_n "checking whether to build shared libraries... " >&6; }
11771 test "$can_build_shared" = "no" && enable_shared=no
11773 # On AIX, shared libraries and static libraries use the same namespace, and
11774 # are all built from PIC.
11777 test "$enable_shared" = yes && enable_static=no
11778 if test -n "$RANLIB"; then
11779 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11780 postinstall_cmds='$RANLIB $lib'
11785 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11786 test "$enable_shared" = yes && enable_static=no
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11791 $as_echo "$enable_shared" >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11794 $as_echo_n "checking whether to build static libraries... " >&6; }
11795 # Make sure either enable_shared or enable_static is yes.
11796 test "$enable_shared" = yes || enable_static=yes
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11798 $as_echo "$enable_static" >&6; }
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11813 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11814 (test "X$CXX" != "Xg++"))) ; then
11816 ac_cpp='$CXXCPP $CPPFLAGS'
11817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11821 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11822 if test -z "$CXXCPP"; then
11823 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11824 $as_echo_n "(cached) " >&6
11826 # Double quotes because CXXCPP needs to be expanded
11827 for CXXCPP in "$CXX -E" "/lib/cpp"
11829 ac_preproc_ok=false
11830 for ac_cxx_preproc_warn_flag in '' yes
11832 # Use a header file that comes with gcc, so configuring glibc
11833 # with a fresh cross-compiler works.
11834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11835 # <limits.h> exists even on freestanding compilers.
11836 # On the NeXT, cc -E runs the code through the compiler's parser,
11837 # not just through cpp. "Syntax error" is here to catch this case.
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 # include <limits.h>
11843 # include <assert.h>
11847 if ac_fn_cxx_try_cpp "$LINENO"; then :
11850 # Broken: fails on valid input.
11853 rm -f conftest.err conftest.$ac_ext
11855 # OK, works on sane cases. Now check whether nonexistent headers
11856 # can be detected and how.
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11859 #include <ac_nonexistent.h>
11861 if ac_fn_cxx_try_cpp "$LINENO"; then :
11862 # Broken: success on invalid input.
11865 # Passes both tests.
11869 rm -f conftest.err conftest.$ac_ext
11872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11873 rm -f conftest.err conftest.$ac_ext
11874 if $ac_preproc_ok; then :
11879 ac_cv_prog_CXXCPP=$CXXCPP
11882 CXXCPP=$ac_cv_prog_CXXCPP
11884 ac_cv_prog_CXXCPP=$CXXCPP
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11887 $as_echo "$CXXCPP" >&6; }
11888 ac_preproc_ok=false
11889 for ac_cxx_preproc_warn_flag in '' yes
11891 # Use a header file that comes with gcc, so configuring glibc
11892 # with a fresh cross-compiler works.
11893 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11894 # <limits.h> exists even on freestanding compilers.
11895 # On the NeXT, cc -E runs the code through the compiler's parser,
11896 # not just through cpp. "Syntax error" is here to catch this case.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 # include <limits.h>
11902 # include <assert.h>
11906 if ac_fn_cxx_try_cpp "$LINENO"; then :
11909 # Broken: fails on valid input.
11912 rm -f conftest.err conftest.$ac_ext
11914 # OK, works on sane cases. Now check whether nonexistent headers
11915 # can be detected and how.
11916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11917 /* end confdefs.h. */
11918 #include <ac_nonexistent.h>
11920 if ac_fn_cxx_try_cpp "$LINENO"; then :
11921 # Broken: success on invalid input.
11924 # Passes both tests.
11928 rm -f conftest.err conftest.$ac_ext
11931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11932 rm -f conftest.err conftest.$ac_ext
11933 if $ac_preproc_ok; then :
11936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11938 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11939 See \`config.log' for more details." "$LINENO" 5; }
11943 ac_cpp='$CPP $CPPFLAGS'
11944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949 _lt_caught_CXX_error=yes
11953 ac_cpp='$CXXCPP $CPPFLAGS'
11954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11958 archive_cmds_need_lc_CXX=no
11959 allow_undefined_flag_CXX=
11960 always_export_symbols_CXX=no
11961 archive_expsym_cmds_CXX=
11962 compiler_needs_object_CXX=no
11963 export_dynamic_flag_spec_CXX=
11964 hardcode_direct_CXX=no
11965 hardcode_direct_absolute_CXX=no
11966 hardcode_libdir_flag_spec_CXX=
11967 hardcode_libdir_flag_spec_ld_CXX=
11968 hardcode_libdir_separator_CXX=
11969 hardcode_minus_L_CXX=no
11970 hardcode_shlibpath_var_CXX=unsupported
11971 hardcode_automatic_CXX=no
11972 inherit_rpath_CXX=no
11974 module_expsym_cmds_CXX=
11975 link_all_deplibs_CXX=unknown
11976 old_archive_cmds_CXX=$old_archive_cmds
11977 reload_flag_CXX=$reload_flag
11978 reload_cmds_CXX=$reload_cmds
11979 no_undefined_flag_CXX=
11980 whole_archive_flag_spec_CXX=
11981 enable_shared_with_static_runtimes_CXX=no
11983 # Source file extension for C++ test sources.
11986 # Object file extension for compiled C++ test sources.
11990 # No sense in running all these tests if we already determined that
11991 # the CXX compiler isn't working. Some variables (like enable_shared)
11992 # are currently assumed to apply to all compilers on this platform,
11993 # and will be corrupted by setting them based on a non-working compiler.
11994 if test "$_lt_caught_CXX_error" != yes; then
11995 # Code to be used in simple compile tests
11996 lt_simple_compile_test_code="int some_variable = 0;"
11998 # Code to be used in simple link tests
11999 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12001 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12008 # If no C compiler was specified, use CC.
12011 # If no C compiler flags were specified, use CFLAGS.
12012 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12014 # Allow CC to be a program name with arguments.
12018 # save warnings/boilerplate of simple test code
12019 ac_outfile=conftest.$ac_objext
12020 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12021 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12022 _lt_compiler_boilerplate=`cat conftest.err`
12025 ac_outfile=conftest.$ac_objext
12026 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12027 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12028 _lt_linker_boilerplate=`cat conftest.err`
12032 # Allow CC to be a program name with arguments.
12037 lt_save_with_gnu_ld=$with_gnu_ld
12038 lt_save_path_LD=$lt_cv_path_LD
12039 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12040 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12042 $as_unset lt_cv_prog_gnu_ld
12044 if test -n "${lt_cv_path_LDCXX+set}"; then
12045 lt_cv_path_LD=$lt_cv_path_LDCXX
12047 $as_unset lt_cv_path_LD
12049 test -z "${LDCXX+set}" || LD=$LDCXX
12053 for cc_temp in $compiler""; do
12055 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12056 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12061 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12064 if test -n "$compiler"; then
12065 # We don't want -fno-exception when compiling C++ code, so set the
12066 # no_builtin_flag separately
12067 if test "$GXX" = yes; then
12068 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12070 lt_prog_compiler_no_builtin_flag_CXX=
12073 if test "$GXX" = yes; then
12074 # Set up default GNU C++ configuration
12078 # Check whether --with-gnu-ld was given.
12079 if test "${with_gnu_ld+set}" = set; then :
12080 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12086 if test "$GCC" = yes; then
12087 # Check if gcc -print-prog-name=ld gives a path.
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12089 $as_echo_n "checking for ld used by $CC... " >&6; }
12092 # gcc leaves a trailing carriage return which upsets mingw
12093 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12098 # Accept absolute paths.
12100 re_direlt='/[^/][^/]*/\.\./'
12101 # Canonicalize the pathname of ld
12102 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12103 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12104 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12106 test -z "$LD" && LD="$ac_prog"
12109 # If it fails, then pretend we aren't using GCC.
12113 # If it is relative, then search for the first ld in PATH.
12114 with_gnu_ld=unknown
12117 elif test "$with_gnu_ld" = yes; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12119 $as_echo_n "checking for GNU ld... " >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12122 $as_echo_n "checking for non-GNU ld... " >&6; }
12124 if test "${lt_cv_path_LD+set}" = set; then :
12125 $as_echo_n "(cached) " >&6
12127 if test -z "$LD"; then
12128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12129 for ac_dir in $PATH; do
12131 test -z "$ac_dir" && ac_dir=.
12132 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12133 lt_cv_path_LD="$ac_dir/$ac_prog"
12134 # Check to see if the program is GNU ld. I'd rather use --version,
12135 # but apparently some variants of GNU ld only accept -v.
12136 # Break only if it was the GNU/non-GNU ld that we prefer.
12137 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12138 *GNU* | *'with BFD'*)
12139 test "$with_gnu_ld" != no && break
12142 test "$with_gnu_ld" != yes && break
12149 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12153 LD="$lt_cv_path_LD"
12154 if test -n "$LD"; then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12156 $as_echo "$LD" >&6; }
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159 $as_echo "no" >&6; }
12161 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12163 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12164 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12167 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12168 case `$LD -v 2>&1 </dev/null` in
12169 *GNU* | *'with BFD'*)
12170 lt_cv_prog_gnu_ld=yes
12173 lt_cv_prog_gnu_ld=no
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12178 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12179 with_gnu_ld=$lt_cv_prog_gnu_ld
12187 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12188 # archiving commands below assume that GNU ld is being used.
12189 if test "$with_gnu_ld" = yes; then
12190 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12191 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'
12193 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12194 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12196 # If archive_cmds runs LD, not CC, wlarc should be empty
12197 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12198 # investigate it a little bit more. (MM)
12201 # ancient GNU ld didn't support --whole-archive et. al.
12202 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12203 $GREP 'no-whole-archive' > /dev/null; then
12204 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12206 whole_archive_flag_spec_CXX=
12212 # A generic and very simple default shared library creation
12213 # command for GNU C++ for the case where it uses the native
12214 # linker, instead of GNU ld. If possible, this setting should
12215 # overridden to take advantage of the native linker features on
12216 # the platform it is being used on.
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12220 # Commands to make compiler produce verbose output that lists
12221 # what "hidden" libraries, object files and flags are used when
12222 # linking a shared library.
12223 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12231 # PORTME: fill in a description of your system's C++ link characteristics
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12233 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12237 # FIXME: insert proper C++ library support
12241 if test "$host_cpu" = ia64; then
12242 # On IA64, the linker does run time linking by default, so we don't
12243 # have to do anything special.
12244 aix_use_runtimelinking=no
12245 exp_sym_flag='-Bexport'
12248 aix_use_runtimelinking=no
12250 # Test if we are trying to use run time linking or normal
12251 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12252 # need to do runtime linking.
12253 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12254 for ld_flag in $LDFLAGS; do
12257 aix_use_runtimelinking=yes
12265 exp_sym_flag='-bexport'
12266 no_entry_flag='-bnoentry'
12269 # When large executables or shared objects are built, AIX ld can
12270 # have problems creating the table of contents. If linking a library
12271 # or program results in "error TOC overflow" add -mminimal-toc to
12272 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12273 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12275 archive_cmds_CXX=''
12276 hardcode_direct_CXX=yes
12277 hardcode_direct_absolute_CXX=yes
12278 hardcode_libdir_separator_CXX=':'
12279 link_all_deplibs_CXX=yes
12280 file_list_spec_CXX='${wl}-f,'
12282 if test "$GXX" = yes; then
12283 case $host_os in aix4.[012]|aix4.[012].*)
12284 # We only want to do this on AIX 4.2 and lower, the check
12285 # below for broken collect2 doesn't work under 4.3+
12286 collect2name=`${CC} -print-prog-name=collect2`
12287 if test -f "$collect2name" &&
12288 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12290 # We have reworked collect2
12293 # We have old collect2
12294 hardcode_direct_CXX=unsupported
12295 # It fails to find uninstalled libraries when the uninstalled
12296 # path is not listed in the libpath. Setting hardcode_minus_L
12297 # to unsupported forces relinking
12298 hardcode_minus_L_CXX=yes
12299 hardcode_libdir_flag_spec_CXX='-L$libdir'
12300 hardcode_libdir_separator_CXX=
12303 shared_flag='-shared'
12304 if test "$aix_use_runtimelinking" = yes; then
12305 shared_flag="$shared_flag "'${wl}-G'
12309 if test "$host_cpu" = ia64; then
12310 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12311 # chokes on -Wl,-G. The following line is correct:
12314 if test "$aix_use_runtimelinking" = yes; then
12315 shared_flag='${wl}-G'
12317 shared_flag='${wl}-bM:SRE'
12322 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12323 # It seems that -bexpall does not export symbols beginning with
12324 # underscore (_), so it is better to generate a list of symbols to
12326 always_export_symbols_CXX=yes
12327 if test "$aix_use_runtimelinking" = yes; then
12328 # Warning - without using the other runtime loading flags (-brtl),
12329 # -berok will link without error, but may produce a broken library.
12330 allow_undefined_flag_CXX='-berok'
12331 # Determine the default libpath from the value encoded in an empty
12333 if test x$gcc_no_link = xyes; then
12334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12347 if ac_fn_cxx_try_link "$LINENO"; then :
12349 lt_aix_libpath_sed='
12350 /Import File Strings/,/^$/ {
12356 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12357 # Check for a 64-bit object if we didn't find anything.
12358 if test -z "$aix_libpath"; then
12359 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12362 rm -f core conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12366 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12368 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12370 if test "$host_cpu" = ia64; then
12371 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12372 allow_undefined_flag_CXX="-z nodefs"
12373 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"
12375 # Determine the default libpath from the value encoded in an
12376 # empty executable.
12377 if test x$gcc_no_link = xyes; then
12378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12391 if ac_fn_cxx_try_link "$LINENO"; then :
12393 lt_aix_libpath_sed='
12394 /Import File Strings/,/^$/ {
12400 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12401 # Check for a 64-bit object if we didn't find anything.
12402 if test -z "$aix_libpath"; then
12403 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12406 rm -f core conftest.err conftest.$ac_objext \
12407 conftest$ac_exeext conftest.$ac_ext
12408 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12410 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12411 # Warning - without using the other run time loading flags,
12412 # -berok will link without error, but may produce a broken library.
12413 no_undefined_flag_CXX=' ${wl}-bernotok'
12414 allow_undefined_flag_CXX=' ${wl}-berok'
12415 if test "$with_gnu_ld" = yes; then
12416 # We only use this code for GNU lds that support --whole-archive.
12417 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12419 # Exported symbols can be pulled into shared objects from archives
12420 whole_archive_flag_spec_CXX='$convenience'
12422 archive_cmds_need_lc_CXX=yes
12423 # This is similar to how AIX traditionally builds its shared
12425 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'
12431 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12432 allow_undefined_flag_CXX=unsupported
12433 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12434 # support --undefined. This deserves some investigation. FIXME
12435 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12442 case $cc_basename in
12444 # FIXME: insert proper C++ library support
12450 cygwin* | mingw* | pw32* | cegcc*)
12451 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12452 # as there is no search path for DLLs.
12453 hardcode_libdir_flag_spec_CXX='-L$libdir'
12454 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12455 allow_undefined_flag_CXX=unsupported
12456 always_export_symbols_CXX=no
12457 enable_shared_with_static_runtimes_CXX=yes
12459 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12460 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'
12461 # If the export-symbols file already is a .def file (1st line
12462 # is EXPORTS), use it as is; otherwise, prepend...
12463 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12464 cp $export_symbols $output_objdir/$soname.def;
12466 echo EXPORTS > $output_objdir/$soname.def;
12467 cat $export_symbols >> $output_objdir/$soname.def;
12469 $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'
12474 darwin* | rhapsody*)
12477 archive_cmds_need_lc_CXX=no
12478 hardcode_direct_CXX=no
12479 hardcode_automatic_CXX=yes
12480 hardcode_shlibpath_var_CXX=unsupported
12481 if test "$lt_cv_ld_force_load" = "yes"; then
12482 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12484 whole_archive_flag_spec_CXX=''
12486 link_all_deplibs_CXX=yes
12487 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12488 case $cc_basename in
12489 ifort*) _lt_dar_can_shared=yes ;;
12490 *) _lt_dar_can_shared=$GCC ;;
12492 if test "$_lt_dar_can_shared" = "yes"; then
12493 output_verbose_link_cmd=func_echo_all
12494 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}"
12495 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12496 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}"
12497 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}"
12498 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12499 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}"
12500 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}"
12510 case $cc_basename in
12512 # FIXME: insert proper C++ library support
12516 # Green Hills C++ Compiler
12517 # FIXME: insert proper C++ library support
12521 # FIXME: insert proper C++ library support
12528 # C++ shared libraries reported to be fairly broken before
12534 archive_cmds_need_lc_CXX=no
12537 freebsd* | dragonfly*)
12538 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12547 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12548 link_all_deplibs_CXX=yes
12552 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12553 hardcode_libdir_separator_CXX=:
12554 export_dynamic_flag_spec_CXX='${wl}-E'
12555 hardcode_direct_CXX=yes
12556 hardcode_minus_L_CXX=yes # Not in the search PATH,
12557 # but as the default
12558 # location of the library.
12560 case $cc_basename in
12562 # FIXME: insert proper C++ library support
12566 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'
12567 # Commands to make compiler produce verbose output that lists
12568 # what "hidden" libraries, object files and flags are used when
12569 # linking a shared library.
12571 # There doesn't appear to be a way to prevent this compiler from
12572 # explicitly linking system object files so we need to strip them
12573 # from the output so that they don't get included in the library
12575 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; func_echo_all "$list"'
12578 if test "$GXX" = yes; then
12579 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'
12581 # FIXME: insert proper C++ library support
12589 if test $with_gnu_ld = no; then
12590 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12591 hardcode_libdir_separator_CXX=:
12597 export_dynamic_flag_spec_CXX='${wl}-E'
12603 hardcode_direct_CXX=no
12604 hardcode_shlibpath_var_CXX=no
12607 hardcode_direct_CXX=yes
12608 hardcode_direct_absolute_CXX=yes
12609 hardcode_minus_L_CXX=yes # Not in the search PATH,
12610 # but as the default
12611 # location of the library.
12615 case $cc_basename in
12617 # FIXME: insert proper C++ library support
12623 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 # Commands to make compiler produce verbose output that lists
12633 # what "hidden" libraries, object files and flags are used when
12634 # linking a shared library.
12636 # There doesn't appear to be a way to prevent this compiler from
12637 # explicitly linking system object files so we need to strip them
12638 # from the output so that they don't get included in the library
12640 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; func_echo_all "$list"'
12643 if test "$GXX" = yes; then
12644 if test $with_gnu_ld = no; then
12647 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12653 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'
12658 # FIXME: insert proper C++ library support
12666 hardcode_direct_CXX=no
12667 hardcode_shlibpath_var_CXX=no
12668 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12669 export_dynamic_flag_spec_CXX='${wl}-E'
12670 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12671 # Instead, shared libraries are loaded at an image base (0x10000000 by
12672 # default) and relocated if they conflict, which is a slow very memory
12673 # consuming and fragmenting process. To avoid this, we pick a random,
12674 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12675 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12676 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'
12677 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'
12680 case $cc_basename in
12683 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12685 # Archives containing C++ object files must be created using
12686 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12687 # necessary to make sure instantiated templates are included
12689 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12692 if test "$GXX" = yes; then
12693 if test "$with_gnu_ld" = no; then
12694 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12696 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12699 link_all_deplibs_CXX=yes
12702 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12703 hardcode_libdir_separator_CXX=:
12704 inherit_rpath_CXX=yes
12707 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12708 case $cc_basename in
12710 # Kuck and Associates, Inc. (KAI) C++ Compiler
12712 # KCC will only create a shared library if the output file
12713 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12714 # to its proper name (with version) after linking.
12715 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'
12716 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'
12717 # Commands to make compiler produce verbose output that lists
12718 # what "hidden" libraries, object files and flags are used when
12719 # linking a shared library.
12721 # There doesn't appear to be a way to prevent this compiler from
12722 # explicitly linking system object files so we need to strip them
12723 # from the output so that they don't get included in the library
12725 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; func_echo_all "$list"'
12727 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12728 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12730 # Archives containing C++ object files must be created using
12731 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12732 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12737 # version 8.0 and above of icpc choke on multiply defined symbols
12738 # if we add $predep_objects and $postdep_objects, however 7.1 and
12739 # earlier do not add the objects themselves.
12740 case `$CC -V 2>&1` in
12742 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12743 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'
12745 *) # Version 8.0 or newer
12748 ia64*) tmp_idyn=' -i_dynamic';;
12750 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12751 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'
12754 archive_cmds_need_lc_CXX=no
12755 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12760 # Portland Group C++ compiler
12762 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12763 prelink_cmds_CXX='tpldir=Template.dir~
12765 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12766 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12767 old_archive_cmds_CXX='tpldir=Template.dir~
12769 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12770 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12772 archive_cmds_CXX='tpldir=Template.dir~
12774 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12775 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12776 archive_expsym_cmds_CXX='tpldir=Template.dir~
12778 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12779 $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'
12781 *) # Version 6 and above use weak symbols
12782 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12783 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'
12787 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12788 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12789 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12793 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794 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'
12796 runpath_var=LD_RUN_PATH
12797 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12798 hardcode_libdir_separator_CXX=:
12800 # Commands to make compiler produce verbose output that lists
12801 # what "hidden" libraries, object files and flags are used when
12802 # linking a shared library.
12804 # There doesn't appear to be a way to prevent this compiler from
12805 # explicitly linking system object files so we need to strip them
12806 # from the output so that they don't get included in the library
12808 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12810 xl* | mpixl* | bgxl*)
12811 # IBM XL 8.0 on PPC, with GNU ld
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12814 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12815 if test "x$supports_anon_versioning" = xyes; then
12816 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12817 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12818 echo "local: *; };" >> $output_objdir/$libname.ver~
12819 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12823 case `$CC -V 2>&1 | sed 5q` in
12826 no_undefined_flag_CXX=' -zdefs'
12827 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12828 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'
12829 hardcode_libdir_flag_spec_CXX='-R$libdir'
12830 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12831 compiler_needs_object_CXX=yes
12833 # Not sure whether something based on
12834 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12836 output_verbose_link_cmd='func_echo_all'
12838 # Archives containing C++ object files must be created using
12839 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12840 # necessary to make sure instantiated templates are included
12842 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12850 # FIXME: insert proper C++ library support
12855 # FIXME: insert proper C++ library support
12860 case $cc_basename in
12862 # FIXME: insert proper C++ library support
12866 # FIXME: insert proper C++ library support
12873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12874 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12876 hardcode_libdir_flag_spec_CXX='-R$libdir'
12877 hardcode_direct_CXX=yes
12878 hardcode_shlibpath_var_CXX=no
12880 # Workaround some broken pre-1.5 toolchains
12881 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12889 # C++ shared libraries are fairly broken
12894 if test -f /usr/libexec/ld.so; then
12895 hardcode_direct_CXX=yes
12896 hardcode_shlibpath_var_CXX=no
12897 hardcode_direct_absolute_CXX=yes
12898 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12899 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12900 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12901 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12902 export_dynamic_flag_spec_CXX='${wl}-E'
12903 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12905 output_verbose_link_cmd=func_echo_all
12911 osf3* | osf4* | osf5*)
12912 case $cc_basename in
12914 # Kuck and Associates, Inc. (KAI) C++ Compiler
12916 # KCC will only create a shared library if the output file
12917 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12918 # to its proper name (with version) after linking.
12919 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'
12921 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12922 hardcode_libdir_separator_CXX=:
12924 # Archives containing C++ object files must be created using
12925 # the KAI C++ compiler.
12927 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12928 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12932 # Rational C++ 2.4.1
12933 # FIXME: insert proper C++ library support
12939 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12940 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12941 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12944 allow_undefined_flag_CXX=' -expect_unresolved \*'
12945 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12946 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12947 echo "-hidden">> $lib.exp~
12948 $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12950 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12954 hardcode_libdir_separator_CXX=:
12956 # Commands to make compiler produce verbose output that lists
12957 # what "hidden" libraries, object files and flags are used when
12958 # linking a shared library.
12960 # There doesn't appear to be a way to prevent this compiler from
12961 # explicitly linking system object files so we need to strip them
12962 # from the output so that they don't get included in the library
12964 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12967 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12968 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12974 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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12978 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12979 hardcode_libdir_separator_CXX=:
12981 # Commands to make compiler produce verbose output that lists
12982 # what "hidden" libraries, object files and flags are used when
12983 # linking a shared library.
12984 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12987 # FIXME: insert proper C++ library support
12995 # FIXME: insert proper C++ library support
13000 case $cc_basename in
13003 # FIXME: insert proper C++ library support
13008 # FIXME: insert proper C++ library support
13012 # FIXME: insert proper C++ library support
13019 case $cc_basename in
13021 # Sun C++ 4.2, 5.x and Centerline C++
13022 archive_cmds_need_lc_CXX=yes
13023 no_undefined_flag_CXX=' -zdefs'
13024 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13025 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13026 $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'
13028 hardcode_libdir_flag_spec_CXX='-R$libdir'
13029 hardcode_shlibpath_var_CXX=no
13031 solaris2.[0-5] | solaris2.[0-5].*) ;;
13033 # The compiler driver will combine and reorder linker options,
13034 # but understands `-z linker_flag'.
13035 # Supported since Solaris 2.6 (maybe 2.5.1?)
13036 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13039 link_all_deplibs_CXX=yes
13041 output_verbose_link_cmd='func_echo_all'
13043 # Archives containing C++ object files must be created using
13044 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13045 # necessary to make sure instantiated templates are included
13047 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13050 # Green Hills C++ Compiler
13051 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13053 # The C++ compiler must be used to create the archive.
13054 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13057 # GNU C++ compiler with Solaris linker
13058 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13059 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13060 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13061 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13062 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13063 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13065 # Commands to make compiler produce verbose output that lists
13066 # what "hidden" libraries, object files and flags are used when
13067 # linking a shared library.
13068 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13070 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13072 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13082 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13084 solaris2.[0-5] | solaris2.[0-5].*) ;;
13086 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13094 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13095 no_undefined_flag_CXX='${wl}-z,text'
13096 archive_cmds_need_lc_CXX=no
13097 hardcode_shlibpath_var_CXX=no
13098 runpath_var='LD_RUN_PATH'
13100 case $cc_basename in
13102 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112 sysv5* | sco3.2v5* | sco5v6*)
13113 # Note: We can NOT use -z defs as we might desire, because we do not
13114 # link with -lc, and that would cause any symbols used from libc to
13115 # always be unresolved, which means just about no library would
13116 # ever link correctly. If we're not using GNU ld we use -z text
13117 # though, which does catch some bad symbols but isn't as heavy-handed
13119 no_undefined_flag_CXX='${wl}-z,text'
13120 allow_undefined_flag_CXX='${wl}-z,nodefs'
13121 archive_cmds_need_lc_CXX=no
13122 hardcode_shlibpath_var_CXX=no
13123 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13124 hardcode_libdir_separator_CXX=':'
13125 link_all_deplibs_CXX=yes
13126 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13127 runpath_var='LD_RUN_PATH'
13129 case $cc_basename in
13131 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13134 '"$old_archive_cmds_CXX"
13135 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13136 '"$reload_cmds_CXX"
13139 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 case $cc_basename in
13148 # NonStop-UX NCC 3.20
13149 # FIXME: insert proper C++ library support
13153 # FIXME: insert proper C++ library support
13160 # FIXME: insert proper C++ library support
13165 # FIXME: insert proper C++ library support
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13171 $as_echo "$ld_shlibs_CXX" >&6; }
13172 test "$ld_shlibs_CXX" = no && can_build_shared=no
13178 ## There is no encapsulation within the following macros, do not change
13179 ## the running order or otherwise move them around unless you know exactly
13180 ## what you are doing...
13181 # Dependencies to place before and after the object being linked:
13182 predep_objects_CXX=
13183 postdep_objects_CXX=
13186 compiler_lib_search_path_CXX=
13188 cat > conftest.$ac_ext <<_LT_EOF
13192 Foo (void) { a = 0; }
13198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13199 (eval $ac_compile) 2>&5
13201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13202 test $ac_status = 0; }; then
13203 # Parse the compiler output and extract the necessary
13204 # objects, libraries and library flags.
13206 # Sentinel used to keep track of whether or not we are before
13207 # the conftest object file.
13208 pre_test_object_deps_done=no
13210 for p in `eval "$output_verbose_link_cmd"`; do
13214 # Some compilers place space between "-{L,R}" and the path.
13215 # Remove the space.
13216 if test $p = "-L" ||
13217 test $p = "-R"; then
13224 if test "$pre_test_object_deps_done" = no; then
13227 # Internal compiler library paths should come after those
13228 # provided the user. The postdeps already come after the
13229 # user supplied libs so there is no need to process them.
13230 if test -z "$compiler_lib_search_path_CXX"; then
13231 compiler_lib_search_path_CXX="${prev}${p}"
13233 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13236 # The "-l" case would never come before the object being
13237 # linked, so don't bother handling this case.
13240 if test -z "$postdeps_CXX"; then
13241 postdeps_CXX="${prev}${p}"
13243 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13249 # This assumes that the test object file only shows up
13250 # once in the compiler output.
13251 if test "$p" = "conftest.$objext"; then
13252 pre_test_object_deps_done=yes
13256 if test "$pre_test_object_deps_done" = no; then
13257 if test -z "$predep_objects_CXX"; then
13258 predep_objects_CXX="$p"
13260 predep_objects_CXX="$predep_objects_CXX $p"
13263 if test -z "$postdep_objects_CXX"; then
13264 postdep_objects_CXX="$p"
13266 postdep_objects_CXX="$postdep_objects_CXX $p"
13271 *) ;; # Ignore the rest.
13279 echo "libtool.m4: error: problem compiling CXX test program"
13282 $RM -f confest.$objext
13284 # PORTME: override above test on systems where it is broken
13287 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13288 # hack all around it, let's just trust "g++" to DTRT.
13289 predep_objects_CXX=
13290 postdep_objects_CXX=
13295 case `$CC -V 2>&1 | sed 5q` in
13299 # The more standards-conforming stlport4 library is
13300 # incompatible with the Cstd library. Avoid specifying
13301 # it if it's in CXXFLAGS. Ignore libCrun as
13302 # -library=stlport4 depends on it.
13303 case " $CXX $CXXFLAGS " in
13304 *" -library=stlport4 "*)
13305 solaris_use_stlport4=yes
13309 if test "$solaris_use_stlport4" != yes; then
13310 postdeps_CXX='-library=Cstd -library=Crun'
13317 case $cc_basename in
13319 # The more standards-conforming stlport4 library is
13320 # incompatible with the Cstd library. Avoid specifying
13321 # it if it's in CXXFLAGS. Ignore libCrun as
13322 # -library=stlport4 depends on it.
13323 case " $CXX $CXXFLAGS " in
13324 *" -library=stlport4 "*)
13325 solaris_use_stlport4=yes
13329 # Adding this requires a known-good setup of shared libraries for
13330 # Sun compiler versions before 5.6, else PIC objects from an old
13331 # archive will be linked into the output, leading to subtle bugs.
13332 if test "$solaris_use_stlport4" != yes; then
13333 postdeps_CXX='-library=Cstd -library=Crun'
13341 case " $postdeps_CXX " in
13342 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13344 compiler_lib_search_dirs_CXX=
13345 if test -n "${compiler_lib_search_path_CXX}"; then
13346 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13379 lt_prog_compiler_wl_CXX=
13380 lt_prog_compiler_pic_CXX=
13381 lt_prog_compiler_static_CXX=
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13384 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13386 # C++ specific cases for pic, static, wl, etc.
13387 if test "$GXX" = yes; then
13388 lt_prog_compiler_wl_CXX='-Wl,'
13389 lt_prog_compiler_static_CXX='-static'
13393 # All AIX code is PIC.
13394 if test "$host_cpu" = ia64; then
13395 # AIX 5 now supports IA64 processor
13396 lt_prog_compiler_static_CXX='-Bstatic'
13403 # see comment about AmigaOS4 .so support
13404 lt_prog_compiler_pic_CXX='-fPIC'
13407 # FIXME: we need at least 68020 code to build shared libraries, but
13408 # adding the `-m68020' flag to GCC prevents building anything better,
13410 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13415 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13416 # PIC is the default for these OSes.
13418 mingw* | cygwin* | os2* | pw32* | cegcc*)
13419 # This hack is so that the source file can tell whether it is being
13420 # built for inclusion in a dll (and should export symbols for example).
13421 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13422 # (--disable-auto-import) libraries
13423 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13425 darwin* | rhapsody*)
13426 # PIC is the default on this platform
13427 # Common symbols not allowed in MH_DYLIB files
13428 lt_prog_compiler_pic_CXX='-fno-common'
13431 # DJGPP does not support shared libraries at all
13432 lt_prog_compiler_pic_CXX=
13435 # PIC is the default for Haiku.
13436 # The "-static" flag exists, but is broken.
13437 lt_prog_compiler_static_CXX=
13440 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13441 # Instead, we relocate shared libraries at runtime.
13444 if test -d /usr/nec; then
13445 lt_prog_compiler_pic_CXX=-Kconform_pic
13449 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13450 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13451 # sets the default TLS model and affects inlining.
13456 lt_prog_compiler_pic_CXX='-fPIC'
13461 # QNX uses GNU C++, but need to define -shared option too, otherwise
13462 # it will coredump.
13463 lt_prog_compiler_pic_CXX='-fPIC -shared'
13466 lt_prog_compiler_pic_CXX='-fPIC'
13472 # All AIX code is PIC.
13473 if test "$host_cpu" = ia64; then
13474 # AIX 5 now supports IA64 processor
13475 lt_prog_compiler_static_CXX='-Bstatic'
13477 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13481 case $cc_basename in
13483 # Green Hills C++ Compiler
13484 # _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"
13489 case $cc_basename in
13491 lt_prog_compiler_pic_CXX='-KPIC'
13494 # Green Hills C++ Compiler
13495 lt_prog_compiler_pic_CXX='-pic'
13501 freebsd* | dragonfly*)
13502 # FreeBSD uses GNU C++
13504 hpux9* | hpux10* | hpux11*)
13505 case $cc_basename in
13507 lt_prog_compiler_wl_CXX='-Wl,'
13508 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13509 if test "$host_cpu" != ia64; then
13510 lt_prog_compiler_pic_CXX='+Z'
13514 lt_prog_compiler_wl_CXX='-Wl,'
13515 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13521 lt_prog_compiler_pic_CXX='+Z'
13530 # This is c89, which is MS Visual C++ (no shared libs)
13531 # Anyone wants to do a port?
13533 irix5* | irix6* | nonstopux*)
13534 case $cc_basename in
13536 lt_prog_compiler_wl_CXX='-Wl,'
13537 lt_prog_compiler_static_CXX='-non_shared'
13538 # CC pic flag -KPIC is the default.
13544 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13545 case $cc_basename in
13548 lt_prog_compiler_wl_CXX='--backend -Wl,'
13549 lt_prog_compiler_pic_CXX='-fPIC'
13552 # old Intel C++ for x86_64 which still supported -KPIC.
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_pic_CXX='-KPIC'
13555 lt_prog_compiler_static_CXX='-static'
13558 # Intel C++, used to be incompatible with GCC.
13559 # ICC 10 doesn't accept -KPIC any more.
13560 lt_prog_compiler_wl_CXX='-Wl,'
13561 lt_prog_compiler_pic_CXX='-fPIC'
13562 lt_prog_compiler_static_CXX='-static'
13565 # Portland Group C++ compiler
13566 lt_prog_compiler_wl_CXX='-Wl,'
13567 lt_prog_compiler_pic_CXX='-fpic'
13568 lt_prog_compiler_static_CXX='-Bstatic'
13572 # Make sure the PIC flag is empty. It appears that all Alpha
13573 # Linux and Compaq Tru64 Unix objects are PIC.
13574 lt_prog_compiler_pic_CXX=
13575 lt_prog_compiler_static_CXX='-non_shared'
13577 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13578 # IBM XL 8.0, 9.0 on PPC and BlueGene
13579 lt_prog_compiler_wl_CXX='-Wl,'
13580 lt_prog_compiler_pic_CXX='-qpic'
13581 lt_prog_compiler_static_CXX='-qstaticlink'
13584 case `$CC -V 2>&1 | sed 5q` in
13587 lt_prog_compiler_pic_CXX='-KPIC'
13588 lt_prog_compiler_static_CXX='-Bstatic'
13589 lt_prog_compiler_wl_CXX='-Qoption ld '
13600 case $cc_basename in
13602 lt_prog_compiler_pic_CXX='-W c,exportall'
13611 # QNX uses GNU C++, but need to define -shared option too, otherwise
13612 # it will coredump.
13613 lt_prog_compiler_pic_CXX='-fPIC -shared'
13615 osf3* | osf4* | osf5*)
13616 case $cc_basename in
13618 lt_prog_compiler_wl_CXX='--backend -Wl,'
13621 # Rational C++ 2.4.1
13622 lt_prog_compiler_pic_CXX='-pic'
13625 # Digital/Compaq C++
13626 lt_prog_compiler_wl_CXX='-Wl,'
13627 # Make sure the PIC flag is empty. It appears that all Alpha
13628 # Linux and Compaq Tru64 Unix objects are PIC.
13629 lt_prog_compiler_pic_CXX=
13630 lt_prog_compiler_static_CXX='-non_shared'
13639 case $cc_basename in
13641 # Sun C++ 4.2, 5.x and Centerline C++
13642 lt_prog_compiler_pic_CXX='-KPIC'
13643 lt_prog_compiler_static_CXX='-Bstatic'
13644 lt_prog_compiler_wl_CXX='-Qoption ld '
13647 # Green Hills C++ Compiler
13648 lt_prog_compiler_pic_CXX='-PIC'
13655 case $cc_basename in
13658 lt_prog_compiler_pic_CXX='-pic'
13659 lt_prog_compiler_static_CXX='-Bstatic'
13663 lt_prog_compiler_pic_CXX='-pic'
13669 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13670 case $cc_basename in
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 lt_prog_compiler_pic_CXX='-KPIC'
13674 lt_prog_compiler_static_CXX='-Bstatic'
13679 case $cc_basename in
13681 # NonStop-UX NCC 3.20
13682 lt_prog_compiler_pic_CXX='-KPIC'
13691 lt_prog_compiler_can_build_shared_CXX=no
13697 # For platforms which do not support PIC, -DPIC is meaningless:
13699 lt_prog_compiler_pic_CXX=
13702 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13706 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13711 # Check to make sure the PIC flag actually works.
13713 if test -n "$lt_prog_compiler_pic_CXX"; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13715 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13716 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13717 $as_echo_n "(cached) " >&6
13719 lt_cv_prog_compiler_pic_works_CXX=no
13720 ac_outfile=conftest.$ac_objext
13721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13722 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13723 # Insert the option either (1) after the last *FLAGS variable, or
13724 # (2) before a word containing "conftest.", or (3) at the end.
13725 # Note that $ac_compile itself does not contain backslashes and begins
13726 # with a dollar sign (not a hyphen), so the echo should work correctly.
13727 # The option is referenced via a variable to avoid confusing sed.
13728 lt_compile=`echo "$ac_compile" | $SED \
13729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13731 -e 's:$: $lt_compiler_flag:'`
13732 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13733 (eval "$lt_compile" 2>conftest.err)
13735 cat conftest.err >&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 if (exit $ac_status) && test -s "$ac_outfile"; then
13738 # The compiler can only warn and ignore the option if not recognized
13739 # So say no if there are warnings other than the usual output.
13740 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13742 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13743 lt_cv_prog_compiler_pic_works_CXX=yes
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13750 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13752 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13753 case $lt_prog_compiler_pic_CXX in
13755 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13758 lt_prog_compiler_pic_CXX=
13759 lt_prog_compiler_can_build_shared_CXX=no
13767 # Check to make sure the static flag actually works.
13769 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13771 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13772 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13773 $as_echo_n "(cached) " >&6
13775 lt_cv_prog_compiler_static_works_CXX=no
13776 save_LDFLAGS="$LDFLAGS"
13777 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13778 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13779 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13780 # The linker can only warn and ignore the option if not recognized
13781 # So say no if there are warnings
13782 if test -s conftest.err; then
13783 # Append any errors to the config.log.
13784 cat conftest.err 1>&5
13785 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13787 if diff conftest.exp conftest.er2 >/dev/null; then
13788 lt_cv_prog_compiler_static_works_CXX=yes
13791 lt_cv_prog_compiler_static_works_CXX=yes
13795 LDFLAGS="$save_LDFLAGS"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13799 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13801 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13804 lt_prog_compiler_static_CXX=
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13811 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13812 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13813 $as_echo_n "(cached) " >&6
13815 lt_cv_prog_compiler_c_o_CXX=no
13816 $RM -r conftest 2>/dev/null
13820 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13822 lt_compiler_flag="-o out/conftest2.$ac_objext"
13823 # Insert the option either (1) after the last *FLAGS variable, or
13824 # (2) before a word containing "conftest.", or (3) at the end.
13825 # Note that $ac_compile itself does not contain backslashes and begins
13826 # with a dollar sign (not a hyphen), so the echo should work correctly.
13827 lt_compile=`echo "$ac_compile" | $SED \
13828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13830 -e 's:$: $lt_compiler_flag:'`
13831 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13832 (eval "$lt_compile" 2>out/conftest.err)
13834 cat out/conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13838 # The compiler can only warn and ignore the option if not recognized
13839 # So say no if there are warnings
13840 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13841 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13842 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13843 lt_cv_prog_compiler_c_o_CXX=yes
13848 # SGI C++ compiler will create directory out/ii_files/ for
13849 # template instantiation
13850 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13851 $RM out/* && rmdir out
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13858 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13863 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13864 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13865 $as_echo_n "(cached) " >&6
13867 lt_cv_prog_compiler_c_o_CXX=no
13868 $RM -r conftest 2>/dev/null
13872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13874 lt_compiler_flag="-o out/conftest2.$ac_objext"
13875 # Insert the option either (1) after the last *FLAGS variable, or
13876 # (2) before a word containing "conftest.", or (3) at the end.
13877 # Note that $ac_compile itself does not contain backslashes and begins
13878 # with a dollar sign (not a hyphen), so the echo should work correctly.
13879 lt_compile=`echo "$ac_compile" | $SED \
13880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13882 -e 's:$: $lt_compiler_flag:'`
13883 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13884 (eval "$lt_compile" 2>out/conftest.err)
13886 cat out/conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13890 # The compiler can only warn and ignore the option if not recognized
13891 # So say no if there are warnings
13892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13893 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13894 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13895 lt_cv_prog_compiler_c_o_CXX=yes
13900 # SGI C++ compiler will create directory out/ii_files/ for
13901 # template instantiation
13902 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13903 $RM out/* && rmdir out
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13915 hard_links="nottested"
13916 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13917 # do not overwrite the value of need_locks provided by the user
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13919 $as_echo_n "checking if we can lock with hard links... " >&6; }
13922 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13924 ln conftest.a conftest.b 2>&5 || hard_links=no
13925 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13927 $as_echo "$hard_links" >&6; }
13928 if test "$hard_links" = no; then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13930 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13940 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13942 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945 # If we're using GNU nm, then we don't want the "-C" option.
13946 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13947 # Also, AIX nm treats weak defined symbols like other global defined
13948 # symbols, whereas GNU nm marks them as "W".
13949 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13950 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13952 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'
13956 export_symbols_cmds_CXX="$ltdll_cmds"
13958 cygwin* | mingw* | cegcc*)
13959 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'
13962 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13965 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13968 $as_echo "$ld_shlibs_CXX" >&6; }
13969 test "$ld_shlibs_CXX" = no && can_build_shared=no
13971 with_gnu_ld_CXX=$with_gnu_ld
13979 # Do we need to explicitly link libc?
13981 case "x$archive_cmds_need_lc_CXX" in
13983 # Assume -lc should be added
13984 archive_cmds_need_lc_CXX=yes
13986 if test "$enable_shared" = yes && test "$GCC" = yes; then
13987 case $archive_cmds_CXX in
13989 # FIXME: we may have to deal with multi-command sequences.
13992 # Test whether the compiler implicitly links with -lc since on some
13993 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13994 # to ld, don't add -lc before -lgcc.
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13996 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13997 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13998 $as_echo_n "(cached) " >&6
14001 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14004 (eval $ac_compile) 2>&5
14006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14007 test $ac_status = 0; } 2>conftest.err; then
14010 libobjs=conftest.$ac_objext
14012 wl=$lt_prog_compiler_wl_CXX
14013 pic_flag=$lt_prog_compiler_pic_CXX
14019 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14020 allow_undefined_flag_CXX=
14021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14022 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14025 test $ac_status = 0; }
14027 lt_cv_archive_cmds_need_lc_CXX=no
14029 lt_cv_archive_cmds_need_lc_CXX=yes
14031 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14033 cat conftest.err 1>&5
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14039 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14040 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14111 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14113 library_names_spec=
14114 libname_spec='lib$name'
14118 postuninstall_cmds=
14122 shlibpath_overrides_runpath=unknown
14124 dynamic_linker="$host_os ld.so"
14125 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14126 need_lib_prefix=unknown
14127 hardcode_into_libs=no
14129 # when you set need_version to no, make sure it does not cause -set_version
14130 # flags to be left without arguments
14131 need_version=unknown
14136 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14137 shlibpath_var=LIBPATH
14139 # AIX 3 has no versioning support, so we append a major version to the name.
14140 soname_spec='${libname}${release}${shared_ext}$major'
14147 hardcode_into_libs=yes
14148 if test "$host_cpu" = ia64; then
14149 # AIX 5 supports IA64
14150 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14151 shlibpath_var=LD_LIBRARY_PATH
14153 # With GCC up to 2.95.x, collect2 would create an import file
14154 # for dependence libraries. The import file would start with
14155 # the line `#! .'. This would cause the generated library to
14156 # depend on `.', always an invalid library. This was fixed in
14157 # development snapshots of GCC prior to 3.0.
14159 aix4 | aix4.[01] | aix4.[01].*)
14160 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14162 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14165 can_build_shared=no
14169 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14170 # soname into executable. Probably we can add versioning support to
14171 # collect2, so additional links can be useful in future.
14172 if test "$aix_use_runtimelinking" = yes; then
14173 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14174 # instead of lib<name>.a to let people know that these are not
14175 # typical AIX shared libraries.
14176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14178 # We preserve .a as extension for shared libraries through AIX4.2
14179 # and later when we are not doing run time linking.
14180 library_names_spec='${libname}${release}.a $libname.a'
14181 soname_spec='${libname}${release}${shared_ext}$major'
14183 shlibpath_var=LIBPATH
14190 # Since July 2007 AmigaOS4 officially supports .so libraries.
14191 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195 library_names_spec='$libname.ixlibrary $libname.a'
14196 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14197 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14203 library_names_spec='${libname}${shared_ext}'
14204 dynamic_linker="$host_os ld.so"
14205 shlibpath_var=LIBRARY_PATH
14211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14212 soname_spec='${libname}${release}${shared_ext}$major'
14213 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14214 shlibpath_var=LD_LIBRARY_PATH
14215 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14216 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14217 # the default ld.so.conf also contains /usr/contrib/lib and
14218 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14219 # libtool to hard-code these into programs
14222 cygwin* | mingw* | pw32* | cegcc*)
14223 version_type=windows
14228 case $GCC,$host_os in
14229 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14230 library_names_spec='$libname.dll.a'
14231 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14232 postinstall_cmds='base_file=`basename \${file}`~
14233 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14234 dldir=$destdir/`dirname \$dlpath`~
14235 test -d \$dldir || mkdir -p \$dldir~
14236 $install_prog $dir/$dlname \$dldir/$dlname~
14237 chmod a+x \$dldir/$dlname~
14238 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14239 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14241 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14242 dlpath=$dir/\$dldll~
14244 shlibpath_overrides_runpath=yes
14248 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14249 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14253 # MinGW DLLs use traditional 'lib' prefix
14254 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14257 # pw32 DLLs use 'pw' prefix rather than 'lib'
14258 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14264 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14267 dynamic_linker='Win32 ld.exe'
14268 # FIXME: first we should search . and the directory the executable is in
14272 darwin* | rhapsody*)
14273 dynamic_linker="$host_os dyld"
14274 version_type=darwin
14277 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14278 soname_spec='${libname}${release}${major}$shared_ext'
14279 shlibpath_overrides_runpath=yes
14280 shlibpath_var=DYLD_LIBRARY_PATH
14281 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14283 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14291 soname_spec='${libname}${release}${shared_ext}$major'
14292 shlibpath_var=LD_LIBRARY_PATH
14295 freebsd* | dragonfly*)
14296 # DragonFly does not have aout. When/if they implement a new
14297 # versioning mechanism, adjust this.
14298 if test -x /usr/bin/objformat; then
14299 objformat=`/usr/bin/objformat`
14302 freebsd[23].*) objformat=aout ;;
14303 *) objformat=elf ;;
14306 version_type=freebsd-$objformat
14307 case $version_type in
14309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14318 shlibpath_var=LD_LIBRARY_PATH
14321 shlibpath_overrides_runpath=yes
14323 freebsd3.[01]* | freebsdelf3.[01]*)
14324 shlibpath_overrides_runpath=yes
14325 hardcode_into_libs=yes
14327 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14328 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14329 shlibpath_overrides_runpath=no
14330 hardcode_into_libs=yes
14332 *) # from 4.6 on, and DragonFly
14333 shlibpath_overrides_runpath=yes
14334 hardcode_into_libs=yes
14343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14344 soname_spec='${libname}${release}${shared_ext}$major'
14345 shlibpath_var=LD_LIBRARY_PATH
14346 hardcode_into_libs=yes
14353 dynamic_linker="$host_os runtime_loader"
14354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14355 soname_spec='${libname}${release}${shared_ext}$major'
14356 shlibpath_var=LIBRARY_PATH
14357 shlibpath_overrides_runpath=yes
14358 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14359 hardcode_into_libs=yes
14362 hpux9* | hpux10* | hpux11*)
14363 # Give a soname corresponding to the major version so that dld.sl refuses to
14364 # link against other versions.
14371 hardcode_into_libs=yes
14372 dynamic_linker="$host_os dld.so"
14373 shlibpath_var=LD_LIBRARY_PATH
14374 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14376 soname_spec='${libname}${release}${shared_ext}$major'
14377 if test "X$HPUX_IA64_MODE" = X32; then
14378 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14380 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14382 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14386 hardcode_into_libs=yes
14387 dynamic_linker="$host_os dld.sl"
14388 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14389 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14391 soname_spec='${libname}${release}${shared_ext}$major'
14392 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14397 dynamic_linker="$host_os dld.sl"
14398 shlibpath_var=SHLIB_PATH
14399 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14404 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14405 postinstall_cmds='chmod 555 $lib'
14406 # or fails outright, so override atomically:
14407 install_override_mode=555
14414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14415 soname_spec='${libname}${release}${shared_ext}$major'
14416 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14417 shlibpath_var=LD_LIBRARY_PATH
14418 shlibpath_overrides_runpath=no
14419 hardcode_into_libs=yes
14422 irix5* | irix6* | nonstopux*)
14424 nonstopux*) version_type=nonstopux ;;
14426 if test "$lt_cv_prog_gnu_ld" = yes; then
14434 soname_spec='${libname}${release}${shared_ext}$major'
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14437 irix5* | nonstopux*)
14438 libsuff= shlibsuff=
14441 case $LD in # libtool.m4 will add one of these switches to LD
14442 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14443 libsuff= shlibsuff= libmagic=32-bit;;
14444 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14445 libsuff=32 shlibsuff=N32 libmagic=N32;;
14446 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14447 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14448 *) libsuff= shlibsuff= libmagic=never-match;;
14452 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14453 shlibpath_overrides_runpath=no
14454 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14455 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14456 hardcode_into_libs=yes
14459 # No shared lib support for Linux oldld, aout, or coff.
14460 linux*oldld* | linux*aout* | linux*coff*)
14464 # This must be Linux ELF.
14465 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14470 soname_spec='${libname}${release}${shared_ext}$major'
14471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14472 shlibpath_var=LD_LIBRARY_PATH
14473 shlibpath_overrides_runpath=no
14475 # Some binutils ld are patched to set DT_RUNPATH
14476 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14477 $as_echo_n "(cached) " >&6
14479 lt_cv_shlibpath_overrides_runpath=no
14480 save_LDFLAGS=$LDFLAGS
14481 save_libdir=$libdir
14482 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14483 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14484 if test x$gcc_no_link = xyes; then
14485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14498 if ac_fn_cxx_try_link "$LINENO"; then :
14499 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14500 lt_cv_shlibpath_overrides_runpath=yes
14503 rm -f core conftest.err conftest.$ac_objext \
14504 conftest$ac_exeext conftest.$ac_ext
14505 LDFLAGS=$save_LDFLAGS
14506 libdir=$save_libdir
14510 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14512 # This implies no fast_install, which is unacceptable.
14513 # Some rework will be needed to allow for fast_install
14514 # before this can be enabled.
14515 hardcode_into_libs=yes
14517 # Append ld.so.conf contents to the search path
14518 if test -f /etc/ld.so.conf; then
14519 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;s/"//g;/^$/d' | tr '\n' ' '`
14520 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14523 # We used to test for /lib/ld.so.1 and disable shared libraries on
14524 # powerpc, because MkLinux only supported shared libraries with the
14525 # GNU dynamic linker. Since this was broken with cross compilers,
14526 # most powerpc-linux boxes support dynamic linking these days and
14527 # people can always --disable-shared, the test was removed, and we
14528 # assume the GNU/Linux dynamic linker is in use.
14529 dynamic_linker='GNU/Linux ld.so'
14536 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14538 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14539 dynamic_linker='NetBSD (a.out) ld.so'
14541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14542 soname_spec='${libname}${release}${shared_ext}$major'
14543 dynamic_linker='NetBSD ld.elf_so'
14545 shlibpath_var=LD_LIBRARY_PATH
14546 shlibpath_overrides_runpath=yes
14547 hardcode_into_libs=yes
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 shlibpath_var=LD_LIBRARY_PATH
14554 shlibpath_overrides_runpath=yes
14561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14562 soname_spec='${libname}${release}${shared_ext}$major'
14563 shlibpath_var=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath=no
14565 hardcode_into_libs=yes
14566 dynamic_linker='ldqnx.so'
14571 sys_lib_dlsearch_path_spec="/usr/lib"
14573 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14575 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14576 *) need_version=no ;;
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14583 openbsd2.[89] | openbsd2.[89].*)
14584 shlibpath_overrides_runpath=no
14587 shlibpath_overrides_runpath=yes
14591 shlibpath_overrides_runpath=yes
14596 libname_spec='$name'
14599 library_names_spec='$libname${shared_ext} $libname.a'
14600 dynamic_linker='OS/2 ld.exe'
14601 shlibpath_var=LIBPATH
14604 osf3* | osf4* | osf5*)
14608 soname_spec='${libname}${release}${shared_ext}$major'
14609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610 shlibpath_var=LD_LIBRARY_PATH
14611 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14612 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14624 soname_spec='${libname}${release}${shared_ext}$major'
14625 shlibpath_var=LD_LIBRARY_PATH
14626 shlibpath_overrides_runpath=yes
14627 hardcode_into_libs=yes
14628 # ldd complains unless libraries are executable
14629 postinstall_cmds='chmod +x $lib'
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14635 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 shlibpath_overrides_runpath=yes
14638 if test "$with_gnu_ld" = yes; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14647 soname_spec='${libname}${release}${shared_ext}$major'
14648 shlibpath_var=LD_LIBRARY_PATH
14649 case $host_vendor in
14651 shlibpath_overrides_runpath=no
14653 runpath_var=LD_RUN_PATH
14661 shlibpath_overrides_runpath=no
14662 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14668 if test -d /usr/nec ;then
14670 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14671 soname_spec='$libname${shared_ext}.$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14676 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14677 version_type=freebsd-elf
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14681 soname_spec='${libname}${release}${shared_ext}$major'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=yes
14684 hardcode_into_libs=yes
14685 if test "$with_gnu_ld" = yes; then
14686 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14688 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14691 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14695 sys_lib_dlsearch_path_spec='/usr/lib'
14699 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14704 shlibpath_var=LD_LIBRARY_PATH
14705 shlibpath_overrides_runpath=no
14706 hardcode_into_libs=yes
14711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14712 soname_spec='${libname}${release}${shared_ext}$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14721 $as_echo "$dynamic_linker" >&6; }
14722 test "$dynamic_linker" = no && can_build_shared=no
14724 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14725 if test "$GCC" = yes; then
14726 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14729 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14730 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14732 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14733 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14775 hardcode_action_CXX=
14776 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14777 test -n "$runpath_var_CXX" ||
14778 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14780 # We can hardcode non-existent directories.
14781 if test "$hardcode_direct_CXX" != no &&
14782 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14783 # have to relink, otherwise we might link with an installed library
14784 # when we should be linking with a yet-to-be-installed one
14785 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14786 test "$hardcode_minus_L_CXX" != no; then
14787 # Linking always hardcodes the temporary library directory.
14788 hardcode_action_CXX=relink
14790 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14791 hardcode_action_CXX=immediate
14794 # We cannot hardcode anything, or else we can only hardcode existing
14796 hardcode_action_CXX=unsupported
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14799 $as_echo "$hardcode_action_CXX" >&6; }
14801 if test "$hardcode_action_CXX" = relink ||
14802 test "$inherit_rpath_CXX" = yes; then
14803 # Fast installation is not supported
14804 enable_fast_install=no
14805 elif test "$shlibpath_overrides_runpath" = yes ||
14806 test "$enable_shared" = no; then
14807 # Fast installation is not necessary
14808 enable_fast_install=needless
14817 fi # test -n "$compiler"
14823 with_gnu_ld=$lt_save_with_gnu_ld
14824 lt_cv_path_LDCXX=$lt_cv_path_LD
14825 lt_cv_path_LD=$lt_save_path_LD
14826 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14827 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14828 fi # test "$_lt_caught_CXX_error" != yes
14831 ac_cpp='$CPP $CPPFLAGS'
14832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14848 ac_config_commands="$ac_config_commands libtool"
14853 # Only expand once:
14860 *-cygwin* | *-mingw*)
14861 # 'host' will be top-level target in the case of a target lib,
14862 # we must compare to with_cross_host to decide if this is a native
14863 # or cross-compiler and select where to install dlls appropriately.
14864 if test -n "$with_cross_host" &&
14865 test x"$with_cross_host" != x"no"; then
14866 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14868 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14881 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14882 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14884 # Possibly disable most of the library.
14885 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14886 ## than just ignoring the results. Faster /and/ more correct, win win.
14888 # Check whether --enable-hosted-libstdcxx was given.
14889 if test "${enable_hosted_libstdcxx+set}" = set; then :
14890 enableval=$enable_hosted_libstdcxx;
14893 arm*-*-symbianelf*)
14894 enable_hosted_libstdcxx=no
14897 enable_hosted_libstdcxx=yes
14902 if test "$enable_hosted_libstdcxx" = no; then
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14904 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14907 enable_abi_check=no
14908 enable_libstdcxx_pch=no
14915 cat >>confdefs.h <<_ACEOF
14916 #define _GLIBCXX_HOSTED $hosted_define
14921 # Enable compiler support that doesn't require linking.
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14924 $as_echo_n "checking for exception model to use... " >&6; }
14927 ac_cpp='$CXXCPP $CPPFLAGS'
14928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14932 # Check whether --enable-sjlj-exceptions was given.
14933 if test "${enable_sjlj_exceptions+set}" = set; then :
14934 enableval=$enable_sjlj_exceptions;
14935 case "$enableval" in
14937 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14941 enable_sjlj_exceptions=auto
14946 if test $enable_sjlj_exceptions = auto; then
14947 # Botheration. Now we've got to detect the exception model. Link tests
14948 # against libgcc.a are problematic since we've not been given proper -L
14949 # bits for single-tree newlib and libgloss.
14951 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14952 cat > conftest.$ac_ext << EOF
14953 #line 14953 "configure"
14954 struct S { ~S(); };
14962 old_CXXFLAGS="$CXXFLAGS"
14964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14965 (eval $ac_compile) 2>&5
14967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14968 test $ac_status = 0; }; then
14969 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14970 enable_sjlj_exceptions=yes
14971 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=no
14973 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14977 CXXFLAGS="$old_CXXFLAGS"
14981 # This is a tad weird, for hysterical raisins. We have to map
14982 # enable/disable to two different models.
14983 case $enable_sjlj_exceptions in
14986 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14988 ac_exception_model_name=sjlj
14991 ac_exception_model_name="call frame"
14994 as_fn_error "unable to detect exception model" "$LINENO" 5
14998 ac_cpp='$CPP $CPPFLAGS'
14999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15004 $as_echo "$ac_exception_model_name" >&6; }
15007 # Check whether --enable-libstdcxx-pch was given.
15008 if test "${enable_libstdcxx_pch+set}" = set; then :
15009 enableval=$enable_libstdcxx_pch;
15010 case "$enableval" in
15012 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15016 enable_libstdcxx_pch=$is_hosted
15020 if test $enable_libstdcxx_pch = yes; then
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15022 $as_echo_n "checking for compiler with PCH support... " >&6; }
15023 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15024 $as_echo_n "(cached) " >&6
15026 ac_save_CXXFLAGS="$CXXFLAGS"
15027 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15030 ac_cpp='$CXXCPP $CPPFLAGS'
15031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15035 echo '#include <math.h>' > conftest.h
15036 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15037 -o conftest.h.gch 1>&5 2>&1 &&
15038 echo '#error "pch failed"' > conftest.h &&
15039 echo '#include "conftest.h"' > conftest.cc &&
15040 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15042 glibcxx_cv_prog_CXX_pch=yes
15044 glibcxx_cv_prog_CXX_pch=no
15047 CXXFLAGS=$ac_save_CXXFLAGS
15049 ac_cpp='$CPP $CPPFLAGS'
15050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15057 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15058 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15062 $as_echo_n "checking for enabled PCH... " >&6; }
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15064 $as_echo "$enable_libstdcxx_pch" >&6; }
15067 if test $enable_libstdcxx_pch = yes; then
15068 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15070 glibcxx_PCHFLAGS=""
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15076 $as_echo_n "checking for thread model used by GCC... " >&6; }
15077 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15079 $as_echo "$target_thread_file" >&6; }
15084 ac_cpp='$CXXCPP $CPPFLAGS'
15085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15089 old_CXXFLAGS="$CXXFLAGS"
15091 # Do link tests if possible, instead asm tests, limited to some platforms
15092 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15093 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15094 atomic_builtins_link_tests=no
15095 if test x$gcc_no_link != xyes; then
15096 # Can do link tests. Limit to some tested platforms
15098 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15099 atomic_builtins_link_tests=yes
15104 if test x$atomic_builtins_link_tests = xyes; then
15108 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15111 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15112 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15116 if test x$gcc_no_link = xyes; then
15117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15125 typedef bool atomic_type;
15128 const atomic_type c3(0);
15129 __sync_fetch_and_add(&c1, c2);
15130 __sync_val_compare_and_swap(&c1, c3, c2);
15131 __sync_lock_test_and_set(&c1, c3);
15132 __sync_lock_release(&c1);
15133 __sync_synchronize();
15138 if ac_fn_cxx_try_link "$LINENO"; then :
15139 glibcxx_cv_atomic_bool=yes
15141 glibcxx_cv_atomic_bool=no
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15149 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15152 $as_echo_n "checking for atomic builtins for short... " >&6; }
15153 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15154 $as_echo_n "(cached) " >&6
15157 if test x$gcc_no_link = xyes; then
15158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15166 typedef short atomic_type;
15169 const atomic_type c3(0);
15170 __sync_fetch_and_add(&c1, c2);
15171 __sync_val_compare_and_swap(&c1, c3, c2);
15172 __sync_lock_test_and_set(&c1, c3);
15173 __sync_lock_release(&c1);
15174 __sync_synchronize();
15179 if ac_fn_cxx_try_link "$LINENO"; then :
15180 glibcxx_cv_atomic_short=yes
15182 glibcxx_cv_atomic_short=no
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15190 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15193 $as_echo_n "checking for atomic builtins for int... " >&6; }
15194 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15195 $as_echo_n "(cached) " >&6
15198 if test x$gcc_no_link = xyes; then
15199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15207 typedef int atomic_type;
15210 const atomic_type c3(0);
15211 __sync_fetch_and_add(&c1, c2);
15212 __sync_val_compare_and_swap(&c1, c3, c2);
15213 __sync_lock_test_and_set(&c1, c3);
15214 __sync_lock_release(&c1);
15215 __sync_synchronize();
15220 if ac_fn_cxx_try_link "$LINENO"; then :
15221 glibcxx_cv_atomic_int=yes
15223 glibcxx_cv_atomic_int=no
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext conftest.$ac_ext
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15231 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15234 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15235 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15236 $as_echo_n "(cached) " >&6
15239 if test x$gcc_no_link = xyes; then
15240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15248 typedef long long atomic_type;
15251 const atomic_type c3(0);
15252 __sync_fetch_and_add(&c1, c2);
15253 __sync_val_compare_and_swap(&c1, c3, c2);
15254 __sync_lock_test_and_set(&c1, c3);
15255 __sync_lock_release(&c1);
15256 __sync_synchronize();
15261 if ac_fn_cxx_try_link "$LINENO"; then :
15262 glibcxx_cv_atomic_long_long=yes
15264 glibcxx_cv_atomic_long_long=no
15266 rm -f core conftest.err conftest.$ac_objext \
15267 conftest$ac_exeext conftest.$ac_ext
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15272 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15278 # Compile unoptimized.
15281 # Fake what AC_TRY_COMPILE does.
15283 cat > conftest.$ac_ext << EOF
15284 #line 15284 "configure"
15287 typedef bool atomic_type;
15290 const atomic_type c3(0);
15291 __sync_fetch_and_add(&c1, c2);
15292 __sync_val_compare_and_swap(&c1, c3, c2);
15293 __sync_lock_test_and_set(&c1, c3);
15294 __sync_lock_release(&c1);
15295 __sync_synchronize();
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15301 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15303 (eval $ac_compile) 2>&5
15305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15306 test $ac_status = 0; }; then
15307 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15308 glibcxx_cv_atomic_bool=no
15310 glibcxx_cv_atomic_bool=yes
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15314 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15317 cat > conftest.$ac_ext << EOF
15318 #line 15318 "configure"
15321 typedef short atomic_type;
15324 const atomic_type c3(0);
15325 __sync_fetch_and_add(&c1, c2);
15326 __sync_val_compare_and_swap(&c1, c3, c2);
15327 __sync_lock_test_and_set(&c1, c3);
15328 __sync_lock_release(&c1);
15329 __sync_synchronize();
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15335 $as_echo_n "checking for atomic builtins for short... " >&6; }
15336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15337 (eval $ac_compile) 2>&5
15339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15340 test $ac_status = 0; }; then
15341 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15342 glibcxx_cv_atomic_short=no
15344 glibcxx_cv_atomic_short=yes
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15348 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15351 cat > conftest.$ac_ext << EOF
15352 #line 15352 "configure"
15355 // NB: _Atomic_word not necessarily int.
15356 typedef int atomic_type;
15359 const atomic_type c3(0);
15360 __sync_fetch_and_add(&c1, c2);
15361 __sync_val_compare_and_swap(&c1, c3, c2);
15362 __sync_lock_test_and_set(&c1, c3);
15363 __sync_lock_release(&c1);
15364 __sync_synchronize();
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15370 $as_echo_n "checking for atomic builtins for int... " >&6; }
15371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15372 (eval $ac_compile) 2>&5
15374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15375 test $ac_status = 0; }; then
15376 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15377 glibcxx_cv_atomic_int=no
15379 glibcxx_cv_atomic_int=yes
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15383 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15386 cat > conftest.$ac_ext << EOF
15387 #line 15387 "configure"
15390 typedef long long atomic_type;
15393 const atomic_type c3(0);
15394 __sync_fetch_and_add(&c1, c2);
15395 __sync_val_compare_and_swap(&c1, c3, c2);
15396 __sync_lock_test_and_set(&c1, c3);
15397 __sync_lock_release(&c1);
15398 __sync_synchronize();
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15404 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_long_long=no
15413 glibcxx_cv_atomic_long_long=yes
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15417 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15422 CXXFLAGS="$old_CXXFLAGS"
15424 ac_cpp='$CPP $CPPFLAGS'
15425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15430 # Set atomicity_dir to builtins if either of above tests pass.
15431 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15433 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15435 atomicity_dir=cpu/generic/atomicity_builtins
15438 # If still generic, set to mutex.
15439 if test $atomicity_dir = "cpu/generic" ; then
15440 atomicity_dir=cpu/generic/atomicity_mutex
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15442 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15443 if test "x$target_thread_file" = xsingle; then
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15445 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15447 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15450 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15452 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15459 # Fake what AC_TRY_COMPILE does, without linking as this is
15460 # unnecessary for this test.
15462 cat > conftest.$ac_ext << EOF
15463 #line 15463 "configure"
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15474 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15476 (eval $ac_compile) 2>&5
15478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15479 test $ac_status = 0; }; then
15481 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15488 $as_echo "$enable_dfp" >&6; }
15495 ac_cpp='$CXXCPP $CPPFLAGS'
15496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15501 # Fake what AC_TRY_COMPILE does, without linking as this is
15502 # unnecessary for this test.
15504 cat > conftest.$ac_ext << EOF
15505 #line 15505 "configure"
15506 template<typename T1, typename T2>
15508 { typedef T2 type; };
15510 template<typename T>
15515 typename same<long, __int128>::type i1;
15516 typename same<long long, __int128>::type i2;
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15521 $as_echo_n "checking for __int128... " >&6; }
15522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15523 (eval $ac_compile) 2>&5
15525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15526 test $ac_status = 0; }; then
15528 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15535 $as_echo "$enable_int128" >&6; }
15538 cat > conftest.$ac_ext << EOF
15539 #line 15539 "configure"
15540 template<typename T1, typename T2>
15542 { typedef T2 type; };
15544 template<typename T>
15549 typename same<double, __float128>::type f1;
15550 typename same<long double, __float128>::type f2;
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15555 $as_echo_n "checking for __float128... " >&6; }
15556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15557 (eval $ac_compile) 2>&5
15559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15560 test $ac_status = 0; }; then
15562 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15564 enable_float128=yes
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15569 $as_echo "$enable_float128" >&6; }
15573 ac_cpp='$CPP $CPPFLAGS'
15574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15580 # Checks for compiler support that doesn't require linking.
15582 # All these tests are for C++; save the language and the compiler flags.
15583 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15584 # found in GLIBCXX_CONFIGURE.
15587 ac_cpp='$CXXCPP $CPPFLAGS'
15588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15593 ac_save_CXXFLAGS="$CXXFLAGS"
15595 # Check for maintainer-mode bits.
15596 if test x"$USE_MAINTAINER_MODE" = xno; then
15602 # Check for -ffunction-sections -fdata-sections
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15604 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15605 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 int foo; void bar() { };
15617 if ac_fn_cxx_try_compile "$LINENO"; then :
15622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15623 if test "$ac_test_CXXFLAGS" = set; then
15624 CXXFLAGS="$ac_save_CXXFLAGS"
15626 # this is the suspicious part
15629 if test x"$ac_fdsections" = x"yes"; then
15630 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15633 $as_echo "$ac_fdsections" >&6; }
15636 ac_cpp='$CPP $CPPFLAGS'
15637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15645 # Enable all the variable C++ runtime options that don't require linking.
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15648 $as_echo_n "checking for underlying I/O to use... " >&6; }
15649 # Check whether --enable-cstdio was given.
15650 if test "${enable_cstdio+set}" = set; then :
15651 enableval=$enable_cstdio;
15652 case "$enableval" in
15654 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15658 enable_cstdio=stdio
15663 # Now that libio has been removed, you can have any color you want as long
15664 # as it's black. This is one big no-op until other packages are added, but
15665 # showing the framework never hurts.
15666 case ${enable_cstdio} in
15668 CSTDIO_H=config/io/c_io_stdio.h
15669 BASIC_FILE_H=config/io/basic_file_stdio.h
15670 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15672 $as_echo "stdio" >&6; }
15681 # Check whether --enable-clocale was given.
15682 if test "${enable_clocale+set}" = set; then :
15683 enableval=$enable_clocale;
15684 case "$enableval" in
15685 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15686 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15690 enable_clocale=auto
15695 # Deal with gettext issues. Default to not using it (=no) until we detect
15696 # support for it later. Let the user turn it off via --e/d, but let that
15697 # default to on for easier handling.
15699 # Check whether --enable-nls was given.
15700 if test "${enable_nls+set}" = set; then :
15701 enableval=$enable_nls;
15707 # Either a known package, or "auto"
15708 if test $enable_clocale = no || test $enable_clocale = yes; then
15709 enable_clocale=auto
15711 enable_clocale_flag=$enable_clocale
15713 # Probe for locale model to use if none specified.
15714 # Default to "generic".
15715 if test $enable_clocale_flag = auto; then
15716 case ${target_os} in
15717 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15718 enable_clocale_flag=gnu
15720 darwin* | freebsd*)
15721 enable_clocale_flag=darwin
15724 if test x"$with_newlib" = x"yes"; then
15725 enable_clocale_flag=newlib
15727 enable_clocale_flag=generic
15733 # Sanity check model, and test for special functionality.
15734 if test $enable_clocale_flag = gnu; then
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15738 #include <features.h>
15739 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15745 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15746 enable_clocale_flag=gnu
15748 enable_clocale_flag=generic
15753 # Set it to scream when it hurts.
15754 ac_save_CFLAGS="$CFLAGS"
15755 CFLAGS="-Wimplicit-function-declaration -Werror"
15757 # Use strxfrm_l if available.
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15760 #define _GNU_SOURCE 1
15761 #include <string.h>
15762 #include <locale.h>
15766 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15771 if ac_fn_c_try_compile "$LINENO"; then :
15773 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778 # Use strerror_l if available.
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15781 #define _GNU_SOURCE 1
15782 #include <string.h>
15783 #include <locale.h>
15787 __locale_t loc; strerror_l(5, loc);
15792 if ac_fn_c_try_compile "$LINENO"; then :
15794 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15799 CFLAGS="$ac_save_CFLAGS"
15802 # Perhaps use strerror_r if available, and strerror_l isn't.
15803 ac_save_CFLAGS="$CFLAGS"
15804 CFLAGS="-Wimplicit-function-declaration -Werror"
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #define _GNU_SOURCE 1
15808 #include <string.h>
15809 #include <locale.h>
15813 char s[128]; strerror_r(5, s, 128);
15818 if ac_fn_c_try_compile "$LINENO"; then :
15820 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15824 CFLAGS="$ac_save_CFLAGS"
15826 # Set configure bits for specified locale package
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15828 $as_echo_n "checking for C locale to use... " >&6; }
15829 case ${enable_clocale_flag} in
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15832 $as_echo "generic" >&6; }
15834 CLOCALE_H=config/locale/generic/c_locale.h
15835 CLOCALE_CC=config/locale/generic/c_locale.cc
15836 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15837 CCOLLATE_CC=config/locale/generic/collate_members.cc
15838 CCTYPE_CC=config/locale/generic/ctype_members.cc
15839 CMESSAGES_H=config/locale/generic/messages_members.h
15840 CMESSAGES_CC=config/locale/generic/messages_members.cc
15841 CMONEY_CC=config/locale/generic/monetary_members.cc
15842 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15843 CTIME_H=config/locale/generic/time_members.h
15844 CTIME_CC=config/locale/generic/time_members.cc
15845 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15849 $as_echo "darwin or freebsd" >&6; }
15851 CLOCALE_H=config/locale/generic/c_locale.h
15852 CLOCALE_CC=config/locale/generic/c_locale.cc
15853 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15854 CCOLLATE_CC=config/locale/generic/collate_members.cc
15855 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15856 CMESSAGES_H=config/locale/generic/messages_members.h
15857 CMESSAGES_CC=config/locale/generic/messages_members.cc
15858 CMONEY_CC=config/locale/generic/monetary_members.cc
15859 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15860 CTIME_H=config/locale/generic/time_members.h
15861 CTIME_CC=config/locale/generic/time_members.cc
15862 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15867 $as_echo "gnu" >&6; }
15869 # Declare intention to use gettext, and add support for specific
15871 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15872 ALL_LINGUAS="de fr"
15874 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15875 # Extract the first word of "msgfmt", so it can be a program name with args.
15876 set dummy msgfmt; ac_word=$2
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15878 $as_echo_n "checking for $ac_word... " >&6; }
15879 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15880 $as_echo_n "(cached) " >&6
15882 if test -n "$check_msgfmt"; then
15883 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15886 for as_dir in $PATH
15889 test -z "$as_dir" && as_dir=.
15890 for ac_exec_ext in '' $ac_executable_extensions; do
15891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15892 ac_cv_prog_check_msgfmt="yes"
15893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15900 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15903 check_msgfmt=$ac_cv_prog_check_msgfmt
15904 if test -n "$check_msgfmt"; then
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15906 $as_echo "$check_msgfmt" >&6; }
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15909 $as_echo "no" >&6; }
15913 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15916 # Export the build objects.
15917 for ling in $ALL_LINGUAS; do \
15918 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15919 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15924 CLOCALE_H=config/locale/gnu/c_locale.h
15925 CLOCALE_CC=config/locale/gnu/c_locale.cc
15926 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15927 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15928 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15929 CMESSAGES_H=config/locale/gnu/messages_members.h
15930 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15931 CMONEY_CC=config/locale/gnu/monetary_members.cc
15932 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15933 CTIME_H=config/locale/gnu/time_members.h
15934 CTIME_CC=config/locale/gnu/time_members.cc
15935 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15939 $as_echo "IEEE 1003.1" >&6; }
15941 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15942 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15943 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15944 CCOLLATE_CC=config/locale/generic/collate_members.cc
15945 CCTYPE_CC=config/locale/generic/ctype_members.cc
15946 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15947 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15948 CMONEY_CC=config/locale/generic/monetary_members.cc
15949 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15950 CTIME_H=config/locale/generic/time_members.h
15951 CTIME_CC=config/locale/generic/time_members.cc
15952 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15956 $as_echo "newlib" >&6; }
15958 CLOCALE_H=config/locale/generic/c_locale.h
15959 CLOCALE_CC=config/locale/generic/c_locale.cc
15960 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15961 CCOLLATE_CC=config/locale/generic/collate_members.cc
15962 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15963 CMESSAGES_H=config/locale/generic/messages_members.h
15964 CMESSAGES_CC=config/locale/generic/messages_members.cc
15965 CMONEY_CC=config/locale/generic/monetary_members.cc
15966 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15967 CTIME_H=config/locale/generic/time_members.h
15968 CTIME_CC=config/locale/generic/time_members.cc
15969 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15973 # This is where the testsuite looks for locale catalogs, using the
15974 # -DLOCALEDIR define during testsuite compilation.
15975 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15978 # A standalone libintl (e.g., GNU libintl) may be in use.
15979 if test $USE_NLS = yes; then
15980 for ac_header in libintl.h
15982 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15983 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_LIBINTL_H 1
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15995 $as_echo_n "checking for library containing gettext... " >&6; }
15996 if test "${ac_cv_search_gettext+set}" = set; then :
15997 $as_echo_n "(cached) " >&6
15999 ac_func_search_save_LIBS=$LIBS
16000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h. */
16003 /* Override any GCC internal prototype to avoid an error.
16004 Use char because int might match the return type of a GCC
16005 builtin and then its argument prototype would still apply. */
16018 for ac_lib in '' intl; do
16019 if test -z "$ac_lib"; then
16020 ac_res="none required"
16023 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16025 if test x$gcc_no_link = xyes; then
16026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 ac_cv_search_gettext=$ac_res
16031 rm -f core conftest.err conftest.$ac_objext \
16033 if test "${ac_cv_search_gettext+set}" = set; then :
16037 if test "${ac_cv_search_gettext+set}" = set; then :
16040 ac_cv_search_gettext=no
16042 rm conftest.$ac_ext
16043 LIBS=$ac_func_search_save_LIBS
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16046 $as_echo "$ac_cv_search_gettext" >&6; }
16047 ac_res=$ac_cv_search_gettext
16048 if test "$ac_res" != no; then :
16049 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16056 if test $USE_NLS = yes; then
16058 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16078 $as_echo_n "checking for std::allocator base class... " >&6; }
16079 # Check whether --enable-libstdcxx-allocator was given.
16080 if test "${enable_libstdcxx_allocator+set}" = set; then :
16081 enableval=$enable_libstdcxx_allocator;
16082 case "$enableval" in
16083 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16084 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16088 enable_libstdcxx_allocator=auto
16093 # If they didn't use this option switch, or if they specified --enable
16094 # with no specific model, we'll have to look for one. If they
16095 # specified --disable (???), do likewise.
16096 if test $enable_libstdcxx_allocator = no ||
16097 test $enable_libstdcxx_allocator = yes;
16099 enable_libstdcxx_allocator=auto
16102 # Either a known package, or "auto". Auto implies the default choice
16103 # for a particular platform.
16104 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16106 # Probe for host-specific support if no specific model is specified.
16107 # Default to "new".
16108 if test $enable_libstdcxx_allocator_flag = auto; then
16109 case ${target_os} in
16110 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16111 enable_libstdcxx_allocator_flag=new
16114 enable_libstdcxx_allocator_flag=new
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16119 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16122 # Set configure bits for specified locale package
16123 case ${enable_libstdcxx_allocator_flag} in
16125 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16126 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16129 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16130 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16133 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16134 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16137 ALLOCATOR_H=config/allocator/new_allocator_base.h
16138 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16141 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16142 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16150 # Check whether --enable-cheaders was given.
16151 if test "${enable_cheaders+set}" = set; then :
16152 enableval=$enable_cheaders;
16153 case "$enableval" in
16154 c|c_std|c_global) ;;
16155 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16159 enable_cheaders=$c_model
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16164 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16166 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16168 # Allow overrides to configure.host here.
16169 if test $enable_cheaders = c_global; then
16170 c_compatibility=yes
16179 # Check whether --enable-long-long was given.
16180 if test "${enable_long_long+set}" = set; then :
16181 enableval=$enable_long_long;
16182 case "$enableval" in
16184 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16188 enable_long_long=yes
16192 if test $enable_long_long = yes; then
16194 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16198 $as_echo_n "checking for enabled long long specializations... " >&6; }
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16200 $as_echo "$enable_long_long" >&6; }
16203 # Check whether --enable-wchar_t was given.
16204 if test "${enable_wchar_t+set}" = set; then :
16205 enableval=$enable_wchar_t;
16206 case "$enableval" in
16208 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16217 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16218 for ac_header in wchar.h
16220 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16221 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_WCHAR_H 1
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16233 $as_echo_n "checking for mbstate_t... " >&6; }
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16240 mbstate_t teststate;
16245 if ac_fn_c_try_compile "$LINENO"; then :
16250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16252 $as_echo "$have_mbstate_t" >&6; }
16253 if test x"$have_mbstate_t" = xyes; then
16255 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16259 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16261 for ac_header in wctype.h
16263 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16264 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16265 cat >>confdefs.h <<_ACEOF
16266 #define HAVE_WCTYPE_H 1
16268 ac_has_wctype_h=yes
16276 if test x"$enable_wchar_t" = x"yes"; then
16280 ac_cpp='$CXXCPP $CPPFLAGS'
16281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16286 if test x"$ac_has_wchar_h" = xyes &&
16287 test x"$ac_has_wctype_h" = xyes; then
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16291 #include <stddef.h>
16294 long j = WCHAR_MIN;
16295 long k = WCHAR_MAX;
16360 if ac_fn_cxx_try_compile "$LINENO"; then :
16365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16378 if test x"$enable_wchar_t" = x"yes"; then
16380 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16385 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16387 $as_echo "$enable_wchar_t" >&6; }
16391 # Check whether --enable-c99 was given.
16392 if test "${enable_c99+set}" = set; then :
16393 enableval=$enable_c99;
16394 case "$enableval" in
16396 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16405 if test x"$enable_c99" = x"yes"; then
16409 ac_cpp='$CXXCPP $CPPFLAGS'
16410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16415 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16416 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16417 # spuriously enabled.
16418 # Long term, -std=c++0x could be even better, could manage to explicitely
16419 # request C99 facilities to the underlying C headers.
16420 ac_save_CXXFLAGS="$CXXFLAGS"
16421 CXXFLAGS="$CXXFLAGS -std=c++98"
16422 ac_save_LIBS="$LIBS"
16423 ac_save_gcc_no_link="$gcc_no_link"
16425 if test x$gcc_no_link != xyes; then
16426 # Use -fno-exceptions to that the C driver can link these tests without
16427 # hitting undefined references to personality routines.
16428 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16430 $as_echo_n "checking for sin in -lm... " >&6; }
16431 if test "${ac_cv_lib_m_sin+set}" = set; then :
16432 $as_echo_n "(cached) " >&6
16434 ac_check_lib_save_LIBS=$LIBS
16436 if test x$gcc_no_link = xyes; then
16437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16442 /* Override any GCC internal prototype to avoid an error.
16443 Use char because int might match the return type of a GCC
16444 builtin and then its argument prototype would still apply. */
16457 if ac_fn_cxx_try_link "$LINENO"; then :
16458 ac_cv_lib_m_sin=yes
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16464 LIBS=$ac_check_lib_save_LIBS
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16467 $as_echo "$ac_cv_lib_m_sin" >&6; }
16468 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16474 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16481 # Check for the existence of <math.h> functions used if C99 is enabled.
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16483 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16484 if test "${glibcxx_cv_c99_math+set}" = set; then :
16485 $as_echo_n "(cached) " >&6
16488 if test x$gcc_no_link = xyes; then
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16492 volatile double d1, d2;
16497 i = fpclassify(d1);
16503 i = isgreater(d1, d2);
16504 i = isgreaterequal(d1, d2);
16505 i = isless(d1, d2);
16506 i = islessequal(d1, d2);
16507 i = islessgreater(d1, d2);
16508 i = islessgreater(d1, d2);
16509 i = isunordered(d1, d2);
16515 if ac_fn_cxx_try_compile "$LINENO"; then :
16516 glibcxx_cv_c99_math=yes
16518 glibcxx_cv_c99_math=no
16520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16522 if test x$gcc_no_link = xyes; then
16523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16528 volatile double d1, d2;
16533 i = fpclassify(d1);
16539 i = isgreater(d1, d2);
16540 i = isgreaterequal(d1, d2);
16541 i = isless(d1, d2);
16542 i = islessequal(d1, d2);
16543 i = islessgreater(d1, d2);
16544 i = islessgreater(d1, d2);
16545 i = isunordered(d1, d2);
16551 if ac_fn_cxx_try_link "$LINENO"; then :
16552 glibcxx_cv_c99_math=yes
16554 glibcxx_cv_c99_math=no
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16563 $as_echo "$glibcxx_cv_c99_math" >&6; }
16564 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16566 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16570 # Check for the existence of <complex.h> complex math functions.
16571 # This is necessary even though libstdc++ uses the builtin versions
16572 # of these functions, because if the builtin cannot be used, a reference
16573 # to the library function is emitted.
16574 for ac_header in tgmath.h
16576 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16577 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_TGMATH_H 1
16581 ac_has_tgmath_h=yes
16588 for ac_header in complex.h
16590 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16591 if test "x$ac_cv_header_complex_h" = x""yes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_COMPLEX_H 1
16595 ac_has_complex_h=yes
16597 ac_has_complex_h=no
16602 glibcxx_cv_c99_complex=no;
16603 if test x"$ac_has_complex_h" = x"yes"; then
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16605 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16606 if test x$gcc_no_link = xyes; then
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16609 #include <complex.h>
16610 typedef __complex__ float float_type;
16611 typedef __complex__ double double_type;
16612 typedef __complex__ long double ld_type;
16613 volatile float_type tmpf;
16614 volatile double_type tmpd;
16615 volatile ld_type tmpld;
16618 volatile long double ld;
16624 tmpf = ccosf(tmpf);
16625 tmpf = ccoshf(tmpf);
16626 tmpf = cexpf(tmpf);
16627 tmpf = clogf(tmpf);
16628 tmpf = csinf(tmpf);
16629 tmpf = csinhf(tmpf);
16630 tmpf = csqrtf(tmpf);
16631 tmpf = ctanf(tmpf);
16632 tmpf = ctanhf(tmpf);
16633 tmpf = cpowf(tmpf, tmpf);
16634 tmpf = cprojf(tmpf);
16638 tmpd = ccosh(tmpd);
16642 tmpd = csinh(tmpd);
16643 tmpd = csqrt(tmpd);
16645 tmpd = ctanh(tmpd);
16646 tmpd = cpow(tmpd, tmpd);
16647 tmpd = cproj(tmpd);
16650 tmpld = ccosl(tmpld);
16651 tmpld = ccoshl(tmpld);
16652 tmpld = cexpl(tmpld);
16653 tmpld = clogl(tmpld);
16654 tmpld = csinl(tmpld);
16655 tmpld = csinhl(tmpld);
16656 tmpld = csqrtl(tmpld);
16657 tmpld = ctanl(tmpld);
16658 tmpld = ctanhl(tmpld);
16659 tmpld = cpowl(tmpld, tmpld);
16660 tmpld = cprojl(tmpld);
16666 if ac_fn_cxx_try_compile "$LINENO"; then :
16667 glibcxx_cv_c99_complex=yes
16669 glibcxx_cv_c99_complex=no
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16673 if test x$gcc_no_link = xyes; then
16674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #include <complex.h>
16679 typedef __complex__ float float_type;
16680 typedef __complex__ double double_type;
16681 typedef __complex__ long double ld_type;
16682 volatile float_type tmpf;
16683 volatile double_type tmpd;
16684 volatile ld_type tmpld;
16687 volatile long double ld;
16693 tmpf = ccosf(tmpf);
16694 tmpf = ccoshf(tmpf);
16695 tmpf = cexpf(tmpf);
16696 tmpf = clogf(tmpf);
16697 tmpf = csinf(tmpf);
16698 tmpf = csinhf(tmpf);
16699 tmpf = csqrtf(tmpf);
16700 tmpf = ctanf(tmpf);
16701 tmpf = ctanhf(tmpf);
16702 tmpf = cpowf(tmpf, tmpf);
16703 tmpf = cprojf(tmpf);
16707 tmpd = ccosh(tmpd);
16711 tmpd = csinh(tmpd);
16712 tmpd = csqrt(tmpd);
16714 tmpd = ctanh(tmpd);
16715 tmpd = cpow(tmpd, tmpd);
16716 tmpd = cproj(tmpd);
16719 tmpld = ccosl(tmpld);
16720 tmpld = ccoshl(tmpld);
16721 tmpld = cexpl(tmpld);
16722 tmpld = clogl(tmpld);
16723 tmpld = csinl(tmpld);
16724 tmpld = csinhl(tmpld);
16725 tmpld = csqrtl(tmpld);
16726 tmpld = ctanl(tmpld);
16727 tmpld = ctanhl(tmpld);
16728 tmpld = cpowl(tmpld, tmpld);
16729 tmpld = cprojl(tmpld);
16735 if ac_fn_cxx_try_link "$LINENO"; then :
16736 glibcxx_cv_c99_complex=yes
16738 glibcxx_cv_c99_complex=no
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16745 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16746 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16748 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16752 # Check for the existence in <stdio.h> of vscanf, et. al.
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16754 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16755 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16756 $as_echo_n "(cached) " >&6
16759 if test x$gcc_no_link = xyes; then
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16763 #include <stdarg.h>
16764 void foo(char* fmt, ...)
16766 va_list args; va_start(args, fmt);
16767 vfscanf(stderr, "%i", args);
16768 vscanf("%i", args);
16769 vsnprintf(fmt, 0, "%i", args);
16770 vsscanf(fmt, "%i", args);
16775 snprintf("12", 0, "%i");
16780 if ac_fn_cxx_try_compile "$LINENO"; then :
16781 glibcxx_cv_c99_stdio=yes
16783 glibcxx_cv_c99_stdio=no
16785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16787 if test x$gcc_no_link = xyes; then
16788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16793 #include <stdarg.h>
16794 void foo(char* fmt, ...)
16796 va_list args; va_start(args, fmt);
16797 vfscanf(stderr, "%i", args);
16798 vscanf("%i", args);
16799 vsnprintf(fmt, 0, "%i", args);
16800 vsscanf(fmt, "%i", args);
16805 snprintf("12", 0, "%i");
16810 if ac_fn_cxx_try_link "$LINENO"; then :
16811 glibcxx_cv_c99_stdio=yes
16813 glibcxx_cv_c99_stdio=no
16815 rm -f core conftest.err conftest.$ac_objext \
16816 conftest$ac_exeext conftest.$ac_ext
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16822 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16824 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16826 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16827 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16828 $as_echo_n "(cached) " >&6
16831 if test x$gcc_no_link = xyes; then
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 #include <stdlib.h>
16836 volatile long double ld;
16837 volatile unsigned long long ll;
16843 f = strtof("gnu", &tmp);
16844 ld = strtold("gnu", &tmp);
16845 ll = strtoll("gnu", &tmp, 10);
16846 ll = strtoull("gnu", &tmp, 10);
16848 mydivt = lldiv(10,1);
16858 if ac_fn_cxx_try_compile "$LINENO"; then :
16859 glibcxx_cv_c99_stdlib=yes
16861 glibcxx_cv_c99_stdlib=no
16863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16865 if test x$gcc_no_link = xyes; then
16866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #include <stdlib.h>
16872 volatile long double ld;
16873 volatile unsigned long long ll;
16879 f = strtof("gnu", &tmp);
16880 ld = strtold("gnu", &tmp);
16881 ll = strtoll("gnu", &tmp, 10);
16882 ll = strtoull("gnu", &tmp, 10);
16884 mydivt = lldiv(10,1);
16894 if ac_fn_cxx_try_link "$LINENO"; then :
16895 glibcxx_cv_c99_stdlib=yes
16897 glibcxx_cv_c99_stdlib=no
16899 rm -f core conftest.err conftest.$ac_objext \
16900 conftest$ac_exeext conftest.$ac_ext
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16906 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16908 # Check for the existence in <wchar.h> of wcstold, etc.
16909 glibcxx_cv_c99_wchar=no;
16910 if test x"$ac_has_wchar_h" = xyes &&
16911 test x"$ac_has_wctype_h" = xyes; then
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16913 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16932 if ac_fn_cxx_try_compile "$LINENO"; then :
16933 glibcxx_cv_c99_wchar=yes
16935 glibcxx_cv_c99_wchar=no
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 # Checks for wide character functions that may not be present.
16940 # Injection of these is wrapped with guard macros.
16941 # NB: only put functions here, instead of immediately above, if
16942 # absolutely necessary.
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16946 namespace test { using ::vfwscanf; }
16955 if ac_fn_cxx_try_compile "$LINENO"; then :
16957 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16965 namespace test { using ::vswscanf; }
16974 if ac_fn_cxx_try_compile "$LINENO"; then :
16976 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16984 namespace test { using ::vwscanf; }
16993 if ac_fn_cxx_try_compile "$LINENO"; then :
16995 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17003 namespace test { using ::wcstof; }
17012 if ac_fn_cxx_try_compile "$LINENO"; then :
17014 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 #include <wctype.h>
17025 wint_t t; int i = iswblank(t);
17030 if ac_fn_cxx_try_compile "$LINENO"; then :
17032 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17038 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17041 # Option parsed, now set things appropriately.
17042 if test x"$glibcxx_cv_c99_math" = x"no" ||
17043 test x"$glibcxx_cv_c99_complex" = x"no" ||
17044 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17045 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17046 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17050 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17054 gcc_no_link="$ac_save_gcc_no_link"
17055 LIBS="$ac_save_LIBS"
17056 CXXFLAGS="$ac_save_CXXFLAGS"
17058 ac_cpp='$CPP $CPPFLAGS'
17059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17066 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17068 $as_echo "$enable_c99" >&6; }
17071 # Check whether --enable-concept-checks was given.
17072 if test "${enable_concept_checks+set}" = set; then :
17073 enableval=$enable_concept_checks;
17074 case "$enableval" in
17076 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17080 enable_concept_checks=no
17084 if test $enable_concept_checks = yes; then
17086 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17091 # Check whether --enable-libstdcxx-debug-flags was given.
17092 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17093 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17094 xno | x) enable_libstdcxx_debug_flags= ;;
17096 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17099 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17104 # Option parsed, now set things appropriately
17105 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17109 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17113 $as_echo_n "checking for additional debug build... " >&6; }
17114 # Check whether --enable-libstdcxx-debug was given.
17115 if test "${enable_libstdcxx_debug+set}" = set; then :
17116 enableval=$enable_libstdcxx_debug;
17117 case "$enableval" in
17119 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17123 enable_libstdcxx_debug=no
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17128 $as_echo "$enable_libstdcxx_debug" >&6; }
17133 enable_parallel=no;
17135 # See if configured libgomp/omp.h exists. (libgomp may be in
17136 # noconfigdirs but not explicitly disabled.)
17137 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17138 enable_parallel=yes;
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17141 $as_echo "$as_me: target-libgomp not built" >&6;}
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17145 $as_echo_n "checking for parallel mode support... " >&6; }
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17147 $as_echo "$enable_parallel" >&6; }
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17151 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17152 # Check whether --enable-cxx-flags was given.
17153 if test "${enable_cxx_flags+set}" = set; then :
17154 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17155 xno | x) enable_cxx_flags= ;;
17157 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17165 # Run through flags (either default or command-line) and set anything
17166 # extra (e.g., #defines) that must accompany particular g++ options.
17167 if test -n "$enable_cxx_flags"; then
17168 for f in $enable_cxx_flags; do
17172 *) # and we're trying to pass /what/ exactly?
17173 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17178 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17180 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17184 # Check whether --enable-fully-dynamic-string was given.
17185 if test "${enable_fully_dynamic_string+set}" = set; then :
17186 enableval=$enable_fully_dynamic_string;
17187 case "$enableval" in
17189 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17193 enable_fully_dynamic_string=no
17197 if test $enable_fully_dynamic_string = yes; then
17198 enable_fully_dynamic_string_def=1
17200 enable_fully_dynamic_string_def=0
17203 cat >>confdefs.h <<_ACEOF
17204 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17210 # Check whether --enable-extern-template was given.
17211 if test "${enable_extern_template+set}" = set; then :
17212 enableval=$enable_extern_template;
17213 case "$enableval" in
17215 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17219 enable_extern_template=yes
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17225 $as_echo_n "checking for extern template support... " >&6; }
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17227 $as_echo "$enable_extern_template" >&6; }
17232 # Checks for operating systems support that doesn't require linking.
17237 ac_cpp='$CXXCPP $CPPFLAGS'
17238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17245 # Solaris 8 FCS only had an overload for double std::abs(double) in
17246 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17247 # introduced the full set also found from Solaris 9 onwards.
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17249 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17250 if test "${glibcxx_cv_abs_float+set}" = set; then :
17251 $as_echo_n "(cached) " >&6
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17258 inline float abs(float __x)
17259 { return __builtin_fabsf(__x); }
17263 if ac_fn_cxx_try_compile "$LINENO"; then :
17264 glibcxx_cv_abs_float=no
17266 glibcxx_cv_abs_float=yes
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17273 # autoheader cannot handle indented templates.
17277 if test $glibcxx_cv_abs_float = yes; then
17278 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17281 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17285 $as_echo "$glibcxx_cv_abs_float" >&6; }
17290 ac_cpp='$CPP $CPPFLAGS'
17291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17300 ac_cpp='$CXXCPP $CPPFLAGS'
17301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17308 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17309 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17310 # (SPARC) and 109608-02 (x86) introduced them.
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17312 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17313 if test "${glibcxx_cv_abs_long+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #include <stdlib.h>
17322 abs(long __i) { return labs(__i); }
17326 if ac_fn_cxx_try_compile "$LINENO"; then :
17327 glibcxx_cv_abs_long=no
17329 glibcxx_cv_abs_long=yes
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 # autoheader cannot handle indented templates.
17338 if test $glibcxx_cv_abs_long = yes; then
17339 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17343 $as_echo "$glibcxx_cv_abs_long" >&6; }
17348 ac_cpp='$CPP $CPPFLAGS'
17349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17357 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17358 if test "${glibcxx_cv_system_error1+set}" = set; then :
17359 $as_echo_n "(cached) " >&6
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17368 int i = EOWNERDEAD;
17373 if ac_fn_c_try_compile "$LINENO"; then :
17374 glibcxx_cv_system_error1=yes
17376 glibcxx_cv_system_error1=no
17378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17383 $as_echo "$glibcxx_cv_system_error1" >&6; }
17384 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17386 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17390 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17391 if test "${glibcxx_cv_system_error2+set}" = set; then :
17392 $as_echo_n "(cached) " >&6
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17401 int i = ENOTRECOVERABLE;
17406 if ac_fn_c_try_compile "$LINENO"; then :
17407 glibcxx_cv_system_error2=yes
17409 glibcxx_cv_system_error2=no
17411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17416 $as_echo "$glibcxx_cv_system_error2" >&6; }
17417 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17419 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17423 $as_echo_n "checking for ENOLINK... " >&6; }
17424 if test "${glibcxx_cv_system_error3+set}" = set; then :
17425 $as_echo_n "(cached) " >&6
17428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17439 if ac_fn_c_try_compile "$LINENO"; then :
17440 glibcxx_cv_system_error3=yes
17442 glibcxx_cv_system_error3=no
17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17449 $as_echo "$glibcxx_cv_system_error3" >&6; }
17450 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17452 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17456 $as_echo_n "checking for EPROTO... " >&6; }
17457 if test "${glibcxx_cv_system_error4+set}" = set; then :
17458 $as_echo_n "(cached) " >&6
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17472 if ac_fn_c_try_compile "$LINENO"; then :
17473 glibcxx_cv_system_error4=yes
17475 glibcxx_cv_system_error4=no
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17482 $as_echo "$glibcxx_cv_system_error4" >&6; }
17483 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17485 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17489 $as_echo_n "checking for ENODATA... " >&6; }
17490 if test "${glibcxx_cv_system_error5+set}" = set; then :
17491 $as_echo_n "(cached) " >&6
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17505 if ac_fn_c_try_compile "$LINENO"; then :
17506 glibcxx_cv_system_error5=yes
17508 glibcxx_cv_system_error5=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17515 $as_echo "$glibcxx_cv_system_error5" >&6; }
17516 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17518 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17522 $as_echo_n "checking for ENOSR... " >&6; }
17523 if test "${glibcxx_cv_system_error6+set}" = set; then :
17524 $as_echo_n "(cached) " >&6
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17538 if ac_fn_c_try_compile "$LINENO"; then :
17539 glibcxx_cv_system_error6=yes
17541 glibcxx_cv_system_error6=no
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17548 $as_echo "$glibcxx_cv_system_error6" >&6; }
17549 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17551 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17555 $as_echo_n "checking for ENOSTR... " >&6; }
17556 if test "${glibcxx_cv_system_error7+set}" = set; then :
17557 $as_echo_n "(cached) " >&6
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572 glibcxx_cv_system_error7=yes
17574 glibcxx_cv_system_error7=no
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17581 $as_echo "$glibcxx_cv_system_error7" >&6; }
17582 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17584 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17588 $as_echo_n "checking for ETIME... " >&6; }
17589 if test "${glibcxx_cv_system_error8+set}" = set; then :
17590 $as_echo_n "(cached) " >&6
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17604 if ac_fn_c_try_compile "$LINENO"; then :
17605 glibcxx_cv_system_error8=yes
17607 glibcxx_cv_system_error8=no
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17614 $as_echo "$glibcxx_cv_system_error8" >&6; }
17615 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17617 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17621 $as_echo_n "checking for EBADMSG... " >&6; }
17622 if test "${glibcxx_cv_system_error9+set}" = set; then :
17623 $as_echo_n "(cached) " >&6
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17637 if ac_fn_c_try_compile "$LINENO"; then :
17638 glibcxx_cv_system_error9=yes
17640 glibcxx_cv_system_error9=no
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17647 $as_echo "$glibcxx_cv_system_error9" >&6; }
17648 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17650 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17654 $as_echo_n "checking for ECANCELED... " >&6; }
17655 if test "${glibcxx_cv_system_error10+set}" = set; then :
17656 $as_echo_n "(cached) " >&6
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17670 if ac_fn_c_try_compile "$LINENO"; then :
17671 glibcxx_cv_system_error10=yes
17673 glibcxx_cv_system_error10=no
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17680 $as_echo "$glibcxx_cv_system_error10" >&6; }
17681 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17683 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17687 $as_echo_n "checking for EOVERFLOW... " >&6; }
17688 if test "${glibcxx_cv_system_error11+set}" = set; then :
17689 $as_echo_n "(cached) " >&6
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17703 if ac_fn_c_try_compile "$LINENO"; then :
17704 glibcxx_cv_system_error11=yes
17706 glibcxx_cv_system_error11=no
17708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17713 $as_echo "$glibcxx_cv_system_error11" >&6; }
17714 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17716 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17720 $as_echo_n "checking for ENOTSUP... " >&6; }
17721 if test "${glibcxx_cv_system_error12+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17736 if ac_fn_c_try_compile "$LINENO"; then :
17737 glibcxx_cv_system_error12=yes
17739 glibcxx_cv_system_error12=no
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17746 $as_echo "$glibcxx_cv_system_error12" >&6; }
17747 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17749 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17753 $as_echo_n "checking for EIDRM... " >&6; }
17754 if test "${glibcxx_cv_system_error13+set}" = set; then :
17755 $as_echo_n "(cached) " >&6
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17769 if ac_fn_c_try_compile "$LINENO"; then :
17770 glibcxx_cv_system_error13=yes
17772 glibcxx_cv_system_error13=no
17774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17779 $as_echo "$glibcxx_cv_system_error13" >&6; }
17780 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17782 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17786 $as_echo_n "checking for ETXTBSY... " >&6; }
17787 if test "${glibcxx_cv_system_error14+set}" = set; then :
17788 $as_echo_n "(cached) " >&6
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17802 if ac_fn_c_try_compile "$LINENO"; then :
17803 glibcxx_cv_system_error14=yes
17805 glibcxx_cv_system_error14=no
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17812 $as_echo "$glibcxx_cv_system_error14" >&6; }
17813 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17815 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17819 $as_echo_n "checking for ECHILD... " >&6; }
17820 if test "${glibcxx_cv_system_error15+set}" = set; then :
17821 $as_echo_n "(cached) " >&6
17824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825 /* end confdefs.h. */
17835 if ac_fn_c_try_compile "$LINENO"; then :
17836 glibcxx_cv_system_error15=yes
17838 glibcxx_cv_system_error15=no
17840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17845 $as_echo "$glibcxx_cv_system_error15" >&6; }
17846 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17848 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17852 $as_echo_n "checking for ENOSPC... " >&6; }
17853 if test "${glibcxx_cv_system_error16+set}" = set; then :
17854 $as_echo_n "(cached) " >&6
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17868 if ac_fn_c_try_compile "$LINENO"; then :
17869 glibcxx_cv_system_error16=yes
17871 glibcxx_cv_system_error16=no
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17878 $as_echo "$glibcxx_cv_system_error16" >&6; }
17879 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17881 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17885 $as_echo_n "checking for EPERM... " >&6; }
17886 if test "${glibcxx_cv_system_error17+set}" = set; then :
17887 $as_echo_n "(cached) " >&6
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17901 if ac_fn_c_try_compile "$LINENO"; then :
17902 glibcxx_cv_system_error17=yes
17904 glibcxx_cv_system_error17=no
17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17911 $as_echo "$glibcxx_cv_system_error17" >&6; }
17912 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17914 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17918 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17919 if test "${glibcxx_cv_system_error18+set}" = set; then :
17920 $as_echo_n "(cached) " >&6
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17934 if ac_fn_c_try_compile "$LINENO"; then :
17935 glibcxx_cv_system_error18=yes
17937 glibcxx_cv_system_error18=no
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17944 $as_echo "$glibcxx_cv_system_error18" >&6; }
17945 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17947 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17951 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17952 if test "${glibcxx_cv_system_error19+set}" = set; then :
17953 $as_echo_n "(cached) " >&6
17956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17957 /* end confdefs.h. */
17962 int i = EWOULDBLOCK;
17967 if ac_fn_c_try_compile "$LINENO"; then :
17968 glibcxx_cv_system_error19=yes
17970 glibcxx_cv_system_error19=no
17972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17977 $as_echo "$glibcxx_cv_system_error19" >&6; }
17978 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17980 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17986 # For the streamoff typedef.
17991 ac_cpp='$CXXCPP $CPPFLAGS'
17992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17998 $as_echo_n "checking for int64_t... " >&6; }
17999 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18000 $as_echo_n "(cached) " >&6
18003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18004 /* end confdefs.h. */
18005 #include <stdint.h>
18014 if ac_fn_cxx_try_compile "$LINENO"; then :
18015 glibcxx_cv_INT64_T=yes
18017 glibcxx_cv_INT64_T=no
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18024 if test $glibcxx_cv_INT64_T = yes; then
18026 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18029 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18032 $as_echo_n "checking for int64_t as long... " >&6; }
18033 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18034 $as_echo_n "(cached) " >&6
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18039 #include <stdint.h>
18040 template<typename, typename> struct same { enum { value = -1 }; };
18041 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18042 int array[same<int64_t, long>::value];
18051 if ac_fn_cxx_try_compile "$LINENO"; then :
18052 glibcxx_cv_int64_t_long=yes
18054 glibcxx_cv_int64_t_long=no
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 if test $glibcxx_cv_int64_t_long = yes; then
18063 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18066 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18070 $as_echo_n "checking for int64_t as long long... " >&6; }
18071 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18072 $as_echo_n "(cached) " >&6
18075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18076 /* end confdefs.h. */
18077 #include <stdint.h>
18078 template<typename, typename> struct same { enum { value = -1 }; };
18079 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18080 int array[same<int64_t, long long>::value];
18089 if ac_fn_cxx_try_compile "$LINENO"; then :
18090 glibcxx_cv_int64_t_long_long=yes
18092 glibcxx_cv_int64_t_long_long=no
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099 if test $glibcxx_cv_int64_t_long_long = yes; then
18101 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18104 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18109 ac_cpp='$CPP $CPPFLAGS'
18110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120 ac_cpp='$CXXCPP $CPPFLAGS'
18121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18125 ac_save_CXXFLAGS="$CXXFLAGS"
18126 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18128 $as_echo_n "checking for LFS support... " >&6; }
18129 if test "${glibcxx_cv_LFS+set}" = set; then :
18130 $as_echo_n "(cached) " >&6
18133 if test x$gcc_no_link = xyes; then
18134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18136 #include <unistd.h>
18138 #include <sys/stat.h>
18145 fseeko64(fp, 0, SEEK_CUR);
18147 lseek64(1, 0, SEEK_CUR);
18154 if ac_fn_cxx_try_compile "$LINENO"; then :
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18161 if test x$gcc_no_link = xyes; then
18162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <unistd.h>
18168 #include <sys/stat.h>
18175 fseeko64(fp, 0, SEEK_CUR);
18177 lseek64(1, 0, SEEK_CUR);
18184 if ac_fn_cxx_try_link "$LINENO"; then :
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18195 if test $glibcxx_cv_LFS = yes; then
18197 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18201 $as_echo "$glibcxx_cv_LFS" >&6; }
18202 CXXFLAGS="$ac_save_CXXFLAGS"
18204 ac_cpp='$CPP $CPPFLAGS'
18205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18211 # For showmanyc_helper().
18212 for ac_header in sys/ioctl.h sys/filio.h
18214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18215 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18216 eval as_val=\$$as_ac_Header
18217 if test "x$as_val" = x""yes; then :
18218 cat >>confdefs.h <<_ACEOF
18219 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18230 ac_cpp='$CXXCPP $CPPFLAGS'
18231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18235 ac_save_CXXFLAGS="$CXXFLAGS"
18236 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18239 $as_echo_n "checking for poll... " >&6; }
18240 if test "${glibcxx_cv_POLL+set}" = set; then :
18241 $as_echo_n "(cached) " >&6
18244 if test x$gcc_no_link = xyes; then
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18251 struct pollfd pfd[1];
18252 pfd[0].events = POLLIN;
18258 if ac_fn_cxx_try_compile "$LINENO"; then :
18259 glibcxx_cv_POLL=yes
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18265 if test x$gcc_no_link = xyes; then
18266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18274 struct pollfd pfd[1];
18275 pfd[0].events = POLLIN;
18281 if ac_fn_cxx_try_link "$LINENO"; then :
18282 glibcxx_cv_POLL=yes
18286 rm -f core conftest.err conftest.$ac_objext \
18287 conftest$ac_exeext conftest.$ac_ext
18292 if test $glibcxx_cv_POLL = yes; then
18294 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18298 $as_echo "$glibcxx_cv_POLL" >&6; }
18300 CXXFLAGS="$ac_save_CXXFLAGS"
18302 ac_cpp='$CPP $CPPFLAGS'
18303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18312 ac_cpp='$CXXCPP $CPPFLAGS'
18313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18317 ac_save_CXXFLAGS="$CXXFLAGS"
18318 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18321 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18322 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18323 $as_echo_n "(cached) " >&6
18326 if test x$gcc_no_link = xyes; then
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18329 #include <sys/stat.h>
18333 struct stat buffer;
18335 S_ISREG(buffer.st_mode);
18340 if ac_fn_cxx_try_compile "$LINENO"; then :
18341 glibcxx_cv_S_ISREG=yes
18343 glibcxx_cv_S_ISREG=no
18345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18347 if test x$gcc_no_link = xyes; then
18348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #include <sys/stat.h>
18356 struct stat buffer;
18358 S_ISREG(buffer.st_mode);
18363 if ac_fn_cxx_try_link "$LINENO"; then :
18364 glibcxx_cv_S_ISREG=yes
18366 glibcxx_cv_S_ISREG=no
18368 rm -f core conftest.err conftest.$ac_objext \
18369 conftest$ac_exeext conftest.$ac_ext
18374 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18375 $as_echo_n "(cached) " >&6
18378 if test x$gcc_no_link = xyes; then
18379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18381 #include <sys/stat.h>
18385 struct stat buffer;
18387 S_IFREG & buffer.st_mode;
18392 if ac_fn_cxx_try_compile "$LINENO"; then :
18393 glibcxx_cv_S_IFREG=yes
18395 glibcxx_cv_S_IFREG=no
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 if test x$gcc_no_link = xyes; then
18400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 #include <sys/stat.h>
18408 struct stat buffer;
18410 S_IFREG & buffer.st_mode;
18415 if ac_fn_cxx_try_link "$LINENO"; then :
18416 glibcxx_cv_S_IFREG=yes
18418 glibcxx_cv_S_IFREG=no
18420 rm -f core conftest.err conftest.$ac_objext \
18421 conftest$ac_exeext conftest.$ac_ext
18427 if test $glibcxx_cv_S_ISREG = yes; then
18429 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18432 elif test $glibcxx_cv_S_IFREG = yes; then
18434 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18439 $as_echo "$res" >&6; }
18441 CXXFLAGS="$ac_save_CXXFLAGS"
18443 ac_cpp='$CPP $CPPFLAGS'
18444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18451 for ac_header in sys/uio.h
18453 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18454 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_SYS_UIO_H 1
18467 ac_cpp='$CXXCPP $CPPFLAGS'
18468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18472 ac_save_CXXFLAGS="$CXXFLAGS"
18473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18476 $as_echo_n "checking for writev... " >&6; }
18477 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18478 $as_echo_n "(cached) " >&6
18481 if test x$gcc_no_link = xyes; then
18482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18484 #include <sys/uio.h>
18488 struct iovec iov[2];
18494 if ac_fn_cxx_try_compile "$LINENO"; then :
18495 glibcxx_cv_WRITEV=yes
18497 glibcxx_cv_WRITEV=no
18499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18501 if test x$gcc_no_link = xyes; then
18502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18506 #include <sys/uio.h>
18510 struct iovec iov[2];
18516 if ac_fn_cxx_try_link "$LINENO"; then :
18517 glibcxx_cv_WRITEV=yes
18519 glibcxx_cv_WRITEV=no
18521 rm -f core conftest.err conftest.$ac_objext \
18522 conftest$ac_exeext conftest.$ac_ext
18527 if test $glibcxx_cv_WRITEV = yes; then
18529 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18533 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18535 CXXFLAGS="$ac_save_CXXFLAGS"
18537 ac_cpp='$CPP $CPPFLAGS'
18538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18544 # For C99 support to TR1.
18549 ac_cpp='$CXXCPP $CPPFLAGS'
18550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18555 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18556 # undefined and fake C99 facilities may be spuriously enabled.
18557 ac_save_CXXFLAGS="$CXXFLAGS"
18558 CXXFLAGS="$CXXFLAGS -std=c++98"
18560 # Check for the existence of <complex.h> complex math functions used
18562 for ac_header in complex.h
18564 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18565 if test "x$ac_cv_header_complex_h" = x""yes; then :
18566 cat >>confdefs.h <<_ACEOF
18567 #define HAVE_COMPLEX_H 1
18569 ac_has_complex_h=yes
18571 ac_has_complex_h=no
18576 ac_c99_complex_tr1=no;
18577 if test x"$ac_has_complex_h" = x"yes"; then
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18579 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18582 #include <complex.h>
18586 typedef __complex__ float float_type; float_type tmpf;
18593 typedef __complex__ double double_type; double_type tmpd;
18600 typedef __complex__ long double ld_type; ld_type tmpld;
18612 if ac_fn_cxx_try_compile "$LINENO"; then :
18613 ac_c99_complex_tr1=yes
18615 ac_c99_complex_tr1=no
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18620 $as_echo "$ac_c99_complex_tr1" >&6; }
18621 if test x"$ac_c99_complex_tr1" = x"yes"; then
18623 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18627 # Check for the existence of <ctype.h> functions.
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18629 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18630 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18648 if ac_fn_cxx_try_compile "$LINENO"; then :
18649 glibcxx_cv_c99_ctype_tr1=yes
18651 glibcxx_cv_c99_ctype_tr1=no
18653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18658 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18659 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18661 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18665 # Check for the existence of <fenv.h> functions.
18666 for ac_header in fenv.h
18668 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18669 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18670 cat >>confdefs.h <<_ACEOF
18671 #define HAVE_FENV_H 1
18680 ac_c99_fenv_tr1=no;
18681 if test x"$ac_has_fenv_h" = x"yes"; then
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18683 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685 /* end confdefs.h. */
18694 ret = feclearexcept(except);
18695 ret = fegetexceptflag(pflag, except);
18696 ret = feraiseexcept(except);
18697 ret = fesetexceptflag(pflag, except);
18698 ret = fetestexcept(except);
18699 ret = fegetround();
18700 ret = fesetround(mode);
18701 ret = fegetenv(penv);
18702 ret = feholdexcept(penv);
18703 ret = fesetenv(penv);
18704 ret = feupdateenv(penv);
18710 if ac_fn_cxx_try_compile "$LINENO"; then :
18711 ac_c99_fenv_tr1=yes
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18718 $as_echo "$ac_c99_fenv_tr1" >&6; }
18719 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18721 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18725 # Check for the existence of <stdint.h> types.
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18727 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18728 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18729 $as_echo_n "(cached) " >&6
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 #define __STDC_LIMIT_MACROS
18735 #define __STDC_CONSTANT_MACROS
18736 #include <stdint.h>
18740 typedef int8_t my_int8_t;
18741 my_int8_t i8 = INT8_MIN;
18743 typedef int16_t my_int16_t;
18744 my_int16_t i16 = INT16_MIN;
18746 typedef int32_t my_int32_t;
18747 my_int32_t i32 = INT32_MIN;
18749 typedef int64_t my_int64_t;
18750 my_int64_t i64 = INT64_MIN;
18752 typedef int_fast8_t my_int_fast8_t;
18753 my_int_fast8_t if8 = INT_FAST8_MIN;
18754 if8 = INT_FAST8_MAX;
18755 typedef int_fast16_t my_int_fast16_t;
18756 my_int_fast16_t if16 = INT_FAST16_MIN;
18757 if16 = INT_FAST16_MAX;
18758 typedef int_fast32_t my_int_fast32_t;
18759 my_int_fast32_t if32 = INT_FAST32_MIN;
18760 if32 = INT_FAST32_MAX;
18761 typedef int_fast64_t my_int_fast64_t;
18762 my_int_fast64_t if64 = INT_FAST64_MIN;
18763 if64 = INT_FAST64_MAX;
18764 typedef int_least8_t my_int_least8_t;
18765 my_int_least8_t il8 = INT_LEAST8_MIN;
18766 il8 = INT_LEAST8_MAX;
18767 typedef int_least16_t my_int_least16_t;
18768 my_int_least16_t il16 = INT_LEAST16_MIN;
18769 il16 = INT_LEAST16_MAX;
18770 typedef int_least32_t my_int_least32_t;
18771 my_int_least32_t il32 = INT_LEAST32_MIN;
18772 il32 = INT_LEAST32_MAX;
18773 typedef int_least64_t my_int_least64_t;
18774 my_int_least64_t il64 = INT_LEAST64_MIN;
18775 il64 = INT_LEAST64_MAX;
18776 typedef intmax_t my_intmax_t;
18777 my_intmax_t im = INTMAX_MAX;
18779 typedef intptr_t my_intptr_t;
18780 my_intptr_t ip = INTPTR_MAX;
18782 typedef uint8_t my_uint8_t;
18783 my_uint8_t ui8 = UINT8_MAX;
18785 typedef uint16_t my_uint16_t;
18786 my_uint16_t ui16 = UINT16_MAX;
18788 typedef uint32_t my_uint32_t;
18789 my_uint32_t ui32 = UINT32_MAX;
18791 typedef uint64_t my_uint64_t;
18792 my_uint64_t ui64 = UINT64_MAX;
18794 typedef uint_fast8_t my_uint_fast8_t;
18795 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18796 uif8 = UINT_FAST8_MAX;
18797 typedef uint_fast16_t my_uint_fast16_t;
18798 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18799 uif16 = UINT_FAST16_MAX;
18800 typedef uint_fast32_t my_uint_fast32_t;
18801 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18802 uif32 = UINT_FAST32_MAX;
18803 typedef uint_fast64_t my_uint_fast64_t;
18804 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18805 uif64 = UINT_FAST64_MAX;
18806 typedef uint_least8_t my_uint_least8_t;
18807 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18808 uil8 = UINT_LEAST8_MAX;
18809 typedef uint_least16_t my_uint_least16_t;
18810 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18811 uil16 = UINT_LEAST16_MAX;
18812 typedef uint_least32_t my_uint_least32_t;
18813 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18814 uil32 = UINT_LEAST32_MAX;
18815 typedef uint_least64_t my_uint_least64_t;
18816 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18817 uil64 = UINT_LEAST64_MAX;
18818 typedef uintmax_t my_uintmax_t;
18819 my_uintmax_t uim = UINTMAX_MAX;
18821 typedef uintptr_t my_uintptr_t;
18822 my_uintptr_t uip = UINTPTR_MAX;
18829 if ac_fn_cxx_try_compile "$LINENO"; then :
18830 glibcxx_cv_c99_stdint_tr1=yes
18832 glibcxx_cv_c99_stdint_tr1=no
18834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18839 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18840 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18842 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18846 # Check for the existence of <math.h> functions.
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18848 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18849 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18850 $as_echo_n "(cached) " >&6
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18859 typedef double_t my_double_t;
18860 typedef float_t my_float_t;
18873 copysign(0.0, 0.0);
18874 copysignf(0.0f, 0.0f);
18875 copysignl(0.0l, 0.0l);
18891 fma(0.0, 0.0, 0.0);
18892 fmaf(0.0f, 0.0f, 0.0f);
18893 fmal(0.0l, 0.0l, 0.0l);
18901 hypotf(0.0f, 0.0f);
18902 hypotl(0.0l, 0.0l);
18936 nextafter(0.0, 0.0);
18937 nextafterf(0.0f, 0.0f);
18938 nextafterl(0.0l, 0.0l);
18939 nexttoward(0.0, 0.0);
18940 nexttowardf(0.0f, 0.0f);
18941 nexttowardl(0.0l, 0.0l);
18942 remainder(0.0, 0.0);
18943 remainderf(0.0f, 0.0f);
18944 remainderl(0.0l, 0.0l);
18945 remquo(0.0, 0.0, 0);
18946 remquof(0.0f, 0.0f, 0);
18947 remquol(0.0l, 0.0l, 0);
18955 scalblnf(0.0f, 0l);
18956 scalblnl(0.0l, 0l);
18971 if ac_fn_cxx_try_compile "$LINENO"; then :
18972 glibcxx_cv_c99_math_tr1=yes
18974 glibcxx_cv_c99_math_tr1=no
18976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18981 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18982 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18984 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18988 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18989 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18990 ac_c99_inttypes_tr1=no;
18991 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18993 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 #include <inttypes.h>
19000 intmax_t i, numer, denom, base;
19003 intmax_t ret = imaxabs(i);
19004 imaxdiv_t dret = imaxdiv(numer, denom);
19005 ret = strtoimax(s, endptr, base);
19006 uintmax_t uret = strtoumax(s, endptr, base);
19012 if ac_fn_cxx_try_compile "$LINENO"; then :
19013 ac_c99_inttypes_tr1=yes
19015 ac_c99_inttypes_tr1=no
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19020 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19021 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19023 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19027 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19028 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19029 ac_c99_inttypes_wchar_t_tr1=no;
19030 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19032 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <inttypes.h>
19042 intmax_t ret = wcstoimax(s, endptr, base);
19043 uintmax_t uret = wcstoumax(s, endptr, base);
19049 if ac_fn_cxx_try_compile "$LINENO"; then :
19050 ac_c99_inttypes_wchar_t_tr1=yes
19052 ac_c99_inttypes_wchar_t_tr1=no
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19057 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19058 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19060 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19064 # Check for the existence of the <stdbool.h> header.
19065 for ac_header in stdbool.h
19067 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19068 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_STDBOOL_H 1
19078 # Check for the existence of the <stdalign.h> header.
19079 for ac_header in stdalign.h
19081 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19082 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STDALIGN_H 1
19092 CXXFLAGS="$ac_save_CXXFLAGS"
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19101 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19105 $as_echo_n "checking for the value of EOF... " >&6; }
19106 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19107 $as_echo_n "(cached) " >&6
19110 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19113 as_fn_error "computing EOF failed" "$LINENO" 5
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19119 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19121 cat >>confdefs.h <<_ACEOF
19122 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19127 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19128 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19129 $as_echo_n "(cached) " >&6
19132 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19135 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19141 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19143 cat >>confdefs.h <<_ACEOF
19144 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19149 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19150 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19151 $as_echo_n "(cached) " >&6
19154 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19157 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19163 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19165 cat >>confdefs.h <<_ACEOF
19166 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19171 # For gettimeofday support.
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19175 $as_echo_n "checking for gettimeofday... " >&6; }
19179 ac_cpp='$CXXCPP $CPPFLAGS'
19180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19184 ac_save_CXXFLAGS="$CXXFLAGS"
19185 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19187 ac_has_gettimeofday=no;
19188 for ac_header in sys/time.h
19190 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19191 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_SYS_TIME_H 1
19195 ac_has_sys_time_h=yes
19197 ac_has_sys_time_h=no
19202 if test x"$ac_has_sys_time_h" = x"yes"; then
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19204 $as_echo_n "checking for gettimeofday... " >&6; }
19205 if test x$gcc_no_link = xyes; then
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19208 #include <sys/time.h>
19212 timeval tv; gettimeofday(&tv, 0);
19217 if ac_fn_cxx_try_compile "$LINENO"; then :
19218 ac_has_gettimeofday=yes
19220 ac_has_gettimeofday=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19224 if test x$gcc_no_link = xyes; then
19225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19229 #include <sys/time.h>
19233 timeval tv; gettimeofday(&tv, 0);
19238 if ac_fn_cxx_try_link "$LINENO"; then :
19239 ac_has_gettimeofday=yes
19241 ac_has_gettimeofday=no
19243 rm -f core conftest.err conftest.$ac_objext \
19244 conftest$ac_exeext conftest.$ac_ext
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19248 $as_echo "$ac_has_gettimeofday" >&6; }
19251 if test x"$ac_has_gettimeofday" = x"yes"; then
19253 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19257 CXXFLAGS="$ac_save_CXXFLAGS"
19259 ac_cpp='$CPP $CPPFLAGS'
19260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19266 # For clock_gettime, nanosleep and sched_yield support.
19267 # NB: The default is [no], because otherwise it requires linking.
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19271 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19272 # Check whether --enable-libstdcxx-time was given.
19273 if test "${enable_libstdcxx_time+set}" = set; then :
19274 enableval=$enable_libstdcxx_time;
19275 case "$enableval" in
19277 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19281 enable_libstdcxx_time=no
19288 ac_cpp='$CXXCPP $CPPFLAGS'
19289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19293 ac_save_CXXFLAGS="$CXXFLAGS"
19294 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19295 ac_save_LIBS="$LIBS"
19297 ac_has_clock_monotonic=no
19298 ac_has_clock_realtime=no
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19300 $as_echo "$enable_libstdcxx_time" >&6; }
19302 if test x"$enable_libstdcxx_time" != x"no"; then
19304 if test x"$enable_libstdcxx_time" = x"rt"; then
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19306 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19307 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19308 $as_echo_n "(cached) " >&6
19310 ac_func_search_save_LIBS=$LIBS
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19314 /* Override any GCC internal prototype to avoid an error.
19315 Use char because int might match the return type of a GCC
19316 builtin and then its argument prototype would still apply. */
19320 char clock_gettime ();
19324 return clock_gettime ();
19329 for ac_lib in '' rt posix4; do
19330 if test -z "$ac_lib"; then
19331 ac_res="none required"
19334 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19336 if test x$gcc_no_link = xyes; then
19337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19339 if ac_fn_cxx_try_link "$LINENO"; then :
19340 ac_cv_search_clock_gettime=$ac_res
19342 rm -f core conftest.err conftest.$ac_objext \
19344 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19348 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19351 ac_cv_search_clock_gettime=no
19353 rm conftest.$ac_ext
19354 LIBS=$ac_func_search_save_LIBS
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19357 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19358 ac_res=$ac_cv_search_clock_gettime
19359 if test "$ac_res" != no; then :
19360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19365 $as_echo_n "checking for library containing nanosleep... " >&6; }
19366 if test "${ac_cv_search_nanosleep+set}" = set; then :
19367 $as_echo_n "(cached) " >&6
19369 ac_func_search_save_LIBS=$LIBS
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19373 /* Override any GCC internal prototype to avoid an error.
19374 Use char because int might match the return type of a GCC
19375 builtin and then its argument prototype would still apply. */
19383 return nanosleep ();
19388 for ac_lib in '' rt posix4; do
19389 if test -z "$ac_lib"; then
19390 ac_res="none required"
19393 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19395 if test x$gcc_no_link = xyes; then
19396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19398 if ac_fn_cxx_try_link "$LINENO"; then :
19399 ac_cv_search_nanosleep=$ac_res
19401 rm -f core conftest.err conftest.$ac_objext \
19403 if test "${ac_cv_search_nanosleep+set}" = set; then :
19407 if test "${ac_cv_search_nanosleep+set}" = set; then :
19410 ac_cv_search_nanosleep=no
19412 rm conftest.$ac_ext
19413 LIBS=$ac_func_search_save_LIBS
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19416 $as_echo "$ac_cv_search_nanosleep" >&6; }
19417 ac_res=$ac_cv_search_nanosleep
19418 if test "$ac_res" != no; then :
19419 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19425 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19426 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19427 $as_echo_n "(cached) " >&6
19429 ac_func_search_save_LIBS=$LIBS
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19433 /* Override any GCC internal prototype to avoid an error.
19434 Use char because int might match the return type of a GCC
19435 builtin and then its argument prototype would still apply. */
19439 char clock_gettime ();
19443 return clock_gettime ();
19448 for ac_lib in '' posix4; do
19449 if test -z "$ac_lib"; then
19450 ac_res="none required"
19453 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19455 if test x$gcc_no_link = xyes; then
19456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19458 if ac_fn_cxx_try_link "$LINENO"; then :
19459 ac_cv_search_clock_gettime=$ac_res
19461 rm -f core conftest.err conftest.$ac_objext \
19463 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19467 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19470 ac_cv_search_clock_gettime=no
19472 rm conftest.$ac_ext
19473 LIBS=$ac_func_search_save_LIBS
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19476 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19477 ac_res=$ac_cv_search_clock_gettime
19478 if test "$ac_res" != no; then :
19479 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19484 $as_echo_n "checking for library containing nanosleep... " >&6; }
19485 if test "${ac_cv_search_nanosleep+set}" = set; then :
19486 $as_echo_n "(cached) " >&6
19488 ac_func_search_save_LIBS=$LIBS
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19492 /* Override any GCC internal prototype to avoid an error.
19493 Use char because int might match the return type of a GCC
19494 builtin and then its argument prototype would still apply. */
19502 return nanosleep ();
19507 for ac_lib in '' posix4; do
19508 if test -z "$ac_lib"; then
19509 ac_res="none required"
19512 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19514 if test x$gcc_no_link = xyes; then
19515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19517 if ac_fn_cxx_try_link "$LINENO"; then :
19518 ac_cv_search_nanosleep=$ac_res
19520 rm -f core conftest.err conftest.$ac_objext \
19522 if test "${ac_cv_search_nanosleep+set}" = set; then :
19526 if test "${ac_cv_search_nanosleep+set}" = set; then :
19529 ac_cv_search_nanosleep=no
19531 rm conftest.$ac_ext
19532 LIBS=$ac_func_search_save_LIBS
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19535 $as_echo "$ac_cv_search_nanosleep" >&6; }
19536 ac_res=$ac_cv_search_nanosleep
19537 if test "$ac_res" != no; then :
19538 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19544 case "$ac_cv_search_clock_gettime" in
19545 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19548 case "$ac_cv_search_nanosleep" in
19549 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19554 $as_echo_n "checking for library containing sched_yield... " >&6; }
19555 if test "${ac_cv_search_sched_yield+set}" = set; then :
19556 $as_echo_n "(cached) " >&6
19558 ac_func_search_save_LIBS=$LIBS
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19562 /* Override any GCC internal prototype to avoid an error.
19563 Use char because int might match the return type of a GCC
19564 builtin and then its argument prototype would still apply. */
19568 char sched_yield ();
19572 return sched_yield ();
19577 for ac_lib in '' rt posix4; do
19578 if test -z "$ac_lib"; then
19579 ac_res="none required"
19582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19584 if test x$gcc_no_link = xyes; then
19585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19587 if ac_fn_cxx_try_link "$LINENO"; then :
19588 ac_cv_search_sched_yield=$ac_res
19590 rm -f core conftest.err conftest.$ac_objext \
19592 if test "${ac_cv_search_sched_yield+set}" = set; then :
19596 if test "${ac_cv_search_sched_yield+set}" = set; then :
19599 ac_cv_search_sched_yield=no
19601 rm conftest.$ac_ext
19602 LIBS=$ac_func_search_save_LIBS
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19605 $as_echo "$ac_cv_search_sched_yield" >&6; }
19606 ac_res=$ac_cv_search_sched_yield
19607 if test "$ac_res" != no; then :
19608 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19613 case "$ac_cv_search_sched_yield" in
19615 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19617 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19621 if test x"$enable_libstdcxx_time" = x"rt"; then
19622 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19624 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19630 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19635 for ac_header in unistd.h
19637 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19638 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19639 cat >>confdefs.h <<_ACEOF
19640 #define HAVE_UNISTD_H 1
19642 ac_has_unistd_h=yes
19650 if test x"$ac_has_unistd_h" = x"yes"; then
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19652 $as_echo_n "checking for monotonic clock... " >&6; }
19653 if test x$gcc_no_link = xyes; then
19654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19658 #include <unistd.h>
19664 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19667 clock_gettime(CLOCK_MONOTONIC, &tp);
19673 if ac_fn_cxx_try_link "$LINENO"; then :
19674 ac_has_clock_monotonic=yes
19676 ac_has_clock_monotonic=no
19678 rm -f core conftest.err conftest.$ac_objext \
19679 conftest$ac_exeext conftest.$ac_ext
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19682 $as_echo "$ac_has_clock_monotonic" >&6; }
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19685 $as_echo_n "checking for realtime clock... " >&6; }
19686 if test x$gcc_no_link = xyes; then
19687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19690 /* end confdefs.h. */
19691 #include <unistd.h>
19697 #if _POSIX_TIMERS > 0
19700 clock_gettime(CLOCK_REALTIME, &tp);
19706 if ac_fn_cxx_try_link "$LINENO"; then :
19707 ac_has_clock_realtime=yes
19709 ac_has_clock_realtime=no
19711 rm -f core conftest.err conftest.$ac_objext \
19712 conftest$ac_exeext conftest.$ac_ext
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19715 $as_echo "$ac_has_clock_realtime" >&6; }
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19718 $as_echo_n "checking for nanosleep... " >&6; }
19719 if test x$gcc_no_link = xyes; then
19720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724 #include <unistd.h>
19730 #if _POSIX_TIMERS > 0
19739 if ac_fn_cxx_try_link "$LINENO"; then :
19740 ac_has_nanosleep=yes
19742 ac_has_nanosleep=no
19744 rm -f core conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19748 $as_echo "$ac_has_nanosleep" >&6; }
19752 if test x"$ac_has_clock_monotonic" = x"yes"; then
19754 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19758 if test x"$ac_has_clock_realtime" = x"yes"; then
19760 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19764 if test x"$ac_has_nanosleep" = x"yes"; then
19766 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19772 CXXFLAGS="$ac_save_CXXFLAGS"
19773 LIBS="$ac_save_LIBS"
19775 ac_cpp='$CPP $CPPFLAGS'
19776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19782 # For gthread support
19786 ac_cpp='$CXXCPP $CPPFLAGS'
19787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19792 ac_save_CXXFLAGS="$CXXFLAGS"
19793 CXXFLAGS="$CXXFLAGS -fno-exceptions \
19794 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19796 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19797 case $target_thread_file in
19799 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19803 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #include <unistd.h>
19812 // In case of POSIX threads check _POSIX_TIMEOUTS.
19813 #if (defined(_PTHREADS) \
19814 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19822 if ac_fn_cxx_try_compile "$LINENO"; then :
19823 ac_gthread_use_mutex_timedlock=1
19825 ac_gthread_use_mutex_timedlock=0
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 cat >>confdefs.h <<_ACEOF
19831 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19835 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19836 else res_mutex_timedlock=no ; fi
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19838 $as_echo "$res_mutex_timedlock" >&6; }
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19841 $as_echo_n "checking for gthreads library... " >&6; }
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19850 #ifndef __GTHREADS_CXX0X
19858 if ac_fn_cxx_try_compile "$LINENO"; then :
19859 ac_has_gthreads=yes
19863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19866 $as_echo "$ac_has_gthreads" >&6; }
19868 if test x"$ac_has_gthreads" = x"yes"; then
19870 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19874 CXXFLAGS="$ac_save_CXXFLAGS"
19876 ac_cpp='$CPP $CPPFLAGS'
19877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19884 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19885 if test "x$ac_cv_header_locale_h" = x""yes; then :
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19888 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19889 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19890 $as_echo_n "(cached) " >&6
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #include <locale.h>
19903 if ac_fn_c_try_compile "$LINENO"; then :
19904 ac_cv_val_LC_MESSAGES=yes
19906 ac_cv_val_LC_MESSAGES=no
19908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19911 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19912 if test $ac_cv_val_LC_MESSAGES = yes; then
19914 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19923 # For hardware_concurrency
19924 for ac_header in sys/sysinfo.h
19926 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19927 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19928 cat >>confdefs.h <<_ACEOF
19929 #define HAVE_SYS_SYSINFO_H 1
19940 ac_cpp='$CXXCPP $CPPFLAGS'
19941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19945 ac_save_CXXFLAGS="$CXXFLAGS"
19946 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19949 $as_echo_n "checking for get_nprocs... " >&6; }
19950 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19951 $as_echo_n "(cached) " >&6
19954 if test x$gcc_no_link = xyes; then
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <sys/sysinfo.h>
19961 int n = get_nprocs();
19966 if ac_fn_cxx_try_compile "$LINENO"; then :
19967 glibcxx_cv_GET_NPROCS=yes
19969 glibcxx_cv_GET_NPROCS=no
19971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19973 if test x$gcc_no_link = xyes; then
19974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h. */
19978 #include <sys/sysinfo.h>
19982 int n = get_nprocs();
19987 if ac_fn_cxx_try_link "$LINENO"; then :
19988 glibcxx_cv_GET_NPROCS=yes
19990 glibcxx_cv_GET_NPROCS=no
19992 rm -f core conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19998 if test $glibcxx_cv_GET_NPROCS = yes; then
20000 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20004 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20006 CXXFLAGS="$ac_save_CXXFLAGS"
20008 ac_cpp='$CPP $CPPFLAGS'
20009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20014 for ac_header in unistd.h
20016 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20017 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20018 cat >>confdefs.h <<_ACEOF
20019 #define HAVE_UNISTD_H 1
20030 ac_cpp='$CXXCPP $CPPFLAGS'
20031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20035 ac_save_CXXFLAGS="$CXXFLAGS"
20036 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20039 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20040 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20041 $as_echo_n "(cached) " >&6
20044 if test x$gcc_no_link = xyes; then
20045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20047 #include <unistd.h>
20051 int n = sysconf(_SC_NPROCESSORS_ONLN);
20056 if ac_fn_cxx_try_compile "$LINENO"; then :
20057 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20059 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20063 if test x$gcc_no_link = xyes; then
20064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <unistd.h>
20072 int n = sysconf(_SC_NPROCESSORS_ONLN);
20077 if ac_fn_cxx_try_link "$LINENO"; then :
20078 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20080 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20082 rm -f core conftest.err conftest.$ac_objext \
20083 conftest$ac_exeext conftest.$ac_ext
20088 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20090 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20094 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20096 CXXFLAGS="$ac_save_CXXFLAGS"
20098 ac_cpp='$CPP $CPPFLAGS'
20099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20113 ac_save_CXXFLAGS="$CXXFLAGS"
20114 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20117 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20118 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20119 $as_echo_n "(cached) " >&6
20122 if test x$gcc_no_link = xyes; then
20123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20125 #include <unistd.h>
20129 int n = sysconf(_SC_NPROC_ONLN);
20134 if ac_fn_cxx_try_compile "$LINENO"; then :
20135 glibcxx_cv_SC_NPROC_ONLN=yes
20137 glibcxx_cv_SC_NPROC_ONLN=no
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20141 if test x$gcc_no_link = xyes; then
20142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20146 #include <unistd.h>
20150 int n = sysconf(_SC_NPROC_ONLN);
20155 if ac_fn_cxx_try_link "$LINENO"; then :
20156 glibcxx_cv_SC_NPROC_ONLN=yes
20158 glibcxx_cv_SC_NPROC_ONLN=no
20160 rm -f core conftest.err conftest.$ac_objext \
20161 conftest$ac_exeext conftest.$ac_ext
20166 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20168 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20172 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20174 CXXFLAGS="$ac_save_CXXFLAGS"
20176 ac_cpp='$CPP $CPPFLAGS'
20177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20186 ac_cpp='$CXXCPP $CPPFLAGS'
20187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20191 ac_save_CXXFLAGS="$CXXFLAGS"
20192 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20195 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20196 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20197 $as_echo_n "(cached) " >&6
20200 if test x$gcc_no_link = xyes; then
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #include <pthread.h>
20207 int n = pthread_num_processors_np();
20212 if ac_fn_cxx_try_compile "$LINENO"; then :
20213 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20215 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20219 if test x$gcc_no_link = xyes; then
20220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20224 #include <pthread.h>
20228 int n = pthread_num_processors_np();
20233 if ac_fn_cxx_try_link "$LINENO"; then :
20234 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20236 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20238 rm -f core conftest.err conftest.$ac_objext \
20239 conftest$ac_exeext conftest.$ac_ext
20244 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20246 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20250 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20252 CXXFLAGS="$ac_save_CXXFLAGS"
20254 ac_cpp='$CPP $CPPFLAGS'
20255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20264 ac_cpp='$CXXCPP $CPPFLAGS'
20265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20269 ac_save_CXXFLAGS="$CXXFLAGS"
20270 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20273 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20274 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20275 $as_echo_n "(cached) " >&6
20278 if test x$gcc_no_link = xyes; then
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20282 #include <stddef.h>
20283 #include <sys/sysctl.h>
20290 size_t size = sizeof(count);
20291 int mib[] = { CTL_HW, HW_NCPU };
20292 sysctl(mib, 2, &count, &size, NULL, 0);
20298 if ac_fn_cxx_try_compile "$LINENO"; then :
20299 glibcxx_cv_SYSCTL_HW_NCPU=yes
20301 glibcxx_cv_SYSCTL_HW_NCPU=no
20303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 if test x$gcc_no_link = xyes; then
20306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20311 #include <stddef.h>
20312 #include <sys/sysctl.h>
20319 size_t size = sizeof(count);
20320 int mib[] = { CTL_HW, HW_NCPU };
20321 sysctl(mib, 2, &count, &size, NULL, 0);
20327 if ac_fn_cxx_try_link "$LINENO"; then :
20328 glibcxx_cv_SYSCTL_HW_NCPU=yes
20330 glibcxx_cv_SYSCTL_HW_NCPU=no
20332 rm -f core conftest.err conftest.$ac_objext \
20333 conftest$ac_exeext conftest.$ac_ext
20338 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20340 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20344 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20346 CXXFLAGS="$ac_save_CXXFLAGS"
20348 ac_cpp='$CPP $CPPFLAGS'
20349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20355 # Check for available headers.
20356 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20357 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20358 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20359 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20363 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20364 eval as_val=\$$as_ac_Header
20365 if test "x$as_val" = x""yes; then :
20366 cat >>confdefs.h <<_ACEOF
20367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20375 # Only do link tests if native. Else, hardcode.
20376 if $GLIBCXX_IS_NATIVE; then
20378 # We can do more elaborate tests that assume a working linker.
20383 # Check whether --with-gnu-ld was given.
20384 if test "${with_gnu_ld+set}" = set; then :
20385 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20391 if test "$GCC" = yes; then
20392 # Check if gcc -print-prog-name=ld gives a path.
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20394 $as_echo_n "checking for ld used by $CC... " >&6; }
20397 # gcc leaves a trailing carriage return which upsets mingw
20398 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20400 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20403 # Accept absolute paths.
20405 re_direlt='/[^/][^/]*/\.\./'
20406 # Canonicalize the pathname of ld
20407 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20408 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20409 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20411 test -z "$LD" && LD="$ac_prog"
20414 # If it fails, then pretend we aren't using GCC.
20418 # If it is relative, then search for the first ld in PATH.
20419 with_gnu_ld=unknown
20422 elif test "$with_gnu_ld" = yes; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20424 $as_echo_n "checking for GNU ld... " >&6; }
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20427 $as_echo_n "checking for non-GNU ld... " >&6; }
20429 if test "${lt_cv_path_LD+set}" = set; then :
20430 $as_echo_n "(cached) " >&6
20432 if test -z "$LD"; then
20433 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20434 for ac_dir in $PATH; do
20436 test -z "$ac_dir" && ac_dir=.
20437 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20438 lt_cv_path_LD="$ac_dir/$ac_prog"
20439 # Check to see if the program is GNU ld. I'd rather use --version,
20440 # but apparently some variants of GNU ld only accept -v.
20441 # Break only if it was the GNU/non-GNU ld that we prefer.
20442 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20443 *GNU* | *'with BFD'*)
20444 test "$with_gnu_ld" != no && break
20447 test "$with_gnu_ld" != yes && break
20454 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20458 LD="$lt_cv_path_LD"
20459 if test -n "$LD"; then
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20461 $as_echo "$LD" >&6; }
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20464 $as_echo "no" >&6; }
20466 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20468 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20469 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20470 $as_echo_n "(cached) " >&6
20472 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20473 case `$LD -v 2>&1 </dev/null` in
20474 *GNU* | *'with BFD'*)
20475 lt_cv_prog_gnu_ld=yes
20478 lt_cv_prog_gnu_ld=no
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20483 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20484 with_gnu_ld=$lt_cv_prog_gnu_ld
20492 # If we're not using GNU ld, then there's no point in even trying these
20493 # tests. Check for that first. We should have already tested for gld
20494 # by now (in libtool), but require it now just to be safe...
20495 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20496 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20500 # The name set by libtool depends on the version of libtool. Shame on us
20501 # for depending on an impl detail, but c'est la vie. Older versions used
20502 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20503 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20504 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20505 # set (hence we're using an older libtool), then set it.
20506 if test x${with_gnu_ld+set} != xset; then
20507 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20508 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20511 with_gnu_ld=$ac_cv_prog_gnu_ld
20515 # Start by getting the version number. I think the libtool test already
20516 # does some of this, but throws away the result.
20517 glibcxx_ld_is_gold=no
20518 if test x"$with_gnu_ld" = x"yes"; then
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20520 $as_echo_n "checking for ld version... " >&6; }
20522 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20523 glibcxx_ld_is_gold=yes
20525 ldver=`$LD --version 2>/dev/null |
20526 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
20528 glibcxx_gnu_ld_version=`echo $ldver | \
20529 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20531 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20534 # Set --gc-sections.
20535 glibcxx_have_gc_sections=no
20536 if test "$glibcxx_ld_is_gold" = "yes"; then
20537 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20538 glibcxx_have_gc_sections=yes
20541 glibcxx_gcsections_min_ld=21602
20542 if test x"$with_gnu_ld" = x"yes" &&
20543 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20544 glibcxx_have_gc_sections=yes
20547 if test "$glibcxx_have_gc_sections" = "yes"; then
20548 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20549 # NB: This flag only works reliably after 2.16.1. Configure tests
20550 # for this are difficult, so hard wire a value that should work.
20552 ac_test_CFLAGS="${CFLAGS+set}"
20553 ac_save_CFLAGS="$CFLAGS"
20554 CFLAGS='-Wl,--gc-sections'
20556 # Check for -Wl,--gc-sections
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20558 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20559 if test x$gcc_no_link = xyes; then
20560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20563 /* end confdefs.h. */
20564 int one(void) { return 1; }
20565 int two(void) { return 2; }
20575 if ac_fn_c_try_link "$LINENO"; then :
20580 rm -f core conftest.err conftest.$ac_objext \
20581 conftest$ac_exeext conftest.$ac_ext
20582 if test "$ac_gcsections" = "yes"; then
20585 if $CC -c conftest.c; then
20586 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20587 grep "Warning: gc-sections option ignored" > /dev/null; then
20591 rm -f conftest.c conftest.o conftest
20593 if test "$ac_gcsections" = "yes"; then
20594 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20597 $as_echo "$ac_gcsections" >&6; }
20599 if test "$ac_test_CFLAGS" = set; then
20600 CFLAGS="$ac_save_CFLAGS"
20602 # this is the suspicious part
20608 # Note this is only for shared objects.
20610 if test x"$with_gnu_ld" = x"yes"; then
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20612 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20613 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20614 if test -n "$cxx_z_relo"; then
20615 OPT_LDFLAGS="-Wl,-z,relro"
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20619 $as_echo "$ac_ld_relro" >&6; }
20622 # Set linker optimization flags.
20623 if test x"$with_gnu_ld" = x"yes"; then
20624 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20631 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20632 ac_save_CXXFLAGS="$CXXFLAGS"
20633 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20636 $as_echo_n "checking for sin in -lm... " >&6; }
20637 if test "${ac_cv_lib_m_sin+set}" = set; then :
20638 $as_echo_n "(cached) " >&6
20640 ac_check_lib_save_LIBS=$LIBS
20642 if test x$gcc_no_link = xyes; then
20643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20646 /* end confdefs.h. */
20648 /* Override any GCC internal prototype to avoid an error.
20649 Use char because int might match the return type of a GCC
20650 builtin and then its argument prototype would still apply. */
20663 if ac_fn_c_try_link "$LINENO"; then :
20664 ac_cv_lib_m_sin=yes
20668 rm -f core conftest.err conftest.$ac_objext \
20669 conftest$ac_exeext conftest.$ac_ext
20670 LIBS=$ac_check_lib_save_LIBS
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20673 $as_echo "$ac_cv_lib_m_sin" >&6; }
20674 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20678 ac_save_LIBS="$LIBS"
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20684 $as_echo_n "checking for isinf declaration... " >&6; }
20685 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20686 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20687 $as_echo_n "(cached) " >&6
20692 ac_cpp='$CXXCPP $CPPFLAGS'
20693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20698 /* end confdefs.h. */
20700 #ifdef HAVE_IEEEFP_H
20701 #include <ieeefp.h>
20712 if ac_fn_cxx_try_compile "$LINENO"; then :
20713 glibcxx_cv_func_isinf_use=yes
20715 glibcxx_cv_func_isinf_use=no
20717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20719 ac_cpp='$CPP $CPPFLAGS'
20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20729 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20731 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20732 for ac_func in isinf
20734 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20735 if test "x$ac_cv_func_isinf" = x""yes; then :
20736 cat >>confdefs.h <<_ACEOF
20737 #define HAVE_ISINF 1
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20746 $as_echo_n "checking for _isinf declaration... " >&6; }
20747 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20748 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20749 $as_echo_n "(cached) " >&6
20754 ac_cpp='$CXXCPP $CPPFLAGS'
20755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20760 /* end confdefs.h. */
20762 #ifdef HAVE_IEEEFP_H
20763 #include <ieeefp.h>
20774 if ac_fn_cxx_try_compile "$LINENO"; then :
20775 glibcxx_cv_func__isinf_use=yes
20777 glibcxx_cv_func__isinf_use=no
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20781 ac_cpp='$CPP $CPPFLAGS'
20782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20791 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20793 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20794 for ac_func in _isinf
20796 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20797 if test "x$ac_cv_func__isinf" = x""yes; then :
20798 cat >>confdefs.h <<_ACEOF
20799 #define HAVE__ISINF 1
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20813 $as_echo_n "checking for isnan declaration... " >&6; }
20814 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20815 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20816 $as_echo_n "(cached) " >&6
20821 ac_cpp='$CXXCPP $CPPFLAGS'
20822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20829 #ifdef HAVE_IEEEFP_H
20830 #include <ieeefp.h>
20841 if ac_fn_cxx_try_compile "$LINENO"; then :
20842 glibcxx_cv_func_isnan_use=yes
20844 glibcxx_cv_func_isnan_use=no
20846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 ac_cpp='$CPP $CPPFLAGS'
20849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20858 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20860 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20861 for ac_func in isnan
20863 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20864 if test "x$ac_cv_func_isnan" = x""yes; then :
20865 cat >>confdefs.h <<_ACEOF
20866 #define HAVE_ISNAN 1
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20875 $as_echo_n "checking for _isnan declaration... " >&6; }
20876 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20877 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20878 $as_echo_n "(cached) " >&6
20883 ac_cpp='$CXXCPP $CPPFLAGS'
20884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20891 #ifdef HAVE_IEEEFP_H
20892 #include <ieeefp.h>
20903 if ac_fn_cxx_try_compile "$LINENO"; then :
20904 glibcxx_cv_func__isnan_use=yes
20906 glibcxx_cv_func__isnan_use=no
20908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20910 ac_cpp='$CPP $CPPFLAGS'
20911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20920 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20922 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20923 for ac_func in _isnan
20925 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20926 if test "x$ac_cv_func__isnan" = x""yes; then :
20927 cat >>confdefs.h <<_ACEOF
20928 #define HAVE__ISNAN 1
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20942 $as_echo_n "checking for finite declaration... " >&6; }
20943 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20944 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20945 $as_echo_n "(cached) " >&6
20950 ac_cpp='$CXXCPP $CPPFLAGS'
20951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20956 /* end confdefs.h. */
20958 #ifdef HAVE_IEEEFP_H
20959 #include <ieeefp.h>
20970 if ac_fn_cxx_try_compile "$LINENO"; then :
20971 glibcxx_cv_func_finite_use=yes
20973 glibcxx_cv_func_finite_use=no
20975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 ac_cpp='$CPP $CPPFLAGS'
20978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20987 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20989 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20990 for ac_func in finite
20992 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20993 if test "x$ac_cv_func_finite" = x""yes; then :
20994 cat >>confdefs.h <<_ACEOF
20995 #define HAVE_FINITE 1
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21004 $as_echo_n "checking for _finite declaration... " >&6; }
21005 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21006 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21007 $as_echo_n "(cached) " >&6
21012 ac_cpp='$CXXCPP $CPPFLAGS'
21013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21018 /* end confdefs.h. */
21020 #ifdef HAVE_IEEEFP_H
21021 #include <ieeefp.h>
21032 if ac_fn_cxx_try_compile "$LINENO"; then :
21033 glibcxx_cv_func__finite_use=yes
21035 glibcxx_cv_func__finite_use=no
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21039 ac_cpp='$CPP $CPPFLAGS'
21040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21049 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21051 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21052 for ac_func in _finite
21054 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21055 if test "x$ac_cv_func__finite" = x""yes; then :
21056 cat >>confdefs.h <<_ACEOF
21057 #define HAVE__FINITE 1
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21071 $as_echo_n "checking for sincos declaration... " >&6; }
21072 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21073 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21074 $as_echo_n "(cached) " >&6
21079 ac_cpp='$CXXCPP $CPPFLAGS'
21080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h. */
21095 if ac_fn_cxx_try_compile "$LINENO"; then :
21096 glibcxx_cv_func_sincos_use=yes
21098 glibcxx_cv_func_sincos_use=no
21100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21102 ac_cpp='$CPP $CPPFLAGS'
21103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21112 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21114 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21115 for ac_func in sincos
21117 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21118 if test "x$ac_cv_func_sincos" = x""yes; then :
21119 cat >>confdefs.h <<_ACEOF
21120 #define HAVE_SINCOS 1
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21129 $as_echo_n "checking for _sincos declaration... " >&6; }
21130 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21131 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21132 $as_echo_n "(cached) " >&6
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143 /* end confdefs.h. */
21153 if ac_fn_cxx_try_compile "$LINENO"; then :
21154 glibcxx_cv_func__sincos_use=yes
21156 glibcxx_cv_func__sincos_use=no
21158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21160 ac_cpp='$CPP $CPPFLAGS'
21161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21170 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21172 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21173 for ac_func in _sincos
21175 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21176 if test "x$ac_cv_func__sincos" = x""yes; then :
21177 cat >>confdefs.h <<_ACEOF
21178 #define HAVE__SINCOS 1
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21192 $as_echo_n "checking for fpclass declaration... " >&6; }
21193 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21194 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21195 $as_echo_n "(cached) " >&6
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21206 /* end confdefs.h. */
21208 #ifdef HAVE_IEEEFP_H
21209 #include <ieeefp.h>
21220 if ac_fn_cxx_try_compile "$LINENO"; then :
21221 glibcxx_cv_func_fpclass_use=yes
21223 glibcxx_cv_func_fpclass_use=no
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 ac_cpp='$CPP $CPPFLAGS'
21228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21237 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21239 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21240 for ac_func in fpclass
21242 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21243 if test "x$ac_cv_func_fpclass" = x""yes; then :
21244 cat >>confdefs.h <<_ACEOF
21245 #define HAVE_FPCLASS 1
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21254 $as_echo_n "checking for _fpclass declaration... " >&6; }
21255 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21256 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21257 $as_echo_n "(cached) " >&6
21262 ac_cpp='$CXXCPP $CPPFLAGS'
21263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21268 /* end confdefs.h. */
21270 #ifdef HAVE_IEEEFP_H
21271 #include <ieeefp.h>
21282 if ac_fn_cxx_try_compile "$LINENO"; then :
21283 glibcxx_cv_func__fpclass_use=yes
21285 glibcxx_cv_func__fpclass_use=no
21287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 ac_cpp='$CPP $CPPFLAGS'
21290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21299 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21301 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21302 for ac_func in _fpclass
21304 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21305 if test "x$ac_cv_func__fpclass" = x""yes; then :
21306 cat >>confdefs.h <<_ACEOF
21307 #define HAVE__FPCLASS 1
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21321 $as_echo_n "checking for qfpclass declaration... " >&6; }
21322 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21323 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21324 $as_echo_n "(cached) " >&6
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21335 /* end confdefs.h. */
21337 #ifdef HAVE_IEEEFP_H
21338 #include <ieeefp.h>
21349 if ac_fn_cxx_try_compile "$LINENO"; then :
21350 glibcxx_cv_func_qfpclass_use=yes
21352 glibcxx_cv_func_qfpclass_use=no
21354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356 ac_cpp='$CPP $CPPFLAGS'
21357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21366 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21368 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21369 for ac_func in qfpclass
21371 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21372 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21373 cat >>confdefs.h <<_ACEOF
21374 #define HAVE_QFPCLASS 1
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21383 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21384 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21385 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21386 $as_echo_n "(cached) " >&6
21391 ac_cpp='$CXXCPP $CPPFLAGS'
21392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21397 /* end confdefs.h. */
21399 #ifdef HAVE_IEEEFP_H
21400 #include <ieeefp.h>
21411 if ac_fn_cxx_try_compile "$LINENO"; then :
21412 glibcxx_cv_func__qfpclass_use=yes
21414 glibcxx_cv_func__qfpclass_use=no
21416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21418 ac_cpp='$CPP $CPPFLAGS'
21419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21428 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21430 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21431 for ac_func in _qfpclass
21433 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21434 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21435 cat >>confdefs.h <<_ACEOF
21436 #define HAVE__QFPCLASS 1
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21450 $as_echo_n "checking for hypot declaration... " >&6; }
21451 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21452 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21453 $as_echo_n "(cached) " >&6
21458 ac_cpp='$CXXCPP $CPPFLAGS'
21459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21474 if ac_fn_cxx_try_compile "$LINENO"; then :
21475 glibcxx_cv_func_hypot_use=yes
21477 glibcxx_cv_func_hypot_use=no
21479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 ac_cpp='$CPP $CPPFLAGS'
21482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21491 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21493 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21494 for ac_func in hypot
21496 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21497 if test "x$ac_cv_func_hypot" = x""yes; then :
21498 cat >>confdefs.h <<_ACEOF
21499 #define HAVE_HYPOT 1
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21508 $as_echo_n "checking for _hypot declaration... " >&6; }
21509 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21510 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21511 $as_echo_n "(cached) " >&6
21516 ac_cpp='$CXXCPP $CPPFLAGS'
21517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21522 /* end confdefs.h. */
21532 if ac_fn_cxx_try_compile "$LINENO"; then :
21533 glibcxx_cv_func__hypot_use=yes
21535 glibcxx_cv_func__hypot_use=no
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 ac_cpp='$CPP $CPPFLAGS'
21540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21549 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21551 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21552 for ac_func in _hypot
21554 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21555 if test "x$ac_cv_func__hypot" = x""yes; then :
21556 cat >>confdefs.h <<_ACEOF
21557 #define HAVE__HYPOT 1
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21571 $as_echo_n "checking for float trig functions... " >&6; }
21572 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21573 $as_echo_n "(cached) " >&6
21578 ac_cpp='$CXXCPP $CPPFLAGS'
21579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21589 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21594 if ac_fn_cxx_try_compile "$LINENO"; then :
21595 glibcxx_cv_func_float_trig_use=yes
21597 glibcxx_cv_func_float_trig_use=no
21599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21601 ac_cpp='$CPP $CPPFLAGS'
21602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21609 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21610 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21611 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21615 eval as_val=\$$as_ac_var
21616 if test "x$as_val" = x""yes; then :
21617 cat >>confdefs.h <<_ACEOF
21618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21626 $as_echo_n "checking for _float trig functions... " >&6; }
21627 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21633 ac_cpp='$CXXCPP $CPPFLAGS'
21634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21644 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21649 if ac_fn_cxx_try_compile "$LINENO"; then :
21650 glibcxx_cv_func__float_trig_use=yes
21652 glibcxx_cv_func__float_trig_use=no
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 ac_cpp='$CPP $CPPFLAGS'
21657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21664 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21665 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21666 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21670 eval as_val=\$$as_ac_var
21671 if test "x$as_val" = x""yes; then :
21672 cat >>confdefs.h <<_ACEOF
21673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21687 $as_echo_n "checking for float round functions... " >&6; }
21688 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21689 $as_echo_n "(cached) " >&6
21694 ac_cpp='$CXXCPP $CPPFLAGS'
21695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21700 /* end confdefs.h. */
21705 ceilf (0); floorf (0);
21710 if ac_fn_cxx_try_compile "$LINENO"; then :
21711 glibcxx_cv_func_float_round_use=yes
21713 glibcxx_cv_func_float_round_use=no
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21717 ac_cpp='$CPP $CPPFLAGS'
21718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21725 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21726 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21727 for ac_func in ceilf floorf
21729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21731 eval as_val=\$$as_ac_var
21732 if test "x$as_val" = x""yes; then :
21733 cat >>confdefs.h <<_ACEOF
21734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21742 $as_echo_n "checking for _float round functions... " >&6; }
21743 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21744 $as_echo_n "(cached) " >&6
21749 ac_cpp='$CXXCPP $CPPFLAGS'
21750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21755 /* end confdefs.h. */
21760 _ceilf (0); _floorf (0);
21765 if ac_fn_cxx_try_compile "$LINENO"; then :
21766 glibcxx_cv_func__float_round_use=yes
21768 glibcxx_cv_func__float_round_use=no
21770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21780 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21781 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21782 for ac_func in _ceilf _floorf
21784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21786 eval as_val=\$$as_ac_var
21787 if test "x$as_val" = x""yes; then :
21788 cat >>confdefs.h <<_ACEOF
21789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21804 $as_echo_n "checking for expf declaration... " >&6; }
21805 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21806 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21807 $as_echo_n "(cached) " >&6
21812 ac_cpp='$CXXCPP $CPPFLAGS'
21813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21818 /* end confdefs.h. */
21820 #ifdef HAVE_IEEEFP_H
21821 #include <ieeefp.h>
21832 if ac_fn_cxx_try_compile "$LINENO"; then :
21833 glibcxx_cv_func_expf_use=yes
21835 glibcxx_cv_func_expf_use=no
21837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839 ac_cpp='$CPP $CPPFLAGS'
21840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21849 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21851 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21852 for ac_func in expf
21854 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21855 if test "x$ac_cv_func_expf" = x""yes; then :
21856 cat >>confdefs.h <<_ACEOF
21857 #define HAVE_EXPF 1
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21866 $as_echo_n "checking for _expf declaration... " >&6; }
21867 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21868 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21869 $as_echo_n "(cached) " >&6
21874 ac_cpp='$CXXCPP $CPPFLAGS'
21875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21882 #ifdef HAVE_IEEEFP_H
21883 #include <ieeefp.h>
21894 if ac_fn_cxx_try_compile "$LINENO"; then :
21895 glibcxx_cv_func__expf_use=yes
21897 glibcxx_cv_func__expf_use=no
21899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21901 ac_cpp='$CPP $CPPFLAGS'
21902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21911 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21913 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21914 for ac_func in _expf
21916 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21917 if test "x$ac_cv_func__expf" = x""yes; then :
21918 cat >>confdefs.h <<_ACEOF
21919 #define HAVE__EXPF 1
21932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21933 $as_echo_n "checking for isnanf declaration... " >&6; }
21934 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21935 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21936 $as_echo_n "(cached) " >&6
21941 ac_cpp='$CXXCPP $CPPFLAGS'
21942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h. */
21949 #ifdef HAVE_IEEEFP_H
21950 #include <ieeefp.h>
21961 if ac_fn_cxx_try_compile "$LINENO"; then :
21962 glibcxx_cv_func_isnanf_use=yes
21964 glibcxx_cv_func_isnanf_use=no
21966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21968 ac_cpp='$CPP $CPPFLAGS'
21969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21978 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21980 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21981 for ac_func in isnanf
21983 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21984 if test "x$ac_cv_func_isnanf" = x""yes; then :
21985 cat >>confdefs.h <<_ACEOF
21986 #define HAVE_ISNANF 1
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21995 $as_echo_n "checking for _isnanf declaration... " >&6; }
21996 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21997 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21998 $as_echo_n "(cached) " >&6
22003 ac_cpp='$CXXCPP $CPPFLAGS'
22004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22009 /* end confdefs.h. */
22011 #ifdef HAVE_IEEEFP_H
22012 #include <ieeefp.h>
22023 if ac_fn_cxx_try_compile "$LINENO"; then :
22024 glibcxx_cv_func__isnanf_use=yes
22026 glibcxx_cv_func__isnanf_use=no
22028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22030 ac_cpp='$CPP $CPPFLAGS'
22031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22040 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22042 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22043 for ac_func in _isnanf
22045 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22046 if test "x$ac_cv_func__isnanf" = x""yes; then :
22047 cat >>confdefs.h <<_ACEOF
22048 #define HAVE__ISNANF 1
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22062 $as_echo_n "checking for isinff declaration... " >&6; }
22063 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22064 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22065 $as_echo_n "(cached) " >&6
22070 ac_cpp='$CXXCPP $CPPFLAGS'
22071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22076 /* end confdefs.h. */
22078 #ifdef HAVE_IEEEFP_H
22079 #include <ieeefp.h>
22090 if ac_fn_cxx_try_compile "$LINENO"; then :
22091 glibcxx_cv_func_isinff_use=yes
22093 glibcxx_cv_func_isinff_use=no
22095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22097 ac_cpp='$CPP $CPPFLAGS'
22098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22107 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22109 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22110 for ac_func in isinff
22112 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22113 if test "x$ac_cv_func_isinff" = x""yes; then :
22114 cat >>confdefs.h <<_ACEOF
22115 #define HAVE_ISINFF 1
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22124 $as_echo_n "checking for _isinff declaration... " >&6; }
22125 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22126 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22127 $as_echo_n "(cached) " >&6
22132 ac_cpp='$CXXCPP $CPPFLAGS'
22133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22140 #ifdef HAVE_IEEEFP_H
22141 #include <ieeefp.h>
22152 if ac_fn_cxx_try_compile "$LINENO"; then :
22153 glibcxx_cv_func__isinff_use=yes
22155 glibcxx_cv_func__isinff_use=no
22157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22159 ac_cpp='$CPP $CPPFLAGS'
22160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22169 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22171 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22172 for ac_func in _isinff
22174 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22175 if test "x$ac_cv_func__isinff" = x""yes; then :
22176 cat >>confdefs.h <<_ACEOF
22177 #define HAVE__ISINFF 1
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22191 $as_echo_n "checking for atan2f declaration... " >&6; }
22192 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22193 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22194 $as_echo_n "(cached) " >&6
22199 ac_cpp='$CXXCPP $CPPFLAGS'
22200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22205 /* end confdefs.h. */
22215 if ac_fn_cxx_try_compile "$LINENO"; then :
22216 glibcxx_cv_func_atan2f_use=yes
22218 glibcxx_cv_func_atan2f_use=no
22220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22222 ac_cpp='$CPP $CPPFLAGS'
22223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22232 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22234 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22235 for ac_func in atan2f
22237 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22238 if test "x$ac_cv_func_atan2f" = x""yes; then :
22239 cat >>confdefs.h <<_ACEOF
22240 #define HAVE_ATAN2F 1
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22249 $as_echo_n "checking for _atan2f declaration... " >&6; }
22250 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22251 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22252 $as_echo_n "(cached) " >&6
22257 ac_cpp='$CXXCPP $CPPFLAGS'
22258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22263 /* end confdefs.h. */
22273 if ac_fn_cxx_try_compile "$LINENO"; then :
22274 glibcxx_cv_func__atan2f_use=yes
22276 glibcxx_cv_func__atan2f_use=no
22278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22280 ac_cpp='$CPP $CPPFLAGS'
22281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22290 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22292 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22293 for ac_func in _atan2f
22295 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22296 if test "x$ac_cv_func__atan2f" = x""yes; then :
22297 cat >>confdefs.h <<_ACEOF
22298 #define HAVE__ATAN2F 1
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22312 $as_echo_n "checking for fabsf declaration... " >&6; }
22313 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22314 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22315 $as_echo_n "(cached) " >&6
22320 ac_cpp='$CXXCPP $CPPFLAGS'
22321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22326 /* end confdefs.h. */
22328 #ifdef HAVE_IEEEFP_H
22329 #include <ieeefp.h>
22340 if ac_fn_cxx_try_compile "$LINENO"; then :
22341 glibcxx_cv_func_fabsf_use=yes
22343 glibcxx_cv_func_fabsf_use=no
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347 ac_cpp='$CPP $CPPFLAGS'
22348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22357 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22359 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22360 for ac_func in fabsf
22362 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22363 if test "x$ac_cv_func_fabsf" = x""yes; then :
22364 cat >>confdefs.h <<_ACEOF
22365 #define HAVE_FABSF 1
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22374 $as_echo_n "checking for _fabsf declaration... " >&6; }
22375 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22376 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22377 $as_echo_n "(cached) " >&6
22382 ac_cpp='$CXXCPP $CPPFLAGS'
22383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22388 /* end confdefs.h. */
22390 #ifdef HAVE_IEEEFP_H
22391 #include <ieeefp.h>
22402 if ac_fn_cxx_try_compile "$LINENO"; then :
22403 glibcxx_cv_func__fabsf_use=yes
22405 glibcxx_cv_func__fabsf_use=no
22407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22409 ac_cpp='$CPP $CPPFLAGS'
22410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22419 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22421 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22422 for ac_func in _fabsf
22424 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22425 if test "x$ac_cv_func__fabsf" = x""yes; then :
22426 cat >>confdefs.h <<_ACEOF
22427 #define HAVE__FABSF 1
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22441 $as_echo_n "checking for fmodf declaration... " >&6; }
22442 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22443 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22444 $as_echo_n "(cached) " >&6
22449 ac_cpp='$CXXCPP $CPPFLAGS'
22450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22465 if ac_fn_cxx_try_compile "$LINENO"; then :
22466 glibcxx_cv_func_fmodf_use=yes
22468 glibcxx_cv_func_fmodf_use=no
22470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22472 ac_cpp='$CPP $CPPFLAGS'
22473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22482 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22484 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22485 for ac_func in fmodf
22487 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22488 if test "x$ac_cv_func_fmodf" = x""yes; then :
22489 cat >>confdefs.h <<_ACEOF
22490 #define HAVE_FMODF 1
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22499 $as_echo_n "checking for _fmodf declaration... " >&6; }
22500 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22501 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22502 $as_echo_n "(cached) " >&6
22507 ac_cpp='$CXXCPP $CPPFLAGS'
22508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22513 /* end confdefs.h. */
22523 if ac_fn_cxx_try_compile "$LINENO"; then :
22524 glibcxx_cv_func__fmodf_use=yes
22526 glibcxx_cv_func__fmodf_use=no
22528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 ac_cpp='$CPP $CPPFLAGS'
22531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22540 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22542 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22543 for ac_func in _fmodf
22545 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22546 if test "x$ac_cv_func__fmodf" = x""yes; then :
22547 cat >>confdefs.h <<_ACEOF
22548 #define HAVE__FMODF 1
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22562 $as_echo_n "checking for frexpf declaration... " >&6; }
22563 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22564 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22565 $as_echo_n "(cached) " >&6
22570 ac_cpp='$CXXCPP $CPPFLAGS'
22571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22576 /* end confdefs.h. */
22586 if ac_fn_cxx_try_compile "$LINENO"; then :
22587 glibcxx_cv_func_frexpf_use=yes
22589 glibcxx_cv_func_frexpf_use=no
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593 ac_cpp='$CPP $CPPFLAGS'
22594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22603 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22605 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22606 for ac_func in frexpf
22608 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22609 if test "x$ac_cv_func_frexpf" = x""yes; then :
22610 cat >>confdefs.h <<_ACEOF
22611 #define HAVE_FREXPF 1
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22620 $as_echo_n "checking for _frexpf declaration... " >&6; }
22621 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22622 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22623 $as_echo_n "(cached) " >&6
22628 ac_cpp='$CXXCPP $CPPFLAGS'
22629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h. */
22644 if ac_fn_cxx_try_compile "$LINENO"; then :
22645 glibcxx_cv_func__frexpf_use=yes
22647 glibcxx_cv_func__frexpf_use=no
22649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22651 ac_cpp='$CPP $CPPFLAGS'
22652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22661 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22663 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22664 for ac_func in _frexpf
22666 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22667 if test "x$ac_cv_func__frexpf" = x""yes; then :
22668 cat >>confdefs.h <<_ACEOF
22669 #define HAVE__FREXPF 1
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22683 $as_echo_n "checking for hypotf declaration... " >&6; }
22684 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22685 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22686 $as_echo_n "(cached) " >&6
22691 ac_cpp='$CXXCPP $CPPFLAGS'
22692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22707 if ac_fn_cxx_try_compile "$LINENO"; then :
22708 glibcxx_cv_func_hypotf_use=yes
22710 glibcxx_cv_func_hypotf_use=no
22712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22714 ac_cpp='$CPP $CPPFLAGS'
22715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22724 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22726 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22727 for ac_func in hypotf
22729 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22730 if test "x$ac_cv_func_hypotf" = x""yes; then :
22731 cat >>confdefs.h <<_ACEOF
22732 #define HAVE_HYPOTF 1
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22741 $as_echo_n "checking for _hypotf declaration... " >&6; }
22742 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22743 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22744 $as_echo_n "(cached) " >&6
22749 ac_cpp='$CXXCPP $CPPFLAGS'
22750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22755 /* end confdefs.h. */
22765 if ac_fn_cxx_try_compile "$LINENO"; then :
22766 glibcxx_cv_func__hypotf_use=yes
22768 glibcxx_cv_func__hypotf_use=no
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22772 ac_cpp='$CPP $CPPFLAGS'
22773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22782 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22784 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22785 for ac_func in _hypotf
22787 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22788 if test "x$ac_cv_func__hypotf" = x""yes; then :
22789 cat >>confdefs.h <<_ACEOF
22790 #define HAVE__HYPOTF 1
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22804 $as_echo_n "checking for ldexpf declaration... " >&6; }
22805 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22806 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22807 $as_echo_n "(cached) " >&6
22812 ac_cpp='$CXXCPP $CPPFLAGS'
22813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22818 /* end confdefs.h. */
22828 if ac_fn_cxx_try_compile "$LINENO"; then :
22829 glibcxx_cv_func_ldexpf_use=yes
22831 glibcxx_cv_func_ldexpf_use=no
22833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22835 ac_cpp='$CPP $CPPFLAGS'
22836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22845 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22847 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22848 for ac_func in ldexpf
22850 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22851 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22852 cat >>confdefs.h <<_ACEOF
22853 #define HAVE_LDEXPF 1
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22862 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22863 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22864 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22865 $as_echo_n "(cached) " >&6
22870 ac_cpp='$CXXCPP $CPPFLAGS'
22871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22876 /* end confdefs.h. */
22886 if ac_fn_cxx_try_compile "$LINENO"; then :
22887 glibcxx_cv_func__ldexpf_use=yes
22889 glibcxx_cv_func__ldexpf_use=no
22891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22893 ac_cpp='$CPP $CPPFLAGS'
22894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22903 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22905 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22906 for ac_func in _ldexpf
22908 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22909 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22910 cat >>confdefs.h <<_ACEOF
22911 #define HAVE__LDEXPF 1
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22925 $as_echo_n "checking for logf declaration... " >&6; }
22926 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22927 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22928 $as_echo_n "(cached) " >&6
22933 ac_cpp='$CXXCPP $CPPFLAGS'
22934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22941 #ifdef HAVE_IEEEFP_H
22942 #include <ieeefp.h>
22953 if ac_fn_cxx_try_compile "$LINENO"; then :
22954 glibcxx_cv_func_logf_use=yes
22956 glibcxx_cv_func_logf_use=no
22958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22960 ac_cpp='$CPP $CPPFLAGS'
22961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22970 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22972 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22973 for ac_func in logf
22975 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22976 if test "x$ac_cv_func_logf" = x""yes; then :
22977 cat >>confdefs.h <<_ACEOF
22978 #define HAVE_LOGF 1
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22987 $as_echo_n "checking for _logf declaration... " >&6; }
22988 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22989 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22990 $as_echo_n "(cached) " >&6
22995 ac_cpp='$CXXCPP $CPPFLAGS'
22996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h. */
23003 #ifdef HAVE_IEEEFP_H
23004 #include <ieeefp.h>
23015 if ac_fn_cxx_try_compile "$LINENO"; then :
23016 glibcxx_cv_func__logf_use=yes
23018 glibcxx_cv_func__logf_use=no
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23022 ac_cpp='$CPP $CPPFLAGS'
23023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23032 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23034 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23035 for ac_func in _logf
23037 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23038 if test "x$ac_cv_func__logf" = x""yes; then :
23039 cat >>confdefs.h <<_ACEOF
23040 #define HAVE__LOGF 1
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23054 $as_echo_n "checking for log10f declaration... " >&6; }
23055 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23056 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23057 $as_echo_n "(cached) " >&6
23062 ac_cpp='$CXXCPP $CPPFLAGS'
23063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23068 /* end confdefs.h. */
23070 #ifdef HAVE_IEEEFP_H
23071 #include <ieeefp.h>
23082 if ac_fn_cxx_try_compile "$LINENO"; then :
23083 glibcxx_cv_func_log10f_use=yes
23085 glibcxx_cv_func_log10f_use=no
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 ac_cpp='$CPP $CPPFLAGS'
23090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23099 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23101 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23102 for ac_func in log10f
23104 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23105 if test "x$ac_cv_func_log10f" = x""yes; then :
23106 cat >>confdefs.h <<_ACEOF
23107 #define HAVE_LOG10F 1
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23116 $as_echo_n "checking for _log10f declaration... " >&6; }
23117 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23118 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23119 $as_echo_n "(cached) " >&6
23124 ac_cpp='$CXXCPP $CPPFLAGS'
23125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23130 /* end confdefs.h. */
23132 #ifdef HAVE_IEEEFP_H
23133 #include <ieeefp.h>
23144 if ac_fn_cxx_try_compile "$LINENO"; then :
23145 glibcxx_cv_func__log10f_use=yes
23147 glibcxx_cv_func__log10f_use=no
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23151 ac_cpp='$CPP $CPPFLAGS'
23152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23161 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23163 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23164 for ac_func in _log10f
23166 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23167 if test "x$ac_cv_func__log10f" = x""yes; then :
23168 cat >>confdefs.h <<_ACEOF
23169 #define HAVE__LOG10F 1
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23183 $as_echo_n "checking for modff declaration... " >&6; }
23184 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23185 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23186 $as_echo_n "(cached) " >&6
23191 ac_cpp='$CXXCPP $CPPFLAGS'
23192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23197 /* end confdefs.h. */
23207 if ac_fn_cxx_try_compile "$LINENO"; then :
23208 glibcxx_cv_func_modff_use=yes
23210 glibcxx_cv_func_modff_use=no
23212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23214 ac_cpp='$CPP $CPPFLAGS'
23215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23224 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23226 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23227 for ac_func in modff
23229 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23230 if test "x$ac_cv_func_modff" = x""yes; then :
23231 cat >>confdefs.h <<_ACEOF
23232 #define HAVE_MODFF 1
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23241 $as_echo_n "checking for _modff declaration... " >&6; }
23242 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23243 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23244 $as_echo_n "(cached) " >&6
23249 ac_cpp='$CXXCPP $CPPFLAGS'
23250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23255 /* end confdefs.h. */
23265 if ac_fn_cxx_try_compile "$LINENO"; then :
23266 glibcxx_cv_func__modff_use=yes
23268 glibcxx_cv_func__modff_use=no
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 ac_cpp='$CPP $CPPFLAGS'
23273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23282 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23284 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23285 for ac_func in _modff
23287 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23288 if test "x$ac_cv_func__modff" = x""yes; then :
23289 cat >>confdefs.h <<_ACEOF
23290 #define HAVE__MODFF 1
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23304 $as_echo_n "checking for modf declaration... " >&6; }
23305 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23306 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23307 $as_echo_n "(cached) " >&6
23312 ac_cpp='$CXXCPP $CPPFLAGS'
23313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23328 if ac_fn_cxx_try_compile "$LINENO"; then :
23329 glibcxx_cv_func_modf_use=yes
23331 glibcxx_cv_func_modf_use=no
23333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23335 ac_cpp='$CPP $CPPFLAGS'
23336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23345 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23347 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23348 for ac_func in modf
23350 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23351 if test "x$ac_cv_func_modf" = x""yes; then :
23352 cat >>confdefs.h <<_ACEOF
23353 #define HAVE_MODF 1
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23362 $as_echo_n "checking for _modf declaration... " >&6; }
23363 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23364 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23365 $as_echo_n "(cached) " >&6
23370 ac_cpp='$CXXCPP $CPPFLAGS'
23371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23376 /* end confdefs.h. */
23386 if ac_fn_cxx_try_compile "$LINENO"; then :
23387 glibcxx_cv_func__modf_use=yes
23389 glibcxx_cv_func__modf_use=no
23391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23393 ac_cpp='$CPP $CPPFLAGS'
23394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23403 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23405 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23406 for ac_func in _modf
23408 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23409 if test "x$ac_cv_func__modf" = x""yes; then :
23410 cat >>confdefs.h <<_ACEOF
23411 #define HAVE__MODF 1
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23425 $as_echo_n "checking for powf declaration... " >&6; }
23426 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23427 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23428 $as_echo_n "(cached) " >&6
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 confdefs.h - <<_ACEOF >conftest.$ac_ext
23439 /* end confdefs.h. */
23449 if ac_fn_cxx_try_compile "$LINENO"; then :
23450 glibcxx_cv_func_powf_use=yes
23452 glibcxx_cv_func_powf_use=no
23454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23456 ac_cpp='$CPP $CPPFLAGS'
23457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23466 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23468 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23469 for ac_func in powf
23471 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23472 if test "x$ac_cv_func_powf" = x""yes; then :
23473 cat >>confdefs.h <<_ACEOF
23474 #define HAVE_POWF 1
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23483 $as_echo_n "checking for _powf declaration... " >&6; }
23484 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23485 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23486 $as_echo_n "(cached) " >&6
23491 ac_cpp='$CXXCPP $CPPFLAGS'
23492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23497 /* end confdefs.h. */
23507 if ac_fn_cxx_try_compile "$LINENO"; then :
23508 glibcxx_cv_func__powf_use=yes
23510 glibcxx_cv_func__powf_use=no
23512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23514 ac_cpp='$CPP $CPPFLAGS'
23515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23524 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23526 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23527 for ac_func in _powf
23529 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23530 if test "x$ac_cv_func__powf" = x""yes; then :
23531 cat >>confdefs.h <<_ACEOF
23532 #define HAVE__POWF 1
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23546 $as_echo_n "checking for sqrtf declaration... " >&6; }
23547 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23548 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23549 $as_echo_n "(cached) " >&6
23554 ac_cpp='$CXXCPP $CPPFLAGS'
23555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h. */
23562 #ifdef HAVE_IEEEFP_H
23563 #include <ieeefp.h>
23574 if ac_fn_cxx_try_compile "$LINENO"; then :
23575 glibcxx_cv_func_sqrtf_use=yes
23577 glibcxx_cv_func_sqrtf_use=no
23579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23581 ac_cpp='$CPP $CPPFLAGS'
23582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23591 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23593 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23594 for ac_func in sqrtf
23596 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23597 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23598 cat >>confdefs.h <<_ACEOF
23599 #define HAVE_SQRTF 1
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23608 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23609 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23610 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23611 $as_echo_n "(cached) " >&6
23616 ac_cpp='$CXXCPP $CPPFLAGS'
23617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23622 /* end confdefs.h. */
23624 #ifdef HAVE_IEEEFP_H
23625 #include <ieeefp.h>
23636 if ac_fn_cxx_try_compile "$LINENO"; then :
23637 glibcxx_cv_func__sqrtf_use=yes
23639 glibcxx_cv_func__sqrtf_use=no
23641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23643 ac_cpp='$CPP $CPPFLAGS'
23644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23653 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23655 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23656 for ac_func in _sqrtf
23658 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23659 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23660 cat >>confdefs.h <<_ACEOF
23661 #define HAVE__SQRTF 1
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23675 $as_echo_n "checking for sincosf declaration... " >&6; }
23676 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23677 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23678 $as_echo_n "(cached) " >&6
23683 ac_cpp='$CXXCPP $CPPFLAGS'
23684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23689 /* end confdefs.h. */
23699 if ac_fn_cxx_try_compile "$LINENO"; then :
23700 glibcxx_cv_func_sincosf_use=yes
23702 glibcxx_cv_func_sincosf_use=no
23704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706 ac_cpp='$CPP $CPPFLAGS'
23707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23716 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23718 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23719 for ac_func in sincosf
23721 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23722 if test "x$ac_cv_func_sincosf" = x""yes; then :
23723 cat >>confdefs.h <<_ACEOF
23724 #define HAVE_SINCOSF 1
23732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23733 $as_echo_n "checking for _sincosf declaration... " >&6; }
23734 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23735 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23736 $as_echo_n "(cached) " >&6
23741 ac_cpp='$CXXCPP $CPPFLAGS'
23742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23747 /* end confdefs.h. */
23757 if ac_fn_cxx_try_compile "$LINENO"; then :
23758 glibcxx_cv_func__sincosf_use=yes
23760 glibcxx_cv_func__sincosf_use=no
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23764 ac_cpp='$CPP $CPPFLAGS'
23765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23774 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23776 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23777 for ac_func in _sincosf
23779 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23780 if test "x$ac_cv_func__sincosf" = x""yes; then :
23781 cat >>confdefs.h <<_ACEOF
23782 #define HAVE__SINCOSF 1
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23796 $as_echo_n "checking for finitef declaration... " >&6; }
23797 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23798 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23799 $as_echo_n "(cached) " >&6
23804 ac_cpp='$CXXCPP $CPPFLAGS'
23805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23810 /* end confdefs.h. */
23812 #ifdef HAVE_IEEEFP_H
23813 #include <ieeefp.h>
23824 if ac_fn_cxx_try_compile "$LINENO"; then :
23825 glibcxx_cv_func_finitef_use=yes
23827 glibcxx_cv_func_finitef_use=no
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23831 ac_cpp='$CPP $CPPFLAGS'
23832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23841 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23843 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23844 for ac_func in finitef
23846 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23847 if test "x$ac_cv_func_finitef" = x""yes; then :
23848 cat >>confdefs.h <<_ACEOF
23849 #define HAVE_FINITEF 1
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23858 $as_echo_n "checking for _finitef declaration... " >&6; }
23859 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23860 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23861 $as_echo_n "(cached) " >&6
23866 ac_cpp='$CXXCPP $CPPFLAGS'
23867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23872 /* end confdefs.h. */
23874 #ifdef HAVE_IEEEFP_H
23875 #include <ieeefp.h>
23886 if ac_fn_cxx_try_compile "$LINENO"; then :
23887 glibcxx_cv_func__finitef_use=yes
23889 glibcxx_cv_func__finitef_use=no
23891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23893 ac_cpp='$CPP $CPPFLAGS'
23894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23903 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23905 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23906 for ac_func in _finitef
23908 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23909 if test "x$ac_cv_func__finitef" = x""yes; then :
23910 cat >>confdefs.h <<_ACEOF
23911 #define HAVE__FINITEF 1
23924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23925 $as_echo_n "checking for long double trig functions... " >&6; }
23926 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23927 $as_echo_n "(cached) " >&6
23932 ac_cpp='$CXXCPP $CPPFLAGS'
23933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23938 /* end confdefs.h. */
23943 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23948 if ac_fn_cxx_try_compile "$LINENO"; then :
23949 glibcxx_cv_func_long_double_trig_use=yes
23951 glibcxx_cv_func_long_double_trig_use=no
23953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23955 ac_cpp='$CPP $CPPFLAGS'
23956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23963 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23964 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23965 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23969 eval as_val=\$$as_ac_var
23970 if test "x$as_val" = x""yes; then :
23971 cat >>confdefs.h <<_ACEOF
23972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23980 $as_echo_n "checking for _long double trig functions... " >&6; }
23981 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23982 $as_echo_n "(cached) " >&6
23987 ac_cpp='$CXXCPP $CPPFLAGS'
23988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h. */
23998 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24003 if ac_fn_cxx_try_compile "$LINENO"; then :
24004 glibcxx_cv_func__long_double_trig_use=yes
24006 glibcxx_cv_func__long_double_trig_use=no
24008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24018 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24019 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24020 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24024 eval as_val=\$$as_ac_var
24025 if test "x$as_val" = x""yes; then :
24026 cat >>confdefs.h <<_ACEOF
24027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24041 $as_echo_n "checking for long double round functions... " >&6; }
24042 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24043 $as_echo_n "(cached) " >&6
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h. */
24059 ceill (0); floorl (0);
24064 if ac_fn_cxx_try_compile "$LINENO"; then :
24065 glibcxx_cv_func_long_double_round_use=yes
24067 glibcxx_cv_func_long_double_round_use=no
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24071 ac_cpp='$CPP $CPPFLAGS'
24072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24079 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24080 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24081 for ac_func in ceill floorl
24083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24085 eval as_val=\$$as_ac_var
24086 if test "x$as_val" = x""yes; then :
24087 cat >>confdefs.h <<_ACEOF
24088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24096 $as_echo_n "checking for _long double round functions... " >&6; }
24097 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24098 $as_echo_n "(cached) " >&6
24103 ac_cpp='$CXXCPP $CPPFLAGS'
24104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24109 /* end confdefs.h. */
24114 _ceill (0); _floorl (0);
24119 if ac_fn_cxx_try_compile "$LINENO"; then :
24120 glibcxx_cv_func__long_double_round_use=yes
24122 glibcxx_cv_func__long_double_round_use=no
24124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24126 ac_cpp='$CPP $CPPFLAGS'
24127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24134 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24135 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24136 for ac_func in _ceill _floorl
24138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24140 eval as_val=\$$as_ac_var
24141 if test "x$as_val" = x""yes; then :
24142 cat >>confdefs.h <<_ACEOF
24143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24158 $as_echo_n "checking for isnanl declaration... " >&6; }
24159 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24160 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24161 $as_echo_n "(cached) " >&6
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24174 #ifdef HAVE_IEEEFP_H
24175 #include <ieeefp.h>
24186 if ac_fn_cxx_try_compile "$LINENO"; then :
24187 glibcxx_cv_func_isnanl_use=yes
24189 glibcxx_cv_func_isnanl_use=no
24191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24193 ac_cpp='$CPP $CPPFLAGS'
24194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24203 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24205 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24206 for ac_func in isnanl
24208 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24209 if test "x$ac_cv_func_isnanl" = x""yes; then :
24210 cat >>confdefs.h <<_ACEOF
24211 #define HAVE_ISNANL 1
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24220 $as_echo_n "checking for _isnanl declaration... " >&6; }
24221 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24222 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24223 $as_echo_n "(cached) " >&6
24228 ac_cpp='$CXXCPP $CPPFLAGS'
24229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24234 /* end confdefs.h. */
24236 #ifdef HAVE_IEEEFP_H
24237 #include <ieeefp.h>
24248 if ac_fn_cxx_try_compile "$LINENO"; then :
24249 glibcxx_cv_func__isnanl_use=yes
24251 glibcxx_cv_func__isnanl_use=no
24253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24255 ac_cpp='$CPP $CPPFLAGS'
24256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24265 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24267 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24268 for ac_func in _isnanl
24270 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24271 if test "x$ac_cv_func__isnanl" = x""yes; then :
24272 cat >>confdefs.h <<_ACEOF
24273 #define HAVE__ISNANL 1
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24287 $as_echo_n "checking for isinfl declaration... " >&6; }
24288 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24289 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24290 $as_echo_n "(cached) " >&6
24295 ac_cpp='$CXXCPP $CPPFLAGS'
24296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24301 /* end confdefs.h. */
24303 #ifdef HAVE_IEEEFP_H
24304 #include <ieeefp.h>
24315 if ac_fn_cxx_try_compile "$LINENO"; then :
24316 glibcxx_cv_func_isinfl_use=yes
24318 glibcxx_cv_func_isinfl_use=no
24320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24322 ac_cpp='$CPP $CPPFLAGS'
24323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24332 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24334 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24335 for ac_func in isinfl
24337 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24338 if test "x$ac_cv_func_isinfl" = x""yes; then :
24339 cat >>confdefs.h <<_ACEOF
24340 #define HAVE_ISINFL 1
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24349 $as_echo_n "checking for _isinfl declaration... " >&6; }
24350 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24351 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24352 $as_echo_n "(cached) " >&6
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24365 #ifdef HAVE_IEEEFP_H
24366 #include <ieeefp.h>
24377 if ac_fn_cxx_try_compile "$LINENO"; then :
24378 glibcxx_cv_func__isinfl_use=yes
24380 glibcxx_cv_func__isinfl_use=no
24382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24384 ac_cpp='$CPP $CPPFLAGS'
24385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24394 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24396 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24397 for ac_func in _isinfl
24399 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24400 if test "x$ac_cv_func__isinfl" = x""yes; then :
24401 cat >>confdefs.h <<_ACEOF
24402 #define HAVE__ISINFL 1
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24416 $as_echo_n "checking for atan2l declaration... " >&6; }
24417 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24418 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24419 $as_echo_n "(cached) " >&6
24424 ac_cpp='$CXXCPP $CPPFLAGS'
24425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24430 /* end confdefs.h. */
24440 if ac_fn_cxx_try_compile "$LINENO"; then :
24441 glibcxx_cv_func_atan2l_use=yes
24443 glibcxx_cv_func_atan2l_use=no
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24447 ac_cpp='$CPP $CPPFLAGS'
24448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24457 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24459 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24460 for ac_func in atan2l
24462 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24463 if test "x$ac_cv_func_atan2l" = x""yes; then :
24464 cat >>confdefs.h <<_ACEOF
24465 #define HAVE_ATAN2L 1
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24474 $as_echo_n "checking for _atan2l declaration... " >&6; }
24475 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24476 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24477 $as_echo_n "(cached) " >&6
24482 ac_cpp='$CXXCPP $CPPFLAGS'
24483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24488 /* end confdefs.h. */
24498 if ac_fn_cxx_try_compile "$LINENO"; then :
24499 glibcxx_cv_func__atan2l_use=yes
24501 glibcxx_cv_func__atan2l_use=no
24503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505 ac_cpp='$CPP $CPPFLAGS'
24506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24515 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24517 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24518 for ac_func in _atan2l
24520 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24521 if test "x$ac_cv_func__atan2l" = x""yes; then :
24522 cat >>confdefs.h <<_ACEOF
24523 #define HAVE__ATAN2L 1
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24537 $as_echo_n "checking for expl declaration... " >&6; }
24538 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24539 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24540 $as_echo_n "(cached) " >&6
24545 ac_cpp='$CXXCPP $CPPFLAGS'
24546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24551 /* end confdefs.h. */
24553 #ifdef HAVE_IEEEFP_H
24554 #include <ieeefp.h>
24565 if ac_fn_cxx_try_compile "$LINENO"; then :
24566 glibcxx_cv_func_expl_use=yes
24568 glibcxx_cv_func_expl_use=no
24570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572 ac_cpp='$CPP $CPPFLAGS'
24573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24582 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24584 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24585 for ac_func in expl
24587 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24588 if test "x$ac_cv_func_expl" = x""yes; then :
24589 cat >>confdefs.h <<_ACEOF
24590 #define HAVE_EXPL 1
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24599 $as_echo_n "checking for _expl declaration... " >&6; }
24600 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24601 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24602 $as_echo_n "(cached) " >&6
24607 ac_cpp='$CXXCPP $CPPFLAGS'
24608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24613 /* end confdefs.h. */
24615 #ifdef HAVE_IEEEFP_H
24616 #include <ieeefp.h>
24627 if ac_fn_cxx_try_compile "$LINENO"; then :
24628 glibcxx_cv_func__expl_use=yes
24630 glibcxx_cv_func__expl_use=no
24632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24634 ac_cpp='$CPP $CPPFLAGS'
24635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24644 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24646 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24647 for ac_func in _expl
24649 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24650 if test "x$ac_cv_func__expl" = x""yes; then :
24651 cat >>confdefs.h <<_ACEOF
24652 #define HAVE__EXPL 1
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24666 $as_echo_n "checking for fabsl declaration... " >&6; }
24667 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24668 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24669 $as_echo_n "(cached) " >&6
24674 ac_cpp='$CXXCPP $CPPFLAGS'
24675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h. */
24682 #ifdef HAVE_IEEEFP_H
24683 #include <ieeefp.h>
24694 if ac_fn_cxx_try_compile "$LINENO"; then :
24695 glibcxx_cv_func_fabsl_use=yes
24697 glibcxx_cv_func_fabsl_use=no
24699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24701 ac_cpp='$CPP $CPPFLAGS'
24702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24711 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24713 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24714 for ac_func in fabsl
24716 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24717 if test "x$ac_cv_func_fabsl" = x""yes; then :
24718 cat >>confdefs.h <<_ACEOF
24719 #define HAVE_FABSL 1
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24728 $as_echo_n "checking for _fabsl declaration... " >&6; }
24729 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24730 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24731 $as_echo_n "(cached) " >&6
24736 ac_cpp='$CXXCPP $CPPFLAGS'
24737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24744 #ifdef HAVE_IEEEFP_H
24745 #include <ieeefp.h>
24756 if ac_fn_cxx_try_compile "$LINENO"; then :
24757 glibcxx_cv_func__fabsl_use=yes
24759 glibcxx_cv_func__fabsl_use=no
24761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763 ac_cpp='$CPP $CPPFLAGS'
24764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24773 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24775 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24776 for ac_func in _fabsl
24778 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24779 if test "x$ac_cv_func__fabsl" = x""yes; then :
24780 cat >>confdefs.h <<_ACEOF
24781 #define HAVE__FABSL 1
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24795 $as_echo_n "checking for fmodl declaration... " >&6; }
24796 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24797 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24798 $as_echo_n "(cached) " >&6
24803 ac_cpp='$CXXCPP $CPPFLAGS'
24804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24809 /* end confdefs.h. */
24819 if ac_fn_cxx_try_compile "$LINENO"; then :
24820 glibcxx_cv_func_fmodl_use=yes
24822 glibcxx_cv_func_fmodl_use=no
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24826 ac_cpp='$CPP $CPPFLAGS'
24827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24836 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24838 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24839 for ac_func in fmodl
24841 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24842 if test "x$ac_cv_func_fmodl" = x""yes; then :
24843 cat >>confdefs.h <<_ACEOF
24844 #define HAVE_FMODL 1
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24853 $as_echo_n "checking for _fmodl declaration... " >&6; }
24854 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24855 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24856 $as_echo_n "(cached) " >&6
24861 ac_cpp='$CXXCPP $CPPFLAGS'
24862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24867 /* end confdefs.h. */
24877 if ac_fn_cxx_try_compile "$LINENO"; then :
24878 glibcxx_cv_func__fmodl_use=yes
24880 glibcxx_cv_func__fmodl_use=no
24882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24884 ac_cpp='$CPP $CPPFLAGS'
24885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24894 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24896 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24897 for ac_func in _fmodl
24899 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24900 if test "x$ac_cv_func__fmodl" = x""yes; then :
24901 cat >>confdefs.h <<_ACEOF
24902 #define HAVE__FMODL 1
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24916 $as_echo_n "checking for frexpl declaration... " >&6; }
24917 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24918 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24919 $as_echo_n "(cached) " >&6
24924 ac_cpp='$CXXCPP $CPPFLAGS'
24925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24930 /* end confdefs.h. */
24940 if ac_fn_cxx_try_compile "$LINENO"; then :
24941 glibcxx_cv_func_frexpl_use=yes
24943 glibcxx_cv_func_frexpl_use=no
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24947 ac_cpp='$CPP $CPPFLAGS'
24948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24957 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24959 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24960 for ac_func in frexpl
24962 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24963 if test "x$ac_cv_func_frexpl" = x""yes; then :
24964 cat >>confdefs.h <<_ACEOF
24965 #define HAVE_FREXPL 1
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24974 $as_echo_n "checking for _frexpl declaration... " >&6; }
24975 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24976 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24977 $as_echo_n "(cached) " >&6
24982 ac_cpp='$CXXCPP $CPPFLAGS'
24983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24988 /* end confdefs.h. */
24998 if ac_fn_cxx_try_compile "$LINENO"; then :
24999 glibcxx_cv_func__frexpl_use=yes
25001 glibcxx_cv_func__frexpl_use=no
25003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25005 ac_cpp='$CPP $CPPFLAGS'
25006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25015 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25017 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25018 for ac_func in _frexpl
25020 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25021 if test "x$ac_cv_func__frexpl" = x""yes; then :
25022 cat >>confdefs.h <<_ACEOF
25023 #define HAVE__FREXPL 1
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25037 $as_echo_n "checking for hypotl declaration... " >&6; }
25038 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25039 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25040 $as_echo_n "(cached) " >&6
25045 ac_cpp='$CXXCPP $CPPFLAGS'
25046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25061 if ac_fn_cxx_try_compile "$LINENO"; then :
25062 glibcxx_cv_func_hypotl_use=yes
25064 glibcxx_cv_func_hypotl_use=no
25066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25068 ac_cpp='$CPP $CPPFLAGS'
25069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25078 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25080 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25081 for ac_func in hypotl
25083 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25084 if test "x$ac_cv_func_hypotl" = x""yes; then :
25085 cat >>confdefs.h <<_ACEOF
25086 #define HAVE_HYPOTL 1
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25095 $as_echo_n "checking for _hypotl declaration... " >&6; }
25096 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25097 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25098 $as_echo_n "(cached) " >&6
25103 ac_cpp='$CXXCPP $CPPFLAGS'
25104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25109 /* end confdefs.h. */
25119 if ac_fn_cxx_try_compile "$LINENO"; then :
25120 glibcxx_cv_func__hypotl_use=yes
25122 glibcxx_cv_func__hypotl_use=no
25124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25126 ac_cpp='$CPP $CPPFLAGS'
25127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25136 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25138 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25139 for ac_func in _hypotl
25141 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25142 if test "x$ac_cv_func__hypotl" = x""yes; then :
25143 cat >>confdefs.h <<_ACEOF
25144 #define HAVE__HYPOTL 1
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25158 $as_echo_n "checking for ldexpl declaration... " >&6; }
25159 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25160 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25161 $as_echo_n "(cached) " >&6
25166 ac_cpp='$CXXCPP $CPPFLAGS'
25167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25172 /* end confdefs.h. */
25182 if ac_fn_cxx_try_compile "$LINENO"; then :
25183 glibcxx_cv_func_ldexpl_use=yes
25185 glibcxx_cv_func_ldexpl_use=no
25187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25189 ac_cpp='$CPP $CPPFLAGS'
25190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25199 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25201 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25202 for ac_func in ldexpl
25204 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25205 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25206 cat >>confdefs.h <<_ACEOF
25207 #define HAVE_LDEXPL 1
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25216 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25217 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25218 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25219 $as_echo_n "(cached) " >&6
25224 ac_cpp='$CXXCPP $CPPFLAGS'
25225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25230 /* end confdefs.h. */
25240 if ac_fn_cxx_try_compile "$LINENO"; then :
25241 glibcxx_cv_func__ldexpl_use=yes
25243 glibcxx_cv_func__ldexpl_use=no
25245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25247 ac_cpp='$CPP $CPPFLAGS'
25248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25257 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25259 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25260 for ac_func in _ldexpl
25262 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25263 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25264 cat >>confdefs.h <<_ACEOF
25265 #define HAVE__LDEXPL 1
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25279 $as_echo_n "checking for logl declaration... " >&6; }
25280 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25281 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25282 $as_echo_n "(cached) " >&6
25287 ac_cpp='$CXXCPP $CPPFLAGS'
25288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h. */
25295 #ifdef HAVE_IEEEFP_H
25296 #include <ieeefp.h>
25307 if ac_fn_cxx_try_compile "$LINENO"; then :
25308 glibcxx_cv_func_logl_use=yes
25310 glibcxx_cv_func_logl_use=no
25312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25314 ac_cpp='$CPP $CPPFLAGS'
25315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25324 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25326 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25327 for ac_func in logl
25329 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25330 if test "x$ac_cv_func_logl" = x""yes; then :
25331 cat >>confdefs.h <<_ACEOF
25332 #define HAVE_LOGL 1
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25341 $as_echo_n "checking for _logl declaration... " >&6; }
25342 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25343 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25344 $as_echo_n "(cached) " >&6
25349 ac_cpp='$CXXCPP $CPPFLAGS'
25350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25355 /* end confdefs.h. */
25357 #ifdef HAVE_IEEEFP_H
25358 #include <ieeefp.h>
25369 if ac_fn_cxx_try_compile "$LINENO"; then :
25370 glibcxx_cv_func__logl_use=yes
25372 glibcxx_cv_func__logl_use=no
25374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25376 ac_cpp='$CPP $CPPFLAGS'
25377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25386 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25388 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25389 for ac_func in _logl
25391 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25392 if test "x$ac_cv_func__logl" = x""yes; then :
25393 cat >>confdefs.h <<_ACEOF
25394 #define HAVE__LOGL 1
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25408 $as_echo_n "checking for log10l declaration... " >&6; }
25409 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25410 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25411 $as_echo_n "(cached) " >&6
25416 ac_cpp='$CXXCPP $CPPFLAGS'
25417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h. */
25424 #ifdef HAVE_IEEEFP_H
25425 #include <ieeefp.h>
25436 if ac_fn_cxx_try_compile "$LINENO"; then :
25437 glibcxx_cv_func_log10l_use=yes
25439 glibcxx_cv_func_log10l_use=no
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25443 ac_cpp='$CPP $CPPFLAGS'
25444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25453 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25455 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25456 for ac_func in log10l
25458 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25459 if test "x$ac_cv_func_log10l" = x""yes; then :
25460 cat >>confdefs.h <<_ACEOF
25461 #define HAVE_LOG10L 1
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25470 $as_echo_n "checking for _log10l declaration... " >&6; }
25471 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25472 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25473 $as_echo_n "(cached) " >&6
25478 ac_cpp='$CXXCPP $CPPFLAGS'
25479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25484 /* end confdefs.h. */
25486 #ifdef HAVE_IEEEFP_H
25487 #include <ieeefp.h>
25498 if ac_fn_cxx_try_compile "$LINENO"; then :
25499 glibcxx_cv_func__log10l_use=yes
25501 glibcxx_cv_func__log10l_use=no
25503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25505 ac_cpp='$CPP $CPPFLAGS'
25506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25515 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25517 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25518 for ac_func in _log10l
25520 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25521 if test "x$ac_cv_func__log10l" = x""yes; then :
25522 cat >>confdefs.h <<_ACEOF
25523 #define HAVE__LOG10L 1
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25537 $as_echo_n "checking for modfl declaration... " >&6; }
25538 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25539 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25540 $as_echo_n "(cached) " >&6
25545 ac_cpp='$CXXCPP $CPPFLAGS'
25546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25551 /* end confdefs.h. */
25561 if ac_fn_cxx_try_compile "$LINENO"; then :
25562 glibcxx_cv_func_modfl_use=yes
25564 glibcxx_cv_func_modfl_use=no
25566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25578 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25580 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25581 for ac_func in modfl
25583 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25584 if test "x$ac_cv_func_modfl" = x""yes; then :
25585 cat >>confdefs.h <<_ACEOF
25586 #define HAVE_MODFL 1
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25595 $as_echo_n "checking for _modfl declaration... " >&6; }
25596 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25597 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25598 $as_echo_n "(cached) " >&6
25603 ac_cpp='$CXXCPP $CPPFLAGS'
25604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25609 /* end confdefs.h. */
25619 if ac_fn_cxx_try_compile "$LINENO"; then :
25620 glibcxx_cv_func__modfl_use=yes
25622 glibcxx_cv_func__modfl_use=no
25624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25626 ac_cpp='$CPP $CPPFLAGS'
25627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25636 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25638 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25639 for ac_func in _modfl
25641 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25642 if test "x$ac_cv_func__modfl" = x""yes; then :
25643 cat >>confdefs.h <<_ACEOF
25644 #define HAVE__MODFL 1
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25658 $as_echo_n "checking for powl declaration... " >&6; }
25659 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25660 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25661 $as_echo_n "(cached) " >&6
25666 ac_cpp='$CXXCPP $CPPFLAGS'
25667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25672 /* end confdefs.h. */
25682 if ac_fn_cxx_try_compile "$LINENO"; then :
25683 glibcxx_cv_func_powl_use=yes
25685 glibcxx_cv_func_powl_use=no
25687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25689 ac_cpp='$CPP $CPPFLAGS'
25690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25699 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25701 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25702 for ac_func in powl
25704 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25705 if test "x$ac_cv_func_powl" = x""yes; then :
25706 cat >>confdefs.h <<_ACEOF
25707 #define HAVE_POWL 1
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25716 $as_echo_n "checking for _powl declaration... " >&6; }
25717 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25718 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25719 $as_echo_n "(cached) " >&6
25724 ac_cpp='$CXXCPP $CPPFLAGS'
25725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25730 /* end confdefs.h. */
25740 if ac_fn_cxx_try_compile "$LINENO"; then :
25741 glibcxx_cv_func__powl_use=yes
25743 glibcxx_cv_func__powl_use=no
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25747 ac_cpp='$CPP $CPPFLAGS'
25748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25757 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25759 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25760 for ac_func in _powl
25762 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25763 if test "x$ac_cv_func__powl" = x""yes; then :
25764 cat >>confdefs.h <<_ACEOF
25765 #define HAVE__POWL 1
25778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25779 $as_echo_n "checking for sqrtl declaration... " >&6; }
25780 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25781 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25782 $as_echo_n "(cached) " >&6
25787 ac_cpp='$CXXCPP $CPPFLAGS'
25788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25793 /* end confdefs.h. */
25795 #ifdef HAVE_IEEEFP_H
25796 #include <ieeefp.h>
25807 if ac_fn_cxx_try_compile "$LINENO"; then :
25808 glibcxx_cv_func_sqrtl_use=yes
25810 glibcxx_cv_func_sqrtl_use=no
25812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25814 ac_cpp='$CPP $CPPFLAGS'
25815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25824 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25826 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25827 for ac_func in sqrtl
25829 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25830 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25831 cat >>confdefs.h <<_ACEOF
25832 #define HAVE_SQRTL 1
25840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25841 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25842 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25843 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25844 $as_echo_n "(cached) " >&6
25849 ac_cpp='$CXXCPP $CPPFLAGS'
25850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25855 /* end confdefs.h. */
25857 #ifdef HAVE_IEEEFP_H
25858 #include <ieeefp.h>
25869 if ac_fn_cxx_try_compile "$LINENO"; then :
25870 glibcxx_cv_func__sqrtl_use=yes
25872 glibcxx_cv_func__sqrtl_use=no
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25876 ac_cpp='$CPP $CPPFLAGS'
25877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25886 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25888 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25889 for ac_func in _sqrtl
25891 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25892 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25893 cat >>confdefs.h <<_ACEOF
25894 #define HAVE__SQRTL 1
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25908 $as_echo_n "checking for sincosl declaration... " >&6; }
25909 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25910 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25911 $as_echo_n "(cached) " >&6
25916 ac_cpp='$CXXCPP $CPPFLAGS'
25917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25922 /* end confdefs.h. */
25932 if ac_fn_cxx_try_compile "$LINENO"; then :
25933 glibcxx_cv_func_sincosl_use=yes
25935 glibcxx_cv_func_sincosl_use=no
25937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25949 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25951 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25952 for ac_func in sincosl
25954 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25955 if test "x$ac_cv_func_sincosl" = x""yes; then :
25956 cat >>confdefs.h <<_ACEOF
25957 #define HAVE_SINCOSL 1
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25966 $as_echo_n "checking for _sincosl declaration... " >&6; }
25967 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25968 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25969 $as_echo_n "(cached) " >&6
25974 ac_cpp='$CXXCPP $CPPFLAGS'
25975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25980 /* end confdefs.h. */
25990 if ac_fn_cxx_try_compile "$LINENO"; then :
25991 glibcxx_cv_func__sincosl_use=yes
25993 glibcxx_cv_func__sincosl_use=no
25995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25997 ac_cpp='$CPP $CPPFLAGS'
25998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26007 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26009 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26010 for ac_func in _sincosl
26012 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26013 if test "x$ac_cv_func__sincosl" = x""yes; then :
26014 cat >>confdefs.h <<_ACEOF
26015 #define HAVE__SINCOSL 1
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26029 $as_echo_n "checking for finitel declaration... " >&6; }
26030 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26031 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26032 $as_echo_n "(cached) " >&6
26037 ac_cpp='$CXXCPP $CPPFLAGS'
26038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26043 /* end confdefs.h. */
26045 #ifdef HAVE_IEEEFP_H
26046 #include <ieeefp.h>
26057 if ac_fn_cxx_try_compile "$LINENO"; then :
26058 glibcxx_cv_func_finitel_use=yes
26060 glibcxx_cv_func_finitel_use=no
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26064 ac_cpp='$CPP $CPPFLAGS'
26065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26074 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26076 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26077 for ac_func in finitel
26079 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26080 if test "x$ac_cv_func_finitel" = x""yes; then :
26081 cat >>confdefs.h <<_ACEOF
26082 #define HAVE_FINITEL 1
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26091 $as_echo_n "checking for _finitel declaration... " >&6; }
26092 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26093 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26094 $as_echo_n "(cached) " >&6
26099 ac_cpp='$CXXCPP $CPPFLAGS'
26100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26105 /* end confdefs.h. */
26107 #ifdef HAVE_IEEEFP_H
26108 #include <ieeefp.h>
26119 if ac_fn_cxx_try_compile "$LINENO"; then :
26120 glibcxx_cv_func__finitel_use=yes
26122 glibcxx_cv_func__finitel_use=no
26124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26126 ac_cpp='$CPP $CPPFLAGS'
26127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26136 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26138 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26139 for ac_func in _finitel
26141 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26142 if test "x$ac_cv_func__finitel" = x""yes; then :
26143 cat >>confdefs.h <<_ACEOF
26144 #define HAVE__FINITEL 1
26156 LIBS="$ac_save_LIBS"
26157 CXXFLAGS="$ac_save_CXXFLAGS"
26160 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26161 ac_save_CXXFLAGS="$CXXFLAGS"
26162 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26166 $as_echo_n "checking for strtold declaration... " >&6; }
26167 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26168 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26169 $as_echo_n "(cached) " >&6
26174 ac_cpp='$CXXCPP $CPPFLAGS'
26175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 #include <stdlib.h>
26190 if ac_fn_cxx_try_compile "$LINENO"; then :
26191 glibcxx_cv_func_strtold_use=yes
26193 glibcxx_cv_func_strtold_use=no
26195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26197 ac_cpp='$CPP $CPPFLAGS'
26198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26207 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26208 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26209 for ac_func in strtold
26211 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26212 if test "x$ac_cv_func_strtold" = x""yes; then :
26213 cat >>confdefs.h <<_ACEOF
26214 #define HAVE_STRTOLD 1
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26226 $as_echo_n "checking for strtof declaration... " >&6; }
26227 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26228 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26229 $as_echo_n "(cached) " >&6
26234 ac_cpp='$CXXCPP $CPPFLAGS'
26235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26240 /* end confdefs.h. */
26241 #include <stdlib.h>
26250 if ac_fn_cxx_try_compile "$LINENO"; then :
26251 glibcxx_cv_func_strtof_use=yes
26253 glibcxx_cv_func_strtof_use=no
26255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26257 ac_cpp='$CPP $CPPFLAGS'
26258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26267 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26268 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26269 for ac_func in strtof
26271 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26272 if test "x$ac_cv_func_strtof" = x""yes; then :
26273 cat >>confdefs.h <<_ACEOF
26274 #define HAVE_STRTOF 1
26285 CXXFLAGS="$ac_save_CXXFLAGS"
26288 # For /dev/random and /dev/urandom for TR1.
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26292 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26293 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26297 if test -r /dev/random && test -r /dev/urandom; then
26298 glibcxx_cv_random_tr1=yes;
26300 glibcxx_cv_random_tr1=no;
26305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26306 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26308 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26310 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26319 # Check whether --enable-tls was given.
26320 if test "${enable_tls+set}" = set; then :
26321 enableval=$enable_tls;
26322 case "$enableval" in
26324 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26333 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26334 if test "${gcc_cv_have_tls+set}" = set; then :
26335 $as_echo_n "(cached) " >&6
26338 if test "$cross_compiling" = yes; then :
26339 if test x$gcc_no_link = xyes; then
26340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26343 /* end confdefs.h. */
26344 __thread int a; int b; int main() { return a = b; }
26346 if ac_fn_c_try_link "$LINENO"; then :
26347 chktls_save_LDFLAGS="$LDFLAGS"
26350 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26353 chktls_save_CFLAGS="$CFLAGS"
26354 CFLAGS="-fPIC $CFLAGS"
26355 if test x$gcc_no_link = xyes; then
26356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26360 int f() { return 0; }
26362 if ac_fn_c_try_link "$LINENO"; then :
26363 if test x$gcc_no_link = xyes; then
26364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 __thread int a; int b; int f() { return a = b; }
26370 if ac_fn_c_try_link "$LINENO"; then :
26371 gcc_cv_have_tls=yes
26375 rm -f core conftest.err conftest.$ac_objext \
26376 conftest$ac_exeext conftest.$ac_ext
26378 gcc_cv_have_tls=yes
26380 rm -f core conftest.err conftest.$ac_objext \
26381 conftest$ac_exeext conftest.$ac_ext
26382 CFLAGS="$chktls_save_CFLAGS"
26383 LDFLAGS="$chktls_save_LDFLAGS"
26387 rm -f core conftest.err conftest.$ac_objext \
26388 conftest$ac_exeext conftest.$ac_ext
26392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26393 /* end confdefs.h. */
26394 __thread int a; int b; int main() { return a = b; }
26396 if ac_fn_c_try_run "$LINENO"; then :
26397 chktls_save_LDFLAGS="$LDFLAGS"
26398 LDFLAGS="-static $LDFLAGS"
26399 if test x$gcc_no_link = xyes; then
26400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26403 /* end confdefs.h. */
26404 int main() { return 0; }
26406 if ac_fn_c_try_link "$LINENO"; then :
26407 if test "$cross_compiling" = yes; then :
26408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26410 as_fn_error "cannot run test program while cross compiling
26411 See \`config.log' for more details." "$LINENO" 5; }
26413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26414 /* end confdefs.h. */
26415 __thread int a; int b; int main() { return a = b; }
26417 if ac_fn_c_try_run "$LINENO"; then :
26418 gcc_cv_have_tls=yes
26422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26423 conftest.$ac_objext conftest.beam conftest.$ac_ext
26427 gcc_cv_have_tls=yes
26429 rm -f core conftest.err conftest.$ac_objext \
26430 conftest$ac_exeext conftest.$ac_ext
26431 LDFLAGS="$chktls_save_LDFLAGS"
26432 if test $gcc_cv_have_tls = yes; then
26433 chktls_save_CFLAGS="$CFLAGS"
26434 thread_CFLAGS=failed
26435 for flag in '' '-pthread' '-lpthread'; do
26436 CFLAGS="$flag $chktls_save_CFLAGS"
26437 if test x$gcc_no_link = xyes; then
26438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26441 /* end confdefs.h. */
26442 #include <pthread.h>
26443 void *g(void *d) { return NULL; }
26447 pthread_t t; pthread_create(&t,NULL,g,NULL);
26452 if ac_fn_c_try_link "$LINENO"; then :
26453 thread_CFLAGS="$flag"
26455 rm -f core conftest.err conftest.$ac_objext \
26456 conftest$ac_exeext conftest.$ac_ext
26457 if test "X$thread_CFLAGS" != Xfailed; then
26461 CFLAGS="$chktls_save_CFLAGS"
26462 if test "X$thread_CFLAGS" != Xfailed; then
26463 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26464 if test "$cross_compiling" = yes; then :
26465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26467 as_fn_error "cannot run test program while cross compiling
26468 See \`config.log' for more details." "$LINENO" 5; }
26470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26471 /* end confdefs.h. */
26472 #include <pthread.h>
26474 static int *volatile a_in_other_thread;
26476 thread_func (void *arg)
26478 a_in_other_thread = &a;
26485 void *thread_retval;
26486 int *volatile a_in_main_thread;
26487 a_in_main_thread = &a;
26488 if (pthread_create (&thread, (pthread_attr_t *)0,
26489 thread_func, (void *)0))
26491 if (pthread_join (thread, &thread_retval))
26493 return (a_in_other_thread == a_in_main_thread);
26498 if ac_fn_c_try_run "$LINENO"; then :
26499 gcc_cv_have_tls=yes
26503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26504 conftest.$ac_objext conftest.beam conftest.$ac_ext
26507 CFLAGS="$chktls_save_CFLAGS"
26513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26514 conftest.$ac_objext conftest.beam conftest.$ac_ext
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26519 $as_echo "$gcc_cv_have_tls" >&6; }
26520 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26522 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26526 # For iconv support.
26528 if test "X$prefix" = "XNONE"; then
26529 acl_final_prefix="$ac_default_prefix"
26531 acl_final_prefix="$prefix"
26533 if test "X$exec_prefix" = "XNONE"; then
26534 acl_final_exec_prefix='${prefix}'
26536 acl_final_exec_prefix="$exec_prefix"
26538 acl_save_prefix="$prefix"
26539 prefix="$acl_final_prefix"
26540 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26541 prefix="$acl_save_prefix"
26544 # Check whether --with-gnu-ld was given.
26545 if test "${with_gnu_ld+set}" = set; then :
26546 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26551 # Prepare PATH_SEPARATOR.
26552 # The user is always right.
26553 if test "${PATH_SEPARATOR+set}" != set; then
26554 echo "#! /bin/sh" >conf$$.sh
26555 echo "exit 0" >>conf$$.sh
26557 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26565 if test "$GCC" = yes; then
26566 # Check if gcc -print-prog-name=ld gives a path.
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26568 $as_echo_n "checking for ld used by GCC... " >&6; }
26571 # gcc leaves a trailing carriage return which upsets mingw
26572 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26574 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26577 # Accept absolute paths.
26578 [\\/]* | [A-Za-z]:[\\/]*)
26579 re_direlt='/[^/][^/]*/\.\./'
26580 # Canonicalize the path of ld
26581 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26582 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26583 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26585 test -z "$LD" && LD="$ac_prog"
26588 # If it fails, then pretend we aren't using GCC.
26592 # If it is relative, then search for the first ld in PATH.
26593 with_gnu_ld=unknown
26596 elif test "$with_gnu_ld" = yes; then
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26598 $as_echo_n "checking for GNU ld... " >&6; }
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26601 $as_echo_n "checking for non-GNU ld... " >&6; }
26603 if test "${acl_cv_path_LD+set}" = set; then :
26604 $as_echo_n "(cached) " >&6
26606 if test -z "$LD"; then
26607 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26608 for ac_dir in $PATH; do
26609 test -z "$ac_dir" && ac_dir=.
26610 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26611 acl_cv_path_LD="$ac_dir/$ac_prog"
26612 # Check to see if the program is GNU ld. I'd rather use --version,
26613 # but apparently some GNU ld's only accept -v.
26614 # Break only if it was the GNU/non-GNU ld that we prefer.
26615 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26616 test "$with_gnu_ld" != no && break
26618 test "$with_gnu_ld" != yes && break
26624 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26628 LD="$acl_cv_path_LD"
26629 if test -n "$LD"; then
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26631 $as_echo "$LD" >&6; }
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26634 $as_echo "no" >&6; }
26636 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26638 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26639 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26640 $as_echo_n "(cached) " >&6
26642 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26643 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26644 acl_cv_prog_gnu_ld=yes
26646 acl_cv_prog_gnu_ld=no
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26650 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26651 with_gnu_ld=$acl_cv_prog_gnu_ld
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26656 $as_echo_n "checking for shared library run path origin... " >&6; }
26657 if test "${acl_cv_rpath+set}" = set; then :
26658 $as_echo_n "(cached) " >&6
26661 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26662 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26664 rm -f ./conftest.sh
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26669 $as_echo "$acl_cv_rpath" >&6; }
26671 libext="$acl_cv_libext"
26672 shlibext="$acl_cv_shlibext"
26673 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26674 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26675 hardcode_direct="$acl_cv_hardcode_direct"
26676 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26677 # Check whether --enable-rpath was given.
26678 if test "${enable_rpath+set}" = set; then :
26679 enableval=$enable_rpath; :
26693 acl_save_prefix="$prefix"
26694 prefix="$acl_final_prefix"
26695 acl_save_exec_prefix="$exec_prefix"
26696 exec_prefix="$acl_final_exec_prefix"
26698 eval additional_includedir=\"$includedir\"
26699 eval additional_libdir=\"$libdir\"
26701 exec_prefix="$acl_save_exec_prefix"
26702 prefix="$acl_save_prefix"
26705 # Check whether --with-libiconv-prefix was given.
26706 if test "${with_libiconv_prefix+set}" = set; then :
26707 withval=$with_libiconv_prefix;
26708 if test "X$withval" = "Xno"; then
26711 if test "X$withval" = "X"; then
26713 acl_save_prefix="$prefix"
26714 prefix="$acl_final_prefix"
26715 acl_save_exec_prefix="$exec_prefix"
26716 exec_prefix="$acl_final_exec_prefix"
26718 eval additional_includedir=\"$includedir\"
26719 eval additional_libdir=\"$libdir\"
26721 exec_prefix="$acl_save_exec_prefix"
26722 prefix="$acl_save_prefix"
26725 additional_includedir="$withval/include"
26726 additional_libdir="$withval/lib"
26737 names_already_handled=
26738 names_next_round='iconv '
26739 while test -n "$names_next_round"; do
26740 names_this_round="$names_next_round"
26742 for name in $names_this_round; do
26744 for n in $names_already_handled; do
26745 if test "$n" = "$name"; then
26746 already_handled=yes
26750 if test -z "$already_handled"; then
26751 names_already_handled="$names_already_handled $name"
26752 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26753 eval value=\"\$HAVE_LIB$uppername\"
26754 if test -n "$value"; then
26755 if test "$value" = yes; then
26756 eval value=\"\$LIB$uppername\"
26757 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26758 eval value=\"\$LTLIB$uppername\"
26759 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26768 if test $use_additional = yes; then
26769 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26770 found_dir="$additional_libdir"
26771 found_so="$additional_libdir/lib$name.$shlibext"
26772 if test -f "$additional_libdir/lib$name.la"; then
26773 found_la="$additional_libdir/lib$name.la"
26776 if test -f "$additional_libdir/lib$name.$libext"; then
26777 found_dir="$additional_libdir"
26778 found_a="$additional_libdir/lib$name.$libext"
26779 if test -f "$additional_libdir/lib$name.la"; then
26780 found_la="$additional_libdir/lib$name.la"
26785 if test "X$found_dir" = "X"; then
26786 for x in $LDFLAGS $LTLIBICONV; do
26788 acl_save_prefix="$prefix"
26789 prefix="$acl_final_prefix"
26790 acl_save_exec_prefix="$exec_prefix"
26791 exec_prefix="$acl_final_exec_prefix"
26793 exec_prefix="$acl_save_exec_prefix"
26794 prefix="$acl_save_prefix"
26798 dir=`echo "X$x" | sed -e 's/^X-L//'`
26799 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26801 found_so="$dir/lib$name.$shlibext"
26802 if test -f "$dir/lib$name.la"; then
26803 found_la="$dir/lib$name.la"
26806 if test -f "$dir/lib$name.$libext"; then
26808 found_a="$dir/lib$name.$libext"
26809 if test -f "$dir/lib$name.la"; then
26810 found_la="$dir/lib$name.la"
26816 if test "X$found_dir" != "X"; then
26821 if test "X$found_dir" != "X"; then
26822 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26823 if test "X$found_so" != "X"; then
26824 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26825 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26828 for x in $ltrpathdirs; do
26829 if test "X$x" = "X$found_dir"; then
26834 if test -z "$haveit"; then
26835 ltrpathdirs="$ltrpathdirs $found_dir"
26837 if test "$hardcode_direct" = yes; then
26838 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26840 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26841 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26843 for x in $rpathdirs; do
26844 if test "X$x" = "X$found_dir"; then
26849 if test -z "$haveit"; then
26850 rpathdirs="$rpathdirs $found_dir"
26854 for x in $LDFLAGS $LIBICONV; do
26856 acl_save_prefix="$prefix"
26857 prefix="$acl_final_prefix"
26858 acl_save_exec_prefix="$exec_prefix"
26859 exec_prefix="$acl_final_exec_prefix"
26861 exec_prefix="$acl_save_exec_prefix"
26862 prefix="$acl_save_prefix"
26864 if test "X$x" = "X-L$found_dir"; then
26869 if test -z "$haveit"; then
26870 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26872 if test "$hardcode_minus_L" != no; then
26873 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26875 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26881 if test "X$found_a" != "X"; then
26882 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26884 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26887 additional_includedir=
26888 case "$found_dir" in
26890 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26891 additional_includedir="$basedir/include"
26894 if test "X$additional_includedir" != "X"; then
26895 if test "X$additional_includedir" != "X/usr/include"; then
26897 if test "X$additional_includedir" = "X/usr/local/include"; then
26898 if test -n "$GCC"; then
26900 linux*) haveit=yes;;
26904 if test -z "$haveit"; then
26905 for x in $CPPFLAGS $INCICONV; do
26907 acl_save_prefix="$prefix"
26908 prefix="$acl_final_prefix"
26909 acl_save_exec_prefix="$exec_prefix"
26910 exec_prefix="$acl_final_exec_prefix"
26912 exec_prefix="$acl_save_exec_prefix"
26913 prefix="$acl_save_prefix"
26915 if test "X$x" = "X-I$additional_includedir"; then
26920 if test -z "$haveit"; then
26921 if test -d "$additional_includedir"; then
26922 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26928 if test -n "$found_la"; then
26929 save_libdir="$libdir"
26930 case "$found_la" in
26931 */* | *\\*) . "$found_la" ;;
26932 *) . "./$found_la" ;;
26934 libdir="$save_libdir"
26935 for dep in $dependency_libs; do
26938 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26939 if test "X$additional_libdir" != "X/usr/lib"; then
26941 if test "X$additional_libdir" = "X/usr/local/lib"; then
26942 if test -n "$GCC"; then
26944 linux*) haveit=yes;;
26948 if test -z "$haveit"; then
26950 for x in $LDFLAGS $LIBICONV; do
26952 acl_save_prefix="$prefix"
26953 prefix="$acl_final_prefix"
26954 acl_save_exec_prefix="$exec_prefix"
26955 exec_prefix="$acl_final_exec_prefix"
26957 exec_prefix="$acl_save_exec_prefix"
26958 prefix="$acl_save_prefix"
26960 if test "X$x" = "X-L$additional_libdir"; then
26965 if test -z "$haveit"; then
26966 if test -d "$additional_libdir"; then
26967 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26971 for x in $LDFLAGS $LTLIBICONV; do
26973 acl_save_prefix="$prefix"
26974 prefix="$acl_final_prefix"
26975 acl_save_exec_prefix="$exec_prefix"
26976 exec_prefix="$acl_final_exec_prefix"
26978 exec_prefix="$acl_save_exec_prefix"
26979 prefix="$acl_save_prefix"
26981 if test "X$x" = "X-L$additional_libdir"; then
26986 if test -z "$haveit"; then
26987 if test -d "$additional_libdir"; then
26988 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26995 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26996 if test "$enable_rpath" != no; then
26998 for x in $rpathdirs; do
26999 if test "X$x" = "X$dir"; then
27004 if test -z "$haveit"; then
27005 rpathdirs="$rpathdirs $dir"
27008 for x in $ltrpathdirs; do
27009 if test "X$x" = "X$dir"; then
27014 if test -z "$haveit"; then
27015 ltrpathdirs="$ltrpathdirs $dir"
27020 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27023 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27026 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27027 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27033 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27034 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27040 if test "X$rpathdirs" != "X"; then
27041 if test -n "$hardcode_libdir_separator"; then
27043 for found_dir in $rpathdirs; do
27044 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27046 acl_save_libdir="$libdir"
27048 eval flag=\"$hardcode_libdir_flag_spec\"
27049 libdir="$acl_save_libdir"
27050 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27052 for found_dir in $rpathdirs; do
27053 acl_save_libdir="$libdir"
27054 libdir="$found_dir"
27055 eval flag=\"$hardcode_libdir_flag_spec\"
27056 libdir="$acl_save_libdir"
27057 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27061 if test "X$ltrpathdirs" != "X"; then
27062 for found_dir in $ltrpathdirs; do
27063 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27073 am_save_CPPFLAGS="$CPPFLAGS"
27075 for element in $INCICONV; do
27077 for x in $CPPFLAGS; do
27079 acl_save_prefix="$prefix"
27080 prefix="$acl_final_prefix"
27081 acl_save_exec_prefix="$exec_prefix"
27082 exec_prefix="$acl_final_exec_prefix"
27084 exec_prefix="$acl_save_exec_prefix"
27085 prefix="$acl_save_prefix"
27087 if test "X$x" = "X$element"; then
27092 if test -z "$haveit"; then
27093 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27099 $as_echo_n "checking for iconv... " >&6; }
27100 if test "${am_cv_func_iconv+set}" = set; then :
27101 $as_echo_n "(cached) " >&6
27104 am_cv_func_iconv="no, consider installing GNU libiconv"
27106 if test x$gcc_no_link = xyes; then
27107 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27110 /* end confdefs.h. */
27111 #include <stdlib.h>
27116 iconv_t cd = iconv_open("","");
27117 iconv(cd,NULL,NULL,NULL,NULL);
27123 if ac_fn_c_try_link "$LINENO"; then :
27124 am_cv_func_iconv=yes
27126 rm -f core conftest.err conftest.$ac_objext \
27127 conftest$ac_exeext conftest.$ac_ext
27128 if test "$am_cv_func_iconv" != yes; then
27129 am_save_LIBS="$LIBS"
27130 LIBS="$LIBS $LIBICONV"
27131 if test x$gcc_no_link = xyes; then
27132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27135 /* end confdefs.h. */
27136 #include <stdlib.h>
27141 iconv_t cd = iconv_open("","");
27142 iconv(cd,NULL,NULL,NULL,NULL);
27148 if ac_fn_c_try_link "$LINENO"; then :
27149 am_cv_lib_iconv=yes
27150 am_cv_func_iconv=yes
27152 rm -f core conftest.err conftest.$ac_objext \
27153 conftest$ac_exeext conftest.$ac_ext
27154 LIBS="$am_save_LIBS"
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27159 $as_echo "$am_cv_func_iconv" >&6; }
27160 if test "$am_cv_func_iconv" = yes; then
27162 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27165 if test "$am_cv_lib_iconv" = yes; then
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27167 $as_echo_n "checking how to link with libiconv... " >&6; }
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27169 $as_echo "$LIBICONV" >&6; }
27171 CPPFLAGS="$am_save_CPPFLAGS"
27178 if test "$am_cv_func_iconv" = yes; then
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27180 $as_echo_n "checking for iconv declaration... " >&6; }
27181 if test "${am_cv_proto_iconv+set}" = set; then :
27182 $as_echo_n "(cached) " >&6
27185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27186 /* end confdefs.h. */
27188 #include <stdlib.h>
27194 #if defined(__STDC__) || defined(__cplusplus)
27195 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27208 if ac_fn_c_try_compile "$LINENO"; then :
27209 am_cv_proto_iconv_arg1=""
27211 am_cv_proto_iconv_arg1="const"
27213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27214 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);"
27217 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27219 }$am_cv_proto_iconv" >&5
27221 }$am_cv_proto_iconv" >&6; }
27223 cat >>confdefs.h <<_ACEOF
27224 #define ICONV_CONST $am_cv_proto_iconv_arg1
27232 # This lets us hard-code the functionality we know we'll have in the cross
27233 # target environment. "Let" is a sugar-coated word placed on an especially
27234 # dull and tedious hack, actually.
27236 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27237 # that involve linking, can't be used:
27238 # "cannot open sim-crt0.o"
27239 # "cannot open crt0.o"
27240 # etc. All this is because there currently exists no unified, consistent
27241 # way for top level CC information to be passed down to target directories:
27242 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27243 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27244 # crosses can be removed.
27246 # If Canadian cross, then don't pick up tools from the build directory.
27247 # Used only in GLIBCXX_EXPORT_INCLUDES.
27248 if test -n "$with_cross_host" &&
27249 test x"$build_alias" != x"$with_cross_host" &&
27250 test x"$build" != x"$target";
27257 # Construct crosses by hand, eliminating bits that need ld...
27258 # GLIBCXX_CHECK_MATH_SUPPORT
27260 # First, test for "known" system libraries. We may be using newlib even
27261 # on a hosted environment.
27262 if test "x${with_newlib}" = "xyes"; then
27263 os_include_dir="os/newlib"
27264 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27267 # GLIBCXX_CHECK_STDLIB_SUPPORT
27268 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27271 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27273 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27275 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27277 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27279 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27281 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27283 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27285 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27287 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27289 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27291 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27293 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27295 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27297 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27299 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27301 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27303 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27305 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27307 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27309 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27311 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27313 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27316 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27320 # Base decisions on target environment.
27322 arm*-*-symbianelf*)
27323 # This is a freestanding configuration; there is nothing to do here.
27327 # These definitions are for the SDE C library rather than newlib.
27328 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27331 # All these tests are for C++; save the language and the compiler flags.
27332 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27333 # found in GLIBCXX_CONFIGURE.
27336 ac_cpp='$CXXCPP $CPPFLAGS'
27337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27342 ac_save_CXXFLAGS="$CXXFLAGS"
27344 # Check for maintainer-mode bits.
27345 if test x"$USE_MAINTAINER_MODE" = xno; then
27351 # Check for -ffunction-sections -fdata-sections
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27353 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27354 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27356 /* end confdefs.h. */
27357 int foo; void bar() { };
27366 if ac_fn_cxx_try_compile "$LINENO"; then :
27371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27372 if test "$ac_test_CXXFLAGS" = set; then
27373 CXXFLAGS="$ac_save_CXXFLAGS"
27375 # this is the suspicious part
27378 if test x"$ac_fdsections" = x"yes"; then
27379 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27382 $as_echo "$ac_fdsections" >&6; }
27385 ac_cpp='$CPP $CPPFLAGS'
27386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27394 # If we're not using GNU ld, then there's no point in even trying these
27395 # tests. Check for that first. We should have already tested for gld
27396 # by now (in libtool), but require it now just to be safe...
27397 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27398 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27402 # The name set by libtool depends on the version of libtool. Shame on us
27403 # for depending on an impl detail, but c'est la vie. Older versions used
27404 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27405 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27406 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27407 # set (hence we're using an older libtool), then set it.
27408 if test x${with_gnu_ld+set} != xset; then
27409 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27410 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27413 with_gnu_ld=$ac_cv_prog_gnu_ld
27417 # Start by getting the version number. I think the libtool test already
27418 # does some of this, but throws away the result.
27419 glibcxx_ld_is_gold=no
27420 if test x"$with_gnu_ld" = x"yes"; then
27421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27422 $as_echo_n "checking for ld version... " >&6; }
27424 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27425 glibcxx_ld_is_gold=yes
27427 ldver=`$LD --version 2>/dev/null |
27428 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
27430 glibcxx_gnu_ld_version=`echo $ldver | \
27431 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27433 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27436 # Set --gc-sections.
27437 glibcxx_have_gc_sections=no
27438 if test "$glibcxx_ld_is_gold" = "yes"; then
27439 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27440 glibcxx_have_gc_sections=yes
27443 glibcxx_gcsections_min_ld=21602
27444 if test x"$with_gnu_ld" = x"yes" &&
27445 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27446 glibcxx_have_gc_sections=yes
27449 if test "$glibcxx_have_gc_sections" = "yes"; then
27450 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27451 # NB: This flag only works reliably after 2.16.1. Configure tests
27452 # for this are difficult, so hard wire a value that should work.
27454 ac_test_CFLAGS="${CFLAGS+set}"
27455 ac_save_CFLAGS="$CFLAGS"
27456 CFLAGS='-Wl,--gc-sections'
27458 # Check for -Wl,--gc-sections
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27460 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27461 if test x$gcc_no_link = xyes; then
27462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h. */
27466 int one(void) { return 1; }
27467 int two(void) { return 2; }
27477 if ac_fn_c_try_link "$LINENO"; then :
27482 rm -f core conftest.err conftest.$ac_objext \
27483 conftest$ac_exeext conftest.$ac_ext
27484 if test "$ac_gcsections" = "yes"; then
27487 if $CC -c conftest.c; then
27488 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27489 grep "Warning: gc-sections option ignored" > /dev/null; then
27493 rm -f conftest.c conftest.o conftest
27495 if test "$ac_gcsections" = "yes"; then
27496 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27499 $as_echo "$ac_gcsections" >&6; }
27501 if test "$ac_test_CFLAGS" = set; then
27502 CFLAGS="$ac_save_CFLAGS"
27504 # this is the suspicious part
27510 # Note this is only for shared objects.
27512 if test x"$with_gnu_ld" = x"yes"; then
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27514 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27515 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27516 if test -n "$cxx_z_relo"; then
27517 OPT_LDFLAGS="-Wl,-z,relro"
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27521 $as_echo "$ac_ld_relro" >&6; }
27524 # Set linker optimization flags.
27525 if test x"$with_gnu_ld" = x"yes"; then
27526 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27533 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27534 ac_save_CXXFLAGS="$CXXFLAGS"
27535 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27538 $as_echo_n "checking for sin in -lm... " >&6; }
27539 if test "${ac_cv_lib_m_sin+set}" = set; then :
27540 $as_echo_n "(cached) " >&6
27542 ac_check_lib_save_LIBS=$LIBS
27544 if test x$gcc_no_link = xyes; then
27545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27548 /* end confdefs.h. */
27550 /* Override any GCC internal prototype to avoid an error.
27551 Use char because int might match the return type of a GCC
27552 builtin and then its argument prototype would still apply. */
27565 if ac_fn_c_try_link "$LINENO"; then :
27566 ac_cv_lib_m_sin=yes
27570 rm -f core conftest.err conftest.$ac_objext \
27571 conftest$ac_exeext conftest.$ac_ext
27572 LIBS=$ac_check_lib_save_LIBS
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27575 $as_echo "$ac_cv_lib_m_sin" >&6; }
27576 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27580 ac_save_LIBS="$LIBS"
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27586 $as_echo_n "checking for isinf declaration... " >&6; }
27587 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27588 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27589 $as_echo_n "(cached) " >&6
27594 ac_cpp='$CXXCPP $CPPFLAGS'
27595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27600 /* end confdefs.h. */
27602 #ifdef HAVE_IEEEFP_H
27603 #include <ieeefp.h>
27614 if ac_fn_cxx_try_compile "$LINENO"; then :
27615 glibcxx_cv_func_isinf_use=yes
27617 glibcxx_cv_func_isinf_use=no
27619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27621 ac_cpp='$CPP $CPPFLAGS'
27622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27631 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27633 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27634 for ac_func in isinf
27636 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27637 if test "x$ac_cv_func_isinf" = x""yes; then :
27638 cat >>confdefs.h <<_ACEOF
27639 #define HAVE_ISINF 1
27647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27648 $as_echo_n "checking for _isinf declaration... " >&6; }
27649 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27650 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27651 $as_echo_n "(cached) " >&6
27656 ac_cpp='$CXXCPP $CPPFLAGS'
27657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27662 /* end confdefs.h. */
27664 #ifdef HAVE_IEEEFP_H
27665 #include <ieeefp.h>
27676 if ac_fn_cxx_try_compile "$LINENO"; then :
27677 glibcxx_cv_func__isinf_use=yes
27679 glibcxx_cv_func__isinf_use=no
27681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27683 ac_cpp='$CPP $CPPFLAGS'
27684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27693 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27695 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27696 for ac_func in _isinf
27698 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27699 if test "x$ac_cv_func__isinf" = x""yes; then :
27700 cat >>confdefs.h <<_ACEOF
27701 #define HAVE__ISINF 1
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27715 $as_echo_n "checking for isnan declaration... " >&6; }
27716 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27717 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27718 $as_echo_n "(cached) " >&6
27723 ac_cpp='$CXXCPP $CPPFLAGS'
27724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27729 /* end confdefs.h. */
27731 #ifdef HAVE_IEEEFP_H
27732 #include <ieeefp.h>
27743 if ac_fn_cxx_try_compile "$LINENO"; then :
27744 glibcxx_cv_func_isnan_use=yes
27746 glibcxx_cv_func_isnan_use=no
27748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27760 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27762 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27763 for ac_func in isnan
27765 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27766 if test "x$ac_cv_func_isnan" = x""yes; then :
27767 cat >>confdefs.h <<_ACEOF
27768 #define HAVE_ISNAN 1
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27777 $as_echo_n "checking for _isnan declaration... " >&6; }
27778 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27779 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27780 $as_echo_n "(cached) " >&6
27785 ac_cpp='$CXXCPP $CPPFLAGS'
27786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27791 /* end confdefs.h. */
27793 #ifdef HAVE_IEEEFP_H
27794 #include <ieeefp.h>
27805 if ac_fn_cxx_try_compile "$LINENO"; then :
27806 glibcxx_cv_func__isnan_use=yes
27808 glibcxx_cv_func__isnan_use=no
27810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27812 ac_cpp='$CPP $CPPFLAGS'
27813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27822 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27824 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27825 for ac_func in _isnan
27827 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27828 if test "x$ac_cv_func__isnan" = x""yes; then :
27829 cat >>confdefs.h <<_ACEOF
27830 #define HAVE__ISNAN 1
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27844 $as_echo_n "checking for finite declaration... " >&6; }
27845 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27846 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27847 $as_echo_n "(cached) " >&6
27852 ac_cpp='$CXXCPP $CPPFLAGS'
27853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27858 /* end confdefs.h. */
27860 #ifdef HAVE_IEEEFP_H
27861 #include <ieeefp.h>
27872 if ac_fn_cxx_try_compile "$LINENO"; then :
27873 glibcxx_cv_func_finite_use=yes
27875 glibcxx_cv_func_finite_use=no
27877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27879 ac_cpp='$CPP $CPPFLAGS'
27880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27889 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27891 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27892 for ac_func in finite
27894 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27895 if test "x$ac_cv_func_finite" = x""yes; then :
27896 cat >>confdefs.h <<_ACEOF
27897 #define HAVE_FINITE 1
27905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27906 $as_echo_n "checking for _finite declaration... " >&6; }
27907 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27908 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27909 $as_echo_n "(cached) " >&6
27914 ac_cpp='$CXXCPP $CPPFLAGS'
27915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27920 /* end confdefs.h. */
27922 #ifdef HAVE_IEEEFP_H
27923 #include <ieeefp.h>
27934 if ac_fn_cxx_try_compile "$LINENO"; then :
27935 glibcxx_cv_func__finite_use=yes
27937 glibcxx_cv_func__finite_use=no
27939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941 ac_cpp='$CPP $CPPFLAGS'
27942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27951 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27953 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27954 for ac_func in _finite
27956 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27957 if test "x$ac_cv_func__finite" = x""yes; then :
27958 cat >>confdefs.h <<_ACEOF
27959 #define HAVE__FINITE 1
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27973 $as_echo_n "checking for sincos declaration... " >&6; }
27974 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27975 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27976 $as_echo_n "(cached) " >&6
27981 ac_cpp='$CXXCPP $CPPFLAGS'
27982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27987 /* end confdefs.h. */
27997 if ac_fn_cxx_try_compile "$LINENO"; then :
27998 glibcxx_cv_func_sincos_use=yes
28000 glibcxx_cv_func_sincos_use=no
28002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28004 ac_cpp='$CPP $CPPFLAGS'
28005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28014 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28016 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28017 for ac_func in sincos
28019 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28020 if test "x$ac_cv_func_sincos" = x""yes; then :
28021 cat >>confdefs.h <<_ACEOF
28022 #define HAVE_SINCOS 1
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28031 $as_echo_n "checking for _sincos declaration... " >&6; }
28032 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28033 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28034 $as_echo_n "(cached) " >&6
28039 ac_cpp='$CXXCPP $CPPFLAGS'
28040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28045 /* end confdefs.h. */
28055 if ac_fn_cxx_try_compile "$LINENO"; then :
28056 glibcxx_cv_func__sincos_use=yes
28058 glibcxx_cv_func__sincos_use=no
28060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28062 ac_cpp='$CPP $CPPFLAGS'
28063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28072 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28074 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28075 for ac_func in _sincos
28077 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28078 if test "x$ac_cv_func__sincos" = x""yes; then :
28079 cat >>confdefs.h <<_ACEOF
28080 #define HAVE__SINCOS 1
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28094 $as_echo_n "checking for fpclass declaration... " >&6; }
28095 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28096 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28097 $as_echo_n "(cached) " >&6
28102 ac_cpp='$CXXCPP $CPPFLAGS'
28103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28108 /* end confdefs.h. */
28110 #ifdef HAVE_IEEEFP_H
28111 #include <ieeefp.h>
28122 if ac_fn_cxx_try_compile "$LINENO"; then :
28123 glibcxx_cv_func_fpclass_use=yes
28125 glibcxx_cv_func_fpclass_use=no
28127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28129 ac_cpp='$CPP $CPPFLAGS'
28130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28139 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28141 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28142 for ac_func in fpclass
28144 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28145 if test "x$ac_cv_func_fpclass" = x""yes; then :
28146 cat >>confdefs.h <<_ACEOF
28147 #define HAVE_FPCLASS 1
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28156 $as_echo_n "checking for _fpclass declaration... " >&6; }
28157 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28158 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28159 $as_echo_n "(cached) " >&6
28164 ac_cpp='$CXXCPP $CPPFLAGS'
28165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28170 /* end confdefs.h. */
28172 #ifdef HAVE_IEEEFP_H
28173 #include <ieeefp.h>
28184 if ac_fn_cxx_try_compile "$LINENO"; then :
28185 glibcxx_cv_func__fpclass_use=yes
28187 glibcxx_cv_func__fpclass_use=no
28189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28191 ac_cpp='$CPP $CPPFLAGS'
28192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28201 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28203 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28204 for ac_func in _fpclass
28206 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28207 if test "x$ac_cv_func__fpclass" = x""yes; then :
28208 cat >>confdefs.h <<_ACEOF
28209 #define HAVE__FPCLASS 1
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28223 $as_echo_n "checking for qfpclass declaration... " >&6; }
28224 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28225 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28226 $as_echo_n "(cached) " >&6
28231 ac_cpp='$CXXCPP $CPPFLAGS'
28232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28237 /* end confdefs.h. */
28239 #ifdef HAVE_IEEEFP_H
28240 #include <ieeefp.h>
28251 if ac_fn_cxx_try_compile "$LINENO"; then :
28252 glibcxx_cv_func_qfpclass_use=yes
28254 glibcxx_cv_func_qfpclass_use=no
28256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258 ac_cpp='$CPP $CPPFLAGS'
28259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28268 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28270 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28271 for ac_func in qfpclass
28273 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28274 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28275 cat >>confdefs.h <<_ACEOF
28276 #define HAVE_QFPCLASS 1
28284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28285 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28286 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28287 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28288 $as_echo_n "(cached) " >&6
28293 ac_cpp='$CXXCPP $CPPFLAGS'
28294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28299 /* end confdefs.h. */
28301 #ifdef HAVE_IEEEFP_H
28302 #include <ieeefp.h>
28313 if ac_fn_cxx_try_compile "$LINENO"; then :
28314 glibcxx_cv_func__qfpclass_use=yes
28316 glibcxx_cv_func__qfpclass_use=no
28318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28320 ac_cpp='$CPP $CPPFLAGS'
28321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28330 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28332 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28333 for ac_func in _qfpclass
28335 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28336 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28337 cat >>confdefs.h <<_ACEOF
28338 #define HAVE__QFPCLASS 1
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28352 $as_echo_n "checking for hypot declaration... " >&6; }
28353 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28354 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28355 $as_echo_n "(cached) " >&6
28360 ac_cpp='$CXXCPP $CPPFLAGS'
28361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28366 /* end confdefs.h. */
28376 if ac_fn_cxx_try_compile "$LINENO"; then :
28377 glibcxx_cv_func_hypot_use=yes
28379 glibcxx_cv_func_hypot_use=no
28381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28383 ac_cpp='$CPP $CPPFLAGS'
28384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28393 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28395 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28396 for ac_func in hypot
28398 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28399 if test "x$ac_cv_func_hypot" = x""yes; then :
28400 cat >>confdefs.h <<_ACEOF
28401 #define HAVE_HYPOT 1
28409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28410 $as_echo_n "checking for _hypot declaration... " >&6; }
28411 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28412 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28413 $as_echo_n "(cached) " >&6
28418 ac_cpp='$CXXCPP $CPPFLAGS'
28419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28424 /* end confdefs.h. */
28434 if ac_fn_cxx_try_compile "$LINENO"; then :
28435 glibcxx_cv_func__hypot_use=yes
28437 glibcxx_cv_func__hypot_use=no
28439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28441 ac_cpp='$CPP $CPPFLAGS'
28442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28451 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28453 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28454 for ac_func in _hypot
28456 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28457 if test "x$ac_cv_func__hypot" = x""yes; then :
28458 cat >>confdefs.h <<_ACEOF
28459 #define HAVE__HYPOT 1
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28473 $as_echo_n "checking for float trig functions... " >&6; }
28474 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28475 $as_echo_n "(cached) " >&6
28480 ac_cpp='$CXXCPP $CPPFLAGS'
28481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28486 /* end confdefs.h. */
28491 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28496 if ac_fn_cxx_try_compile "$LINENO"; then :
28497 glibcxx_cv_func_float_trig_use=yes
28499 glibcxx_cv_func_float_trig_use=no
28501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28503 ac_cpp='$CPP $CPPFLAGS'
28504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28511 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28512 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28513 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28517 eval as_val=\$$as_ac_var
28518 if test "x$as_val" = x""yes; then :
28519 cat >>confdefs.h <<_ACEOF
28520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28528 $as_echo_n "checking for _float trig functions... " >&6; }
28529 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28530 $as_echo_n "(cached) " >&6
28535 ac_cpp='$CXXCPP $CPPFLAGS'
28536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h. */
28546 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28551 if ac_fn_cxx_try_compile "$LINENO"; then :
28552 glibcxx_cv_func__float_trig_use=yes
28554 glibcxx_cv_func__float_trig_use=no
28556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28558 ac_cpp='$CPP $CPPFLAGS'
28559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28566 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28567 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28568 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28572 eval as_val=\$$as_ac_var
28573 if test "x$as_val" = x""yes; then :
28574 cat >>confdefs.h <<_ACEOF
28575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28589 $as_echo_n "checking for float round functions... " >&6; }
28590 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28591 $as_echo_n "(cached) " >&6
28596 ac_cpp='$CXXCPP $CPPFLAGS'
28597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28602 /* end confdefs.h. */
28607 ceilf (0); floorf (0);
28612 if ac_fn_cxx_try_compile "$LINENO"; then :
28613 glibcxx_cv_func_float_round_use=yes
28615 glibcxx_cv_func_float_round_use=no
28617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28619 ac_cpp='$CPP $CPPFLAGS'
28620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28627 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28628 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28629 for ac_func in ceilf floorf
28631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28633 eval as_val=\$$as_ac_var
28634 if test "x$as_val" = x""yes; then :
28635 cat >>confdefs.h <<_ACEOF
28636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28644 $as_echo_n "checking for _float round functions... " >&6; }
28645 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28646 $as_echo_n "(cached) " >&6
28651 ac_cpp='$CXXCPP $CPPFLAGS'
28652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28657 /* end confdefs.h. */
28662 _ceilf (0); _floorf (0);
28667 if ac_fn_cxx_try_compile "$LINENO"; then :
28668 glibcxx_cv_func__float_round_use=yes
28670 glibcxx_cv_func__float_round_use=no
28672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28674 ac_cpp='$CPP $CPPFLAGS'
28675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28682 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28683 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28684 for ac_func in _ceilf _floorf
28686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28688 eval as_val=\$$as_ac_var
28689 if test "x$as_val" = x""yes; then :
28690 cat >>confdefs.h <<_ACEOF
28691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28706 $as_echo_n "checking for expf declaration... " >&6; }
28707 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28708 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28709 $as_echo_n "(cached) " >&6
28714 ac_cpp='$CXXCPP $CPPFLAGS'
28715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h. */
28722 #ifdef HAVE_IEEEFP_H
28723 #include <ieeefp.h>
28734 if ac_fn_cxx_try_compile "$LINENO"; then :
28735 glibcxx_cv_func_expf_use=yes
28737 glibcxx_cv_func_expf_use=no
28739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28741 ac_cpp='$CPP $CPPFLAGS'
28742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28751 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28753 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28754 for ac_func in expf
28756 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28757 if test "x$ac_cv_func_expf" = x""yes; then :
28758 cat >>confdefs.h <<_ACEOF
28759 #define HAVE_EXPF 1
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28768 $as_echo_n "checking for _expf declaration... " >&6; }
28769 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28770 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28771 $as_echo_n "(cached) " >&6
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h. */
28784 #ifdef HAVE_IEEEFP_H
28785 #include <ieeefp.h>
28796 if ac_fn_cxx_try_compile "$LINENO"; then :
28797 glibcxx_cv_func__expf_use=yes
28799 glibcxx_cv_func__expf_use=no
28801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28803 ac_cpp='$CPP $CPPFLAGS'
28804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28813 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28815 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28816 for ac_func in _expf
28818 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28819 if test "x$ac_cv_func__expf" = x""yes; then :
28820 cat >>confdefs.h <<_ACEOF
28821 #define HAVE__EXPF 1
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28835 $as_echo_n "checking for isnanf declaration... " >&6; }
28836 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28837 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28838 $as_echo_n "(cached) " >&6
28843 ac_cpp='$CXXCPP $CPPFLAGS'
28844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28849 /* end confdefs.h. */
28851 #ifdef HAVE_IEEEFP_H
28852 #include <ieeefp.h>
28863 if ac_fn_cxx_try_compile "$LINENO"; then :
28864 glibcxx_cv_func_isnanf_use=yes
28866 glibcxx_cv_func_isnanf_use=no
28868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28870 ac_cpp='$CPP $CPPFLAGS'
28871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28880 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28882 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28883 for ac_func in isnanf
28885 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28886 if test "x$ac_cv_func_isnanf" = x""yes; then :
28887 cat >>confdefs.h <<_ACEOF
28888 #define HAVE_ISNANF 1
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28897 $as_echo_n "checking for _isnanf declaration... " >&6; }
28898 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28899 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28900 $as_echo_n "(cached) " >&6
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h. */
28913 #ifdef HAVE_IEEEFP_H
28914 #include <ieeefp.h>
28925 if ac_fn_cxx_try_compile "$LINENO"; then :
28926 glibcxx_cv_func__isnanf_use=yes
28928 glibcxx_cv_func__isnanf_use=no
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28932 ac_cpp='$CPP $CPPFLAGS'
28933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28942 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28944 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28945 for ac_func in _isnanf
28947 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28948 if test "x$ac_cv_func__isnanf" = x""yes; then :
28949 cat >>confdefs.h <<_ACEOF
28950 #define HAVE__ISNANF 1
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28964 $as_echo_n "checking for isinff declaration... " >&6; }
28965 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28966 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28967 $as_echo_n "(cached) " >&6
28972 ac_cpp='$CXXCPP $CPPFLAGS'
28973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28978 /* end confdefs.h. */
28980 #ifdef HAVE_IEEEFP_H
28981 #include <ieeefp.h>
28992 if ac_fn_cxx_try_compile "$LINENO"; then :
28993 glibcxx_cv_func_isinff_use=yes
28995 glibcxx_cv_func_isinff_use=no
28997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28999 ac_cpp='$CPP $CPPFLAGS'
29000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29009 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29011 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29012 for ac_func in isinff
29014 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29015 if test "x$ac_cv_func_isinff" = x""yes; then :
29016 cat >>confdefs.h <<_ACEOF
29017 #define HAVE_ISINFF 1
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29026 $as_echo_n "checking for _isinff declaration... " >&6; }
29027 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29028 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29029 $as_echo_n "(cached) " >&6
29034 ac_cpp='$CXXCPP $CPPFLAGS'
29035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29040 /* end confdefs.h. */
29042 #ifdef HAVE_IEEEFP_H
29043 #include <ieeefp.h>
29054 if ac_fn_cxx_try_compile "$LINENO"; then :
29055 glibcxx_cv_func__isinff_use=yes
29057 glibcxx_cv_func__isinff_use=no
29059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29061 ac_cpp='$CPP $CPPFLAGS'
29062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29071 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29073 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29074 for ac_func in _isinff
29076 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29077 if test "x$ac_cv_func__isinff" = x""yes; then :
29078 cat >>confdefs.h <<_ACEOF
29079 #define HAVE__ISINFF 1
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29093 $as_echo_n "checking for atan2f declaration... " >&6; }
29094 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29095 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29096 $as_echo_n "(cached) " >&6
29101 ac_cpp='$CXXCPP $CPPFLAGS'
29102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29107 /* end confdefs.h. */
29117 if ac_fn_cxx_try_compile "$LINENO"; then :
29118 glibcxx_cv_func_atan2f_use=yes
29120 glibcxx_cv_func_atan2f_use=no
29122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29124 ac_cpp='$CPP $CPPFLAGS'
29125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29134 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29136 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29137 for ac_func in atan2f
29139 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29140 if test "x$ac_cv_func_atan2f" = x""yes; then :
29141 cat >>confdefs.h <<_ACEOF
29142 #define HAVE_ATAN2F 1
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29151 $as_echo_n "checking for _atan2f declaration... " >&6; }
29152 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29153 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29154 $as_echo_n "(cached) " >&6
29159 ac_cpp='$CXXCPP $CPPFLAGS'
29160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29165 /* end confdefs.h. */
29175 if ac_fn_cxx_try_compile "$LINENO"; then :
29176 glibcxx_cv_func__atan2f_use=yes
29178 glibcxx_cv_func__atan2f_use=no
29180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29182 ac_cpp='$CPP $CPPFLAGS'
29183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29192 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29194 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29195 for ac_func in _atan2f
29197 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29198 if test "x$ac_cv_func__atan2f" = x""yes; then :
29199 cat >>confdefs.h <<_ACEOF
29200 #define HAVE__ATAN2F 1
29213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29214 $as_echo_n "checking for fabsf declaration... " >&6; }
29215 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29216 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29217 $as_echo_n "(cached) " >&6
29222 ac_cpp='$CXXCPP $CPPFLAGS'
29223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29228 /* end confdefs.h. */
29230 #ifdef HAVE_IEEEFP_H
29231 #include <ieeefp.h>
29242 if ac_fn_cxx_try_compile "$LINENO"; then :
29243 glibcxx_cv_func_fabsf_use=yes
29245 glibcxx_cv_func_fabsf_use=no
29247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29249 ac_cpp='$CPP $CPPFLAGS'
29250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29259 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29261 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29262 for ac_func in fabsf
29264 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29265 if test "x$ac_cv_func_fabsf" = x""yes; then :
29266 cat >>confdefs.h <<_ACEOF
29267 #define HAVE_FABSF 1
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29276 $as_echo_n "checking for _fabsf declaration... " >&6; }
29277 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29278 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29279 $as_echo_n "(cached) " >&6
29284 ac_cpp='$CXXCPP $CPPFLAGS'
29285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29290 /* end confdefs.h. */
29292 #ifdef HAVE_IEEEFP_H
29293 #include <ieeefp.h>
29304 if ac_fn_cxx_try_compile "$LINENO"; then :
29305 glibcxx_cv_func__fabsf_use=yes
29307 glibcxx_cv_func__fabsf_use=no
29309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29311 ac_cpp='$CPP $CPPFLAGS'
29312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29321 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29323 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29324 for ac_func in _fabsf
29326 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29327 if test "x$ac_cv_func__fabsf" = x""yes; then :
29328 cat >>confdefs.h <<_ACEOF
29329 #define HAVE__FABSF 1
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29343 $as_echo_n "checking for fmodf declaration... " >&6; }
29344 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29345 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29346 $as_echo_n "(cached) " >&6
29351 ac_cpp='$CXXCPP $CPPFLAGS'
29352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29357 /* end confdefs.h. */
29367 if ac_fn_cxx_try_compile "$LINENO"; then :
29368 glibcxx_cv_func_fmodf_use=yes
29370 glibcxx_cv_func_fmodf_use=no
29372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29374 ac_cpp='$CPP $CPPFLAGS'
29375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29384 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29386 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29387 for ac_func in fmodf
29389 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29390 if test "x$ac_cv_func_fmodf" = x""yes; then :
29391 cat >>confdefs.h <<_ACEOF
29392 #define HAVE_FMODF 1
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29401 $as_echo_n "checking for _fmodf declaration... " >&6; }
29402 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29403 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29404 $as_echo_n "(cached) " >&6
29409 ac_cpp='$CXXCPP $CPPFLAGS'
29410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29415 /* end confdefs.h. */
29425 if ac_fn_cxx_try_compile "$LINENO"; then :
29426 glibcxx_cv_func__fmodf_use=yes
29428 glibcxx_cv_func__fmodf_use=no
29430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29432 ac_cpp='$CPP $CPPFLAGS'
29433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29442 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29444 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29445 for ac_func in _fmodf
29447 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29448 if test "x$ac_cv_func__fmodf" = x""yes; then :
29449 cat >>confdefs.h <<_ACEOF
29450 #define HAVE__FMODF 1
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29464 $as_echo_n "checking for frexpf declaration... " >&6; }
29465 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29466 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29467 $as_echo_n "(cached) " >&6
29472 ac_cpp='$CXXCPP $CPPFLAGS'
29473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29478 /* end confdefs.h. */
29488 if ac_fn_cxx_try_compile "$LINENO"; then :
29489 glibcxx_cv_func_frexpf_use=yes
29491 glibcxx_cv_func_frexpf_use=no
29493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29495 ac_cpp='$CPP $CPPFLAGS'
29496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29505 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29507 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29508 for ac_func in frexpf
29510 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29511 if test "x$ac_cv_func_frexpf" = x""yes; then :
29512 cat >>confdefs.h <<_ACEOF
29513 #define HAVE_FREXPF 1
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29522 $as_echo_n "checking for _frexpf declaration... " >&6; }
29523 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29524 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29525 $as_echo_n "(cached) " >&6
29530 ac_cpp='$CXXCPP $CPPFLAGS'
29531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29536 /* end confdefs.h. */
29546 if ac_fn_cxx_try_compile "$LINENO"; then :
29547 glibcxx_cv_func__frexpf_use=yes
29549 glibcxx_cv_func__frexpf_use=no
29551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29553 ac_cpp='$CPP $CPPFLAGS'
29554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29563 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29565 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29566 for ac_func in _frexpf
29568 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29569 if test "x$ac_cv_func__frexpf" = x""yes; then :
29570 cat >>confdefs.h <<_ACEOF
29571 #define HAVE__FREXPF 1
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29585 $as_echo_n "checking for hypotf declaration... " >&6; }
29586 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29587 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29588 $as_echo_n "(cached) " >&6
29593 ac_cpp='$CXXCPP $CPPFLAGS'
29594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h. */
29609 if ac_fn_cxx_try_compile "$LINENO"; then :
29610 glibcxx_cv_func_hypotf_use=yes
29612 glibcxx_cv_func_hypotf_use=no
29614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29616 ac_cpp='$CPP $CPPFLAGS'
29617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29626 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29628 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29629 for ac_func in hypotf
29631 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29632 if test "x$ac_cv_func_hypotf" = x""yes; then :
29633 cat >>confdefs.h <<_ACEOF
29634 #define HAVE_HYPOTF 1
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29643 $as_echo_n "checking for _hypotf declaration... " >&6; }
29644 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29645 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29646 $as_echo_n "(cached) " >&6
29651 ac_cpp='$CXXCPP $CPPFLAGS'
29652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29657 /* end confdefs.h. */
29667 if ac_fn_cxx_try_compile "$LINENO"; then :
29668 glibcxx_cv_func__hypotf_use=yes
29670 glibcxx_cv_func__hypotf_use=no
29672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29674 ac_cpp='$CPP $CPPFLAGS'
29675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29684 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29686 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29687 for ac_func in _hypotf
29689 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29690 if test "x$ac_cv_func__hypotf" = x""yes; then :
29691 cat >>confdefs.h <<_ACEOF
29692 #define HAVE__HYPOTF 1
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29706 $as_echo_n "checking for ldexpf declaration... " >&6; }
29707 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29708 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29709 $as_echo_n "(cached) " >&6
29714 ac_cpp='$CXXCPP $CPPFLAGS'
29715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29720 /* end confdefs.h. */
29730 if ac_fn_cxx_try_compile "$LINENO"; then :
29731 glibcxx_cv_func_ldexpf_use=yes
29733 glibcxx_cv_func_ldexpf_use=no
29735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 ac_cpp='$CPP $CPPFLAGS'
29738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29747 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29749 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29750 for ac_func in ldexpf
29752 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29753 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29754 cat >>confdefs.h <<_ACEOF
29755 #define HAVE_LDEXPF 1
29763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29764 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29765 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29766 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29767 $as_echo_n "(cached) " >&6
29772 ac_cpp='$CXXCPP $CPPFLAGS'
29773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29778 /* end confdefs.h. */
29788 if ac_fn_cxx_try_compile "$LINENO"; then :
29789 glibcxx_cv_func__ldexpf_use=yes
29791 glibcxx_cv_func__ldexpf_use=no
29793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29795 ac_cpp='$CPP $CPPFLAGS'
29796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29805 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29807 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29808 for ac_func in _ldexpf
29810 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29811 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29812 cat >>confdefs.h <<_ACEOF
29813 #define HAVE__LDEXPF 1
29826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29827 $as_echo_n "checking for logf declaration... " >&6; }
29828 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29829 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29830 $as_echo_n "(cached) " >&6
29835 ac_cpp='$CXXCPP $CPPFLAGS'
29836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29841 /* end confdefs.h. */
29843 #ifdef HAVE_IEEEFP_H
29844 #include <ieeefp.h>
29855 if ac_fn_cxx_try_compile "$LINENO"; then :
29856 glibcxx_cv_func_logf_use=yes
29858 glibcxx_cv_func_logf_use=no
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29862 ac_cpp='$CPP $CPPFLAGS'
29863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29872 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29874 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29875 for ac_func in logf
29877 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29878 if test "x$ac_cv_func_logf" = x""yes; then :
29879 cat >>confdefs.h <<_ACEOF
29880 #define HAVE_LOGF 1
29888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29889 $as_echo_n "checking for _logf declaration... " >&6; }
29890 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29891 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29892 $as_echo_n "(cached) " >&6
29897 ac_cpp='$CXXCPP $CPPFLAGS'
29898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29903 /* end confdefs.h. */
29905 #ifdef HAVE_IEEEFP_H
29906 #include <ieeefp.h>
29917 if ac_fn_cxx_try_compile "$LINENO"; then :
29918 glibcxx_cv_func__logf_use=yes
29920 glibcxx_cv_func__logf_use=no
29922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29924 ac_cpp='$CPP $CPPFLAGS'
29925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29934 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29936 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29937 for ac_func in _logf
29939 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29940 if test "x$ac_cv_func__logf" = x""yes; then :
29941 cat >>confdefs.h <<_ACEOF
29942 #define HAVE__LOGF 1
29955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29956 $as_echo_n "checking for log10f declaration... " >&6; }
29957 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29958 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29959 $as_echo_n "(cached) " >&6
29964 ac_cpp='$CXXCPP $CPPFLAGS'
29965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29970 /* end confdefs.h. */
29972 #ifdef HAVE_IEEEFP_H
29973 #include <ieeefp.h>
29984 if ac_fn_cxx_try_compile "$LINENO"; then :
29985 glibcxx_cv_func_log10f_use=yes
29987 glibcxx_cv_func_log10f_use=no
29989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29991 ac_cpp='$CPP $CPPFLAGS'
29992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30001 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30003 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30004 for ac_func in log10f
30006 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30007 if test "x$ac_cv_func_log10f" = x""yes; then :
30008 cat >>confdefs.h <<_ACEOF
30009 #define HAVE_LOG10F 1
30017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30018 $as_echo_n "checking for _log10f declaration... " >&6; }
30019 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30020 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30021 $as_echo_n "(cached) " >&6
30026 ac_cpp='$CXXCPP $CPPFLAGS'
30027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30032 /* end confdefs.h. */
30034 #ifdef HAVE_IEEEFP_H
30035 #include <ieeefp.h>
30046 if ac_fn_cxx_try_compile "$LINENO"; then :
30047 glibcxx_cv_func__log10f_use=yes
30049 glibcxx_cv_func__log10f_use=no
30051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30063 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30065 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30066 for ac_func in _log10f
30068 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30069 if test "x$ac_cv_func__log10f" = x""yes; then :
30070 cat >>confdefs.h <<_ACEOF
30071 #define HAVE__LOG10F 1
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30085 $as_echo_n "checking for modff declaration... " >&6; }
30086 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30087 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30088 $as_echo_n "(cached) " >&6
30093 ac_cpp='$CXXCPP $CPPFLAGS'
30094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30099 /* end confdefs.h. */
30109 if ac_fn_cxx_try_compile "$LINENO"; then :
30110 glibcxx_cv_func_modff_use=yes
30112 glibcxx_cv_func_modff_use=no
30114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30116 ac_cpp='$CPP $CPPFLAGS'
30117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30126 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30128 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30129 for ac_func in modff
30131 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30132 if test "x$ac_cv_func_modff" = x""yes; then :
30133 cat >>confdefs.h <<_ACEOF
30134 #define HAVE_MODFF 1
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30143 $as_echo_n "checking for _modff declaration... " >&6; }
30144 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30145 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30146 $as_echo_n "(cached) " >&6
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30157 /* end confdefs.h. */
30167 if ac_fn_cxx_try_compile "$LINENO"; then :
30168 glibcxx_cv_func__modff_use=yes
30170 glibcxx_cv_func__modff_use=no
30172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30174 ac_cpp='$CPP $CPPFLAGS'
30175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30184 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30186 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30187 for ac_func in _modff
30189 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30190 if test "x$ac_cv_func__modff" = x""yes; then :
30191 cat >>confdefs.h <<_ACEOF
30192 #define HAVE__MODFF 1
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30206 $as_echo_n "checking for modf declaration... " >&6; }
30207 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30208 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30209 $as_echo_n "(cached) " >&6
30214 ac_cpp='$CXXCPP $CPPFLAGS'
30215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30220 /* end confdefs.h. */
30230 if ac_fn_cxx_try_compile "$LINENO"; then :
30231 glibcxx_cv_func_modf_use=yes
30233 glibcxx_cv_func_modf_use=no
30235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30237 ac_cpp='$CPP $CPPFLAGS'
30238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30247 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30249 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30250 for ac_func in modf
30252 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30253 if test "x$ac_cv_func_modf" = x""yes; then :
30254 cat >>confdefs.h <<_ACEOF
30255 #define HAVE_MODF 1
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30264 $as_echo_n "checking for _modf declaration... " >&6; }
30265 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30266 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30267 $as_echo_n "(cached) " >&6
30272 ac_cpp='$CXXCPP $CPPFLAGS'
30273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30278 /* end confdefs.h. */
30288 if ac_fn_cxx_try_compile "$LINENO"; then :
30289 glibcxx_cv_func__modf_use=yes
30291 glibcxx_cv_func__modf_use=no
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30295 ac_cpp='$CPP $CPPFLAGS'
30296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30305 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30307 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30308 for ac_func in _modf
30310 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30311 if test "x$ac_cv_func__modf" = x""yes; then :
30312 cat >>confdefs.h <<_ACEOF
30313 #define HAVE__MODF 1
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30327 $as_echo_n "checking for powf declaration... " >&6; }
30328 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30329 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30330 $as_echo_n "(cached) " >&6
30335 ac_cpp='$CXXCPP $CPPFLAGS'
30336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30341 /* end confdefs.h. */
30351 if ac_fn_cxx_try_compile "$LINENO"; then :
30352 glibcxx_cv_func_powf_use=yes
30354 glibcxx_cv_func_powf_use=no
30356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30358 ac_cpp='$CPP $CPPFLAGS'
30359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30368 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30370 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30371 for ac_func in powf
30373 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30374 if test "x$ac_cv_func_powf" = x""yes; then :
30375 cat >>confdefs.h <<_ACEOF
30376 #define HAVE_POWF 1
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30385 $as_echo_n "checking for _powf declaration... " >&6; }
30386 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30387 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30388 $as_echo_n "(cached) " >&6
30393 ac_cpp='$CXXCPP $CPPFLAGS'
30394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30409 if ac_fn_cxx_try_compile "$LINENO"; then :
30410 glibcxx_cv_func__powf_use=yes
30412 glibcxx_cv_func__powf_use=no
30414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30416 ac_cpp='$CPP $CPPFLAGS'
30417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30426 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30428 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30429 for ac_func in _powf
30431 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30432 if test "x$ac_cv_func__powf" = x""yes; then :
30433 cat >>confdefs.h <<_ACEOF
30434 #define HAVE__POWF 1
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30448 $as_echo_n "checking for sqrtf declaration... " >&6; }
30449 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30450 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30451 $as_echo_n "(cached) " >&6
30456 ac_cpp='$CXXCPP $CPPFLAGS'
30457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30462 /* end confdefs.h. */
30464 #ifdef HAVE_IEEEFP_H
30465 #include <ieeefp.h>
30476 if ac_fn_cxx_try_compile "$LINENO"; then :
30477 glibcxx_cv_func_sqrtf_use=yes
30479 glibcxx_cv_func_sqrtf_use=no
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30483 ac_cpp='$CPP $CPPFLAGS'
30484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30493 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30495 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30496 for ac_func in sqrtf
30498 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30499 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30500 cat >>confdefs.h <<_ACEOF
30501 #define HAVE_SQRTF 1
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30510 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30511 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30512 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30513 $as_echo_n "(cached) " >&6
30518 ac_cpp='$CXXCPP $CPPFLAGS'
30519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30524 /* end confdefs.h. */
30526 #ifdef HAVE_IEEEFP_H
30527 #include <ieeefp.h>
30538 if ac_fn_cxx_try_compile "$LINENO"; then :
30539 glibcxx_cv_func__sqrtf_use=yes
30541 glibcxx_cv_func__sqrtf_use=no
30543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30545 ac_cpp='$CPP $CPPFLAGS'
30546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30555 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30557 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30558 for ac_func in _sqrtf
30560 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30561 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30562 cat >>confdefs.h <<_ACEOF
30563 #define HAVE__SQRTF 1
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30577 $as_echo_n "checking for sincosf declaration... " >&6; }
30578 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30579 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30580 $as_echo_n "(cached) " >&6
30585 ac_cpp='$CXXCPP $CPPFLAGS'
30586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30591 /* end confdefs.h. */
30601 if ac_fn_cxx_try_compile "$LINENO"; then :
30602 glibcxx_cv_func_sincosf_use=yes
30604 glibcxx_cv_func_sincosf_use=no
30606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30608 ac_cpp='$CPP $CPPFLAGS'
30609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30618 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30620 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30621 for ac_func in sincosf
30623 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30624 if test "x$ac_cv_func_sincosf" = x""yes; then :
30625 cat >>confdefs.h <<_ACEOF
30626 #define HAVE_SINCOSF 1
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30635 $as_echo_n "checking for _sincosf declaration... " >&6; }
30636 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30637 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30638 $as_echo_n "(cached) " >&6
30643 ac_cpp='$CXXCPP $CPPFLAGS'
30644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30649 /* end confdefs.h. */
30659 if ac_fn_cxx_try_compile "$LINENO"; then :
30660 glibcxx_cv_func__sincosf_use=yes
30662 glibcxx_cv_func__sincosf_use=no
30664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30666 ac_cpp='$CPP $CPPFLAGS'
30667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30676 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30678 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30679 for ac_func in _sincosf
30681 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30682 if test "x$ac_cv_func__sincosf" = x""yes; then :
30683 cat >>confdefs.h <<_ACEOF
30684 #define HAVE__SINCOSF 1
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30698 $as_echo_n "checking for finitef declaration... " >&6; }
30699 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30700 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30701 $as_echo_n "(cached) " >&6
30706 ac_cpp='$CXXCPP $CPPFLAGS'
30707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30712 /* end confdefs.h. */
30714 #ifdef HAVE_IEEEFP_H
30715 #include <ieeefp.h>
30726 if ac_fn_cxx_try_compile "$LINENO"; then :
30727 glibcxx_cv_func_finitef_use=yes
30729 glibcxx_cv_func_finitef_use=no
30731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30733 ac_cpp='$CPP $CPPFLAGS'
30734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30743 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30745 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30746 for ac_func in finitef
30748 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30749 if test "x$ac_cv_func_finitef" = x""yes; then :
30750 cat >>confdefs.h <<_ACEOF
30751 #define HAVE_FINITEF 1
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30760 $as_echo_n "checking for _finitef declaration... " >&6; }
30761 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30762 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30763 $as_echo_n "(cached) " >&6
30768 ac_cpp='$CXXCPP $CPPFLAGS'
30769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30774 /* end confdefs.h. */
30776 #ifdef HAVE_IEEEFP_H
30777 #include <ieeefp.h>
30788 if ac_fn_cxx_try_compile "$LINENO"; then :
30789 glibcxx_cv_func__finitef_use=yes
30791 glibcxx_cv_func__finitef_use=no
30793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30795 ac_cpp='$CPP $CPPFLAGS'
30796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30805 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30807 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30808 for ac_func in _finitef
30810 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30811 if test "x$ac_cv_func__finitef" = x""yes; then :
30812 cat >>confdefs.h <<_ACEOF
30813 #define HAVE__FINITEF 1
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30827 $as_echo_n "checking for long double trig functions... " >&6; }
30828 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30829 $as_echo_n "(cached) " >&6
30834 ac_cpp='$CXXCPP $CPPFLAGS'
30835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30840 /* end confdefs.h. */
30845 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30850 if ac_fn_cxx_try_compile "$LINENO"; then :
30851 glibcxx_cv_func_long_double_trig_use=yes
30853 glibcxx_cv_func_long_double_trig_use=no
30855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30857 ac_cpp='$CPP $CPPFLAGS'
30858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30865 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30866 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30867 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30871 eval as_val=\$$as_ac_var
30872 if test "x$as_val" = x""yes; then :
30873 cat >>confdefs.h <<_ACEOF
30874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30882 $as_echo_n "checking for _long double trig functions... " >&6; }
30883 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30884 $as_echo_n "(cached) " >&6
30889 ac_cpp='$CXXCPP $CPPFLAGS'
30890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30895 /* end confdefs.h. */
30900 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30905 if ac_fn_cxx_try_compile "$LINENO"; then :
30906 glibcxx_cv_func__long_double_trig_use=yes
30908 glibcxx_cv_func__long_double_trig_use=no
30910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30912 ac_cpp='$CPP $CPPFLAGS'
30913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30920 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30921 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30922 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30926 eval as_val=\$$as_ac_var
30927 if test "x$as_val" = x""yes; then :
30928 cat >>confdefs.h <<_ACEOF
30929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30943 $as_echo_n "checking for long double round functions... " >&6; }
30944 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30945 $as_echo_n "(cached) " >&6
30950 ac_cpp='$CXXCPP $CPPFLAGS'
30951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h. */
30961 ceill (0); floorl (0);
30966 if ac_fn_cxx_try_compile "$LINENO"; then :
30967 glibcxx_cv_func_long_double_round_use=yes
30969 glibcxx_cv_func_long_double_round_use=no
30971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30973 ac_cpp='$CPP $CPPFLAGS'
30974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30981 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30982 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30983 for ac_func in ceill floorl
30985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30987 eval as_val=\$$as_ac_var
30988 if test "x$as_val" = x""yes; then :
30989 cat >>confdefs.h <<_ACEOF
30990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30998 $as_echo_n "checking for _long double round functions... " >&6; }
30999 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31000 $as_echo_n "(cached) " >&6
31005 ac_cpp='$CXXCPP $CPPFLAGS'
31006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31011 /* end confdefs.h. */
31016 _ceill (0); _floorl (0);
31021 if ac_fn_cxx_try_compile "$LINENO"; then :
31022 glibcxx_cv_func__long_double_round_use=yes
31024 glibcxx_cv_func__long_double_round_use=no
31026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31028 ac_cpp='$CPP $CPPFLAGS'
31029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31036 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31037 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31038 for ac_func in _ceill _floorl
31040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31042 eval as_val=\$$as_ac_var
31043 if test "x$as_val" = x""yes; then :
31044 cat >>confdefs.h <<_ACEOF
31045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31060 $as_echo_n "checking for isnanl declaration... " >&6; }
31061 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31062 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31063 $as_echo_n "(cached) " >&6
31068 ac_cpp='$CXXCPP $CPPFLAGS'
31069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31074 /* end confdefs.h. */
31076 #ifdef HAVE_IEEEFP_H
31077 #include <ieeefp.h>
31088 if ac_fn_cxx_try_compile "$LINENO"; then :
31089 glibcxx_cv_func_isnanl_use=yes
31091 glibcxx_cv_func_isnanl_use=no
31093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31095 ac_cpp='$CPP $CPPFLAGS'
31096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31105 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31107 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31108 for ac_func in isnanl
31110 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31111 if test "x$ac_cv_func_isnanl" = x""yes; then :
31112 cat >>confdefs.h <<_ACEOF
31113 #define HAVE_ISNANL 1
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31122 $as_echo_n "checking for _isnanl declaration... " >&6; }
31123 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31124 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31125 $as_echo_n "(cached) " >&6
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h. */
31138 #ifdef HAVE_IEEEFP_H
31139 #include <ieeefp.h>
31150 if ac_fn_cxx_try_compile "$LINENO"; then :
31151 glibcxx_cv_func__isnanl_use=yes
31153 glibcxx_cv_func__isnanl_use=no
31155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31157 ac_cpp='$CPP $CPPFLAGS'
31158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31167 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31169 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31170 for ac_func in _isnanl
31172 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31173 if test "x$ac_cv_func__isnanl" = x""yes; then :
31174 cat >>confdefs.h <<_ACEOF
31175 #define HAVE__ISNANL 1
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31189 $as_echo_n "checking for isinfl declaration... " >&6; }
31190 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31191 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31192 $as_echo_n "(cached) " >&6
31197 ac_cpp='$CXXCPP $CPPFLAGS'
31198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31203 /* end confdefs.h. */
31205 #ifdef HAVE_IEEEFP_H
31206 #include <ieeefp.h>
31217 if ac_fn_cxx_try_compile "$LINENO"; then :
31218 glibcxx_cv_func_isinfl_use=yes
31220 glibcxx_cv_func_isinfl_use=no
31222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31224 ac_cpp='$CPP $CPPFLAGS'
31225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31234 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31236 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31237 for ac_func in isinfl
31239 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31240 if test "x$ac_cv_func_isinfl" = x""yes; then :
31241 cat >>confdefs.h <<_ACEOF
31242 #define HAVE_ISINFL 1
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31251 $as_echo_n "checking for _isinfl declaration... " >&6; }
31252 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31253 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31254 $as_echo_n "(cached) " >&6
31259 ac_cpp='$CXXCPP $CPPFLAGS'
31260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31265 /* end confdefs.h. */
31267 #ifdef HAVE_IEEEFP_H
31268 #include <ieeefp.h>
31279 if ac_fn_cxx_try_compile "$LINENO"; then :
31280 glibcxx_cv_func__isinfl_use=yes
31282 glibcxx_cv_func__isinfl_use=no
31284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31286 ac_cpp='$CPP $CPPFLAGS'
31287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31296 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31298 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31299 for ac_func in _isinfl
31301 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31302 if test "x$ac_cv_func__isinfl" = x""yes; then :
31303 cat >>confdefs.h <<_ACEOF
31304 #define HAVE__ISINFL 1
31317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31318 $as_echo_n "checking for atan2l declaration... " >&6; }
31319 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31320 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31321 $as_echo_n "(cached) " >&6
31326 ac_cpp='$CXXCPP $CPPFLAGS'
31327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31332 /* end confdefs.h. */
31342 if ac_fn_cxx_try_compile "$LINENO"; then :
31343 glibcxx_cv_func_atan2l_use=yes
31345 glibcxx_cv_func_atan2l_use=no
31347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31349 ac_cpp='$CPP $CPPFLAGS'
31350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31359 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31361 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31362 for ac_func in atan2l
31364 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31365 if test "x$ac_cv_func_atan2l" = x""yes; then :
31366 cat >>confdefs.h <<_ACEOF
31367 #define HAVE_ATAN2L 1
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31376 $as_echo_n "checking for _atan2l declaration... " >&6; }
31377 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31378 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31379 $as_echo_n "(cached) " >&6
31384 ac_cpp='$CXXCPP $CPPFLAGS'
31385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31390 /* end confdefs.h. */
31400 if ac_fn_cxx_try_compile "$LINENO"; then :
31401 glibcxx_cv_func__atan2l_use=yes
31403 glibcxx_cv_func__atan2l_use=no
31405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31407 ac_cpp='$CPP $CPPFLAGS'
31408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31417 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31419 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31420 for ac_func in _atan2l
31422 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31423 if test "x$ac_cv_func__atan2l" = x""yes; then :
31424 cat >>confdefs.h <<_ACEOF
31425 #define HAVE__ATAN2L 1
31438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31439 $as_echo_n "checking for expl declaration... " >&6; }
31440 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31441 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31442 $as_echo_n "(cached) " >&6
31447 ac_cpp='$CXXCPP $CPPFLAGS'
31448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31453 /* end confdefs.h. */
31455 #ifdef HAVE_IEEEFP_H
31456 #include <ieeefp.h>
31467 if ac_fn_cxx_try_compile "$LINENO"; then :
31468 glibcxx_cv_func_expl_use=yes
31470 glibcxx_cv_func_expl_use=no
31472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31474 ac_cpp='$CPP $CPPFLAGS'
31475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31484 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31486 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31487 for ac_func in expl
31489 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31490 if test "x$ac_cv_func_expl" = x""yes; then :
31491 cat >>confdefs.h <<_ACEOF
31492 #define HAVE_EXPL 1
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31501 $as_echo_n "checking for _expl declaration... " >&6; }
31502 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31503 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31504 $as_echo_n "(cached) " >&6
31509 ac_cpp='$CXXCPP $CPPFLAGS'
31510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31517 #ifdef HAVE_IEEEFP_H
31518 #include <ieeefp.h>
31529 if ac_fn_cxx_try_compile "$LINENO"; then :
31530 glibcxx_cv_func__expl_use=yes
31532 glibcxx_cv_func__expl_use=no
31534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31536 ac_cpp='$CPP $CPPFLAGS'
31537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31546 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31548 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31549 for ac_func in _expl
31551 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31552 if test "x$ac_cv_func__expl" = x""yes; then :
31553 cat >>confdefs.h <<_ACEOF
31554 #define HAVE__EXPL 1
31567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31568 $as_echo_n "checking for fabsl declaration... " >&6; }
31569 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31570 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31571 $as_echo_n "(cached) " >&6
31576 ac_cpp='$CXXCPP $CPPFLAGS'
31577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31582 /* end confdefs.h. */
31584 #ifdef HAVE_IEEEFP_H
31585 #include <ieeefp.h>
31596 if ac_fn_cxx_try_compile "$LINENO"; then :
31597 glibcxx_cv_func_fabsl_use=yes
31599 glibcxx_cv_func_fabsl_use=no
31601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31603 ac_cpp='$CPP $CPPFLAGS'
31604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31613 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31615 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31616 for ac_func in fabsl
31618 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31619 if test "x$ac_cv_func_fabsl" = x""yes; then :
31620 cat >>confdefs.h <<_ACEOF
31621 #define HAVE_FABSL 1
31629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31630 $as_echo_n "checking for _fabsl declaration... " >&6; }
31631 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31632 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31633 $as_echo_n "(cached) " >&6
31638 ac_cpp='$CXXCPP $CPPFLAGS'
31639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31644 /* end confdefs.h. */
31646 #ifdef HAVE_IEEEFP_H
31647 #include <ieeefp.h>
31658 if ac_fn_cxx_try_compile "$LINENO"; then :
31659 glibcxx_cv_func__fabsl_use=yes
31661 glibcxx_cv_func__fabsl_use=no
31663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31665 ac_cpp='$CPP $CPPFLAGS'
31666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31675 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31677 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31678 for ac_func in _fabsl
31680 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31681 if test "x$ac_cv_func__fabsl" = x""yes; then :
31682 cat >>confdefs.h <<_ACEOF
31683 #define HAVE__FABSL 1
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31697 $as_echo_n "checking for fmodl declaration... " >&6; }
31698 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31699 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31700 $as_echo_n "(cached) " >&6
31705 ac_cpp='$CXXCPP $CPPFLAGS'
31706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31711 /* end confdefs.h. */
31721 if ac_fn_cxx_try_compile "$LINENO"; then :
31722 glibcxx_cv_func_fmodl_use=yes
31724 glibcxx_cv_func_fmodl_use=no
31726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31728 ac_cpp='$CPP $CPPFLAGS'
31729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31738 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31740 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31741 for ac_func in fmodl
31743 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31744 if test "x$ac_cv_func_fmodl" = x""yes; then :
31745 cat >>confdefs.h <<_ACEOF
31746 #define HAVE_FMODL 1
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31755 $as_echo_n "checking for _fmodl declaration... " >&6; }
31756 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31757 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31758 $as_echo_n "(cached) " >&6
31763 ac_cpp='$CXXCPP $CPPFLAGS'
31764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31769 /* end confdefs.h. */
31779 if ac_fn_cxx_try_compile "$LINENO"; then :
31780 glibcxx_cv_func__fmodl_use=yes
31782 glibcxx_cv_func__fmodl_use=no
31784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31786 ac_cpp='$CPP $CPPFLAGS'
31787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31796 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31798 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31799 for ac_func in _fmodl
31801 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31802 if test "x$ac_cv_func__fmodl" = x""yes; then :
31803 cat >>confdefs.h <<_ACEOF
31804 #define HAVE__FMODL 1
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31818 $as_echo_n "checking for frexpl declaration... " >&6; }
31819 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31820 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31821 $as_echo_n "(cached) " >&6
31826 ac_cpp='$CXXCPP $CPPFLAGS'
31827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31832 /* end confdefs.h. */
31842 if ac_fn_cxx_try_compile "$LINENO"; then :
31843 glibcxx_cv_func_frexpl_use=yes
31845 glibcxx_cv_func_frexpl_use=no
31847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31849 ac_cpp='$CPP $CPPFLAGS'
31850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31859 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31861 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31862 for ac_func in frexpl
31864 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31865 if test "x$ac_cv_func_frexpl" = x""yes; then :
31866 cat >>confdefs.h <<_ACEOF
31867 #define HAVE_FREXPL 1
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31876 $as_echo_n "checking for _frexpl declaration... " >&6; }
31877 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31878 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31879 $as_echo_n "(cached) " >&6
31884 ac_cpp='$CXXCPP $CPPFLAGS'
31885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31890 /* end confdefs.h. */
31900 if ac_fn_cxx_try_compile "$LINENO"; then :
31901 glibcxx_cv_func__frexpl_use=yes
31903 glibcxx_cv_func__frexpl_use=no
31905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31907 ac_cpp='$CPP $CPPFLAGS'
31908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31917 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31919 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31920 for ac_func in _frexpl
31922 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31923 if test "x$ac_cv_func__frexpl" = x""yes; then :
31924 cat >>confdefs.h <<_ACEOF
31925 #define HAVE__FREXPL 1
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31939 $as_echo_n "checking for hypotl declaration... " >&6; }
31940 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31941 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31942 $as_echo_n "(cached) " >&6
31947 ac_cpp='$CXXCPP $CPPFLAGS'
31948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31953 /* end confdefs.h. */
31963 if ac_fn_cxx_try_compile "$LINENO"; then :
31964 glibcxx_cv_func_hypotl_use=yes
31966 glibcxx_cv_func_hypotl_use=no
31968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970 ac_cpp='$CPP $CPPFLAGS'
31971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31980 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31982 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31983 for ac_func in hypotl
31985 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31986 if test "x$ac_cv_func_hypotl" = x""yes; then :
31987 cat >>confdefs.h <<_ACEOF
31988 #define HAVE_HYPOTL 1
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31997 $as_echo_n "checking for _hypotl declaration... " >&6; }
31998 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31999 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32000 $as_echo_n "(cached) " >&6
32005 ac_cpp='$CXXCPP $CPPFLAGS'
32006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32011 /* end confdefs.h. */
32021 if ac_fn_cxx_try_compile "$LINENO"; then :
32022 glibcxx_cv_func__hypotl_use=yes
32024 glibcxx_cv_func__hypotl_use=no
32026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32028 ac_cpp='$CPP $CPPFLAGS'
32029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32038 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32040 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32041 for ac_func in _hypotl
32043 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32044 if test "x$ac_cv_func__hypotl" = x""yes; then :
32045 cat >>confdefs.h <<_ACEOF
32046 #define HAVE__HYPOTL 1
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32060 $as_echo_n "checking for ldexpl declaration... " >&6; }
32061 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32062 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32063 $as_echo_n "(cached) " >&6
32068 ac_cpp='$CXXCPP $CPPFLAGS'
32069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32074 /* end confdefs.h. */
32084 if ac_fn_cxx_try_compile "$LINENO"; then :
32085 glibcxx_cv_func_ldexpl_use=yes
32087 glibcxx_cv_func_ldexpl_use=no
32089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32091 ac_cpp='$CPP $CPPFLAGS'
32092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32101 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32103 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32104 for ac_func in ldexpl
32106 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32107 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32108 cat >>confdefs.h <<_ACEOF
32109 #define HAVE_LDEXPL 1
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32118 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32119 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32120 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32121 $as_echo_n "(cached) " >&6
32126 ac_cpp='$CXXCPP $CPPFLAGS'
32127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32132 /* end confdefs.h. */
32142 if ac_fn_cxx_try_compile "$LINENO"; then :
32143 glibcxx_cv_func__ldexpl_use=yes
32145 glibcxx_cv_func__ldexpl_use=no
32147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32149 ac_cpp='$CPP $CPPFLAGS'
32150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32159 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32161 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32162 for ac_func in _ldexpl
32164 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32165 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32166 cat >>confdefs.h <<_ACEOF
32167 #define HAVE__LDEXPL 1
32180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32181 $as_echo_n "checking for logl declaration... " >&6; }
32182 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32183 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32184 $as_echo_n "(cached) " >&6
32189 ac_cpp='$CXXCPP $CPPFLAGS'
32190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32195 /* end confdefs.h. */
32197 #ifdef HAVE_IEEEFP_H
32198 #include <ieeefp.h>
32209 if ac_fn_cxx_try_compile "$LINENO"; then :
32210 glibcxx_cv_func_logl_use=yes
32212 glibcxx_cv_func_logl_use=no
32214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32216 ac_cpp='$CPP $CPPFLAGS'
32217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32226 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32228 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32229 for ac_func in logl
32231 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32232 if test "x$ac_cv_func_logl" = x""yes; then :
32233 cat >>confdefs.h <<_ACEOF
32234 #define HAVE_LOGL 1
32242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32243 $as_echo_n "checking for _logl declaration... " >&6; }
32244 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32245 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32246 $as_echo_n "(cached) " >&6
32251 ac_cpp='$CXXCPP $CPPFLAGS'
32252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32257 /* end confdefs.h. */
32259 #ifdef HAVE_IEEEFP_H
32260 #include <ieeefp.h>
32271 if ac_fn_cxx_try_compile "$LINENO"; then :
32272 glibcxx_cv_func__logl_use=yes
32274 glibcxx_cv_func__logl_use=no
32276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32278 ac_cpp='$CPP $CPPFLAGS'
32279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32288 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32290 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32291 for ac_func in _logl
32293 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32294 if test "x$ac_cv_func__logl" = x""yes; then :
32295 cat >>confdefs.h <<_ACEOF
32296 #define HAVE__LOGL 1
32309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32310 $as_echo_n "checking for log10l declaration... " >&6; }
32311 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32312 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32313 $as_echo_n "(cached) " >&6
32318 ac_cpp='$CXXCPP $CPPFLAGS'
32319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32324 /* end confdefs.h. */
32326 #ifdef HAVE_IEEEFP_H
32327 #include <ieeefp.h>
32338 if ac_fn_cxx_try_compile "$LINENO"; then :
32339 glibcxx_cv_func_log10l_use=yes
32341 glibcxx_cv_func_log10l_use=no
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32345 ac_cpp='$CPP $CPPFLAGS'
32346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32355 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32357 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32358 for ac_func in log10l
32360 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32361 if test "x$ac_cv_func_log10l" = x""yes; then :
32362 cat >>confdefs.h <<_ACEOF
32363 #define HAVE_LOG10L 1
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32372 $as_echo_n "checking for _log10l declaration... " >&6; }
32373 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32374 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32375 $as_echo_n "(cached) " >&6
32380 ac_cpp='$CXXCPP $CPPFLAGS'
32381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32386 /* end confdefs.h. */
32388 #ifdef HAVE_IEEEFP_H
32389 #include <ieeefp.h>
32400 if ac_fn_cxx_try_compile "$LINENO"; then :
32401 glibcxx_cv_func__log10l_use=yes
32403 glibcxx_cv_func__log10l_use=no
32405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32407 ac_cpp='$CPP $CPPFLAGS'
32408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32417 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32419 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32420 for ac_func in _log10l
32422 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32423 if test "x$ac_cv_func__log10l" = x""yes; then :
32424 cat >>confdefs.h <<_ACEOF
32425 #define HAVE__LOG10L 1
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32439 $as_echo_n "checking for modfl declaration... " >&6; }
32440 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32441 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32442 $as_echo_n "(cached) " >&6
32447 ac_cpp='$CXXCPP $CPPFLAGS'
32448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32453 /* end confdefs.h. */
32463 if ac_fn_cxx_try_compile "$LINENO"; then :
32464 glibcxx_cv_func_modfl_use=yes
32466 glibcxx_cv_func_modfl_use=no
32468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32470 ac_cpp='$CPP $CPPFLAGS'
32471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32480 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32482 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32483 for ac_func in modfl
32485 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32486 if test "x$ac_cv_func_modfl" = x""yes; then :
32487 cat >>confdefs.h <<_ACEOF
32488 #define HAVE_MODFL 1
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32497 $as_echo_n "checking for _modfl declaration... " >&6; }
32498 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32499 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32500 $as_echo_n "(cached) " >&6
32505 ac_cpp='$CXXCPP $CPPFLAGS'
32506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32511 /* end confdefs.h. */
32521 if ac_fn_cxx_try_compile "$LINENO"; then :
32522 glibcxx_cv_func__modfl_use=yes
32524 glibcxx_cv_func__modfl_use=no
32526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32528 ac_cpp='$CPP $CPPFLAGS'
32529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32538 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32540 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32541 for ac_func in _modfl
32543 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32544 if test "x$ac_cv_func__modfl" = x""yes; then :
32545 cat >>confdefs.h <<_ACEOF
32546 #define HAVE__MODFL 1
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32560 $as_echo_n "checking for powl declaration... " >&6; }
32561 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32562 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32563 $as_echo_n "(cached) " >&6
32568 ac_cpp='$CXXCPP $CPPFLAGS'
32569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32574 /* end confdefs.h. */
32584 if ac_fn_cxx_try_compile "$LINENO"; then :
32585 glibcxx_cv_func_powl_use=yes
32587 glibcxx_cv_func_powl_use=no
32589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32591 ac_cpp='$CPP $CPPFLAGS'
32592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32601 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32603 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32604 for ac_func in powl
32606 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32607 if test "x$ac_cv_func_powl" = x""yes; then :
32608 cat >>confdefs.h <<_ACEOF
32609 #define HAVE_POWL 1
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32618 $as_echo_n "checking for _powl declaration... " >&6; }
32619 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32620 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32621 $as_echo_n "(cached) " >&6
32626 ac_cpp='$CXXCPP $CPPFLAGS'
32627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32632 /* end confdefs.h. */
32642 if ac_fn_cxx_try_compile "$LINENO"; then :
32643 glibcxx_cv_func__powl_use=yes
32645 glibcxx_cv_func__powl_use=no
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32659 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32661 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32662 for ac_func in _powl
32664 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32665 if test "x$ac_cv_func__powl" = x""yes; then :
32666 cat >>confdefs.h <<_ACEOF
32667 #define HAVE__POWL 1
32680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32681 $as_echo_n "checking for sqrtl declaration... " >&6; }
32682 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32683 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32684 $as_echo_n "(cached) " >&6
32689 ac_cpp='$CXXCPP $CPPFLAGS'
32690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32695 /* end confdefs.h. */
32697 #ifdef HAVE_IEEEFP_H
32698 #include <ieeefp.h>
32709 if ac_fn_cxx_try_compile "$LINENO"; then :
32710 glibcxx_cv_func_sqrtl_use=yes
32712 glibcxx_cv_func_sqrtl_use=no
32714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716 ac_cpp='$CPP $CPPFLAGS'
32717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32726 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32728 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32729 for ac_func in sqrtl
32731 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32732 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32733 cat >>confdefs.h <<_ACEOF
32734 #define HAVE_SQRTL 1
32742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32743 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32744 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32745 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32746 $as_echo_n "(cached) " >&6
32751 ac_cpp='$CXXCPP $CPPFLAGS'
32752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32757 /* end confdefs.h. */
32759 #ifdef HAVE_IEEEFP_H
32760 #include <ieeefp.h>
32771 if ac_fn_cxx_try_compile "$LINENO"; then :
32772 glibcxx_cv_func__sqrtl_use=yes
32774 glibcxx_cv_func__sqrtl_use=no
32776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32778 ac_cpp='$CPP $CPPFLAGS'
32779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32788 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32790 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32791 for ac_func in _sqrtl
32793 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32794 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32795 cat >>confdefs.h <<_ACEOF
32796 #define HAVE__SQRTL 1
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32810 $as_echo_n "checking for sincosl declaration... " >&6; }
32811 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32812 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32813 $as_echo_n "(cached) " >&6
32818 ac_cpp='$CXXCPP $CPPFLAGS'
32819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32824 /* end confdefs.h. */
32834 if ac_fn_cxx_try_compile "$LINENO"; then :
32835 glibcxx_cv_func_sincosl_use=yes
32837 glibcxx_cv_func_sincosl_use=no
32839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32841 ac_cpp='$CPP $CPPFLAGS'
32842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32851 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32853 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32854 for ac_func in sincosl
32856 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32857 if test "x$ac_cv_func_sincosl" = x""yes; then :
32858 cat >>confdefs.h <<_ACEOF
32859 #define HAVE_SINCOSL 1
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32868 $as_echo_n "checking for _sincosl declaration... " >&6; }
32869 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32870 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32871 $as_echo_n "(cached) " >&6
32876 ac_cpp='$CXXCPP $CPPFLAGS'
32877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32882 /* end confdefs.h. */
32892 if ac_fn_cxx_try_compile "$LINENO"; then :
32893 glibcxx_cv_func__sincosl_use=yes
32895 glibcxx_cv_func__sincosl_use=no
32897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32899 ac_cpp='$CPP $CPPFLAGS'
32900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32909 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32911 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32912 for ac_func in _sincosl
32914 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32915 if test "x$ac_cv_func__sincosl" = x""yes; then :
32916 cat >>confdefs.h <<_ACEOF
32917 #define HAVE__SINCOSL 1
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32931 $as_echo_n "checking for finitel declaration... " >&6; }
32932 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32933 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32934 $as_echo_n "(cached) " >&6
32939 ac_cpp='$CXXCPP $CPPFLAGS'
32940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32945 /* end confdefs.h. */
32947 #ifdef HAVE_IEEEFP_H
32948 #include <ieeefp.h>
32959 if ac_fn_cxx_try_compile "$LINENO"; then :
32960 glibcxx_cv_func_finitel_use=yes
32962 glibcxx_cv_func_finitel_use=no
32964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32966 ac_cpp='$CPP $CPPFLAGS'
32967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32976 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32978 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32979 for ac_func in finitel
32981 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32982 if test "x$ac_cv_func_finitel" = x""yes; then :
32983 cat >>confdefs.h <<_ACEOF
32984 #define HAVE_FINITEL 1
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32993 $as_echo_n "checking for _finitel declaration... " >&6; }
32994 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32995 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32996 $as_echo_n "(cached) " >&6
33001 ac_cpp='$CXXCPP $CPPFLAGS'
33002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33007 /* end confdefs.h. */
33009 #ifdef HAVE_IEEEFP_H
33010 #include <ieeefp.h>
33021 if ac_fn_cxx_try_compile "$LINENO"; then :
33022 glibcxx_cv_func__finitel_use=yes
33024 glibcxx_cv_func__finitel_use=no
33026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33028 ac_cpp='$CPP $CPPFLAGS'
33029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33038 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33040 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33041 for ac_func in _finitel
33043 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33044 if test "x$ac_cv_func__finitel" = x""yes; then :
33045 cat >>confdefs.h <<_ACEOF
33046 #define HAVE__FINITEL 1
33058 LIBS="$ac_save_LIBS"
33059 CXXFLAGS="$ac_save_CXXFLAGS"
33062 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33063 ac_save_CXXFLAGS="$CXXFLAGS"
33064 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33068 $as_echo_n "checking for strtold declaration... " >&6; }
33069 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33070 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33071 $as_echo_n "(cached) " >&6
33076 ac_cpp='$CXXCPP $CPPFLAGS'
33077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33082 /* end confdefs.h. */
33083 #include <stdlib.h>
33092 if ac_fn_cxx_try_compile "$LINENO"; then :
33093 glibcxx_cv_func_strtold_use=yes
33095 glibcxx_cv_func_strtold_use=no
33097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_cpp='$CPP $CPPFLAGS'
33100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33109 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33110 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33111 for ac_func in strtold
33113 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33114 if test "x$ac_cv_func_strtold" = x""yes; then :
33115 cat >>confdefs.h <<_ACEOF
33116 #define HAVE_STRTOLD 1
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33128 $as_echo_n "checking for strtof declaration... " >&6; }
33129 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33130 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33131 $as_echo_n "(cached) " >&6
33136 ac_cpp='$CXXCPP $CPPFLAGS'
33137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33142 /* end confdefs.h. */
33143 #include <stdlib.h>
33152 if ac_fn_cxx_try_compile "$LINENO"; then :
33153 glibcxx_cv_func_strtof_use=yes
33155 glibcxx_cv_func_strtof_use=no
33157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159 ac_cpp='$CPP $CPPFLAGS'
33160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33169 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33170 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33171 for ac_func in strtof
33173 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33174 if test "x$ac_cv_func_strtof" = x""yes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE_STRTOF 1
33187 CXXFLAGS="$ac_save_CXXFLAGS"
33190 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33192 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33194 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33196 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33199 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33201 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33203 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33209 # If we're not using GNU ld, then there's no point in even trying these
33210 # tests. Check for that first. We should have already tested for gld
33211 # by now (in libtool), but require it now just to be safe...
33212 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33213 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33217 # The name set by libtool depends on the version of libtool. Shame on us
33218 # for depending on an impl detail, but c'est la vie. Older versions used
33219 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33220 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33221 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33222 # set (hence we're using an older libtool), then set it.
33223 if test x${with_gnu_ld+set} != xset; then
33224 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33225 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33228 with_gnu_ld=$ac_cv_prog_gnu_ld
33232 # Start by getting the version number. I think the libtool test already
33233 # does some of this, but throws away the result.
33234 glibcxx_ld_is_gold=no
33235 if test x"$with_gnu_ld" = x"yes"; then
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33237 $as_echo_n "checking for ld version... " >&6; }
33239 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33240 glibcxx_ld_is_gold=yes
33242 ldver=`$LD --version 2>/dev/null |
33243 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
33245 glibcxx_gnu_ld_version=`echo $ldver | \
33246 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33248 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33251 # Set --gc-sections.
33252 glibcxx_have_gc_sections=no
33253 if test "$glibcxx_ld_is_gold" = "yes"; then
33254 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33255 glibcxx_have_gc_sections=yes
33258 glibcxx_gcsections_min_ld=21602
33259 if test x"$with_gnu_ld" = x"yes" &&
33260 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33261 glibcxx_have_gc_sections=yes
33264 if test "$glibcxx_have_gc_sections" = "yes"; then
33265 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33266 # NB: This flag only works reliably after 2.16.1. Configure tests
33267 # for this are difficult, so hard wire a value that should work.
33269 ac_test_CFLAGS="${CFLAGS+set}"
33270 ac_save_CFLAGS="$CFLAGS"
33271 CFLAGS='-Wl,--gc-sections'
33273 # Check for -Wl,--gc-sections
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33275 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33276 if test x$gcc_no_link = xyes; then
33277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33280 /* end confdefs.h. */
33281 int one(void) { return 1; }
33282 int two(void) { return 2; }
33292 if ac_fn_c_try_link "$LINENO"; then :
33297 rm -f core conftest.err conftest.$ac_objext \
33298 conftest$ac_exeext conftest.$ac_ext
33299 if test "$ac_gcsections" = "yes"; then
33302 if $CC -c conftest.c; then
33303 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33304 grep "Warning: gc-sections option ignored" > /dev/null; then
33308 rm -f conftest.c conftest.o conftest
33310 if test "$ac_gcsections" = "yes"; then
33311 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33314 $as_echo "$ac_gcsections" >&6; }
33316 if test "$ac_test_CFLAGS" = set; then
33317 CFLAGS="$ac_save_CFLAGS"
33319 # this is the suspicious part
33325 # Note this is only for shared objects.
33327 if test x"$with_gnu_ld" = x"yes"; then
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33329 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33330 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33331 if test -n "$cxx_z_relo"; then
33332 OPT_LDFLAGS="-Wl,-z,relro"
33335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33336 $as_echo "$ac_ld_relro" >&6; }
33339 # Set linker optimization flags.
33340 if test x"$with_gnu_ld" = x"yes"; then
33341 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33348 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33349 ac_save_CXXFLAGS="$CXXFLAGS"
33350 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33353 $as_echo_n "checking for sin in -lm... " >&6; }
33354 if test "${ac_cv_lib_m_sin+set}" = set; then :
33355 $as_echo_n "(cached) " >&6
33357 ac_check_lib_save_LIBS=$LIBS
33359 if test x$gcc_no_link = xyes; then
33360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33363 /* end confdefs.h. */
33365 /* Override any GCC internal prototype to avoid an error.
33366 Use char because int might match the return type of a GCC
33367 builtin and then its argument prototype would still apply. */
33380 if ac_fn_c_try_link "$LINENO"; then :
33381 ac_cv_lib_m_sin=yes
33385 rm -f core conftest.err conftest.$ac_objext \
33386 conftest$ac_exeext conftest.$ac_ext
33387 LIBS=$ac_check_lib_save_LIBS
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33390 $as_echo "$ac_cv_lib_m_sin" >&6; }
33391 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33395 ac_save_LIBS="$LIBS"
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33401 $as_echo_n "checking for isinf declaration... " >&6; }
33402 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33403 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33404 $as_echo_n "(cached) " >&6
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h. */
33417 #ifdef HAVE_IEEEFP_H
33418 #include <ieeefp.h>
33429 if ac_fn_cxx_try_compile "$LINENO"; then :
33430 glibcxx_cv_func_isinf_use=yes
33432 glibcxx_cv_func_isinf_use=no
33434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33436 ac_cpp='$CPP $CPPFLAGS'
33437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33446 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33448 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33449 for ac_func in isinf
33451 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33452 if test "x$ac_cv_func_isinf" = x""yes; then :
33453 cat >>confdefs.h <<_ACEOF
33454 #define HAVE_ISINF 1
33462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33463 $as_echo_n "checking for _isinf declaration... " >&6; }
33464 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33465 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33466 $as_echo_n "(cached) " >&6
33471 ac_cpp='$CXXCPP $CPPFLAGS'
33472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33477 /* end confdefs.h. */
33479 #ifdef HAVE_IEEEFP_H
33480 #include <ieeefp.h>
33491 if ac_fn_cxx_try_compile "$LINENO"; then :
33492 glibcxx_cv_func__isinf_use=yes
33494 glibcxx_cv_func__isinf_use=no
33496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33498 ac_cpp='$CPP $CPPFLAGS'
33499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33508 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33510 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33511 for ac_func in _isinf
33513 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33514 if test "x$ac_cv_func__isinf" = x""yes; then :
33515 cat >>confdefs.h <<_ACEOF
33516 #define HAVE__ISINF 1
33529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33530 $as_echo_n "checking for isnan declaration... " >&6; }
33531 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33532 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33533 $as_echo_n "(cached) " >&6
33538 ac_cpp='$CXXCPP $CPPFLAGS'
33539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33544 /* end confdefs.h. */
33546 #ifdef HAVE_IEEEFP_H
33547 #include <ieeefp.h>
33558 if ac_fn_cxx_try_compile "$LINENO"; then :
33559 glibcxx_cv_func_isnan_use=yes
33561 glibcxx_cv_func_isnan_use=no
33563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 ac_cpp='$CPP $CPPFLAGS'
33566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33575 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33577 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33578 for ac_func in isnan
33580 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33581 if test "x$ac_cv_func_isnan" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define HAVE_ISNAN 1
33591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33592 $as_echo_n "checking for _isnan declaration... " >&6; }
33593 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33594 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33595 $as_echo_n "(cached) " >&6
33600 ac_cpp='$CXXCPP $CPPFLAGS'
33601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33606 /* end confdefs.h. */
33608 #ifdef HAVE_IEEEFP_H
33609 #include <ieeefp.h>
33620 if ac_fn_cxx_try_compile "$LINENO"; then :
33621 glibcxx_cv_func__isnan_use=yes
33623 glibcxx_cv_func__isnan_use=no
33625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33627 ac_cpp='$CPP $CPPFLAGS'
33628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33637 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33639 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33640 for ac_func in _isnan
33642 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33643 if test "x$ac_cv_func__isnan" = x""yes; then :
33644 cat >>confdefs.h <<_ACEOF
33645 #define HAVE__ISNAN 1
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33659 $as_echo_n "checking for finite declaration... " >&6; }
33660 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33661 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33662 $as_echo_n "(cached) " >&6
33667 ac_cpp='$CXXCPP $CPPFLAGS'
33668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33673 /* end confdefs.h. */
33675 #ifdef HAVE_IEEEFP_H
33676 #include <ieeefp.h>
33687 if ac_fn_cxx_try_compile "$LINENO"; then :
33688 glibcxx_cv_func_finite_use=yes
33690 glibcxx_cv_func_finite_use=no
33692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33694 ac_cpp='$CPP $CPPFLAGS'
33695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33704 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33706 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33707 for ac_func in finite
33709 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33710 if test "x$ac_cv_func_finite" = x""yes; then :
33711 cat >>confdefs.h <<_ACEOF
33712 #define HAVE_FINITE 1
33720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33721 $as_echo_n "checking for _finite declaration... " >&6; }
33722 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33723 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33724 $as_echo_n "(cached) " >&6
33729 ac_cpp='$CXXCPP $CPPFLAGS'
33730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33735 /* end confdefs.h. */
33737 #ifdef HAVE_IEEEFP_H
33738 #include <ieeefp.h>
33749 if ac_fn_cxx_try_compile "$LINENO"; then :
33750 glibcxx_cv_func__finite_use=yes
33752 glibcxx_cv_func__finite_use=no
33754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33756 ac_cpp='$CPP $CPPFLAGS'
33757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33766 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33768 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33769 for ac_func in _finite
33771 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33772 if test "x$ac_cv_func__finite" = x""yes; then :
33773 cat >>confdefs.h <<_ACEOF
33774 #define HAVE__FINITE 1
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33788 $as_echo_n "checking for sincos declaration... " >&6; }
33789 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33790 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33791 $as_echo_n "(cached) " >&6
33796 ac_cpp='$CXXCPP $CPPFLAGS'
33797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33802 /* end confdefs.h. */
33812 if ac_fn_cxx_try_compile "$LINENO"; then :
33813 glibcxx_cv_func_sincos_use=yes
33815 glibcxx_cv_func_sincos_use=no
33817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33819 ac_cpp='$CPP $CPPFLAGS'
33820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33829 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33831 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33832 for ac_func in sincos
33834 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33835 if test "x$ac_cv_func_sincos" = x""yes; then :
33836 cat >>confdefs.h <<_ACEOF
33837 #define HAVE_SINCOS 1
33845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33846 $as_echo_n "checking for _sincos declaration... " >&6; }
33847 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33848 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33849 $as_echo_n "(cached) " >&6
33854 ac_cpp='$CXXCPP $CPPFLAGS'
33855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33860 /* end confdefs.h. */
33870 if ac_fn_cxx_try_compile "$LINENO"; then :
33871 glibcxx_cv_func__sincos_use=yes
33873 glibcxx_cv_func__sincos_use=no
33875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33877 ac_cpp='$CPP $CPPFLAGS'
33878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33887 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33889 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33890 for ac_func in _sincos
33892 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33893 if test "x$ac_cv_func__sincos" = x""yes; then :
33894 cat >>confdefs.h <<_ACEOF
33895 #define HAVE__SINCOS 1
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33909 $as_echo_n "checking for fpclass declaration... " >&6; }
33910 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33911 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33912 $as_echo_n "(cached) " >&6
33917 ac_cpp='$CXXCPP $CPPFLAGS'
33918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33923 /* end confdefs.h. */
33925 #ifdef HAVE_IEEEFP_H
33926 #include <ieeefp.h>
33937 if ac_fn_cxx_try_compile "$LINENO"; then :
33938 glibcxx_cv_func_fpclass_use=yes
33940 glibcxx_cv_func_fpclass_use=no
33942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33944 ac_cpp='$CPP $CPPFLAGS'
33945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33954 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33956 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33957 for ac_func in fpclass
33959 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33960 if test "x$ac_cv_func_fpclass" = x""yes; then :
33961 cat >>confdefs.h <<_ACEOF
33962 #define HAVE_FPCLASS 1
33970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33971 $as_echo_n "checking for _fpclass declaration... " >&6; }
33972 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33973 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33974 $as_echo_n "(cached) " >&6
33979 ac_cpp='$CXXCPP $CPPFLAGS'
33980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33985 /* end confdefs.h. */
33987 #ifdef HAVE_IEEEFP_H
33988 #include <ieeefp.h>
33999 if ac_fn_cxx_try_compile "$LINENO"; then :
34000 glibcxx_cv_func__fpclass_use=yes
34002 glibcxx_cv_func__fpclass_use=no
34004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34006 ac_cpp='$CPP $CPPFLAGS'
34007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34016 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34018 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34019 for ac_func in _fpclass
34021 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34022 if test "x$ac_cv_func__fpclass" = x""yes; then :
34023 cat >>confdefs.h <<_ACEOF
34024 #define HAVE__FPCLASS 1
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34038 $as_echo_n "checking for qfpclass declaration... " >&6; }
34039 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34040 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34041 $as_echo_n "(cached) " >&6
34046 ac_cpp='$CXXCPP $CPPFLAGS'
34047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34052 /* end confdefs.h. */
34054 #ifdef HAVE_IEEEFP_H
34055 #include <ieeefp.h>
34066 if ac_fn_cxx_try_compile "$LINENO"; then :
34067 glibcxx_cv_func_qfpclass_use=yes
34069 glibcxx_cv_func_qfpclass_use=no
34071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34073 ac_cpp='$CPP $CPPFLAGS'
34074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34083 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34085 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34086 for ac_func in qfpclass
34088 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34089 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34090 cat >>confdefs.h <<_ACEOF
34091 #define HAVE_QFPCLASS 1
34099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34100 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34101 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34102 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34103 $as_echo_n "(cached) " >&6
34108 ac_cpp='$CXXCPP $CPPFLAGS'
34109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34114 /* end confdefs.h. */
34116 #ifdef HAVE_IEEEFP_H
34117 #include <ieeefp.h>
34128 if ac_fn_cxx_try_compile "$LINENO"; then :
34129 glibcxx_cv_func__qfpclass_use=yes
34131 glibcxx_cv_func__qfpclass_use=no
34133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34135 ac_cpp='$CPP $CPPFLAGS'
34136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34145 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34147 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34148 for ac_func in _qfpclass
34150 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34151 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34152 cat >>confdefs.h <<_ACEOF
34153 #define HAVE__QFPCLASS 1
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34167 $as_echo_n "checking for hypot declaration... " >&6; }
34168 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34169 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34170 $as_echo_n "(cached) " >&6
34175 ac_cpp='$CXXCPP $CPPFLAGS'
34176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34181 /* end confdefs.h. */
34191 if ac_fn_cxx_try_compile "$LINENO"; then :
34192 glibcxx_cv_func_hypot_use=yes
34194 glibcxx_cv_func_hypot_use=no
34196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34198 ac_cpp='$CPP $CPPFLAGS'
34199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34208 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34210 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34211 for ac_func in hypot
34213 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34214 if test "x$ac_cv_func_hypot" = x""yes; then :
34215 cat >>confdefs.h <<_ACEOF
34216 #define HAVE_HYPOT 1
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34225 $as_echo_n "checking for _hypot declaration... " >&6; }
34226 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34227 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34228 $as_echo_n "(cached) " >&6
34233 ac_cpp='$CXXCPP $CPPFLAGS'
34234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34239 /* end confdefs.h. */
34249 if ac_fn_cxx_try_compile "$LINENO"; then :
34250 glibcxx_cv_func__hypot_use=yes
34252 glibcxx_cv_func__hypot_use=no
34254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34256 ac_cpp='$CPP $CPPFLAGS'
34257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34266 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34268 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34269 for ac_func in _hypot
34271 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34272 if test "x$ac_cv_func__hypot" = x""yes; then :
34273 cat >>confdefs.h <<_ACEOF
34274 #define HAVE__HYPOT 1
34287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34288 $as_echo_n "checking for float trig functions... " >&6; }
34289 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34290 $as_echo_n "(cached) " >&6
34295 ac_cpp='$CXXCPP $CPPFLAGS'
34296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34301 /* end confdefs.h. */
34306 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34311 if ac_fn_cxx_try_compile "$LINENO"; then :
34312 glibcxx_cv_func_float_trig_use=yes
34314 glibcxx_cv_func_float_trig_use=no
34316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34318 ac_cpp='$CPP $CPPFLAGS'
34319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34326 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34327 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34328 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34332 eval as_val=\$$as_ac_var
34333 if test "x$as_val" = x""yes; then :
34334 cat >>confdefs.h <<_ACEOF
34335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34343 $as_echo_n "checking for _float trig functions... " >&6; }
34344 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34345 $as_echo_n "(cached) " >&6
34350 ac_cpp='$CXXCPP $CPPFLAGS'
34351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34356 /* end confdefs.h. */
34361 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34366 if ac_fn_cxx_try_compile "$LINENO"; then :
34367 glibcxx_cv_func__float_trig_use=yes
34369 glibcxx_cv_func__float_trig_use=no
34371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34373 ac_cpp='$CPP $CPPFLAGS'
34374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34381 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34382 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34383 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34387 eval as_val=\$$as_ac_var
34388 if test "x$as_val" = x""yes; then :
34389 cat >>confdefs.h <<_ACEOF
34390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34404 $as_echo_n "checking for float round functions... " >&6; }
34405 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34406 $as_echo_n "(cached) " >&6
34411 ac_cpp='$CXXCPP $CPPFLAGS'
34412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34417 /* end confdefs.h. */
34422 ceilf (0); floorf (0);
34427 if ac_fn_cxx_try_compile "$LINENO"; then :
34428 glibcxx_cv_func_float_round_use=yes
34430 glibcxx_cv_func_float_round_use=no
34432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34434 ac_cpp='$CPP $CPPFLAGS'
34435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34442 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34443 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34444 for ac_func in ceilf floorf
34446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34448 eval as_val=\$$as_ac_var
34449 if test "x$as_val" = x""yes; then :
34450 cat >>confdefs.h <<_ACEOF
34451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34459 $as_echo_n "checking for _float round functions... " >&6; }
34460 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34461 $as_echo_n "(cached) " >&6
34466 ac_cpp='$CXXCPP $CPPFLAGS'
34467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34472 /* end confdefs.h. */
34477 _ceilf (0); _floorf (0);
34482 if ac_fn_cxx_try_compile "$LINENO"; then :
34483 glibcxx_cv_func__float_round_use=yes
34485 glibcxx_cv_func__float_round_use=no
34487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34489 ac_cpp='$CPP $CPPFLAGS'
34490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34497 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34498 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34499 for ac_func in _ceilf _floorf
34501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34503 eval as_val=\$$as_ac_var
34504 if test "x$as_val" = x""yes; then :
34505 cat >>confdefs.h <<_ACEOF
34506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34521 $as_echo_n "checking for expf declaration... " >&6; }
34522 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34523 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34524 $as_echo_n "(cached) " >&6
34529 ac_cpp='$CXXCPP $CPPFLAGS'
34530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34535 /* end confdefs.h. */
34537 #ifdef HAVE_IEEEFP_H
34538 #include <ieeefp.h>
34549 if ac_fn_cxx_try_compile "$LINENO"; then :
34550 glibcxx_cv_func_expf_use=yes
34552 glibcxx_cv_func_expf_use=no
34554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34556 ac_cpp='$CPP $CPPFLAGS'
34557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34566 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34568 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34569 for ac_func in expf
34571 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34572 if test "x$ac_cv_func_expf" = x""yes; then :
34573 cat >>confdefs.h <<_ACEOF
34574 #define HAVE_EXPF 1
34582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34583 $as_echo_n "checking for _expf declaration... " >&6; }
34584 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34585 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34586 $as_echo_n "(cached) " >&6
34591 ac_cpp='$CXXCPP $CPPFLAGS'
34592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34597 /* end confdefs.h. */
34599 #ifdef HAVE_IEEEFP_H
34600 #include <ieeefp.h>
34611 if ac_fn_cxx_try_compile "$LINENO"; then :
34612 glibcxx_cv_func__expf_use=yes
34614 glibcxx_cv_func__expf_use=no
34616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34618 ac_cpp='$CPP $CPPFLAGS'
34619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34628 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34630 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34631 for ac_func in _expf
34633 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34634 if test "x$ac_cv_func__expf" = x""yes; then :
34635 cat >>confdefs.h <<_ACEOF
34636 #define HAVE__EXPF 1
34649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34650 $as_echo_n "checking for isnanf declaration... " >&6; }
34651 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34652 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34653 $as_echo_n "(cached) " >&6
34658 ac_cpp='$CXXCPP $CPPFLAGS'
34659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34664 /* end confdefs.h. */
34666 #ifdef HAVE_IEEEFP_H
34667 #include <ieeefp.h>
34678 if ac_fn_cxx_try_compile "$LINENO"; then :
34679 glibcxx_cv_func_isnanf_use=yes
34681 glibcxx_cv_func_isnanf_use=no
34683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34685 ac_cpp='$CPP $CPPFLAGS'
34686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34695 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34697 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34698 for ac_func in isnanf
34700 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34701 if test "x$ac_cv_func_isnanf" = x""yes; then :
34702 cat >>confdefs.h <<_ACEOF
34703 #define HAVE_ISNANF 1
34711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34712 $as_echo_n "checking for _isnanf declaration... " >&6; }
34713 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34714 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34715 $as_echo_n "(cached) " >&6
34720 ac_cpp='$CXXCPP $CPPFLAGS'
34721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34726 /* end confdefs.h. */
34728 #ifdef HAVE_IEEEFP_H
34729 #include <ieeefp.h>
34740 if ac_fn_cxx_try_compile "$LINENO"; then :
34741 glibcxx_cv_func__isnanf_use=yes
34743 glibcxx_cv_func__isnanf_use=no
34745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34747 ac_cpp='$CPP $CPPFLAGS'
34748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34757 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34759 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34760 for ac_func in _isnanf
34762 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34763 if test "x$ac_cv_func__isnanf" = x""yes; then :
34764 cat >>confdefs.h <<_ACEOF
34765 #define HAVE__ISNANF 1
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34779 $as_echo_n "checking for isinff declaration... " >&6; }
34780 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34781 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34782 $as_echo_n "(cached) " >&6
34787 ac_cpp='$CXXCPP $CPPFLAGS'
34788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34793 /* end confdefs.h. */
34795 #ifdef HAVE_IEEEFP_H
34796 #include <ieeefp.h>
34807 if ac_fn_cxx_try_compile "$LINENO"; then :
34808 glibcxx_cv_func_isinff_use=yes
34810 glibcxx_cv_func_isinff_use=no
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34814 ac_cpp='$CPP $CPPFLAGS'
34815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34824 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34826 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34827 for ac_func in isinff
34829 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34830 if test "x$ac_cv_func_isinff" = x""yes; then :
34831 cat >>confdefs.h <<_ACEOF
34832 #define HAVE_ISINFF 1
34840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34841 $as_echo_n "checking for _isinff declaration... " >&6; }
34842 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34843 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34844 $as_echo_n "(cached) " >&6
34849 ac_cpp='$CXXCPP $CPPFLAGS'
34850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34855 /* end confdefs.h. */
34857 #ifdef HAVE_IEEEFP_H
34858 #include <ieeefp.h>
34869 if ac_fn_cxx_try_compile "$LINENO"; then :
34870 glibcxx_cv_func__isinff_use=yes
34872 glibcxx_cv_func__isinff_use=no
34874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34876 ac_cpp='$CPP $CPPFLAGS'
34877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34886 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34888 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34889 for ac_func in _isinff
34891 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34892 if test "x$ac_cv_func__isinff" = x""yes; then :
34893 cat >>confdefs.h <<_ACEOF
34894 #define HAVE__ISINFF 1
34907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34908 $as_echo_n "checking for atan2f declaration... " >&6; }
34909 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34910 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34911 $as_echo_n "(cached) " >&6
34916 ac_cpp='$CXXCPP $CPPFLAGS'
34917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34922 /* end confdefs.h. */
34932 if ac_fn_cxx_try_compile "$LINENO"; then :
34933 glibcxx_cv_func_atan2f_use=yes
34935 glibcxx_cv_func_atan2f_use=no
34937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34939 ac_cpp='$CPP $CPPFLAGS'
34940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34949 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34951 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34952 for ac_func in atan2f
34954 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34955 if test "x$ac_cv_func_atan2f" = x""yes; then :
34956 cat >>confdefs.h <<_ACEOF
34957 #define HAVE_ATAN2F 1
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34966 $as_echo_n "checking for _atan2f declaration... " >&6; }
34967 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34968 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34969 $as_echo_n "(cached) " >&6
34974 ac_cpp='$CXXCPP $CPPFLAGS'
34975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34980 /* end confdefs.h. */
34990 if ac_fn_cxx_try_compile "$LINENO"; then :
34991 glibcxx_cv_func__atan2f_use=yes
34993 glibcxx_cv_func__atan2f_use=no
34995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34997 ac_cpp='$CPP $CPPFLAGS'
34998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35007 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35009 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35010 for ac_func in _atan2f
35012 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35013 if test "x$ac_cv_func__atan2f" = x""yes; then :
35014 cat >>confdefs.h <<_ACEOF
35015 #define HAVE__ATAN2F 1
35028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35029 $as_echo_n "checking for fabsf declaration... " >&6; }
35030 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35031 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35032 $as_echo_n "(cached) " >&6
35037 ac_cpp='$CXXCPP $CPPFLAGS'
35038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35043 /* end confdefs.h. */
35045 #ifdef HAVE_IEEEFP_H
35046 #include <ieeefp.h>
35057 if ac_fn_cxx_try_compile "$LINENO"; then :
35058 glibcxx_cv_func_fabsf_use=yes
35060 glibcxx_cv_func_fabsf_use=no
35062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35064 ac_cpp='$CPP $CPPFLAGS'
35065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35074 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35076 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35077 for ac_func in fabsf
35079 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35080 if test "x$ac_cv_func_fabsf" = x""yes; then :
35081 cat >>confdefs.h <<_ACEOF
35082 #define HAVE_FABSF 1
35090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35091 $as_echo_n "checking for _fabsf declaration... " >&6; }
35092 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35093 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35094 $as_echo_n "(cached) " >&6
35099 ac_cpp='$CXXCPP $CPPFLAGS'
35100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35105 /* end confdefs.h. */
35107 #ifdef HAVE_IEEEFP_H
35108 #include <ieeefp.h>
35119 if ac_fn_cxx_try_compile "$LINENO"; then :
35120 glibcxx_cv_func__fabsf_use=yes
35122 glibcxx_cv_func__fabsf_use=no
35124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35126 ac_cpp='$CPP $CPPFLAGS'
35127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35136 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35138 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35139 for ac_func in _fabsf
35141 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35142 if test "x$ac_cv_func__fabsf" = x""yes; then :
35143 cat >>confdefs.h <<_ACEOF
35144 #define HAVE__FABSF 1
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35158 $as_echo_n "checking for fmodf declaration... " >&6; }
35159 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35160 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35161 $as_echo_n "(cached) " >&6
35166 ac_cpp='$CXXCPP $CPPFLAGS'
35167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35172 /* end confdefs.h. */
35182 if ac_fn_cxx_try_compile "$LINENO"; then :
35183 glibcxx_cv_func_fmodf_use=yes
35185 glibcxx_cv_func_fmodf_use=no
35187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35189 ac_cpp='$CPP $CPPFLAGS'
35190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35199 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35201 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35202 for ac_func in fmodf
35204 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35205 if test "x$ac_cv_func_fmodf" = x""yes; then :
35206 cat >>confdefs.h <<_ACEOF
35207 #define HAVE_FMODF 1
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35216 $as_echo_n "checking for _fmodf declaration... " >&6; }
35217 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35218 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35219 $as_echo_n "(cached) " >&6
35224 ac_cpp='$CXXCPP $CPPFLAGS'
35225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35230 /* end confdefs.h. */
35240 if ac_fn_cxx_try_compile "$LINENO"; then :
35241 glibcxx_cv_func__fmodf_use=yes
35243 glibcxx_cv_func__fmodf_use=no
35245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35247 ac_cpp='$CPP $CPPFLAGS'
35248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35257 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35259 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35260 for ac_func in _fmodf
35262 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35263 if test "x$ac_cv_func__fmodf" = x""yes; then :
35264 cat >>confdefs.h <<_ACEOF
35265 #define HAVE__FMODF 1
35278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35279 $as_echo_n "checking for frexpf declaration... " >&6; }
35280 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35281 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35282 $as_echo_n "(cached) " >&6
35287 ac_cpp='$CXXCPP $CPPFLAGS'
35288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35293 /* end confdefs.h. */
35303 if ac_fn_cxx_try_compile "$LINENO"; then :
35304 glibcxx_cv_func_frexpf_use=yes
35306 glibcxx_cv_func_frexpf_use=no
35308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35310 ac_cpp='$CPP $CPPFLAGS'
35311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35320 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35322 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35323 for ac_func in frexpf
35325 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35326 if test "x$ac_cv_func_frexpf" = x""yes; then :
35327 cat >>confdefs.h <<_ACEOF
35328 #define HAVE_FREXPF 1
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35337 $as_echo_n "checking for _frexpf declaration... " >&6; }
35338 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35339 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35340 $as_echo_n "(cached) " >&6
35345 ac_cpp='$CXXCPP $CPPFLAGS'
35346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35351 /* end confdefs.h. */
35361 if ac_fn_cxx_try_compile "$LINENO"; then :
35362 glibcxx_cv_func__frexpf_use=yes
35364 glibcxx_cv_func__frexpf_use=no
35366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35368 ac_cpp='$CPP $CPPFLAGS'
35369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35378 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35380 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35381 for ac_func in _frexpf
35383 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35384 if test "x$ac_cv_func__frexpf" = x""yes; then :
35385 cat >>confdefs.h <<_ACEOF
35386 #define HAVE__FREXPF 1
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35400 $as_echo_n "checking for hypotf declaration... " >&6; }
35401 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35402 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35403 $as_echo_n "(cached) " >&6
35408 ac_cpp='$CXXCPP $CPPFLAGS'
35409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35414 /* end confdefs.h. */
35424 if ac_fn_cxx_try_compile "$LINENO"; then :
35425 glibcxx_cv_func_hypotf_use=yes
35427 glibcxx_cv_func_hypotf_use=no
35429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35431 ac_cpp='$CPP $CPPFLAGS'
35432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35441 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35443 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35444 for ac_func in hypotf
35446 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35447 if test "x$ac_cv_func_hypotf" = x""yes; then :
35448 cat >>confdefs.h <<_ACEOF
35449 #define HAVE_HYPOTF 1
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35458 $as_echo_n "checking for _hypotf declaration... " >&6; }
35459 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35460 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35461 $as_echo_n "(cached) " >&6
35466 ac_cpp='$CXXCPP $CPPFLAGS'
35467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35472 /* end confdefs.h. */
35482 if ac_fn_cxx_try_compile "$LINENO"; then :
35483 glibcxx_cv_func__hypotf_use=yes
35485 glibcxx_cv_func__hypotf_use=no
35487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35489 ac_cpp='$CPP $CPPFLAGS'
35490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35499 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35501 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35502 for ac_func in _hypotf
35504 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35505 if test "x$ac_cv_func__hypotf" = x""yes; then :
35506 cat >>confdefs.h <<_ACEOF
35507 #define HAVE__HYPOTF 1
35520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35521 $as_echo_n "checking for ldexpf declaration... " >&6; }
35522 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35523 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35524 $as_echo_n "(cached) " >&6
35529 ac_cpp='$CXXCPP $CPPFLAGS'
35530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35535 /* end confdefs.h. */
35545 if ac_fn_cxx_try_compile "$LINENO"; then :
35546 glibcxx_cv_func_ldexpf_use=yes
35548 glibcxx_cv_func_ldexpf_use=no
35550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35552 ac_cpp='$CPP $CPPFLAGS'
35553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35562 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35564 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35565 for ac_func in ldexpf
35567 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35568 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35569 cat >>confdefs.h <<_ACEOF
35570 #define HAVE_LDEXPF 1
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35579 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35580 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35581 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35582 $as_echo_n "(cached) " >&6
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35593 /* end confdefs.h. */
35603 if ac_fn_cxx_try_compile "$LINENO"; then :
35604 glibcxx_cv_func__ldexpf_use=yes
35606 glibcxx_cv_func__ldexpf_use=no
35608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35610 ac_cpp='$CPP $CPPFLAGS'
35611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35620 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35622 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35623 for ac_func in _ldexpf
35625 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35626 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35627 cat >>confdefs.h <<_ACEOF
35628 #define HAVE__LDEXPF 1
35641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35642 $as_echo_n "checking for logf declaration... " >&6; }
35643 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35644 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35645 $as_echo_n "(cached) " >&6
35650 ac_cpp='$CXXCPP $CPPFLAGS'
35651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35656 /* end confdefs.h. */
35658 #ifdef HAVE_IEEEFP_H
35659 #include <ieeefp.h>
35670 if ac_fn_cxx_try_compile "$LINENO"; then :
35671 glibcxx_cv_func_logf_use=yes
35673 glibcxx_cv_func_logf_use=no
35675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35677 ac_cpp='$CPP $CPPFLAGS'
35678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35687 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35689 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35690 for ac_func in logf
35692 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35693 if test "x$ac_cv_func_logf" = x""yes; then :
35694 cat >>confdefs.h <<_ACEOF
35695 #define HAVE_LOGF 1
35703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35704 $as_echo_n "checking for _logf declaration... " >&6; }
35705 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35706 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35707 $as_echo_n "(cached) " >&6
35712 ac_cpp='$CXXCPP $CPPFLAGS'
35713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35718 /* end confdefs.h. */
35720 #ifdef HAVE_IEEEFP_H
35721 #include <ieeefp.h>
35732 if ac_fn_cxx_try_compile "$LINENO"; then :
35733 glibcxx_cv_func__logf_use=yes
35735 glibcxx_cv_func__logf_use=no
35737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35739 ac_cpp='$CPP $CPPFLAGS'
35740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35749 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35751 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35752 for ac_func in _logf
35754 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35755 if test "x$ac_cv_func__logf" = x""yes; then :
35756 cat >>confdefs.h <<_ACEOF
35757 #define HAVE__LOGF 1
35770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35771 $as_echo_n "checking for log10f declaration... " >&6; }
35772 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35773 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35774 $as_echo_n "(cached) " >&6
35779 ac_cpp='$CXXCPP $CPPFLAGS'
35780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35785 /* end confdefs.h. */
35787 #ifdef HAVE_IEEEFP_H
35788 #include <ieeefp.h>
35799 if ac_fn_cxx_try_compile "$LINENO"; then :
35800 glibcxx_cv_func_log10f_use=yes
35802 glibcxx_cv_func_log10f_use=no
35804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 ac_cpp='$CPP $CPPFLAGS'
35807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35816 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35818 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35819 for ac_func in log10f
35821 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35822 if test "x$ac_cv_func_log10f" = x""yes; then :
35823 cat >>confdefs.h <<_ACEOF
35824 #define HAVE_LOG10F 1
35832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35833 $as_echo_n "checking for _log10f declaration... " >&6; }
35834 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35835 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35836 $as_echo_n "(cached) " >&6
35841 ac_cpp='$CXXCPP $CPPFLAGS'
35842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35847 /* end confdefs.h. */
35849 #ifdef HAVE_IEEEFP_H
35850 #include <ieeefp.h>
35861 if ac_fn_cxx_try_compile "$LINENO"; then :
35862 glibcxx_cv_func__log10f_use=yes
35864 glibcxx_cv_func__log10f_use=no
35866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35868 ac_cpp='$CPP $CPPFLAGS'
35869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35878 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35880 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35881 for ac_func in _log10f
35883 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35884 if test "x$ac_cv_func__log10f" = x""yes; then :
35885 cat >>confdefs.h <<_ACEOF
35886 #define HAVE__LOG10F 1
35899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35900 $as_echo_n "checking for modff declaration... " >&6; }
35901 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35902 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35903 $as_echo_n "(cached) " >&6
35908 ac_cpp='$CXXCPP $CPPFLAGS'
35909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35914 /* end confdefs.h. */
35924 if ac_fn_cxx_try_compile "$LINENO"; then :
35925 glibcxx_cv_func_modff_use=yes
35927 glibcxx_cv_func_modff_use=no
35929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35931 ac_cpp='$CPP $CPPFLAGS'
35932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35941 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35943 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35944 for ac_func in modff
35946 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35947 if test "x$ac_cv_func_modff" = x""yes; then :
35948 cat >>confdefs.h <<_ACEOF
35949 #define HAVE_MODFF 1
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35958 $as_echo_n "checking for _modff declaration... " >&6; }
35959 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35960 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35961 $as_echo_n "(cached) " >&6
35966 ac_cpp='$CXXCPP $CPPFLAGS'
35967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35972 /* end confdefs.h. */
35982 if ac_fn_cxx_try_compile "$LINENO"; then :
35983 glibcxx_cv_func__modff_use=yes
35985 glibcxx_cv_func__modff_use=no
35987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35989 ac_cpp='$CPP $CPPFLAGS'
35990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35999 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36001 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36002 for ac_func in _modff
36004 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36005 if test "x$ac_cv_func__modff" = x""yes; then :
36006 cat >>confdefs.h <<_ACEOF
36007 #define HAVE__MODFF 1
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36021 $as_echo_n "checking for modf declaration... " >&6; }
36022 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36023 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36024 $as_echo_n "(cached) " >&6
36029 ac_cpp='$CXXCPP $CPPFLAGS'
36030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36035 /* end confdefs.h. */
36045 if ac_fn_cxx_try_compile "$LINENO"; then :
36046 glibcxx_cv_func_modf_use=yes
36048 glibcxx_cv_func_modf_use=no
36050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36052 ac_cpp='$CPP $CPPFLAGS'
36053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36062 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36064 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36065 for ac_func in modf
36067 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36068 if test "x$ac_cv_func_modf" = x""yes; then :
36069 cat >>confdefs.h <<_ACEOF
36070 #define HAVE_MODF 1
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36079 $as_echo_n "checking for _modf declaration... " >&6; }
36080 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36081 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36082 $as_echo_n "(cached) " >&6
36087 ac_cpp='$CXXCPP $CPPFLAGS'
36088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36093 /* end confdefs.h. */
36103 if ac_fn_cxx_try_compile "$LINENO"; then :
36104 glibcxx_cv_func__modf_use=yes
36106 glibcxx_cv_func__modf_use=no
36108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36110 ac_cpp='$CPP $CPPFLAGS'
36111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36120 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36122 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36123 for ac_func in _modf
36125 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36126 if test "x$ac_cv_func__modf" = x""yes; then :
36127 cat >>confdefs.h <<_ACEOF
36128 #define HAVE__MODF 1
36141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36142 $as_echo_n "checking for powf declaration... " >&6; }
36143 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36144 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36145 $as_echo_n "(cached) " >&6
36150 ac_cpp='$CXXCPP $CPPFLAGS'
36151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36156 /* end confdefs.h. */
36166 if ac_fn_cxx_try_compile "$LINENO"; then :
36167 glibcxx_cv_func_powf_use=yes
36169 glibcxx_cv_func_powf_use=no
36171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36173 ac_cpp='$CPP $CPPFLAGS'
36174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36183 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36185 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36186 for ac_func in powf
36188 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36189 if test "x$ac_cv_func_powf" = x""yes; then :
36190 cat >>confdefs.h <<_ACEOF
36191 #define HAVE_POWF 1
36199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36200 $as_echo_n "checking for _powf declaration... " >&6; }
36201 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36202 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36203 $as_echo_n "(cached) " >&6
36208 ac_cpp='$CXXCPP $CPPFLAGS'
36209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36214 /* end confdefs.h. */
36224 if ac_fn_cxx_try_compile "$LINENO"; then :
36225 glibcxx_cv_func__powf_use=yes
36227 glibcxx_cv_func__powf_use=no
36229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36231 ac_cpp='$CPP $CPPFLAGS'
36232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36241 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36243 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36244 for ac_func in _powf
36246 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36247 if test "x$ac_cv_func__powf" = x""yes; then :
36248 cat >>confdefs.h <<_ACEOF
36249 #define HAVE__POWF 1
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36263 $as_echo_n "checking for sqrtf declaration... " >&6; }
36264 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36265 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36266 $as_echo_n "(cached) " >&6
36271 ac_cpp='$CXXCPP $CPPFLAGS'
36272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36277 /* end confdefs.h. */
36279 #ifdef HAVE_IEEEFP_H
36280 #include <ieeefp.h>
36291 if ac_fn_cxx_try_compile "$LINENO"; then :
36292 glibcxx_cv_func_sqrtf_use=yes
36294 glibcxx_cv_func_sqrtf_use=no
36296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298 ac_cpp='$CPP $CPPFLAGS'
36299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36308 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36310 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36311 for ac_func in sqrtf
36313 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36314 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36315 cat >>confdefs.h <<_ACEOF
36316 #define HAVE_SQRTF 1
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36325 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36326 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36327 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36328 $as_echo_n "(cached) " >&6
36333 ac_cpp='$CXXCPP $CPPFLAGS'
36334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36339 /* end confdefs.h. */
36341 #ifdef HAVE_IEEEFP_H
36342 #include <ieeefp.h>
36353 if ac_fn_cxx_try_compile "$LINENO"; then :
36354 glibcxx_cv_func__sqrtf_use=yes
36356 glibcxx_cv_func__sqrtf_use=no
36358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36360 ac_cpp='$CPP $CPPFLAGS'
36361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36370 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36372 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36373 for ac_func in _sqrtf
36375 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36376 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36377 cat >>confdefs.h <<_ACEOF
36378 #define HAVE__SQRTF 1
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36392 $as_echo_n "checking for sincosf declaration... " >&6; }
36393 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36394 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36395 $as_echo_n "(cached) " >&6
36400 ac_cpp='$CXXCPP $CPPFLAGS'
36401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36406 /* end confdefs.h. */
36416 if ac_fn_cxx_try_compile "$LINENO"; then :
36417 glibcxx_cv_func_sincosf_use=yes
36419 glibcxx_cv_func_sincosf_use=no
36421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423 ac_cpp='$CPP $CPPFLAGS'
36424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36433 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36435 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36436 for ac_func in sincosf
36438 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36439 if test "x$ac_cv_func_sincosf" = x""yes; then :
36440 cat >>confdefs.h <<_ACEOF
36441 #define HAVE_SINCOSF 1
36449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36450 $as_echo_n "checking for _sincosf declaration... " >&6; }
36451 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36452 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36453 $as_echo_n "(cached) " >&6
36458 ac_cpp='$CXXCPP $CPPFLAGS'
36459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36464 /* end confdefs.h. */
36474 if ac_fn_cxx_try_compile "$LINENO"; then :
36475 glibcxx_cv_func__sincosf_use=yes
36477 glibcxx_cv_func__sincosf_use=no
36479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36481 ac_cpp='$CPP $CPPFLAGS'
36482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36491 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36493 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36494 for ac_func in _sincosf
36496 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36497 if test "x$ac_cv_func__sincosf" = x""yes; then :
36498 cat >>confdefs.h <<_ACEOF
36499 #define HAVE__SINCOSF 1
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36513 $as_echo_n "checking for finitef declaration... " >&6; }
36514 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36515 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36516 $as_echo_n "(cached) " >&6
36521 ac_cpp='$CXXCPP $CPPFLAGS'
36522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36527 /* end confdefs.h. */
36529 #ifdef HAVE_IEEEFP_H
36530 #include <ieeefp.h>
36541 if ac_fn_cxx_try_compile "$LINENO"; then :
36542 glibcxx_cv_func_finitef_use=yes
36544 glibcxx_cv_func_finitef_use=no
36546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548 ac_cpp='$CPP $CPPFLAGS'
36549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36558 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36560 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36561 for ac_func in finitef
36563 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36564 if test "x$ac_cv_func_finitef" = x""yes; then :
36565 cat >>confdefs.h <<_ACEOF
36566 #define HAVE_FINITEF 1
36574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36575 $as_echo_n "checking for _finitef declaration... " >&6; }
36576 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36577 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36578 $as_echo_n "(cached) " >&6
36583 ac_cpp='$CXXCPP $CPPFLAGS'
36584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36589 /* end confdefs.h. */
36591 #ifdef HAVE_IEEEFP_H
36592 #include <ieeefp.h>
36603 if ac_fn_cxx_try_compile "$LINENO"; then :
36604 glibcxx_cv_func__finitef_use=yes
36606 glibcxx_cv_func__finitef_use=no
36608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36610 ac_cpp='$CPP $CPPFLAGS'
36611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36620 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36622 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36623 for ac_func in _finitef
36625 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36626 if test "x$ac_cv_func__finitef" = x""yes; then :
36627 cat >>confdefs.h <<_ACEOF
36628 #define HAVE__FINITEF 1
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36642 $as_echo_n "checking for long double trig functions... " >&6; }
36643 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36644 $as_echo_n "(cached) " >&6
36649 ac_cpp='$CXXCPP $CPPFLAGS'
36650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36655 /* end confdefs.h. */
36660 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36665 if ac_fn_cxx_try_compile "$LINENO"; then :
36666 glibcxx_cv_func_long_double_trig_use=yes
36668 glibcxx_cv_func_long_double_trig_use=no
36670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36672 ac_cpp='$CPP $CPPFLAGS'
36673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36680 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36681 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36682 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36686 eval as_val=\$$as_ac_var
36687 if test "x$as_val" = x""yes; then :
36688 cat >>confdefs.h <<_ACEOF
36689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36697 $as_echo_n "checking for _long double trig functions... " >&6; }
36698 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36699 $as_echo_n "(cached) " >&6
36704 ac_cpp='$CXXCPP $CPPFLAGS'
36705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710 /* end confdefs.h. */
36715 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36720 if ac_fn_cxx_try_compile "$LINENO"; then :
36721 glibcxx_cv_func__long_double_trig_use=yes
36723 glibcxx_cv_func__long_double_trig_use=no
36725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36727 ac_cpp='$CPP $CPPFLAGS'
36728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36735 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36736 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36737 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36741 eval as_val=\$$as_ac_var
36742 if test "x$as_val" = x""yes; then :
36743 cat >>confdefs.h <<_ACEOF
36744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36758 $as_echo_n "checking for long double round functions... " >&6; }
36759 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36760 $as_echo_n "(cached) " >&6
36765 ac_cpp='$CXXCPP $CPPFLAGS'
36766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36771 /* end confdefs.h. */
36776 ceill (0); floorl (0);
36781 if ac_fn_cxx_try_compile "$LINENO"; then :
36782 glibcxx_cv_func_long_double_round_use=yes
36784 glibcxx_cv_func_long_double_round_use=no
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36788 ac_cpp='$CPP $CPPFLAGS'
36789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36796 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36797 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36798 for ac_func in ceill floorl
36800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36802 eval as_val=\$$as_ac_var
36803 if test "x$as_val" = x""yes; then :
36804 cat >>confdefs.h <<_ACEOF
36805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36813 $as_echo_n "checking for _long double round functions... " >&6; }
36814 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36815 $as_echo_n "(cached) " >&6
36820 ac_cpp='$CXXCPP $CPPFLAGS'
36821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36826 /* end confdefs.h. */
36831 _ceill (0); _floorl (0);
36836 if ac_fn_cxx_try_compile "$LINENO"; then :
36837 glibcxx_cv_func__long_double_round_use=yes
36839 glibcxx_cv_func__long_double_round_use=no
36841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36851 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36852 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36853 for ac_func in _ceill _floorl
36855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36857 eval as_val=\$$as_ac_var
36858 if test "x$as_val" = x""yes; then :
36859 cat >>confdefs.h <<_ACEOF
36860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36875 $as_echo_n "checking for isnanl declaration... " >&6; }
36876 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36877 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36878 $as_echo_n "(cached) " >&6
36883 ac_cpp='$CXXCPP $CPPFLAGS'
36884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36889 /* end confdefs.h. */
36891 #ifdef HAVE_IEEEFP_H
36892 #include <ieeefp.h>
36903 if ac_fn_cxx_try_compile "$LINENO"; then :
36904 glibcxx_cv_func_isnanl_use=yes
36906 glibcxx_cv_func_isnanl_use=no
36908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36910 ac_cpp='$CPP $CPPFLAGS'
36911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36920 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36922 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36923 for ac_func in isnanl
36925 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36926 if test "x$ac_cv_func_isnanl" = x""yes; then :
36927 cat >>confdefs.h <<_ACEOF
36928 #define HAVE_ISNANL 1
36936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36937 $as_echo_n "checking for _isnanl declaration... " >&6; }
36938 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36939 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36940 $as_echo_n "(cached) " >&6
36945 ac_cpp='$CXXCPP $CPPFLAGS'
36946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36951 /* end confdefs.h. */
36953 #ifdef HAVE_IEEEFP_H
36954 #include <ieeefp.h>
36965 if ac_fn_cxx_try_compile "$LINENO"; then :
36966 glibcxx_cv_func__isnanl_use=yes
36968 glibcxx_cv_func__isnanl_use=no
36970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36972 ac_cpp='$CPP $CPPFLAGS'
36973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36982 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36984 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36985 for ac_func in _isnanl
36987 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36988 if test "x$ac_cv_func__isnanl" = x""yes; then :
36989 cat >>confdefs.h <<_ACEOF
36990 #define HAVE__ISNANL 1
37003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37004 $as_echo_n "checking for isinfl declaration... " >&6; }
37005 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37006 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37007 $as_echo_n "(cached) " >&6
37012 ac_cpp='$CXXCPP $CPPFLAGS'
37013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37018 /* end confdefs.h. */
37020 #ifdef HAVE_IEEEFP_H
37021 #include <ieeefp.h>
37032 if ac_fn_cxx_try_compile "$LINENO"; then :
37033 glibcxx_cv_func_isinfl_use=yes
37035 glibcxx_cv_func_isinfl_use=no
37037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37039 ac_cpp='$CPP $CPPFLAGS'
37040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37049 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37051 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37052 for ac_func in isinfl
37054 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37055 if test "x$ac_cv_func_isinfl" = x""yes; then :
37056 cat >>confdefs.h <<_ACEOF
37057 #define HAVE_ISINFL 1
37065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37066 $as_echo_n "checking for _isinfl declaration... " >&6; }
37067 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37068 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37069 $as_echo_n "(cached) " >&6
37074 ac_cpp='$CXXCPP $CPPFLAGS'
37075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37080 /* end confdefs.h. */
37082 #ifdef HAVE_IEEEFP_H
37083 #include <ieeefp.h>
37094 if ac_fn_cxx_try_compile "$LINENO"; then :
37095 glibcxx_cv_func__isinfl_use=yes
37097 glibcxx_cv_func__isinfl_use=no
37099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37101 ac_cpp='$CPP $CPPFLAGS'
37102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37111 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37113 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37114 for ac_func in _isinfl
37116 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37117 if test "x$ac_cv_func__isinfl" = x""yes; then :
37118 cat >>confdefs.h <<_ACEOF
37119 #define HAVE__ISINFL 1
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37133 $as_echo_n "checking for atan2l declaration... " >&6; }
37134 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37135 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37136 $as_echo_n "(cached) " >&6
37141 ac_cpp='$CXXCPP $CPPFLAGS'
37142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37147 /* end confdefs.h. */
37157 if ac_fn_cxx_try_compile "$LINENO"; then :
37158 glibcxx_cv_func_atan2l_use=yes
37160 glibcxx_cv_func_atan2l_use=no
37162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37164 ac_cpp='$CPP $CPPFLAGS'
37165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37174 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37176 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37177 for ac_func in atan2l
37179 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37180 if test "x$ac_cv_func_atan2l" = x""yes; then :
37181 cat >>confdefs.h <<_ACEOF
37182 #define HAVE_ATAN2L 1
37190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37191 $as_echo_n "checking for _atan2l declaration... " >&6; }
37192 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37193 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37194 $as_echo_n "(cached) " >&6
37199 ac_cpp='$CXXCPP $CPPFLAGS'
37200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37205 /* end confdefs.h. */
37215 if ac_fn_cxx_try_compile "$LINENO"; then :
37216 glibcxx_cv_func__atan2l_use=yes
37218 glibcxx_cv_func__atan2l_use=no
37220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37222 ac_cpp='$CPP $CPPFLAGS'
37223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37232 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37234 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37235 for ac_func in _atan2l
37237 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37238 if test "x$ac_cv_func__atan2l" = x""yes; then :
37239 cat >>confdefs.h <<_ACEOF
37240 #define HAVE__ATAN2L 1
37253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37254 $as_echo_n "checking for expl declaration... " >&6; }
37255 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37256 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37257 $as_echo_n "(cached) " >&6
37262 ac_cpp='$CXXCPP $CPPFLAGS'
37263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37268 /* end confdefs.h. */
37270 #ifdef HAVE_IEEEFP_H
37271 #include <ieeefp.h>
37282 if ac_fn_cxx_try_compile "$LINENO"; then :
37283 glibcxx_cv_func_expl_use=yes
37285 glibcxx_cv_func_expl_use=no
37287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289 ac_cpp='$CPP $CPPFLAGS'
37290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37299 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37301 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37302 for ac_func in expl
37304 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37305 if test "x$ac_cv_func_expl" = x""yes; then :
37306 cat >>confdefs.h <<_ACEOF
37307 #define HAVE_EXPL 1
37315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37316 $as_echo_n "checking for _expl declaration... " >&6; }
37317 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37318 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37319 $as_echo_n "(cached) " >&6
37324 ac_cpp='$CXXCPP $CPPFLAGS'
37325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37330 /* end confdefs.h. */
37332 #ifdef HAVE_IEEEFP_H
37333 #include <ieeefp.h>
37344 if ac_fn_cxx_try_compile "$LINENO"; then :
37345 glibcxx_cv_func__expl_use=yes
37347 glibcxx_cv_func__expl_use=no
37349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37351 ac_cpp='$CPP $CPPFLAGS'
37352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37361 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37363 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37364 for ac_func in _expl
37366 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37367 if test "x$ac_cv_func__expl" = x""yes; then :
37368 cat >>confdefs.h <<_ACEOF
37369 #define HAVE__EXPL 1
37382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37383 $as_echo_n "checking for fabsl declaration... " >&6; }
37384 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37385 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37386 $as_echo_n "(cached) " >&6
37391 ac_cpp='$CXXCPP $CPPFLAGS'
37392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37397 /* end confdefs.h. */
37399 #ifdef HAVE_IEEEFP_H
37400 #include <ieeefp.h>
37411 if ac_fn_cxx_try_compile "$LINENO"; then :
37412 glibcxx_cv_func_fabsl_use=yes
37414 glibcxx_cv_func_fabsl_use=no
37416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37418 ac_cpp='$CPP $CPPFLAGS'
37419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37428 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37430 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37431 for ac_func in fabsl
37433 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37434 if test "x$ac_cv_func_fabsl" = x""yes; then :
37435 cat >>confdefs.h <<_ACEOF
37436 #define HAVE_FABSL 1
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37445 $as_echo_n "checking for _fabsl declaration... " >&6; }
37446 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37447 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37448 $as_echo_n "(cached) " >&6
37453 ac_cpp='$CXXCPP $CPPFLAGS'
37454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37459 /* end confdefs.h. */
37461 #ifdef HAVE_IEEEFP_H
37462 #include <ieeefp.h>
37473 if ac_fn_cxx_try_compile "$LINENO"; then :
37474 glibcxx_cv_func__fabsl_use=yes
37476 glibcxx_cv_func__fabsl_use=no
37478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37480 ac_cpp='$CPP $CPPFLAGS'
37481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37490 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37492 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37493 for ac_func in _fabsl
37495 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37496 if test "x$ac_cv_func__fabsl" = x""yes; then :
37497 cat >>confdefs.h <<_ACEOF
37498 #define HAVE__FABSL 1
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37512 $as_echo_n "checking for fmodl declaration... " >&6; }
37513 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37514 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37515 $as_echo_n "(cached) " >&6
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37526 /* end confdefs.h. */
37536 if ac_fn_cxx_try_compile "$LINENO"; then :
37537 glibcxx_cv_func_fmodl_use=yes
37539 glibcxx_cv_func_fmodl_use=no
37541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37543 ac_cpp='$CPP $CPPFLAGS'
37544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37553 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37555 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37556 for ac_func in fmodl
37558 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37559 if test "x$ac_cv_func_fmodl" = x""yes; then :
37560 cat >>confdefs.h <<_ACEOF
37561 #define HAVE_FMODL 1
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37570 $as_echo_n "checking for _fmodl declaration... " >&6; }
37571 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37572 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37573 $as_echo_n "(cached) " >&6
37578 ac_cpp='$CXXCPP $CPPFLAGS'
37579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37584 /* end confdefs.h. */
37594 if ac_fn_cxx_try_compile "$LINENO"; then :
37595 glibcxx_cv_func__fmodl_use=yes
37597 glibcxx_cv_func__fmodl_use=no
37599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37601 ac_cpp='$CPP $CPPFLAGS'
37602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37611 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37613 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37614 for ac_func in _fmodl
37616 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37617 if test "x$ac_cv_func__fmodl" = x""yes; then :
37618 cat >>confdefs.h <<_ACEOF
37619 #define HAVE__FMODL 1
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37633 $as_echo_n "checking for frexpl declaration... " >&6; }
37634 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37635 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37636 $as_echo_n "(cached) " >&6
37641 ac_cpp='$CXXCPP $CPPFLAGS'
37642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37647 /* end confdefs.h. */
37657 if ac_fn_cxx_try_compile "$LINENO"; then :
37658 glibcxx_cv_func_frexpl_use=yes
37660 glibcxx_cv_func_frexpl_use=no
37662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37664 ac_cpp='$CPP $CPPFLAGS'
37665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37674 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37676 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37677 for ac_func in frexpl
37679 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37680 if test "x$ac_cv_func_frexpl" = x""yes; then :
37681 cat >>confdefs.h <<_ACEOF
37682 #define HAVE_FREXPL 1
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37691 $as_echo_n "checking for _frexpl declaration... " >&6; }
37692 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37693 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37694 $as_echo_n "(cached) " >&6
37699 ac_cpp='$CXXCPP $CPPFLAGS'
37700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37705 /* end confdefs.h. */
37715 if ac_fn_cxx_try_compile "$LINENO"; then :
37716 glibcxx_cv_func__frexpl_use=yes
37718 glibcxx_cv_func__frexpl_use=no
37720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37722 ac_cpp='$CPP $CPPFLAGS'
37723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37732 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37734 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37735 for ac_func in _frexpl
37737 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37738 if test "x$ac_cv_func__frexpl" = x""yes; then :
37739 cat >>confdefs.h <<_ACEOF
37740 #define HAVE__FREXPL 1
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37754 $as_echo_n "checking for hypotl declaration... " >&6; }
37755 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37756 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37757 $as_echo_n "(cached) " >&6
37762 ac_cpp='$CXXCPP $CPPFLAGS'
37763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37768 /* end confdefs.h. */
37778 if ac_fn_cxx_try_compile "$LINENO"; then :
37779 glibcxx_cv_func_hypotl_use=yes
37781 glibcxx_cv_func_hypotl_use=no
37783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37785 ac_cpp='$CPP $CPPFLAGS'
37786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37795 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37797 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37798 for ac_func in hypotl
37800 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37801 if test "x$ac_cv_func_hypotl" = x""yes; then :
37802 cat >>confdefs.h <<_ACEOF
37803 #define HAVE_HYPOTL 1
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37812 $as_echo_n "checking for _hypotl declaration... " >&6; }
37813 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37814 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37815 $as_echo_n "(cached) " >&6
37820 ac_cpp='$CXXCPP $CPPFLAGS'
37821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37826 /* end confdefs.h. */
37836 if ac_fn_cxx_try_compile "$LINENO"; then :
37837 glibcxx_cv_func__hypotl_use=yes
37839 glibcxx_cv_func__hypotl_use=no
37841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37843 ac_cpp='$CPP $CPPFLAGS'
37844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37853 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37855 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37856 for ac_func in _hypotl
37858 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37859 if test "x$ac_cv_func__hypotl" = x""yes; then :
37860 cat >>confdefs.h <<_ACEOF
37861 #define HAVE__HYPOTL 1
37874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37875 $as_echo_n "checking for ldexpl declaration... " >&6; }
37876 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37877 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37878 $as_echo_n "(cached) " >&6
37883 ac_cpp='$CXXCPP $CPPFLAGS'
37884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37889 /* end confdefs.h. */
37899 if ac_fn_cxx_try_compile "$LINENO"; then :
37900 glibcxx_cv_func_ldexpl_use=yes
37902 glibcxx_cv_func_ldexpl_use=no
37904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37906 ac_cpp='$CPP $CPPFLAGS'
37907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37916 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37918 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37919 for ac_func in ldexpl
37921 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37922 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37923 cat >>confdefs.h <<_ACEOF
37924 #define HAVE_LDEXPL 1
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37933 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37934 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37935 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37936 $as_echo_n "(cached) " >&6
37941 ac_cpp='$CXXCPP $CPPFLAGS'
37942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37947 /* end confdefs.h. */
37957 if ac_fn_cxx_try_compile "$LINENO"; then :
37958 glibcxx_cv_func__ldexpl_use=yes
37960 glibcxx_cv_func__ldexpl_use=no
37962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37964 ac_cpp='$CPP $CPPFLAGS'
37965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37974 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37976 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37977 for ac_func in _ldexpl
37979 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37980 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37981 cat >>confdefs.h <<_ACEOF
37982 #define HAVE__LDEXPL 1
37995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37996 $as_echo_n "checking for logl declaration... " >&6; }
37997 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37998 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37999 $as_echo_n "(cached) " >&6
38004 ac_cpp='$CXXCPP $CPPFLAGS'
38005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38010 /* end confdefs.h. */
38012 #ifdef HAVE_IEEEFP_H
38013 #include <ieeefp.h>
38024 if ac_fn_cxx_try_compile "$LINENO"; then :
38025 glibcxx_cv_func_logl_use=yes
38027 glibcxx_cv_func_logl_use=no
38029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38031 ac_cpp='$CPP $CPPFLAGS'
38032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38041 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38043 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38044 for ac_func in logl
38046 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38047 if test "x$ac_cv_func_logl" = x""yes; then :
38048 cat >>confdefs.h <<_ACEOF
38049 #define HAVE_LOGL 1
38057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38058 $as_echo_n "checking for _logl declaration... " >&6; }
38059 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38060 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38061 $as_echo_n "(cached) " >&6
38066 ac_cpp='$CXXCPP $CPPFLAGS'
38067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38072 /* end confdefs.h. */
38074 #ifdef HAVE_IEEEFP_H
38075 #include <ieeefp.h>
38086 if ac_fn_cxx_try_compile "$LINENO"; then :
38087 glibcxx_cv_func__logl_use=yes
38089 glibcxx_cv_func__logl_use=no
38091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38093 ac_cpp='$CPP $CPPFLAGS'
38094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38103 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38105 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38106 for ac_func in _logl
38108 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38109 if test "x$ac_cv_func__logl" = x""yes; then :
38110 cat >>confdefs.h <<_ACEOF
38111 #define HAVE__LOGL 1
38124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38125 $as_echo_n "checking for log10l declaration... " >&6; }
38126 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38127 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38128 $as_echo_n "(cached) " >&6
38133 ac_cpp='$CXXCPP $CPPFLAGS'
38134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38139 /* end confdefs.h. */
38141 #ifdef HAVE_IEEEFP_H
38142 #include <ieeefp.h>
38153 if ac_fn_cxx_try_compile "$LINENO"; then :
38154 glibcxx_cv_func_log10l_use=yes
38156 glibcxx_cv_func_log10l_use=no
38158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160 ac_cpp='$CPP $CPPFLAGS'
38161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38170 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38172 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38173 for ac_func in log10l
38175 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38176 if test "x$ac_cv_func_log10l" = x""yes; then :
38177 cat >>confdefs.h <<_ACEOF
38178 #define HAVE_LOG10L 1
38186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38187 $as_echo_n "checking for _log10l declaration... " >&6; }
38188 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38189 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38190 $as_echo_n "(cached) " >&6
38195 ac_cpp='$CXXCPP $CPPFLAGS'
38196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38201 /* end confdefs.h. */
38203 #ifdef HAVE_IEEEFP_H
38204 #include <ieeefp.h>
38215 if ac_fn_cxx_try_compile "$LINENO"; then :
38216 glibcxx_cv_func__log10l_use=yes
38218 glibcxx_cv_func__log10l_use=no
38220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38222 ac_cpp='$CPP $CPPFLAGS'
38223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38232 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38234 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38235 for ac_func in _log10l
38237 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38238 if test "x$ac_cv_func__log10l" = x""yes; then :
38239 cat >>confdefs.h <<_ACEOF
38240 #define HAVE__LOG10L 1
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38254 $as_echo_n "checking for modfl declaration... " >&6; }
38255 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38256 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38257 $as_echo_n "(cached) " >&6
38262 ac_cpp='$CXXCPP $CPPFLAGS'
38263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38268 /* end confdefs.h. */
38278 if ac_fn_cxx_try_compile "$LINENO"; then :
38279 glibcxx_cv_func_modfl_use=yes
38281 glibcxx_cv_func_modfl_use=no
38283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38285 ac_cpp='$CPP $CPPFLAGS'
38286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38295 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38297 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38298 for ac_func in modfl
38300 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38301 if test "x$ac_cv_func_modfl" = x""yes; then :
38302 cat >>confdefs.h <<_ACEOF
38303 #define HAVE_MODFL 1
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38312 $as_echo_n "checking for _modfl declaration... " >&6; }
38313 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38314 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38315 $as_echo_n "(cached) " >&6
38320 ac_cpp='$CXXCPP $CPPFLAGS'
38321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38326 /* end confdefs.h. */
38336 if ac_fn_cxx_try_compile "$LINENO"; then :
38337 glibcxx_cv_func__modfl_use=yes
38339 glibcxx_cv_func__modfl_use=no
38341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38343 ac_cpp='$CPP $CPPFLAGS'
38344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38353 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38355 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38356 for ac_func in _modfl
38358 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38359 if test "x$ac_cv_func__modfl" = x""yes; then :
38360 cat >>confdefs.h <<_ACEOF
38361 #define HAVE__MODFL 1
38374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38375 $as_echo_n "checking for powl declaration... " >&6; }
38376 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38377 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38378 $as_echo_n "(cached) " >&6
38383 ac_cpp='$CXXCPP $CPPFLAGS'
38384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38389 /* end confdefs.h. */
38399 if ac_fn_cxx_try_compile "$LINENO"; then :
38400 glibcxx_cv_func_powl_use=yes
38402 glibcxx_cv_func_powl_use=no
38404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38406 ac_cpp='$CPP $CPPFLAGS'
38407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38416 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38418 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38419 for ac_func in powl
38421 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38422 if test "x$ac_cv_func_powl" = x""yes; then :
38423 cat >>confdefs.h <<_ACEOF
38424 #define HAVE_POWL 1
38432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38433 $as_echo_n "checking for _powl declaration... " >&6; }
38434 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38435 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38436 $as_echo_n "(cached) " >&6
38441 ac_cpp='$CXXCPP $CPPFLAGS'
38442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38447 /* end confdefs.h. */
38457 if ac_fn_cxx_try_compile "$LINENO"; then :
38458 glibcxx_cv_func__powl_use=yes
38460 glibcxx_cv_func__powl_use=no
38462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38464 ac_cpp='$CPP $CPPFLAGS'
38465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38474 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38476 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38477 for ac_func in _powl
38479 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38480 if test "x$ac_cv_func__powl" = x""yes; then :
38481 cat >>confdefs.h <<_ACEOF
38482 #define HAVE__POWL 1
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38496 $as_echo_n "checking for sqrtl declaration... " >&6; }
38497 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38498 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38499 $as_echo_n "(cached) " >&6
38504 ac_cpp='$CXXCPP $CPPFLAGS'
38505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38510 /* end confdefs.h. */
38512 #ifdef HAVE_IEEEFP_H
38513 #include <ieeefp.h>
38524 if ac_fn_cxx_try_compile "$LINENO"; then :
38525 glibcxx_cv_func_sqrtl_use=yes
38527 glibcxx_cv_func_sqrtl_use=no
38529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38531 ac_cpp='$CPP $CPPFLAGS'
38532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38541 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38543 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38544 for ac_func in sqrtl
38546 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38547 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38548 cat >>confdefs.h <<_ACEOF
38549 #define HAVE_SQRTL 1
38557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38558 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38559 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38560 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38561 $as_echo_n "(cached) " >&6
38566 ac_cpp='$CXXCPP $CPPFLAGS'
38567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38572 /* end confdefs.h. */
38574 #ifdef HAVE_IEEEFP_H
38575 #include <ieeefp.h>
38586 if ac_fn_cxx_try_compile "$LINENO"; then :
38587 glibcxx_cv_func__sqrtl_use=yes
38589 glibcxx_cv_func__sqrtl_use=no
38591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38593 ac_cpp='$CPP $CPPFLAGS'
38594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38603 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38605 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38606 for ac_func in _sqrtl
38608 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38609 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38610 cat >>confdefs.h <<_ACEOF
38611 #define HAVE__SQRTL 1
38624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38625 $as_echo_n "checking for sincosl declaration... " >&6; }
38626 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38627 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38628 $as_echo_n "(cached) " >&6
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_sincosl_use=yes
38652 glibcxx_cv_func_sincosl_use=no
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38666 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38668 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38669 for ac_func in sincosl
38671 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38672 if test "x$ac_cv_func_sincosl" = x""yes; then :
38673 cat >>confdefs.h <<_ACEOF
38674 #define HAVE_SINCOSL 1
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38683 $as_echo_n "checking for _sincosl declaration... " >&6; }
38684 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38685 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38686 $as_echo_n "(cached) " >&6
38691 ac_cpp='$CXXCPP $CPPFLAGS'
38692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 /* end confdefs.h. */
38707 if ac_fn_cxx_try_compile "$LINENO"; then :
38708 glibcxx_cv_func__sincosl_use=yes
38710 glibcxx_cv_func__sincosl_use=no
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38724 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38726 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38727 for ac_func in _sincosl
38729 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38730 if test "x$ac_cv_func__sincosl" = x""yes; then :
38731 cat >>confdefs.h <<_ACEOF
38732 #define HAVE__SINCOSL 1
38745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38746 $as_echo_n "checking for finitel declaration... " >&6; }
38747 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38748 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38749 $as_echo_n "(cached) " >&6
38754 ac_cpp='$CXXCPP $CPPFLAGS'
38755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38760 /* end confdefs.h. */
38762 #ifdef HAVE_IEEEFP_H
38763 #include <ieeefp.h>
38774 if ac_fn_cxx_try_compile "$LINENO"; then :
38775 glibcxx_cv_func_finitel_use=yes
38777 glibcxx_cv_func_finitel_use=no
38779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38781 ac_cpp='$CPP $CPPFLAGS'
38782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38791 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38793 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38794 for ac_func in finitel
38796 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38797 if test "x$ac_cv_func_finitel" = x""yes; then :
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_FINITEL 1
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38808 $as_echo_n "checking for _finitel declaration... " >&6; }
38809 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38810 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38824 #ifdef HAVE_IEEEFP_H
38825 #include <ieeefp.h>
38836 if ac_fn_cxx_try_compile "$LINENO"; then :
38837 glibcxx_cv_func__finitel_use=yes
38839 glibcxx_cv_func__finitel_use=no
38841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38853 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38855 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38856 for ac_func in _finitel
38858 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38859 if test "x$ac_cv_func__finitel" = x""yes; then :
38860 cat >>confdefs.h <<_ACEOF
38861 #define HAVE__FINITEL 1
38873 LIBS="$ac_save_LIBS"
38874 CXXFLAGS="$ac_save_CXXFLAGS"
38877 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38878 ac_save_CXXFLAGS="$CXXFLAGS"
38879 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38883 $as_echo_n "checking for strtold declaration... " >&6; }
38884 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38885 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38886 $as_echo_n "(cached) " >&6
38891 ac_cpp='$CXXCPP $CPPFLAGS'
38892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38897 /* end confdefs.h. */
38898 #include <stdlib.h>
38907 if ac_fn_cxx_try_compile "$LINENO"; then :
38908 glibcxx_cv_func_strtold_use=yes
38910 glibcxx_cv_func_strtold_use=no
38912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38914 ac_cpp='$CPP $CPPFLAGS'
38915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38924 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38925 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38926 for ac_func in strtold
38928 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38929 if test "x$ac_cv_func_strtold" = x""yes; then :
38930 cat >>confdefs.h <<_ACEOF
38931 #define HAVE_STRTOLD 1
38942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38943 $as_echo_n "checking for strtof declaration... " >&6; }
38944 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38945 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38946 $as_echo_n "(cached) " >&6
38951 ac_cpp='$CXXCPP $CPPFLAGS'
38952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38957 /* end confdefs.h. */
38958 #include <stdlib.h>
38967 if ac_fn_cxx_try_compile "$LINENO"; then :
38968 glibcxx_cv_func_strtof_use=yes
38970 glibcxx_cv_func_strtof_use=no
38972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38974 ac_cpp='$CPP $CPPFLAGS'
38975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38984 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38985 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38986 for ac_func in strtof
38988 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38989 if test "x$ac_cv_func_strtof" = x""yes; then :
38990 cat >>confdefs.h <<_ACEOF
38991 #define HAVE_STRTOF 1
39002 CXXFLAGS="$ac_save_CXXFLAGS"
39004 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39006 # We don't yet support AIX's TLS ABI.
39013 am_save_CPPFLAGS="$CPPFLAGS"
39015 for element in $INCICONV; do
39017 for x in $CPPFLAGS; do
39019 acl_save_prefix="$prefix"
39020 prefix="$acl_final_prefix"
39021 acl_save_exec_prefix="$exec_prefix"
39022 exec_prefix="$acl_final_exec_prefix"
39024 exec_prefix="$acl_save_exec_prefix"
39025 prefix="$acl_save_prefix"
39027 if test "X$x" = "X$element"; then
39032 if test -z "$haveit"; then
39033 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39039 $as_echo_n "checking for iconv... " >&6; }
39040 if test "${am_cv_func_iconv+set}" = set; then :
39041 $as_echo_n "(cached) " >&6
39044 am_cv_func_iconv="no, consider installing GNU libiconv"
39046 if test x$gcc_no_link = xyes; then
39047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39050 /* end confdefs.h. */
39051 #include <stdlib.h>
39056 iconv_t cd = iconv_open("","");
39057 iconv(cd,NULL,NULL,NULL,NULL);
39063 if ac_fn_c_try_link "$LINENO"; then :
39064 am_cv_func_iconv=yes
39066 rm -f core conftest.err conftest.$ac_objext \
39067 conftest$ac_exeext conftest.$ac_ext
39068 if test "$am_cv_func_iconv" != yes; then
39069 am_save_LIBS="$LIBS"
39070 LIBS="$LIBS $LIBICONV"
39071 if test x$gcc_no_link = xyes; then
39072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39075 /* end confdefs.h. */
39076 #include <stdlib.h>
39081 iconv_t cd = iconv_open("","");
39082 iconv(cd,NULL,NULL,NULL,NULL);
39088 if ac_fn_c_try_link "$LINENO"; then :
39089 am_cv_lib_iconv=yes
39090 am_cv_func_iconv=yes
39092 rm -f core conftest.err conftest.$ac_objext \
39093 conftest$ac_exeext conftest.$ac_ext
39094 LIBS="$am_save_LIBS"
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39099 $as_echo "$am_cv_func_iconv" >&6; }
39100 if test "$am_cv_func_iconv" = yes; then
39102 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39105 if test "$am_cv_lib_iconv" = yes; then
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39107 $as_echo_n "checking how to link with libiconv... " >&6; }
39108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39109 $as_echo "$LIBICONV" >&6; }
39111 CPPFLAGS="$am_save_CPPFLAGS"
39118 if test "$am_cv_func_iconv" = yes; then
39119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39120 $as_echo_n "checking for iconv declaration... " >&6; }
39121 if test "${am_cv_proto_iconv+set}" = set; then :
39122 $as_echo_n "(cached) " >&6
39125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39126 /* end confdefs.h. */
39128 #include <stdlib.h>
39134 #if defined(__STDC__) || defined(__cplusplus)
39135 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39148 if ac_fn_c_try_compile "$LINENO"; then :
39149 am_cv_proto_iconv_arg1=""
39151 am_cv_proto_iconv_arg1="const"
39153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39154 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);"
39157 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39159 }$am_cv_proto_iconv" >&5
39161 }$am_cv_proto_iconv" >&6; }
39163 cat >>confdefs.h <<_ACEOF
39164 #define ICONV_CONST $am_cv_proto_iconv_arg1
39172 # Darwin versions vary, but the linker should work in a cross environment,
39173 # so we just check for all the features here.
39174 # Check for available headers.
39176 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39178 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39179 ac_save_CXXFLAGS="$CXXFLAGS"
39180 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39183 $as_echo_n "checking for sin in -lm... " >&6; }
39184 if test "${ac_cv_lib_m_sin+set}" = set; then :
39185 $as_echo_n "(cached) " >&6
39187 ac_check_lib_save_LIBS=$LIBS
39189 if test x$gcc_no_link = xyes; then
39190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39193 /* end confdefs.h. */
39195 /* Override any GCC internal prototype to avoid an error.
39196 Use char because int might match the return type of a GCC
39197 builtin and then its argument prototype would still apply. */
39210 if ac_fn_c_try_link "$LINENO"; then :
39211 ac_cv_lib_m_sin=yes
39215 rm -f core conftest.err conftest.$ac_objext \
39216 conftest$ac_exeext conftest.$ac_ext
39217 LIBS=$ac_check_lib_save_LIBS
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39220 $as_echo "$ac_cv_lib_m_sin" >&6; }
39221 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39225 ac_save_LIBS="$LIBS"
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39231 $as_echo_n "checking for isinf declaration... " >&6; }
39232 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39233 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39234 $as_echo_n "(cached) " >&6
39239 ac_cpp='$CXXCPP $CPPFLAGS'
39240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39245 /* end confdefs.h. */
39247 #ifdef HAVE_IEEEFP_H
39248 #include <ieeefp.h>
39259 if ac_fn_cxx_try_compile "$LINENO"; then :
39260 glibcxx_cv_func_isinf_use=yes
39262 glibcxx_cv_func_isinf_use=no
39264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39266 ac_cpp='$CPP $CPPFLAGS'
39267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39276 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39278 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39279 for ac_func in isinf
39281 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39282 if test "x$ac_cv_func_isinf" = x""yes; then :
39283 cat >>confdefs.h <<_ACEOF
39284 #define HAVE_ISINF 1
39292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39293 $as_echo_n "checking for _isinf declaration... " >&6; }
39294 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39295 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39296 $as_echo_n "(cached) " >&6
39301 ac_cpp='$CXXCPP $CPPFLAGS'
39302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39307 /* end confdefs.h. */
39309 #ifdef HAVE_IEEEFP_H
39310 #include <ieeefp.h>
39321 if ac_fn_cxx_try_compile "$LINENO"; then :
39322 glibcxx_cv_func__isinf_use=yes
39324 glibcxx_cv_func__isinf_use=no
39326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39328 ac_cpp='$CPP $CPPFLAGS'
39329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39338 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39340 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39341 for ac_func in _isinf
39343 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39344 if test "x$ac_cv_func__isinf" = x""yes; then :
39345 cat >>confdefs.h <<_ACEOF
39346 #define HAVE__ISINF 1
39359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39360 $as_echo_n "checking for isnan declaration... " >&6; }
39361 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39362 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39363 $as_echo_n "(cached) " >&6
39368 ac_cpp='$CXXCPP $CPPFLAGS'
39369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39374 /* end confdefs.h. */
39376 #ifdef HAVE_IEEEFP_H
39377 #include <ieeefp.h>
39388 if ac_fn_cxx_try_compile "$LINENO"; then :
39389 glibcxx_cv_func_isnan_use=yes
39391 glibcxx_cv_func_isnan_use=no
39393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39395 ac_cpp='$CPP $CPPFLAGS'
39396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39405 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39407 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39408 for ac_func in isnan
39410 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39411 if test "x$ac_cv_func_isnan" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define HAVE_ISNAN 1
39421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39422 $as_echo_n "checking for _isnan declaration... " >&6; }
39423 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39424 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39425 $as_echo_n "(cached) " >&6
39430 ac_cpp='$CXXCPP $CPPFLAGS'
39431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39436 /* end confdefs.h. */
39438 #ifdef HAVE_IEEEFP_H
39439 #include <ieeefp.h>
39450 if ac_fn_cxx_try_compile "$LINENO"; then :
39451 glibcxx_cv_func__isnan_use=yes
39453 glibcxx_cv_func__isnan_use=no
39455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39457 ac_cpp='$CPP $CPPFLAGS'
39458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39467 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39469 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39470 for ac_func in _isnan
39472 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39473 if test "x$ac_cv_func__isnan" = x""yes; then :
39474 cat >>confdefs.h <<_ACEOF
39475 #define HAVE__ISNAN 1
39488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39489 $as_echo_n "checking for finite declaration... " >&6; }
39490 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39491 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39492 $as_echo_n "(cached) " >&6
39497 ac_cpp='$CXXCPP $CPPFLAGS'
39498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39503 /* end confdefs.h. */
39505 #ifdef HAVE_IEEEFP_H
39506 #include <ieeefp.h>
39517 if ac_fn_cxx_try_compile "$LINENO"; then :
39518 glibcxx_cv_func_finite_use=yes
39520 glibcxx_cv_func_finite_use=no
39522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39524 ac_cpp='$CPP $CPPFLAGS'
39525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39534 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39536 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39537 for ac_func in finite
39539 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39540 if test "x$ac_cv_func_finite" = x""yes; then :
39541 cat >>confdefs.h <<_ACEOF
39542 #define HAVE_FINITE 1
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39551 $as_echo_n "checking for _finite declaration... " >&6; }
39552 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39553 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39554 $as_echo_n "(cached) " >&6
39559 ac_cpp='$CXXCPP $CPPFLAGS'
39560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39565 /* end confdefs.h. */
39567 #ifdef HAVE_IEEEFP_H
39568 #include <ieeefp.h>
39579 if ac_fn_cxx_try_compile "$LINENO"; then :
39580 glibcxx_cv_func__finite_use=yes
39582 glibcxx_cv_func__finite_use=no
39584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39586 ac_cpp='$CPP $CPPFLAGS'
39587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39596 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39598 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39599 for ac_func in _finite
39601 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39602 if test "x$ac_cv_func__finite" = x""yes; then :
39603 cat >>confdefs.h <<_ACEOF
39604 #define HAVE__FINITE 1
39617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39618 $as_echo_n "checking for sincos declaration... " >&6; }
39619 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39620 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39621 $as_echo_n "(cached) " >&6
39626 ac_cpp='$CXXCPP $CPPFLAGS'
39627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39632 /* end confdefs.h. */
39642 if ac_fn_cxx_try_compile "$LINENO"; then :
39643 glibcxx_cv_func_sincos_use=yes
39645 glibcxx_cv_func_sincos_use=no
39647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39649 ac_cpp='$CPP $CPPFLAGS'
39650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39659 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39661 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39662 for ac_func in sincos
39664 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39665 if test "x$ac_cv_func_sincos" = x""yes; then :
39666 cat >>confdefs.h <<_ACEOF
39667 #define HAVE_SINCOS 1
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39676 $as_echo_n "checking for _sincos declaration... " >&6; }
39677 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39678 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39679 $as_echo_n "(cached) " >&6
39684 ac_cpp='$CXXCPP $CPPFLAGS'
39685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39690 /* end confdefs.h. */
39700 if ac_fn_cxx_try_compile "$LINENO"; then :
39701 glibcxx_cv_func__sincos_use=yes
39703 glibcxx_cv_func__sincos_use=no
39705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707 ac_cpp='$CPP $CPPFLAGS'
39708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39717 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39719 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39720 for ac_func in _sincos
39722 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39723 if test "x$ac_cv_func__sincos" = x""yes; then :
39724 cat >>confdefs.h <<_ACEOF
39725 #define HAVE__SINCOS 1
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39739 $as_echo_n "checking for fpclass declaration... " >&6; }
39740 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39741 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39742 $as_echo_n "(cached) " >&6
39747 ac_cpp='$CXXCPP $CPPFLAGS'
39748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39753 /* end confdefs.h. */
39755 #ifdef HAVE_IEEEFP_H
39756 #include <ieeefp.h>
39767 if ac_fn_cxx_try_compile "$LINENO"; then :
39768 glibcxx_cv_func_fpclass_use=yes
39770 glibcxx_cv_func_fpclass_use=no
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39774 ac_cpp='$CPP $CPPFLAGS'
39775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39784 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39786 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39787 for ac_func in fpclass
39789 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39790 if test "x$ac_cv_func_fpclass" = x""yes; then :
39791 cat >>confdefs.h <<_ACEOF
39792 #define HAVE_FPCLASS 1
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39801 $as_echo_n "checking for _fpclass declaration... " >&6; }
39802 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39803 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39804 $as_echo_n "(cached) " >&6
39809 ac_cpp='$CXXCPP $CPPFLAGS'
39810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39815 /* end confdefs.h. */
39817 #ifdef HAVE_IEEEFP_H
39818 #include <ieeefp.h>
39829 if ac_fn_cxx_try_compile "$LINENO"; then :
39830 glibcxx_cv_func__fpclass_use=yes
39832 glibcxx_cv_func__fpclass_use=no
39834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39836 ac_cpp='$CPP $CPPFLAGS'
39837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39846 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39848 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39849 for ac_func in _fpclass
39851 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39852 if test "x$ac_cv_func__fpclass" = x""yes; then :
39853 cat >>confdefs.h <<_ACEOF
39854 #define HAVE__FPCLASS 1
39867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39868 $as_echo_n "checking for qfpclass declaration... " >&6; }
39869 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39870 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39871 $as_echo_n "(cached) " >&6
39876 ac_cpp='$CXXCPP $CPPFLAGS'
39877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39882 /* end confdefs.h. */
39884 #ifdef HAVE_IEEEFP_H
39885 #include <ieeefp.h>
39896 if ac_fn_cxx_try_compile "$LINENO"; then :
39897 glibcxx_cv_func_qfpclass_use=yes
39899 glibcxx_cv_func_qfpclass_use=no
39901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39903 ac_cpp='$CPP $CPPFLAGS'
39904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39913 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39915 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39916 for ac_func in qfpclass
39918 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39919 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39920 cat >>confdefs.h <<_ACEOF
39921 #define HAVE_QFPCLASS 1
39929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39930 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39931 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39932 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39933 $as_echo_n "(cached) " >&6
39938 ac_cpp='$CXXCPP $CPPFLAGS'
39939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39944 /* end confdefs.h. */
39946 #ifdef HAVE_IEEEFP_H
39947 #include <ieeefp.h>
39958 if ac_fn_cxx_try_compile "$LINENO"; then :
39959 glibcxx_cv_func__qfpclass_use=yes
39961 glibcxx_cv_func__qfpclass_use=no
39963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39965 ac_cpp='$CPP $CPPFLAGS'
39966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39975 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39977 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39978 for ac_func in _qfpclass
39980 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39981 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39982 cat >>confdefs.h <<_ACEOF
39983 #define HAVE__QFPCLASS 1
39996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39997 $as_echo_n "checking for hypot declaration... " >&6; }
39998 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39999 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40000 $as_echo_n "(cached) " >&6
40005 ac_cpp='$CXXCPP $CPPFLAGS'
40006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40011 /* end confdefs.h. */
40021 if ac_fn_cxx_try_compile "$LINENO"; then :
40022 glibcxx_cv_func_hypot_use=yes
40024 glibcxx_cv_func_hypot_use=no
40026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40028 ac_cpp='$CPP $CPPFLAGS'
40029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40038 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40040 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40041 for ac_func in hypot
40043 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40044 if test "x$ac_cv_func_hypot" = x""yes; then :
40045 cat >>confdefs.h <<_ACEOF
40046 #define HAVE_HYPOT 1
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40055 $as_echo_n "checking for _hypot declaration... " >&6; }
40056 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40057 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40058 $as_echo_n "(cached) " >&6
40063 ac_cpp='$CXXCPP $CPPFLAGS'
40064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40069 /* end confdefs.h. */
40079 if ac_fn_cxx_try_compile "$LINENO"; then :
40080 glibcxx_cv_func__hypot_use=yes
40082 glibcxx_cv_func__hypot_use=no
40084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40086 ac_cpp='$CPP $CPPFLAGS'
40087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40096 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40098 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40099 for ac_func in _hypot
40101 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40102 if test "x$ac_cv_func__hypot" = x""yes; then :
40103 cat >>confdefs.h <<_ACEOF
40104 #define HAVE__HYPOT 1
40117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40118 $as_echo_n "checking for float trig functions... " >&6; }
40119 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40120 $as_echo_n "(cached) " >&6
40125 ac_cpp='$CXXCPP $CPPFLAGS'
40126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40131 /* end confdefs.h. */
40136 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40141 if ac_fn_cxx_try_compile "$LINENO"; then :
40142 glibcxx_cv_func_float_trig_use=yes
40144 glibcxx_cv_func_float_trig_use=no
40146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40148 ac_cpp='$CPP $CPPFLAGS'
40149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40156 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40157 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40158 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40162 eval as_val=\$$as_ac_var
40163 if test "x$as_val" = x""yes; then :
40164 cat >>confdefs.h <<_ACEOF
40165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40173 $as_echo_n "checking for _float trig functions... " >&6; }
40174 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40175 $as_echo_n "(cached) " >&6
40180 ac_cpp='$CXXCPP $CPPFLAGS'
40181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40186 /* end confdefs.h. */
40191 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40196 if ac_fn_cxx_try_compile "$LINENO"; then :
40197 glibcxx_cv_func__float_trig_use=yes
40199 glibcxx_cv_func__float_trig_use=no
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40211 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40212 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40213 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40217 eval as_val=\$$as_ac_var
40218 if test "x$as_val" = x""yes; then :
40219 cat >>confdefs.h <<_ACEOF
40220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40234 $as_echo_n "checking for float round functions... " >&6; }
40235 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40236 $as_echo_n "(cached) " >&6
40241 ac_cpp='$CXXCPP $CPPFLAGS'
40242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40247 /* end confdefs.h. */
40252 ceilf (0); floorf (0);
40257 if ac_fn_cxx_try_compile "$LINENO"; then :
40258 glibcxx_cv_func_float_round_use=yes
40260 glibcxx_cv_func_float_round_use=no
40262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40264 ac_cpp='$CPP $CPPFLAGS'
40265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40272 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40273 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40274 for ac_func in ceilf floorf
40276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40278 eval as_val=\$$as_ac_var
40279 if test "x$as_val" = x""yes; then :
40280 cat >>confdefs.h <<_ACEOF
40281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40289 $as_echo_n "checking for _float round functions... " >&6; }
40290 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40291 $as_echo_n "(cached) " >&6
40296 ac_cpp='$CXXCPP $CPPFLAGS'
40297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40302 /* end confdefs.h. */
40307 _ceilf (0); _floorf (0);
40312 if ac_fn_cxx_try_compile "$LINENO"; then :
40313 glibcxx_cv_func__float_round_use=yes
40315 glibcxx_cv_func__float_round_use=no
40317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40319 ac_cpp='$CPP $CPPFLAGS'
40320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40327 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40328 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40329 for ac_func in _ceilf _floorf
40331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40333 eval as_val=\$$as_ac_var
40334 if test "x$as_val" = x""yes; then :
40335 cat >>confdefs.h <<_ACEOF
40336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40351 $as_echo_n "checking for expf declaration... " >&6; }
40352 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40353 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40354 $as_echo_n "(cached) " >&6
40359 ac_cpp='$CXXCPP $CPPFLAGS'
40360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40365 /* end confdefs.h. */
40367 #ifdef HAVE_IEEEFP_H
40368 #include <ieeefp.h>
40379 if ac_fn_cxx_try_compile "$LINENO"; then :
40380 glibcxx_cv_func_expf_use=yes
40382 glibcxx_cv_func_expf_use=no
40384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40386 ac_cpp='$CPP $CPPFLAGS'
40387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40396 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40398 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40399 for ac_func in expf
40401 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40402 if test "x$ac_cv_func_expf" = x""yes; then :
40403 cat >>confdefs.h <<_ACEOF
40404 #define HAVE_EXPF 1
40412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40413 $as_echo_n "checking for _expf declaration... " >&6; }
40414 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40415 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40416 $as_echo_n "(cached) " >&6
40421 ac_cpp='$CXXCPP $CPPFLAGS'
40422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40427 /* end confdefs.h. */
40429 #ifdef HAVE_IEEEFP_H
40430 #include <ieeefp.h>
40441 if ac_fn_cxx_try_compile "$LINENO"; then :
40442 glibcxx_cv_func__expf_use=yes
40444 glibcxx_cv_func__expf_use=no
40446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40448 ac_cpp='$CPP $CPPFLAGS'
40449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40458 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40460 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40461 for ac_func in _expf
40463 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40464 if test "x$ac_cv_func__expf" = x""yes; then :
40465 cat >>confdefs.h <<_ACEOF
40466 #define HAVE__EXPF 1
40479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40480 $as_echo_n "checking for isnanf declaration... " >&6; }
40481 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40482 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40483 $as_echo_n "(cached) " >&6
40488 ac_cpp='$CXXCPP $CPPFLAGS'
40489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40494 /* end confdefs.h. */
40496 #ifdef HAVE_IEEEFP_H
40497 #include <ieeefp.h>
40508 if ac_fn_cxx_try_compile "$LINENO"; then :
40509 glibcxx_cv_func_isnanf_use=yes
40511 glibcxx_cv_func_isnanf_use=no
40513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515 ac_cpp='$CPP $CPPFLAGS'
40516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40525 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40527 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40528 for ac_func in isnanf
40530 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40531 if test "x$ac_cv_func_isnanf" = x""yes; then :
40532 cat >>confdefs.h <<_ACEOF
40533 #define HAVE_ISNANF 1
40541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40542 $as_echo_n "checking for _isnanf declaration... " >&6; }
40543 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40544 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40545 $as_echo_n "(cached) " >&6
40550 ac_cpp='$CXXCPP $CPPFLAGS'
40551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40556 /* end confdefs.h. */
40558 #ifdef HAVE_IEEEFP_H
40559 #include <ieeefp.h>
40570 if ac_fn_cxx_try_compile "$LINENO"; then :
40571 glibcxx_cv_func__isnanf_use=yes
40573 glibcxx_cv_func__isnanf_use=no
40575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40577 ac_cpp='$CPP $CPPFLAGS'
40578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40587 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40589 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40590 for ac_func in _isnanf
40592 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40593 if test "x$ac_cv_func__isnanf" = x""yes; then :
40594 cat >>confdefs.h <<_ACEOF
40595 #define HAVE__ISNANF 1
40608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40609 $as_echo_n "checking for isinff declaration... " >&6; }
40610 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40611 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40612 $as_echo_n "(cached) " >&6
40617 ac_cpp='$CXXCPP $CPPFLAGS'
40618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40623 /* end confdefs.h. */
40625 #ifdef HAVE_IEEEFP_H
40626 #include <ieeefp.h>
40637 if ac_fn_cxx_try_compile "$LINENO"; then :
40638 glibcxx_cv_func_isinff_use=yes
40640 glibcxx_cv_func_isinff_use=no
40642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40644 ac_cpp='$CPP $CPPFLAGS'
40645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40654 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40656 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40657 for ac_func in isinff
40659 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40660 if test "x$ac_cv_func_isinff" = x""yes; then :
40661 cat >>confdefs.h <<_ACEOF
40662 #define HAVE_ISINFF 1
40670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40671 $as_echo_n "checking for _isinff declaration... " >&6; }
40672 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40673 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40674 $as_echo_n "(cached) " >&6
40679 ac_cpp='$CXXCPP $CPPFLAGS'
40680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40685 /* end confdefs.h. */
40687 #ifdef HAVE_IEEEFP_H
40688 #include <ieeefp.h>
40699 if ac_fn_cxx_try_compile "$LINENO"; then :
40700 glibcxx_cv_func__isinff_use=yes
40702 glibcxx_cv_func__isinff_use=no
40704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40706 ac_cpp='$CPP $CPPFLAGS'
40707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40716 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40718 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40719 for ac_func in _isinff
40721 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40722 if test "x$ac_cv_func__isinff" = x""yes; then :
40723 cat >>confdefs.h <<_ACEOF
40724 #define HAVE__ISINFF 1
40737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40738 $as_echo_n "checking for atan2f declaration... " >&6; }
40739 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40740 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40741 $as_echo_n "(cached) " >&6
40746 ac_cpp='$CXXCPP $CPPFLAGS'
40747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40752 /* end confdefs.h. */
40762 if ac_fn_cxx_try_compile "$LINENO"; then :
40763 glibcxx_cv_func_atan2f_use=yes
40765 glibcxx_cv_func_atan2f_use=no
40767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40769 ac_cpp='$CPP $CPPFLAGS'
40770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40779 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40781 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40782 for ac_func in atan2f
40784 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40785 if test "x$ac_cv_func_atan2f" = x""yes; then :
40786 cat >>confdefs.h <<_ACEOF
40787 #define HAVE_ATAN2F 1
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40796 $as_echo_n "checking for _atan2f declaration... " >&6; }
40797 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40798 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40799 $as_echo_n "(cached) " >&6
40804 ac_cpp='$CXXCPP $CPPFLAGS'
40805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40810 /* end confdefs.h. */
40820 if ac_fn_cxx_try_compile "$LINENO"; then :
40821 glibcxx_cv_func__atan2f_use=yes
40823 glibcxx_cv_func__atan2f_use=no
40825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40827 ac_cpp='$CPP $CPPFLAGS'
40828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40837 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40839 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40840 for ac_func in _atan2f
40842 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40843 if test "x$ac_cv_func__atan2f" = x""yes; then :
40844 cat >>confdefs.h <<_ACEOF
40845 #define HAVE__ATAN2F 1
40858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40859 $as_echo_n "checking for fabsf declaration... " >&6; }
40860 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40861 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40862 $as_echo_n "(cached) " >&6
40867 ac_cpp='$CXXCPP $CPPFLAGS'
40868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40873 /* end confdefs.h. */
40875 #ifdef HAVE_IEEEFP_H
40876 #include <ieeefp.h>
40887 if ac_fn_cxx_try_compile "$LINENO"; then :
40888 glibcxx_cv_func_fabsf_use=yes
40890 glibcxx_cv_func_fabsf_use=no
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40904 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40906 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40907 for ac_func in fabsf
40909 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40910 if test "x$ac_cv_func_fabsf" = x""yes; then :
40911 cat >>confdefs.h <<_ACEOF
40912 #define HAVE_FABSF 1
40920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40921 $as_echo_n "checking for _fabsf declaration... " >&6; }
40922 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40923 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40924 $as_echo_n "(cached) " >&6
40929 ac_cpp='$CXXCPP $CPPFLAGS'
40930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40935 /* end confdefs.h. */
40937 #ifdef HAVE_IEEEFP_H
40938 #include <ieeefp.h>
40949 if ac_fn_cxx_try_compile "$LINENO"; then :
40950 glibcxx_cv_func__fabsf_use=yes
40952 glibcxx_cv_func__fabsf_use=no
40954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40956 ac_cpp='$CPP $CPPFLAGS'
40957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40966 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40968 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40969 for ac_func in _fabsf
40971 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40972 if test "x$ac_cv_func__fabsf" = x""yes; then :
40973 cat >>confdefs.h <<_ACEOF
40974 #define HAVE__FABSF 1
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40988 $as_echo_n "checking for fmodf declaration... " >&6; }
40989 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40990 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40991 $as_echo_n "(cached) " >&6
40996 ac_cpp='$CXXCPP $CPPFLAGS'
40997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41002 /* end confdefs.h. */
41012 if ac_fn_cxx_try_compile "$LINENO"; then :
41013 glibcxx_cv_func_fmodf_use=yes
41015 glibcxx_cv_func_fmodf_use=no
41017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41019 ac_cpp='$CPP $CPPFLAGS'
41020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41029 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41031 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41032 for ac_func in fmodf
41034 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41035 if test "x$ac_cv_func_fmodf" = x""yes; then :
41036 cat >>confdefs.h <<_ACEOF
41037 #define HAVE_FMODF 1
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41046 $as_echo_n "checking for _fmodf declaration... " >&6; }
41047 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41048 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41049 $as_echo_n "(cached) " >&6
41054 ac_cpp='$CXXCPP $CPPFLAGS'
41055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41060 /* end confdefs.h. */
41070 if ac_fn_cxx_try_compile "$LINENO"; then :
41071 glibcxx_cv_func__fmodf_use=yes
41073 glibcxx_cv_func__fmodf_use=no
41075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41077 ac_cpp='$CPP $CPPFLAGS'
41078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41087 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41089 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41090 for ac_func in _fmodf
41092 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41093 if test "x$ac_cv_func__fmodf" = x""yes; then :
41094 cat >>confdefs.h <<_ACEOF
41095 #define HAVE__FMODF 1
41108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41109 $as_echo_n "checking for frexpf declaration... " >&6; }
41110 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41111 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41112 $as_echo_n "(cached) " >&6
41117 ac_cpp='$CXXCPP $CPPFLAGS'
41118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41123 /* end confdefs.h. */
41133 if ac_fn_cxx_try_compile "$LINENO"; then :
41134 glibcxx_cv_func_frexpf_use=yes
41136 glibcxx_cv_func_frexpf_use=no
41138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41140 ac_cpp='$CPP $CPPFLAGS'
41141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41150 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41152 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41153 for ac_func in frexpf
41155 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41156 if test "x$ac_cv_func_frexpf" = x""yes; then :
41157 cat >>confdefs.h <<_ACEOF
41158 #define HAVE_FREXPF 1
41166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41167 $as_echo_n "checking for _frexpf declaration... " >&6; }
41168 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41169 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41170 $as_echo_n "(cached) " >&6
41175 ac_cpp='$CXXCPP $CPPFLAGS'
41176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41181 /* end confdefs.h. */
41191 if ac_fn_cxx_try_compile "$LINENO"; then :
41192 glibcxx_cv_func__frexpf_use=yes
41194 glibcxx_cv_func__frexpf_use=no
41196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41198 ac_cpp='$CPP $CPPFLAGS'
41199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41208 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41210 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41211 for ac_func in _frexpf
41213 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41214 if test "x$ac_cv_func__frexpf" = x""yes; then :
41215 cat >>confdefs.h <<_ACEOF
41216 #define HAVE__FREXPF 1
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41230 $as_echo_n "checking for hypotf declaration... " >&6; }
41231 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41232 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41233 $as_echo_n "(cached) " >&6
41238 ac_cpp='$CXXCPP $CPPFLAGS'
41239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41244 /* end confdefs.h. */
41254 if ac_fn_cxx_try_compile "$LINENO"; then :
41255 glibcxx_cv_func_hypotf_use=yes
41257 glibcxx_cv_func_hypotf_use=no
41259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41261 ac_cpp='$CPP $CPPFLAGS'
41262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41271 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41273 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41274 for ac_func in hypotf
41276 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41277 if test "x$ac_cv_func_hypotf" = x""yes; then :
41278 cat >>confdefs.h <<_ACEOF
41279 #define HAVE_HYPOTF 1
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41288 $as_echo_n "checking for _hypotf declaration... " >&6; }
41289 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41290 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41291 $as_echo_n "(cached) " >&6
41296 ac_cpp='$CXXCPP $CPPFLAGS'
41297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41302 /* end confdefs.h. */
41312 if ac_fn_cxx_try_compile "$LINENO"; then :
41313 glibcxx_cv_func__hypotf_use=yes
41315 glibcxx_cv_func__hypotf_use=no
41317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41319 ac_cpp='$CPP $CPPFLAGS'
41320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41329 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41331 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41332 for ac_func in _hypotf
41334 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41335 if test "x$ac_cv_func__hypotf" = x""yes; then :
41336 cat >>confdefs.h <<_ACEOF
41337 #define HAVE__HYPOTF 1
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41351 $as_echo_n "checking for ldexpf declaration... " >&6; }
41352 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41353 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41354 $as_echo_n "(cached) " >&6
41359 ac_cpp='$CXXCPP $CPPFLAGS'
41360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41365 /* end confdefs.h. */
41375 if ac_fn_cxx_try_compile "$LINENO"; then :
41376 glibcxx_cv_func_ldexpf_use=yes
41378 glibcxx_cv_func_ldexpf_use=no
41380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41382 ac_cpp='$CPP $CPPFLAGS'
41383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41392 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41394 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41395 for ac_func in ldexpf
41397 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41398 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41399 cat >>confdefs.h <<_ACEOF
41400 #define HAVE_LDEXPF 1
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41409 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41410 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41411 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41412 $as_echo_n "(cached) " >&6
41417 ac_cpp='$CXXCPP $CPPFLAGS'
41418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41423 /* end confdefs.h. */
41433 if ac_fn_cxx_try_compile "$LINENO"; then :
41434 glibcxx_cv_func__ldexpf_use=yes
41436 glibcxx_cv_func__ldexpf_use=no
41438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41440 ac_cpp='$CPP $CPPFLAGS'
41441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41450 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41452 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41453 for ac_func in _ldexpf
41455 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41456 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41457 cat >>confdefs.h <<_ACEOF
41458 #define HAVE__LDEXPF 1
41471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41472 $as_echo_n "checking for logf declaration... " >&6; }
41473 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41474 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41475 $as_echo_n "(cached) " >&6
41480 ac_cpp='$CXXCPP $CPPFLAGS'
41481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41486 /* end confdefs.h. */
41488 #ifdef HAVE_IEEEFP_H
41489 #include <ieeefp.h>
41500 if ac_fn_cxx_try_compile "$LINENO"; then :
41501 glibcxx_cv_func_logf_use=yes
41503 glibcxx_cv_func_logf_use=no
41505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41507 ac_cpp='$CPP $CPPFLAGS'
41508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41517 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41519 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41520 for ac_func in logf
41522 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41523 if test "x$ac_cv_func_logf" = x""yes; then :
41524 cat >>confdefs.h <<_ACEOF
41525 #define HAVE_LOGF 1
41533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41534 $as_echo_n "checking for _logf declaration... " >&6; }
41535 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41536 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41537 $as_echo_n "(cached) " >&6
41542 ac_cpp='$CXXCPP $CPPFLAGS'
41543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41548 /* end confdefs.h. */
41550 #ifdef HAVE_IEEEFP_H
41551 #include <ieeefp.h>
41562 if ac_fn_cxx_try_compile "$LINENO"; then :
41563 glibcxx_cv_func__logf_use=yes
41565 glibcxx_cv_func__logf_use=no
41567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41569 ac_cpp='$CPP $CPPFLAGS'
41570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41579 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41581 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41582 for ac_func in _logf
41584 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41585 if test "x$ac_cv_func__logf" = x""yes; then :
41586 cat >>confdefs.h <<_ACEOF
41587 #define HAVE__LOGF 1
41600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41601 $as_echo_n "checking for log10f declaration... " >&6; }
41602 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41603 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41604 $as_echo_n "(cached) " >&6
41609 ac_cpp='$CXXCPP $CPPFLAGS'
41610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41615 /* end confdefs.h. */
41617 #ifdef HAVE_IEEEFP_H
41618 #include <ieeefp.h>
41629 if ac_fn_cxx_try_compile "$LINENO"; then :
41630 glibcxx_cv_func_log10f_use=yes
41632 glibcxx_cv_func_log10f_use=no
41634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41646 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41648 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41649 for ac_func in log10f
41651 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41652 if test "x$ac_cv_func_log10f" = x""yes; then :
41653 cat >>confdefs.h <<_ACEOF
41654 #define HAVE_LOG10F 1
41662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41663 $as_echo_n "checking for _log10f declaration... " >&6; }
41664 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41665 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41666 $as_echo_n "(cached) " >&6
41671 ac_cpp='$CXXCPP $CPPFLAGS'
41672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41677 /* end confdefs.h. */
41679 #ifdef HAVE_IEEEFP_H
41680 #include <ieeefp.h>
41691 if ac_fn_cxx_try_compile "$LINENO"; then :
41692 glibcxx_cv_func__log10f_use=yes
41694 glibcxx_cv_func__log10f_use=no
41696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41698 ac_cpp='$CPP $CPPFLAGS'
41699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41708 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41710 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41711 for ac_func in _log10f
41713 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41714 if test "x$ac_cv_func__log10f" = x""yes; then :
41715 cat >>confdefs.h <<_ACEOF
41716 #define HAVE__LOG10F 1
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41730 $as_echo_n "checking for modff declaration... " >&6; }
41731 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41732 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41733 $as_echo_n "(cached) " >&6
41738 ac_cpp='$CXXCPP $CPPFLAGS'
41739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41744 /* end confdefs.h. */
41754 if ac_fn_cxx_try_compile "$LINENO"; then :
41755 glibcxx_cv_func_modff_use=yes
41757 glibcxx_cv_func_modff_use=no
41759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41761 ac_cpp='$CPP $CPPFLAGS'
41762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41771 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41773 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41774 for ac_func in modff
41776 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41777 if test "x$ac_cv_func_modff" = x""yes; then :
41778 cat >>confdefs.h <<_ACEOF
41779 #define HAVE_MODFF 1
41787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41788 $as_echo_n "checking for _modff declaration... " >&6; }
41789 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41790 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41791 $as_echo_n "(cached) " >&6
41796 ac_cpp='$CXXCPP $CPPFLAGS'
41797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41802 /* end confdefs.h. */
41812 if ac_fn_cxx_try_compile "$LINENO"; then :
41813 glibcxx_cv_func__modff_use=yes
41815 glibcxx_cv_func__modff_use=no
41817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41819 ac_cpp='$CPP $CPPFLAGS'
41820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41829 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41831 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41832 for ac_func in _modff
41834 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41835 if test "x$ac_cv_func__modff" = x""yes; then :
41836 cat >>confdefs.h <<_ACEOF
41837 #define HAVE__MODFF 1
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41851 $as_echo_n "checking for modf declaration... " >&6; }
41852 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41853 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41854 $as_echo_n "(cached) " >&6
41859 ac_cpp='$CXXCPP $CPPFLAGS'
41860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41865 /* end confdefs.h. */
41875 if ac_fn_cxx_try_compile "$LINENO"; then :
41876 glibcxx_cv_func_modf_use=yes
41878 glibcxx_cv_func_modf_use=no
41880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41882 ac_cpp='$CPP $CPPFLAGS'
41883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41892 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41894 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41895 for ac_func in modf
41897 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41898 if test "x$ac_cv_func_modf" = x""yes; then :
41899 cat >>confdefs.h <<_ACEOF
41900 #define HAVE_MODF 1
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41909 $as_echo_n "checking for _modf declaration... " >&6; }
41910 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41911 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41912 $as_echo_n "(cached) " >&6
41917 ac_cpp='$CXXCPP $CPPFLAGS'
41918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41923 /* end confdefs.h. */
41933 if ac_fn_cxx_try_compile "$LINENO"; then :
41934 glibcxx_cv_func__modf_use=yes
41936 glibcxx_cv_func__modf_use=no
41938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41940 ac_cpp='$CPP $CPPFLAGS'
41941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41950 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41952 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41953 for ac_func in _modf
41955 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41956 if test "x$ac_cv_func__modf" = x""yes; then :
41957 cat >>confdefs.h <<_ACEOF
41958 #define HAVE__MODF 1
41971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41972 $as_echo_n "checking for powf declaration... " >&6; }
41973 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41974 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41975 $as_echo_n "(cached) " >&6
41980 ac_cpp='$CXXCPP $CPPFLAGS'
41981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41986 /* end confdefs.h. */
41996 if ac_fn_cxx_try_compile "$LINENO"; then :
41997 glibcxx_cv_func_powf_use=yes
41999 glibcxx_cv_func_powf_use=no
42001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42003 ac_cpp='$CPP $CPPFLAGS'
42004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42013 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42015 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42016 for ac_func in powf
42018 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42019 if test "x$ac_cv_func_powf" = x""yes; then :
42020 cat >>confdefs.h <<_ACEOF
42021 #define HAVE_POWF 1
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42030 $as_echo_n "checking for _powf declaration... " >&6; }
42031 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42032 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42033 $as_echo_n "(cached) " >&6
42038 ac_cpp='$CXXCPP $CPPFLAGS'
42039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42044 /* end confdefs.h. */
42054 if ac_fn_cxx_try_compile "$LINENO"; then :
42055 glibcxx_cv_func__powf_use=yes
42057 glibcxx_cv_func__powf_use=no
42059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42061 ac_cpp='$CPP $CPPFLAGS'
42062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42071 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42073 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42074 for ac_func in _powf
42076 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42077 if test "x$ac_cv_func__powf" = x""yes; then :
42078 cat >>confdefs.h <<_ACEOF
42079 #define HAVE__POWF 1
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42093 $as_echo_n "checking for sqrtf declaration... " >&6; }
42094 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42095 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42096 $as_echo_n "(cached) " >&6
42101 ac_cpp='$CXXCPP $CPPFLAGS'
42102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42107 /* end confdefs.h. */
42109 #ifdef HAVE_IEEEFP_H
42110 #include <ieeefp.h>
42121 if ac_fn_cxx_try_compile "$LINENO"; then :
42122 glibcxx_cv_func_sqrtf_use=yes
42124 glibcxx_cv_func_sqrtf_use=no
42126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42128 ac_cpp='$CPP $CPPFLAGS'
42129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42138 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42140 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42141 for ac_func in sqrtf
42143 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42144 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42145 cat >>confdefs.h <<_ACEOF
42146 #define HAVE_SQRTF 1
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42155 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42156 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42157 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42158 $as_echo_n "(cached) " >&6
42163 ac_cpp='$CXXCPP $CPPFLAGS'
42164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42169 /* end confdefs.h. */
42171 #ifdef HAVE_IEEEFP_H
42172 #include <ieeefp.h>
42183 if ac_fn_cxx_try_compile "$LINENO"; then :
42184 glibcxx_cv_func__sqrtf_use=yes
42186 glibcxx_cv_func__sqrtf_use=no
42188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42190 ac_cpp='$CPP $CPPFLAGS'
42191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42200 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42202 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42203 for ac_func in _sqrtf
42205 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42206 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42207 cat >>confdefs.h <<_ACEOF
42208 #define HAVE__SQRTF 1
42221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42222 $as_echo_n "checking for sincosf declaration... " >&6; }
42223 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42224 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42225 $as_echo_n "(cached) " >&6
42230 ac_cpp='$CXXCPP $CPPFLAGS'
42231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42236 /* end confdefs.h. */
42246 if ac_fn_cxx_try_compile "$LINENO"; then :
42247 glibcxx_cv_func_sincosf_use=yes
42249 glibcxx_cv_func_sincosf_use=no
42251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42253 ac_cpp='$CPP $CPPFLAGS'
42254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42263 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42265 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42266 for ac_func in sincosf
42268 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42269 if test "x$ac_cv_func_sincosf" = x""yes; then :
42270 cat >>confdefs.h <<_ACEOF
42271 #define HAVE_SINCOSF 1
42279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42280 $as_echo_n "checking for _sincosf declaration... " >&6; }
42281 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42282 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42283 $as_echo_n "(cached) " >&6
42288 ac_cpp='$CXXCPP $CPPFLAGS'
42289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42294 /* end confdefs.h. */
42304 if ac_fn_cxx_try_compile "$LINENO"; then :
42305 glibcxx_cv_func__sincosf_use=yes
42307 glibcxx_cv_func__sincosf_use=no
42309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42311 ac_cpp='$CPP $CPPFLAGS'
42312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42321 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42323 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42324 for ac_func in _sincosf
42326 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42327 if test "x$ac_cv_func__sincosf" = x""yes; then :
42328 cat >>confdefs.h <<_ACEOF
42329 #define HAVE__SINCOSF 1
42342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42343 $as_echo_n "checking for finitef declaration... " >&6; }
42344 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42345 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42346 $as_echo_n "(cached) " >&6
42351 ac_cpp='$CXXCPP $CPPFLAGS'
42352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42357 /* end confdefs.h. */
42359 #ifdef HAVE_IEEEFP_H
42360 #include <ieeefp.h>
42371 if ac_fn_cxx_try_compile "$LINENO"; then :
42372 glibcxx_cv_func_finitef_use=yes
42374 glibcxx_cv_func_finitef_use=no
42376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42378 ac_cpp='$CPP $CPPFLAGS'
42379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42388 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42390 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42391 for ac_func in finitef
42393 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42394 if test "x$ac_cv_func_finitef" = x""yes; then :
42395 cat >>confdefs.h <<_ACEOF
42396 #define HAVE_FINITEF 1
42404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42405 $as_echo_n "checking for _finitef declaration... " >&6; }
42406 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42407 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42408 $as_echo_n "(cached) " >&6
42413 ac_cpp='$CXXCPP $CPPFLAGS'
42414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42419 /* end confdefs.h. */
42421 #ifdef HAVE_IEEEFP_H
42422 #include <ieeefp.h>
42433 if ac_fn_cxx_try_compile "$LINENO"; then :
42434 glibcxx_cv_func__finitef_use=yes
42436 glibcxx_cv_func__finitef_use=no
42438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42440 ac_cpp='$CPP $CPPFLAGS'
42441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42450 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42452 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42453 for ac_func in _finitef
42455 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42456 if test "x$ac_cv_func__finitef" = x""yes; then :
42457 cat >>confdefs.h <<_ACEOF
42458 #define HAVE__FINITEF 1
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42472 $as_echo_n "checking for long double trig functions... " >&6; }
42473 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42474 $as_echo_n "(cached) " >&6
42479 ac_cpp='$CXXCPP $CPPFLAGS'
42480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42485 /* end confdefs.h. */
42490 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42495 if ac_fn_cxx_try_compile "$LINENO"; then :
42496 glibcxx_cv_func_long_double_trig_use=yes
42498 glibcxx_cv_func_long_double_trig_use=no
42500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42502 ac_cpp='$CPP $CPPFLAGS'
42503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42510 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42511 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42512 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42516 eval as_val=\$$as_ac_var
42517 if test "x$as_val" = x""yes; then :
42518 cat >>confdefs.h <<_ACEOF
42519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42527 $as_echo_n "checking for _long double trig functions... " >&6; }
42528 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42529 $as_echo_n "(cached) " >&6
42534 ac_cpp='$CXXCPP $CPPFLAGS'
42535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42540 /* end confdefs.h. */
42545 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42550 if ac_fn_cxx_try_compile "$LINENO"; then :
42551 glibcxx_cv_func__long_double_trig_use=yes
42553 glibcxx_cv_func__long_double_trig_use=no
42555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42557 ac_cpp='$CPP $CPPFLAGS'
42558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42565 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42566 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42567 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42571 eval as_val=\$$as_ac_var
42572 if test "x$as_val" = x""yes; then :
42573 cat >>confdefs.h <<_ACEOF
42574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42588 $as_echo_n "checking for long double round functions... " >&6; }
42589 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42590 $as_echo_n "(cached) " >&6
42595 ac_cpp='$CXXCPP $CPPFLAGS'
42596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42601 /* end confdefs.h. */
42606 ceill (0); floorl (0);
42611 if ac_fn_cxx_try_compile "$LINENO"; then :
42612 glibcxx_cv_func_long_double_round_use=yes
42614 glibcxx_cv_func_long_double_round_use=no
42616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42618 ac_cpp='$CPP $CPPFLAGS'
42619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42626 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42627 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42628 for ac_func in ceill floorl
42630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42632 eval as_val=\$$as_ac_var
42633 if test "x$as_val" = x""yes; then :
42634 cat >>confdefs.h <<_ACEOF
42635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42643 $as_echo_n "checking for _long double round functions... " >&6; }
42644 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42645 $as_echo_n "(cached) " >&6
42650 ac_cpp='$CXXCPP $CPPFLAGS'
42651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42656 /* end confdefs.h. */
42661 _ceill (0); _floorl (0);
42666 if ac_fn_cxx_try_compile "$LINENO"; then :
42667 glibcxx_cv_func__long_double_round_use=yes
42669 glibcxx_cv_func__long_double_round_use=no
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42681 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42682 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42683 for ac_func in _ceill _floorl
42685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42687 eval as_val=\$$as_ac_var
42688 if test "x$as_val" = x""yes; then :
42689 cat >>confdefs.h <<_ACEOF
42690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42705 $as_echo_n "checking for isnanl declaration... " >&6; }
42706 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42707 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42708 $as_echo_n "(cached) " >&6
42713 ac_cpp='$CXXCPP $CPPFLAGS'
42714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42719 /* end confdefs.h. */
42721 #ifdef HAVE_IEEEFP_H
42722 #include <ieeefp.h>
42733 if ac_fn_cxx_try_compile "$LINENO"; then :
42734 glibcxx_cv_func_isnanl_use=yes
42736 glibcxx_cv_func_isnanl_use=no
42738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42740 ac_cpp='$CPP $CPPFLAGS'
42741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42750 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42752 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42753 for ac_func in isnanl
42755 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42756 if test "x$ac_cv_func_isnanl" = x""yes; then :
42757 cat >>confdefs.h <<_ACEOF
42758 #define HAVE_ISNANL 1
42766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42767 $as_echo_n "checking for _isnanl declaration... " >&6; }
42768 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42769 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42770 $as_echo_n "(cached) " >&6
42775 ac_cpp='$CXXCPP $CPPFLAGS'
42776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781 /* end confdefs.h. */
42783 #ifdef HAVE_IEEEFP_H
42784 #include <ieeefp.h>
42795 if ac_fn_cxx_try_compile "$LINENO"; then :
42796 glibcxx_cv_func__isnanl_use=yes
42798 glibcxx_cv_func__isnanl_use=no
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42812 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42814 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42815 for ac_func in _isnanl
42817 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42818 if test "x$ac_cv_func__isnanl" = x""yes; then :
42819 cat >>confdefs.h <<_ACEOF
42820 #define HAVE__ISNANL 1
42833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42834 $as_echo_n "checking for isinfl declaration... " >&6; }
42835 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42836 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42837 $as_echo_n "(cached) " >&6
42842 ac_cpp='$CXXCPP $CPPFLAGS'
42843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42848 /* end confdefs.h. */
42850 #ifdef HAVE_IEEEFP_H
42851 #include <ieeefp.h>
42862 if ac_fn_cxx_try_compile "$LINENO"; then :
42863 glibcxx_cv_func_isinfl_use=yes
42865 glibcxx_cv_func_isinfl_use=no
42867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42869 ac_cpp='$CPP $CPPFLAGS'
42870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42879 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42881 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42882 for ac_func in isinfl
42884 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42885 if test "x$ac_cv_func_isinfl" = x""yes; then :
42886 cat >>confdefs.h <<_ACEOF
42887 #define HAVE_ISINFL 1
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42896 $as_echo_n "checking for _isinfl declaration... " >&6; }
42897 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42898 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42899 $as_echo_n "(cached) " >&6
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42910 /* end confdefs.h. */
42912 #ifdef HAVE_IEEEFP_H
42913 #include <ieeefp.h>
42924 if ac_fn_cxx_try_compile "$LINENO"; then :
42925 glibcxx_cv_func__isinfl_use=yes
42927 glibcxx_cv_func__isinfl_use=no
42929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42931 ac_cpp='$CPP $CPPFLAGS'
42932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42941 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42943 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42944 for ac_func in _isinfl
42946 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42947 if test "x$ac_cv_func__isinfl" = x""yes; then :
42948 cat >>confdefs.h <<_ACEOF
42949 #define HAVE__ISINFL 1
42962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42963 $as_echo_n "checking for atan2l declaration... " >&6; }
42964 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42965 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42966 $as_echo_n "(cached) " >&6
42971 ac_cpp='$CXXCPP $CPPFLAGS'
42972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42977 /* end confdefs.h. */
42987 if ac_fn_cxx_try_compile "$LINENO"; then :
42988 glibcxx_cv_func_atan2l_use=yes
42990 glibcxx_cv_func_atan2l_use=no
42992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42994 ac_cpp='$CPP $CPPFLAGS'
42995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43004 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43006 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43007 for ac_func in atan2l
43009 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43010 if test "x$ac_cv_func_atan2l" = x""yes; then :
43011 cat >>confdefs.h <<_ACEOF
43012 #define HAVE_ATAN2L 1
43020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43021 $as_echo_n "checking for _atan2l declaration... " >&6; }
43022 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43023 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43024 $as_echo_n "(cached) " >&6
43029 ac_cpp='$CXXCPP $CPPFLAGS'
43030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43035 /* end confdefs.h. */
43045 if ac_fn_cxx_try_compile "$LINENO"; then :
43046 glibcxx_cv_func__atan2l_use=yes
43048 glibcxx_cv_func__atan2l_use=no
43050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43052 ac_cpp='$CPP $CPPFLAGS'
43053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43062 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43064 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43065 for ac_func in _atan2l
43067 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43068 if test "x$ac_cv_func__atan2l" = x""yes; then :
43069 cat >>confdefs.h <<_ACEOF
43070 #define HAVE__ATAN2L 1
43083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43084 $as_echo_n "checking for expl declaration... " >&6; }
43085 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43086 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43087 $as_echo_n "(cached) " >&6
43092 ac_cpp='$CXXCPP $CPPFLAGS'
43093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43098 /* end confdefs.h. */
43100 #ifdef HAVE_IEEEFP_H
43101 #include <ieeefp.h>
43112 if ac_fn_cxx_try_compile "$LINENO"; then :
43113 glibcxx_cv_func_expl_use=yes
43115 glibcxx_cv_func_expl_use=no
43117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43119 ac_cpp='$CPP $CPPFLAGS'
43120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43129 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43131 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43132 for ac_func in expl
43134 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43135 if test "x$ac_cv_func_expl" = x""yes; then :
43136 cat >>confdefs.h <<_ACEOF
43137 #define HAVE_EXPL 1
43145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43146 $as_echo_n "checking for _expl declaration... " >&6; }
43147 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43148 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43149 $as_echo_n "(cached) " >&6
43154 ac_cpp='$CXXCPP $CPPFLAGS'
43155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43160 /* end confdefs.h. */
43162 #ifdef HAVE_IEEEFP_H
43163 #include <ieeefp.h>
43174 if ac_fn_cxx_try_compile "$LINENO"; then :
43175 glibcxx_cv_func__expl_use=yes
43177 glibcxx_cv_func__expl_use=no
43179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43181 ac_cpp='$CPP $CPPFLAGS'
43182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43191 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43193 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43194 for ac_func in _expl
43196 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43197 if test "x$ac_cv_func__expl" = x""yes; then :
43198 cat >>confdefs.h <<_ACEOF
43199 #define HAVE__EXPL 1
43212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43213 $as_echo_n "checking for fabsl declaration... " >&6; }
43214 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43215 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43216 $as_echo_n "(cached) " >&6
43221 ac_cpp='$CXXCPP $CPPFLAGS'
43222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43227 /* end confdefs.h. */
43229 #ifdef HAVE_IEEEFP_H
43230 #include <ieeefp.h>
43241 if ac_fn_cxx_try_compile "$LINENO"; then :
43242 glibcxx_cv_func_fabsl_use=yes
43244 glibcxx_cv_func_fabsl_use=no
43246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43258 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43260 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43261 for ac_func in fabsl
43263 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43264 if test "x$ac_cv_func_fabsl" = x""yes; then :
43265 cat >>confdefs.h <<_ACEOF
43266 #define HAVE_FABSL 1
43274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43275 $as_echo_n "checking for _fabsl declaration... " >&6; }
43276 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43277 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43278 $as_echo_n "(cached) " >&6
43283 ac_cpp='$CXXCPP $CPPFLAGS'
43284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43289 /* end confdefs.h. */
43291 #ifdef HAVE_IEEEFP_H
43292 #include <ieeefp.h>
43303 if ac_fn_cxx_try_compile "$LINENO"; then :
43304 glibcxx_cv_func__fabsl_use=yes
43306 glibcxx_cv_func__fabsl_use=no
43308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43310 ac_cpp='$CPP $CPPFLAGS'
43311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43320 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43322 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43323 for ac_func in _fabsl
43325 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43326 if test "x$ac_cv_func__fabsl" = x""yes; then :
43327 cat >>confdefs.h <<_ACEOF
43328 #define HAVE__FABSL 1
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43342 $as_echo_n "checking for fmodl declaration... " >&6; }
43343 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43344 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43345 $as_echo_n "(cached) " >&6
43350 ac_cpp='$CXXCPP $CPPFLAGS'
43351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43356 /* end confdefs.h. */
43366 if ac_fn_cxx_try_compile "$LINENO"; then :
43367 glibcxx_cv_func_fmodl_use=yes
43369 glibcxx_cv_func_fmodl_use=no
43371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43373 ac_cpp='$CPP $CPPFLAGS'
43374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43383 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43385 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43386 for ac_func in fmodl
43388 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43389 if test "x$ac_cv_func_fmodl" = x""yes; then :
43390 cat >>confdefs.h <<_ACEOF
43391 #define HAVE_FMODL 1
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43400 $as_echo_n "checking for _fmodl declaration... " >&6; }
43401 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43402 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43403 $as_echo_n "(cached) " >&6
43408 ac_cpp='$CXXCPP $CPPFLAGS'
43409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43414 /* end confdefs.h. */
43424 if ac_fn_cxx_try_compile "$LINENO"; then :
43425 glibcxx_cv_func__fmodl_use=yes
43427 glibcxx_cv_func__fmodl_use=no
43429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43431 ac_cpp='$CPP $CPPFLAGS'
43432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43441 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43443 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43444 for ac_func in _fmodl
43446 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43447 if test "x$ac_cv_func__fmodl" = x""yes; then :
43448 cat >>confdefs.h <<_ACEOF
43449 #define HAVE__FMODL 1
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43463 $as_echo_n "checking for frexpl declaration... " >&6; }
43464 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43465 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43466 $as_echo_n "(cached) " >&6
43471 ac_cpp='$CXXCPP $CPPFLAGS'
43472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43477 /* end confdefs.h. */
43487 if ac_fn_cxx_try_compile "$LINENO"; then :
43488 glibcxx_cv_func_frexpl_use=yes
43490 glibcxx_cv_func_frexpl_use=no
43492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43494 ac_cpp='$CPP $CPPFLAGS'
43495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43504 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43506 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43507 for ac_func in frexpl
43509 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43510 if test "x$ac_cv_func_frexpl" = x""yes; then :
43511 cat >>confdefs.h <<_ACEOF
43512 #define HAVE_FREXPL 1
43520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43521 $as_echo_n "checking for _frexpl declaration... " >&6; }
43522 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43523 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43524 $as_echo_n "(cached) " >&6
43529 ac_cpp='$CXXCPP $CPPFLAGS'
43530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43535 /* end confdefs.h. */
43545 if ac_fn_cxx_try_compile "$LINENO"; then :
43546 glibcxx_cv_func__frexpl_use=yes
43548 glibcxx_cv_func__frexpl_use=no
43550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43552 ac_cpp='$CPP $CPPFLAGS'
43553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43562 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43564 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43565 for ac_func in _frexpl
43567 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43568 if test "x$ac_cv_func__frexpl" = x""yes; then :
43569 cat >>confdefs.h <<_ACEOF
43570 #define HAVE__FREXPL 1
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43584 $as_echo_n "checking for hypotl declaration... " >&6; }
43585 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43586 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43587 $as_echo_n "(cached) " >&6
43592 ac_cpp='$CXXCPP $CPPFLAGS'
43593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43598 /* end confdefs.h. */
43608 if ac_fn_cxx_try_compile "$LINENO"; then :
43609 glibcxx_cv_func_hypotl_use=yes
43611 glibcxx_cv_func_hypotl_use=no
43613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43615 ac_cpp='$CPP $CPPFLAGS'
43616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43625 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43627 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43628 for ac_func in hypotl
43630 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43631 if test "x$ac_cv_func_hypotl" = x""yes; then :
43632 cat >>confdefs.h <<_ACEOF
43633 #define HAVE_HYPOTL 1
43641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43642 $as_echo_n "checking for _hypotl declaration... " >&6; }
43643 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43644 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43645 $as_echo_n "(cached) " >&6
43650 ac_cpp='$CXXCPP $CPPFLAGS'
43651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43656 /* end confdefs.h. */
43666 if ac_fn_cxx_try_compile "$LINENO"; then :
43667 glibcxx_cv_func__hypotl_use=yes
43669 glibcxx_cv_func__hypotl_use=no
43671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43673 ac_cpp='$CPP $CPPFLAGS'
43674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43683 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43685 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43686 for ac_func in _hypotl
43688 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43689 if test "x$ac_cv_func__hypotl" = x""yes; then :
43690 cat >>confdefs.h <<_ACEOF
43691 #define HAVE__HYPOTL 1
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43705 $as_echo_n "checking for ldexpl declaration... " >&6; }
43706 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43707 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43708 $as_echo_n "(cached) " >&6
43713 ac_cpp='$CXXCPP $CPPFLAGS'
43714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43719 /* end confdefs.h. */
43729 if ac_fn_cxx_try_compile "$LINENO"; then :
43730 glibcxx_cv_func_ldexpl_use=yes
43732 glibcxx_cv_func_ldexpl_use=no
43734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43736 ac_cpp='$CPP $CPPFLAGS'
43737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43746 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43748 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43749 for ac_func in ldexpl
43751 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43752 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43753 cat >>confdefs.h <<_ACEOF
43754 #define HAVE_LDEXPL 1
43762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43763 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43764 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43765 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43766 $as_echo_n "(cached) " >&6
43771 ac_cpp='$CXXCPP $CPPFLAGS'
43772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43777 /* end confdefs.h. */
43787 if ac_fn_cxx_try_compile "$LINENO"; then :
43788 glibcxx_cv_func__ldexpl_use=yes
43790 glibcxx_cv_func__ldexpl_use=no
43792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43794 ac_cpp='$CPP $CPPFLAGS'
43795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43804 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43806 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43807 for ac_func in _ldexpl
43809 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43810 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43811 cat >>confdefs.h <<_ACEOF
43812 #define HAVE__LDEXPL 1
43825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43826 $as_echo_n "checking for logl declaration... " >&6; }
43827 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43828 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43829 $as_echo_n "(cached) " >&6
43834 ac_cpp='$CXXCPP $CPPFLAGS'
43835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43840 /* end confdefs.h. */
43842 #ifdef HAVE_IEEEFP_H
43843 #include <ieeefp.h>
43854 if ac_fn_cxx_try_compile "$LINENO"; then :
43855 glibcxx_cv_func_logl_use=yes
43857 glibcxx_cv_func_logl_use=no
43859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43861 ac_cpp='$CPP $CPPFLAGS'
43862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43871 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43873 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43874 for ac_func in logl
43876 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43877 if test "x$ac_cv_func_logl" = x""yes; then :
43878 cat >>confdefs.h <<_ACEOF
43879 #define HAVE_LOGL 1
43887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43888 $as_echo_n "checking for _logl declaration... " >&6; }
43889 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43890 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43891 $as_echo_n "(cached) " >&6
43896 ac_cpp='$CXXCPP $CPPFLAGS'
43897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43902 /* end confdefs.h. */
43904 #ifdef HAVE_IEEEFP_H
43905 #include <ieeefp.h>
43916 if ac_fn_cxx_try_compile "$LINENO"; then :
43917 glibcxx_cv_func__logl_use=yes
43919 glibcxx_cv_func__logl_use=no
43921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43923 ac_cpp='$CPP $CPPFLAGS'
43924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43933 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43935 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43936 for ac_func in _logl
43938 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43939 if test "x$ac_cv_func__logl" = x""yes; then :
43940 cat >>confdefs.h <<_ACEOF
43941 #define HAVE__LOGL 1
43954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43955 $as_echo_n "checking for log10l declaration... " >&6; }
43956 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43957 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43958 $as_echo_n "(cached) " >&6
43963 ac_cpp='$CXXCPP $CPPFLAGS'
43964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43969 /* end confdefs.h. */
43971 #ifdef HAVE_IEEEFP_H
43972 #include <ieeefp.h>
43983 if ac_fn_cxx_try_compile "$LINENO"; then :
43984 glibcxx_cv_func_log10l_use=yes
43986 glibcxx_cv_func_log10l_use=no
43988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43990 ac_cpp='$CPP $CPPFLAGS'
43991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44000 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44002 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44003 for ac_func in log10l
44005 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44006 if test "x$ac_cv_func_log10l" = x""yes; then :
44007 cat >>confdefs.h <<_ACEOF
44008 #define HAVE_LOG10L 1
44016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44017 $as_echo_n "checking for _log10l declaration... " >&6; }
44018 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44019 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44020 $as_echo_n "(cached) " >&6
44025 ac_cpp='$CXXCPP $CPPFLAGS'
44026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44031 /* end confdefs.h. */
44033 #ifdef HAVE_IEEEFP_H
44034 #include <ieeefp.h>
44045 if ac_fn_cxx_try_compile "$LINENO"; then :
44046 glibcxx_cv_func__log10l_use=yes
44048 glibcxx_cv_func__log10l_use=no
44050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44052 ac_cpp='$CPP $CPPFLAGS'
44053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44062 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44064 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44065 for ac_func in _log10l
44067 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44068 if test "x$ac_cv_func__log10l" = x""yes; then :
44069 cat >>confdefs.h <<_ACEOF
44070 #define HAVE__LOG10L 1
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44084 $as_echo_n "checking for modfl declaration... " >&6; }
44085 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44086 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44087 $as_echo_n "(cached) " >&6
44092 ac_cpp='$CXXCPP $CPPFLAGS'
44093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44098 /* end confdefs.h. */
44108 if ac_fn_cxx_try_compile "$LINENO"; then :
44109 glibcxx_cv_func_modfl_use=yes
44111 glibcxx_cv_func_modfl_use=no
44113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44115 ac_cpp='$CPP $CPPFLAGS'
44116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44125 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44127 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44128 for ac_func in modfl
44130 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44131 if test "x$ac_cv_func_modfl" = x""yes; then :
44132 cat >>confdefs.h <<_ACEOF
44133 #define HAVE_MODFL 1
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44142 $as_echo_n "checking for _modfl declaration... " >&6; }
44143 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44144 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44145 $as_echo_n "(cached) " >&6
44150 ac_cpp='$CXXCPP $CPPFLAGS'
44151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44156 /* end confdefs.h. */
44166 if ac_fn_cxx_try_compile "$LINENO"; then :
44167 glibcxx_cv_func__modfl_use=yes
44169 glibcxx_cv_func__modfl_use=no
44171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44173 ac_cpp='$CPP $CPPFLAGS'
44174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44183 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44185 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44186 for ac_func in _modfl
44188 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44189 if test "x$ac_cv_func__modfl" = x""yes; then :
44190 cat >>confdefs.h <<_ACEOF
44191 #define HAVE__MODFL 1
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44205 $as_echo_n "checking for powl declaration... " >&6; }
44206 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44207 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44208 $as_echo_n "(cached) " >&6
44213 ac_cpp='$CXXCPP $CPPFLAGS'
44214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44219 /* end confdefs.h. */
44229 if ac_fn_cxx_try_compile "$LINENO"; then :
44230 glibcxx_cv_func_powl_use=yes
44232 glibcxx_cv_func_powl_use=no
44234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44236 ac_cpp='$CPP $CPPFLAGS'
44237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44246 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44248 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44249 for ac_func in powl
44251 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44252 if test "x$ac_cv_func_powl" = x""yes; then :
44253 cat >>confdefs.h <<_ACEOF
44254 #define HAVE_POWL 1
44262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44263 $as_echo_n "checking for _powl declaration... " >&6; }
44264 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44265 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44266 $as_echo_n "(cached) " >&6
44271 ac_cpp='$CXXCPP $CPPFLAGS'
44272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44277 /* end confdefs.h. */
44287 if ac_fn_cxx_try_compile "$LINENO"; then :
44288 glibcxx_cv_func__powl_use=yes
44290 glibcxx_cv_func__powl_use=no
44292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44294 ac_cpp='$CPP $CPPFLAGS'
44295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44304 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44306 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44307 for ac_func in _powl
44309 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44310 if test "x$ac_cv_func__powl" = x""yes; then :
44311 cat >>confdefs.h <<_ACEOF
44312 #define HAVE__POWL 1
44325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44326 $as_echo_n "checking for sqrtl declaration... " >&6; }
44327 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44328 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44329 $as_echo_n "(cached) " >&6
44334 ac_cpp='$CXXCPP $CPPFLAGS'
44335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44340 /* end confdefs.h. */
44342 #ifdef HAVE_IEEEFP_H
44343 #include <ieeefp.h>
44354 if ac_fn_cxx_try_compile "$LINENO"; then :
44355 glibcxx_cv_func_sqrtl_use=yes
44357 glibcxx_cv_func_sqrtl_use=no
44359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44361 ac_cpp='$CPP $CPPFLAGS'
44362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44371 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44373 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44374 for ac_func in sqrtl
44376 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44377 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44378 cat >>confdefs.h <<_ACEOF
44379 #define HAVE_SQRTL 1
44387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44388 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44389 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44390 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44391 $as_echo_n "(cached) " >&6
44396 ac_cpp='$CXXCPP $CPPFLAGS'
44397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44402 /* end confdefs.h. */
44404 #ifdef HAVE_IEEEFP_H
44405 #include <ieeefp.h>
44416 if ac_fn_cxx_try_compile "$LINENO"; then :
44417 glibcxx_cv_func__sqrtl_use=yes
44419 glibcxx_cv_func__sqrtl_use=no
44421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44423 ac_cpp='$CPP $CPPFLAGS'
44424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44433 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44435 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44436 for ac_func in _sqrtl
44438 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44439 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44440 cat >>confdefs.h <<_ACEOF
44441 #define HAVE__SQRTL 1
44454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44455 $as_echo_n "checking for sincosl declaration... " >&6; }
44456 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44457 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44458 $as_echo_n "(cached) " >&6
44463 ac_cpp='$CXXCPP $CPPFLAGS'
44464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44469 /* end confdefs.h. */
44479 if ac_fn_cxx_try_compile "$LINENO"; then :
44480 glibcxx_cv_func_sincosl_use=yes
44482 glibcxx_cv_func_sincosl_use=no
44484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44486 ac_cpp='$CPP $CPPFLAGS'
44487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44496 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44498 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44499 for ac_func in sincosl
44501 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44502 if test "x$ac_cv_func_sincosl" = x""yes; then :
44503 cat >>confdefs.h <<_ACEOF
44504 #define HAVE_SINCOSL 1
44512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44513 $as_echo_n "checking for _sincosl declaration... " >&6; }
44514 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44515 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44516 $as_echo_n "(cached) " >&6
44521 ac_cpp='$CXXCPP $CPPFLAGS'
44522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44527 /* end confdefs.h. */
44537 if ac_fn_cxx_try_compile "$LINENO"; then :
44538 glibcxx_cv_func__sincosl_use=yes
44540 glibcxx_cv_func__sincosl_use=no
44542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44544 ac_cpp='$CPP $CPPFLAGS'
44545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44554 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44556 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44557 for ac_func in _sincosl
44559 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44560 if test "x$ac_cv_func__sincosl" = x""yes; then :
44561 cat >>confdefs.h <<_ACEOF
44562 #define HAVE__SINCOSL 1
44575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44576 $as_echo_n "checking for finitel declaration... " >&6; }
44577 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44578 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44579 $as_echo_n "(cached) " >&6
44584 ac_cpp='$CXXCPP $CPPFLAGS'
44585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44590 /* end confdefs.h. */
44592 #ifdef HAVE_IEEEFP_H
44593 #include <ieeefp.h>
44604 if ac_fn_cxx_try_compile "$LINENO"; then :
44605 glibcxx_cv_func_finitel_use=yes
44607 glibcxx_cv_func_finitel_use=no
44609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44611 ac_cpp='$CPP $CPPFLAGS'
44612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44621 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44623 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44624 for ac_func in finitel
44626 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44627 if test "x$ac_cv_func_finitel" = x""yes; then :
44628 cat >>confdefs.h <<_ACEOF
44629 #define HAVE_FINITEL 1
44637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44638 $as_echo_n "checking for _finitel declaration... " >&6; }
44639 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44640 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44641 $as_echo_n "(cached) " >&6
44646 ac_cpp='$CXXCPP $CPPFLAGS'
44647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44652 /* end confdefs.h. */
44654 #ifdef HAVE_IEEEFP_H
44655 #include <ieeefp.h>
44666 if ac_fn_cxx_try_compile "$LINENO"; then :
44667 glibcxx_cv_func__finitel_use=yes
44669 glibcxx_cv_func__finitel_use=no
44671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44673 ac_cpp='$CPP $CPPFLAGS'
44674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44683 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44685 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44686 for ac_func in _finitel
44688 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44689 if test "x$ac_cv_func__finitel" = x""yes; then :
44690 cat >>confdefs.h <<_ACEOF
44691 #define HAVE__FINITEL 1
44703 LIBS="$ac_save_LIBS"
44704 CXXFLAGS="$ac_save_CXXFLAGS"
44707 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44708 ac_save_CXXFLAGS="$CXXFLAGS"
44709 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44713 $as_echo_n "checking for strtold declaration... " >&6; }
44714 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44715 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44716 $as_echo_n "(cached) " >&6
44721 ac_cpp='$CXXCPP $CPPFLAGS'
44722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44727 /* end confdefs.h. */
44728 #include <stdlib.h>
44737 if ac_fn_cxx_try_compile "$LINENO"; then :
44738 glibcxx_cv_func_strtold_use=yes
44740 glibcxx_cv_func_strtold_use=no
44742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44744 ac_cpp='$CPP $CPPFLAGS'
44745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44754 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44755 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44756 for ac_func in strtold
44758 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44759 if test "x$ac_cv_func_strtold" = x""yes; then :
44760 cat >>confdefs.h <<_ACEOF
44761 #define HAVE_STRTOLD 1
44772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44773 $as_echo_n "checking for strtof declaration... " >&6; }
44774 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44775 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44776 $as_echo_n "(cached) " >&6
44781 ac_cpp='$CXXCPP $CPPFLAGS'
44782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44787 /* end confdefs.h. */
44788 #include <stdlib.h>
44797 if ac_fn_cxx_try_compile "$LINENO"; then :
44798 glibcxx_cv_func_strtof_use=yes
44800 glibcxx_cv_func_strtof_use=no
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804 ac_cpp='$CPP $CPPFLAGS'
44805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44814 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44815 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44816 for ac_func in strtof
44818 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44819 if test "x$ac_cv_func_strtof" = x""yes; then :
44820 cat >>confdefs.h <<_ACEOF
44821 #define HAVE_STRTOF 1
44832 CXXFLAGS="$ac_save_CXXFLAGS"
44837 # GLIBCXX_CHECK_MATH_SUPPORT
44838 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44840 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44842 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44844 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44846 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44851 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44854 # If we're not using GNU ld, then there's no point in even trying these
44855 # tests. Check for that first. We should have already tested for gld
44856 # by now (in libtool), but require it now just to be safe...
44857 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44858 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44862 # The name set by libtool depends on the version of libtool. Shame on us
44863 # for depending on an impl detail, but c'est la vie. Older versions used
44864 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44865 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44866 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44867 # set (hence we're using an older libtool), then set it.
44868 if test x${with_gnu_ld+set} != xset; then
44869 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44870 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44873 with_gnu_ld=$ac_cv_prog_gnu_ld
44877 # Start by getting the version number. I think the libtool test already
44878 # does some of this, but throws away the result.
44879 glibcxx_ld_is_gold=no
44880 if test x"$with_gnu_ld" = x"yes"; then
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44882 $as_echo_n "checking for ld version... " >&6; }
44884 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44885 glibcxx_ld_is_gold=yes
44887 ldver=`$LD --version 2>/dev/null |
44888 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44890 glibcxx_gnu_ld_version=`echo $ldver | \
44891 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44893 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44896 # Set --gc-sections.
44897 glibcxx_have_gc_sections=no
44898 if test "$glibcxx_ld_is_gold" = "yes"; then
44899 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44900 glibcxx_have_gc_sections=yes
44903 glibcxx_gcsections_min_ld=21602
44904 if test x"$with_gnu_ld" = x"yes" &&
44905 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44906 glibcxx_have_gc_sections=yes
44909 if test "$glibcxx_have_gc_sections" = "yes"; then
44910 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44911 # NB: This flag only works reliably after 2.16.1. Configure tests
44912 # for this are difficult, so hard wire a value that should work.
44914 ac_test_CFLAGS="${CFLAGS+set}"
44915 ac_save_CFLAGS="$CFLAGS"
44916 CFLAGS='-Wl,--gc-sections'
44918 # Check for -Wl,--gc-sections
44919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44920 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44921 if test x$gcc_no_link = xyes; then
44922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44925 /* end confdefs.h. */
44926 int one(void) { return 1; }
44927 int two(void) { return 2; }
44937 if ac_fn_c_try_link "$LINENO"; then :
44942 rm -f core conftest.err conftest.$ac_objext \
44943 conftest$ac_exeext conftest.$ac_ext
44944 if test "$ac_gcsections" = "yes"; then
44947 if $CC -c conftest.c; then
44948 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44949 grep "Warning: gc-sections option ignored" > /dev/null; then
44953 rm -f conftest.c conftest.o conftest
44955 if test "$ac_gcsections" = "yes"; then
44956 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44959 $as_echo "$ac_gcsections" >&6; }
44961 if test "$ac_test_CFLAGS" = set; then
44962 CFLAGS="$ac_save_CFLAGS"
44964 # this is the suspicious part
44970 # Note this is only for shared objects.
44972 if test x"$with_gnu_ld" = x"yes"; then
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44974 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44975 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44976 if test -n "$cxx_z_relo"; then
44977 OPT_LDFLAGS="-Wl,-z,relro"
44980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44981 $as_echo "$ac_ld_relro" >&6; }
44984 # Set linker optimization flags.
44985 if test x"$with_gnu_ld" = x"yes"; then
44986 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44992 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44994 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44996 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44998 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45000 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45002 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45004 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45006 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45008 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45011 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45013 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45015 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45017 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45019 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45021 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45023 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45025 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45027 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45029 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45031 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45033 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45035 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45037 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45039 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45041 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45043 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45045 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45047 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45049 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45051 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45053 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45055 if test x"long_double_math_on_this_cpu" = x"yes"; then
45056 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45058 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45060 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45065 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45068 # If we're not using GNU ld, then there's no point in even trying these
45069 # tests. Check for that first. We should have already tested for gld
45070 # by now (in libtool), but require it now just to be safe...
45071 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45072 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45076 # The name set by libtool depends on the version of libtool. Shame on us
45077 # for depending on an impl detail, but c'est la vie. Older versions used
45078 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45079 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45080 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45081 # set (hence we're using an older libtool), then set it.
45082 if test x${with_gnu_ld+set} != xset; then
45083 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45084 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45087 with_gnu_ld=$ac_cv_prog_gnu_ld
45091 # Start by getting the version number. I think the libtool test already
45092 # does some of this, but throws away the result.
45093 glibcxx_ld_is_gold=no
45094 if test x"$with_gnu_ld" = x"yes"; then
45095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45096 $as_echo_n "checking for ld version... " >&6; }
45098 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45099 glibcxx_ld_is_gold=yes
45101 ldver=`$LD --version 2>/dev/null |
45102 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45104 glibcxx_gnu_ld_version=`echo $ldver | \
45105 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45107 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45110 # Set --gc-sections.
45111 glibcxx_have_gc_sections=no
45112 if test "$glibcxx_ld_is_gold" = "yes"; then
45113 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45114 glibcxx_have_gc_sections=yes
45117 glibcxx_gcsections_min_ld=21602
45118 if test x"$with_gnu_ld" = x"yes" &&
45119 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45120 glibcxx_have_gc_sections=yes
45123 if test "$glibcxx_have_gc_sections" = "yes"; then
45124 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45125 # NB: This flag only works reliably after 2.16.1. Configure tests
45126 # for this are difficult, so hard wire a value that should work.
45128 ac_test_CFLAGS="${CFLAGS+set}"
45129 ac_save_CFLAGS="$CFLAGS"
45130 CFLAGS='-Wl,--gc-sections'
45132 # Check for -Wl,--gc-sections
45133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45134 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45135 if test x$gcc_no_link = xyes; then
45136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45139 /* end confdefs.h. */
45140 int one(void) { return 1; }
45141 int two(void) { return 2; }
45151 if ac_fn_c_try_link "$LINENO"; then :
45156 rm -f core conftest.err conftest.$ac_objext \
45157 conftest$ac_exeext conftest.$ac_ext
45158 if test "$ac_gcsections" = "yes"; then
45161 if $CC -c conftest.c; then
45162 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45163 grep "Warning: gc-sections option ignored" > /dev/null; then
45167 rm -f conftest.c conftest.o conftest
45169 if test "$ac_gcsections" = "yes"; then
45170 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45173 $as_echo "$ac_gcsections" >&6; }
45175 if test "$ac_test_CFLAGS" = set; then
45176 CFLAGS="$ac_save_CFLAGS"
45178 # this is the suspicious part
45184 # Note this is only for shared objects.
45186 if test x"$with_gnu_ld" = x"yes"; then
45187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45188 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45189 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45190 if test -n "$cxx_z_relo"; then
45191 OPT_LDFLAGS="-Wl,-z,relro"
45194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45195 $as_echo "$ac_ld_relro" >&6; }
45198 # Set linker optimization flags.
45199 if test x"$with_gnu_ld" = x"yes"; then
45200 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45207 # GLIBCXX_CHECK_MATH_SUPPORT
45208 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45210 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45212 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45214 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45216 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45218 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45220 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45222 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45224 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45226 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45228 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45230 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45232 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45234 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45236 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45238 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45240 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45242 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45244 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45246 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45248 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45251 # GLIBCXX_CHECK_STDLIB_SUPPORT
45252 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45257 # Check whether --enable-tls was given.
45258 if test "${enable_tls+set}" = set; then :
45259 enableval=$enable_tls;
45260 case "$enableval" in
45262 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45271 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45272 if test "${gcc_cv_have_tls+set}" = set; then :
45273 $as_echo_n "(cached) " >&6
45276 if test "$cross_compiling" = yes; then :
45277 if test x$gcc_no_link = xyes; then
45278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45281 /* end confdefs.h. */
45282 __thread int a; int b; int main() { return a = b; }
45284 if ac_fn_c_try_link "$LINENO"; then :
45285 chktls_save_LDFLAGS="$LDFLAGS"
45288 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45291 chktls_save_CFLAGS="$CFLAGS"
45292 CFLAGS="-fPIC $CFLAGS"
45293 if test x$gcc_no_link = xyes; then
45294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45297 /* end confdefs.h. */
45298 int f() { return 0; }
45300 if ac_fn_c_try_link "$LINENO"; then :
45301 if test x$gcc_no_link = xyes; then
45302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h. */
45306 __thread int a; int b; int f() { return a = b; }
45308 if ac_fn_c_try_link "$LINENO"; then :
45309 gcc_cv_have_tls=yes
45313 rm -f core conftest.err conftest.$ac_objext \
45314 conftest$ac_exeext conftest.$ac_ext
45316 gcc_cv_have_tls=yes
45318 rm -f core conftest.err conftest.$ac_objext \
45319 conftest$ac_exeext conftest.$ac_ext
45320 CFLAGS="$chktls_save_CFLAGS"
45321 LDFLAGS="$chktls_save_LDFLAGS"
45325 rm -f core conftest.err conftest.$ac_objext \
45326 conftest$ac_exeext conftest.$ac_ext
45330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45331 /* end confdefs.h. */
45332 __thread int a; int b; int main() { return a = b; }
45334 if ac_fn_c_try_run "$LINENO"; then :
45335 chktls_save_LDFLAGS="$LDFLAGS"
45336 LDFLAGS="-static $LDFLAGS"
45337 if test x$gcc_no_link = xyes; then
45338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45341 /* end confdefs.h. */
45342 int main() { return 0; }
45344 if ac_fn_c_try_link "$LINENO"; then :
45345 if test "$cross_compiling" = yes; then :
45346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45348 as_fn_error "cannot run test program while cross compiling
45349 See \`config.log' for more details." "$LINENO" 5; }
45351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45352 /* end confdefs.h. */
45353 __thread int a; int b; int main() { return a = b; }
45355 if ac_fn_c_try_run "$LINENO"; then :
45356 gcc_cv_have_tls=yes
45360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45361 conftest.$ac_objext conftest.beam conftest.$ac_ext
45365 gcc_cv_have_tls=yes
45367 rm -f core conftest.err conftest.$ac_objext \
45368 conftest$ac_exeext conftest.$ac_ext
45369 LDFLAGS="$chktls_save_LDFLAGS"
45370 if test $gcc_cv_have_tls = yes; then
45371 chktls_save_CFLAGS="$CFLAGS"
45372 thread_CFLAGS=failed
45373 for flag in '' '-pthread' '-lpthread'; do
45374 CFLAGS="$flag $chktls_save_CFLAGS"
45375 if test x$gcc_no_link = xyes; then
45376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45379 /* end confdefs.h. */
45380 #include <pthread.h>
45381 void *g(void *d) { return NULL; }
45385 pthread_t t; pthread_create(&t,NULL,g,NULL);
45390 if ac_fn_c_try_link "$LINENO"; then :
45391 thread_CFLAGS="$flag"
45393 rm -f core conftest.err conftest.$ac_objext \
45394 conftest$ac_exeext conftest.$ac_ext
45395 if test "X$thread_CFLAGS" != Xfailed; then
45399 CFLAGS="$chktls_save_CFLAGS"
45400 if test "X$thread_CFLAGS" != Xfailed; then
45401 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45402 if test "$cross_compiling" = yes; then :
45403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45405 as_fn_error "cannot run test program while cross compiling
45406 See \`config.log' for more details." "$LINENO" 5; }
45408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45409 /* end confdefs.h. */
45410 #include <pthread.h>
45412 static int *volatile a_in_other_thread;
45414 thread_func (void *arg)
45416 a_in_other_thread = &a;
45423 void *thread_retval;
45424 int *volatile a_in_main_thread;
45425 a_in_main_thread = &a;
45426 if (pthread_create (&thread, (pthread_attr_t *)0,
45427 thread_func, (void *)0))
45429 if (pthread_join (thread, &thread_retval))
45431 return (a_in_other_thread == a_in_main_thread);
45436 if ac_fn_c_try_run "$LINENO"; then :
45437 gcc_cv_have_tls=yes
45441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45442 conftest.$ac_objext conftest.beam conftest.$ac_ext
45445 CFLAGS="$chktls_save_CFLAGS"
45451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45452 conftest.$ac_objext conftest.beam conftest.$ac_ext
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45457 $as_echo "$gcc_cv_have_tls" >&6; }
45458 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45460 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45465 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45467 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45469 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45471 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45473 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45478 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45480 # All these tests are for C++; save the language and the compiler flags.
45481 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45482 # found in GLIBCXX_CONFIGURE.
45485 ac_cpp='$CXXCPP $CPPFLAGS'
45486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45490 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45491 ac_save_CXXFLAGS="$CXXFLAGS"
45493 # Check for maintainer-mode bits.
45494 if test x"$USE_MAINTAINER_MODE" = xno; then
45500 # Check for -ffunction-sections -fdata-sections
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45502 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45503 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45505 /* end confdefs.h. */
45506 int foo; void bar() { };
45515 if ac_fn_cxx_try_compile "$LINENO"; then :
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 if test "$ac_test_CXXFLAGS" = set; then
45522 CXXFLAGS="$ac_save_CXXFLAGS"
45524 # this is the suspicious part
45527 if test x"$ac_fdsections" = x"yes"; then
45528 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45531 $as_echo "$ac_fdsections" >&6; }
45534 ac_cpp='$CPP $CPPFLAGS'
45535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45543 # If we're not using GNU ld, then there's no point in even trying these
45544 # tests. Check for that first. We should have already tested for gld
45545 # by now (in libtool), but require it now just to be safe...
45546 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45547 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45551 # The name set by libtool depends on the version of libtool. Shame on us
45552 # for depending on an impl detail, but c'est la vie. Older versions used
45553 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45554 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45555 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45556 # set (hence we're using an older libtool), then set it.
45557 if test x${with_gnu_ld+set} != xset; then
45558 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45559 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45562 with_gnu_ld=$ac_cv_prog_gnu_ld
45566 # Start by getting the version number. I think the libtool test already
45567 # does some of this, but throws away the result.
45568 glibcxx_ld_is_gold=no
45569 if test x"$with_gnu_ld" = x"yes"; then
45570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45571 $as_echo_n "checking for ld version... " >&6; }
45573 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45574 glibcxx_ld_is_gold=yes
45576 ldver=`$LD --version 2>/dev/null |
45577 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45579 glibcxx_gnu_ld_version=`echo $ldver | \
45580 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45582 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45585 # Set --gc-sections.
45586 glibcxx_have_gc_sections=no
45587 if test "$glibcxx_ld_is_gold" = "yes"; then
45588 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45589 glibcxx_have_gc_sections=yes
45592 glibcxx_gcsections_min_ld=21602
45593 if test x"$with_gnu_ld" = x"yes" &&
45594 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45595 glibcxx_have_gc_sections=yes
45598 if test "$glibcxx_have_gc_sections" = "yes"; then
45599 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45600 # NB: This flag only works reliably after 2.16.1. Configure tests
45601 # for this are difficult, so hard wire a value that should work.
45603 ac_test_CFLAGS="${CFLAGS+set}"
45604 ac_save_CFLAGS="$CFLAGS"
45605 CFLAGS='-Wl,--gc-sections'
45607 # Check for -Wl,--gc-sections
45608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45609 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45610 if test x$gcc_no_link = xyes; then
45611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45614 /* end confdefs.h. */
45615 int one(void) { return 1; }
45616 int two(void) { return 2; }
45626 if ac_fn_c_try_link "$LINENO"; then :
45631 rm -f core conftest.err conftest.$ac_objext \
45632 conftest$ac_exeext conftest.$ac_ext
45633 if test "$ac_gcsections" = "yes"; then
45636 if $CC -c conftest.c; then
45637 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45638 grep "Warning: gc-sections option ignored" > /dev/null; then
45642 rm -f conftest.c conftest.o conftest
45644 if test "$ac_gcsections" = "yes"; then
45645 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45648 $as_echo "$ac_gcsections" >&6; }
45650 if test "$ac_test_CFLAGS" = set; then
45651 CFLAGS="$ac_save_CFLAGS"
45653 # this is the suspicious part
45659 # Note this is only for shared objects.
45661 if test x"$with_gnu_ld" = x"yes"; then
45662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45663 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45664 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45665 if test -n "$cxx_z_relo"; then
45666 OPT_LDFLAGS="-Wl,-z,relro"
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45670 $as_echo "$ac_ld_relro" >&6; }
45673 # Set linker optimization flags.
45674 if test x"$with_gnu_ld" = x"yes"; then
45675 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45682 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45683 ac_save_CXXFLAGS="$CXXFLAGS"
45684 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45687 $as_echo_n "checking for sin in -lm... " >&6; }
45688 if test "${ac_cv_lib_m_sin+set}" = set; then :
45689 $as_echo_n "(cached) " >&6
45691 ac_check_lib_save_LIBS=$LIBS
45693 if test x$gcc_no_link = xyes; then
45694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45697 /* end confdefs.h. */
45699 /* Override any GCC internal prototype to avoid an error.
45700 Use char because int might match the return type of a GCC
45701 builtin and then its argument prototype would still apply. */
45714 if ac_fn_c_try_link "$LINENO"; then :
45715 ac_cv_lib_m_sin=yes
45719 rm -f core conftest.err conftest.$ac_objext \
45720 conftest$ac_exeext conftest.$ac_ext
45721 LIBS=$ac_check_lib_save_LIBS
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45724 $as_echo "$ac_cv_lib_m_sin" >&6; }
45725 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45729 ac_save_LIBS="$LIBS"
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45735 $as_echo_n "checking for isinf declaration... " >&6; }
45736 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45737 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45738 $as_echo_n "(cached) " >&6
45743 ac_cpp='$CXXCPP $CPPFLAGS'
45744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45749 /* end confdefs.h. */
45751 #ifdef HAVE_IEEEFP_H
45752 #include <ieeefp.h>
45763 if ac_fn_cxx_try_compile "$LINENO"; then :
45764 glibcxx_cv_func_isinf_use=yes
45766 glibcxx_cv_func_isinf_use=no
45768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45770 ac_cpp='$CPP $CPPFLAGS'
45771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45780 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45782 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45783 for ac_func in isinf
45785 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45786 if test "x$ac_cv_func_isinf" = x""yes; then :
45787 cat >>confdefs.h <<_ACEOF
45788 #define HAVE_ISINF 1
45796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45797 $as_echo_n "checking for _isinf declaration... " >&6; }
45798 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45799 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45800 $as_echo_n "(cached) " >&6
45805 ac_cpp='$CXXCPP $CPPFLAGS'
45806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45811 /* end confdefs.h. */
45813 #ifdef HAVE_IEEEFP_H
45814 #include <ieeefp.h>
45825 if ac_fn_cxx_try_compile "$LINENO"; then :
45826 glibcxx_cv_func__isinf_use=yes
45828 glibcxx_cv_func__isinf_use=no
45830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45832 ac_cpp='$CPP $CPPFLAGS'
45833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45842 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45844 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45845 for ac_func in _isinf
45847 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45848 if test "x$ac_cv_func__isinf" = x""yes; then :
45849 cat >>confdefs.h <<_ACEOF
45850 #define HAVE__ISINF 1
45863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45864 $as_echo_n "checking for isnan declaration... " >&6; }
45865 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45866 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45867 $as_echo_n "(cached) " >&6
45872 ac_cpp='$CXXCPP $CPPFLAGS'
45873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45878 /* end confdefs.h. */
45880 #ifdef HAVE_IEEEFP_H
45881 #include <ieeefp.h>
45892 if ac_fn_cxx_try_compile "$LINENO"; then :
45893 glibcxx_cv_func_isnan_use=yes
45895 glibcxx_cv_func_isnan_use=no
45897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45899 ac_cpp='$CPP $CPPFLAGS'
45900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45909 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45911 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45912 for ac_func in isnan
45914 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45915 if test "x$ac_cv_func_isnan" = x""yes; then :
45916 cat >>confdefs.h <<_ACEOF
45917 #define HAVE_ISNAN 1
45925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45926 $as_echo_n "checking for _isnan declaration... " >&6; }
45927 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45928 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45929 $as_echo_n "(cached) " >&6
45934 ac_cpp='$CXXCPP $CPPFLAGS'
45935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45940 /* end confdefs.h. */
45942 #ifdef HAVE_IEEEFP_H
45943 #include <ieeefp.h>
45954 if ac_fn_cxx_try_compile "$LINENO"; then :
45955 glibcxx_cv_func__isnan_use=yes
45957 glibcxx_cv_func__isnan_use=no
45959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45961 ac_cpp='$CPP $CPPFLAGS'
45962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45971 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45973 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45974 for ac_func in _isnan
45976 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45977 if test "x$ac_cv_func__isnan" = x""yes; then :
45978 cat >>confdefs.h <<_ACEOF
45979 #define HAVE__ISNAN 1
45992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45993 $as_echo_n "checking for finite declaration... " >&6; }
45994 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45995 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45996 $as_echo_n "(cached) " >&6
46001 ac_cpp='$CXXCPP $CPPFLAGS'
46002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46007 /* end confdefs.h. */
46009 #ifdef HAVE_IEEEFP_H
46010 #include <ieeefp.h>
46021 if ac_fn_cxx_try_compile "$LINENO"; then :
46022 glibcxx_cv_func_finite_use=yes
46024 glibcxx_cv_func_finite_use=no
46026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46028 ac_cpp='$CPP $CPPFLAGS'
46029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46038 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46040 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46041 for ac_func in finite
46043 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46044 if test "x$ac_cv_func_finite" = x""yes; then :
46045 cat >>confdefs.h <<_ACEOF
46046 #define HAVE_FINITE 1
46054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46055 $as_echo_n "checking for _finite declaration... " >&6; }
46056 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46057 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46058 $as_echo_n "(cached) " >&6
46063 ac_cpp='$CXXCPP $CPPFLAGS'
46064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46069 /* end confdefs.h. */
46071 #ifdef HAVE_IEEEFP_H
46072 #include <ieeefp.h>
46083 if ac_fn_cxx_try_compile "$LINENO"; then :
46084 glibcxx_cv_func__finite_use=yes
46086 glibcxx_cv_func__finite_use=no
46088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46090 ac_cpp='$CPP $CPPFLAGS'
46091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46100 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46102 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46103 for ac_func in _finite
46105 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46106 if test "x$ac_cv_func__finite" = x""yes; then :
46107 cat >>confdefs.h <<_ACEOF
46108 #define HAVE__FINITE 1
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46122 $as_echo_n "checking for sincos declaration... " >&6; }
46123 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46124 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46125 $as_echo_n "(cached) " >&6
46130 ac_cpp='$CXXCPP $CPPFLAGS'
46131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46136 /* end confdefs.h. */
46146 if ac_fn_cxx_try_compile "$LINENO"; then :
46147 glibcxx_cv_func_sincos_use=yes
46149 glibcxx_cv_func_sincos_use=no
46151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46153 ac_cpp='$CPP $CPPFLAGS'
46154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46163 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46165 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46166 for ac_func in sincos
46168 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46169 if test "x$ac_cv_func_sincos" = x""yes; then :
46170 cat >>confdefs.h <<_ACEOF
46171 #define HAVE_SINCOS 1
46179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46180 $as_echo_n "checking for _sincos declaration... " >&6; }
46181 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46182 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46183 $as_echo_n "(cached) " >&6
46188 ac_cpp='$CXXCPP $CPPFLAGS'
46189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46194 /* end confdefs.h. */
46204 if ac_fn_cxx_try_compile "$LINENO"; then :
46205 glibcxx_cv_func__sincos_use=yes
46207 glibcxx_cv_func__sincos_use=no
46209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46211 ac_cpp='$CPP $CPPFLAGS'
46212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46221 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46223 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46224 for ac_func in _sincos
46226 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46227 if test "x$ac_cv_func__sincos" = x""yes; then :
46228 cat >>confdefs.h <<_ACEOF
46229 #define HAVE__SINCOS 1
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46243 $as_echo_n "checking for fpclass declaration... " >&6; }
46244 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46245 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46246 $as_echo_n "(cached) " >&6
46251 ac_cpp='$CXXCPP $CPPFLAGS'
46252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46257 /* end confdefs.h. */
46259 #ifdef HAVE_IEEEFP_H
46260 #include <ieeefp.h>
46271 if ac_fn_cxx_try_compile "$LINENO"; then :
46272 glibcxx_cv_func_fpclass_use=yes
46274 glibcxx_cv_func_fpclass_use=no
46276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46278 ac_cpp='$CPP $CPPFLAGS'
46279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46288 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46290 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46291 for ac_func in fpclass
46293 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46294 if test "x$ac_cv_func_fpclass" = x""yes; then :
46295 cat >>confdefs.h <<_ACEOF
46296 #define HAVE_FPCLASS 1
46304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46305 $as_echo_n "checking for _fpclass declaration... " >&6; }
46306 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46307 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46308 $as_echo_n "(cached) " >&6
46313 ac_cpp='$CXXCPP $CPPFLAGS'
46314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46319 /* end confdefs.h. */
46321 #ifdef HAVE_IEEEFP_H
46322 #include <ieeefp.h>
46333 if ac_fn_cxx_try_compile "$LINENO"; then :
46334 glibcxx_cv_func__fpclass_use=yes
46336 glibcxx_cv_func__fpclass_use=no
46338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46340 ac_cpp='$CPP $CPPFLAGS'
46341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46350 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46352 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46353 for ac_func in _fpclass
46355 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46356 if test "x$ac_cv_func__fpclass" = x""yes; then :
46357 cat >>confdefs.h <<_ACEOF
46358 #define HAVE__FPCLASS 1
46371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46372 $as_echo_n "checking for qfpclass declaration... " >&6; }
46373 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46374 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46375 $as_echo_n "(cached) " >&6
46380 ac_cpp='$CXXCPP $CPPFLAGS'
46381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46386 /* end confdefs.h. */
46388 #ifdef HAVE_IEEEFP_H
46389 #include <ieeefp.h>
46400 if ac_fn_cxx_try_compile "$LINENO"; then :
46401 glibcxx_cv_func_qfpclass_use=yes
46403 glibcxx_cv_func_qfpclass_use=no
46405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46407 ac_cpp='$CPP $CPPFLAGS'
46408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46417 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46419 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46420 for ac_func in qfpclass
46422 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46423 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46424 cat >>confdefs.h <<_ACEOF
46425 #define HAVE_QFPCLASS 1
46433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46434 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46435 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46436 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46437 $as_echo_n "(cached) " >&6
46442 ac_cpp='$CXXCPP $CPPFLAGS'
46443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46448 /* end confdefs.h. */
46450 #ifdef HAVE_IEEEFP_H
46451 #include <ieeefp.h>
46462 if ac_fn_cxx_try_compile "$LINENO"; then :
46463 glibcxx_cv_func__qfpclass_use=yes
46465 glibcxx_cv_func__qfpclass_use=no
46467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46469 ac_cpp='$CPP $CPPFLAGS'
46470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46479 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46481 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46482 for ac_func in _qfpclass
46484 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46485 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46486 cat >>confdefs.h <<_ACEOF
46487 #define HAVE__QFPCLASS 1
46500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46501 $as_echo_n "checking for hypot declaration... " >&6; }
46502 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46503 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46504 $as_echo_n "(cached) " >&6
46509 ac_cpp='$CXXCPP $CPPFLAGS'
46510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46515 /* end confdefs.h. */
46525 if ac_fn_cxx_try_compile "$LINENO"; then :
46526 glibcxx_cv_func_hypot_use=yes
46528 glibcxx_cv_func_hypot_use=no
46530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46532 ac_cpp='$CPP $CPPFLAGS'
46533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46542 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46544 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46545 for ac_func in hypot
46547 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46548 if test "x$ac_cv_func_hypot" = x""yes; then :
46549 cat >>confdefs.h <<_ACEOF
46550 #define HAVE_HYPOT 1
46558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46559 $as_echo_n "checking for _hypot declaration... " >&6; }
46560 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46561 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46562 $as_echo_n "(cached) " >&6
46567 ac_cpp='$CXXCPP $CPPFLAGS'
46568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46573 /* end confdefs.h. */
46583 if ac_fn_cxx_try_compile "$LINENO"; then :
46584 glibcxx_cv_func__hypot_use=yes
46586 glibcxx_cv_func__hypot_use=no
46588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46590 ac_cpp='$CPP $CPPFLAGS'
46591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46600 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46602 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46603 for ac_func in _hypot
46605 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46606 if test "x$ac_cv_func__hypot" = x""yes; then :
46607 cat >>confdefs.h <<_ACEOF
46608 #define HAVE__HYPOT 1
46621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46622 $as_echo_n "checking for float trig functions... " >&6; }
46623 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46624 $as_echo_n "(cached) " >&6
46629 ac_cpp='$CXXCPP $CPPFLAGS'
46630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46635 /* end confdefs.h. */
46640 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46645 if ac_fn_cxx_try_compile "$LINENO"; then :
46646 glibcxx_cv_func_float_trig_use=yes
46648 glibcxx_cv_func_float_trig_use=no
46650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46652 ac_cpp='$CPP $CPPFLAGS'
46653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46660 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46661 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46662 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46666 eval as_val=\$$as_ac_var
46667 if test "x$as_val" = x""yes; then :
46668 cat >>confdefs.h <<_ACEOF
46669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46677 $as_echo_n "checking for _float trig functions... " >&6; }
46678 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46679 $as_echo_n "(cached) " >&6
46684 ac_cpp='$CXXCPP $CPPFLAGS'
46685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46690 /* end confdefs.h. */
46695 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46700 if ac_fn_cxx_try_compile "$LINENO"; then :
46701 glibcxx_cv_func__float_trig_use=yes
46703 glibcxx_cv_func__float_trig_use=no
46705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46707 ac_cpp='$CPP $CPPFLAGS'
46708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46715 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46716 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46717 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46721 eval as_val=\$$as_ac_var
46722 if test "x$as_val" = x""yes; then :
46723 cat >>confdefs.h <<_ACEOF
46724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46738 $as_echo_n "checking for float round functions... " >&6; }
46739 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46740 $as_echo_n "(cached) " >&6
46745 ac_cpp='$CXXCPP $CPPFLAGS'
46746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46751 /* end confdefs.h. */
46756 ceilf (0); floorf (0);
46761 if ac_fn_cxx_try_compile "$LINENO"; then :
46762 glibcxx_cv_func_float_round_use=yes
46764 glibcxx_cv_func_float_round_use=no
46766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46768 ac_cpp='$CPP $CPPFLAGS'
46769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46776 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46777 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46778 for ac_func in ceilf floorf
46780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46782 eval as_val=\$$as_ac_var
46783 if test "x$as_val" = x""yes; then :
46784 cat >>confdefs.h <<_ACEOF
46785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46793 $as_echo_n "checking for _float round functions... " >&6; }
46794 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46795 $as_echo_n "(cached) " >&6
46800 ac_cpp='$CXXCPP $CPPFLAGS'
46801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46806 /* end confdefs.h. */
46811 _ceilf (0); _floorf (0);
46816 if ac_fn_cxx_try_compile "$LINENO"; then :
46817 glibcxx_cv_func__float_round_use=yes
46819 glibcxx_cv_func__float_round_use=no
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46831 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46832 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46833 for ac_func in _ceilf _floorf
46835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46837 eval as_val=\$$as_ac_var
46838 if test "x$as_val" = x""yes; then :
46839 cat >>confdefs.h <<_ACEOF
46840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46855 $as_echo_n "checking for expf declaration... " >&6; }
46856 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46857 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46858 $as_echo_n "(cached) " >&6
46863 ac_cpp='$CXXCPP $CPPFLAGS'
46864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46869 /* end confdefs.h. */
46871 #ifdef HAVE_IEEEFP_H
46872 #include <ieeefp.h>
46883 if ac_fn_cxx_try_compile "$LINENO"; then :
46884 glibcxx_cv_func_expf_use=yes
46886 glibcxx_cv_func_expf_use=no
46888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46890 ac_cpp='$CPP $CPPFLAGS'
46891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46900 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46902 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46903 for ac_func in expf
46905 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46906 if test "x$ac_cv_func_expf" = x""yes; then :
46907 cat >>confdefs.h <<_ACEOF
46908 #define HAVE_EXPF 1
46916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46917 $as_echo_n "checking for _expf declaration... " >&6; }
46918 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46919 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46920 $as_echo_n "(cached) " >&6
46925 ac_cpp='$CXXCPP $CPPFLAGS'
46926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46931 /* end confdefs.h. */
46933 #ifdef HAVE_IEEEFP_H
46934 #include <ieeefp.h>
46945 if ac_fn_cxx_try_compile "$LINENO"; then :
46946 glibcxx_cv_func__expf_use=yes
46948 glibcxx_cv_func__expf_use=no
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46952 ac_cpp='$CPP $CPPFLAGS'
46953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46962 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46964 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46965 for ac_func in _expf
46967 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46968 if test "x$ac_cv_func__expf" = x""yes; then :
46969 cat >>confdefs.h <<_ACEOF
46970 #define HAVE__EXPF 1
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46984 $as_echo_n "checking for isnanf declaration... " >&6; }
46985 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46986 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46987 $as_echo_n "(cached) " >&6
46992 ac_cpp='$CXXCPP $CPPFLAGS'
46993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46998 /* end confdefs.h. */
47000 #ifdef HAVE_IEEEFP_H
47001 #include <ieeefp.h>
47012 if ac_fn_cxx_try_compile "$LINENO"; then :
47013 glibcxx_cv_func_isnanf_use=yes
47015 glibcxx_cv_func_isnanf_use=no
47017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47019 ac_cpp='$CPP $CPPFLAGS'
47020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47029 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47031 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47032 for ac_func in isnanf
47034 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47035 if test "x$ac_cv_func_isnanf" = x""yes; then :
47036 cat >>confdefs.h <<_ACEOF
47037 #define HAVE_ISNANF 1
47045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47046 $as_echo_n "checking for _isnanf declaration... " >&6; }
47047 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47048 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47049 $as_echo_n "(cached) " >&6
47054 ac_cpp='$CXXCPP $CPPFLAGS'
47055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47060 /* end confdefs.h. */
47062 #ifdef HAVE_IEEEFP_H
47063 #include <ieeefp.h>
47074 if ac_fn_cxx_try_compile "$LINENO"; then :
47075 glibcxx_cv_func__isnanf_use=yes
47077 glibcxx_cv_func__isnanf_use=no
47079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47081 ac_cpp='$CPP $CPPFLAGS'
47082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47091 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47093 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47094 for ac_func in _isnanf
47096 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47097 if test "x$ac_cv_func__isnanf" = x""yes; then :
47098 cat >>confdefs.h <<_ACEOF
47099 #define HAVE__ISNANF 1
47112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47113 $as_echo_n "checking for isinff declaration... " >&6; }
47114 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47115 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47116 $as_echo_n "(cached) " >&6
47121 ac_cpp='$CXXCPP $CPPFLAGS'
47122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47127 /* end confdefs.h. */
47129 #ifdef HAVE_IEEEFP_H
47130 #include <ieeefp.h>
47141 if ac_fn_cxx_try_compile "$LINENO"; then :
47142 glibcxx_cv_func_isinff_use=yes
47144 glibcxx_cv_func_isinff_use=no
47146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47148 ac_cpp='$CPP $CPPFLAGS'
47149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47158 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47160 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47161 for ac_func in isinff
47163 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47164 if test "x$ac_cv_func_isinff" = x""yes; then :
47165 cat >>confdefs.h <<_ACEOF
47166 #define HAVE_ISINFF 1
47174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47175 $as_echo_n "checking for _isinff declaration... " >&6; }
47176 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47177 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47178 $as_echo_n "(cached) " >&6
47183 ac_cpp='$CXXCPP $CPPFLAGS'
47184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47189 /* end confdefs.h. */
47191 #ifdef HAVE_IEEEFP_H
47192 #include <ieeefp.h>
47203 if ac_fn_cxx_try_compile "$LINENO"; then :
47204 glibcxx_cv_func__isinff_use=yes
47206 glibcxx_cv_func__isinff_use=no
47208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47210 ac_cpp='$CPP $CPPFLAGS'
47211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47220 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47222 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47223 for ac_func in _isinff
47225 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47226 if test "x$ac_cv_func__isinff" = x""yes; then :
47227 cat >>confdefs.h <<_ACEOF
47228 #define HAVE__ISINFF 1
47241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47242 $as_echo_n "checking for atan2f declaration... " >&6; }
47243 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47244 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47245 $as_echo_n "(cached) " >&6
47250 ac_cpp='$CXXCPP $CPPFLAGS'
47251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47256 /* end confdefs.h. */
47266 if ac_fn_cxx_try_compile "$LINENO"; then :
47267 glibcxx_cv_func_atan2f_use=yes
47269 glibcxx_cv_func_atan2f_use=no
47271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47273 ac_cpp='$CPP $CPPFLAGS'
47274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47283 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47285 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47286 for ac_func in atan2f
47288 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47289 if test "x$ac_cv_func_atan2f" = x""yes; then :
47290 cat >>confdefs.h <<_ACEOF
47291 #define HAVE_ATAN2F 1
47299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47300 $as_echo_n "checking for _atan2f declaration... " >&6; }
47301 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47302 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47303 $as_echo_n "(cached) " >&6
47308 ac_cpp='$CXXCPP $CPPFLAGS'
47309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47314 /* end confdefs.h. */
47324 if ac_fn_cxx_try_compile "$LINENO"; then :
47325 glibcxx_cv_func__atan2f_use=yes
47327 glibcxx_cv_func__atan2f_use=no
47329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47331 ac_cpp='$CPP $CPPFLAGS'
47332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47341 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47343 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47344 for ac_func in _atan2f
47346 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47347 if test "x$ac_cv_func__atan2f" = x""yes; then :
47348 cat >>confdefs.h <<_ACEOF
47349 #define HAVE__ATAN2F 1
47362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47363 $as_echo_n "checking for fabsf declaration... " >&6; }
47364 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47365 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47366 $as_echo_n "(cached) " >&6
47371 ac_cpp='$CXXCPP $CPPFLAGS'
47372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47377 /* end confdefs.h. */
47379 #ifdef HAVE_IEEEFP_H
47380 #include <ieeefp.h>
47391 if ac_fn_cxx_try_compile "$LINENO"; then :
47392 glibcxx_cv_func_fabsf_use=yes
47394 glibcxx_cv_func_fabsf_use=no
47396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47398 ac_cpp='$CPP $CPPFLAGS'
47399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47408 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47410 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47411 for ac_func in fabsf
47413 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47414 if test "x$ac_cv_func_fabsf" = x""yes; then :
47415 cat >>confdefs.h <<_ACEOF
47416 #define HAVE_FABSF 1
47424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47425 $as_echo_n "checking for _fabsf declaration... " >&6; }
47426 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47427 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47428 $as_echo_n "(cached) " >&6
47433 ac_cpp='$CXXCPP $CPPFLAGS'
47434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47439 /* end confdefs.h. */
47441 #ifdef HAVE_IEEEFP_H
47442 #include <ieeefp.h>
47453 if ac_fn_cxx_try_compile "$LINENO"; then :
47454 glibcxx_cv_func__fabsf_use=yes
47456 glibcxx_cv_func__fabsf_use=no
47458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47460 ac_cpp='$CPP $CPPFLAGS'
47461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47470 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47472 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47473 for ac_func in _fabsf
47475 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47476 if test "x$ac_cv_func__fabsf" = x""yes; then :
47477 cat >>confdefs.h <<_ACEOF
47478 #define HAVE__FABSF 1
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47492 $as_echo_n "checking for fmodf declaration... " >&6; }
47493 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47494 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47495 $as_echo_n "(cached) " >&6
47500 ac_cpp='$CXXCPP $CPPFLAGS'
47501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47506 /* end confdefs.h. */
47516 if ac_fn_cxx_try_compile "$LINENO"; then :
47517 glibcxx_cv_func_fmodf_use=yes
47519 glibcxx_cv_func_fmodf_use=no
47521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47523 ac_cpp='$CPP $CPPFLAGS'
47524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47533 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47535 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47536 for ac_func in fmodf
47538 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47539 if test "x$ac_cv_func_fmodf" = x""yes; then :
47540 cat >>confdefs.h <<_ACEOF
47541 #define HAVE_FMODF 1
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47550 $as_echo_n "checking for _fmodf declaration... " >&6; }
47551 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47552 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47553 $as_echo_n "(cached) " >&6
47558 ac_cpp='$CXXCPP $CPPFLAGS'
47559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47564 /* end confdefs.h. */
47574 if ac_fn_cxx_try_compile "$LINENO"; then :
47575 glibcxx_cv_func__fmodf_use=yes
47577 glibcxx_cv_func__fmodf_use=no
47579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47581 ac_cpp='$CPP $CPPFLAGS'
47582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47591 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47593 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47594 for ac_func in _fmodf
47596 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47597 if test "x$ac_cv_func__fmodf" = x""yes; then :
47598 cat >>confdefs.h <<_ACEOF
47599 #define HAVE__FMODF 1
47612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47613 $as_echo_n "checking for frexpf declaration... " >&6; }
47614 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47615 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47616 $as_echo_n "(cached) " >&6
47621 ac_cpp='$CXXCPP $CPPFLAGS'
47622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47627 /* end confdefs.h. */
47637 if ac_fn_cxx_try_compile "$LINENO"; then :
47638 glibcxx_cv_func_frexpf_use=yes
47640 glibcxx_cv_func_frexpf_use=no
47642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47644 ac_cpp='$CPP $CPPFLAGS'
47645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47654 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47656 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47657 for ac_func in frexpf
47659 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47660 if test "x$ac_cv_func_frexpf" = x""yes; then :
47661 cat >>confdefs.h <<_ACEOF
47662 #define HAVE_FREXPF 1
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47671 $as_echo_n "checking for _frexpf declaration... " >&6; }
47672 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47673 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47674 $as_echo_n "(cached) " >&6
47679 ac_cpp='$CXXCPP $CPPFLAGS'
47680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47685 /* end confdefs.h. */
47695 if ac_fn_cxx_try_compile "$LINENO"; then :
47696 glibcxx_cv_func__frexpf_use=yes
47698 glibcxx_cv_func__frexpf_use=no
47700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47702 ac_cpp='$CPP $CPPFLAGS'
47703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47712 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47714 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47715 for ac_func in _frexpf
47717 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47718 if test "x$ac_cv_func__frexpf" = x""yes; then :
47719 cat >>confdefs.h <<_ACEOF
47720 #define HAVE__FREXPF 1
47733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47734 $as_echo_n "checking for hypotf declaration... " >&6; }
47735 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47736 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47737 $as_echo_n "(cached) " >&6
47742 ac_cpp='$CXXCPP $CPPFLAGS'
47743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47748 /* end confdefs.h. */
47758 if ac_fn_cxx_try_compile "$LINENO"; then :
47759 glibcxx_cv_func_hypotf_use=yes
47761 glibcxx_cv_func_hypotf_use=no
47763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47765 ac_cpp='$CPP $CPPFLAGS'
47766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47775 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47777 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47778 for ac_func in hypotf
47780 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47781 if test "x$ac_cv_func_hypotf" = x""yes; then :
47782 cat >>confdefs.h <<_ACEOF
47783 #define HAVE_HYPOTF 1
47791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47792 $as_echo_n "checking for _hypotf declaration... " >&6; }
47793 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47794 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47795 $as_echo_n "(cached) " >&6
47800 ac_cpp='$CXXCPP $CPPFLAGS'
47801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47806 /* end confdefs.h. */
47816 if ac_fn_cxx_try_compile "$LINENO"; then :
47817 glibcxx_cv_func__hypotf_use=yes
47819 glibcxx_cv_func__hypotf_use=no
47821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47823 ac_cpp='$CPP $CPPFLAGS'
47824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47833 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47835 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47836 for ac_func in _hypotf
47838 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47839 if test "x$ac_cv_func__hypotf" = x""yes; then :
47840 cat >>confdefs.h <<_ACEOF
47841 #define HAVE__HYPOTF 1
47854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47855 $as_echo_n "checking for ldexpf declaration... " >&6; }
47856 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47857 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47858 $as_echo_n "(cached) " >&6
47863 ac_cpp='$CXXCPP $CPPFLAGS'
47864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47869 /* end confdefs.h. */
47879 if ac_fn_cxx_try_compile "$LINENO"; then :
47880 glibcxx_cv_func_ldexpf_use=yes
47882 glibcxx_cv_func_ldexpf_use=no
47884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47886 ac_cpp='$CPP $CPPFLAGS'
47887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47896 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47898 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47899 for ac_func in ldexpf
47901 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47902 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47903 cat >>confdefs.h <<_ACEOF
47904 #define HAVE_LDEXPF 1
47912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47913 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47914 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47915 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47916 $as_echo_n "(cached) " >&6
47921 ac_cpp='$CXXCPP $CPPFLAGS'
47922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47927 /* end confdefs.h. */
47937 if ac_fn_cxx_try_compile "$LINENO"; then :
47938 glibcxx_cv_func__ldexpf_use=yes
47940 glibcxx_cv_func__ldexpf_use=no
47942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47944 ac_cpp='$CPP $CPPFLAGS'
47945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47954 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47956 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47957 for ac_func in _ldexpf
47959 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47960 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47961 cat >>confdefs.h <<_ACEOF
47962 #define HAVE__LDEXPF 1
47975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47976 $as_echo_n "checking for logf declaration... " >&6; }
47977 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47978 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47979 $as_echo_n "(cached) " >&6
47984 ac_cpp='$CXXCPP $CPPFLAGS'
47985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47990 /* end confdefs.h. */
47992 #ifdef HAVE_IEEEFP_H
47993 #include <ieeefp.h>
48004 if ac_fn_cxx_try_compile "$LINENO"; then :
48005 glibcxx_cv_func_logf_use=yes
48007 glibcxx_cv_func_logf_use=no
48009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48011 ac_cpp='$CPP $CPPFLAGS'
48012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48021 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48023 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48024 for ac_func in logf
48026 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48027 if test "x$ac_cv_func_logf" = x""yes; then :
48028 cat >>confdefs.h <<_ACEOF
48029 #define HAVE_LOGF 1
48037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48038 $as_echo_n "checking for _logf declaration... " >&6; }
48039 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48040 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48041 $as_echo_n "(cached) " >&6
48046 ac_cpp='$CXXCPP $CPPFLAGS'
48047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48052 /* end confdefs.h. */
48054 #ifdef HAVE_IEEEFP_H
48055 #include <ieeefp.h>
48066 if ac_fn_cxx_try_compile "$LINENO"; then :
48067 glibcxx_cv_func__logf_use=yes
48069 glibcxx_cv_func__logf_use=no
48071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48073 ac_cpp='$CPP $CPPFLAGS'
48074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48083 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48085 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48086 for ac_func in _logf
48088 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48089 if test "x$ac_cv_func__logf" = x""yes; then :
48090 cat >>confdefs.h <<_ACEOF
48091 #define HAVE__LOGF 1
48104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48105 $as_echo_n "checking for log10f declaration... " >&6; }
48106 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48107 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48108 $as_echo_n "(cached) " >&6
48113 ac_cpp='$CXXCPP $CPPFLAGS'
48114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48119 /* end confdefs.h. */
48121 #ifdef HAVE_IEEEFP_H
48122 #include <ieeefp.h>
48133 if ac_fn_cxx_try_compile "$LINENO"; then :
48134 glibcxx_cv_func_log10f_use=yes
48136 glibcxx_cv_func_log10f_use=no
48138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48140 ac_cpp='$CPP $CPPFLAGS'
48141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48150 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48152 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48153 for ac_func in log10f
48155 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48156 if test "x$ac_cv_func_log10f" = x""yes; then :
48157 cat >>confdefs.h <<_ACEOF
48158 #define HAVE_LOG10F 1
48166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48167 $as_echo_n "checking for _log10f declaration... " >&6; }
48168 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48169 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48170 $as_echo_n "(cached) " >&6
48175 ac_cpp='$CXXCPP $CPPFLAGS'
48176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48181 /* end confdefs.h. */
48183 #ifdef HAVE_IEEEFP_H
48184 #include <ieeefp.h>
48195 if ac_fn_cxx_try_compile "$LINENO"; then :
48196 glibcxx_cv_func__log10f_use=yes
48198 glibcxx_cv_func__log10f_use=no
48200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48202 ac_cpp='$CPP $CPPFLAGS'
48203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48212 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48214 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48215 for ac_func in _log10f
48217 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48218 if test "x$ac_cv_func__log10f" = x""yes; then :
48219 cat >>confdefs.h <<_ACEOF
48220 #define HAVE__LOG10F 1
48233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48234 $as_echo_n "checking for modff declaration... " >&6; }
48235 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48236 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48237 $as_echo_n "(cached) " >&6
48242 ac_cpp='$CXXCPP $CPPFLAGS'
48243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48248 /* end confdefs.h. */
48258 if ac_fn_cxx_try_compile "$LINENO"; then :
48259 glibcxx_cv_func_modff_use=yes
48261 glibcxx_cv_func_modff_use=no
48263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48265 ac_cpp='$CPP $CPPFLAGS'
48266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48275 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48277 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48278 for ac_func in modff
48280 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48281 if test "x$ac_cv_func_modff" = x""yes; then :
48282 cat >>confdefs.h <<_ACEOF
48283 #define HAVE_MODFF 1
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48292 $as_echo_n "checking for _modff declaration... " >&6; }
48293 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48294 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48295 $as_echo_n "(cached) " >&6
48300 ac_cpp='$CXXCPP $CPPFLAGS'
48301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48306 /* end confdefs.h. */
48316 if ac_fn_cxx_try_compile "$LINENO"; then :
48317 glibcxx_cv_func__modff_use=yes
48319 glibcxx_cv_func__modff_use=no
48321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48323 ac_cpp='$CPP $CPPFLAGS'
48324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48333 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48335 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48336 for ac_func in _modff
48338 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48339 if test "x$ac_cv_func__modff" = x""yes; then :
48340 cat >>confdefs.h <<_ACEOF
48341 #define HAVE__MODFF 1
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48355 $as_echo_n "checking for modf declaration... " >&6; }
48356 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48357 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48358 $as_echo_n "(cached) " >&6
48363 ac_cpp='$CXXCPP $CPPFLAGS'
48364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48369 /* end confdefs.h. */
48379 if ac_fn_cxx_try_compile "$LINENO"; then :
48380 glibcxx_cv_func_modf_use=yes
48382 glibcxx_cv_func_modf_use=no
48384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48386 ac_cpp='$CPP $CPPFLAGS'
48387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48396 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48398 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48399 for ac_func in modf
48401 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48402 if test "x$ac_cv_func_modf" = x""yes; then :
48403 cat >>confdefs.h <<_ACEOF
48404 #define HAVE_MODF 1
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48413 $as_echo_n "checking for _modf declaration... " >&6; }
48414 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48415 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48416 $as_echo_n "(cached) " >&6
48421 ac_cpp='$CXXCPP $CPPFLAGS'
48422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48427 /* end confdefs.h. */
48437 if ac_fn_cxx_try_compile "$LINENO"; then :
48438 glibcxx_cv_func__modf_use=yes
48440 glibcxx_cv_func__modf_use=no
48442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48444 ac_cpp='$CPP $CPPFLAGS'
48445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48454 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48456 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48457 for ac_func in _modf
48459 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48460 if test "x$ac_cv_func__modf" = x""yes; then :
48461 cat >>confdefs.h <<_ACEOF
48462 #define HAVE__MODF 1
48475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48476 $as_echo_n "checking for powf declaration... " >&6; }
48477 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48478 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48479 $as_echo_n "(cached) " >&6
48484 ac_cpp='$CXXCPP $CPPFLAGS'
48485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48490 /* end confdefs.h. */
48500 if ac_fn_cxx_try_compile "$LINENO"; then :
48501 glibcxx_cv_func_powf_use=yes
48503 glibcxx_cv_func_powf_use=no
48505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48517 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48519 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48520 for ac_func in powf
48522 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48523 if test "x$ac_cv_func_powf" = x""yes; then :
48524 cat >>confdefs.h <<_ACEOF
48525 #define HAVE_POWF 1
48533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48534 $as_echo_n "checking for _powf declaration... " >&6; }
48535 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48536 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48537 $as_echo_n "(cached) " >&6
48542 ac_cpp='$CXXCPP $CPPFLAGS'
48543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48548 /* end confdefs.h. */
48558 if ac_fn_cxx_try_compile "$LINENO"; then :
48559 glibcxx_cv_func__powf_use=yes
48561 glibcxx_cv_func__powf_use=no
48563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48565 ac_cpp='$CPP $CPPFLAGS'
48566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48575 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48577 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48578 for ac_func in _powf
48580 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48581 if test "x$ac_cv_func__powf" = x""yes; then :
48582 cat >>confdefs.h <<_ACEOF
48583 #define HAVE__POWF 1
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48597 $as_echo_n "checking for sqrtf declaration... " >&6; }
48598 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48599 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48600 $as_echo_n "(cached) " >&6
48605 ac_cpp='$CXXCPP $CPPFLAGS'
48606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48611 /* end confdefs.h. */
48613 #ifdef HAVE_IEEEFP_H
48614 #include <ieeefp.h>
48625 if ac_fn_cxx_try_compile "$LINENO"; then :
48626 glibcxx_cv_func_sqrtf_use=yes
48628 glibcxx_cv_func_sqrtf_use=no
48630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48632 ac_cpp='$CPP $CPPFLAGS'
48633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48642 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48644 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48645 for ac_func in sqrtf
48647 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48648 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48649 cat >>confdefs.h <<_ACEOF
48650 #define HAVE_SQRTF 1
48658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48659 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48660 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48661 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48662 $as_echo_n "(cached) " >&6
48667 ac_cpp='$CXXCPP $CPPFLAGS'
48668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48673 /* end confdefs.h. */
48675 #ifdef HAVE_IEEEFP_H
48676 #include <ieeefp.h>
48687 if ac_fn_cxx_try_compile "$LINENO"; then :
48688 glibcxx_cv_func__sqrtf_use=yes
48690 glibcxx_cv_func__sqrtf_use=no
48692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48694 ac_cpp='$CPP $CPPFLAGS'
48695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48704 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48706 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48707 for ac_func in _sqrtf
48709 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48710 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48711 cat >>confdefs.h <<_ACEOF
48712 #define HAVE__SQRTF 1
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48726 $as_echo_n "checking for sincosf declaration... " >&6; }
48727 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48728 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48729 $as_echo_n "(cached) " >&6
48734 ac_cpp='$CXXCPP $CPPFLAGS'
48735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48740 /* end confdefs.h. */
48750 if ac_fn_cxx_try_compile "$LINENO"; then :
48751 glibcxx_cv_func_sincosf_use=yes
48753 glibcxx_cv_func_sincosf_use=no
48755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48757 ac_cpp='$CPP $CPPFLAGS'
48758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48767 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48769 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48770 for ac_func in sincosf
48772 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48773 if test "x$ac_cv_func_sincosf" = x""yes; then :
48774 cat >>confdefs.h <<_ACEOF
48775 #define HAVE_SINCOSF 1
48783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48784 $as_echo_n "checking for _sincosf declaration... " >&6; }
48785 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48786 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48787 $as_echo_n "(cached) " >&6
48792 ac_cpp='$CXXCPP $CPPFLAGS'
48793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48798 /* end confdefs.h. */
48808 if ac_fn_cxx_try_compile "$LINENO"; then :
48809 glibcxx_cv_func__sincosf_use=yes
48811 glibcxx_cv_func__sincosf_use=no
48813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48815 ac_cpp='$CPP $CPPFLAGS'
48816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48825 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48827 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48828 for ac_func in _sincosf
48830 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48831 if test "x$ac_cv_func__sincosf" = x""yes; then :
48832 cat >>confdefs.h <<_ACEOF
48833 #define HAVE__SINCOSF 1
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48847 $as_echo_n "checking for finitef declaration... " >&6; }
48848 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48849 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48850 $as_echo_n "(cached) " >&6
48855 ac_cpp='$CXXCPP $CPPFLAGS'
48856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48861 /* end confdefs.h. */
48863 #ifdef HAVE_IEEEFP_H
48864 #include <ieeefp.h>
48875 if ac_fn_cxx_try_compile "$LINENO"; then :
48876 glibcxx_cv_func_finitef_use=yes
48878 glibcxx_cv_func_finitef_use=no
48880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48882 ac_cpp='$CPP $CPPFLAGS'
48883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48892 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48894 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48895 for ac_func in finitef
48897 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48898 if test "x$ac_cv_func_finitef" = x""yes; then :
48899 cat >>confdefs.h <<_ACEOF
48900 #define HAVE_FINITEF 1
48908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48909 $as_echo_n "checking for _finitef declaration... " >&6; }
48910 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48911 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48912 $as_echo_n "(cached) " >&6
48917 ac_cpp='$CXXCPP $CPPFLAGS'
48918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48923 /* end confdefs.h. */
48925 #ifdef HAVE_IEEEFP_H
48926 #include <ieeefp.h>
48937 if ac_fn_cxx_try_compile "$LINENO"; then :
48938 glibcxx_cv_func__finitef_use=yes
48940 glibcxx_cv_func__finitef_use=no
48942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48944 ac_cpp='$CPP $CPPFLAGS'
48945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48954 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48956 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48957 for ac_func in _finitef
48959 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48960 if test "x$ac_cv_func__finitef" = x""yes; then :
48961 cat >>confdefs.h <<_ACEOF
48962 #define HAVE__FINITEF 1
48975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48976 $as_echo_n "checking for long double trig functions... " >&6; }
48977 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48978 $as_echo_n "(cached) " >&6
48983 ac_cpp='$CXXCPP $CPPFLAGS'
48984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48989 /* end confdefs.h. */
48994 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48999 if ac_fn_cxx_try_compile "$LINENO"; then :
49000 glibcxx_cv_func_long_double_trig_use=yes
49002 glibcxx_cv_func_long_double_trig_use=no
49004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49006 ac_cpp='$CPP $CPPFLAGS'
49007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49014 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49015 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49016 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49020 eval as_val=\$$as_ac_var
49021 if test "x$as_val" = x""yes; then :
49022 cat >>confdefs.h <<_ACEOF
49023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49031 $as_echo_n "checking for _long double trig functions... " >&6; }
49032 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49033 $as_echo_n "(cached) " >&6
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49044 /* end confdefs.h. */
49049 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49054 if ac_fn_cxx_try_compile "$LINENO"; then :
49055 glibcxx_cv_func__long_double_trig_use=yes
49057 glibcxx_cv_func__long_double_trig_use=no
49059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49061 ac_cpp='$CPP $CPPFLAGS'
49062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49069 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49070 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49071 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49075 eval as_val=\$$as_ac_var
49076 if test "x$as_val" = x""yes; then :
49077 cat >>confdefs.h <<_ACEOF
49078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49092 $as_echo_n "checking for long double round functions... " >&6; }
49093 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49094 $as_echo_n "(cached) " >&6
49099 ac_cpp='$CXXCPP $CPPFLAGS'
49100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49105 /* end confdefs.h. */
49110 ceill (0); floorl (0);
49115 if ac_fn_cxx_try_compile "$LINENO"; then :
49116 glibcxx_cv_func_long_double_round_use=yes
49118 glibcxx_cv_func_long_double_round_use=no
49120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49122 ac_cpp='$CPP $CPPFLAGS'
49123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49130 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49131 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49132 for ac_func in ceill floorl
49134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49136 eval as_val=\$$as_ac_var
49137 if test "x$as_val" = x""yes; then :
49138 cat >>confdefs.h <<_ACEOF
49139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49147 $as_echo_n "checking for _long double round functions... " >&6; }
49148 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49149 $as_echo_n "(cached) " >&6
49154 ac_cpp='$CXXCPP $CPPFLAGS'
49155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49160 /* end confdefs.h. */
49165 _ceill (0); _floorl (0);
49170 if ac_fn_cxx_try_compile "$LINENO"; then :
49171 glibcxx_cv_func__long_double_round_use=yes
49173 glibcxx_cv_func__long_double_round_use=no
49175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49177 ac_cpp='$CPP $CPPFLAGS'
49178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49185 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49186 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49187 for ac_func in _ceill _floorl
49189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49191 eval as_val=\$$as_ac_var
49192 if test "x$as_val" = x""yes; then :
49193 cat >>confdefs.h <<_ACEOF
49194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49209 $as_echo_n "checking for isnanl declaration... " >&6; }
49210 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49211 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49225 #ifdef HAVE_IEEEFP_H
49226 #include <ieeefp.h>
49237 if ac_fn_cxx_try_compile "$LINENO"; then :
49238 glibcxx_cv_func_isnanl_use=yes
49240 glibcxx_cv_func_isnanl_use=no
49242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49244 ac_cpp='$CPP $CPPFLAGS'
49245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49254 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49256 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49257 for ac_func in isnanl
49259 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49260 if test "x$ac_cv_func_isnanl" = x""yes; then :
49261 cat >>confdefs.h <<_ACEOF
49262 #define HAVE_ISNANL 1
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49271 $as_echo_n "checking for _isnanl declaration... " >&6; }
49272 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49273 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49274 $as_echo_n "(cached) " >&6
49279 ac_cpp='$CXXCPP $CPPFLAGS'
49280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49285 /* end confdefs.h. */
49287 #ifdef HAVE_IEEEFP_H
49288 #include <ieeefp.h>
49299 if ac_fn_cxx_try_compile "$LINENO"; then :
49300 glibcxx_cv_func__isnanl_use=yes
49302 glibcxx_cv_func__isnanl_use=no
49304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49316 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49318 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49319 for ac_func in _isnanl
49321 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49322 if test "x$ac_cv_func__isnanl" = x""yes; then :
49323 cat >>confdefs.h <<_ACEOF
49324 #define HAVE__ISNANL 1
49337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49338 $as_echo_n "checking for isinfl declaration... " >&6; }
49339 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49340 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49341 $as_echo_n "(cached) " >&6
49346 ac_cpp='$CXXCPP $CPPFLAGS'
49347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49352 /* end confdefs.h. */
49354 #ifdef HAVE_IEEEFP_H
49355 #include <ieeefp.h>
49366 if ac_fn_cxx_try_compile "$LINENO"; then :
49367 glibcxx_cv_func_isinfl_use=yes
49369 glibcxx_cv_func_isinfl_use=no
49371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49373 ac_cpp='$CPP $CPPFLAGS'
49374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49383 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49385 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49386 for ac_func in isinfl
49388 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49389 if test "x$ac_cv_func_isinfl" = x""yes; then :
49390 cat >>confdefs.h <<_ACEOF
49391 #define HAVE_ISINFL 1
49399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49400 $as_echo_n "checking for _isinfl declaration... " >&6; }
49401 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49402 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49403 $as_echo_n "(cached) " >&6
49408 ac_cpp='$CXXCPP $CPPFLAGS'
49409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49414 /* end confdefs.h. */
49416 #ifdef HAVE_IEEEFP_H
49417 #include <ieeefp.h>
49428 if ac_fn_cxx_try_compile "$LINENO"; then :
49429 glibcxx_cv_func__isinfl_use=yes
49431 glibcxx_cv_func__isinfl_use=no
49433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49435 ac_cpp='$CPP $CPPFLAGS'
49436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49445 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49447 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49448 for ac_func in _isinfl
49450 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49451 if test "x$ac_cv_func__isinfl" = x""yes; then :
49452 cat >>confdefs.h <<_ACEOF
49453 #define HAVE__ISINFL 1
49466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49467 $as_echo_n "checking for atan2l declaration... " >&6; }
49468 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49469 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49470 $as_echo_n "(cached) " >&6
49475 ac_cpp='$CXXCPP $CPPFLAGS'
49476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49481 /* end confdefs.h. */
49491 if ac_fn_cxx_try_compile "$LINENO"; then :
49492 glibcxx_cv_func_atan2l_use=yes
49494 glibcxx_cv_func_atan2l_use=no
49496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49498 ac_cpp='$CPP $CPPFLAGS'
49499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49508 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49510 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49511 for ac_func in atan2l
49513 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49514 if test "x$ac_cv_func_atan2l" = x""yes; then :
49515 cat >>confdefs.h <<_ACEOF
49516 #define HAVE_ATAN2L 1
49524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49525 $as_echo_n "checking for _atan2l declaration... " >&6; }
49526 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49527 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49528 $as_echo_n "(cached) " >&6
49533 ac_cpp='$CXXCPP $CPPFLAGS'
49534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49539 /* end confdefs.h. */
49549 if ac_fn_cxx_try_compile "$LINENO"; then :
49550 glibcxx_cv_func__atan2l_use=yes
49552 glibcxx_cv_func__atan2l_use=no
49554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49556 ac_cpp='$CPP $CPPFLAGS'
49557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49566 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49568 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49569 for ac_func in _atan2l
49571 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49572 if test "x$ac_cv_func__atan2l" = x""yes; then :
49573 cat >>confdefs.h <<_ACEOF
49574 #define HAVE__ATAN2L 1
49587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49588 $as_echo_n "checking for expl declaration... " >&6; }
49589 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49590 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49591 $as_echo_n "(cached) " >&6
49596 ac_cpp='$CXXCPP $CPPFLAGS'
49597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49602 /* end confdefs.h. */
49604 #ifdef HAVE_IEEEFP_H
49605 #include <ieeefp.h>
49616 if ac_fn_cxx_try_compile "$LINENO"; then :
49617 glibcxx_cv_func_expl_use=yes
49619 glibcxx_cv_func_expl_use=no
49621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49623 ac_cpp='$CPP $CPPFLAGS'
49624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49633 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49635 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49636 for ac_func in expl
49638 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49639 if test "x$ac_cv_func_expl" = x""yes; then :
49640 cat >>confdefs.h <<_ACEOF
49641 #define HAVE_EXPL 1
49649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49650 $as_echo_n "checking for _expl declaration... " >&6; }
49651 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49652 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49653 $as_echo_n "(cached) " >&6
49658 ac_cpp='$CXXCPP $CPPFLAGS'
49659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49664 /* end confdefs.h. */
49666 #ifdef HAVE_IEEEFP_H
49667 #include <ieeefp.h>
49678 if ac_fn_cxx_try_compile "$LINENO"; then :
49679 glibcxx_cv_func__expl_use=yes
49681 glibcxx_cv_func__expl_use=no
49683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49685 ac_cpp='$CPP $CPPFLAGS'
49686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49695 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49697 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49698 for ac_func in _expl
49700 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49701 if test "x$ac_cv_func__expl" = x""yes; then :
49702 cat >>confdefs.h <<_ACEOF
49703 #define HAVE__EXPL 1
49716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49717 $as_echo_n "checking for fabsl declaration... " >&6; }
49718 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49719 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49720 $as_echo_n "(cached) " >&6
49725 ac_cpp='$CXXCPP $CPPFLAGS'
49726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49731 /* end confdefs.h. */
49733 #ifdef HAVE_IEEEFP_H
49734 #include <ieeefp.h>
49745 if ac_fn_cxx_try_compile "$LINENO"; then :
49746 glibcxx_cv_func_fabsl_use=yes
49748 glibcxx_cv_func_fabsl_use=no
49750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49752 ac_cpp='$CPP $CPPFLAGS'
49753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49762 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49764 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49765 for ac_func in fabsl
49767 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49768 if test "x$ac_cv_func_fabsl" = x""yes; then :
49769 cat >>confdefs.h <<_ACEOF
49770 #define HAVE_FABSL 1
49778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49779 $as_echo_n "checking for _fabsl declaration... " >&6; }
49780 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49781 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49782 $as_echo_n "(cached) " >&6
49787 ac_cpp='$CXXCPP $CPPFLAGS'
49788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49793 /* end confdefs.h. */
49795 #ifdef HAVE_IEEEFP_H
49796 #include <ieeefp.h>
49807 if ac_fn_cxx_try_compile "$LINENO"; then :
49808 glibcxx_cv_func__fabsl_use=yes
49810 glibcxx_cv_func__fabsl_use=no
49812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49814 ac_cpp='$CPP $CPPFLAGS'
49815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49824 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49826 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49827 for ac_func in _fabsl
49829 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49830 if test "x$ac_cv_func__fabsl" = x""yes; then :
49831 cat >>confdefs.h <<_ACEOF
49832 #define HAVE__FABSL 1
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49846 $as_echo_n "checking for fmodl declaration... " >&6; }
49847 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49848 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49849 $as_echo_n "(cached) " >&6
49854 ac_cpp='$CXXCPP $CPPFLAGS'
49855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49860 /* end confdefs.h. */
49870 if ac_fn_cxx_try_compile "$LINENO"; then :
49871 glibcxx_cv_func_fmodl_use=yes
49873 glibcxx_cv_func_fmodl_use=no
49875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49877 ac_cpp='$CPP $CPPFLAGS'
49878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49887 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49889 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49890 for ac_func in fmodl
49892 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49893 if test "x$ac_cv_func_fmodl" = x""yes; then :
49894 cat >>confdefs.h <<_ACEOF
49895 #define HAVE_FMODL 1
49903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49904 $as_echo_n "checking for _fmodl declaration... " >&6; }
49905 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49906 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49907 $as_echo_n "(cached) " >&6
49912 ac_cpp='$CXXCPP $CPPFLAGS'
49913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49918 /* end confdefs.h. */
49928 if ac_fn_cxx_try_compile "$LINENO"; then :
49929 glibcxx_cv_func__fmodl_use=yes
49931 glibcxx_cv_func__fmodl_use=no
49933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49935 ac_cpp='$CPP $CPPFLAGS'
49936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49945 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49947 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49948 for ac_func in _fmodl
49950 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49951 if test "x$ac_cv_func__fmodl" = x""yes; then :
49952 cat >>confdefs.h <<_ACEOF
49953 #define HAVE__FMODL 1
49966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49967 $as_echo_n "checking for frexpl declaration... " >&6; }
49968 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49969 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49970 $as_echo_n "(cached) " >&6
49975 ac_cpp='$CXXCPP $CPPFLAGS'
49976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49981 /* end confdefs.h. */
49991 if ac_fn_cxx_try_compile "$LINENO"; then :
49992 glibcxx_cv_func_frexpl_use=yes
49994 glibcxx_cv_func_frexpl_use=no
49996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49998 ac_cpp='$CPP $CPPFLAGS'
49999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50008 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50010 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50011 for ac_func in frexpl
50013 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50014 if test "x$ac_cv_func_frexpl" = x""yes; then :
50015 cat >>confdefs.h <<_ACEOF
50016 #define HAVE_FREXPL 1
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50025 $as_echo_n "checking for _frexpl declaration... " >&6; }
50026 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50027 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50028 $as_echo_n "(cached) " >&6
50033 ac_cpp='$CXXCPP $CPPFLAGS'
50034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50039 /* end confdefs.h. */
50049 if ac_fn_cxx_try_compile "$LINENO"; then :
50050 glibcxx_cv_func__frexpl_use=yes
50052 glibcxx_cv_func__frexpl_use=no
50054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50056 ac_cpp='$CPP $CPPFLAGS'
50057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50066 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50068 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50069 for ac_func in _frexpl
50071 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50072 if test "x$ac_cv_func__frexpl" = x""yes; then :
50073 cat >>confdefs.h <<_ACEOF
50074 #define HAVE__FREXPL 1
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50088 $as_echo_n "checking for hypotl declaration... " >&6; }
50089 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50090 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50091 $as_echo_n "(cached) " >&6
50096 ac_cpp='$CXXCPP $CPPFLAGS'
50097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50102 /* end confdefs.h. */
50112 if ac_fn_cxx_try_compile "$LINENO"; then :
50113 glibcxx_cv_func_hypotl_use=yes
50115 glibcxx_cv_func_hypotl_use=no
50117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50119 ac_cpp='$CPP $CPPFLAGS'
50120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50129 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50131 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50132 for ac_func in hypotl
50134 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50135 if test "x$ac_cv_func_hypotl" = x""yes; then :
50136 cat >>confdefs.h <<_ACEOF
50137 #define HAVE_HYPOTL 1
50145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50146 $as_echo_n "checking for _hypotl declaration... " >&6; }
50147 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50148 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50149 $as_echo_n "(cached) " >&6
50154 ac_cpp='$CXXCPP $CPPFLAGS'
50155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50160 /* end confdefs.h. */
50170 if ac_fn_cxx_try_compile "$LINENO"; then :
50171 glibcxx_cv_func__hypotl_use=yes
50173 glibcxx_cv_func__hypotl_use=no
50175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50177 ac_cpp='$CPP $CPPFLAGS'
50178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50187 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50189 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50190 for ac_func in _hypotl
50192 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50193 if test "x$ac_cv_func__hypotl" = x""yes; then :
50194 cat >>confdefs.h <<_ACEOF
50195 #define HAVE__HYPOTL 1
50208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50209 $as_echo_n "checking for ldexpl declaration... " >&6; }
50210 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50211 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50212 $as_echo_n "(cached) " >&6
50217 ac_cpp='$CXXCPP $CPPFLAGS'
50218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50223 /* end confdefs.h. */
50233 if ac_fn_cxx_try_compile "$LINENO"; then :
50234 glibcxx_cv_func_ldexpl_use=yes
50236 glibcxx_cv_func_ldexpl_use=no
50238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50240 ac_cpp='$CPP $CPPFLAGS'
50241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50250 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50252 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50253 for ac_func in ldexpl
50255 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50256 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50257 cat >>confdefs.h <<_ACEOF
50258 #define HAVE_LDEXPL 1
50266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50267 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50268 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50269 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50270 $as_echo_n "(cached) " >&6
50275 ac_cpp='$CXXCPP $CPPFLAGS'
50276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50281 /* end confdefs.h. */
50291 if ac_fn_cxx_try_compile "$LINENO"; then :
50292 glibcxx_cv_func__ldexpl_use=yes
50294 glibcxx_cv_func__ldexpl_use=no
50296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50298 ac_cpp='$CPP $CPPFLAGS'
50299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50308 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50310 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50311 for ac_func in _ldexpl
50313 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50314 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50315 cat >>confdefs.h <<_ACEOF
50316 #define HAVE__LDEXPL 1
50329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50330 $as_echo_n "checking for logl declaration... " >&6; }
50331 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50332 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50333 $as_echo_n "(cached) " >&6
50338 ac_cpp='$CXXCPP $CPPFLAGS'
50339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50344 /* end confdefs.h. */
50346 #ifdef HAVE_IEEEFP_H
50347 #include <ieeefp.h>
50358 if ac_fn_cxx_try_compile "$LINENO"; then :
50359 glibcxx_cv_func_logl_use=yes
50361 glibcxx_cv_func_logl_use=no
50363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50365 ac_cpp='$CPP $CPPFLAGS'
50366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50375 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50377 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50378 for ac_func in logl
50380 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50381 if test "x$ac_cv_func_logl" = x""yes; then :
50382 cat >>confdefs.h <<_ACEOF
50383 #define HAVE_LOGL 1
50391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50392 $as_echo_n "checking for _logl declaration... " >&6; }
50393 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50394 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50395 $as_echo_n "(cached) " >&6
50400 ac_cpp='$CXXCPP $CPPFLAGS'
50401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50406 /* end confdefs.h. */
50408 #ifdef HAVE_IEEEFP_H
50409 #include <ieeefp.h>
50420 if ac_fn_cxx_try_compile "$LINENO"; then :
50421 glibcxx_cv_func__logl_use=yes
50423 glibcxx_cv_func__logl_use=no
50425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50427 ac_cpp='$CPP $CPPFLAGS'
50428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50437 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50439 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50440 for ac_func in _logl
50442 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50443 if test "x$ac_cv_func__logl" = x""yes; then :
50444 cat >>confdefs.h <<_ACEOF
50445 #define HAVE__LOGL 1
50458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50459 $as_echo_n "checking for log10l declaration... " >&6; }
50460 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50461 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50462 $as_echo_n "(cached) " >&6
50467 ac_cpp='$CXXCPP $CPPFLAGS'
50468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50473 /* end confdefs.h. */
50475 #ifdef HAVE_IEEEFP_H
50476 #include <ieeefp.h>
50487 if ac_fn_cxx_try_compile "$LINENO"; then :
50488 glibcxx_cv_func_log10l_use=yes
50490 glibcxx_cv_func_log10l_use=no
50492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50494 ac_cpp='$CPP $CPPFLAGS'
50495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50504 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50506 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50507 for ac_func in log10l
50509 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50510 if test "x$ac_cv_func_log10l" = x""yes; then :
50511 cat >>confdefs.h <<_ACEOF
50512 #define HAVE_LOG10L 1
50520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50521 $as_echo_n "checking for _log10l declaration... " >&6; }
50522 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50523 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50524 $as_echo_n "(cached) " >&6
50529 ac_cpp='$CXXCPP $CPPFLAGS'
50530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50535 /* end confdefs.h. */
50537 #ifdef HAVE_IEEEFP_H
50538 #include <ieeefp.h>
50549 if ac_fn_cxx_try_compile "$LINENO"; then :
50550 glibcxx_cv_func__log10l_use=yes
50552 glibcxx_cv_func__log10l_use=no
50554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50556 ac_cpp='$CPP $CPPFLAGS'
50557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50566 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50568 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50569 for ac_func in _log10l
50571 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50572 if test "x$ac_cv_func__log10l" = x""yes; then :
50573 cat >>confdefs.h <<_ACEOF
50574 #define HAVE__LOG10L 1
50587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50588 $as_echo_n "checking for modfl declaration... " >&6; }
50589 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50590 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50591 $as_echo_n "(cached) " >&6
50596 ac_cpp='$CXXCPP $CPPFLAGS'
50597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50602 /* end confdefs.h. */
50612 if ac_fn_cxx_try_compile "$LINENO"; then :
50613 glibcxx_cv_func_modfl_use=yes
50615 glibcxx_cv_func_modfl_use=no
50617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50619 ac_cpp='$CPP $CPPFLAGS'
50620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50629 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50631 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50632 for ac_func in modfl
50634 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50635 if test "x$ac_cv_func_modfl" = x""yes; then :
50636 cat >>confdefs.h <<_ACEOF
50637 #define HAVE_MODFL 1
50645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50646 $as_echo_n "checking for _modfl declaration... " >&6; }
50647 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50648 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50649 $as_echo_n "(cached) " >&6
50654 ac_cpp='$CXXCPP $CPPFLAGS'
50655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50660 /* end confdefs.h. */
50670 if ac_fn_cxx_try_compile "$LINENO"; then :
50671 glibcxx_cv_func__modfl_use=yes
50673 glibcxx_cv_func__modfl_use=no
50675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50677 ac_cpp='$CPP $CPPFLAGS'
50678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50687 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50689 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50690 for ac_func in _modfl
50692 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50693 if test "x$ac_cv_func__modfl" = x""yes; then :
50694 cat >>confdefs.h <<_ACEOF
50695 #define HAVE__MODFL 1
50708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50709 $as_echo_n "checking for powl declaration... " >&6; }
50710 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50711 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50712 $as_echo_n "(cached) " >&6
50717 ac_cpp='$CXXCPP $CPPFLAGS'
50718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50723 /* end confdefs.h. */
50733 if ac_fn_cxx_try_compile "$LINENO"; then :
50734 glibcxx_cv_func_powl_use=yes
50736 glibcxx_cv_func_powl_use=no
50738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50740 ac_cpp='$CPP $CPPFLAGS'
50741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50750 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50752 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50753 for ac_func in powl
50755 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50756 if test "x$ac_cv_func_powl" = x""yes; then :
50757 cat >>confdefs.h <<_ACEOF
50758 #define HAVE_POWL 1
50766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50767 $as_echo_n "checking for _powl declaration... " >&6; }
50768 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50769 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50770 $as_echo_n "(cached) " >&6
50775 ac_cpp='$CXXCPP $CPPFLAGS'
50776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50781 /* end confdefs.h. */
50791 if ac_fn_cxx_try_compile "$LINENO"; then :
50792 glibcxx_cv_func__powl_use=yes
50794 glibcxx_cv_func__powl_use=no
50796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50798 ac_cpp='$CPP $CPPFLAGS'
50799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50808 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50810 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50811 for ac_func in _powl
50813 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50814 if test "x$ac_cv_func__powl" = x""yes; then :
50815 cat >>confdefs.h <<_ACEOF
50816 #define HAVE__POWL 1
50829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50830 $as_echo_n "checking for sqrtl declaration... " >&6; }
50831 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50832 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50833 $as_echo_n "(cached) " >&6
50838 ac_cpp='$CXXCPP $CPPFLAGS'
50839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50844 /* end confdefs.h. */
50846 #ifdef HAVE_IEEEFP_H
50847 #include <ieeefp.h>
50858 if ac_fn_cxx_try_compile "$LINENO"; then :
50859 glibcxx_cv_func_sqrtl_use=yes
50861 glibcxx_cv_func_sqrtl_use=no
50863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50865 ac_cpp='$CPP $CPPFLAGS'
50866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50875 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50877 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50878 for ac_func in sqrtl
50880 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50881 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50882 cat >>confdefs.h <<_ACEOF
50883 #define HAVE_SQRTL 1
50891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50892 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50893 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50894 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50895 $as_echo_n "(cached) " >&6
50900 ac_cpp='$CXXCPP $CPPFLAGS'
50901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50906 /* end confdefs.h. */
50908 #ifdef HAVE_IEEEFP_H
50909 #include <ieeefp.h>
50920 if ac_fn_cxx_try_compile "$LINENO"; then :
50921 glibcxx_cv_func__sqrtl_use=yes
50923 glibcxx_cv_func__sqrtl_use=no
50925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50927 ac_cpp='$CPP $CPPFLAGS'
50928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50937 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50939 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50940 for ac_func in _sqrtl
50942 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50943 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50944 cat >>confdefs.h <<_ACEOF
50945 #define HAVE__SQRTL 1
50958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50959 $as_echo_n "checking for sincosl declaration... " >&6; }
50960 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50961 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50962 $as_echo_n "(cached) " >&6
50967 ac_cpp='$CXXCPP $CPPFLAGS'
50968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50973 /* end confdefs.h. */
50983 if ac_fn_cxx_try_compile "$LINENO"; then :
50984 glibcxx_cv_func_sincosl_use=yes
50986 glibcxx_cv_func_sincosl_use=no
50988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50990 ac_cpp='$CPP $CPPFLAGS'
50991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51000 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51002 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51003 for ac_func in sincosl
51005 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51006 if test "x$ac_cv_func_sincosl" = x""yes; then :
51007 cat >>confdefs.h <<_ACEOF
51008 #define HAVE_SINCOSL 1
51016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51017 $as_echo_n "checking for _sincosl declaration... " >&6; }
51018 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51019 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51020 $as_echo_n "(cached) " >&6
51025 ac_cpp='$CXXCPP $CPPFLAGS'
51026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51031 /* end confdefs.h. */
51041 if ac_fn_cxx_try_compile "$LINENO"; then :
51042 glibcxx_cv_func__sincosl_use=yes
51044 glibcxx_cv_func__sincosl_use=no
51046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51048 ac_cpp='$CPP $CPPFLAGS'
51049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51058 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51060 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51061 for ac_func in _sincosl
51063 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51064 if test "x$ac_cv_func__sincosl" = x""yes; then :
51065 cat >>confdefs.h <<_ACEOF
51066 #define HAVE__SINCOSL 1
51079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51080 $as_echo_n "checking for finitel declaration... " >&6; }
51081 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51082 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51083 $as_echo_n "(cached) " >&6
51088 ac_cpp='$CXXCPP $CPPFLAGS'
51089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51094 /* end confdefs.h. */
51096 #ifdef HAVE_IEEEFP_H
51097 #include <ieeefp.h>
51108 if ac_fn_cxx_try_compile "$LINENO"; then :
51109 glibcxx_cv_func_finitel_use=yes
51111 glibcxx_cv_func_finitel_use=no
51113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51115 ac_cpp='$CPP $CPPFLAGS'
51116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51125 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51127 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51128 for ac_func in finitel
51130 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51131 if test "x$ac_cv_func_finitel" = x""yes; then :
51132 cat >>confdefs.h <<_ACEOF
51133 #define HAVE_FINITEL 1
51141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51142 $as_echo_n "checking for _finitel declaration... " >&6; }
51143 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51144 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51145 $as_echo_n "(cached) " >&6
51150 ac_cpp='$CXXCPP $CPPFLAGS'
51151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51156 /* end confdefs.h. */
51158 #ifdef HAVE_IEEEFP_H
51159 #include <ieeefp.h>
51170 if ac_fn_cxx_try_compile "$LINENO"; then :
51171 glibcxx_cv_func__finitel_use=yes
51173 glibcxx_cv_func__finitel_use=no
51175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51177 ac_cpp='$CPP $CPPFLAGS'
51178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51187 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51189 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51190 for ac_func in _finitel
51192 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51193 if test "x$ac_cv_func__finitel" = x""yes; then :
51194 cat >>confdefs.h <<_ACEOF
51195 #define HAVE__FINITEL 1
51207 LIBS="$ac_save_LIBS"
51208 CXXFLAGS="$ac_save_CXXFLAGS"
51211 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51212 ac_save_CXXFLAGS="$CXXFLAGS"
51213 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51217 $as_echo_n "checking for strtold declaration... " >&6; }
51218 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51219 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51220 $as_echo_n "(cached) " >&6
51225 ac_cpp='$CXXCPP $CPPFLAGS'
51226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51231 /* end confdefs.h. */
51232 #include <stdlib.h>
51241 if ac_fn_cxx_try_compile "$LINENO"; then :
51242 glibcxx_cv_func_strtold_use=yes
51244 glibcxx_cv_func_strtold_use=no
51246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51248 ac_cpp='$CPP $CPPFLAGS'
51249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51258 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51259 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51260 for ac_func in strtold
51262 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51263 if test "x$ac_cv_func_strtold" = x""yes; then :
51264 cat >>confdefs.h <<_ACEOF
51265 #define HAVE_STRTOLD 1
51276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51277 $as_echo_n "checking for strtof declaration... " >&6; }
51278 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51279 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51280 $as_echo_n "(cached) " >&6
51285 ac_cpp='$CXXCPP $CPPFLAGS'
51286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51291 /* end confdefs.h. */
51292 #include <stdlib.h>
51301 if ac_fn_cxx_try_compile "$LINENO"; then :
51302 glibcxx_cv_func_strtof_use=yes
51304 glibcxx_cv_func_strtof_use=no
51306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51308 ac_cpp='$CPP $CPPFLAGS'
51309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51318 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51319 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51320 for ac_func in strtof
51322 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51323 if test "x$ac_cv_func_strtof" = x""yes; then :
51324 cat >>confdefs.h <<_ACEOF
51325 #define HAVE_STRTOF 1
51336 CXXFLAGS="$ac_save_CXXFLAGS"
51338 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51342 # Check whether --enable-tls was given.
51343 if test "${enable_tls+set}" = set; then :
51344 enableval=$enable_tls;
51345 case "$enableval" in
51347 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51356 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51357 if test "${gcc_cv_have_tls+set}" = set; then :
51358 $as_echo_n "(cached) " >&6
51361 if test "$cross_compiling" = yes; then :
51362 if test x$gcc_no_link = xyes; then
51363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51366 /* end confdefs.h. */
51367 __thread int a; int b; int main() { return a = b; }
51369 if ac_fn_c_try_link "$LINENO"; then :
51370 chktls_save_LDFLAGS="$LDFLAGS"
51373 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51376 chktls_save_CFLAGS="$CFLAGS"
51377 CFLAGS="-fPIC $CFLAGS"
51378 if test x$gcc_no_link = xyes; then
51379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51382 /* end confdefs.h. */
51383 int f() { return 0; }
51385 if ac_fn_c_try_link "$LINENO"; then :
51386 if test x$gcc_no_link = xyes; then
51387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 __thread int a; int b; int f() { return a = b; }
51393 if ac_fn_c_try_link "$LINENO"; then :
51394 gcc_cv_have_tls=yes
51398 rm -f core conftest.err conftest.$ac_objext \
51399 conftest$ac_exeext conftest.$ac_ext
51401 gcc_cv_have_tls=yes
51403 rm -f core conftest.err conftest.$ac_objext \
51404 conftest$ac_exeext conftest.$ac_ext
51405 CFLAGS="$chktls_save_CFLAGS"
51406 LDFLAGS="$chktls_save_LDFLAGS"
51410 rm -f core conftest.err conftest.$ac_objext \
51411 conftest$ac_exeext conftest.$ac_ext
51415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51416 /* end confdefs.h. */
51417 __thread int a; int b; int main() { return a = b; }
51419 if ac_fn_c_try_run "$LINENO"; then :
51420 chktls_save_LDFLAGS="$LDFLAGS"
51421 LDFLAGS="-static $LDFLAGS"
51422 if test x$gcc_no_link = xyes; then
51423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51426 /* end confdefs.h. */
51427 int main() { return 0; }
51429 if ac_fn_c_try_link "$LINENO"; then :
51430 if test "$cross_compiling" = yes; then :
51431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51433 as_fn_error "cannot run test program while cross compiling
51434 See \`config.log' for more details." "$LINENO" 5; }
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 __thread int a; int b; int main() { return a = b; }
51440 if ac_fn_c_try_run "$LINENO"; then :
51441 gcc_cv_have_tls=yes
51445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51446 conftest.$ac_objext conftest.beam conftest.$ac_ext
51450 gcc_cv_have_tls=yes
51452 rm -f core conftest.err conftest.$ac_objext \
51453 conftest$ac_exeext conftest.$ac_ext
51454 LDFLAGS="$chktls_save_LDFLAGS"
51455 if test $gcc_cv_have_tls = yes; then
51456 chktls_save_CFLAGS="$CFLAGS"
51457 thread_CFLAGS=failed
51458 for flag in '' '-pthread' '-lpthread'; do
51459 CFLAGS="$flag $chktls_save_CFLAGS"
51460 if test x$gcc_no_link = xyes; then
51461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51464 /* end confdefs.h. */
51465 #include <pthread.h>
51466 void *g(void *d) { return NULL; }
51470 pthread_t t; pthread_create(&t,NULL,g,NULL);
51475 if ac_fn_c_try_link "$LINENO"; then :
51476 thread_CFLAGS="$flag"
51478 rm -f core conftest.err conftest.$ac_objext \
51479 conftest$ac_exeext conftest.$ac_ext
51480 if test "X$thread_CFLAGS" != Xfailed; then
51484 CFLAGS="$chktls_save_CFLAGS"
51485 if test "X$thread_CFLAGS" != Xfailed; then
51486 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51487 if test "$cross_compiling" = yes; then :
51488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51490 as_fn_error "cannot run test program while cross compiling
51491 See \`config.log' for more details." "$LINENO" 5; }
51493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51494 /* end confdefs.h. */
51495 #include <pthread.h>
51497 static int *volatile a_in_other_thread;
51499 thread_func (void *arg)
51501 a_in_other_thread = &a;
51508 void *thread_retval;
51509 int *volatile a_in_main_thread;
51510 a_in_main_thread = &a;
51511 if (pthread_create (&thread, (pthread_attr_t *)0,
51512 thread_func, (void *)0))
51514 if (pthread_join (thread, &thread_retval))
51516 return (a_in_other_thread == a_in_main_thread);
51521 if ac_fn_c_try_run "$LINENO"; then :
51522 gcc_cv_have_tls=yes
51526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51527 conftest.$ac_objext conftest.beam conftest.$ac_ext
51530 CFLAGS="$chktls_save_CFLAGS"
51536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51537 conftest.$ac_objext conftest.beam conftest.$ac_ext
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51542 $as_echo "$gcc_cv_have_tls" >&6; }
51543 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51545 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51553 am_save_CPPFLAGS="$CPPFLAGS"
51555 for element in $INCICONV; do
51557 for x in $CPPFLAGS; do
51559 acl_save_prefix="$prefix"
51560 prefix="$acl_final_prefix"
51561 acl_save_exec_prefix="$exec_prefix"
51562 exec_prefix="$acl_final_exec_prefix"
51564 exec_prefix="$acl_save_exec_prefix"
51565 prefix="$acl_save_prefix"
51567 if test "X$x" = "X$element"; then
51572 if test -z "$haveit"; then
51573 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51579 $as_echo_n "checking for iconv... " >&6; }
51580 if test "${am_cv_func_iconv+set}" = set; then :
51581 $as_echo_n "(cached) " >&6
51584 am_cv_func_iconv="no, consider installing GNU libiconv"
51586 if test x$gcc_no_link = xyes; then
51587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51590 /* end confdefs.h. */
51591 #include <stdlib.h>
51596 iconv_t cd = iconv_open("","");
51597 iconv(cd,NULL,NULL,NULL,NULL);
51603 if ac_fn_c_try_link "$LINENO"; then :
51604 am_cv_func_iconv=yes
51606 rm -f core conftest.err conftest.$ac_objext \
51607 conftest$ac_exeext conftest.$ac_ext
51608 if test "$am_cv_func_iconv" != yes; then
51609 am_save_LIBS="$LIBS"
51610 LIBS="$LIBS $LIBICONV"
51611 if test x$gcc_no_link = xyes; then
51612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51615 /* end confdefs.h. */
51616 #include <stdlib.h>
51621 iconv_t cd = iconv_open("","");
51622 iconv(cd,NULL,NULL,NULL,NULL);
51628 if ac_fn_c_try_link "$LINENO"; then :
51629 am_cv_lib_iconv=yes
51630 am_cv_func_iconv=yes
51632 rm -f core conftest.err conftest.$ac_objext \
51633 conftest$ac_exeext conftest.$ac_ext
51634 LIBS="$am_save_LIBS"
51638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51639 $as_echo "$am_cv_func_iconv" >&6; }
51640 if test "$am_cv_func_iconv" = yes; then
51642 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51645 if test "$am_cv_lib_iconv" = yes; then
51646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51647 $as_echo_n "checking how to link with libiconv... " >&6; }
51648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51649 $as_echo "$LIBICONV" >&6; }
51651 CPPFLAGS="$am_save_CPPFLAGS"
51658 if test "$am_cv_func_iconv" = yes; then
51659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51660 $as_echo_n "checking for iconv declaration... " >&6; }
51661 if test "${am_cv_proto_iconv+set}" = set; then :
51662 $as_echo_n "(cached) " >&6
51665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51666 /* end confdefs.h. */
51668 #include <stdlib.h>
51674 #if defined(__STDC__) || defined(__cplusplus)
51675 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51688 if ac_fn_c_try_compile "$LINENO"; then :
51689 am_cv_proto_iconv_arg1=""
51691 am_cv_proto_iconv_arg1="const"
51693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51694 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);"
51697 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51699 }$am_cv_proto_iconv" >&5
51701 }$am_cv_proto_iconv" >&6; }
51703 cat >>confdefs.h <<_ACEOF
51704 #define ICONV_CONST $am_cv_proto_iconv_arg1
51712 # If we're not using GNU ld, then there's no point in even trying these
51713 # tests. Check for that first. We should have already tested for gld
51714 # by now (in libtool), but require it now just to be safe...
51715 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51716 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51720 # The name set by libtool depends on the version of libtool. Shame on us
51721 # for depending on an impl detail, but c'est la vie. Older versions used
51722 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51723 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51724 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51725 # set (hence we're using an older libtool), then set it.
51726 if test x${with_gnu_ld+set} != xset; then
51727 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51728 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51731 with_gnu_ld=$ac_cv_prog_gnu_ld
51735 # Start by getting the version number. I think the libtool test already
51736 # does some of this, but throws away the result.
51737 glibcxx_ld_is_gold=no
51738 if test x"$with_gnu_ld" = x"yes"; then
51739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51740 $as_echo_n "checking for ld version... " >&6; }
51742 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51743 glibcxx_ld_is_gold=yes
51745 ldver=`$LD --version 2>/dev/null |
51746 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
51748 glibcxx_gnu_ld_version=`echo $ldver | \
51749 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51754 # Set --gc-sections.
51755 glibcxx_have_gc_sections=no
51756 if test "$glibcxx_ld_is_gold" = "yes"; then
51757 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51758 glibcxx_have_gc_sections=yes
51761 glibcxx_gcsections_min_ld=21602
51762 if test x"$with_gnu_ld" = x"yes" &&
51763 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51764 glibcxx_have_gc_sections=yes
51767 if test "$glibcxx_have_gc_sections" = "yes"; then
51768 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51769 # NB: This flag only works reliably after 2.16.1. Configure tests
51770 # for this are difficult, so hard wire a value that should work.
51772 ac_test_CFLAGS="${CFLAGS+set}"
51773 ac_save_CFLAGS="$CFLAGS"
51774 CFLAGS='-Wl,--gc-sections'
51776 # Check for -Wl,--gc-sections
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51779 if test x$gcc_no_link = xyes; then
51780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51783 /* end confdefs.h. */
51784 int one(void) { return 1; }
51785 int two(void) { return 2; }
51795 if ac_fn_c_try_link "$LINENO"; then :
51800 rm -f core conftest.err conftest.$ac_objext \
51801 conftest$ac_exeext conftest.$ac_ext
51802 if test "$ac_gcsections" = "yes"; then
51805 if $CC -c conftest.c; then
51806 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51807 grep "Warning: gc-sections option ignored" > /dev/null; then
51811 rm -f conftest.c conftest.o conftest
51813 if test "$ac_gcsections" = "yes"; then
51814 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51817 $as_echo "$ac_gcsections" >&6; }
51819 if test "$ac_test_CFLAGS" = set; then
51820 CFLAGS="$ac_save_CFLAGS"
51822 # this is the suspicious part
51828 # Note this is only for shared objects.
51830 if test x"$with_gnu_ld" = x"yes"; then
51831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51833 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51834 if test -n "$cxx_z_relo"; then
51835 OPT_LDFLAGS="-Wl,-z,relro"
51838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51839 $as_echo "$ac_ld_relro" >&6; }
51842 # Set linker optimization flags.
51843 if test x"$with_gnu_ld" = x"yes"; then
51844 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51851 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51852 ac_save_CXXFLAGS="$CXXFLAGS"
51853 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51856 $as_echo_n "checking for sin in -lm... " >&6; }
51857 if test "${ac_cv_lib_m_sin+set}" = set; then :
51858 $as_echo_n "(cached) " >&6
51860 ac_check_lib_save_LIBS=$LIBS
51862 if test x$gcc_no_link = xyes; then
51863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51866 /* end confdefs.h. */
51868 /* Override any GCC internal prototype to avoid an error.
51869 Use char because int might match the return type of a GCC
51870 builtin and then its argument prototype would still apply. */
51883 if ac_fn_c_try_link "$LINENO"; then :
51884 ac_cv_lib_m_sin=yes
51888 rm -f core conftest.err conftest.$ac_objext \
51889 conftest$ac_exeext conftest.$ac_ext
51890 LIBS=$ac_check_lib_save_LIBS
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51893 $as_echo "$ac_cv_lib_m_sin" >&6; }
51894 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51898 ac_save_LIBS="$LIBS"
51903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51904 $as_echo_n "checking for isinf declaration... " >&6; }
51905 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51906 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51907 $as_echo_n "(cached) " >&6
51912 ac_cpp='$CXXCPP $CPPFLAGS'
51913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51918 /* end confdefs.h. */
51920 #ifdef HAVE_IEEEFP_H
51921 #include <ieeefp.h>
51932 if ac_fn_cxx_try_compile "$LINENO"; then :
51933 glibcxx_cv_func_isinf_use=yes
51935 glibcxx_cv_func_isinf_use=no
51937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51939 ac_cpp='$CPP $CPPFLAGS'
51940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51949 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51951 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51952 for ac_func in isinf
51954 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51955 if test "x$ac_cv_func_isinf" = x""yes; then :
51956 cat >>confdefs.h <<_ACEOF
51957 #define HAVE_ISINF 1
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51966 $as_echo_n "checking for _isinf declaration... " >&6; }
51967 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51968 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51969 $as_echo_n "(cached) " >&6
51974 ac_cpp='$CXXCPP $CPPFLAGS'
51975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51980 /* end confdefs.h. */
51982 #ifdef HAVE_IEEEFP_H
51983 #include <ieeefp.h>
51994 if ac_fn_cxx_try_compile "$LINENO"; then :
51995 glibcxx_cv_func__isinf_use=yes
51997 glibcxx_cv_func__isinf_use=no
51999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52001 ac_cpp='$CPP $CPPFLAGS'
52002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52011 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52013 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52014 for ac_func in _isinf
52016 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52017 if test "x$ac_cv_func__isinf" = x""yes; then :
52018 cat >>confdefs.h <<_ACEOF
52019 #define HAVE__ISINF 1
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52033 $as_echo_n "checking for isnan declaration... " >&6; }
52034 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52035 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52036 $as_echo_n "(cached) " >&6
52041 ac_cpp='$CXXCPP $CPPFLAGS'
52042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52047 /* end confdefs.h. */
52049 #ifdef HAVE_IEEEFP_H
52050 #include <ieeefp.h>
52061 if ac_fn_cxx_try_compile "$LINENO"; then :
52062 glibcxx_cv_func_isnan_use=yes
52064 glibcxx_cv_func_isnan_use=no
52066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52078 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52080 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52081 for ac_func in isnan
52083 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52084 if test "x$ac_cv_func_isnan" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define HAVE_ISNAN 1
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52095 $as_echo_n "checking for _isnan declaration... " >&6; }
52096 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52097 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52098 $as_echo_n "(cached) " >&6
52103 ac_cpp='$CXXCPP $CPPFLAGS'
52104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52109 /* end confdefs.h. */
52111 #ifdef HAVE_IEEEFP_H
52112 #include <ieeefp.h>
52123 if ac_fn_cxx_try_compile "$LINENO"; then :
52124 glibcxx_cv_func__isnan_use=yes
52126 glibcxx_cv_func__isnan_use=no
52128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52130 ac_cpp='$CPP $CPPFLAGS'
52131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52140 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52142 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52143 for ac_func in _isnan
52145 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52146 if test "x$ac_cv_func__isnan" = x""yes; then :
52147 cat >>confdefs.h <<_ACEOF
52148 #define HAVE__ISNAN 1
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52162 $as_echo_n "checking for finite declaration... " >&6; }
52163 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52164 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52165 $as_echo_n "(cached) " >&6
52170 ac_cpp='$CXXCPP $CPPFLAGS'
52171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52176 /* end confdefs.h. */
52178 #ifdef HAVE_IEEEFP_H
52179 #include <ieeefp.h>
52190 if ac_fn_cxx_try_compile "$LINENO"; then :
52191 glibcxx_cv_func_finite_use=yes
52193 glibcxx_cv_func_finite_use=no
52195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52197 ac_cpp='$CPP $CPPFLAGS'
52198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52207 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52209 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52210 for ac_func in finite
52212 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52213 if test "x$ac_cv_func_finite" = x""yes; then :
52214 cat >>confdefs.h <<_ACEOF
52215 #define HAVE_FINITE 1
52223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52224 $as_echo_n "checking for _finite declaration... " >&6; }
52225 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52226 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52227 $as_echo_n "(cached) " >&6
52232 ac_cpp='$CXXCPP $CPPFLAGS'
52233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h. */
52240 #ifdef HAVE_IEEEFP_H
52241 #include <ieeefp.h>
52252 if ac_fn_cxx_try_compile "$LINENO"; then :
52253 glibcxx_cv_func__finite_use=yes
52255 glibcxx_cv_func__finite_use=no
52257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52259 ac_cpp='$CPP $CPPFLAGS'
52260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52269 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52271 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52272 for ac_func in _finite
52274 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52275 if test "x$ac_cv_func__finite" = x""yes; then :
52276 cat >>confdefs.h <<_ACEOF
52277 #define HAVE__FINITE 1
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52291 $as_echo_n "checking for sincos declaration... " >&6; }
52292 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52293 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52294 $as_echo_n "(cached) " >&6
52299 ac_cpp='$CXXCPP $CPPFLAGS'
52300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52305 /* end confdefs.h. */
52315 if ac_fn_cxx_try_compile "$LINENO"; then :
52316 glibcxx_cv_func_sincos_use=yes
52318 glibcxx_cv_func_sincos_use=no
52320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52322 ac_cpp='$CPP $CPPFLAGS'
52323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52332 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52334 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52335 for ac_func in sincos
52337 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52338 if test "x$ac_cv_func_sincos" = x""yes; then :
52339 cat >>confdefs.h <<_ACEOF
52340 #define HAVE_SINCOS 1
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52349 $as_echo_n "checking for _sincos declaration... " >&6; }
52350 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52351 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52352 $as_echo_n "(cached) " >&6
52357 ac_cpp='$CXXCPP $CPPFLAGS'
52358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52363 /* end confdefs.h. */
52373 if ac_fn_cxx_try_compile "$LINENO"; then :
52374 glibcxx_cv_func__sincos_use=yes
52376 glibcxx_cv_func__sincos_use=no
52378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52380 ac_cpp='$CPP $CPPFLAGS'
52381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52390 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52392 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52393 for ac_func in _sincos
52395 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52396 if test "x$ac_cv_func__sincos" = x""yes; then :
52397 cat >>confdefs.h <<_ACEOF
52398 #define HAVE__SINCOS 1
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52412 $as_echo_n "checking for fpclass declaration... " >&6; }
52413 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52414 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52415 $as_echo_n "(cached) " >&6
52420 ac_cpp='$CXXCPP $CPPFLAGS'
52421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52426 /* end confdefs.h. */
52428 #ifdef HAVE_IEEEFP_H
52429 #include <ieeefp.h>
52440 if ac_fn_cxx_try_compile "$LINENO"; then :
52441 glibcxx_cv_func_fpclass_use=yes
52443 glibcxx_cv_func_fpclass_use=no
52445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52447 ac_cpp='$CPP $CPPFLAGS'
52448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52457 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52459 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52460 for ac_func in fpclass
52462 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52463 if test "x$ac_cv_func_fpclass" = x""yes; then :
52464 cat >>confdefs.h <<_ACEOF
52465 #define HAVE_FPCLASS 1
52473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52474 $as_echo_n "checking for _fpclass declaration... " >&6; }
52475 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52476 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52477 $as_echo_n "(cached) " >&6
52482 ac_cpp='$CXXCPP $CPPFLAGS'
52483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52488 /* end confdefs.h. */
52490 #ifdef HAVE_IEEEFP_H
52491 #include <ieeefp.h>
52502 if ac_fn_cxx_try_compile "$LINENO"; then :
52503 glibcxx_cv_func__fpclass_use=yes
52505 glibcxx_cv_func__fpclass_use=no
52507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52519 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52521 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52522 for ac_func in _fpclass
52524 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52525 if test "x$ac_cv_func__fpclass" = x""yes; then :
52526 cat >>confdefs.h <<_ACEOF
52527 #define HAVE__FPCLASS 1
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52541 $as_echo_n "checking for qfpclass declaration... " >&6; }
52542 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52543 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52544 $as_echo_n "(cached) " >&6
52549 ac_cpp='$CXXCPP $CPPFLAGS'
52550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52555 /* end confdefs.h. */
52557 #ifdef HAVE_IEEEFP_H
52558 #include <ieeefp.h>
52569 if ac_fn_cxx_try_compile "$LINENO"; then :
52570 glibcxx_cv_func_qfpclass_use=yes
52572 glibcxx_cv_func_qfpclass_use=no
52574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52576 ac_cpp='$CPP $CPPFLAGS'
52577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52586 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52588 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52589 for ac_func in qfpclass
52591 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52592 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52593 cat >>confdefs.h <<_ACEOF
52594 #define HAVE_QFPCLASS 1
52602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52603 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52604 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52605 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52606 $as_echo_n "(cached) " >&6
52611 ac_cpp='$CXXCPP $CPPFLAGS'
52612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52617 /* end confdefs.h. */
52619 #ifdef HAVE_IEEEFP_H
52620 #include <ieeefp.h>
52631 if ac_fn_cxx_try_compile "$LINENO"; then :
52632 glibcxx_cv_func__qfpclass_use=yes
52634 glibcxx_cv_func__qfpclass_use=no
52636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52638 ac_cpp='$CPP $CPPFLAGS'
52639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52648 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52650 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52651 for ac_func in _qfpclass
52653 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52654 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52655 cat >>confdefs.h <<_ACEOF
52656 #define HAVE__QFPCLASS 1
52669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52670 $as_echo_n "checking for hypot declaration... " >&6; }
52671 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52672 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52673 $as_echo_n "(cached) " >&6
52678 ac_cpp='$CXXCPP $CPPFLAGS'
52679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52684 /* end confdefs.h. */
52694 if ac_fn_cxx_try_compile "$LINENO"; then :
52695 glibcxx_cv_func_hypot_use=yes
52697 glibcxx_cv_func_hypot_use=no
52699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52701 ac_cpp='$CPP $CPPFLAGS'
52702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52711 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52713 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52714 for ac_func in hypot
52716 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52717 if test "x$ac_cv_func_hypot" = x""yes; then :
52718 cat >>confdefs.h <<_ACEOF
52719 #define HAVE_HYPOT 1
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52728 $as_echo_n "checking for _hypot declaration... " >&6; }
52729 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52730 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52731 $as_echo_n "(cached) " >&6
52736 ac_cpp='$CXXCPP $CPPFLAGS'
52737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52742 /* end confdefs.h. */
52752 if ac_fn_cxx_try_compile "$LINENO"; then :
52753 glibcxx_cv_func__hypot_use=yes
52755 glibcxx_cv_func__hypot_use=no
52757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52759 ac_cpp='$CPP $CPPFLAGS'
52760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52769 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52771 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52772 for ac_func in _hypot
52774 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52775 if test "x$ac_cv_func__hypot" = x""yes; then :
52776 cat >>confdefs.h <<_ACEOF
52777 #define HAVE__HYPOT 1
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52791 $as_echo_n "checking for float trig functions... " >&6; }
52792 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52793 $as_echo_n "(cached) " >&6
52798 ac_cpp='$CXXCPP $CPPFLAGS'
52799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52804 /* end confdefs.h. */
52809 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52814 if ac_fn_cxx_try_compile "$LINENO"; then :
52815 glibcxx_cv_func_float_trig_use=yes
52817 glibcxx_cv_func_float_trig_use=no
52819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52821 ac_cpp='$CPP $CPPFLAGS'
52822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52829 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52830 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52831 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52835 eval as_val=\$$as_ac_var
52836 if test "x$as_val" = x""yes; then :
52837 cat >>confdefs.h <<_ACEOF
52838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52846 $as_echo_n "checking for _float trig functions... " >&6; }
52847 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52848 $as_echo_n "(cached) " >&6
52853 ac_cpp='$CXXCPP $CPPFLAGS'
52854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52859 /* end confdefs.h. */
52864 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52869 if ac_fn_cxx_try_compile "$LINENO"; then :
52870 glibcxx_cv_func__float_trig_use=yes
52872 glibcxx_cv_func__float_trig_use=no
52874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52876 ac_cpp='$CPP $CPPFLAGS'
52877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52884 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52885 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52886 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52890 eval as_val=\$$as_ac_var
52891 if test "x$as_val" = x""yes; then :
52892 cat >>confdefs.h <<_ACEOF
52893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52907 $as_echo_n "checking for float round functions... " >&6; }
52908 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52909 $as_echo_n "(cached) " >&6
52914 ac_cpp='$CXXCPP $CPPFLAGS'
52915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52920 /* end confdefs.h. */
52925 ceilf (0); floorf (0);
52930 if ac_fn_cxx_try_compile "$LINENO"; then :
52931 glibcxx_cv_func_float_round_use=yes
52933 glibcxx_cv_func_float_round_use=no
52935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52937 ac_cpp='$CPP $CPPFLAGS'
52938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52945 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52946 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52947 for ac_func in ceilf floorf
52949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52951 eval as_val=\$$as_ac_var
52952 if test "x$as_val" = x""yes; then :
52953 cat >>confdefs.h <<_ACEOF
52954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52962 $as_echo_n "checking for _float round functions... " >&6; }
52963 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52964 $as_echo_n "(cached) " >&6
52969 ac_cpp='$CXXCPP $CPPFLAGS'
52970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52975 /* end confdefs.h. */
52980 _ceilf (0); _floorf (0);
52985 if ac_fn_cxx_try_compile "$LINENO"; then :
52986 glibcxx_cv_func__float_round_use=yes
52988 glibcxx_cv_func__float_round_use=no
52990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52992 ac_cpp='$CPP $CPPFLAGS'
52993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53000 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53001 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53002 for ac_func in _ceilf _floorf
53004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53006 eval as_val=\$$as_ac_var
53007 if test "x$as_val" = x""yes; then :
53008 cat >>confdefs.h <<_ACEOF
53009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53024 $as_echo_n "checking for expf declaration... " >&6; }
53025 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53026 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53027 $as_echo_n "(cached) " >&6
53032 ac_cpp='$CXXCPP $CPPFLAGS'
53033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53038 /* end confdefs.h. */
53040 #ifdef HAVE_IEEEFP_H
53041 #include <ieeefp.h>
53052 if ac_fn_cxx_try_compile "$LINENO"; then :
53053 glibcxx_cv_func_expf_use=yes
53055 glibcxx_cv_func_expf_use=no
53057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53059 ac_cpp='$CPP $CPPFLAGS'
53060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53069 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53071 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53072 for ac_func in expf
53074 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53075 if test "x$ac_cv_func_expf" = x""yes; then :
53076 cat >>confdefs.h <<_ACEOF
53077 #define HAVE_EXPF 1
53085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53086 $as_echo_n "checking for _expf declaration... " >&6; }
53087 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53088 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53089 $as_echo_n "(cached) " >&6
53094 ac_cpp='$CXXCPP $CPPFLAGS'
53095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53100 /* end confdefs.h. */
53102 #ifdef HAVE_IEEEFP_H
53103 #include <ieeefp.h>
53114 if ac_fn_cxx_try_compile "$LINENO"; then :
53115 glibcxx_cv_func__expf_use=yes
53117 glibcxx_cv_func__expf_use=no
53119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53121 ac_cpp='$CPP $CPPFLAGS'
53122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53131 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53133 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53134 for ac_func in _expf
53136 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53137 if test "x$ac_cv_func__expf" = x""yes; then :
53138 cat >>confdefs.h <<_ACEOF
53139 #define HAVE__EXPF 1
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53153 $as_echo_n "checking for isnanf declaration... " >&6; }
53154 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53155 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53156 $as_echo_n "(cached) " >&6
53161 ac_cpp='$CXXCPP $CPPFLAGS'
53162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53167 /* end confdefs.h. */
53169 #ifdef HAVE_IEEEFP_H
53170 #include <ieeefp.h>
53181 if ac_fn_cxx_try_compile "$LINENO"; then :
53182 glibcxx_cv_func_isnanf_use=yes
53184 glibcxx_cv_func_isnanf_use=no
53186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53188 ac_cpp='$CPP $CPPFLAGS'
53189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53198 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53200 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53201 for ac_func in isnanf
53203 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53204 if test "x$ac_cv_func_isnanf" = x""yes; then :
53205 cat >>confdefs.h <<_ACEOF
53206 #define HAVE_ISNANF 1
53214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53215 $as_echo_n "checking for _isnanf declaration... " >&6; }
53216 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53217 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53218 $as_echo_n "(cached) " >&6
53223 ac_cpp='$CXXCPP $CPPFLAGS'
53224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53229 /* end confdefs.h. */
53231 #ifdef HAVE_IEEEFP_H
53232 #include <ieeefp.h>
53243 if ac_fn_cxx_try_compile "$LINENO"; then :
53244 glibcxx_cv_func__isnanf_use=yes
53246 glibcxx_cv_func__isnanf_use=no
53248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53250 ac_cpp='$CPP $CPPFLAGS'
53251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53260 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53262 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53263 for ac_func in _isnanf
53265 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53266 if test "x$ac_cv_func__isnanf" = x""yes; then :
53267 cat >>confdefs.h <<_ACEOF
53268 #define HAVE__ISNANF 1
53281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53282 $as_echo_n "checking for isinff declaration... " >&6; }
53283 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53284 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53285 $as_echo_n "(cached) " >&6
53290 ac_cpp='$CXXCPP $CPPFLAGS'
53291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53296 /* end confdefs.h. */
53298 #ifdef HAVE_IEEEFP_H
53299 #include <ieeefp.h>
53310 if ac_fn_cxx_try_compile "$LINENO"; then :
53311 glibcxx_cv_func_isinff_use=yes
53313 glibcxx_cv_func_isinff_use=no
53315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53317 ac_cpp='$CPP $CPPFLAGS'
53318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53327 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53329 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53330 for ac_func in isinff
53332 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53333 if test "x$ac_cv_func_isinff" = x""yes; then :
53334 cat >>confdefs.h <<_ACEOF
53335 #define HAVE_ISINFF 1
53343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53344 $as_echo_n "checking for _isinff declaration... " >&6; }
53345 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53346 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53347 $as_echo_n "(cached) " >&6
53352 ac_cpp='$CXXCPP $CPPFLAGS'
53353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53358 /* end confdefs.h. */
53360 #ifdef HAVE_IEEEFP_H
53361 #include <ieeefp.h>
53372 if ac_fn_cxx_try_compile "$LINENO"; then :
53373 glibcxx_cv_func__isinff_use=yes
53375 glibcxx_cv_func__isinff_use=no
53377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53379 ac_cpp='$CPP $CPPFLAGS'
53380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53389 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53391 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53392 for ac_func in _isinff
53394 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53395 if test "x$ac_cv_func__isinff" = x""yes; then :
53396 cat >>confdefs.h <<_ACEOF
53397 #define HAVE__ISINFF 1
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53411 $as_echo_n "checking for atan2f declaration... " >&6; }
53412 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53413 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53414 $as_echo_n "(cached) " >&6
53419 ac_cpp='$CXXCPP $CPPFLAGS'
53420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53425 /* end confdefs.h. */
53435 if ac_fn_cxx_try_compile "$LINENO"; then :
53436 glibcxx_cv_func_atan2f_use=yes
53438 glibcxx_cv_func_atan2f_use=no
53440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53442 ac_cpp='$CPP $CPPFLAGS'
53443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53452 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53454 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53455 for ac_func in atan2f
53457 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53458 if test "x$ac_cv_func_atan2f" = x""yes; then :
53459 cat >>confdefs.h <<_ACEOF
53460 #define HAVE_ATAN2F 1
53468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53469 $as_echo_n "checking for _atan2f declaration... " >&6; }
53470 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53471 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53472 $as_echo_n "(cached) " >&6
53477 ac_cpp='$CXXCPP $CPPFLAGS'
53478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53483 /* end confdefs.h. */
53493 if ac_fn_cxx_try_compile "$LINENO"; then :
53494 glibcxx_cv_func__atan2f_use=yes
53496 glibcxx_cv_func__atan2f_use=no
53498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53500 ac_cpp='$CPP $CPPFLAGS'
53501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53510 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53512 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53513 for ac_func in _atan2f
53515 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53516 if test "x$ac_cv_func__atan2f" = x""yes; then :
53517 cat >>confdefs.h <<_ACEOF
53518 #define HAVE__ATAN2F 1
53531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53532 $as_echo_n "checking for fabsf declaration... " >&6; }
53533 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53534 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53535 $as_echo_n "(cached) " >&6
53540 ac_cpp='$CXXCPP $CPPFLAGS'
53541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53546 /* end confdefs.h. */
53548 #ifdef HAVE_IEEEFP_H
53549 #include <ieeefp.h>
53560 if ac_fn_cxx_try_compile "$LINENO"; then :
53561 glibcxx_cv_func_fabsf_use=yes
53563 glibcxx_cv_func_fabsf_use=no
53565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53567 ac_cpp='$CPP $CPPFLAGS'
53568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53577 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53579 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53580 for ac_func in fabsf
53582 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53583 if test "x$ac_cv_func_fabsf" = x""yes; then :
53584 cat >>confdefs.h <<_ACEOF
53585 #define HAVE_FABSF 1
53593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53594 $as_echo_n "checking for _fabsf declaration... " >&6; }
53595 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53596 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53597 $as_echo_n "(cached) " >&6
53602 ac_cpp='$CXXCPP $CPPFLAGS'
53603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53608 /* end confdefs.h. */
53610 #ifdef HAVE_IEEEFP_H
53611 #include <ieeefp.h>
53622 if ac_fn_cxx_try_compile "$LINENO"; then :
53623 glibcxx_cv_func__fabsf_use=yes
53625 glibcxx_cv_func__fabsf_use=no
53627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53629 ac_cpp='$CPP $CPPFLAGS'
53630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53639 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53641 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53642 for ac_func in _fabsf
53644 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53645 if test "x$ac_cv_func__fabsf" = x""yes; then :
53646 cat >>confdefs.h <<_ACEOF
53647 #define HAVE__FABSF 1
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53661 $as_echo_n "checking for fmodf declaration... " >&6; }
53662 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53663 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53664 $as_echo_n "(cached) " >&6
53669 ac_cpp='$CXXCPP $CPPFLAGS'
53670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53675 /* end confdefs.h. */
53685 if ac_fn_cxx_try_compile "$LINENO"; then :
53686 glibcxx_cv_func_fmodf_use=yes
53688 glibcxx_cv_func_fmodf_use=no
53690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53692 ac_cpp='$CPP $CPPFLAGS'
53693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53702 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53704 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53705 for ac_func in fmodf
53707 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53708 if test "x$ac_cv_func_fmodf" = x""yes; then :
53709 cat >>confdefs.h <<_ACEOF
53710 #define HAVE_FMODF 1
53718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53719 $as_echo_n "checking for _fmodf declaration... " >&6; }
53720 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53721 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53722 $as_echo_n "(cached) " >&6
53727 ac_cpp='$CXXCPP $CPPFLAGS'
53728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53733 /* end confdefs.h. */
53743 if ac_fn_cxx_try_compile "$LINENO"; then :
53744 glibcxx_cv_func__fmodf_use=yes
53746 glibcxx_cv_func__fmodf_use=no
53748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53750 ac_cpp='$CPP $CPPFLAGS'
53751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53760 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53762 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53763 for ac_func in _fmodf
53765 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53766 if test "x$ac_cv_func__fmodf" = x""yes; then :
53767 cat >>confdefs.h <<_ACEOF
53768 #define HAVE__FMODF 1
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53782 $as_echo_n "checking for frexpf declaration... " >&6; }
53783 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53784 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53785 $as_echo_n "(cached) " >&6
53790 ac_cpp='$CXXCPP $CPPFLAGS'
53791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53796 /* end confdefs.h. */
53806 if ac_fn_cxx_try_compile "$LINENO"; then :
53807 glibcxx_cv_func_frexpf_use=yes
53809 glibcxx_cv_func_frexpf_use=no
53811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53813 ac_cpp='$CPP $CPPFLAGS'
53814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53823 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53825 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53826 for ac_func in frexpf
53828 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53829 if test "x$ac_cv_func_frexpf" = x""yes; then :
53830 cat >>confdefs.h <<_ACEOF
53831 #define HAVE_FREXPF 1
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53840 $as_echo_n "checking for _frexpf declaration... " >&6; }
53841 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53842 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53843 $as_echo_n "(cached) " >&6
53848 ac_cpp='$CXXCPP $CPPFLAGS'
53849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53854 /* end confdefs.h. */
53864 if ac_fn_cxx_try_compile "$LINENO"; then :
53865 glibcxx_cv_func__frexpf_use=yes
53867 glibcxx_cv_func__frexpf_use=no
53869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53871 ac_cpp='$CPP $CPPFLAGS'
53872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53881 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53883 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53884 for ac_func in _frexpf
53886 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53887 if test "x$ac_cv_func__frexpf" = x""yes; then :
53888 cat >>confdefs.h <<_ACEOF
53889 #define HAVE__FREXPF 1
53902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53903 $as_echo_n "checking for hypotf declaration... " >&6; }
53904 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53905 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53906 $as_echo_n "(cached) " >&6
53911 ac_cpp='$CXXCPP $CPPFLAGS'
53912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53917 /* end confdefs.h. */
53927 if ac_fn_cxx_try_compile "$LINENO"; then :
53928 glibcxx_cv_func_hypotf_use=yes
53930 glibcxx_cv_func_hypotf_use=no
53932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53934 ac_cpp='$CPP $CPPFLAGS'
53935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53944 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53946 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53947 for ac_func in hypotf
53949 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53950 if test "x$ac_cv_func_hypotf" = x""yes; then :
53951 cat >>confdefs.h <<_ACEOF
53952 #define HAVE_HYPOTF 1
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53961 $as_echo_n "checking for _hypotf declaration... " >&6; }
53962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53964 $as_echo_n "(cached) " >&6
53969 ac_cpp='$CXXCPP $CPPFLAGS'
53970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53975 /* end confdefs.h. */
53985 if ac_fn_cxx_try_compile "$LINENO"; then :
53986 glibcxx_cv_func__hypotf_use=yes
53988 glibcxx_cv_func__hypotf_use=no
53990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54002 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54004 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54005 for ac_func in _hypotf
54007 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54008 if test "x$ac_cv_func__hypotf" = x""yes; then :
54009 cat >>confdefs.h <<_ACEOF
54010 #define HAVE__HYPOTF 1
54023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54024 $as_echo_n "checking for ldexpf declaration... " >&6; }
54025 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54026 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54027 $as_echo_n "(cached) " >&6
54032 ac_cpp='$CXXCPP $CPPFLAGS'
54033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54038 /* end confdefs.h. */
54048 if ac_fn_cxx_try_compile "$LINENO"; then :
54049 glibcxx_cv_func_ldexpf_use=yes
54051 glibcxx_cv_func_ldexpf_use=no
54053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54055 ac_cpp='$CPP $CPPFLAGS'
54056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54065 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54067 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54068 for ac_func in ldexpf
54070 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54071 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54072 cat >>confdefs.h <<_ACEOF
54073 #define HAVE_LDEXPF 1
54081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54082 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54083 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54084 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54085 $as_echo_n "(cached) " >&6
54090 ac_cpp='$CXXCPP $CPPFLAGS'
54091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54096 /* end confdefs.h. */
54106 if ac_fn_cxx_try_compile "$LINENO"; then :
54107 glibcxx_cv_func__ldexpf_use=yes
54109 glibcxx_cv_func__ldexpf_use=no
54111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54123 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54125 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54126 for ac_func in _ldexpf
54128 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54129 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54130 cat >>confdefs.h <<_ACEOF
54131 #define HAVE__LDEXPF 1
54144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54145 $as_echo_n "checking for logf declaration... " >&6; }
54146 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54147 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54148 $as_echo_n "(cached) " >&6
54153 ac_cpp='$CXXCPP $CPPFLAGS'
54154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54159 /* end confdefs.h. */
54161 #ifdef HAVE_IEEEFP_H
54162 #include <ieeefp.h>
54173 if ac_fn_cxx_try_compile "$LINENO"; then :
54174 glibcxx_cv_func_logf_use=yes
54176 glibcxx_cv_func_logf_use=no
54178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54180 ac_cpp='$CPP $CPPFLAGS'
54181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54190 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54192 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54193 for ac_func in logf
54195 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54196 if test "x$ac_cv_func_logf" = x""yes; then :
54197 cat >>confdefs.h <<_ACEOF
54198 #define HAVE_LOGF 1
54206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54207 $as_echo_n "checking for _logf declaration... " >&6; }
54208 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54209 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54210 $as_echo_n "(cached) " >&6
54215 ac_cpp='$CXXCPP $CPPFLAGS'
54216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54221 /* end confdefs.h. */
54223 #ifdef HAVE_IEEEFP_H
54224 #include <ieeefp.h>
54235 if ac_fn_cxx_try_compile "$LINENO"; then :
54236 glibcxx_cv_func__logf_use=yes
54238 glibcxx_cv_func__logf_use=no
54240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54242 ac_cpp='$CPP $CPPFLAGS'
54243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54252 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54254 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54255 for ac_func in _logf
54257 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54258 if test "x$ac_cv_func__logf" = x""yes; then :
54259 cat >>confdefs.h <<_ACEOF
54260 #define HAVE__LOGF 1
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54274 $as_echo_n "checking for log10f declaration... " >&6; }
54275 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54276 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54277 $as_echo_n "(cached) " >&6
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54290 #ifdef HAVE_IEEEFP_H
54291 #include <ieeefp.h>
54302 if ac_fn_cxx_try_compile "$LINENO"; then :
54303 glibcxx_cv_func_log10f_use=yes
54305 glibcxx_cv_func_log10f_use=no
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54319 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54321 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54322 for ac_func in log10f
54324 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54325 if test "x$ac_cv_func_log10f" = x""yes; then :
54326 cat >>confdefs.h <<_ACEOF
54327 #define HAVE_LOG10F 1
54335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54336 $as_echo_n "checking for _log10f declaration... " >&6; }
54337 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54338 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54339 $as_echo_n "(cached) " >&6
54344 ac_cpp='$CXXCPP $CPPFLAGS'
54345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54350 /* end confdefs.h. */
54352 #ifdef HAVE_IEEEFP_H
54353 #include <ieeefp.h>
54364 if ac_fn_cxx_try_compile "$LINENO"; then :
54365 glibcxx_cv_func__log10f_use=yes
54367 glibcxx_cv_func__log10f_use=no
54369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54371 ac_cpp='$CPP $CPPFLAGS'
54372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54381 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54383 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54384 for ac_func in _log10f
54386 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54387 if test "x$ac_cv_func__log10f" = x""yes; then :
54388 cat >>confdefs.h <<_ACEOF
54389 #define HAVE__LOG10F 1
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54403 $as_echo_n "checking for modff declaration... " >&6; }
54404 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54405 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54406 $as_echo_n "(cached) " >&6
54411 ac_cpp='$CXXCPP $CPPFLAGS'
54412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54417 /* end confdefs.h. */
54427 if ac_fn_cxx_try_compile "$LINENO"; then :
54428 glibcxx_cv_func_modff_use=yes
54430 glibcxx_cv_func_modff_use=no
54432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54434 ac_cpp='$CPP $CPPFLAGS'
54435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54444 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54446 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54447 for ac_func in modff
54449 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54450 if test "x$ac_cv_func_modff" = x""yes; then :
54451 cat >>confdefs.h <<_ACEOF
54452 #define HAVE_MODFF 1
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54461 $as_echo_n "checking for _modff declaration... " >&6; }
54462 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54463 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54464 $as_echo_n "(cached) " >&6
54469 ac_cpp='$CXXCPP $CPPFLAGS'
54470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54475 /* end confdefs.h. */
54485 if ac_fn_cxx_try_compile "$LINENO"; then :
54486 glibcxx_cv_func__modff_use=yes
54488 glibcxx_cv_func__modff_use=no
54490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54492 ac_cpp='$CPP $CPPFLAGS'
54493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54502 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54504 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54505 for ac_func in _modff
54507 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54508 if test "x$ac_cv_func__modff" = x""yes; then :
54509 cat >>confdefs.h <<_ACEOF
54510 #define HAVE__MODFF 1
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54524 $as_echo_n "checking for modf declaration... " >&6; }
54525 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54526 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54527 $as_echo_n "(cached) " >&6
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538 /* end confdefs.h. */
54548 if ac_fn_cxx_try_compile "$LINENO"; then :
54549 glibcxx_cv_func_modf_use=yes
54551 glibcxx_cv_func_modf_use=no
54553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54555 ac_cpp='$CPP $CPPFLAGS'
54556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54565 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54567 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54568 for ac_func in modf
54570 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54571 if test "x$ac_cv_func_modf" = x""yes; then :
54572 cat >>confdefs.h <<_ACEOF
54573 #define HAVE_MODF 1
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54582 $as_echo_n "checking for _modf declaration... " >&6; }
54583 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54584 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54585 $as_echo_n "(cached) " >&6
54590 ac_cpp='$CXXCPP $CPPFLAGS'
54591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54596 /* end confdefs.h. */
54606 if ac_fn_cxx_try_compile "$LINENO"; then :
54607 glibcxx_cv_func__modf_use=yes
54609 glibcxx_cv_func__modf_use=no
54611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54613 ac_cpp='$CPP $CPPFLAGS'
54614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54623 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54625 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54626 for ac_func in _modf
54628 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54629 if test "x$ac_cv_func__modf" = x""yes; then :
54630 cat >>confdefs.h <<_ACEOF
54631 #define HAVE__MODF 1
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54645 $as_echo_n "checking for powf declaration... " >&6; }
54646 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54647 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54648 $as_echo_n "(cached) " >&6
54653 ac_cpp='$CXXCPP $CPPFLAGS'
54654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54659 /* end confdefs.h. */
54669 if ac_fn_cxx_try_compile "$LINENO"; then :
54670 glibcxx_cv_func_powf_use=yes
54672 glibcxx_cv_func_powf_use=no
54674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54676 ac_cpp='$CPP $CPPFLAGS'
54677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54686 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54688 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54689 for ac_func in powf
54691 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54692 if test "x$ac_cv_func_powf" = x""yes; then :
54693 cat >>confdefs.h <<_ACEOF
54694 #define HAVE_POWF 1
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54703 $as_echo_n "checking for _powf declaration... " >&6; }
54704 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54705 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54706 $as_echo_n "(cached) " >&6
54711 ac_cpp='$CXXCPP $CPPFLAGS'
54712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54717 /* end confdefs.h. */
54727 if ac_fn_cxx_try_compile "$LINENO"; then :
54728 glibcxx_cv_func__powf_use=yes
54730 glibcxx_cv_func__powf_use=no
54732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54734 ac_cpp='$CPP $CPPFLAGS'
54735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54744 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54746 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54747 for ac_func in _powf
54749 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54750 if test "x$ac_cv_func__powf" = x""yes; then :
54751 cat >>confdefs.h <<_ACEOF
54752 #define HAVE__POWF 1
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54766 $as_echo_n "checking for sqrtf declaration... " >&6; }
54767 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54768 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54769 $as_echo_n "(cached) " >&6
54774 ac_cpp='$CXXCPP $CPPFLAGS'
54775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54780 /* end confdefs.h. */
54782 #ifdef HAVE_IEEEFP_H
54783 #include <ieeefp.h>
54794 if ac_fn_cxx_try_compile "$LINENO"; then :
54795 glibcxx_cv_func_sqrtf_use=yes
54797 glibcxx_cv_func_sqrtf_use=no
54799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54801 ac_cpp='$CPP $CPPFLAGS'
54802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54811 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54813 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54814 for ac_func in sqrtf
54816 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54817 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54818 cat >>confdefs.h <<_ACEOF
54819 #define HAVE_SQRTF 1
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54828 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54829 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54830 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54831 $as_echo_n "(cached) " >&6
54836 ac_cpp='$CXXCPP $CPPFLAGS'
54837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54842 /* end confdefs.h. */
54844 #ifdef HAVE_IEEEFP_H
54845 #include <ieeefp.h>
54856 if ac_fn_cxx_try_compile "$LINENO"; then :
54857 glibcxx_cv_func__sqrtf_use=yes
54859 glibcxx_cv_func__sqrtf_use=no
54861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54873 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54875 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54876 for ac_func in _sqrtf
54878 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54879 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54880 cat >>confdefs.h <<_ACEOF
54881 #define HAVE__SQRTF 1
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54895 $as_echo_n "checking for sincosf declaration... " >&6; }
54896 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54897 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54898 $as_echo_n "(cached) " >&6
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54909 /* end confdefs.h. */
54919 if ac_fn_cxx_try_compile "$LINENO"; then :
54920 glibcxx_cv_func_sincosf_use=yes
54922 glibcxx_cv_func_sincosf_use=no
54924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54936 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54939 for ac_func in sincosf
54941 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54942 if test "x$ac_cv_func_sincosf" = x""yes; then :
54943 cat >>confdefs.h <<_ACEOF
54944 #define HAVE_SINCOSF 1
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54953 $as_echo_n "checking for _sincosf declaration... " >&6; }
54954 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54955 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54956 $as_echo_n "(cached) " >&6
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967 /* end confdefs.h. */
54977 if ac_fn_cxx_try_compile "$LINENO"; then :
54978 glibcxx_cv_func__sincosf_use=yes
54980 glibcxx_cv_func__sincosf_use=no
54982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54984 ac_cpp='$CPP $CPPFLAGS'
54985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54994 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54996 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54997 for ac_func in _sincosf
54999 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55000 if test "x$ac_cv_func__sincosf" = x""yes; then :
55001 cat >>confdefs.h <<_ACEOF
55002 #define HAVE__SINCOSF 1
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55016 $as_echo_n "checking for finitef declaration... " >&6; }
55017 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55018 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55019 $as_echo_n "(cached) " >&6
55024 ac_cpp='$CXXCPP $CPPFLAGS'
55025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55030 /* end confdefs.h. */
55032 #ifdef HAVE_IEEEFP_H
55033 #include <ieeefp.h>
55044 if ac_fn_cxx_try_compile "$LINENO"; then :
55045 glibcxx_cv_func_finitef_use=yes
55047 glibcxx_cv_func_finitef_use=no
55049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55051 ac_cpp='$CPP $CPPFLAGS'
55052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55061 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55063 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55064 for ac_func in finitef
55066 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55067 if test "x$ac_cv_func_finitef" = x""yes; then :
55068 cat >>confdefs.h <<_ACEOF
55069 #define HAVE_FINITEF 1
55077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55078 $as_echo_n "checking for _finitef declaration... " >&6; }
55079 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55080 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55081 $as_echo_n "(cached) " >&6
55086 ac_cpp='$CXXCPP $CPPFLAGS'
55087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55092 /* end confdefs.h. */
55094 #ifdef HAVE_IEEEFP_H
55095 #include <ieeefp.h>
55106 if ac_fn_cxx_try_compile "$LINENO"; then :
55107 glibcxx_cv_func__finitef_use=yes
55109 glibcxx_cv_func__finitef_use=no
55111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55113 ac_cpp='$CPP $CPPFLAGS'
55114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55123 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55125 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55126 for ac_func in _finitef
55128 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55129 if test "x$ac_cv_func__finitef" = x""yes; then :
55130 cat >>confdefs.h <<_ACEOF
55131 #define HAVE__FINITEF 1
55144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55145 $as_echo_n "checking for long double trig functions... " >&6; }
55146 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55147 $as_echo_n "(cached) " >&6
55152 ac_cpp='$CXXCPP $CPPFLAGS'
55153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55158 /* end confdefs.h. */
55163 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55168 if ac_fn_cxx_try_compile "$LINENO"; then :
55169 glibcxx_cv_func_long_double_trig_use=yes
55171 glibcxx_cv_func_long_double_trig_use=no
55173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55175 ac_cpp='$CPP $CPPFLAGS'
55176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55183 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55184 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55185 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55187 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55189 eval as_val=\$$as_ac_var
55190 if test "x$as_val" = x""yes; then :
55191 cat >>confdefs.h <<_ACEOF
55192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55200 $as_echo_n "checking for _long double trig functions... " >&6; }
55201 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55202 $as_echo_n "(cached) " >&6
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55218 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55223 if ac_fn_cxx_try_compile "$LINENO"; then :
55224 glibcxx_cv_func__long_double_trig_use=yes
55226 glibcxx_cv_func__long_double_trig_use=no
55228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55230 ac_cpp='$CPP $CPPFLAGS'
55231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55238 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55239 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55240 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55244 eval as_val=\$$as_ac_var
55245 if test "x$as_val" = x""yes; then :
55246 cat >>confdefs.h <<_ACEOF
55247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55261 $as_echo_n "checking for long double round functions... " >&6; }
55262 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55263 $as_echo_n "(cached) " >&6
55268 ac_cpp='$CXXCPP $CPPFLAGS'
55269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55274 /* end confdefs.h. */
55279 ceill (0); floorl (0);
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func_long_double_round_use=yes
55287 glibcxx_cv_func_long_double_round_use=no
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55299 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55300 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55301 for ac_func in ceill floorl
55303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55305 eval as_val=\$$as_ac_var
55306 if test "x$as_val" = x""yes; then :
55307 cat >>confdefs.h <<_ACEOF
55308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55316 $as_echo_n "checking for _long double round functions... " >&6; }
55317 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55318 $as_echo_n "(cached) " >&6
55323 ac_cpp='$CXXCPP $CPPFLAGS'
55324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55329 /* end confdefs.h. */
55334 _ceill (0); _floorl (0);
55339 if ac_fn_cxx_try_compile "$LINENO"; then :
55340 glibcxx_cv_func__long_double_round_use=yes
55342 glibcxx_cv_func__long_double_round_use=no
55344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55346 ac_cpp='$CPP $CPPFLAGS'
55347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55354 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55355 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55356 for ac_func in _ceill _floorl
55358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55360 eval as_val=\$$as_ac_var
55361 if test "x$as_val" = x""yes; then :
55362 cat >>confdefs.h <<_ACEOF
55363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55378 $as_echo_n "checking for isnanl declaration... " >&6; }
55379 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55380 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55381 $as_echo_n "(cached) " >&6
55386 ac_cpp='$CXXCPP $CPPFLAGS'
55387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55392 /* end confdefs.h. */
55394 #ifdef HAVE_IEEEFP_H
55395 #include <ieeefp.h>
55406 if ac_fn_cxx_try_compile "$LINENO"; then :
55407 glibcxx_cv_func_isnanl_use=yes
55409 glibcxx_cv_func_isnanl_use=no
55411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55413 ac_cpp='$CPP $CPPFLAGS'
55414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55423 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55425 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55426 for ac_func in isnanl
55428 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55429 if test "x$ac_cv_func_isnanl" = x""yes; then :
55430 cat >>confdefs.h <<_ACEOF
55431 #define HAVE_ISNANL 1
55439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55440 $as_echo_n "checking for _isnanl declaration... " >&6; }
55441 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55442 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55443 $as_echo_n "(cached) " >&6
55448 ac_cpp='$CXXCPP $CPPFLAGS'
55449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55454 /* end confdefs.h. */
55456 #ifdef HAVE_IEEEFP_H
55457 #include <ieeefp.h>
55468 if ac_fn_cxx_try_compile "$LINENO"; then :
55469 glibcxx_cv_func__isnanl_use=yes
55471 glibcxx_cv_func__isnanl_use=no
55473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55475 ac_cpp='$CPP $CPPFLAGS'
55476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55485 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55487 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55488 for ac_func in _isnanl
55490 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55491 if test "x$ac_cv_func__isnanl" = x""yes; then :
55492 cat >>confdefs.h <<_ACEOF
55493 #define HAVE__ISNANL 1
55506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55507 $as_echo_n "checking for isinfl declaration... " >&6; }
55508 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55509 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55510 $as_echo_n "(cached) " >&6
55515 ac_cpp='$CXXCPP $CPPFLAGS'
55516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55521 /* end confdefs.h. */
55523 #ifdef HAVE_IEEEFP_H
55524 #include <ieeefp.h>
55535 if ac_fn_cxx_try_compile "$LINENO"; then :
55536 glibcxx_cv_func_isinfl_use=yes
55538 glibcxx_cv_func_isinfl_use=no
55540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55542 ac_cpp='$CPP $CPPFLAGS'
55543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55552 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55554 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55555 for ac_func in isinfl
55557 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55558 if test "x$ac_cv_func_isinfl" = x""yes; then :
55559 cat >>confdefs.h <<_ACEOF
55560 #define HAVE_ISINFL 1
55568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55569 $as_echo_n "checking for _isinfl declaration... " >&6; }
55570 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55571 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55572 $as_echo_n "(cached) " >&6
55577 ac_cpp='$CXXCPP $CPPFLAGS'
55578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55583 /* end confdefs.h. */
55585 #ifdef HAVE_IEEEFP_H
55586 #include <ieeefp.h>
55597 if ac_fn_cxx_try_compile "$LINENO"; then :
55598 glibcxx_cv_func__isinfl_use=yes
55600 glibcxx_cv_func__isinfl_use=no
55602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55604 ac_cpp='$CPP $CPPFLAGS'
55605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55614 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55616 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55617 for ac_func in _isinfl
55619 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55620 if test "x$ac_cv_func__isinfl" = x""yes; then :
55621 cat >>confdefs.h <<_ACEOF
55622 #define HAVE__ISINFL 1
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55636 $as_echo_n "checking for atan2l declaration... " >&6; }
55637 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55638 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55639 $as_echo_n "(cached) " >&6
55644 ac_cpp='$CXXCPP $CPPFLAGS'
55645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55650 /* end confdefs.h. */
55660 if ac_fn_cxx_try_compile "$LINENO"; then :
55661 glibcxx_cv_func_atan2l_use=yes
55663 glibcxx_cv_func_atan2l_use=no
55665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55667 ac_cpp='$CPP $CPPFLAGS'
55668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55677 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55679 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55680 for ac_func in atan2l
55682 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55683 if test "x$ac_cv_func_atan2l" = x""yes; then :
55684 cat >>confdefs.h <<_ACEOF
55685 #define HAVE_ATAN2L 1
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55694 $as_echo_n "checking for _atan2l declaration... " >&6; }
55695 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55696 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55697 $as_echo_n "(cached) " >&6
55702 ac_cpp='$CXXCPP $CPPFLAGS'
55703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55708 /* end confdefs.h. */
55718 if ac_fn_cxx_try_compile "$LINENO"; then :
55719 glibcxx_cv_func__atan2l_use=yes
55721 glibcxx_cv_func__atan2l_use=no
55723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55725 ac_cpp='$CPP $CPPFLAGS'
55726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55735 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55737 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55738 for ac_func in _atan2l
55740 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55741 if test "x$ac_cv_func__atan2l" = x""yes; then :
55742 cat >>confdefs.h <<_ACEOF
55743 #define HAVE__ATAN2L 1
55756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55757 $as_echo_n "checking for expl declaration... " >&6; }
55758 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55759 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55760 $as_echo_n "(cached) " >&6
55765 ac_cpp='$CXXCPP $CPPFLAGS'
55766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55771 /* end confdefs.h. */
55773 #ifdef HAVE_IEEEFP_H
55774 #include <ieeefp.h>
55785 if ac_fn_cxx_try_compile "$LINENO"; then :
55786 glibcxx_cv_func_expl_use=yes
55788 glibcxx_cv_func_expl_use=no
55790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55792 ac_cpp='$CPP $CPPFLAGS'
55793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55802 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55804 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55805 for ac_func in expl
55807 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55808 if test "x$ac_cv_func_expl" = x""yes; then :
55809 cat >>confdefs.h <<_ACEOF
55810 #define HAVE_EXPL 1
55818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55819 $as_echo_n "checking for _expl declaration... " >&6; }
55820 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55821 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55822 $as_echo_n "(cached) " >&6
55827 ac_cpp='$CXXCPP $CPPFLAGS'
55828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55833 /* end confdefs.h. */
55835 #ifdef HAVE_IEEEFP_H
55836 #include <ieeefp.h>
55847 if ac_fn_cxx_try_compile "$LINENO"; then :
55848 glibcxx_cv_func__expl_use=yes
55850 glibcxx_cv_func__expl_use=no
55852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55854 ac_cpp='$CPP $CPPFLAGS'
55855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55864 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55866 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55867 for ac_func in _expl
55869 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55870 if test "x$ac_cv_func__expl" = x""yes; then :
55871 cat >>confdefs.h <<_ACEOF
55872 #define HAVE__EXPL 1
55885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55886 $as_echo_n "checking for fabsl declaration... " >&6; }
55887 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55888 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55889 $as_echo_n "(cached) " >&6
55894 ac_cpp='$CXXCPP $CPPFLAGS'
55895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55900 /* end confdefs.h. */
55902 #ifdef HAVE_IEEEFP_H
55903 #include <ieeefp.h>
55914 if ac_fn_cxx_try_compile "$LINENO"; then :
55915 glibcxx_cv_func_fabsl_use=yes
55917 glibcxx_cv_func_fabsl_use=no
55919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55921 ac_cpp='$CPP $CPPFLAGS'
55922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55931 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55933 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55934 for ac_func in fabsl
55936 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55937 if test "x$ac_cv_func_fabsl" = x""yes; then :
55938 cat >>confdefs.h <<_ACEOF
55939 #define HAVE_FABSL 1
55947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55948 $as_echo_n "checking for _fabsl declaration... " >&6; }
55949 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55950 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55951 $as_echo_n "(cached) " >&6
55956 ac_cpp='$CXXCPP $CPPFLAGS'
55957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55962 /* end confdefs.h. */
55964 #ifdef HAVE_IEEEFP_H
55965 #include <ieeefp.h>
55976 if ac_fn_cxx_try_compile "$LINENO"; then :
55977 glibcxx_cv_func__fabsl_use=yes
55979 glibcxx_cv_func__fabsl_use=no
55981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55983 ac_cpp='$CPP $CPPFLAGS'
55984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55993 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55995 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55996 for ac_func in _fabsl
55998 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55999 if test "x$ac_cv_func__fabsl" = x""yes; then :
56000 cat >>confdefs.h <<_ACEOF
56001 #define HAVE__FABSL 1
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56015 $as_echo_n "checking for fmodl declaration... " >&6; }
56016 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56017 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56018 $as_echo_n "(cached) " >&6
56023 ac_cpp='$CXXCPP $CPPFLAGS'
56024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56029 /* end confdefs.h. */
56039 if ac_fn_cxx_try_compile "$LINENO"; then :
56040 glibcxx_cv_func_fmodl_use=yes
56042 glibcxx_cv_func_fmodl_use=no
56044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56046 ac_cpp='$CPP $CPPFLAGS'
56047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56056 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56058 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56059 for ac_func in fmodl
56061 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56062 if test "x$ac_cv_func_fmodl" = x""yes; then :
56063 cat >>confdefs.h <<_ACEOF
56064 #define HAVE_FMODL 1
56072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56073 $as_echo_n "checking for _fmodl declaration... " >&6; }
56074 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56075 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56076 $as_echo_n "(cached) " >&6
56081 ac_cpp='$CXXCPP $CPPFLAGS'
56082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56087 /* end confdefs.h. */
56097 if ac_fn_cxx_try_compile "$LINENO"; then :
56098 glibcxx_cv_func__fmodl_use=yes
56100 glibcxx_cv_func__fmodl_use=no
56102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56104 ac_cpp='$CPP $CPPFLAGS'
56105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56114 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56116 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56117 for ac_func in _fmodl
56119 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56120 if test "x$ac_cv_func__fmodl" = x""yes; then :
56121 cat >>confdefs.h <<_ACEOF
56122 #define HAVE__FMODL 1
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56136 $as_echo_n "checking for frexpl declaration... " >&6; }
56137 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56138 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56139 $as_echo_n "(cached) " >&6
56144 ac_cpp='$CXXCPP $CPPFLAGS'
56145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56150 /* end confdefs.h. */
56160 if ac_fn_cxx_try_compile "$LINENO"; then :
56161 glibcxx_cv_func_frexpl_use=yes
56163 glibcxx_cv_func_frexpl_use=no
56165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56167 ac_cpp='$CPP $CPPFLAGS'
56168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56177 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56179 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56180 for ac_func in frexpl
56182 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56183 if test "x$ac_cv_func_frexpl" = x""yes; then :
56184 cat >>confdefs.h <<_ACEOF
56185 #define HAVE_FREXPL 1
56193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56194 $as_echo_n "checking for _frexpl declaration... " >&6; }
56195 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56196 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56197 $as_echo_n "(cached) " >&6
56202 ac_cpp='$CXXCPP $CPPFLAGS'
56203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56208 /* end confdefs.h. */
56218 if ac_fn_cxx_try_compile "$LINENO"; then :
56219 glibcxx_cv_func__frexpl_use=yes
56221 glibcxx_cv_func__frexpl_use=no
56223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56225 ac_cpp='$CPP $CPPFLAGS'
56226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56235 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56237 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56238 for ac_func in _frexpl
56240 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56241 if test "x$ac_cv_func__frexpl" = x""yes; then :
56242 cat >>confdefs.h <<_ACEOF
56243 #define HAVE__FREXPL 1
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56257 $as_echo_n "checking for hypotl declaration... " >&6; }
56258 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56259 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56260 $as_echo_n "(cached) " >&6
56265 ac_cpp='$CXXCPP $CPPFLAGS'
56266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56271 /* end confdefs.h. */
56281 if ac_fn_cxx_try_compile "$LINENO"; then :
56282 glibcxx_cv_func_hypotl_use=yes
56284 glibcxx_cv_func_hypotl_use=no
56286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56288 ac_cpp='$CPP $CPPFLAGS'
56289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56298 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56300 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56301 for ac_func in hypotl
56303 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56304 if test "x$ac_cv_func_hypotl" = x""yes; then :
56305 cat >>confdefs.h <<_ACEOF
56306 #define HAVE_HYPOTL 1
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56315 $as_echo_n "checking for _hypotl declaration... " >&6; }
56316 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56317 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56318 $as_echo_n "(cached) " >&6
56323 ac_cpp='$CXXCPP $CPPFLAGS'
56324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56329 /* end confdefs.h. */
56339 if ac_fn_cxx_try_compile "$LINENO"; then :
56340 glibcxx_cv_func__hypotl_use=yes
56342 glibcxx_cv_func__hypotl_use=no
56344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56346 ac_cpp='$CPP $CPPFLAGS'
56347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56356 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56358 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56359 for ac_func in _hypotl
56361 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56362 if test "x$ac_cv_func__hypotl" = x""yes; then :
56363 cat >>confdefs.h <<_ACEOF
56364 #define HAVE__HYPOTL 1
56377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56378 $as_echo_n "checking for ldexpl declaration... " >&6; }
56379 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56380 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56381 $as_echo_n "(cached) " >&6
56386 ac_cpp='$CXXCPP $CPPFLAGS'
56387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56392 /* end confdefs.h. */
56402 if ac_fn_cxx_try_compile "$LINENO"; then :
56403 glibcxx_cv_func_ldexpl_use=yes
56405 glibcxx_cv_func_ldexpl_use=no
56407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56409 ac_cpp='$CPP $CPPFLAGS'
56410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56419 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56421 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56422 for ac_func in ldexpl
56424 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56425 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56426 cat >>confdefs.h <<_ACEOF
56427 #define HAVE_LDEXPL 1
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56436 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56437 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56438 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56439 $as_echo_n "(cached) " >&6
56444 ac_cpp='$CXXCPP $CPPFLAGS'
56445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56450 /* end confdefs.h. */
56460 if ac_fn_cxx_try_compile "$LINENO"; then :
56461 glibcxx_cv_func__ldexpl_use=yes
56463 glibcxx_cv_func__ldexpl_use=no
56465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56467 ac_cpp='$CPP $CPPFLAGS'
56468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56477 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56479 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56480 for ac_func in _ldexpl
56482 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56483 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56484 cat >>confdefs.h <<_ACEOF
56485 #define HAVE__LDEXPL 1
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56499 $as_echo_n "checking for logl declaration... " >&6; }
56500 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56501 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56502 $as_echo_n "(cached) " >&6
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h. */
56515 #ifdef HAVE_IEEEFP_H
56516 #include <ieeefp.h>
56527 if ac_fn_cxx_try_compile "$LINENO"; then :
56528 glibcxx_cv_func_logl_use=yes
56530 glibcxx_cv_func_logl_use=no
56532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56534 ac_cpp='$CPP $CPPFLAGS'
56535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56544 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56546 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56547 for ac_func in logl
56549 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56550 if test "x$ac_cv_func_logl" = x""yes; then :
56551 cat >>confdefs.h <<_ACEOF
56552 #define HAVE_LOGL 1
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56561 $as_echo_n "checking for _logl declaration... " >&6; }
56562 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56563 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56564 $as_echo_n "(cached) " >&6
56569 ac_cpp='$CXXCPP $CPPFLAGS'
56570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56575 /* end confdefs.h. */
56577 #ifdef HAVE_IEEEFP_H
56578 #include <ieeefp.h>
56589 if ac_fn_cxx_try_compile "$LINENO"; then :
56590 glibcxx_cv_func__logl_use=yes
56592 glibcxx_cv_func__logl_use=no
56594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56596 ac_cpp='$CPP $CPPFLAGS'
56597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56606 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56608 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56609 for ac_func in _logl
56611 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56612 if test "x$ac_cv_func__logl" = x""yes; then :
56613 cat >>confdefs.h <<_ACEOF
56614 #define HAVE__LOGL 1
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56628 $as_echo_n "checking for log10l declaration... " >&6; }
56629 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56630 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56631 $as_echo_n "(cached) " >&6
56636 ac_cpp='$CXXCPP $CPPFLAGS'
56637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h. */
56644 #ifdef HAVE_IEEEFP_H
56645 #include <ieeefp.h>
56656 if ac_fn_cxx_try_compile "$LINENO"; then :
56657 glibcxx_cv_func_log10l_use=yes
56659 glibcxx_cv_func_log10l_use=no
56661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56663 ac_cpp='$CPP $CPPFLAGS'
56664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56673 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56675 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56676 for ac_func in log10l
56678 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56679 if test "x$ac_cv_func_log10l" = x""yes; then :
56680 cat >>confdefs.h <<_ACEOF
56681 #define HAVE_LOG10L 1
56689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56690 $as_echo_n "checking for _log10l declaration... " >&6; }
56691 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56692 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56693 $as_echo_n "(cached) " >&6
56698 ac_cpp='$CXXCPP $CPPFLAGS'
56699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56704 /* end confdefs.h. */
56706 #ifdef HAVE_IEEEFP_H
56707 #include <ieeefp.h>
56718 if ac_fn_cxx_try_compile "$LINENO"; then :
56719 glibcxx_cv_func__log10l_use=yes
56721 glibcxx_cv_func__log10l_use=no
56723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56725 ac_cpp='$CPP $CPPFLAGS'
56726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56735 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56737 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56738 for ac_func in _log10l
56740 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56741 if test "x$ac_cv_func__log10l" = x""yes; then :
56742 cat >>confdefs.h <<_ACEOF
56743 #define HAVE__LOG10L 1
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56757 $as_echo_n "checking for modfl declaration... " >&6; }
56758 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56759 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56760 $as_echo_n "(cached) " >&6
56765 ac_cpp='$CXXCPP $CPPFLAGS'
56766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56771 /* end confdefs.h. */
56781 if ac_fn_cxx_try_compile "$LINENO"; then :
56782 glibcxx_cv_func_modfl_use=yes
56784 glibcxx_cv_func_modfl_use=no
56786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56788 ac_cpp='$CPP $CPPFLAGS'
56789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56798 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56800 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56801 for ac_func in modfl
56803 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56804 if test "x$ac_cv_func_modfl" = x""yes; then :
56805 cat >>confdefs.h <<_ACEOF
56806 #define HAVE_MODFL 1
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56815 $as_echo_n "checking for _modfl declaration... " >&6; }
56816 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56817 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56818 $as_echo_n "(cached) " >&6
56823 ac_cpp='$CXXCPP $CPPFLAGS'
56824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56829 /* end confdefs.h. */
56839 if ac_fn_cxx_try_compile "$LINENO"; then :
56840 glibcxx_cv_func__modfl_use=yes
56842 glibcxx_cv_func__modfl_use=no
56844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56846 ac_cpp='$CPP $CPPFLAGS'
56847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56856 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56858 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56859 for ac_func in _modfl
56861 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56862 if test "x$ac_cv_func__modfl" = x""yes; then :
56863 cat >>confdefs.h <<_ACEOF
56864 #define HAVE__MODFL 1
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56878 $as_echo_n "checking for powl declaration... " >&6; }
56879 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56880 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56881 $as_echo_n "(cached) " >&6
56886 ac_cpp='$CXXCPP $CPPFLAGS'
56887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56892 /* end confdefs.h. */
56902 if ac_fn_cxx_try_compile "$LINENO"; then :
56903 glibcxx_cv_func_powl_use=yes
56905 glibcxx_cv_func_powl_use=no
56907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56909 ac_cpp='$CPP $CPPFLAGS'
56910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56919 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56921 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56922 for ac_func in powl
56924 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56925 if test "x$ac_cv_func_powl" = x""yes; then :
56926 cat >>confdefs.h <<_ACEOF
56927 #define HAVE_POWL 1
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56936 $as_echo_n "checking for _powl declaration... " >&6; }
56937 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56938 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56939 $as_echo_n "(cached) " >&6
56944 ac_cpp='$CXXCPP $CPPFLAGS'
56945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56950 /* end confdefs.h. */
56960 if ac_fn_cxx_try_compile "$LINENO"; then :
56961 glibcxx_cv_func__powl_use=yes
56963 glibcxx_cv_func__powl_use=no
56965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56967 ac_cpp='$CPP $CPPFLAGS'
56968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56977 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56979 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56980 for ac_func in _powl
56982 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56983 if test "x$ac_cv_func__powl" = x""yes; then :
56984 cat >>confdefs.h <<_ACEOF
56985 #define HAVE__POWL 1
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56999 $as_echo_n "checking for sqrtl declaration... " >&6; }
57000 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57001 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57002 $as_echo_n "(cached) " >&6
57007 ac_cpp='$CXXCPP $CPPFLAGS'
57008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57013 /* end confdefs.h. */
57015 #ifdef HAVE_IEEEFP_H
57016 #include <ieeefp.h>
57027 if ac_fn_cxx_try_compile "$LINENO"; then :
57028 glibcxx_cv_func_sqrtl_use=yes
57030 glibcxx_cv_func_sqrtl_use=no
57032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57034 ac_cpp='$CPP $CPPFLAGS'
57035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57044 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57046 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57047 for ac_func in sqrtl
57049 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57050 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57051 cat >>confdefs.h <<_ACEOF
57052 #define HAVE_SQRTL 1
57060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57061 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57062 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57063 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57064 $as_echo_n "(cached) " >&6
57069 ac_cpp='$CXXCPP $CPPFLAGS'
57070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57075 /* end confdefs.h. */
57077 #ifdef HAVE_IEEEFP_H
57078 #include <ieeefp.h>
57089 if ac_fn_cxx_try_compile "$LINENO"; then :
57090 glibcxx_cv_func__sqrtl_use=yes
57092 glibcxx_cv_func__sqrtl_use=no
57094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57096 ac_cpp='$CPP $CPPFLAGS'
57097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57106 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57108 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57109 for ac_func in _sqrtl
57111 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57112 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57113 cat >>confdefs.h <<_ACEOF
57114 #define HAVE__SQRTL 1
57127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57128 $as_echo_n "checking for sincosl declaration... " >&6; }
57129 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57130 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57131 $as_echo_n "(cached) " >&6
57136 ac_cpp='$CXXCPP $CPPFLAGS'
57137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57142 /* end confdefs.h. */
57152 if ac_fn_cxx_try_compile "$LINENO"; then :
57153 glibcxx_cv_func_sincosl_use=yes
57155 glibcxx_cv_func_sincosl_use=no
57157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57159 ac_cpp='$CPP $CPPFLAGS'
57160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57169 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57171 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57172 for ac_func in sincosl
57174 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57175 if test "x$ac_cv_func_sincosl" = x""yes; then :
57176 cat >>confdefs.h <<_ACEOF
57177 #define HAVE_SINCOSL 1
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57186 $as_echo_n "checking for _sincosl declaration... " >&6; }
57187 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57188 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57189 $as_echo_n "(cached) " >&6
57194 ac_cpp='$CXXCPP $CPPFLAGS'
57195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57200 /* end confdefs.h. */
57210 if ac_fn_cxx_try_compile "$LINENO"; then :
57211 glibcxx_cv_func__sincosl_use=yes
57213 glibcxx_cv_func__sincosl_use=no
57215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57217 ac_cpp='$CPP $CPPFLAGS'
57218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57227 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57229 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57230 for ac_func in _sincosl
57232 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57233 if test "x$ac_cv_func__sincosl" = x""yes; then :
57234 cat >>confdefs.h <<_ACEOF
57235 #define HAVE__SINCOSL 1
57248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57249 $as_echo_n "checking for finitel declaration... " >&6; }
57250 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57251 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57252 $as_echo_n "(cached) " >&6
57257 ac_cpp='$CXXCPP $CPPFLAGS'
57258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57263 /* end confdefs.h. */
57265 #ifdef HAVE_IEEEFP_H
57266 #include <ieeefp.h>
57277 if ac_fn_cxx_try_compile "$LINENO"; then :
57278 glibcxx_cv_func_finitel_use=yes
57280 glibcxx_cv_func_finitel_use=no
57282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57284 ac_cpp='$CPP $CPPFLAGS'
57285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57294 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57296 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57297 for ac_func in finitel
57299 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57300 if test "x$ac_cv_func_finitel" = x""yes; then :
57301 cat >>confdefs.h <<_ACEOF
57302 #define HAVE_FINITEL 1
57310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57311 $as_echo_n "checking for _finitel declaration... " >&6; }
57312 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57313 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57314 $as_echo_n "(cached) " >&6
57319 ac_cpp='$CXXCPP $CPPFLAGS'
57320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57325 /* end confdefs.h. */
57327 #ifdef HAVE_IEEEFP_H
57328 #include <ieeefp.h>
57339 if ac_fn_cxx_try_compile "$LINENO"; then :
57340 glibcxx_cv_func__finitel_use=yes
57342 glibcxx_cv_func__finitel_use=no
57344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57346 ac_cpp='$CPP $CPPFLAGS'
57347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57356 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57358 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57359 for ac_func in _finitel
57361 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57362 if test "x$ac_cv_func__finitel" = x""yes; then :
57363 cat >>confdefs.h <<_ACEOF
57364 #define HAVE__FINITEL 1
57376 LIBS="$ac_save_LIBS"
57377 CXXFLAGS="$ac_save_CXXFLAGS"
57380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57381 ac_save_CXXFLAGS="$CXXFLAGS"
57382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57386 $as_echo_n "checking for strtold declaration... " >&6; }
57387 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57388 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57389 $as_echo_n "(cached) " >&6
57394 ac_cpp='$CXXCPP $CPPFLAGS'
57395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57400 /* end confdefs.h. */
57401 #include <stdlib.h>
57410 if ac_fn_cxx_try_compile "$LINENO"; then :
57411 glibcxx_cv_func_strtold_use=yes
57413 glibcxx_cv_func_strtold_use=no
57415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417 ac_cpp='$CPP $CPPFLAGS'
57418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57427 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57428 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57429 for ac_func in strtold
57431 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57432 if test "x$ac_cv_func_strtold" = x""yes; then :
57433 cat >>confdefs.h <<_ACEOF
57434 #define HAVE_STRTOLD 1
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57446 $as_echo_n "checking for strtof declaration... " >&6; }
57447 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57448 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57449 $as_echo_n "(cached) " >&6
57454 ac_cpp='$CXXCPP $CPPFLAGS'
57455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57460 /* end confdefs.h. */
57461 #include <stdlib.h>
57470 if ac_fn_cxx_try_compile "$LINENO"; then :
57471 glibcxx_cv_func_strtof_use=yes
57473 glibcxx_cv_func_strtof_use=no
57475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57477 ac_cpp='$CPP $CPPFLAGS'
57478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57487 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57488 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57489 for ac_func in strtof
57491 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57492 if test "x$ac_cv_func_strtof" = x""yes; then :
57493 cat >>confdefs.h <<_ACEOF
57494 #define HAVE_STRTOF 1
57505 CXXFLAGS="$ac_save_CXXFLAGS"
57509 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57512 # If we're not using GNU ld, then there's no point in even trying these
57513 # tests. Check for that first. We should have already tested for gld
57514 # by now (in libtool), but require it now just to be safe...
57515 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57516 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57520 # The name set by libtool depends on the version of libtool. Shame on us
57521 # for depending on an impl detail, but c'est la vie. Older versions used
57522 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57523 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57524 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57525 # set (hence we're using an older libtool), then set it.
57526 if test x${with_gnu_ld+set} != xset; then
57527 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57528 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57531 with_gnu_ld=$ac_cv_prog_gnu_ld
57535 # Start by getting the version number. I think the libtool test already
57536 # does some of this, but throws away the result.
57537 glibcxx_ld_is_gold=no
57538 if test x"$with_gnu_ld" = x"yes"; then
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57540 $as_echo_n "checking for ld version... " >&6; }
57542 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57543 glibcxx_ld_is_gold=yes
57545 ldver=`$LD --version 2>/dev/null |
57546 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57548 glibcxx_gnu_ld_version=`echo $ldver | \
57549 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57551 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57554 # Set --gc-sections.
57555 glibcxx_have_gc_sections=no
57556 if test "$glibcxx_ld_is_gold" = "yes"; then
57557 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57558 glibcxx_have_gc_sections=yes
57561 glibcxx_gcsections_min_ld=21602
57562 if test x"$with_gnu_ld" = x"yes" &&
57563 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57564 glibcxx_have_gc_sections=yes
57567 if test "$glibcxx_have_gc_sections" = "yes"; then
57568 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57569 # NB: This flag only works reliably after 2.16.1. Configure tests
57570 # for this are difficult, so hard wire a value that should work.
57572 ac_test_CFLAGS="${CFLAGS+set}"
57573 ac_save_CFLAGS="$CFLAGS"
57574 CFLAGS='-Wl,--gc-sections'
57576 # Check for -Wl,--gc-sections
57577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57578 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57579 if test x$gcc_no_link = xyes; then
57580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57583 /* end confdefs.h. */
57584 int one(void) { return 1; }
57585 int two(void) { return 2; }
57595 if ac_fn_c_try_link "$LINENO"; then :
57600 rm -f core conftest.err conftest.$ac_objext \
57601 conftest$ac_exeext conftest.$ac_ext
57602 if test "$ac_gcsections" = "yes"; then
57605 if $CC -c conftest.c; then
57606 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57607 grep "Warning: gc-sections option ignored" > /dev/null; then
57611 rm -f conftest.c conftest.o conftest
57613 if test "$ac_gcsections" = "yes"; then
57614 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57617 $as_echo "$ac_gcsections" >&6; }
57619 if test "$ac_test_CFLAGS" = set; then
57620 CFLAGS="$ac_save_CFLAGS"
57622 # this is the suspicious part
57628 # Note this is only for shared objects.
57630 if test x"$with_gnu_ld" = x"yes"; then
57631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57632 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57633 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57634 if test -n "$cxx_z_relo"; then
57635 OPT_LDFLAGS="-Wl,-z,relro"
57638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57639 $as_echo "$ac_ld_relro" >&6; }
57642 # Set linker optimization flags.
57643 if test x"$with_gnu_ld" = x"yes"; then
57644 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57650 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57652 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57654 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57656 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57658 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57660 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57662 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57664 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57666 if test x"long_double_math_on_this_cpu" = x"yes"; then
57667 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57669 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57671 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57675 *-qnx6.1* | *-qnx6.2*)
57676 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57679 # If we're not using GNU ld, then there's no point in even trying these
57680 # tests. Check for that first. We should have already tested for gld
57681 # by now (in libtool), but require it now just to be safe...
57682 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57683 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57687 # The name set by libtool depends on the version of libtool. Shame on us
57688 # for depending on an impl detail, but c'est la vie. Older versions used
57689 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57690 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57691 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57692 # set (hence we're using an older libtool), then set it.
57693 if test x${with_gnu_ld+set} != xset; then
57694 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57695 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57698 with_gnu_ld=$ac_cv_prog_gnu_ld
57702 # Start by getting the version number. I think the libtool test already
57703 # does some of this, but throws away the result.
57704 glibcxx_ld_is_gold=no
57705 if test x"$with_gnu_ld" = x"yes"; then
57706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57707 $as_echo_n "checking for ld version... " >&6; }
57709 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57710 glibcxx_ld_is_gold=yes
57712 ldver=`$LD --version 2>/dev/null |
57713 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57715 glibcxx_gnu_ld_version=`echo $ldver | \
57716 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57718 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57721 # Set --gc-sections.
57722 glibcxx_have_gc_sections=no
57723 if test "$glibcxx_ld_is_gold" = "yes"; then
57724 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57725 glibcxx_have_gc_sections=yes
57728 glibcxx_gcsections_min_ld=21602
57729 if test x"$with_gnu_ld" = x"yes" &&
57730 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57731 glibcxx_have_gc_sections=yes
57734 if test "$glibcxx_have_gc_sections" = "yes"; then
57735 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57736 # NB: This flag only works reliably after 2.16.1. Configure tests
57737 # for this are difficult, so hard wire a value that should work.
57739 ac_test_CFLAGS="${CFLAGS+set}"
57740 ac_save_CFLAGS="$CFLAGS"
57741 CFLAGS='-Wl,--gc-sections'
57743 # Check for -Wl,--gc-sections
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57745 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57746 if test x$gcc_no_link = xyes; then
57747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57750 /* end confdefs.h. */
57751 int one(void) { return 1; }
57752 int two(void) { return 2; }
57762 if ac_fn_c_try_link "$LINENO"; then :
57767 rm -f core conftest.err conftest.$ac_objext \
57768 conftest$ac_exeext conftest.$ac_ext
57769 if test "$ac_gcsections" = "yes"; then
57772 if $CC -c conftest.c; then
57773 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57774 grep "Warning: gc-sections option ignored" > /dev/null; then
57778 rm -f conftest.c conftest.o conftest
57780 if test "$ac_gcsections" = "yes"; then
57781 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57784 $as_echo "$ac_gcsections" >&6; }
57786 if test "$ac_test_CFLAGS" = set; then
57787 CFLAGS="$ac_save_CFLAGS"
57789 # this is the suspicious part
57795 # Note this is only for shared objects.
57797 if test x"$with_gnu_ld" = x"yes"; then
57798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57799 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57800 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57801 if test -n "$cxx_z_relo"; then
57802 OPT_LDFLAGS="-Wl,-z,relro"
57805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57806 $as_echo "$ac_ld_relro" >&6; }
57809 # Set linker optimization flags.
57810 if test x"$with_gnu_ld" = x"yes"; then
57811 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57817 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57819 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57821 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57823 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57825 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57827 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57829 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57831 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57833 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57835 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57837 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57839 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57844 # All these tests are for C++; save the language and the compiler flags.
57845 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57846 # found in GLIBCXX_CONFIGURE.
57849 ac_cpp='$CXXCPP $CPPFLAGS'
57850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57854 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57855 ac_save_CXXFLAGS="$CXXFLAGS"
57857 # Check for maintainer-mode bits.
57858 if test x"$USE_MAINTAINER_MODE" = xno; then
57864 # Check for -ffunction-sections -fdata-sections
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57866 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57867 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57869 /* end confdefs.h. */
57870 int foo; void bar() { };
57879 if ac_fn_cxx_try_compile "$LINENO"; then :
57884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57885 if test "$ac_test_CXXFLAGS" = set; then
57886 CXXFLAGS="$ac_save_CXXFLAGS"
57888 # this is the suspicious part
57891 if test x"$ac_fdsections" = x"yes"; then
57892 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57895 $as_echo "$ac_fdsections" >&6; }
57898 ac_cpp='$CPP $CPPFLAGS'
57899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57907 # If we're not using GNU ld, then there's no point in even trying these
57908 # tests. Check for that first. We should have already tested for gld
57909 # by now (in libtool), but require it now just to be safe...
57910 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57911 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57915 # The name set by libtool depends on the version of libtool. Shame on us
57916 # for depending on an impl detail, but c'est la vie. Older versions used
57917 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57918 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57919 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57920 # set (hence we're using an older libtool), then set it.
57921 if test x${with_gnu_ld+set} != xset; then
57922 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57923 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57926 with_gnu_ld=$ac_cv_prog_gnu_ld
57930 # Start by getting the version number. I think the libtool test already
57931 # does some of this, but throws away the result.
57932 glibcxx_ld_is_gold=no
57933 if test x"$with_gnu_ld" = x"yes"; then
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57935 $as_echo_n "checking for ld version... " >&6; }
57937 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57938 glibcxx_ld_is_gold=yes
57940 ldver=`$LD --version 2>/dev/null |
57941 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57943 glibcxx_gnu_ld_version=`echo $ldver | \
57944 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57946 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57949 # Set --gc-sections.
57950 glibcxx_have_gc_sections=no
57951 if test "$glibcxx_ld_is_gold" = "yes"; then
57952 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57953 glibcxx_have_gc_sections=yes
57956 glibcxx_gcsections_min_ld=21602
57957 if test x"$with_gnu_ld" = x"yes" &&
57958 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57959 glibcxx_have_gc_sections=yes
57962 if test "$glibcxx_have_gc_sections" = "yes"; then
57963 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57964 # NB: This flag only works reliably after 2.16.1. Configure tests
57965 # for this are difficult, so hard wire a value that should work.
57967 ac_test_CFLAGS="${CFLAGS+set}"
57968 ac_save_CFLAGS="$CFLAGS"
57969 CFLAGS='-Wl,--gc-sections'
57971 # Check for -Wl,--gc-sections
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57973 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57974 if test x$gcc_no_link = xyes; then
57975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57978 /* end confdefs.h. */
57979 int one(void) { return 1; }
57980 int two(void) { return 2; }
57990 if ac_fn_c_try_link "$LINENO"; then :
57995 rm -f core conftest.err conftest.$ac_objext \
57996 conftest$ac_exeext conftest.$ac_ext
57997 if test "$ac_gcsections" = "yes"; then
58000 if $CC -c conftest.c; then
58001 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58002 grep "Warning: gc-sections option ignored" > /dev/null; then
58006 rm -f conftest.c conftest.o conftest
58008 if test "$ac_gcsections" = "yes"; then
58009 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58012 $as_echo "$ac_gcsections" >&6; }
58014 if test "$ac_test_CFLAGS" = set; then
58015 CFLAGS="$ac_save_CFLAGS"
58017 # this is the suspicious part
58023 # Note this is only for shared objects.
58025 if test x"$with_gnu_ld" = x"yes"; then
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58027 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58028 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58029 if test -n "$cxx_z_relo"; then
58030 OPT_LDFLAGS="-Wl,-z,relro"
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58034 $as_echo "$ac_ld_relro" >&6; }
58037 # Set linker optimization flags.
58038 if test x"$with_gnu_ld" = x"yes"; then
58039 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58046 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58047 ac_save_CXXFLAGS="$CXXFLAGS"
58048 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58051 $as_echo_n "checking for sin in -lm... " >&6; }
58052 if test "${ac_cv_lib_m_sin+set}" = set; then :
58053 $as_echo_n "(cached) " >&6
58055 ac_check_lib_save_LIBS=$LIBS
58057 if test x$gcc_no_link = xyes; then
58058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58061 /* end confdefs.h. */
58063 /* Override any GCC internal prototype to avoid an error.
58064 Use char because int might match the return type of a GCC
58065 builtin and then its argument prototype would still apply. */
58078 if ac_fn_c_try_link "$LINENO"; then :
58079 ac_cv_lib_m_sin=yes
58083 rm -f core conftest.err conftest.$ac_objext \
58084 conftest$ac_exeext conftest.$ac_ext
58085 LIBS=$ac_check_lib_save_LIBS
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58088 $as_echo "$ac_cv_lib_m_sin" >&6; }
58089 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58093 ac_save_LIBS="$LIBS"
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58099 $as_echo_n "checking for isinf declaration... " >&6; }
58100 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58101 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58102 $as_echo_n "(cached) " >&6
58107 ac_cpp='$CXXCPP $CPPFLAGS'
58108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58113 /* end confdefs.h. */
58115 #ifdef HAVE_IEEEFP_H
58116 #include <ieeefp.h>
58127 if ac_fn_cxx_try_compile "$LINENO"; then :
58128 glibcxx_cv_func_isinf_use=yes
58130 glibcxx_cv_func_isinf_use=no
58132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58134 ac_cpp='$CPP $CPPFLAGS'
58135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58144 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58146 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58147 for ac_func in isinf
58149 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58150 if test "x$ac_cv_func_isinf" = x""yes; then :
58151 cat >>confdefs.h <<_ACEOF
58152 #define HAVE_ISINF 1
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58161 $as_echo_n "checking for _isinf declaration... " >&6; }
58162 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58163 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58164 $as_echo_n "(cached) " >&6
58169 ac_cpp='$CXXCPP $CPPFLAGS'
58170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58175 /* end confdefs.h. */
58177 #ifdef HAVE_IEEEFP_H
58178 #include <ieeefp.h>
58189 if ac_fn_cxx_try_compile "$LINENO"; then :
58190 glibcxx_cv_func__isinf_use=yes
58192 glibcxx_cv_func__isinf_use=no
58194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58196 ac_cpp='$CPP $CPPFLAGS'
58197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58206 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58208 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58209 for ac_func in _isinf
58211 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58212 if test "x$ac_cv_func__isinf" = x""yes; then :
58213 cat >>confdefs.h <<_ACEOF
58214 #define HAVE__ISINF 1
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58228 $as_echo_n "checking for isnan declaration... " >&6; }
58229 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58230 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58231 $as_echo_n "(cached) " >&6
58236 ac_cpp='$CXXCPP $CPPFLAGS'
58237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58242 /* end confdefs.h. */
58244 #ifdef HAVE_IEEEFP_H
58245 #include <ieeefp.h>
58256 if ac_fn_cxx_try_compile "$LINENO"; then :
58257 glibcxx_cv_func_isnan_use=yes
58259 glibcxx_cv_func_isnan_use=no
58261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58263 ac_cpp='$CPP $CPPFLAGS'
58264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58273 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58275 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58276 for ac_func in isnan
58278 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58279 if test "x$ac_cv_func_isnan" = x""yes; then :
58280 cat >>confdefs.h <<_ACEOF
58281 #define HAVE_ISNAN 1
58289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58290 $as_echo_n "checking for _isnan declaration... " >&6; }
58291 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58292 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58293 $as_echo_n "(cached) " >&6
58298 ac_cpp='$CXXCPP $CPPFLAGS'
58299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58304 /* end confdefs.h. */
58306 #ifdef HAVE_IEEEFP_H
58307 #include <ieeefp.h>
58318 if ac_fn_cxx_try_compile "$LINENO"; then :
58319 glibcxx_cv_func__isnan_use=yes
58321 glibcxx_cv_func__isnan_use=no
58323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58325 ac_cpp='$CPP $CPPFLAGS'
58326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58335 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58337 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58338 for ac_func in _isnan
58340 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58341 if test "x$ac_cv_func__isnan" = x""yes; then :
58342 cat >>confdefs.h <<_ACEOF
58343 #define HAVE__ISNAN 1
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58357 $as_echo_n "checking for finite declaration... " >&6; }
58358 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58359 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58360 $as_echo_n "(cached) " >&6
58365 ac_cpp='$CXXCPP $CPPFLAGS'
58366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58371 /* end confdefs.h. */
58373 #ifdef HAVE_IEEEFP_H
58374 #include <ieeefp.h>
58385 if ac_fn_cxx_try_compile "$LINENO"; then :
58386 glibcxx_cv_func_finite_use=yes
58388 glibcxx_cv_func_finite_use=no
58390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58392 ac_cpp='$CPP $CPPFLAGS'
58393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58402 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58404 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58405 for ac_func in finite
58407 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58408 if test "x$ac_cv_func_finite" = x""yes; then :
58409 cat >>confdefs.h <<_ACEOF
58410 #define HAVE_FINITE 1
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58419 $as_echo_n "checking for _finite declaration... " >&6; }
58420 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58421 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58422 $as_echo_n "(cached) " >&6
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h. */
58435 #ifdef HAVE_IEEEFP_H
58436 #include <ieeefp.h>
58447 if ac_fn_cxx_try_compile "$LINENO"; then :
58448 glibcxx_cv_func__finite_use=yes
58450 glibcxx_cv_func__finite_use=no
58452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58454 ac_cpp='$CPP $CPPFLAGS'
58455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58464 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58466 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58467 for ac_func in _finite
58469 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58470 if test "x$ac_cv_func__finite" = x""yes; then :
58471 cat >>confdefs.h <<_ACEOF
58472 #define HAVE__FINITE 1
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58486 $as_echo_n "checking for sincos declaration... " >&6; }
58487 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58488 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58489 $as_echo_n "(cached) " >&6
58494 ac_cpp='$CXXCPP $CPPFLAGS'
58495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58500 /* end confdefs.h. */
58510 if ac_fn_cxx_try_compile "$LINENO"; then :
58511 glibcxx_cv_func_sincos_use=yes
58513 glibcxx_cv_func_sincos_use=no
58515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58517 ac_cpp='$CPP $CPPFLAGS'
58518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58527 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58529 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58530 for ac_func in sincos
58532 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58533 if test "x$ac_cv_func_sincos" = x""yes; then :
58534 cat >>confdefs.h <<_ACEOF
58535 #define HAVE_SINCOS 1
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58544 $as_echo_n "checking for _sincos declaration... " >&6; }
58545 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58546 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58547 $as_echo_n "(cached) " >&6
58552 ac_cpp='$CXXCPP $CPPFLAGS'
58553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58568 if ac_fn_cxx_try_compile "$LINENO"; then :
58569 glibcxx_cv_func__sincos_use=yes
58571 glibcxx_cv_func__sincos_use=no
58573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58575 ac_cpp='$CPP $CPPFLAGS'
58576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58585 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58587 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58588 for ac_func in _sincos
58590 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58591 if test "x$ac_cv_func__sincos" = x""yes; then :
58592 cat >>confdefs.h <<_ACEOF
58593 #define HAVE__SINCOS 1
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58607 $as_echo_n "checking for fpclass declaration... " >&6; }
58608 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58609 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58610 $as_echo_n "(cached) " >&6
58615 ac_cpp='$CXXCPP $CPPFLAGS'
58616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58621 /* end confdefs.h. */
58623 #ifdef HAVE_IEEEFP_H
58624 #include <ieeefp.h>
58635 if ac_fn_cxx_try_compile "$LINENO"; then :
58636 glibcxx_cv_func_fpclass_use=yes
58638 glibcxx_cv_func_fpclass_use=no
58640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58642 ac_cpp='$CPP $CPPFLAGS'
58643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58652 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58654 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58655 for ac_func in fpclass
58657 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58658 if test "x$ac_cv_func_fpclass" = x""yes; then :
58659 cat >>confdefs.h <<_ACEOF
58660 #define HAVE_FPCLASS 1
58668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58669 $as_echo_n "checking for _fpclass declaration... " >&6; }
58670 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58671 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58672 $as_echo_n "(cached) " >&6
58677 ac_cpp='$CXXCPP $CPPFLAGS'
58678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58683 /* end confdefs.h. */
58685 #ifdef HAVE_IEEEFP_H
58686 #include <ieeefp.h>
58697 if ac_fn_cxx_try_compile "$LINENO"; then :
58698 glibcxx_cv_func__fpclass_use=yes
58700 glibcxx_cv_func__fpclass_use=no
58702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58704 ac_cpp='$CPP $CPPFLAGS'
58705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58714 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58716 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58717 for ac_func in _fpclass
58719 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58720 if test "x$ac_cv_func__fpclass" = x""yes; then :
58721 cat >>confdefs.h <<_ACEOF
58722 #define HAVE__FPCLASS 1
58735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58736 $as_echo_n "checking for qfpclass declaration... " >&6; }
58737 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58738 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58739 $as_echo_n "(cached) " >&6
58744 ac_cpp='$CXXCPP $CPPFLAGS'
58745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58750 /* end confdefs.h. */
58752 #ifdef HAVE_IEEEFP_H
58753 #include <ieeefp.h>
58764 if ac_fn_cxx_try_compile "$LINENO"; then :
58765 glibcxx_cv_func_qfpclass_use=yes
58767 glibcxx_cv_func_qfpclass_use=no
58769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58771 ac_cpp='$CPP $CPPFLAGS'
58772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58781 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58783 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58784 for ac_func in qfpclass
58786 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58787 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58788 cat >>confdefs.h <<_ACEOF
58789 #define HAVE_QFPCLASS 1
58797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58798 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58799 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58800 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58801 $as_echo_n "(cached) " >&6
58806 ac_cpp='$CXXCPP $CPPFLAGS'
58807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58812 /* end confdefs.h. */
58814 #ifdef HAVE_IEEEFP_H
58815 #include <ieeefp.h>
58826 if ac_fn_cxx_try_compile "$LINENO"; then :
58827 glibcxx_cv_func__qfpclass_use=yes
58829 glibcxx_cv_func__qfpclass_use=no
58831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58833 ac_cpp='$CPP $CPPFLAGS'
58834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58843 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58845 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58846 for ac_func in _qfpclass
58848 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58849 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58850 cat >>confdefs.h <<_ACEOF
58851 #define HAVE__QFPCLASS 1
58864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58865 $as_echo_n "checking for hypot declaration... " >&6; }
58866 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58867 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58868 $as_echo_n "(cached) " >&6
58873 ac_cpp='$CXXCPP $CPPFLAGS'
58874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58879 /* end confdefs.h. */
58889 if ac_fn_cxx_try_compile "$LINENO"; then :
58890 glibcxx_cv_func_hypot_use=yes
58892 glibcxx_cv_func_hypot_use=no
58894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58896 ac_cpp='$CPP $CPPFLAGS'
58897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58906 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58908 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58909 for ac_func in hypot
58911 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58912 if test "x$ac_cv_func_hypot" = x""yes; then :
58913 cat >>confdefs.h <<_ACEOF
58914 #define HAVE_HYPOT 1
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58923 $as_echo_n "checking for _hypot declaration... " >&6; }
58924 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58925 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58926 $as_echo_n "(cached) " >&6
58931 ac_cpp='$CXXCPP $CPPFLAGS'
58932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58937 /* end confdefs.h. */
58947 if ac_fn_cxx_try_compile "$LINENO"; then :
58948 glibcxx_cv_func__hypot_use=yes
58950 glibcxx_cv_func__hypot_use=no
58952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58954 ac_cpp='$CPP $CPPFLAGS'
58955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58964 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58966 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58967 for ac_func in _hypot
58969 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58970 if test "x$ac_cv_func__hypot" = x""yes; then :
58971 cat >>confdefs.h <<_ACEOF
58972 #define HAVE__HYPOT 1
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58986 $as_echo_n "checking for float trig functions... " >&6; }
58987 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58988 $as_echo_n "(cached) " >&6
58993 ac_cpp='$CXXCPP $CPPFLAGS'
58994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58999 /* end confdefs.h. */
59004 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59009 if ac_fn_cxx_try_compile "$LINENO"; then :
59010 glibcxx_cv_func_float_trig_use=yes
59012 glibcxx_cv_func_float_trig_use=no
59014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59016 ac_cpp='$CPP $CPPFLAGS'
59017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59024 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59025 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59026 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59030 eval as_val=\$$as_ac_var
59031 if test "x$as_val" = x""yes; then :
59032 cat >>confdefs.h <<_ACEOF
59033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59041 $as_echo_n "checking for _float trig functions... " >&6; }
59042 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59043 $as_echo_n "(cached) " >&6
59048 ac_cpp='$CXXCPP $CPPFLAGS'
59049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59054 /* end confdefs.h. */
59059 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59064 if ac_fn_cxx_try_compile "$LINENO"; then :
59065 glibcxx_cv_func__float_trig_use=yes
59067 glibcxx_cv_func__float_trig_use=no
59069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59071 ac_cpp='$CPP $CPPFLAGS'
59072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59079 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59080 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59081 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59085 eval as_val=\$$as_ac_var
59086 if test "x$as_val" = x""yes; then :
59087 cat >>confdefs.h <<_ACEOF
59088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59102 $as_echo_n "checking for float round functions... " >&6; }
59103 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59104 $as_echo_n "(cached) " >&6
59109 ac_cpp='$CXXCPP $CPPFLAGS'
59110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115 /* end confdefs.h. */
59120 ceilf (0); floorf (0);
59125 if ac_fn_cxx_try_compile "$LINENO"; then :
59126 glibcxx_cv_func_float_round_use=yes
59128 glibcxx_cv_func_float_round_use=no
59130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59132 ac_cpp='$CPP $CPPFLAGS'
59133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59140 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59141 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59142 for ac_func in ceilf floorf
59144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59146 eval as_val=\$$as_ac_var
59147 if test "x$as_val" = x""yes; then :
59148 cat >>confdefs.h <<_ACEOF
59149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59157 $as_echo_n "checking for _float round functions... " >&6; }
59158 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59159 $as_echo_n "(cached) " >&6
59164 ac_cpp='$CXXCPP $CPPFLAGS'
59165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59170 /* end confdefs.h. */
59175 _ceilf (0); _floorf (0);
59180 if ac_fn_cxx_try_compile "$LINENO"; then :
59181 glibcxx_cv_func__float_round_use=yes
59183 glibcxx_cv_func__float_round_use=no
59185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59187 ac_cpp='$CPP $CPPFLAGS'
59188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59195 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59196 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59197 for ac_func in _ceilf _floorf
59199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59201 eval as_val=\$$as_ac_var
59202 if test "x$as_val" = x""yes; then :
59203 cat >>confdefs.h <<_ACEOF
59204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59219 $as_echo_n "checking for expf declaration... " >&6; }
59220 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59221 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59222 $as_echo_n "(cached) " >&6
59227 ac_cpp='$CXXCPP $CPPFLAGS'
59228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59233 /* end confdefs.h. */
59235 #ifdef HAVE_IEEEFP_H
59236 #include <ieeefp.h>
59247 if ac_fn_cxx_try_compile "$LINENO"; then :
59248 glibcxx_cv_func_expf_use=yes
59250 glibcxx_cv_func_expf_use=no
59252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59254 ac_cpp='$CPP $CPPFLAGS'
59255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59264 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59266 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59267 for ac_func in expf
59269 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59270 if test "x$ac_cv_func_expf" = x""yes; then :
59271 cat >>confdefs.h <<_ACEOF
59272 #define HAVE_EXPF 1
59280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59281 $as_echo_n "checking for _expf declaration... " >&6; }
59282 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59283 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59284 $as_echo_n "(cached) " >&6
59289 ac_cpp='$CXXCPP $CPPFLAGS'
59290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59295 /* end confdefs.h. */
59297 #ifdef HAVE_IEEEFP_H
59298 #include <ieeefp.h>
59309 if ac_fn_cxx_try_compile "$LINENO"; then :
59310 glibcxx_cv_func__expf_use=yes
59312 glibcxx_cv_func__expf_use=no
59314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59316 ac_cpp='$CPP $CPPFLAGS'
59317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59326 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59328 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59329 for ac_func in _expf
59331 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59332 if test "x$ac_cv_func__expf" = x""yes; then :
59333 cat >>confdefs.h <<_ACEOF
59334 #define HAVE__EXPF 1
59347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59348 $as_echo_n "checking for isnanf declaration... " >&6; }
59349 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59350 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59351 $as_echo_n "(cached) " >&6
59356 ac_cpp='$CXXCPP $CPPFLAGS'
59357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59362 /* end confdefs.h. */
59364 #ifdef HAVE_IEEEFP_H
59365 #include <ieeefp.h>
59376 if ac_fn_cxx_try_compile "$LINENO"; then :
59377 glibcxx_cv_func_isnanf_use=yes
59379 glibcxx_cv_func_isnanf_use=no
59381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59383 ac_cpp='$CPP $CPPFLAGS'
59384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59393 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59395 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59396 for ac_func in isnanf
59398 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59399 if test "x$ac_cv_func_isnanf" = x""yes; then :
59400 cat >>confdefs.h <<_ACEOF
59401 #define HAVE_ISNANF 1
59409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59410 $as_echo_n "checking for _isnanf declaration... " >&6; }
59411 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59412 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59413 $as_echo_n "(cached) " >&6
59418 ac_cpp='$CXXCPP $CPPFLAGS'
59419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59424 /* end confdefs.h. */
59426 #ifdef HAVE_IEEEFP_H
59427 #include <ieeefp.h>
59438 if ac_fn_cxx_try_compile "$LINENO"; then :
59439 glibcxx_cv_func__isnanf_use=yes
59441 glibcxx_cv_func__isnanf_use=no
59443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59445 ac_cpp='$CPP $CPPFLAGS'
59446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59455 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59457 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59458 for ac_func in _isnanf
59460 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59461 if test "x$ac_cv_func__isnanf" = x""yes; then :
59462 cat >>confdefs.h <<_ACEOF
59463 #define HAVE__ISNANF 1
59476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59477 $as_echo_n "checking for isinff declaration... " >&6; }
59478 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59479 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59480 $as_echo_n "(cached) " >&6
59485 ac_cpp='$CXXCPP $CPPFLAGS'
59486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491 /* end confdefs.h. */
59493 #ifdef HAVE_IEEEFP_H
59494 #include <ieeefp.h>
59505 if ac_fn_cxx_try_compile "$LINENO"; then :
59506 glibcxx_cv_func_isinff_use=yes
59508 glibcxx_cv_func_isinff_use=no
59510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59512 ac_cpp='$CPP $CPPFLAGS'
59513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59522 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59524 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59525 for ac_func in isinff
59527 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59528 if test "x$ac_cv_func_isinff" = x""yes; then :
59529 cat >>confdefs.h <<_ACEOF
59530 #define HAVE_ISINFF 1
59538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59539 $as_echo_n "checking for _isinff declaration... " >&6; }
59540 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59541 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59542 $as_echo_n "(cached) " >&6
59547 ac_cpp='$CXXCPP $CPPFLAGS'
59548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59553 /* end confdefs.h. */
59555 #ifdef HAVE_IEEEFP_H
59556 #include <ieeefp.h>
59567 if ac_fn_cxx_try_compile "$LINENO"; then :
59568 glibcxx_cv_func__isinff_use=yes
59570 glibcxx_cv_func__isinff_use=no
59572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59574 ac_cpp='$CPP $CPPFLAGS'
59575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59584 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59586 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59587 for ac_func in _isinff
59589 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59590 if test "x$ac_cv_func__isinff" = x""yes; then :
59591 cat >>confdefs.h <<_ACEOF
59592 #define HAVE__ISINFF 1
59605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59606 $as_echo_n "checking for atan2f declaration... " >&6; }
59607 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59608 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59609 $as_echo_n "(cached) " >&6
59614 ac_cpp='$CXXCPP $CPPFLAGS'
59615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59620 /* end confdefs.h. */
59630 if ac_fn_cxx_try_compile "$LINENO"; then :
59631 glibcxx_cv_func_atan2f_use=yes
59633 glibcxx_cv_func_atan2f_use=no
59635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59637 ac_cpp='$CPP $CPPFLAGS'
59638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59647 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59649 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59650 for ac_func in atan2f
59652 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59653 if test "x$ac_cv_func_atan2f" = x""yes; then :
59654 cat >>confdefs.h <<_ACEOF
59655 #define HAVE_ATAN2F 1
59663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59664 $as_echo_n "checking for _atan2f declaration... " >&6; }
59665 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59666 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59667 $as_echo_n "(cached) " >&6
59672 ac_cpp='$CXXCPP $CPPFLAGS'
59673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59678 /* end confdefs.h. */
59688 if ac_fn_cxx_try_compile "$LINENO"; then :
59689 glibcxx_cv_func__atan2f_use=yes
59691 glibcxx_cv_func__atan2f_use=no
59693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59695 ac_cpp='$CPP $CPPFLAGS'
59696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59705 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59707 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59708 for ac_func in _atan2f
59710 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59711 if test "x$ac_cv_func__atan2f" = x""yes; then :
59712 cat >>confdefs.h <<_ACEOF
59713 #define HAVE__ATAN2F 1
59726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59727 $as_echo_n "checking for fabsf declaration... " >&6; }
59728 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59729 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59730 $as_echo_n "(cached) " >&6
59735 ac_cpp='$CXXCPP $CPPFLAGS'
59736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59741 /* end confdefs.h. */
59743 #ifdef HAVE_IEEEFP_H
59744 #include <ieeefp.h>
59755 if ac_fn_cxx_try_compile "$LINENO"; then :
59756 glibcxx_cv_func_fabsf_use=yes
59758 glibcxx_cv_func_fabsf_use=no
59760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59762 ac_cpp='$CPP $CPPFLAGS'
59763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59772 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59774 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59775 for ac_func in fabsf
59777 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59778 if test "x$ac_cv_func_fabsf" = x""yes; then :
59779 cat >>confdefs.h <<_ACEOF
59780 #define HAVE_FABSF 1
59788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59789 $as_echo_n "checking for _fabsf declaration... " >&6; }
59790 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59791 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59792 $as_echo_n "(cached) " >&6
59797 ac_cpp='$CXXCPP $CPPFLAGS'
59798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59803 /* end confdefs.h. */
59805 #ifdef HAVE_IEEEFP_H
59806 #include <ieeefp.h>
59817 if ac_fn_cxx_try_compile "$LINENO"; then :
59818 glibcxx_cv_func__fabsf_use=yes
59820 glibcxx_cv_func__fabsf_use=no
59822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59824 ac_cpp='$CPP $CPPFLAGS'
59825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59834 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59836 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59837 for ac_func in _fabsf
59839 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59840 if test "x$ac_cv_func__fabsf" = x""yes; then :
59841 cat >>confdefs.h <<_ACEOF
59842 #define HAVE__FABSF 1
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59856 $as_echo_n "checking for fmodf declaration... " >&6; }
59857 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59858 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59859 $as_echo_n "(cached) " >&6
59864 ac_cpp='$CXXCPP $CPPFLAGS'
59865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59870 /* end confdefs.h. */
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func_fmodf_use=yes
59883 glibcxx_cv_func_fmodf_use=no
59885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59887 ac_cpp='$CPP $CPPFLAGS'
59888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59897 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59899 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59900 for ac_func in fmodf
59902 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59903 if test "x$ac_cv_func_fmodf" = x""yes; then :
59904 cat >>confdefs.h <<_ACEOF
59905 #define HAVE_FMODF 1
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59914 $as_echo_n "checking for _fmodf declaration... " >&6; }
59915 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59916 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59917 $as_echo_n "(cached) " >&6
59922 ac_cpp='$CXXCPP $CPPFLAGS'
59923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59928 /* end confdefs.h. */
59938 if ac_fn_cxx_try_compile "$LINENO"; then :
59939 glibcxx_cv_func__fmodf_use=yes
59941 glibcxx_cv_func__fmodf_use=no
59943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59945 ac_cpp='$CPP $CPPFLAGS'
59946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59955 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59957 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59958 for ac_func in _fmodf
59960 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59961 if test "x$ac_cv_func__fmodf" = x""yes; then :
59962 cat >>confdefs.h <<_ACEOF
59963 #define HAVE__FMODF 1
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59977 $as_echo_n "checking for frexpf declaration... " >&6; }
59978 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59979 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59980 $as_echo_n "(cached) " >&6
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59991 /* end confdefs.h. */
60001 if ac_fn_cxx_try_compile "$LINENO"; then :
60002 glibcxx_cv_func_frexpf_use=yes
60004 glibcxx_cv_func_frexpf_use=no
60006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60008 ac_cpp='$CPP $CPPFLAGS'
60009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60018 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60020 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60021 for ac_func in frexpf
60023 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60024 if test "x$ac_cv_func_frexpf" = x""yes; then :
60025 cat >>confdefs.h <<_ACEOF
60026 #define HAVE_FREXPF 1
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60035 $as_echo_n "checking for _frexpf declaration... " >&6; }
60036 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60037 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60038 $as_echo_n "(cached) " >&6
60043 ac_cpp='$CXXCPP $CPPFLAGS'
60044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60049 /* end confdefs.h. */
60059 if ac_fn_cxx_try_compile "$LINENO"; then :
60060 glibcxx_cv_func__frexpf_use=yes
60062 glibcxx_cv_func__frexpf_use=no
60064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60066 ac_cpp='$CPP $CPPFLAGS'
60067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60076 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60078 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60079 for ac_func in _frexpf
60081 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60082 if test "x$ac_cv_func__frexpf" = x""yes; then :
60083 cat >>confdefs.h <<_ACEOF
60084 #define HAVE__FREXPF 1
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60098 $as_echo_n "checking for hypotf declaration... " >&6; }
60099 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60100 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60101 $as_echo_n "(cached) " >&6
60106 ac_cpp='$CXXCPP $CPPFLAGS'
60107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60112 /* end confdefs.h. */
60122 if ac_fn_cxx_try_compile "$LINENO"; then :
60123 glibcxx_cv_func_hypotf_use=yes
60125 glibcxx_cv_func_hypotf_use=no
60127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60129 ac_cpp='$CPP $CPPFLAGS'
60130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60139 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60141 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60142 for ac_func in hypotf
60144 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60145 if test "x$ac_cv_func_hypotf" = x""yes; then :
60146 cat >>confdefs.h <<_ACEOF
60147 #define HAVE_HYPOTF 1
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60156 $as_echo_n "checking for _hypotf declaration... " >&6; }
60157 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60158 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60159 $as_echo_n "(cached) " >&6
60164 ac_cpp='$CXXCPP $CPPFLAGS'
60165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60170 /* end confdefs.h. */
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181 glibcxx_cv_func__hypotf_use=yes
60183 glibcxx_cv_func__hypotf_use=no
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60187 ac_cpp='$CPP $CPPFLAGS'
60188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60197 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60199 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60200 for ac_func in _hypotf
60202 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60203 if test "x$ac_cv_func__hypotf" = x""yes; then :
60204 cat >>confdefs.h <<_ACEOF
60205 #define HAVE__HYPOTF 1
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60219 $as_echo_n "checking for ldexpf declaration... " >&6; }
60220 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60221 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60222 $as_echo_n "(cached) " >&6
60227 ac_cpp='$CXXCPP $CPPFLAGS'
60228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60233 /* end confdefs.h. */
60243 if ac_fn_cxx_try_compile "$LINENO"; then :
60244 glibcxx_cv_func_ldexpf_use=yes
60246 glibcxx_cv_func_ldexpf_use=no
60248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60250 ac_cpp='$CPP $CPPFLAGS'
60251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60260 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60262 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60263 for ac_func in ldexpf
60265 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60266 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60267 cat >>confdefs.h <<_ACEOF
60268 #define HAVE_LDEXPF 1
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60277 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60278 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60279 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60280 $as_echo_n "(cached) " >&6
60285 ac_cpp='$CXXCPP $CPPFLAGS'
60286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60291 /* end confdefs.h. */
60301 if ac_fn_cxx_try_compile "$LINENO"; then :
60302 glibcxx_cv_func__ldexpf_use=yes
60304 glibcxx_cv_func__ldexpf_use=no
60306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60308 ac_cpp='$CPP $CPPFLAGS'
60309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60318 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60320 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60321 for ac_func in _ldexpf
60323 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60324 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60325 cat >>confdefs.h <<_ACEOF
60326 #define HAVE__LDEXPF 1
60339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60340 $as_echo_n "checking for logf declaration... " >&6; }
60341 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60342 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60343 $as_echo_n "(cached) " >&6
60348 ac_cpp='$CXXCPP $CPPFLAGS'
60349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60354 /* end confdefs.h. */
60356 #ifdef HAVE_IEEEFP_H
60357 #include <ieeefp.h>
60368 if ac_fn_cxx_try_compile "$LINENO"; then :
60369 glibcxx_cv_func_logf_use=yes
60371 glibcxx_cv_func_logf_use=no
60373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60375 ac_cpp='$CPP $CPPFLAGS'
60376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60385 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60387 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60388 for ac_func in logf
60390 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60391 if test "x$ac_cv_func_logf" = x""yes; then :
60392 cat >>confdefs.h <<_ACEOF
60393 #define HAVE_LOGF 1
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60402 $as_echo_n "checking for _logf declaration... " >&6; }
60403 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60404 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60405 $as_echo_n "(cached) " >&6
60410 ac_cpp='$CXXCPP $CPPFLAGS'
60411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60416 /* end confdefs.h. */
60418 #ifdef HAVE_IEEEFP_H
60419 #include <ieeefp.h>
60430 if ac_fn_cxx_try_compile "$LINENO"; then :
60431 glibcxx_cv_func__logf_use=yes
60433 glibcxx_cv_func__logf_use=no
60435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60437 ac_cpp='$CPP $CPPFLAGS'
60438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60447 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60449 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60450 for ac_func in _logf
60452 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60453 if test "x$ac_cv_func__logf" = x""yes; then :
60454 cat >>confdefs.h <<_ACEOF
60455 #define HAVE__LOGF 1
60468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60469 $as_echo_n "checking for log10f declaration... " >&6; }
60470 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60471 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60472 $as_echo_n "(cached) " >&6
60477 ac_cpp='$CXXCPP $CPPFLAGS'
60478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60483 /* end confdefs.h. */
60485 #ifdef HAVE_IEEEFP_H
60486 #include <ieeefp.h>
60497 if ac_fn_cxx_try_compile "$LINENO"; then :
60498 glibcxx_cv_func_log10f_use=yes
60500 glibcxx_cv_func_log10f_use=no
60502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60504 ac_cpp='$CPP $CPPFLAGS'
60505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60514 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60516 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60517 for ac_func in log10f
60519 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60520 if test "x$ac_cv_func_log10f" = x""yes; then :
60521 cat >>confdefs.h <<_ACEOF
60522 #define HAVE_LOG10F 1
60530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60531 $as_echo_n "checking for _log10f declaration... " >&6; }
60532 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60533 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60534 $as_echo_n "(cached) " >&6
60539 ac_cpp='$CXXCPP $CPPFLAGS'
60540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60545 /* end confdefs.h. */
60547 #ifdef HAVE_IEEEFP_H
60548 #include <ieeefp.h>
60559 if ac_fn_cxx_try_compile "$LINENO"; then :
60560 glibcxx_cv_func__log10f_use=yes
60562 glibcxx_cv_func__log10f_use=no
60564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60566 ac_cpp='$CPP $CPPFLAGS'
60567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60576 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60578 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60579 for ac_func in _log10f
60581 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60582 if test "x$ac_cv_func__log10f" = x""yes; then :
60583 cat >>confdefs.h <<_ACEOF
60584 #define HAVE__LOG10F 1
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60598 $as_echo_n "checking for modff declaration... " >&6; }
60599 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60600 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60601 $as_echo_n "(cached) " >&6
60606 ac_cpp='$CXXCPP $CPPFLAGS'
60607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60612 /* end confdefs.h. */
60622 if ac_fn_cxx_try_compile "$LINENO"; then :
60623 glibcxx_cv_func_modff_use=yes
60625 glibcxx_cv_func_modff_use=no
60627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60629 ac_cpp='$CPP $CPPFLAGS'
60630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60639 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60641 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60642 for ac_func in modff
60644 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60645 if test "x$ac_cv_func_modff" = x""yes; then :
60646 cat >>confdefs.h <<_ACEOF
60647 #define HAVE_MODFF 1
60655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60656 $as_echo_n "checking for _modff declaration... " >&6; }
60657 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60658 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60659 $as_echo_n "(cached) " >&6
60664 ac_cpp='$CXXCPP $CPPFLAGS'
60665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60670 /* end confdefs.h. */
60680 if ac_fn_cxx_try_compile "$LINENO"; then :
60681 glibcxx_cv_func__modff_use=yes
60683 glibcxx_cv_func__modff_use=no
60685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60687 ac_cpp='$CPP $CPPFLAGS'
60688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60697 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60699 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60700 for ac_func in _modff
60702 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60703 if test "x$ac_cv_func__modff" = x""yes; then :
60704 cat >>confdefs.h <<_ACEOF
60705 #define HAVE__MODFF 1
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60719 $as_echo_n "checking for modf declaration... " >&6; }
60720 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60721 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60722 $as_echo_n "(cached) " >&6
60727 ac_cpp='$CXXCPP $CPPFLAGS'
60728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60733 /* end confdefs.h. */
60743 if ac_fn_cxx_try_compile "$LINENO"; then :
60744 glibcxx_cv_func_modf_use=yes
60746 glibcxx_cv_func_modf_use=no
60748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60750 ac_cpp='$CPP $CPPFLAGS'
60751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60760 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60762 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60763 for ac_func in modf
60765 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60766 if test "x$ac_cv_func_modf" = x""yes; then :
60767 cat >>confdefs.h <<_ACEOF
60768 #define HAVE_MODF 1
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60777 $as_echo_n "checking for _modf declaration... " >&6; }
60778 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60779 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60780 $as_echo_n "(cached) " >&6
60785 ac_cpp='$CXXCPP $CPPFLAGS'
60786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60791 /* end confdefs.h. */
60801 if ac_fn_cxx_try_compile "$LINENO"; then :
60802 glibcxx_cv_func__modf_use=yes
60804 glibcxx_cv_func__modf_use=no
60806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60808 ac_cpp='$CPP $CPPFLAGS'
60809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60818 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60820 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60821 for ac_func in _modf
60823 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60824 if test "x$ac_cv_func__modf" = x""yes; then :
60825 cat >>confdefs.h <<_ACEOF
60826 #define HAVE__MODF 1
60839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60840 $as_echo_n "checking for powf declaration... " >&6; }
60841 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60842 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60843 $as_echo_n "(cached) " >&6
60848 ac_cpp='$CXXCPP $CPPFLAGS'
60849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60854 /* end confdefs.h. */
60864 if ac_fn_cxx_try_compile "$LINENO"; then :
60865 glibcxx_cv_func_powf_use=yes
60867 glibcxx_cv_func_powf_use=no
60869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60871 ac_cpp='$CPP $CPPFLAGS'
60872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60881 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60883 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60884 for ac_func in powf
60886 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60887 if test "x$ac_cv_func_powf" = x""yes; then :
60888 cat >>confdefs.h <<_ACEOF
60889 #define HAVE_POWF 1
60897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60898 $as_echo_n "checking for _powf declaration... " >&6; }
60899 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60900 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60901 $as_echo_n "(cached) " >&6
60906 ac_cpp='$CXXCPP $CPPFLAGS'
60907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60912 /* end confdefs.h. */
60922 if ac_fn_cxx_try_compile "$LINENO"; then :
60923 glibcxx_cv_func__powf_use=yes
60925 glibcxx_cv_func__powf_use=no
60927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60929 ac_cpp='$CPP $CPPFLAGS'
60930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60939 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60941 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60942 for ac_func in _powf
60944 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60945 if test "x$ac_cv_func__powf" = x""yes; then :
60946 cat >>confdefs.h <<_ACEOF
60947 #define HAVE__POWF 1
60960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60961 $as_echo_n "checking for sqrtf declaration... " >&6; }
60962 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60963 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60964 $as_echo_n "(cached) " >&6
60969 ac_cpp='$CXXCPP $CPPFLAGS'
60970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60975 /* end confdefs.h. */
60977 #ifdef HAVE_IEEEFP_H
60978 #include <ieeefp.h>
60989 if ac_fn_cxx_try_compile "$LINENO"; then :
60990 glibcxx_cv_func_sqrtf_use=yes
60992 glibcxx_cv_func_sqrtf_use=no
60994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60996 ac_cpp='$CPP $CPPFLAGS'
60997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61006 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61008 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61009 for ac_func in sqrtf
61011 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61012 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61013 cat >>confdefs.h <<_ACEOF
61014 #define HAVE_SQRTF 1
61022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61023 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61024 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61025 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61026 $as_echo_n "(cached) " >&6
61031 ac_cpp='$CXXCPP $CPPFLAGS'
61032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61037 /* end confdefs.h. */
61039 #ifdef HAVE_IEEEFP_H
61040 #include <ieeefp.h>
61051 if ac_fn_cxx_try_compile "$LINENO"; then :
61052 glibcxx_cv_func__sqrtf_use=yes
61054 glibcxx_cv_func__sqrtf_use=no
61056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61058 ac_cpp='$CPP $CPPFLAGS'
61059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61068 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61070 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61071 for ac_func in _sqrtf
61073 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61074 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61075 cat >>confdefs.h <<_ACEOF
61076 #define HAVE__SQRTF 1
61089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61090 $as_echo_n "checking for sincosf declaration... " >&6; }
61091 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61092 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61093 $as_echo_n "(cached) " >&6
61098 ac_cpp='$CXXCPP $CPPFLAGS'
61099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61104 /* end confdefs.h. */
61114 if ac_fn_cxx_try_compile "$LINENO"; then :
61115 glibcxx_cv_func_sincosf_use=yes
61117 glibcxx_cv_func_sincosf_use=no
61119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61121 ac_cpp='$CPP $CPPFLAGS'
61122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61131 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61133 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61134 for ac_func in sincosf
61136 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61137 if test "x$ac_cv_func_sincosf" = x""yes; then :
61138 cat >>confdefs.h <<_ACEOF
61139 #define HAVE_SINCOSF 1
61147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61148 $as_echo_n "checking for _sincosf declaration... " >&6; }
61149 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61150 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61151 $as_echo_n "(cached) " >&6
61156 ac_cpp='$CXXCPP $CPPFLAGS'
61157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61162 /* end confdefs.h. */
61172 if ac_fn_cxx_try_compile "$LINENO"; then :
61173 glibcxx_cv_func__sincosf_use=yes
61175 glibcxx_cv_func__sincosf_use=no
61177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61179 ac_cpp='$CPP $CPPFLAGS'
61180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61189 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61191 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61192 for ac_func in _sincosf
61194 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61195 if test "x$ac_cv_func__sincosf" = x""yes; then :
61196 cat >>confdefs.h <<_ACEOF
61197 #define HAVE__SINCOSF 1
61210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61211 $as_echo_n "checking for finitef declaration... " >&6; }
61212 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61213 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61214 $as_echo_n "(cached) " >&6
61219 ac_cpp='$CXXCPP $CPPFLAGS'
61220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61225 /* end confdefs.h. */
61227 #ifdef HAVE_IEEEFP_H
61228 #include <ieeefp.h>
61239 if ac_fn_cxx_try_compile "$LINENO"; then :
61240 glibcxx_cv_func_finitef_use=yes
61242 glibcxx_cv_func_finitef_use=no
61244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61246 ac_cpp='$CPP $CPPFLAGS'
61247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61256 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61258 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61259 for ac_func in finitef
61261 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61262 if test "x$ac_cv_func_finitef" = x""yes; then :
61263 cat >>confdefs.h <<_ACEOF
61264 #define HAVE_FINITEF 1
61272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61273 $as_echo_n "checking for _finitef declaration... " >&6; }
61274 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61275 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61276 $as_echo_n "(cached) " >&6
61281 ac_cpp='$CXXCPP $CPPFLAGS'
61282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61287 /* end confdefs.h. */
61289 #ifdef HAVE_IEEEFP_H
61290 #include <ieeefp.h>
61301 if ac_fn_cxx_try_compile "$LINENO"; then :
61302 glibcxx_cv_func__finitef_use=yes
61304 glibcxx_cv_func__finitef_use=no
61306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61308 ac_cpp='$CPP $CPPFLAGS'
61309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61318 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61320 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61321 for ac_func in _finitef
61323 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61324 if test "x$ac_cv_func__finitef" = x""yes; then :
61325 cat >>confdefs.h <<_ACEOF
61326 #define HAVE__FINITEF 1
61339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61340 $as_echo_n "checking for long double trig functions... " >&6; }
61341 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61342 $as_echo_n "(cached) " >&6
61347 ac_cpp='$CXXCPP $CPPFLAGS'
61348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61353 /* end confdefs.h. */
61358 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61363 if ac_fn_cxx_try_compile "$LINENO"; then :
61364 glibcxx_cv_func_long_double_trig_use=yes
61366 glibcxx_cv_func_long_double_trig_use=no
61368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61370 ac_cpp='$CPP $CPPFLAGS'
61371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61378 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61379 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61380 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61384 eval as_val=\$$as_ac_var
61385 if test "x$as_val" = x""yes; then :
61386 cat >>confdefs.h <<_ACEOF
61387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61395 $as_echo_n "checking for _long double trig functions... " >&6; }
61396 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61397 $as_echo_n "(cached) " >&6
61402 ac_cpp='$CXXCPP $CPPFLAGS'
61403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61408 /* end confdefs.h. */
61413 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61418 if ac_fn_cxx_try_compile "$LINENO"; then :
61419 glibcxx_cv_func__long_double_trig_use=yes
61421 glibcxx_cv_func__long_double_trig_use=no
61423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61425 ac_cpp='$CPP $CPPFLAGS'
61426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61433 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61434 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61435 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61439 eval as_val=\$$as_ac_var
61440 if test "x$as_val" = x""yes; then :
61441 cat >>confdefs.h <<_ACEOF
61442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61456 $as_echo_n "checking for long double round functions... " >&6; }
61457 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61458 $as_echo_n "(cached) " >&6
61463 ac_cpp='$CXXCPP $CPPFLAGS'
61464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61469 /* end confdefs.h. */
61474 ceill (0); floorl (0);
61479 if ac_fn_cxx_try_compile "$LINENO"; then :
61480 glibcxx_cv_func_long_double_round_use=yes
61482 glibcxx_cv_func_long_double_round_use=no
61484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61486 ac_cpp='$CPP $CPPFLAGS'
61487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61494 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61495 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61496 for ac_func in ceill floorl
61498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61500 eval as_val=\$$as_ac_var
61501 if test "x$as_val" = x""yes; then :
61502 cat >>confdefs.h <<_ACEOF
61503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61511 $as_echo_n "checking for _long double round functions... " >&6; }
61512 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61513 $as_echo_n "(cached) " >&6
61518 ac_cpp='$CXXCPP $CPPFLAGS'
61519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61524 /* end confdefs.h. */
61529 _ceill (0); _floorl (0);
61534 if ac_fn_cxx_try_compile "$LINENO"; then :
61535 glibcxx_cv_func__long_double_round_use=yes
61537 glibcxx_cv_func__long_double_round_use=no
61539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61541 ac_cpp='$CPP $CPPFLAGS'
61542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61549 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61550 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61551 for ac_func in _ceill _floorl
61553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61555 eval as_val=\$$as_ac_var
61556 if test "x$as_val" = x""yes; then :
61557 cat >>confdefs.h <<_ACEOF
61558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61573 $as_echo_n "checking for isnanl declaration... " >&6; }
61574 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61575 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61576 $as_echo_n "(cached) " >&6
61581 ac_cpp='$CXXCPP $CPPFLAGS'
61582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61587 /* end confdefs.h. */
61589 #ifdef HAVE_IEEEFP_H
61590 #include <ieeefp.h>
61601 if ac_fn_cxx_try_compile "$LINENO"; then :
61602 glibcxx_cv_func_isnanl_use=yes
61604 glibcxx_cv_func_isnanl_use=no
61606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61608 ac_cpp='$CPP $CPPFLAGS'
61609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61618 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61620 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61621 for ac_func in isnanl
61623 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61624 if test "x$ac_cv_func_isnanl" = x""yes; then :
61625 cat >>confdefs.h <<_ACEOF
61626 #define HAVE_ISNANL 1
61634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61635 $as_echo_n "checking for _isnanl declaration... " >&6; }
61636 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61637 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61638 $as_echo_n "(cached) " >&6
61643 ac_cpp='$CXXCPP $CPPFLAGS'
61644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61649 /* end confdefs.h. */
61651 #ifdef HAVE_IEEEFP_H
61652 #include <ieeefp.h>
61663 if ac_fn_cxx_try_compile "$LINENO"; then :
61664 glibcxx_cv_func__isnanl_use=yes
61666 glibcxx_cv_func__isnanl_use=no
61668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61670 ac_cpp='$CPP $CPPFLAGS'
61671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61680 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61682 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61683 for ac_func in _isnanl
61685 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61686 if test "x$ac_cv_func__isnanl" = x""yes; then :
61687 cat >>confdefs.h <<_ACEOF
61688 #define HAVE__ISNANL 1
61701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61702 $as_echo_n "checking for isinfl declaration... " >&6; }
61703 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61704 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61705 $as_echo_n "(cached) " >&6
61710 ac_cpp='$CXXCPP $CPPFLAGS'
61711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61716 /* end confdefs.h. */
61718 #ifdef HAVE_IEEEFP_H
61719 #include <ieeefp.h>
61730 if ac_fn_cxx_try_compile "$LINENO"; then :
61731 glibcxx_cv_func_isinfl_use=yes
61733 glibcxx_cv_func_isinfl_use=no
61735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61737 ac_cpp='$CPP $CPPFLAGS'
61738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61747 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61749 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61750 for ac_func in isinfl
61752 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61753 if test "x$ac_cv_func_isinfl" = x""yes; then :
61754 cat >>confdefs.h <<_ACEOF
61755 #define HAVE_ISINFL 1
61763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61764 $as_echo_n "checking for _isinfl declaration... " >&6; }
61765 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61766 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61767 $as_echo_n "(cached) " >&6
61772 ac_cpp='$CXXCPP $CPPFLAGS'
61773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61778 /* end confdefs.h. */
61780 #ifdef HAVE_IEEEFP_H
61781 #include <ieeefp.h>
61792 if ac_fn_cxx_try_compile "$LINENO"; then :
61793 glibcxx_cv_func__isinfl_use=yes
61795 glibcxx_cv_func__isinfl_use=no
61797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61799 ac_cpp='$CPP $CPPFLAGS'
61800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61809 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61811 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61812 for ac_func in _isinfl
61814 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61815 if test "x$ac_cv_func__isinfl" = x""yes; then :
61816 cat >>confdefs.h <<_ACEOF
61817 #define HAVE__ISINFL 1
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61831 $as_echo_n "checking for atan2l declaration... " >&6; }
61832 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61833 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61834 $as_echo_n "(cached) " >&6
61839 ac_cpp='$CXXCPP $CPPFLAGS'
61840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61845 /* end confdefs.h. */
61855 if ac_fn_cxx_try_compile "$LINENO"; then :
61856 glibcxx_cv_func_atan2l_use=yes
61858 glibcxx_cv_func_atan2l_use=no
61860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61862 ac_cpp='$CPP $CPPFLAGS'
61863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61872 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61874 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61875 for ac_func in atan2l
61877 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61878 if test "x$ac_cv_func_atan2l" = x""yes; then :
61879 cat >>confdefs.h <<_ACEOF
61880 #define HAVE_ATAN2L 1
61888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61889 $as_echo_n "checking for _atan2l declaration... " >&6; }
61890 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61891 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61892 $as_echo_n "(cached) " >&6
61897 ac_cpp='$CXXCPP $CPPFLAGS'
61898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61903 /* end confdefs.h. */
61913 if ac_fn_cxx_try_compile "$LINENO"; then :
61914 glibcxx_cv_func__atan2l_use=yes
61916 glibcxx_cv_func__atan2l_use=no
61918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61920 ac_cpp='$CPP $CPPFLAGS'
61921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61930 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61932 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61933 for ac_func in _atan2l
61935 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61936 if test "x$ac_cv_func__atan2l" = x""yes; then :
61937 cat >>confdefs.h <<_ACEOF
61938 #define HAVE__ATAN2L 1
61951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61952 $as_echo_n "checking for expl declaration... " >&6; }
61953 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61954 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61955 $as_echo_n "(cached) " >&6
61960 ac_cpp='$CXXCPP $CPPFLAGS'
61961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61966 /* end confdefs.h. */
61968 #ifdef HAVE_IEEEFP_H
61969 #include <ieeefp.h>
61980 if ac_fn_cxx_try_compile "$LINENO"; then :
61981 glibcxx_cv_func_expl_use=yes
61983 glibcxx_cv_func_expl_use=no
61985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61987 ac_cpp='$CPP $CPPFLAGS'
61988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61997 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61999 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62000 for ac_func in expl
62002 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62003 if test "x$ac_cv_func_expl" = x""yes; then :
62004 cat >>confdefs.h <<_ACEOF
62005 #define HAVE_EXPL 1
62013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62014 $as_echo_n "checking for _expl declaration... " >&6; }
62015 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62016 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62017 $as_echo_n "(cached) " >&6
62022 ac_cpp='$CXXCPP $CPPFLAGS'
62023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62028 /* end confdefs.h. */
62030 #ifdef HAVE_IEEEFP_H
62031 #include <ieeefp.h>
62042 if ac_fn_cxx_try_compile "$LINENO"; then :
62043 glibcxx_cv_func__expl_use=yes
62045 glibcxx_cv_func__expl_use=no
62047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62049 ac_cpp='$CPP $CPPFLAGS'
62050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62059 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62061 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62062 for ac_func in _expl
62064 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62065 if test "x$ac_cv_func__expl" = x""yes; then :
62066 cat >>confdefs.h <<_ACEOF
62067 #define HAVE__EXPL 1
62080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62081 $as_echo_n "checking for fabsl declaration... " >&6; }
62082 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62083 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62084 $as_echo_n "(cached) " >&6
62089 ac_cpp='$CXXCPP $CPPFLAGS'
62090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62095 /* end confdefs.h. */
62097 #ifdef HAVE_IEEEFP_H
62098 #include <ieeefp.h>
62109 if ac_fn_cxx_try_compile "$LINENO"; then :
62110 glibcxx_cv_func_fabsl_use=yes
62112 glibcxx_cv_func_fabsl_use=no
62114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62116 ac_cpp='$CPP $CPPFLAGS'
62117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62126 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62128 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62129 for ac_func in fabsl
62131 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62132 if test "x$ac_cv_func_fabsl" = x""yes; then :
62133 cat >>confdefs.h <<_ACEOF
62134 #define HAVE_FABSL 1
62142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62143 $as_echo_n "checking for _fabsl declaration... " >&6; }
62144 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62145 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62146 $as_echo_n "(cached) " >&6
62151 ac_cpp='$CXXCPP $CPPFLAGS'
62152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62157 /* end confdefs.h. */
62159 #ifdef HAVE_IEEEFP_H
62160 #include <ieeefp.h>
62171 if ac_fn_cxx_try_compile "$LINENO"; then :
62172 glibcxx_cv_func__fabsl_use=yes
62174 glibcxx_cv_func__fabsl_use=no
62176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62178 ac_cpp='$CPP $CPPFLAGS'
62179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62188 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62190 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62191 for ac_func in _fabsl
62193 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62194 if test "x$ac_cv_func__fabsl" = x""yes; then :
62195 cat >>confdefs.h <<_ACEOF
62196 #define HAVE__FABSL 1
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62210 $as_echo_n "checking for fmodl declaration... " >&6; }
62211 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62212 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62213 $as_echo_n "(cached) " >&6
62218 ac_cpp='$CXXCPP $CPPFLAGS'
62219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62224 /* end confdefs.h. */
62234 if ac_fn_cxx_try_compile "$LINENO"; then :
62235 glibcxx_cv_func_fmodl_use=yes
62237 glibcxx_cv_func_fmodl_use=no
62239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62241 ac_cpp='$CPP $CPPFLAGS'
62242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62251 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62253 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62254 for ac_func in fmodl
62256 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62257 if test "x$ac_cv_func_fmodl" = x""yes; then :
62258 cat >>confdefs.h <<_ACEOF
62259 #define HAVE_FMODL 1
62267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62268 $as_echo_n "checking for _fmodl declaration... " >&6; }
62269 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62270 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62271 $as_echo_n "(cached) " >&6
62276 ac_cpp='$CXXCPP $CPPFLAGS'
62277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62282 /* end confdefs.h. */
62292 if ac_fn_cxx_try_compile "$LINENO"; then :
62293 glibcxx_cv_func__fmodl_use=yes
62295 glibcxx_cv_func__fmodl_use=no
62297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62299 ac_cpp='$CPP $CPPFLAGS'
62300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62309 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62311 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62312 for ac_func in _fmodl
62314 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62315 if test "x$ac_cv_func__fmodl" = x""yes; then :
62316 cat >>confdefs.h <<_ACEOF
62317 #define HAVE__FMODL 1
62330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62331 $as_echo_n "checking for frexpl declaration... " >&6; }
62332 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62333 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62334 $as_echo_n "(cached) " >&6
62339 ac_cpp='$CXXCPP $CPPFLAGS'
62340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62345 /* end confdefs.h. */
62355 if ac_fn_cxx_try_compile "$LINENO"; then :
62356 glibcxx_cv_func_frexpl_use=yes
62358 glibcxx_cv_func_frexpl_use=no
62360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62362 ac_cpp='$CPP $CPPFLAGS'
62363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62372 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62374 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62375 for ac_func in frexpl
62377 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62378 if test "x$ac_cv_func_frexpl" = x""yes; then :
62379 cat >>confdefs.h <<_ACEOF
62380 #define HAVE_FREXPL 1
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62389 $as_echo_n "checking for _frexpl declaration... " >&6; }
62390 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62391 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62392 $as_echo_n "(cached) " >&6
62397 ac_cpp='$CXXCPP $CPPFLAGS'
62398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62403 /* end confdefs.h. */
62413 if ac_fn_cxx_try_compile "$LINENO"; then :
62414 glibcxx_cv_func__frexpl_use=yes
62416 glibcxx_cv_func__frexpl_use=no
62418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62420 ac_cpp='$CPP $CPPFLAGS'
62421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62430 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62432 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62433 for ac_func in _frexpl
62435 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62436 if test "x$ac_cv_func__frexpl" = x""yes; then :
62437 cat >>confdefs.h <<_ACEOF
62438 #define HAVE__FREXPL 1
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62452 $as_echo_n "checking for hypotl declaration... " >&6; }
62453 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62454 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62455 $as_echo_n "(cached) " >&6
62460 ac_cpp='$CXXCPP $CPPFLAGS'
62461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62466 /* end confdefs.h. */
62476 if ac_fn_cxx_try_compile "$LINENO"; then :
62477 glibcxx_cv_func_hypotl_use=yes
62479 glibcxx_cv_func_hypotl_use=no
62481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62483 ac_cpp='$CPP $CPPFLAGS'
62484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62493 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62495 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62496 for ac_func in hypotl
62498 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62499 if test "x$ac_cv_func_hypotl" = x""yes; then :
62500 cat >>confdefs.h <<_ACEOF
62501 #define HAVE_HYPOTL 1
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62510 $as_echo_n "checking for _hypotl declaration... " >&6; }
62511 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62512 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62513 $as_echo_n "(cached) " >&6
62518 ac_cpp='$CXXCPP $CPPFLAGS'
62519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62524 /* end confdefs.h. */
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535 glibcxx_cv_func__hypotl_use=yes
62537 glibcxx_cv_func__hypotl_use=no
62539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62541 ac_cpp='$CPP $CPPFLAGS'
62542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62551 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62553 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62554 for ac_func in _hypotl
62556 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62557 if test "x$ac_cv_func__hypotl" = x""yes; then :
62558 cat >>confdefs.h <<_ACEOF
62559 #define HAVE__HYPOTL 1
62572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62573 $as_echo_n "checking for ldexpl declaration... " >&6; }
62574 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62575 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62576 $as_echo_n "(cached) " >&6
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62587 /* end confdefs.h. */
62597 if ac_fn_cxx_try_compile "$LINENO"; then :
62598 glibcxx_cv_func_ldexpl_use=yes
62600 glibcxx_cv_func_ldexpl_use=no
62602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62604 ac_cpp='$CPP $CPPFLAGS'
62605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62614 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62616 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62617 for ac_func in ldexpl
62619 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62620 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62621 cat >>confdefs.h <<_ACEOF
62622 #define HAVE_LDEXPL 1
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62631 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62632 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62633 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62634 $as_echo_n "(cached) " >&6
62639 ac_cpp='$CXXCPP $CPPFLAGS'
62640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62645 /* end confdefs.h. */
62655 if ac_fn_cxx_try_compile "$LINENO"; then :
62656 glibcxx_cv_func__ldexpl_use=yes
62658 glibcxx_cv_func__ldexpl_use=no
62660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62662 ac_cpp='$CPP $CPPFLAGS'
62663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62672 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62674 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62675 for ac_func in _ldexpl
62677 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62678 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62679 cat >>confdefs.h <<_ACEOF
62680 #define HAVE__LDEXPL 1
62693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62694 $as_echo_n "checking for logl declaration... " >&6; }
62695 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62696 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62697 $as_echo_n "(cached) " >&6
62702 ac_cpp='$CXXCPP $CPPFLAGS'
62703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62708 /* end confdefs.h. */
62710 #ifdef HAVE_IEEEFP_H
62711 #include <ieeefp.h>
62722 if ac_fn_cxx_try_compile "$LINENO"; then :
62723 glibcxx_cv_func_logl_use=yes
62725 glibcxx_cv_func_logl_use=no
62727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62729 ac_cpp='$CPP $CPPFLAGS'
62730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62739 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62741 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62742 for ac_func in logl
62744 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62745 if test "x$ac_cv_func_logl" = x""yes; then :
62746 cat >>confdefs.h <<_ACEOF
62747 #define HAVE_LOGL 1
62755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62756 $as_echo_n "checking for _logl declaration... " >&6; }
62757 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62758 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62759 $as_echo_n "(cached) " >&6
62764 ac_cpp='$CXXCPP $CPPFLAGS'
62765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62770 /* end confdefs.h. */
62772 #ifdef HAVE_IEEEFP_H
62773 #include <ieeefp.h>
62784 if ac_fn_cxx_try_compile "$LINENO"; then :
62785 glibcxx_cv_func__logl_use=yes
62787 glibcxx_cv_func__logl_use=no
62789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62791 ac_cpp='$CPP $CPPFLAGS'
62792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62801 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62803 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62804 for ac_func in _logl
62806 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62807 if test "x$ac_cv_func__logl" = x""yes; then :
62808 cat >>confdefs.h <<_ACEOF
62809 #define HAVE__LOGL 1
62822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62823 $as_echo_n "checking for log10l declaration... " >&6; }
62824 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62825 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62826 $as_echo_n "(cached) " >&6
62831 ac_cpp='$CXXCPP $CPPFLAGS'
62832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62837 /* end confdefs.h. */
62839 #ifdef HAVE_IEEEFP_H
62840 #include <ieeefp.h>
62851 if ac_fn_cxx_try_compile "$LINENO"; then :
62852 glibcxx_cv_func_log10l_use=yes
62854 glibcxx_cv_func_log10l_use=no
62856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62858 ac_cpp='$CPP $CPPFLAGS'
62859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62868 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62870 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62871 for ac_func in log10l
62873 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62874 if test "x$ac_cv_func_log10l" = x""yes; then :
62875 cat >>confdefs.h <<_ACEOF
62876 #define HAVE_LOG10L 1
62884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62885 $as_echo_n "checking for _log10l declaration... " >&6; }
62886 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62887 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62888 $as_echo_n "(cached) " >&6
62893 ac_cpp='$CXXCPP $CPPFLAGS'
62894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62899 /* end confdefs.h. */
62901 #ifdef HAVE_IEEEFP_H
62902 #include <ieeefp.h>
62913 if ac_fn_cxx_try_compile "$LINENO"; then :
62914 glibcxx_cv_func__log10l_use=yes
62916 glibcxx_cv_func__log10l_use=no
62918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62920 ac_cpp='$CPP $CPPFLAGS'
62921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62930 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62932 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62933 for ac_func in _log10l
62935 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62936 if test "x$ac_cv_func__log10l" = x""yes; then :
62937 cat >>confdefs.h <<_ACEOF
62938 #define HAVE__LOG10L 1
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62952 $as_echo_n "checking for modfl declaration... " >&6; }
62953 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62954 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62955 $as_echo_n "(cached) " >&6
62960 ac_cpp='$CXXCPP $CPPFLAGS'
62961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62966 /* end confdefs.h. */
62976 if ac_fn_cxx_try_compile "$LINENO"; then :
62977 glibcxx_cv_func_modfl_use=yes
62979 glibcxx_cv_func_modfl_use=no
62981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62983 ac_cpp='$CPP $CPPFLAGS'
62984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62993 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62995 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62996 for ac_func in modfl
62998 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62999 if test "x$ac_cv_func_modfl" = x""yes; then :
63000 cat >>confdefs.h <<_ACEOF
63001 #define HAVE_MODFL 1
63009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63010 $as_echo_n "checking for _modfl declaration... " >&6; }
63011 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63012 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63013 $as_echo_n "(cached) " >&6
63018 ac_cpp='$CXXCPP $CPPFLAGS'
63019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63024 /* end confdefs.h. */
63034 if ac_fn_cxx_try_compile "$LINENO"; then :
63035 glibcxx_cv_func__modfl_use=yes
63037 glibcxx_cv_func__modfl_use=no
63039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63041 ac_cpp='$CPP $CPPFLAGS'
63042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63051 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63053 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63054 for ac_func in _modfl
63056 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63057 if test "x$ac_cv_func__modfl" = x""yes; then :
63058 cat >>confdefs.h <<_ACEOF
63059 #define HAVE__MODFL 1
63072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63073 $as_echo_n "checking for powl declaration... " >&6; }
63074 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63075 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63076 $as_echo_n "(cached) " >&6
63081 ac_cpp='$CXXCPP $CPPFLAGS'
63082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63087 /* end confdefs.h. */
63097 if ac_fn_cxx_try_compile "$LINENO"; then :
63098 glibcxx_cv_func_powl_use=yes
63100 glibcxx_cv_func_powl_use=no
63102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_cpp='$CPP $CPPFLAGS'
63105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63114 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63116 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63117 for ac_func in powl
63119 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63120 if test "x$ac_cv_func_powl" = x""yes; then :
63121 cat >>confdefs.h <<_ACEOF
63122 #define HAVE_POWL 1
63130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63131 $as_echo_n "checking for _powl declaration... " >&6; }
63132 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63133 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63134 $as_echo_n "(cached) " >&6
63139 ac_cpp='$CXXCPP $CPPFLAGS'
63140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63145 /* end confdefs.h. */
63155 if ac_fn_cxx_try_compile "$LINENO"; then :
63156 glibcxx_cv_func__powl_use=yes
63158 glibcxx_cv_func__powl_use=no
63160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63162 ac_cpp='$CPP $CPPFLAGS'
63163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63172 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63174 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63175 for ac_func in _powl
63177 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63178 if test "x$ac_cv_func__powl" = x""yes; then :
63179 cat >>confdefs.h <<_ACEOF
63180 #define HAVE__POWL 1
63193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63194 $as_echo_n "checking for sqrtl declaration... " >&6; }
63195 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63196 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63197 $as_echo_n "(cached) " >&6
63202 ac_cpp='$CXXCPP $CPPFLAGS'
63203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63208 /* end confdefs.h. */
63210 #ifdef HAVE_IEEEFP_H
63211 #include <ieeefp.h>
63222 if ac_fn_cxx_try_compile "$LINENO"; then :
63223 glibcxx_cv_func_sqrtl_use=yes
63225 glibcxx_cv_func_sqrtl_use=no
63227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63229 ac_cpp='$CPP $CPPFLAGS'
63230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63239 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63241 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63242 for ac_func in sqrtl
63244 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63245 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63246 cat >>confdefs.h <<_ACEOF
63247 #define HAVE_SQRTL 1
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63256 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63257 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63258 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63259 $as_echo_n "(cached) " >&6
63264 ac_cpp='$CXXCPP $CPPFLAGS'
63265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63270 /* end confdefs.h. */
63272 #ifdef HAVE_IEEEFP_H
63273 #include <ieeefp.h>
63284 if ac_fn_cxx_try_compile "$LINENO"; then :
63285 glibcxx_cv_func__sqrtl_use=yes
63287 glibcxx_cv_func__sqrtl_use=no
63289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63291 ac_cpp='$CPP $CPPFLAGS'
63292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63301 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63303 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63304 for ac_func in _sqrtl
63306 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63307 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63308 cat >>confdefs.h <<_ACEOF
63309 #define HAVE__SQRTL 1
63322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63323 $as_echo_n "checking for sincosl declaration... " >&6; }
63324 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63325 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63326 $as_echo_n "(cached) " >&6
63331 ac_cpp='$CXXCPP $CPPFLAGS'
63332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63337 /* end confdefs.h. */
63347 if ac_fn_cxx_try_compile "$LINENO"; then :
63348 glibcxx_cv_func_sincosl_use=yes
63350 glibcxx_cv_func_sincosl_use=no
63352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_cpp='$CPP $CPPFLAGS'
63355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63364 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63366 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63367 for ac_func in sincosl
63369 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63370 if test "x$ac_cv_func_sincosl" = x""yes; then :
63371 cat >>confdefs.h <<_ACEOF
63372 #define HAVE_SINCOSL 1
63380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63381 $as_echo_n "checking for _sincosl declaration... " >&6; }
63382 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63383 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63384 $as_echo_n "(cached) " >&6
63389 ac_cpp='$CXXCPP $CPPFLAGS'
63390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63395 /* end confdefs.h. */
63405 if ac_fn_cxx_try_compile "$LINENO"; then :
63406 glibcxx_cv_func__sincosl_use=yes
63408 glibcxx_cv_func__sincosl_use=no
63410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63412 ac_cpp='$CPP $CPPFLAGS'
63413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63422 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63424 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63425 for ac_func in _sincosl
63427 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63428 if test "x$ac_cv_func__sincosl" = x""yes; then :
63429 cat >>confdefs.h <<_ACEOF
63430 #define HAVE__SINCOSL 1
63443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63444 $as_echo_n "checking for finitel declaration... " >&6; }
63445 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63446 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63447 $as_echo_n "(cached) " >&6
63452 ac_cpp='$CXXCPP $CPPFLAGS'
63453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63458 /* end confdefs.h. */
63460 #ifdef HAVE_IEEEFP_H
63461 #include <ieeefp.h>
63472 if ac_fn_cxx_try_compile "$LINENO"; then :
63473 glibcxx_cv_func_finitel_use=yes
63475 glibcxx_cv_func_finitel_use=no
63477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63479 ac_cpp='$CPP $CPPFLAGS'
63480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63489 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63491 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63492 for ac_func in finitel
63494 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63495 if test "x$ac_cv_func_finitel" = x""yes; then :
63496 cat >>confdefs.h <<_ACEOF
63497 #define HAVE_FINITEL 1
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63506 $as_echo_n "checking for _finitel declaration... " >&6; }
63507 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63508 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63509 $as_echo_n "(cached) " >&6
63514 ac_cpp='$CXXCPP $CPPFLAGS'
63515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63520 /* end confdefs.h. */
63522 #ifdef HAVE_IEEEFP_H
63523 #include <ieeefp.h>
63534 if ac_fn_cxx_try_compile "$LINENO"; then :
63535 glibcxx_cv_func__finitel_use=yes
63537 glibcxx_cv_func__finitel_use=no
63539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63541 ac_cpp='$CPP $CPPFLAGS'
63542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63551 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63553 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63554 for ac_func in _finitel
63556 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63557 if test "x$ac_cv_func__finitel" = x""yes; then :
63558 cat >>confdefs.h <<_ACEOF
63559 #define HAVE__FINITEL 1
63571 LIBS="$ac_save_LIBS"
63572 CXXFLAGS="$ac_save_CXXFLAGS"
63575 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63576 ac_save_CXXFLAGS="$CXXFLAGS"
63577 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63581 $as_echo_n "checking for strtold declaration... " >&6; }
63582 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63583 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63584 $as_echo_n "(cached) " >&6
63589 ac_cpp='$CXXCPP $CPPFLAGS'
63590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63595 /* end confdefs.h. */
63596 #include <stdlib.h>
63605 if ac_fn_cxx_try_compile "$LINENO"; then :
63606 glibcxx_cv_func_strtold_use=yes
63608 glibcxx_cv_func_strtold_use=no
63610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63612 ac_cpp='$CPP $CPPFLAGS'
63613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63622 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63623 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63624 for ac_func in strtold
63626 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63627 if test "x$ac_cv_func_strtold" = x""yes; then :
63628 cat >>confdefs.h <<_ACEOF
63629 #define HAVE_STRTOLD 1
63640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63641 $as_echo_n "checking for strtof declaration... " >&6; }
63642 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63643 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63644 $as_echo_n "(cached) " >&6
63649 ac_cpp='$CXXCPP $CPPFLAGS'
63650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63655 /* end confdefs.h. */
63656 #include <stdlib.h>
63665 if ac_fn_cxx_try_compile "$LINENO"; then :
63666 glibcxx_cv_func_strtof_use=yes
63668 glibcxx_cv_func_strtof_use=no
63670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63672 ac_cpp='$CPP $CPPFLAGS'
63673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63682 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63683 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63684 for ac_func in strtof
63686 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63687 if test "x$ac_cv_func_strtof" = x""yes; then :
63688 cat >>confdefs.h <<_ACEOF
63689 #define HAVE_STRTOF 1
63700 CXXFLAGS="$ac_save_CXXFLAGS"
63705 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63707 # If we're not using GNU ld, then there's no point in even trying these
63708 # tests. Check for that first. We should have already tested for gld
63709 # by now (in libtool), but require it now just to be safe...
63710 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63711 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63715 # The name set by libtool depends on the version of libtool. Shame on us
63716 # for depending on an impl detail, but c'est la vie. Older versions used
63717 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63718 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63719 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63720 # set (hence we're using an older libtool), then set it.
63721 if test x${with_gnu_ld+set} != xset; then
63722 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63723 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63726 with_gnu_ld=$ac_cv_prog_gnu_ld
63730 # Start by getting the version number. I think the libtool test already
63731 # does some of this, but throws away the result.
63732 glibcxx_ld_is_gold=no
63733 if test x"$with_gnu_ld" = x"yes"; then
63734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63735 $as_echo_n "checking for ld version... " >&6; }
63737 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63738 glibcxx_ld_is_gold=yes
63740 ldver=`$LD --version 2>/dev/null |
63741 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63743 glibcxx_gnu_ld_version=`echo $ldver | \
63744 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63746 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63749 # Set --gc-sections.
63750 glibcxx_have_gc_sections=no
63751 if test "$glibcxx_ld_is_gold" = "yes"; then
63752 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63753 glibcxx_have_gc_sections=yes
63756 glibcxx_gcsections_min_ld=21602
63757 if test x"$with_gnu_ld" = x"yes" &&
63758 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63759 glibcxx_have_gc_sections=yes
63762 if test "$glibcxx_have_gc_sections" = "yes"; then
63763 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63764 # NB: This flag only works reliably after 2.16.1. Configure tests
63765 # for this are difficult, so hard wire a value that should work.
63767 ac_test_CFLAGS="${CFLAGS+set}"
63768 ac_save_CFLAGS="$CFLAGS"
63769 CFLAGS='-Wl,--gc-sections'
63771 # Check for -Wl,--gc-sections
63772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63773 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63774 if test x$gcc_no_link = xyes; then
63775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63778 /* end confdefs.h. */
63779 int one(void) { return 1; }
63780 int two(void) { return 2; }
63790 if ac_fn_c_try_link "$LINENO"; then :
63795 rm -f core conftest.err conftest.$ac_objext \
63796 conftest$ac_exeext conftest.$ac_ext
63797 if test "$ac_gcsections" = "yes"; then
63800 if $CC -c conftest.c; then
63801 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63802 grep "Warning: gc-sections option ignored" > /dev/null; then
63806 rm -f conftest.c conftest.o conftest
63808 if test "$ac_gcsections" = "yes"; then
63809 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63812 $as_echo "$ac_gcsections" >&6; }
63814 if test "$ac_test_CFLAGS" = set; then
63815 CFLAGS="$ac_save_CFLAGS"
63817 # this is the suspicious part
63823 # Note this is only for shared objects.
63825 if test x"$with_gnu_ld" = x"yes"; then
63826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63827 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63828 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63829 if test -n "$cxx_z_relo"; then
63830 OPT_LDFLAGS="-Wl,-z,relro"
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63834 $as_echo "$ac_ld_relro" >&6; }
63837 # Set linker optimization flags.
63838 if test x"$with_gnu_ld" = x"yes"; then
63839 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63845 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63847 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63849 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63851 # All of the dependencies for wide character support are here, so
63853 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63859 # These two C99 functions are present only in Solaris >= 10
63860 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63862 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63866 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63868 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63870 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63872 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63876 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63879 # If we're not using GNU ld, then there's no point in even trying these
63880 # tests. Check for that first. We should have already tested for gld
63881 # by now (in libtool), but require it now just to be safe...
63882 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63883 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63887 # The name set by libtool depends on the version of libtool. Shame on us
63888 # for depending on an impl detail, but c'est la vie. Older versions used
63889 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63890 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63891 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63892 # set (hence we're using an older libtool), then set it.
63893 if test x${with_gnu_ld+set} != xset; then
63894 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63895 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63898 with_gnu_ld=$ac_cv_prog_gnu_ld
63902 # Start by getting the version number. I think the libtool test already
63903 # does some of this, but throws away the result.
63904 glibcxx_ld_is_gold=no
63905 if test x"$with_gnu_ld" = x"yes"; then
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63907 $as_echo_n "checking for ld version... " >&6; }
63909 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63910 glibcxx_ld_is_gold=yes
63912 ldver=`$LD --version 2>/dev/null |
63913 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63915 glibcxx_gnu_ld_version=`echo $ldver | \
63916 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63918 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63921 # Set --gc-sections.
63922 glibcxx_have_gc_sections=no
63923 if test "$glibcxx_ld_is_gold" = "yes"; then
63924 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63925 glibcxx_have_gc_sections=yes
63928 glibcxx_gcsections_min_ld=21602
63929 if test x"$with_gnu_ld" = x"yes" &&
63930 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63931 glibcxx_have_gc_sections=yes
63934 if test "$glibcxx_have_gc_sections" = "yes"; then
63935 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63936 # NB: This flag only works reliably after 2.16.1. Configure tests
63937 # for this are difficult, so hard wire a value that should work.
63939 ac_test_CFLAGS="${CFLAGS+set}"
63940 ac_save_CFLAGS="$CFLAGS"
63941 CFLAGS='-Wl,--gc-sections'
63943 # Check for -Wl,--gc-sections
63944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63945 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63946 if test x$gcc_no_link = xyes; then
63947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63950 /* end confdefs.h. */
63951 int one(void) { return 1; }
63952 int two(void) { return 2; }
63962 if ac_fn_c_try_link "$LINENO"; then :
63967 rm -f core conftest.err conftest.$ac_objext \
63968 conftest$ac_exeext conftest.$ac_ext
63969 if test "$ac_gcsections" = "yes"; then
63972 if $CC -c conftest.c; then
63973 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63974 grep "Warning: gc-sections option ignored" > /dev/null; then
63978 rm -f conftest.c conftest.o conftest
63980 if test "$ac_gcsections" = "yes"; then
63981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63984 $as_echo "$ac_gcsections" >&6; }
63986 if test "$ac_test_CFLAGS" = set; then
63987 CFLAGS="$ac_save_CFLAGS"
63989 # this is the suspicious part
63995 # Note this is only for shared objects.
63997 if test x"$with_gnu_ld" = x"yes"; then
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63999 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64000 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64001 if test -n "$cxx_z_relo"; then
64002 OPT_LDFLAGS="-Wl,-z,relro"
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64006 $as_echo "$ac_ld_relro" >&6; }
64009 # Set linker optimization flags.
64010 if test x"$with_gnu_ld" = x"yes"; then
64011 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64017 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64019 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64021 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64023 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64025 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64027 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64029 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64031 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64033 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64035 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64037 if test x"long_double_math_on_this_cpu" = x"yes"; then
64038 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64040 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64042 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64044 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64049 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64051 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64053 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64055 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64057 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64059 $as_echo "#define HAVE_COSF 1" >>confdefs.h
64061 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64063 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64065 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64067 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64069 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64071 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64073 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64075 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64077 $as_echo "#define HAVE_POWF 1" >>confdefs.h
64079 $as_echo "#define HAVE_SINF 1" >>confdefs.h
64081 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64083 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64085 $as_echo "#define HAVE_TANF 1" >>confdefs.h
64087 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64091 as_fn_error "No support for this host/target combination." "$LINENO" 5
64097 # At some point, we should differentiate between architectures
64098 # like x86, which have long double versions, and alpha/powerpc/etc.,
64099 # which don't. For the time being, punt.
64100 if test x"long_double_math_on_this_cpu" = x"yes"; then
64101 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64103 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64105 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64107 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64109 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64111 $as_echo "#define HAVE_COSL 1" >>confdefs.h
64113 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64115 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64117 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64119 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64121 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64123 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64125 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64127 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64129 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64131 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64133 $as_echo "#define HAVE_POWL 1" >>confdefs.h
64135 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64137 $as_echo "#define HAVE_SINL 1" >>confdefs.h
64139 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64141 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64143 $as_echo "#define HAVE_TANL 1" >>confdefs.h
64145 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64150 # Check for _Unwind_GetIPInfo.
64153 # Check whether --with-system-libunwind was given.
64154 if test "${with_system_libunwind+set}" = set; then :
64155 withval=$with_system_libunwind;
64158 # If system-libunwind was not specifically set, pick a default setting.
64159 if test x$with_system_libunwind = x; then
64161 ia64-*-hpux*) with_system_libunwind=yes ;;
64162 *) with_system_libunwind=no ;;
64165 # Based on system-libunwind and target, do we have ipinfo?
64166 if test x$with_system_libunwind = xyes; then
64168 ia64-*-*) have_unwind_getipinfo=no ;;
64169 *) have_unwind_getipinfo=yes ;;
64172 # Darwin before version 9 does not have _Unwind_GetIPInfo.
64175 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64176 *) have_unwind_getipinfo=yes ;;
64181 if test x$have_unwind_getipinfo = xyes; then
64183 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64188 # Check whether --enable-linux-futex was given.
64189 if test "${enable_linux_futex+set}" = set; then :
64190 enableval=$enable_linux_futex;
64191 case "$enableval" in
64193 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64197 enable_linux_futex=default
64203 case "$enable_linux_futex" in
64205 # If headers don't have gettid/futex syscalls definition, then
64206 # default to no, otherwise there will be compile time failures.
64207 # Otherwise, default to yes. If we don't detect we are
64208 # compiled/linked against NPTL and not cross-compiling, check
64209 # if programs are run by default against NPTL and if not, issue
64211 enable_linux_futex=no
64212 if test x$gcc_no_link = xyes; then
64213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64216 /* end confdefs.h. */
64217 #include <sys/syscall.h>
64222 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64227 if ac_fn_c_try_link "$LINENO"; then :
64229 LIBS="-lpthread $LIBS"
64230 if test x$gcc_no_link = xyes; then
64231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64234 /* end confdefs.h. */
64235 #ifndef _GNU_SOURCE
64236 #define _GNU_SOURCE 1
64238 #include <pthread.h>
64239 pthread_t th; void *status;
64243 pthread_tryjoin_np (th, &status);
64248 if ac_fn_c_try_link "$LINENO"; then :
64249 enable_linux_futex=yes
64251 if test x$cross_compiling = xno; then
64252 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64253 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64255 If so, please configure with --disable-linux-futex" >&5
64256 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64257 If so, please configure with --disable-linux-futex" >&2;}
64260 enable_linux_futex=yes
64262 rm -f core conftest.err conftest.$ac_objext \
64263 conftest$ac_exeext conftest.$ac_ext
64266 rm -f core conftest.err conftest.$ac_objext \
64267 conftest$ac_exeext conftest.$ac_ext
64270 if test x$gcc_no_link = xyes; then
64271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64274 /* end confdefs.h. */
64275 #include <sys/syscall.h>
64280 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64285 if ac_fn_c_try_link "$LINENO"; then :
64288 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64290 rm -f core conftest.err conftest.$ac_objext \
64291 conftest$ac_exeext conftest.$ac_ext
64296 enable_linux_futex=no
64299 if test x$enable_linux_futex = xyes; then
64301 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64308 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64310 acx_cv_header_stdint=stddef.h
64311 acx_cv_header_stdint_kind="(already complete)"
64312 for i in stdint.h $inttype_headers; do
64313 unset ac_cv_type_uintptr_t
64314 unset ac_cv_type_uintmax_t
64315 unset ac_cv_type_int_least32_t
64316 unset ac_cv_type_int_fast32_t
64317 unset ac_cv_type_uint64_t
64318 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64319 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64322 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64323 acx_cv_header_stdint=$i
64328 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64331 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64334 acx_cv_header_stdint_kind="(mostly complete)"
64337 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64340 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64343 acx_cv_header_stdint_kind="(mostly complete)"
64346 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64349 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64352 acx_cv_header_stdint_kind="(mostly complete)"
64355 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64358 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64361 acx_cv_header_stdint_kind="(lacks uint64_t)"
64366 if test "$acx_cv_header_stdint" = stddef.h; then
64367 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64368 for i in stdint.h $inttype_headers; do
64369 unset ac_cv_type_uintptr_t
64370 unset ac_cv_type_uint32_t
64371 unset ac_cv_type_uint64_t
64372 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64373 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64376 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64377 acx_cv_header_stdint=$i
64382 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64385 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64389 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64392 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64399 if test "$acx_cv_header_stdint" = stddef.h; then
64400 acx_cv_header_stdint_kind="(u_intXX_t style)"
64401 for i in sys/types.h $inttype_headers; do
64402 unset ac_cv_type_u_int32_t
64403 unset ac_cv_type_u_int64_t
64404 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64405 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64408 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64409 acx_cv_header_stdint=$i
64414 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64417 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64424 if test "$acx_cv_header_stdint" = stddef.h; then
64425 acx_cv_header_stdint_kind="(using manual detection)"
64428 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64429 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64430 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64431 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64432 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64434 # ----------------- Summarize what we found so far
64436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64437 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64439 case `$as_basename -- include/gstdint.h ||
64440 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64441 Xinclude/gstdint.h : 'X\(//\)$' \| \
64442 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64443 $as_echo X/include/gstdint.h |
64444 sed '/^.*\/\([^/][^/]*\)\/*$/{
64457 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64458 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64459 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64460 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64465 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64467 # ----------------- done included file, check C basic types --------
64469 # Lacking an uintptr_t? Test size of void *
64470 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64471 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64474 # This bug is HP SR number 8606223364.
64475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64476 $as_echo_n "checking size of void *... " >&6; }
64477 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64478 $as_echo_n "(cached) " >&6
64480 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64483 if test "$ac_cv_type_void_p" = yes; then
64484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64486 { as_fn_set_status 77
64487 as_fn_error "cannot compute sizeof (void *)
64488 See \`config.log' for more details." "$LINENO" 5; }; }
64490 ac_cv_sizeof_void_p=0
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64496 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64500 cat >>confdefs.h <<_ACEOF
64501 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64507 # Lacking an uint64_t? Test size of long
64508 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64509 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64512 # This bug is HP SR number 8606223364.
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64514 $as_echo_n "checking size of long... " >&6; }
64515 if test "${ac_cv_sizeof_long+set}" = set; then :
64516 $as_echo_n "(cached) " >&6
64518 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64521 if test "$ac_cv_type_long" = yes; then
64522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64524 { as_fn_set_status 77
64525 as_fn_error "cannot compute sizeof (long)
64526 See \`config.log' for more details." "$LINENO" 5; }; }
64528 ac_cv_sizeof_long=0
64533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64534 $as_echo "$ac_cv_sizeof_long" >&6; }
64538 cat >>confdefs.h <<_ACEOF
64539 #define SIZEOF_LONG $ac_cv_sizeof_long
64545 if test $acx_cv_header_stdint = stddef.h; then
64546 # Lacking a good header? Test size of everything and deduce all types.
64547 # The cast to long int works around a bug in the HP C Compiler
64548 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64549 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64550 # This bug is HP SR number 8606223364.
64551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64552 $as_echo_n "checking size of int... " >&6; }
64553 if test "${ac_cv_sizeof_int+set}" = set; then :
64554 $as_echo_n "(cached) " >&6
64556 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64559 if test "$ac_cv_type_int" = yes; then
64560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64562 { as_fn_set_status 77
64563 as_fn_error "cannot compute sizeof (int)
64564 See \`config.log' for more details." "$LINENO" 5; }; }
64571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64572 $as_echo "$ac_cv_sizeof_int" >&6; }
64576 cat >>confdefs.h <<_ACEOF
64577 #define SIZEOF_INT $ac_cv_sizeof_int
64581 # The cast to long int works around a bug in the HP C Compiler
64582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64584 # This bug is HP SR number 8606223364.
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64586 $as_echo_n "checking size of short... " >&6; }
64587 if test "${ac_cv_sizeof_short+set}" = set; then :
64588 $as_echo_n "(cached) " >&6
64590 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64593 if test "$ac_cv_type_short" = yes; then
64594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64596 { as_fn_set_status 77
64597 as_fn_error "cannot compute sizeof (short)
64598 See \`config.log' for more details." "$LINENO" 5; }; }
64600 ac_cv_sizeof_short=0
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64606 $as_echo "$ac_cv_sizeof_short" >&6; }
64610 cat >>confdefs.h <<_ACEOF
64611 #define SIZEOF_SHORT $ac_cv_sizeof_short
64615 # The cast to long int works around a bug in the HP C Compiler
64616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64618 # This bug is HP SR number 8606223364.
64619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64620 $as_echo_n "checking size of char... " >&6; }
64621 if test "${ac_cv_sizeof_char+set}" = set; then :
64622 $as_echo_n "(cached) " >&6
64624 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64627 if test "$ac_cv_type_char" = yes; then
64628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64630 { as_fn_set_status 77
64631 as_fn_error "cannot compute sizeof (char)
64632 See \`config.log' for more details." "$LINENO" 5; }; }
64634 ac_cv_sizeof_char=0
64639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64640 $as_echo "$ac_cv_sizeof_char" >&6; }
64644 cat >>confdefs.h <<_ACEOF
64645 #define SIZEOF_CHAR $ac_cv_sizeof_char
64650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64651 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64652 case "$ac_cv_sizeof_char" in
64653 1) acx_cv_type_int8_t=char ;;
64654 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64657 $as_echo "$acx_cv_type_int8_t" >&6; }
64659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64660 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64661 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64662 2:*) acx_cv_type_int16_t=int ;;
64663 *:2) acx_cv_type_int16_t=short ;;
64664 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64667 $as_echo "$acx_cv_type_int16_t" >&6; }
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64670 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64671 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64672 4:*) acx_cv_type_int32_t=int ;;
64673 *:4) acx_cv_type_int32_t=long ;;
64674 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64677 $as_echo "$acx_cv_type_int32_t" >&6; }
64680 # These tests are here to make the output prettier
64682 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64683 case "$ac_cv_sizeof_long" in
64684 8) acx_cv_type_int64_t=long ;;
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64687 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64689 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64692 # Now we can use the above types
64694 if test "$ac_cv_type_uintptr_t" != yes; then
64695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64696 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64697 case $ac_cv_sizeof_void_p in
64698 2) acx_cv_type_intptr_t=int16_t ;;
64699 4) acx_cv_type_intptr_t=int32_t ;;
64700 8) acx_cv_type_intptr_t=int64_t ;;
64701 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64704 $as_echo "$acx_cv_type_intptr_t" >&6; }
64707 # ----------------- done all checks, emit header -------------
64708 ac_config_commands="$ac_config_commands include/gstdint.h"
64714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64715 $as_echo_n "checking for GNU c++filt... " >&6; }
64716 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64717 $as_echo_n "(cached) " >&6
64719 if test -z "$CXXFILT"; then
64720 ac_path_CXXFILT_found=false
64721 # Loop through the user's path and test for each of PROGNAME-LIST
64722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64723 for as_dir in $PATH
64726 test -z "$as_dir" && as_dir=.
64727 for ac_prog in c++filt gc++filt; do
64728 for ac_exec_ext in '' $ac_executable_extensions; do
64729 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64730 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64731 # Check for GNU $ac_path_CXXFILT
64732 case `"$ac_path_CXXFILT" --version 2>&1` in
64734 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64737 $ac_path_CXXFILT_found && break 3
64742 if test -z "$ac_cv_path_CXXFILT"; then
64746 ac_cv_path_CXXFILT=$CXXFILT
64750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64751 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64752 CXXFILT=$ac_cv_path_CXXFILT
64756 # Check whether --enable-symvers was given.
64757 if test "${enable_symvers+set}" = set; then :
64758 enableval=$enable_symvers;
64759 case "$enableval" in
64760 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64761 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64770 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64771 # don't know enough about $LD to do tricks...
64773 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64774 # with extern "C++" in version scripts.
64777 # Turn a 'yes' into a suitable default.
64778 if test x$enable_symvers = xyes ; then
64779 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64782 if test $with_gnu_ld = yes ; then
64783 case ${target_os} in
64785 enable_symvers=no ;;
64787 enable_symvers=gnu ;;
64790 case ${target_os} in
64792 enable_symvers=darwin ;;
64793 # Sun symbol versioning exists since Solaris 2.5.
64794 solaris2.[5-9]* | solaris2.1[0-9]*)
64795 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64796 # version scripts, so disable symbol versioning if none can be
64798 if test -z "$ac_cv_path_CXXFILT"; then
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64800 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64802 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64804 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64811 enable_symvers=no ;;
64817 # Check to see if 'darwin' or 'darwin-export' can win.
64818 if test x$enable_symvers = xdarwin-export ; then
64819 enable_symvers=darwin
64822 # Check if 'sun' was requested on non-Solaris 2 platforms.
64823 if test x$enable_symvers = xsun ; then
64824 case ${target_os} in
64829 # Unlikely to work.
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64831 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64833 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64835 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64841 # Check to see if 'gnu' can win.
64842 if test $enable_symvers = gnu ||
64843 test $enable_symvers = gnu-versioned-namespace ||
64844 test $enable_symvers = sun; then
64845 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64847 $as_echo_n "checking for shared libgcc... " >&6; }
64848 ac_save_CFLAGS="$CFLAGS"
64850 if test x$gcc_no_link = xyes; then
64851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64854 /* end confdefs.h. */
64864 if ac_fn_c_try_link "$LINENO"; then :
64865 glibcxx_shared_libgcc=yes
64867 glibcxx_shared_libgcc=no
64869 rm -f core conftest.err conftest.$ac_objext \
64870 conftest$ac_exeext conftest.$ac_ext
64871 CFLAGS="$ac_save_CFLAGS"
64872 if test $glibcxx_shared_libgcc = no; then
64873 cat > conftest.c <<EOF
64874 int main (void) { return 0; }
64876 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64877 -shared -shared-libgcc -o conftest.so \
64878 conftest.c -v 2>&1 >/dev/null \
64879 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64880 rm -f conftest.c conftest.so
64881 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64882 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64883 if test x$gcc_no_link = xyes; then
64884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64887 /* end confdefs.h. */
64897 if ac_fn_c_try_link "$LINENO"; then :
64898 glibcxx_shared_libgcc=yes
64900 rm -f core conftest.err conftest.$ac_objext \
64901 conftest$ac_exeext conftest.$ac_ext
64902 CFLAGS="$ac_save_CFLAGS"
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64906 $as_echo "$glibcxx_shared_libgcc" >&6; }
64908 # For GNU ld, we need at least this version. The format is described in
64909 # GLIBCXX_CHECK_LINKER_FEATURES above.
64910 glibcxx_min_gnu_ld_version=21400
64912 # If no shared libgcc, can't win.
64913 if test $glibcxx_shared_libgcc != yes; then
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64915 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64917 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64919 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64921 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64922 : All interesting versions of Sun ld support sun style symbol versioning.
64923 elif test $with_gnu_ld != yes ; then
64924 # just fail for now
64925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64926 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64928 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64930 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64932 elif test $glibcxx_ld_is_gold = yes ; then
64933 : All versions of gold support symbol versioning.
64934 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64935 # The right tools, the right setup, but too old. Fallbacks?
64936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64937 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64939 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64941 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64943 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64945 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64950 # For libtool versioning info, format is CURRENT:REVISION:AGE
64951 libtool_VERSION=6:17:0
64953 # Everything parsed; figure out what files and settings to use.
64954 case $enable_symvers in
64956 SYMVER_FILE=config/abi/pre/none.ver
64959 SYMVER_FILE=config/abi/pre/gnu.ver
64961 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64964 gnu-versioned-namespace)
64965 libtool_VERSION=7:0:0
64966 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64968 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64972 SYMVER_FILE=config/abi/pre/gnu.ver
64974 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64978 SYMVER_FILE=config/abi/pre/gnu.ver
64980 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64985 if test x$enable_symvers != xno ; then
64987 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64992 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64993 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64994 $as_echo_n "(cached) " >&6
64997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64998 /* end confdefs.h. */
64999 void foo (void); __asm (".symver foo, bar@SYMVER");
65008 if ac_fn_c_try_compile "$LINENO"; then :
65009 glibcxx_cv_have_as_symver_directive=yes
65011 glibcxx_cv_have_as_symver_directive=no
65013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65016 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65017 if test $glibcxx_cv_have_as_symver_directive = yes; then
65019 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65031 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65033 if test $enable_symvers != no ; then
65034 case ${target_os} in
65035 # The Solaris 2 runtime linker doesn't support the GNU extension of
65036 # binding the same symbol to different versions
65038 symvers_renaming=no ;;
65039 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65042 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65044 symvers_renaming=yes ;;
65047 symvers_renaming=no
65051 # Now, set up compatibility support, if any.
65052 # In addition, need this to deal with std::size_t mangling in
65053 # src/compatibility.cc. In a perfect world, could use
65054 # typeid(std::size_t).name()[0] to do direct substitution.
65055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65056 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65057 ac_save_CFLAGS="$CFLAGS"
65059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65060 /* end confdefs.h. */
65065 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65070 if ac_fn_c_try_compile "$LINENO"; then :
65071 glibcxx_size_t_is_i=yes
65073 glibcxx_size_t_is_i=no
65075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65076 CFLAGS=$ac_save_CFLAGS
65077 if test "$glibcxx_size_t_is_i" = yes; then
65079 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65083 $as_echo "$glibcxx_size_t_is_i" >&6; }
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65086 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65087 ac_save_CFLAGS="$CFLAGS"
65089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65090 /* end confdefs.h. */
65095 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65100 if ac_fn_c_try_compile "$LINENO"; then :
65101 glibcxx_ptrdiff_t_is_i=yes
65103 glibcxx_ptrdiff_t_is_i=no
65105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65106 CFLAGS=$ac_save_CFLAGS
65107 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65109 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65113 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65118 # Check whether --enable-libstdcxx-visibility was given.
65119 if test "${enable_libstdcxx_visibility+set}" = set; then :
65120 enableval=$enable_libstdcxx_visibility;
65121 case "$enableval" in
65123 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65127 enable_libstdcxx_visibility=yes
65132 if test x$enable_libstdcxx_visibility = xyes ; then
65133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65134 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65135 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65136 $as_echo_n "(cached) " >&6
65139 save_CFLAGS="$CFLAGS"
65140 CFLAGS="$CFLAGS -Werror"
65141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65142 /* end confdefs.h. */
65143 void __attribute__((visibility("hidden"))) foo(void) { }
65152 if ac_fn_c_try_compile "$LINENO"; then :
65153 glibcxx_cv_have_attribute_visibility=yes
65155 glibcxx_cv_have_attribute_visibility=no
65157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65158 CFLAGS="$save_CFLAGS"
65160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65161 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65162 if test $glibcxx_cv_have_attribute_visibility = no; then
65163 enable_libstdcxx_visibility=no
65168 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65169 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65174 powerpc*-*-linux* | \
65175 sparc*-*-linux* | \
65178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h. */
65185 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65186 #error no need for long double compatibility
65193 if ac_fn_c_try_compile "$LINENO"; then :
65198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65199 if test "$ac_ldbl_compat" = yes; then
65201 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65203 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65208 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65210 if $GLIBCXX_IS_NATIVE ; then
65211 # Do checks for resource limit functions.
65213 setrlimit_have_headers=yes
65214 for ac_header in unistd.h sys/time.h sys/resource.h
65216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65217 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65218 eval as_val=\$$as_ac_Header
65219 if test "x$as_val" = x""yes; then :
65220 cat >>confdefs.h <<_ACEOF
65221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65225 setrlimit_have_headers=no
65230 # If don't have the headers, then we can't run the tests now, and we
65231 # won't be seeing any of these during testsuite compilation.
65232 if test $setrlimit_have_headers = yes; then
65233 # Can't do these in a loop, else the resulting syntax is wrong.
65235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65236 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65238 /* end confdefs.h. */
65239 #include <unistd.h>
65240 #include <sys/time.h>
65241 #include <sys/resource.h>
65246 int f = RLIMIT_DATA ;
65251 if ac_fn_c_try_compile "$LINENO"; then :
65256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65258 cat >>confdefs.h <<_ACEOF
65259 #define HAVE_LIMIT_DATA $glibcxx_mresult
65262 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65264 $as_echo "$res" >&6; }
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65268 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65270 /* end confdefs.h. */
65271 #include <unistd.h>
65272 #include <sys/time.h>
65273 #include <sys/resource.h>
65278 int f = RLIMIT_RSS ;
65283 if ac_fn_c_try_compile "$LINENO"; then :
65288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65290 cat >>confdefs.h <<_ACEOF
65291 #define HAVE_LIMIT_RSS $glibcxx_mresult
65294 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65296 $as_echo "$res" >&6; }
65299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65300 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65302 /* end confdefs.h. */
65303 #include <unistd.h>
65304 #include <sys/time.h>
65305 #include <sys/resource.h>
65310 int f = RLIMIT_VMEM ;
65315 if ac_fn_c_try_compile "$LINENO"; then :
65320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65322 cat >>confdefs.h <<_ACEOF
65323 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65326 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65328 $as_echo "$res" >&6; }
65331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65332 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65334 /* end confdefs.h. */
65335 #include <unistd.h>
65336 #include <sys/time.h>
65337 #include <sys/resource.h>
65342 int f = RLIMIT_AS ;
65347 if ac_fn_c_try_compile "$LINENO"; then :
65352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65354 cat >>confdefs.h <<_ACEOF
65355 #define HAVE_LIMIT_AS $glibcxx_mresult
65358 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65360 $as_echo "$res" >&6; }
65363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65364 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65366 /* end confdefs.h. */
65367 #include <unistd.h>
65368 #include <sys/time.h>
65369 #include <sys/resource.h>
65374 int f = RLIMIT_FSIZE ;
65379 if ac_fn_c_try_compile "$LINENO"; then :
65384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65386 cat >>confdefs.h <<_ACEOF
65387 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65390 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65392 $as_echo "$res" >&6; }
65395 # Check for rlimit, setrlimit.
65396 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65397 $as_echo_n "(cached) " >&6
65400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65401 /* end confdefs.h. */
65402 #include <unistd.h>
65403 #include <sys/time.h>
65404 #include <sys/resource.h>
65415 if ac_fn_c_try_compile "$LINENO"; then :
65416 glibcxx_cv_setrlimit=yes
65418 glibcxx_cv_setrlimit=no
65420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65427 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65428 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65431 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65437 $as_echo "$ac_res_limits" >&6; }
65440 # Look for setenv, so that extended locale tests can be performed.
65442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65443 $as_echo_n "checking for setenv declaration... " >&6; }
65444 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65445 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65446 $as_echo_n "(cached) " >&6
65451 ac_cpp='$CXXCPP $CPPFLAGS'
65452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65457 /* end confdefs.h. */
65458 #include <stdlib.h>
65467 if ac_fn_cxx_try_compile "$LINENO"; then :
65468 glibcxx_cv_func_setenv_use=yes
65470 glibcxx_cv_func_setenv_use=no
65472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65484 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65485 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65486 for ac_func in setenv
65488 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65489 if test "x$ac_cv_func_setenv" = x""yes; then :
65490 cat >>confdefs.h <<_ACEOF
65491 #define HAVE_SETENV 1
65501 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65502 test $enable_symvers != no; then
65505 enable_abi_check=no ;;
65507 enable_abi_check=yes ;;
65510 # Only build this as native, since automake does not understand
65512 enable_abi_check=no
65515 # Export file names for ABI checking.
65516 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65518 baseline_subdir_switch="$abi_baseline_subdir_switch"
65522 # Define documentation rules conditionally.
65524 # See if makeinfo has been installed and is modern enough
65525 # that we can use it.
65527 # Extract the first word of "makeinfo", so it can be a program name with args.
65528 set dummy makeinfo; ac_word=$2
65529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65530 $as_echo_n "checking for $ac_word... " >&6; }
65531 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65532 $as_echo_n "(cached) " >&6
65534 if test -n "$MAKEINFO"; then
65535 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65538 for as_dir in $PATH
65541 test -z "$as_dir" && as_dir=.
65542 for ac_exec_ext in '' $ac_executable_extensions; do
65543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65544 ac_cv_prog_MAKEINFO="makeinfo"
65545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65554 MAKEINFO=$ac_cv_prog_MAKEINFO
65555 if test -n "$MAKEINFO"; then
65556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65557 $as_echo "$MAKEINFO" >&6; }
65559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65560 $as_echo "no" >&6; }
65564 if test -n "$MAKEINFO"; then
65565 # Found it, now check the version.
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65567 $as_echo_n "checking for modern makeinfo... " >&6; }
65568 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65569 $as_echo_n "(cached) " >&6
65571 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65572 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65574 case $ac_prog_version in
65575 '') gcc_cv_prog_makeinfo_modern=no;;
65576 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65577 *) gcc_cv_prog_makeinfo_modern=no;;
65581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65582 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65584 gcc_cv_prog_makeinfo_modern=no
65586 if test $gcc_cv_prog_makeinfo_modern = no; then
65587 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65590 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65592 BUILD_INFO_FALSE='#'
65594 BUILD_INFO_TRUE='#'
65599 # Check for doxygen
65600 # Extract the first word of "doxygen", so it can be a program name with args.
65601 set dummy doxygen; ac_word=$2
65602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65603 $as_echo_n "checking for $ac_word... " >&6; }
65604 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65605 $as_echo_n "(cached) " >&6
65607 if test -n "$DOXYGEN"; then
65608 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65611 for as_dir in $PATH
65614 test -z "$as_dir" && as_dir=.
65615 for ac_exec_ext in '' $ac_executable_extensions; do
65616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65617 ac_cv_prog_DOXYGEN="yes"
65618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65625 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65628 DOXYGEN=$ac_cv_prog_DOXYGEN
65629 if test -n "$DOXYGEN"; then
65630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65631 $as_echo "$DOXYGEN" >&6; }
65633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65634 $as_echo "no" >&6; }
65638 # Extract the first word of "dot", so it can be a program name with args.
65639 set dummy dot; ac_word=$2
65640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65641 $as_echo_n "checking for $ac_word... " >&6; }
65642 if test "${ac_cv_prog_DOT+set}" = set; then :
65643 $as_echo_n "(cached) " >&6
65645 if test -n "$DOT"; then
65646 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65649 for as_dir in $PATH
65652 test -z "$as_dir" && as_dir=.
65653 for ac_exec_ext in '' $ac_executable_extensions; do
65654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65655 ac_cv_prog_DOT="yes"
65656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65663 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65666 DOT=$ac_cv_prog_DOT
65667 if test -n "$DOT"; then
65668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65669 $as_echo "$DOT" >&6; }
65671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65672 $as_echo "no" >&6; }
65677 # Check for docbook
65678 # Extract the first word of "xsltproc", so it can be a program name with args.
65679 set dummy xsltproc; ac_word=$2
65680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65681 $as_echo_n "checking for $ac_word... " >&6; }
65682 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65683 $as_echo_n "(cached) " >&6
65685 if test -n "$XSLTPROC"; then
65686 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65689 for as_dir in $PATH
65692 test -z "$as_dir" && as_dir=.
65693 for ac_exec_ext in '' $ac_executable_extensions; do
65694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65695 ac_cv_prog_XSLTPROC="yes"
65696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65703 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65706 XSLTPROC=$ac_cv_prog_XSLTPROC
65707 if test -n "$XSLTPROC"; then
65708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65709 $as_echo "$XSLTPROC" >&6; }
65711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65712 $as_echo "no" >&6; }
65716 # Extract the first word of "xmllint", so it can be a program name with args.
65717 set dummy xmllint; ac_word=$2
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65719 $as_echo_n "checking for $ac_word... " >&6; }
65720 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65721 $as_echo_n "(cached) " >&6
65723 if test -n "$XMLLINT"; then
65724 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65727 for as_dir in $PATH
65730 test -z "$as_dir" && as_dir=.
65731 for ac_exec_ext in '' $ac_executable_extensions; do
65732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65733 ac_cv_prog_XMLLINT="yes"
65734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65741 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65744 XMLLINT=$ac_cv_prog_XMLLINT
65745 if test -n "$XMLLINT"; then
65746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65747 $as_echo "$XMLLINT" >&6; }
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65750 $as_echo "no" >&6; }
65756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65757 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65758 glibcxx_stylesheets=no
65759 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65760 glibcxx_stylesheets=yes
65762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65763 $as_echo "$glibcxx_stylesheets" >&6; }
65765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65766 $as_echo_n "checking for local stylesheet directory... " >&6; }
65767 glibcxx_local_stylesheets=no
65768 if test x"$glibcxx_stylesheets" = x"yes"; then
65769 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65770 glibcxx_local_stylesheets=yes
65771 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65773 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65774 glibcxx_local_stylesheets=yes
65775 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65779 $as_echo "$glibcxx_local_stylesheets" >&6; }
65781 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65784 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65786 glibcxx_stylesheets=no
65789 # Check for epub3 dependencies.
65790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65791 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65792 glibcxx_epub_stylesheets=no
65793 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65794 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65795 glibcxx_epub_stylesheets=yes
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65799 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65800 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65802 BUILD_EPUB_FALSE='#'
65804 BUILD_EPUB_TRUE='#'
65811 # Check for xml/html dependencies.
65812 if test $ac_cv_prog_DOXYGEN = "yes" &&
65813 test $ac_cv_prog_DOT = "yes" &&
65814 test $ac_cv_prog_XSLTPROC = "yes" &&
65815 test $ac_cv_prog_XMLLINT = "yes" &&
65816 test $glibcxx_stylesheets = "yes"; then
65818 BUILD_XML_FALSE='#'
65825 if test $ac_cv_prog_DOXYGEN = "yes" &&
65826 test $ac_cv_prog_DOT = "yes" &&
65827 test $ac_cv_prog_XSLTPROC = "yes" &&
65828 test $ac_cv_prog_XMLLINT = "yes" &&
65829 test $glibcxx_stylesheets = "yes"; then
65831 BUILD_HTML_FALSE='#'
65833 BUILD_HTML_TRUE='#'
65838 # Check for man dependencies.
65839 if test $ac_cv_prog_DOXYGEN = "yes" &&
65840 test $ac_cv_prog_DOT = "yes"; then
65842 BUILD_MAN_FALSE='#'
65849 # Check for pdf dependencies.
65850 # Extract the first word of "dblatex", so it can be a program name with args.
65851 set dummy dblatex; ac_word=$2
65852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65853 $as_echo_n "checking for $ac_word... " >&6; }
65854 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65855 $as_echo_n "(cached) " >&6
65857 if test -n "$DBLATEX"; then
65858 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65861 for as_dir in $PATH
65864 test -z "$as_dir" && as_dir=.
65865 for ac_exec_ext in '' $ac_executable_extensions; do
65866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65867 ac_cv_prog_DBLATEX="yes"
65868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65875 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65878 DBLATEX=$ac_cv_prog_DBLATEX
65879 if test -n "$DBLATEX"; then
65880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65881 $as_echo "$DBLATEX" >&6; }
65883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65884 $as_echo "no" >&6; }
65888 # Extract the first word of "pdflatex", so it can be a program name with args.
65889 set dummy pdflatex; ac_word=$2
65890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65891 $as_echo_n "checking for $ac_word... " >&6; }
65892 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65893 $as_echo_n "(cached) " >&6
65895 if test -n "$PDFLATEX"; then
65896 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65899 for as_dir in $PATH
65902 test -z "$as_dir" && as_dir=.
65903 for ac_exec_ext in '' $ac_executable_extensions; do
65904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65905 ac_cv_prog_PDFLATEX="yes"
65906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65913 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65916 PDFLATEX=$ac_cv_prog_PDFLATEX
65917 if test -n "$PDFLATEX"; then
65918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65919 $as_echo "$PDFLATEX" >&6; }
65921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65922 $as_echo "no" >&6; }
65926 if test $ac_cv_prog_DBLATEX = "yes" &&
65927 test $ac_cv_prog_PDFLATEX = "yes"; then
65929 BUILD_PDF_FALSE='#'
65937 # Propagate the target-specific source directories through the build chain.
65938 ATOMICITY_SRCDIR=config/${atomicity_dir}
65939 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65940 ATOMIC_FLAGS=${atomic_flags}
65941 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65942 OS_INC_SRCDIR=config/${os_include_dir}
65943 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65944 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65954 # Determine cross-compile flags and AM_CONDITIONALs.
65955 #AC_SUBST(GLIBCXX_IS_NATIVE)
65956 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65957 if test $is_hosted = yes; then
65958 GLIBCXX_HOSTED_TRUE=
65959 GLIBCXX_HOSTED_FALSE='#'
65961 GLIBCXX_HOSTED_TRUE='#'
65962 GLIBCXX_HOSTED_FALSE=
65966 if test $enable_libstdcxx_pch = yes; then
65967 GLIBCXX_BUILD_PCH_TRUE=
65968 GLIBCXX_BUILD_PCH_FALSE='#'
65970 GLIBCXX_BUILD_PCH_TRUE='#'
65971 GLIBCXX_BUILD_PCH_FALSE=
65975 if test $enable_cheaders = c; then
65976 GLIBCXX_C_HEADERS_C_TRUE=
65977 GLIBCXX_C_HEADERS_C_FALSE='#'
65979 GLIBCXX_C_HEADERS_C_TRUE='#'
65980 GLIBCXX_C_HEADERS_C_FALSE=
65984 if test $enable_cheaders = c_std; then
65985 GLIBCXX_C_HEADERS_C_STD_TRUE=
65986 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65988 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65989 GLIBCXX_C_HEADERS_C_STD_FALSE=
65993 if test $enable_cheaders = c_global; then
65994 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65995 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65997 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65998 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66002 if test $c_compatibility = yes; then
66003 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66004 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66006 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66007 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66011 if test $enable_libstdcxx_debug = yes; then
66012 GLIBCXX_BUILD_DEBUG_TRUE=
66013 GLIBCXX_BUILD_DEBUG_FALSE='#'
66015 GLIBCXX_BUILD_DEBUG_TRUE='#'
66016 GLIBCXX_BUILD_DEBUG_FALSE=
66020 if test $enable_parallel = yes; then
66021 ENABLE_PARALLEL_TRUE=
66022 ENABLE_PARALLEL_FALSE='#'
66024 ENABLE_PARALLEL_TRUE='#'
66025 ENABLE_PARALLEL_FALSE=
66029 if test $enable_extern_template = yes; then
66030 ENABLE_EXTERN_TEMPLATE_TRUE=
66031 ENABLE_EXTERN_TEMPLATE_FALSE='#'
66033 ENABLE_EXTERN_TEMPLATE_TRUE='#'
66034 ENABLE_EXTERN_TEMPLATE_FALSE=
66038 if test $enable_symvers != no; then
66039 ENABLE_SYMVERS_TRUE=
66040 ENABLE_SYMVERS_FALSE='#'
66042 ENABLE_SYMVERS_TRUE='#'
66043 ENABLE_SYMVERS_FALSE=
66047 if test $enable_symvers = gnu; then
66048 ENABLE_SYMVERS_GNU_TRUE=
66049 ENABLE_SYMVERS_GNU_FALSE='#'
66051 ENABLE_SYMVERS_GNU_TRUE='#'
66052 ENABLE_SYMVERS_GNU_FALSE=
66056 if test $enable_symvers = gnu-versioned-namespace; then
66057 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66058 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66060 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66061 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66065 if test $enable_symvers = darwin; then
66066 ENABLE_SYMVERS_DARWIN_TRUE=
66067 ENABLE_SYMVERS_DARWIN_FALSE='#'
66069 ENABLE_SYMVERS_DARWIN_TRUE='#'
66070 ENABLE_SYMVERS_DARWIN_FALSE=
66074 if test $enable_symvers = sun; then
66075 ENABLE_SYMVERS_SUN_TRUE=
66076 ENABLE_SYMVERS_SUN_FALSE='#'
66078 ENABLE_SYMVERS_SUN_TRUE='#'
66079 ENABLE_SYMVERS_SUN_FALSE=
66083 if test $symvers_renaming = no; then
66084 ENABLE_SYMVERS_SOL2_TRUE=
66085 ENABLE_SYMVERS_SOL2_FALSE='#'
66087 ENABLE_SYMVERS_SOL2_TRUE='#'
66088 ENABLE_SYMVERS_SOL2_FALSE=
66092 if test $enable_libstdcxx_visibility = yes; then
66093 ENABLE_VISIBILITY_TRUE=
66094 ENABLE_VISIBILITY_FALSE='#'
66096 ENABLE_VISIBILITY_TRUE='#'
66097 ENABLE_VISIBILITY_FALSE=
66101 if test $ac_ldbl_compat = yes; then
66102 GLIBCXX_LDBL_COMPAT_TRUE=
66103 GLIBCXX_LDBL_COMPAT_FALSE='#'
66105 GLIBCXX_LDBL_COMPAT_TRUE='#'
66106 GLIBCXX_LDBL_COMPAT_FALSE=
66112 cat >confcache <<\_ACEOF
66113 # This file is a shell script that caches the results of configure
66114 # tests run on this system so they can be shared between configure
66115 # scripts and configure runs, see configure's option --config-cache.
66116 # It is not useful on other systems. If it contains results you don't
66117 # want to keep, you may remove or edit it.
66119 # config.status only pays attention to the cache file if you give it
66120 # the --recheck option to rerun configure.
66122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66124 # following values.
66128 # The following way of writing the cache mishandles newlines in values,
66129 # but we know of no workaround that is simple, portable, and efficient.
66130 # So, we kill variables containing newlines.
66131 # Ultrix sh set writes to stderr and can't be redirected directly,
66132 # and sets the high bit in the cache file unless we assign to the vars.
66134 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66135 eval ac_val=\$$ac_var
66139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66143 _ | IFS | as_nl) ;; #(
66144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66145 *) { eval $ac_var=; unset $ac_var;} ;;
66151 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66152 *${as_nl}ac_space=\ *)
66153 # `set' does not quote correctly, so add quotes: double-quote
66154 # substitution turns \\\\ into \\, and sed turns \\ into \.
66157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66160 # `set' quotes correctly as required by POSIX, so do not add quotes.
66161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66170 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66172 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66174 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66175 if test -w "$cache_file"; then
66176 test "x$cache_file" != "x/dev/null" &&
66177 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66178 $as_echo "$as_me: updating cache $cache_file" >&6;}
66179 cat confcache >$cache_file
66181 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66182 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66187 if test ${multilib} = yes; then
66188 multilib_arg="--enable-multilib"
66193 # Export all the install information.
66195 glibcxx_toolexecdir=no
66196 glibcxx_toolexeclibdir=no
66197 glibcxx_prefixdir=$prefix
66199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66200 $as_echo_n "checking for gxx-include-dir... " >&6; }
66202 # Check whether --with-gxx-include-dir was given.
66203 if test "${with_gxx_include_dir+set}" = set; then :
66204 withval=$with_gxx_include_dir; case "$withval" in
66205 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66206 no) gxx_include_dir=no ;;
66207 *) gxx_include_dir=$withval ;;
66213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66214 $as_echo "$gxx_include_dir" >&6; }
66216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66217 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66218 # Check whether --enable-version-specific-runtime-libs was given.
66219 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66220 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66221 yes) version_specific_libs=yes ;;
66222 no) version_specific_libs=no ;;
66223 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66226 version_specific_libs=no
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66230 $as_echo "$version_specific_libs" >&6; }
66232 # Default case for install directory for include files.
66233 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66234 gxx_include_dir='include/c++/${gcc_version}'
66235 if test -n "$with_cross_host" &&
66236 test x"$with_cross_host" != x"no"; then
66237 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66239 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66243 # Version-specific runtime libs processing.
66244 if test $version_specific_libs = yes; then
66245 # Need the gcc compiler version to know where to install libraries
66246 # and header files if --enable-version-specific-runtime-libs option
66247 # is selected. FIXME: these variables are misnamed, there are
66248 # no executables installed in _toolexecdir or _toolexeclibdir.
66249 if test x"$gxx_include_dir" = x"no"; then
66250 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66252 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66253 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66256 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66257 # Install a library built with a cross compiler in tooldir, not libdir.
66258 if test x"$glibcxx_toolexecdir" = x"no"; then
66259 if test -n "$with_cross_host" &&
66260 test x"$with_cross_host" != x"no"; then
66261 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66262 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66264 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66265 glibcxx_toolexeclibdir='${libdir}'
66267 multi_os_directory=`$CXX -print-multi-os-directory`
66268 case $multi_os_directory in
66269 .) ;; # Avoid trailing /.
66270 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66275 $as_echo_n "checking for install location... " >&6; }
66276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66277 $as_echo "$gxx_include_dir" >&6; }
66285 # Export all the include and flag information to Makefiles.
66287 # Used for every C++ compile we perform.
66288 GLIBCXX_INCLUDES="\
66289 -I$glibcxx_builddir/include/$host_alias \
66290 -I$glibcxx_builddir/include \
66291 -I$glibcxx_srcdir/libsupc++"
66293 # For Canadian crosses, pick this up too.
66294 if test $CANADIAN = yes; then
66295 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66298 # Stuff in the actual top level. Currently only used by libsupc++ to
66299 # get unwind* headers from the libgcc dir.
66300 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66301 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66303 # Now, export this to all the little Makefiles....
66308 # Optimization flags that are probably a good idea for thrill-seekers. Just
66309 # uncomment the lines below and make, everything else is ready to go...
66310 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66311 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66314 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66318 if test "$enable_shared" = yes; then
66319 PIC_CXXFLAGS="-prefer-pic"
66325 ac_config_files="$ac_config_files Makefile"
66327 ac_config_files="$ac_config_files scripts/testsuite_flags"
66329 ac_config_files="$ac_config_files scripts/extract_symvers"
66332 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66333 # that multilib installs will end up installed in the correct place.
66334 # The testsuite needs it for multilib-aware ABI baseline files.
66335 # To work around this not being passed down from config-ml.in ->
66336 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66337 # append it here. Only modify Makefiles that have just been created.
66339 # Also, get rid of this simulated-VPATH thing that automake does.
66340 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66343 ac_config_commands="$ac_config_commands generate-headers"
66346 cat >confcache <<\_ACEOF
66347 # This file is a shell script that caches the results of configure
66348 # tests run on this system so they can be shared between configure
66349 # scripts and configure runs, see configure's option --config-cache.
66350 # It is not useful on other systems. If it contains results you don't
66351 # want to keep, you may remove or edit it.
66353 # config.status only pays attention to the cache file if you give it
66354 # the --recheck option to rerun configure.
66356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66358 # following values.
66362 # The following way of writing the cache mishandles newlines in values,
66363 # but we know of no workaround that is simple, portable, and efficient.
66364 # So, we kill variables containing newlines.
66365 # Ultrix sh set writes to stderr and can't be redirected directly,
66366 # and sets the high bit in the cache file unless we assign to the vars.
66368 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66369 eval ac_val=\$$ac_var
66373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66377 _ | IFS | as_nl) ;; #(
66378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66379 *) { eval $ac_var=; unset $ac_var;} ;;
66385 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66386 *${as_nl}ac_space=\ *)
66387 # `set' does not quote correctly, so add quotes: double-quote
66388 # substitution turns \\\\ into \\, and sed turns \\ into \.
66391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66394 # `set' quotes correctly as required by POSIX, so do not add quotes.
66395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66406 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66409 if test -w "$cache_file"; then
66410 test "x$cache_file" != "x/dev/null" &&
66411 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66412 $as_echo "$as_me: updating cache $cache_file" >&6;}
66413 cat confcache >$cache_file
66415 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66416 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66421 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66422 # Let make expand exec_prefix.
66423 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66425 DEFS=-DHAVE_CONFIG_H
66429 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66430 # 1. Remove the extension, and $U if already installed.
66431 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66432 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66434 # will be set to the directory where LIBOBJS objects are built.
66435 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66436 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66438 LIBOBJS=$ac_libobjs
66440 LTLIBOBJS=$ac_ltlibobjs
66443 if test -n "$EXEEXT"; then
66445 am__EXEEXT_FALSE='#'
66447 am__EXEEXT_TRUE='#'
66451 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66452 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66455 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66456 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66459 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66460 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66463 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66464 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66467 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66468 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66471 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66472 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66475 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66476 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66479 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66480 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66483 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66484 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66487 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66488 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66491 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66492 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66495 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66496 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66499 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66500 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66503 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66504 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66507 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66508 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66511 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66512 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66515 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66516 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66519 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66520 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66523 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66524 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66527 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66528 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66531 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66532 as_fn_error "conditional \"BUILD_XML\" was never defined.
66533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66535 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66536 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66539 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66540 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66543 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66544 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66548 : ${CONFIG_STATUS=./config.status}
66550 ac_clean_files_save=$ac_clean_files
66551 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66553 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66555 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66557 # Generated by $as_me.
66558 # Run this file to recreate the current configuration.
66559 # Compiler output produced by configure, useful for debugging
66560 # configure, is in config.log if it exists.
66563 ac_cs_recheck=false
66566 SHELL=\${CONFIG_SHELL-$SHELL}
66569 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66570 ## -------------------- ##
66571 ## M4sh Initialization. ##
66572 ## -------------------- ##
66574 # Be more Bourne compatible
66575 DUALCASE=1; export DUALCASE # for MKS sh
66576 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66579 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66580 # is contrary to our usage. Disable this feature.
66581 alias -g '${1+"$@"}'='"$@"'
66582 setopt NO_GLOB_SUBST
66584 case `(set -o) 2>/dev/null` in #(
66596 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66597 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66598 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66599 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66600 # Prefer a ksh shell builtin over an external printf program on Solaris,
66601 # but without wasting forks for bash or zsh.
66602 if test -z "$BASH_VERSION$ZSH_VERSION" \
66603 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66604 as_echo='print -r --'
66605 as_echo_n='print -rn --'
66606 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66607 as_echo='printf %s\n'
66608 as_echo_n='printf %s'
66610 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66611 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66612 as_echo_n='/usr/ucb/echo -n'
66614 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66615 as_echo_n_body='eval
66619 expr "X$arg" : "X\\(.*\\)$as_nl";
66620 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66622 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66624 export as_echo_n_body
66625 as_echo_n='sh -c $as_echo_n_body as_echo'
66627 export as_echo_body
66628 as_echo='sh -c $as_echo_body as_echo'
66631 # The user is always right.
66632 if test "${PATH_SEPARATOR+set}" != set; then
66634 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66635 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66642 # We need space, tab and new line, in precisely that order. Quoting is
66643 # there to prevent editors from complaining about space-tab.
66644 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66645 # splitting by setting IFS to empty value.)
66648 # Find who we are. Look in the path if we contain no directory separator.
66650 *[\\/]* ) as_myself=$0 ;;
66651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66652 for as_dir in $PATH
66655 test -z "$as_dir" && as_dir=.
66656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66662 # We did not find ourselves, most probably we were run as `sh COMMAND'
66663 # in which case we are not to be found in the path.
66664 if test "x$as_myself" = x; then
66667 if test ! -f "$as_myself"; then
66668 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66672 # Unset variables that we do not need and which cause bugs (e.g. in
66673 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66674 # suppresses any "Segmentation fault" message there. '((' could
66675 # trigger a bug in pdksh 5.2.14.
66676 for as_var in BASH_ENV ENV MAIL MAILPATH
66677 do eval test x\${$as_var+set} = xset \
66678 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66694 # as_fn_error ERROR [LINENO LOG_FD]
66695 # ---------------------------------
66696 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66697 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66698 # script with status $?, using 1 if that was 0.
66701 as_status=$?; test $as_status -eq 0 && as_status=1
66703 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66704 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66706 $as_echo "$as_me: error: $1" >&2
66707 as_fn_exit $as_status
66711 # as_fn_set_status STATUS
66712 # -----------------------
66713 # Set $? to STATUS, without forking.
66714 as_fn_set_status ()
66717 } # as_fn_set_status
66719 # as_fn_exit STATUS
66720 # -----------------
66721 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66725 as_fn_set_status $1
66731 # Portably unset VAR.
66734 { eval $1=; unset $1;}
66736 as_unset=as_fn_unset
66737 # as_fn_append VAR VALUE
66738 # ----------------------
66739 # Append the text in VALUE to the end of the definition contained in VAR. Take
66740 # advantage of any shell optimizations that allow amortized linear growth over
66741 # repeated appends, instead of the typical quadratic growth present in naive
66743 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66744 eval 'as_fn_append ()
66755 # as_fn_arith ARG...
66756 # ------------------
66757 # Perform arithmetic evaluation on the ARGs, and store the result in the
66758 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66759 # must be portable across $(()) and expr.
66760 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66761 eval 'as_fn_arith ()
66768 as_val=`expr "$@" || test $? -eq 1`
66773 if expr a : '\(a\)' >/dev/null 2>&1 &&
66774 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66780 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66781 as_basename=basename
66786 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66792 as_me=`$as_basename -- "$0" ||
66793 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66794 X"$0" : 'X\(//\)$' \| \
66795 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66797 sed '/^.*\/\([^/][^/]*\)\/*$/{
66811 # Avoid depending upon Character Ranges.
66812 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66813 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66814 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66815 as_cr_digits='0123456789'
66816 as_cr_alnum=$as_cr_Letters$as_cr_digits
66818 ECHO_C= ECHO_N= ECHO_T=
66819 case `echo -n x` in #(((((
66821 case `echo 'xy\c'` in
66822 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66824 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66831 rm -f conf$$ conf$$.exe conf$$.file
66832 if test -d conf$$.dir; then
66833 rm -f conf$$.dir/conf$$.file
66836 mkdir conf$$.dir 2>/dev/null
66838 if (echo >conf$$.file) 2>/dev/null; then
66839 if ln -s conf$$.file conf$$ 2>/dev/null; then
66841 # ... but there are two gotchas:
66842 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66843 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66844 # In both cases, we have to default to `cp -p'.
66845 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66847 elif ln conf$$.file conf$$ 2>/dev/null; then
66855 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66856 rmdir conf$$.dir 2>/dev/null
66861 # Create "$as_dir" as a directory, including parents if necessary.
66866 -*) as_dir=./$as_dir;;
66868 test -d "$as_dir" || eval $as_mkdir_p || {
66872 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66873 *) as_qdir=$as_dir;;
66875 as_dirs="'$as_qdir' $as_dirs"
66876 as_dir=`$as_dirname -- "$as_dir" ||
66877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66878 X"$as_dir" : 'X\(//\)[^/]' \| \
66879 X"$as_dir" : 'X\(//\)$' \| \
66880 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66881 $as_echo X"$as_dir" |
66882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66886 /^X\(\/\/\)[^/].*/{
66899 test -d "$as_dir" && break
66901 test -z "$as_dirs" || eval "mkdir $as_dirs"
66902 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66906 if mkdir -p . 2>/dev/null; then
66907 as_mkdir_p='mkdir -p "$as_dir"'
66909 test -d ./-p && rmdir ./-p
66913 if test -x / >/dev/null 2>&1; then
66914 as_test_x='test -x'
66916 if ls -dL / >/dev/null 2>&1; then
66923 if test -d "$1"; then
66929 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66930 ???[sx]*):;;*)false;;esac;fi
66934 as_executable_p=$as_test_x
66936 # Sed expression to map a string onto a valid CPP name.
66937 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66939 # Sed expression to map a string onto a valid variable name.
66940 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66944 ## ----------------------------------- ##
66945 ## Main body of $CONFIG_STATUS script. ##
66946 ## ----------------------------------- ##
66948 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66951 # Save the log message, to keep $0 and so on meaningful, and to
66952 # report actual input values of CONFIG_FILES etc. instead of their
66953 # values after options handling.
66955 This file was extended by package-unused $as_me version-unused, which was
66956 generated by GNU Autoconf 2.64. Invocation command line was
66958 CONFIG_FILES = $CONFIG_FILES
66959 CONFIG_HEADERS = $CONFIG_HEADERS
66960 CONFIG_LINKS = $CONFIG_LINKS
66961 CONFIG_COMMANDS = $CONFIG_COMMANDS
66964 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66969 case $ac_config_files in *"
66970 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66973 case $ac_config_headers in *"
66974 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66979 # Files that config.status was made for.
66980 config_files="$ac_config_files"
66981 config_headers="$ac_config_headers"
66982 config_commands="$ac_config_commands"
66986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66988 \`$as_me' instantiates files and other configuration actions
66989 from templates according to the current configuration. Unless the files
66990 and actions are specified as TAGs, all are instantiated by default.
66992 Usage: $0 [OPTION]... [TAG]...
66994 -h, --help print this help, then exit
66995 -V, --version print version number and configuration settings, then exit
66996 -q, --quiet, --silent
66997 do not print progress messages
66998 -d, --debug don't remove temporary files
66999 --recheck update $as_me by reconfiguring in the same conditions
67000 --file=FILE[:TEMPLATE]
67001 instantiate the configuration file FILE
67002 --header=FILE[:TEMPLATE]
67003 instantiate the configuration header FILE
67005 Configuration files:
67008 Configuration headers:
67011 Configuration commands:
67014 Report bugs to the package provider."
67017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67019 package-unused config.status version-unused
67020 configured by $0, generated by GNU Autoconf 2.64,
67021 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67023 Copyright (C) 2009 Free Software Foundation, Inc.
67024 This config.status script is free software; the Free Software Foundation
67025 gives unlimited permission to copy, distribute and modify it."
67032 test -n "\$AWK" || AWK=awk
67035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67036 # The default lists apply if the user does not specify any file.
67042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
67043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67054 # Handling of the options.
67055 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67057 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67058 $as_echo "$ac_cs_version"; exit ;;
67059 --debug | --debu | --deb | --de | --d | -d )
67061 --file | --fil | --fi | --f )
67064 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67066 as_fn_append CONFIG_FILES " '$ac_optarg'"
67067 ac_need_defaults=false;;
67068 --header | --heade | --head | --hea )
67071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67073 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67074 ac_need_defaults=false;;
67076 # Conflict between --help and --header
67077 as_fn_error "ambiguous option: \`$1'
67078 Try \`$0 --help' for more information.";;
67079 --help | --hel | -h )
67080 $as_echo "$ac_cs_usage"; exit ;;
67081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67082 | -silent | --silent | --silen | --sile | --sil | --si | --s)
67085 # This is an error.
67086 -*) as_fn_error "unrecognized option: \`$1'
67087 Try \`$0 --help' for more information." ;;
67089 *) as_fn_append ac_config_targets " $1"
67090 ac_need_defaults=false ;;
67096 ac_configure_extra_args=
67098 if $ac_cs_silent; then
67100 ac_configure_extra_args="$ac_configure_extra_args --silent"
67104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67105 if \$ac_cs_recheck; then
67106 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67108 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67109 CONFIG_SHELL='$SHELL'
67110 export CONFIG_SHELL
67115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67119 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67120 ## Running $as_me. ##
67126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67134 with_multisubdir="$with_multisubdir"
67135 with_multisrctop="$with_multisrctop"
67136 with_target_subdir="$with_target_subdir"
67137 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67138 multi_basedir="$multi_basedir"
67139 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67142 GFORTRAN="$GFORTRAN"
67146 # The HP-UX ksh and POSIX shell print the target directory to stdout
67147 # if CDPATH is set.
67148 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67150 sed_quote_subst='$sed_quote_subst'
67151 double_quote_subst='$double_quote_subst'
67152 delay_variable_subst='$delay_variable_subst'
67153 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67154 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67155 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67156 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67157 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67158 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67159 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67160 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67161 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67162 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67163 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67164 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67165 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67166 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67167 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67168 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67169 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67170 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67171 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67172 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67173 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67174 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67175 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67176 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67177 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67178 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67179 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67180 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67181 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67182 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67183 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67184 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67185 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67186 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67187 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67188 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67189 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67190 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67191 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67192 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67193 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67194 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67195 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67196 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67197 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67198 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67199 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67200 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67201 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
67202 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67203 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67204 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67205 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67206 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67207 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67208 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67209 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67210 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67211 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67212 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67213 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67214 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67215 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67216 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67217 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67218 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67219 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67220 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67221 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67222 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67223 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67224 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67225 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67226 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67227 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67228 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67229 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67230 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67231 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67232 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67233 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67234 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67235 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67236 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67237 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67238 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67239 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67240 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67241 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67242 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67243 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67244 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67245 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67246 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67247 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67248 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67249 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67250 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67251 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67252 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67253 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67254 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67255 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67256 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67257 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67258 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67259 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67260 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67261 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67262 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67263 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67264 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67265 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67266 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67267 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67268 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67269 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67270 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67271 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67272 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67273 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67274 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67275 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67276 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67277 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67278 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67279 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67280 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67281 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67282 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67283 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67284 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67285 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67286 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67287 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67288 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67289 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67290 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67291 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67292 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67293 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67294 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67295 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67296 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67297 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67298 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67299 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67300 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67301 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67302 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67303 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67304 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67305 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67306 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67307 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67308 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67309 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67310 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67311 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67312 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67313 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67314 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67315 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67316 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67317 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67318 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67319 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67320 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67321 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67322 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67323 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67324 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67325 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67326 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67327 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67330 LTCFLAGS='$LTCFLAGS'
67331 compiler='$compiler_DEFAULT'
67333 # A function that is used when there is no print builtin or printf.
67334 func_fallback_echo ()
67336 eval 'cat <<_LTECHO_EOF
67341 # Quote evaled strings.
67355 deplibs_check_method \
67364 lt_cv_sys_global_symbol_pipe \
67365 lt_cv_sys_global_symbol_to_cdecl \
67366 lt_cv_sys_global_symbol_to_c_name_address \
67367 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67368 lt_prog_compiler_no_builtin_flag \
67369 lt_prog_compiler_wl \
67370 lt_prog_compiler_pic \
67371 lt_prog_compiler_static \
67372 lt_cv_prog_compiler_c_o \
67380 export_dynamic_flag_spec \
67381 whole_archive_flag_spec \
67382 compiler_needs_object \
67384 allow_undefined_flag \
67385 no_undefined_flag \
67386 hardcode_libdir_flag_spec \
67387 hardcode_libdir_flag_spec_ld \
67388 hardcode_libdir_separator \
67393 variables_saved_for_relink \
67395 library_names_spec \
67397 install_override_mode \
67401 compiler_lib_search_dirs \
67406 compiler_lib_search_path \
67410 lt_prog_compiler_no_builtin_flag_CXX \
67411 lt_prog_compiler_wl_CXX \
67412 lt_prog_compiler_pic_CXX \
67413 lt_prog_compiler_static_CXX \
67414 lt_cv_prog_compiler_c_o_CXX \
67415 export_dynamic_flag_spec_CXX \
67416 whole_archive_flag_spec_CXX \
67417 compiler_needs_object_CXX \
67419 allow_undefined_flag_CXX \
67420 no_undefined_flag_CXX \
67421 hardcode_libdir_flag_spec_CXX \
67422 hardcode_libdir_flag_spec_ld_CXX \
67423 hardcode_libdir_separator_CXX \
67424 fix_srcfile_path_CXX \
67425 exclude_expsyms_CXX \
67426 include_expsyms_CXX \
67427 file_list_spec_CXX \
67428 compiler_lib_search_dirs_CXX \
67429 predep_objects_CXX \
67430 postdep_objects_CXX \
67433 compiler_lib_search_path_CXX; do
67434 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67435 *[\\\\\\\`\\"\\\$]*)
67436 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67439 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67444 # Double-quote double-evaled strings.
67445 for var in reload_cmds \
67446 old_postinstall_cmds \
67447 old_postuninstall_cmds \
67449 extract_expsyms_cmds \
67450 old_archive_from_new_cmds \
67451 old_archive_from_expsyms_cmds \
67453 archive_expsym_cmds \
67455 module_expsym_cmds \
67456 export_symbols_cmds \
67459 postuninstall_cmds \
67461 sys_lib_search_path_spec \
67462 sys_lib_dlsearch_path_spec \
67464 old_archive_cmds_CXX \
67465 old_archive_from_new_cmds_CXX \
67466 old_archive_from_expsyms_cmds_CXX \
67468 archive_expsym_cmds_CXX \
67470 module_expsym_cmds_CXX \
67471 export_symbols_cmds_CXX \
67472 prelink_cmds_CXX; do
67473 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67474 *[\\\\\\\`\\"\\\$]*)
67475 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67478 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67483 ac_aux_dir='$ac_aux_dir'
67484 xsi_shell='$xsi_shell'
67485 lt_shell_append='$lt_shell_append'
67487 # See if we are running on zsh, and set the options which allow our
67488 # commands through without removal of \ escapes INIT.
67489 if test -n "\${ZSH_VERSION+set}" ; then
67490 setopt NO_GLOB_SUBST
67496 TIMESTAMP='$TIMESTAMP'
67507 acx_cv_header_stdint="$acx_cv_header_stdint"
67508 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67509 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67510 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67511 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67512 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67513 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67514 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67515 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67516 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67517 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67518 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67519 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67520 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67527 # Handling of arguments.
67528 for ac_config_target in $ac_config_targets
67530 case $ac_config_target in
67531 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67532 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67533 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67534 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67535 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67536 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67537 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67538 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67539 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67540 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67541 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67542 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67543 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67544 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67545 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67546 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67547 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67549 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67554 # If the user did not use the arguments to specify the items to instantiate,
67555 # then the envvar interface is used. Set only those that are not.
67556 # We use the long form for the default assignment because of an extremely
67557 # bizarre bug on SunOS 4.1.3.
67558 if $ac_need_defaults; then
67559 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67560 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67561 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67564 # Have a temporary directory for convenience. Make it in the build tree
67565 # simply because there is no reason against having it here, and in addition,
67566 # creating and moving files from /tmp can sometimes cause problems.
67567 # Hook for its removal unless debugging.
67568 # Note that there is a small window in which the directory will not be cleaned:
67569 # after its creation but before its name has been assigned to `$tmp'.
67573 trap 'exit_status=$?
67574 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67576 trap 'as_fn_exit 1' 1 2 13 15
67578 # Create a (secure) tmp directory for tmp files.
67581 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67582 test -n "$tmp" && test -d "$tmp"
67585 tmp=./conf$$-$RANDOM
67586 (umask 077 && mkdir "$tmp")
67587 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67589 # Set up the scripts for CONFIG_FILES section.
67590 # No need to generate them if there are no CONFIG_FILES.
67591 # This happens for instance with `./config.status config.h'.
67592 if test -n "$CONFIG_FILES"; then
67595 ac_cr=`echo X | tr X '\015'`
67596 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67597 # But we know of no other shell where ac_cr would be empty at this
67598 # point, so we can use a bashism as a fallback.
67599 if test "x$ac_cr" = x; then
67600 eval ac_cr=\$\'\\r\'
67602 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67603 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67606 ac_cs_awk_cr=$ac_cr
67609 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67614 echo "cat >conf$$subs.awk <<_ACEOF" &&
67615 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67617 } >conf$$subs.sh ||
67618 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67621 for ac_last_try in false false false false false :; do
67622 . ./conf$$subs.sh ||
67623 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67625 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67626 if test $ac_delim_n = $ac_delim_num; then
67628 elif $ac_last_try; then
67629 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67631 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67634 rm -f conf$$subs.sh
67636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67637 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67641 s/^/S["/; s/!.*/"]=/
67651 s/\(.\{148\}\).*/\1/
67653 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67665 s/\(.\{148\}\).*/\1/
67667 s/["\\]/\\&/g; s/^/"/; s/$/"/
67671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67676 ' <conf$$subs.awk | sed '
67681 ' >>$CONFIG_STATUS || ac_write_fail=1
67682 rm -f conf$$subs.awk
67683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67685 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67686 for (key in S) S_is_set[key] = 1
67692 nfields = split(line, field, "@")
67694 len = length(field[1])
67695 for (i = 2; i < nfields; i++) {
67697 keylen = length(key)
67698 if (S_is_set[key]) {
67700 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67701 len += length(value) + length(field[++i])
67712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67713 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67714 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67717 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67718 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67721 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67722 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67723 # trailing colons and then remove the whole line if VPATH becomes empty
67724 # (actually we leave an empty line to preserve line numbers).
67725 if test "x$srcdir" = x.; then
67726 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67727 s/:*\$(srcdir):*/:/
67728 s/:*\${srcdir}:*/:/
67730 s/^\([^=]*=[ ]*\):*/\1/
67736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67737 fi # test -n "$CONFIG_FILES"
67739 # Set up the scripts for CONFIG_HEADERS section.
67740 # No need to generate them if there are no CONFIG_HEADERS.
67741 # This happens for instance with `./config.status Makefile'.
67742 if test -n "$CONFIG_HEADERS"; then
67743 cat >"$tmp/defines.awk" <<\_ACAWK ||
67747 # Transform confdefs.h into an awk script `defines.awk', embedded as
67748 # here-document in config.status, that substitutes the proper values into
67749 # config.h.in to produce config.h.
67751 # Create a delimiter string that does not exist in confdefs.h, to ease
67752 # handling of long lines.
67754 for ac_last_try in false false :; do
67755 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67756 if test -z "$ac_t"; then
67758 elif $ac_last_try; then
67759 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67761 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67765 # For the awk script, D is an array of macro values keyed by name,
67766 # likewise P contains macro parameters if any. Preserve backslash
67767 # newline sequences.
67769 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67771 s/.\{148\}/&'"$ac_delim"'/g
67774 s/^[ ]*#[ ]*define[ ][ ]*/ /
67781 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67783 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67787 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67788 D["\1"]=" \3\\\\\\n"\\/p
67790 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67795 s/.\{148\}/&'"$ac_delim"'/g
67800 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67803 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67805 ' <confdefs.h | sed '
67806 s/'"$ac_delim"'/"\\\
67807 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67810 for (key in D) D_is_set[key] = 1
67813 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67815 split(line, arg, " ")
67816 if (arg[1] == "#") {
67820 defundef = substr(arg[1], 2)
67823 split(mac1, mac2, "(") #)
67825 prefix = substr(line, 1, index(line, defundef) - 1)
67826 if (D_is_set[macro]) {
67827 # Preserve the white space surrounding the "#".
67828 print prefix "define", macro P[macro] D[macro]
67831 # Replace #undef with comments. This is necessary, for example,
67832 # in the case of _POSIX_SOURCE, which is predefined and required
67833 # on some systems where configure will not decide to define it.
67834 if (defundef == "undef") {
67835 print "/*", prefix defundef, macro, "*/"
67843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67844 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67845 fi # test -n "$CONFIG_HEADERS"
67848 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67853 :[FHLC]) ac_mode=$ac_tag; continue;;
67855 case $ac_mode$ac_tag in
67857 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67858 :[FH]-) ac_tag=-:-;;
67859 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67876 -) ac_f="$tmp/stdin";;
67877 *) # Look for the file first in the build tree, then in the source tree
67878 # (if the path is not absolute). The absolute path cannot be DOS-style,
67879 # because $ac_f cannot contain `:'.
67883 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67885 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67887 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67888 as_fn_append ac_file_inputs " '$ac_f'"
67891 # Let's still pretend it is `configure' which instantiates (i.e., don't
67892 # use $as_me), people would be surprised to read:
67893 # /* config.h. Generated by config.status. */
67894 configure_input='Generated from '`
67895 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67897 if test x"$ac_file" != x-; then
67898 configure_input="$ac_file. $configure_input"
67899 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67900 $as_echo "$as_me: creating $ac_file" >&6;}
67902 # Neutralize special characters interpreted by sed in replacement strings.
67903 case $configure_input in #(
67904 *\&* | *\|* | *\\* )
67905 ac_sed_conf_input=`$as_echo "$configure_input" |
67906 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67907 *) ac_sed_conf_input=$configure_input;;
67911 *:-:* | *:-) cat >"$tmp/stdin" \
67912 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67917 ac_dir=`$as_dirname -- "$ac_file" ||
67918 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67919 X"$ac_file" : 'X\(//\)[^/]' \| \
67920 X"$ac_file" : 'X\(//\)$' \| \
67921 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67922 $as_echo X"$ac_file" |
67923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67927 /^X\(\/\/\)[^/].*/{
67940 as_dir="$ac_dir"; as_fn_mkdir_p
67944 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67946 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67947 # A ".." for each directory in $ac_dir_suffix.
67948 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67949 case $ac_top_builddir_sub in
67950 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67951 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67954 ac_abs_top_builddir=$ac_pwd
67955 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67956 # for backward compatibility:
67957 ac_top_builddir=$ac_top_build_prefix
67960 .) # We are building in place.
67962 ac_top_srcdir=$ac_top_builddir_sub
67963 ac_abs_top_srcdir=$ac_pwd ;;
67964 [\\/]* | ?:[\\/]* ) # Absolute name.
67965 ac_srcdir=$srcdir$ac_dir_suffix;
67966 ac_top_srcdir=$srcdir
67967 ac_abs_top_srcdir=$srcdir ;;
67968 *) # Relative name.
67969 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67970 ac_top_srcdir=$ac_top_build_prefix$srcdir
67971 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67973 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67983 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67984 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67986 ac_MKDIR_P=$MKDIR_P
67988 [\\/$]* | ?:[\\/]* ) ;;
67989 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67994 # If the template does not know about datarootdir, expand it.
67995 # FIXME: This hack should be removed a few years after 2.60.
67996 ac_datarootdir_hack=; ac_datarootdir_seen=
68007 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68008 *datarootdir*) ac_datarootdir_seen=yes;;
68009 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68011 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68014 ac_datarootdir_hack='
68015 s&@datadir@&$datadir&g
68016 s&@docdir@&$docdir&g
68017 s&@infodir@&$infodir&g
68018 s&@localedir@&$localedir&g
68019 s&@mandir@&$mandir&g
68020 s&\\\${datarootdir}&$datarootdir&g' ;;
68024 # Neutralize VPATH when `$srcdir' = `.'.
68025 # Shell code in configure.ac might set extrasub.
68026 # FIXME: do we really want to maintain this feature?
68027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68028 ac_sed_extra="$ac_vpsub
68031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68033 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68034 s|@configure_input@|$ac_sed_conf_input|;t t
68035 s&@top_builddir@&$ac_top_builddir_sub&;t t
68036 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68037 s&@srcdir@&$ac_srcdir&;t t
68038 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68039 s&@top_srcdir@&$ac_top_srcdir&;t t
68040 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68041 s&@builddir@&$ac_builddir&;t t
68042 s&@abs_builddir@&$ac_abs_builddir&;t t
68043 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68044 s&@INSTALL@&$ac_INSTALL&;t t
68045 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68046 $ac_datarootdir_hack
68048 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68049 || as_fn_error "could not create $ac_file" "$LINENO" 5
68051 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68052 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68053 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68055 which seems to be undefined. Please make sure it is defined." >&5
68056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68057 which seems to be undefined. Please make sure it is defined." >&2;}
68061 -) cat "$tmp/out" && rm -f "$tmp/out";;
68062 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68064 || as_fn_error "could not create $ac_file" "$LINENO" 5
68070 if test x"$ac_file" != x-; then
68072 $as_echo "/* $configure_input */" \
68073 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68074 } >"$tmp/config.h" \
68075 || as_fn_error "could not create $ac_file" "$LINENO" 5
68076 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68081 mv "$tmp/config.h" "$ac_file" \
68082 || as_fn_error "could not create $ac_file" "$LINENO" 5
68085 $as_echo "/* $configure_input */" \
68086 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68087 || as_fn_error "could not create -" "$LINENO" 5
68089 # Compute "$ac_file"'s index in $config_headers.
68092 for _am_header in $config_headers :; do
68093 case $_am_header in
68094 $_am_arg | $_am_arg:* )
68097 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68100 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68101 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68102 X"$_am_arg" : 'X\(//\)[^/]' \| \
68103 X"$_am_arg" : 'X\(//\)$' \| \
68104 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68105 $as_echo X"$_am_arg" |
68106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68110 /^X\(\/\/\)[^/].*/{
68122 s/.*/./; q'`/stamp-h$_am_stamp_count
68125 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68126 $as_echo "$as_me: executing $ac_file commands" >&6;}
68131 case $ac_file$ac_mode in
68133 # Only add multilib support code if we just rebuilt the top-level
68135 case " $CONFIG_FILES " in
68137 ac_file=Makefile . ${multi_basedir}/config-ml.in
68142 # See if we are running on zsh, and set the options which allow our
68143 # commands through without removal of \ escapes.
68144 if test -n "${ZSH_VERSION+set}" ; then
68145 setopt NO_GLOB_SUBST
68148 cfgfile="${ofile}T"
68149 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68152 cat <<_LT_EOF >> "$cfgfile"
68155 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68156 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68157 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68158 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68160 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68161 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68162 # Written by Gordon Matzigkeit, 1996
68164 # This file is part of GNU Libtool.
68166 # GNU Libtool is free software; you can redistribute it and/or
68167 # modify it under the terms of the GNU General Public License as
68168 # published by the Free Software Foundation; either version 2 of
68169 # the License, or (at your option) any later version.
68171 # As a special exception to the GNU General Public License,
68172 # if you distribute this file as part of a program or library that
68173 # is built using GNU Libtool, you may include this file under the
68174 # same distribution terms that you use for the rest of that program.
68176 # GNU Libtool is distributed in the hope that it will be useful,
68177 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68178 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68179 # GNU General Public License for more details.
68181 # You should have received a copy of the GNU General Public License
68182 # along with GNU Libtool; see the file COPYING. If not, a copy
68183 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68184 # obtained by writing to the Free Software Foundation, Inc.,
68185 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68188 # The names of the tagged configurations supported by this script.
68189 available_tags="CXX "
68191 # ### BEGIN LIBTOOL CONFIG
68193 # Which release of libtool.m4 was used?
68194 macro_version=$macro_version
68195 macro_revision=$macro_revision
68197 # Whether or not to build shared libraries.
68198 build_libtool_libs=$enable_shared
68200 # Whether or not to build static libraries.
68201 build_old_libs=$enable_static
68203 # What type of objects to build.
68206 # Whether or not to optimize for fast installation.
68207 fast_install=$enable_fast_install
68209 # Shell to use when invoking shell scripts.
68212 # An echo program that protects backslashes.
68216 host_alias=$host_alias
68220 # The build system.
68221 build_alias=$build_alias
68225 # A sed program that does not truncate output.
68228 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68229 Xsed="\$SED -e 1s/^X//"
68231 # A grep program that handles long lines.
68237 # A literal string matcher.
68240 # A BSD- or MS-compatible name lister.
68243 # Whether we need soft or hard links.
68246 # What is the maximum length of a command?
68247 max_cmd_len=$max_cmd_len
68249 # Object file suffix (normally "o").
68252 # Executable file suffix (normally "").
68255 # whether the shell understands "unset".
68258 # turn spaces into newlines.
68261 # turn newlines into spaces.
68264 # An object symbol dumper.
68265 OBJDUMP=$lt_OBJDUMP
68267 # Method to check whether dependent libraries are shared objects.
68268 deplibs_check_method=$lt_deplibs_check_method
68270 # Command to use when deplibs_check_method == "file_magic".
68271 file_magic_cmd=$lt_file_magic_cmd
68275 AR_FLAGS=$lt_AR_FLAGS
68277 # A symbol stripping program.
68280 # Commands used to install an old-style archive.
68282 old_postinstall_cmds=$lt_old_postinstall_cmds
68283 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68285 # Whether to use a lock for old archive extraction.
68286 lock_old_archive_extraction=$lock_old_archive_extraction
68291 # LTCC compiler flags.
68292 LTCFLAGS=$lt_CFLAGS
68294 # Take the output of nm and produce a listing of raw symbols and C names.
68295 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68297 # Transform the output of nm in a proper C declaration.
68298 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68300 # Transform the output of nm in a C name address pair.
68301 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68303 # Transform the output of nm in a C name address pair when lib prefix is needed.
68304 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68306 # The name of the directory that contains temporary libtool files.
68309 # Used to examine libraries when file_magic_cmd begins with "file".
68310 MAGIC_CMD=$MAGIC_CMD
68312 # Must we lock files when doing compilation?
68313 need_locks=$lt_need_locks
68315 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68316 DSYMUTIL=$lt_DSYMUTIL
68318 # Tool to change global to local symbols on Mac OS X.
68321 # Tool to manipulate fat objects and archives on Mac OS X.
68324 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68327 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68328 OTOOL64=$lt_OTOOL64
68330 # Old archive suffix (normally "a").
68333 # Shared library suffix (normally ".so").
68334 shrext_cmds=$lt_shrext_cmds
68336 # The commands to extract the exported symbol list from a shared archive.
68337 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68339 # Variables whose values should be saved in libtool wrapper scripts and
68340 # restored at link time.
68341 variables_saved_for_relink=$lt_variables_saved_for_relink
68343 # Do we need the "lib" prefix for modules?
68344 need_lib_prefix=$need_lib_prefix
68346 # Do we need a version for libraries?
68347 need_version=$need_version
68349 # Library versioning type.
68350 version_type=$version_type
68352 # Shared library runtime path variable.
68353 runpath_var=$runpath_var
68355 # Shared library path variable.
68356 shlibpath_var=$shlibpath_var
68358 # Is shlibpath searched before the hard-coded library search path?
68359 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68361 # Format of library name prefix.
68362 libname_spec=$lt_libname_spec
68364 # List of archive names. First name is the real one, the rest are links.
68365 # The last name is the one that the linker finds with -lNAME
68366 library_names_spec=$lt_library_names_spec
68368 # The coded name of the library, if different from the real name.
68369 soname_spec=$lt_soname_spec
68371 # Permission mode override for installation of shared libraries.
68372 install_override_mode=$lt_install_override_mode
68374 # Command to use after installation of a shared archive.
68375 postinstall_cmds=$lt_postinstall_cmds
68377 # Command to use after uninstallation of a shared archive.
68378 postuninstall_cmds=$lt_postuninstall_cmds
68380 # Commands used to finish a libtool library installation in a directory.
68381 finish_cmds=$lt_finish_cmds
68383 # As "finish_cmds", except a single script fragment to be evaled but
68385 finish_eval=$lt_finish_eval
68387 # Whether we should hardcode library paths into libraries.
68388 hardcode_into_libs=$hardcode_into_libs
68390 # Compile-time system search path for libraries.
68391 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68393 # Run-time system search path for libraries.
68394 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68396 # Whether dlopen is supported.
68397 dlopen_support=$enable_dlopen
68399 # Whether dlopen of programs is supported.
68400 dlopen_self=$enable_dlopen_self
68402 # Whether dlopen of statically linked programs is supported.
68403 dlopen_self_static=$enable_dlopen_self_static
68405 # Commands to strip libraries.
68406 old_striplib=$lt_old_striplib
68407 striplib=$lt_striplib
68410 # The linker used to build libraries.
68413 # How to create reloadable object files.
68414 reload_flag=$lt_reload_flag
68415 reload_cmds=$lt_reload_cmds
68417 # Commands used to build an old-style archive.
68418 old_archive_cmds=$lt_old_archive_cmds
68420 # A language specific compiler.
68423 # Is the compiler the GNU compiler?
68426 # Compiler flag to turn off builtin functions.
68427 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68429 # How to pass a linker flag through the compiler.
68430 wl=$lt_lt_prog_compiler_wl
68432 # Additional compiler flags for building library objects.
68433 pic_flag=$lt_lt_prog_compiler_pic
68435 # Compiler flag to prevent dynamic linking.
68436 link_static_flag=$lt_lt_prog_compiler_static
68438 # Does compiler simultaneously support -c and -o options?
68439 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68441 # Whether or not to add -lc for building shared libraries.
68442 build_libtool_need_lc=$archive_cmds_need_lc
68444 # Whether or not to disallow shared libs when runtime libs are static.
68445 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68447 # Compiler flag to allow reflexive dlopens.
68448 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68450 # Compiler flag to generate shared objects directly from archives.
68451 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68453 # Whether the compiler copes with passing no objects directly.
68454 compiler_needs_object=$lt_compiler_needs_object
68456 # Create an old-style archive from a shared archive.
68457 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68459 # Create a temporary old-style archive to link instead of a shared archive.
68460 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68462 # Commands used to build a shared archive.
68463 archive_cmds=$lt_archive_cmds
68464 archive_expsym_cmds=$lt_archive_expsym_cmds
68466 # Commands used to build a loadable module if different from building
68467 # a shared archive.
68468 module_cmds=$lt_module_cmds
68469 module_expsym_cmds=$lt_module_expsym_cmds
68471 # Whether we are building with GNU ld or not.
68472 with_gnu_ld=$lt_with_gnu_ld
68474 # Flag that allows shared libraries with undefined symbols to be built.
68475 allow_undefined_flag=$lt_allow_undefined_flag
68477 # Flag that enforces no undefined symbols.
68478 no_undefined_flag=$lt_no_undefined_flag
68480 # Flag to hardcode \$libdir into a binary during linking.
68481 # This must work even if \$libdir does not exist
68482 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68484 # If ld is used when linking, flag to hardcode \$libdir into a binary
68485 # during linking. This must work even if \$libdir does not exist.
68486 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68488 # Whether we need a single "-rpath" flag with a separated argument.
68489 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68491 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68492 # DIR into the resulting binary.
68493 hardcode_direct=$hardcode_direct
68495 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68496 # DIR into the resulting binary and the resulting library dependency is
68497 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68498 # library is relocated.
68499 hardcode_direct_absolute=$hardcode_direct_absolute
68501 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68502 # into the resulting binary.
68503 hardcode_minus_L=$hardcode_minus_L
68505 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68506 # into the resulting binary.
68507 hardcode_shlibpath_var=$hardcode_shlibpath_var
68509 # Set to "yes" if building a shared library automatically hardcodes DIR
68510 # into the library and all subsequent libraries and executables linked
68512 hardcode_automatic=$hardcode_automatic
68514 # Set to yes if linker adds runtime paths of dependent libraries
68515 # to runtime path list.
68516 inherit_rpath=$inherit_rpath
68518 # Whether libtool must link a program against all its dependency libraries.
68519 link_all_deplibs=$link_all_deplibs
68521 # Fix the shell variable \$srcfile for the compiler.
68522 fix_srcfile_path=$lt_fix_srcfile_path
68524 # Set to "yes" if exported symbols are required.
68525 always_export_symbols=$always_export_symbols
68527 # The commands to list exported symbols.
68528 export_symbols_cmds=$lt_export_symbols_cmds
68530 # Symbols that should not be listed in the preloaded symbols.
68531 exclude_expsyms=$lt_exclude_expsyms
68533 # Symbols that must always be exported.
68534 include_expsyms=$lt_include_expsyms
68536 # Commands necessary for linking programs (against libraries) with templates.
68537 prelink_cmds=$lt_prelink_cmds
68539 # Specify filename containing input files.
68540 file_list_spec=$lt_file_list_spec
68542 # How to hardcode a shared library path into an executable.
68543 hardcode_action=$hardcode_action
68545 # The directories searched by this compiler when creating a shared library.
68546 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68548 # Dependencies to place before and after the objects being linked to
68549 # create a shared library.
68550 predep_objects=$lt_predep_objects
68551 postdep_objects=$lt_postdep_objects
68552 predeps=$lt_predeps
68553 postdeps=$lt_postdeps
68555 # The library search path used internally by the compiler when linking
68556 # a shared library.
68557 compiler_lib_search_path=$lt_compiler_lib_search_path
68559 # ### END LIBTOOL CONFIG
68565 cat <<\_LT_EOF >> "$cfgfile"
68566 # AIX sometimes has problems with the GCC collect2 program. For some
68567 # reason, if we set the COLLECT_NAMES environment variable, the problems
68568 # vanish in a puff of smoke.
68569 if test "X${COLLECT_NAMES+set}" != Xset; then
68571 export COLLECT_NAMES
68578 ltmain="$ac_aux_dir/ltmain.sh"
68581 # We use sed instead of cat because bash on DJGPP gets confused if
68582 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68583 # text mode, it properly converts lines to CR/LF. This bash problem
68584 # is reportedly fixed, but why not run on old versions too?
68585 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68586 || (rm -f "$cfgfile"; exit 1)
68590 cat << \_LT_EOF >> "$cfgfile"
68592 # func_dirname file append nondir_replacement
68593 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68594 # otherwise set result to NONDIR_REPLACEMENT.
68598 */*) func_dirname_result="${1%/*}${2}" ;;
68599 * ) func_dirname_result="${3}" ;;
68603 # func_basename file
68606 func_basename_result="${1##*/}"
68609 # func_dirname_and_basename file append nondir_replacement
68610 # perform func_basename and func_dirname in a single function
68612 # dirname: Compute the dirname of FILE. If nonempty,
68613 # add APPEND to the result, otherwise set result
68614 # to NONDIR_REPLACEMENT.
68615 # value returned in "$func_dirname_result"
68616 # basename: Compute filename of FILE.
68617 # value retuned in "$func_basename_result"
68618 # Implementation must be kept synchronized with func_dirname
68619 # and func_basename. For efficiency, we do not delegate to
68620 # those functions but instead duplicate the functionality here.
68621 func_dirname_and_basename ()
68624 */*) func_dirname_result="${1%/*}${2}" ;;
68625 * ) func_dirname_result="${3}" ;;
68627 func_basename_result="${1##*/}"
68630 # func_stripname prefix suffix name
68631 # strip PREFIX and SUFFIX off of NAME.
68632 # PREFIX and SUFFIX must not contain globbing or regex special
68633 # characters, hashes, percent signs, but SUFFIX may contain a leading
68634 # dot (in which case that matches only a dot).
68637 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68638 # positional parameters, so assign one to ordinary parameter first.
68639 func_stripname_result=${3}
68640 func_stripname_result=${func_stripname_result#"${1}"}
68641 func_stripname_result=${func_stripname_result%"${2}"}
68647 func_opt_split_opt=${1%%=*}
68648 func_opt_split_arg=${1#*=}
68655 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68656 *) func_lo2o_result=${1} ;;
68660 # func_xform libobj-or-source
68663 func_xform_result=${1%.*}.lo
68666 # func_arith arithmetic-term...
68669 func_arith_result=$(( $* ))
68673 # STRING may not start with a hyphen.
68676 func_len_result=${#1}
68681 *) # Bourne compatible functions.
68682 cat << \_LT_EOF >> "$cfgfile"
68684 # func_dirname file append nondir_replacement
68685 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68686 # otherwise set result to NONDIR_REPLACEMENT.
68689 # Extract subdirectory from the argument.
68690 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68691 if test "X$func_dirname_result" = "X${1}"; then
68692 func_dirname_result="${3}"
68694 func_dirname_result="$func_dirname_result${2}"
68698 # func_basename file
68701 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68705 # func_stripname prefix suffix name
68706 # strip PREFIX and SUFFIX off of NAME.
68707 # PREFIX and SUFFIX must not contain globbing or regex special
68708 # characters, hashes, percent signs, but SUFFIX may contain a leading
68709 # dot (in which case that matches only a dot).
68710 # func_strip_suffix prefix name
68714 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68715 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68720 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68721 my_sed_long_arg='1s/^-[^=]*=//'
68726 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68727 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68733 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68736 # func_xform libobj-or-source
68739 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68742 # func_arith arithmetic-term...
68745 func_arith_result=`expr "$@"`
68749 # STRING may not start with a hyphen.
68752 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68758 case $lt_shell_append in
68760 cat << \_LT_EOF >> "$cfgfile"
68762 # func_append var value
68763 # Append VALUE to the end of shell variable VAR.
68771 cat << \_LT_EOF >> "$cfgfile"
68773 # func_append var value
68774 # Append VALUE to the end of shell variable VAR.
68785 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68786 || (rm -f "$cfgfile"; exit 1)
68788 mv -f "$cfgfile" "$ofile" ||
68789 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68793 cat <<_LT_EOF >> "$ofile"
68795 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68797 # The linker used to build libraries.
68800 # How to create reloadable object files.
68801 reload_flag=$lt_reload_flag_CXX
68802 reload_cmds=$lt_reload_cmds_CXX
68804 # Commands used to build an old-style archive.
68805 old_archive_cmds=$lt_old_archive_cmds_CXX
68807 # A language specific compiler.
68808 CC=$lt_compiler_CXX
68810 # Is the compiler the GNU compiler?
68813 # Compiler flag to turn off builtin functions.
68814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68816 # How to pass a linker flag through the compiler.
68817 wl=$lt_lt_prog_compiler_wl_CXX
68819 # Additional compiler flags for building library objects.
68820 pic_flag=$lt_lt_prog_compiler_pic_CXX
68822 # Compiler flag to prevent dynamic linking.
68823 link_static_flag=$lt_lt_prog_compiler_static_CXX
68825 # Does compiler simultaneously support -c and -o options?
68826 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68828 # Whether or not to add -lc for building shared libraries.
68829 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68831 # Whether or not to disallow shared libs when runtime libs are static.
68832 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68834 # Compiler flag to allow reflexive dlopens.
68835 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68837 # Compiler flag to generate shared objects directly from archives.
68838 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68840 # Whether the compiler copes with passing no objects directly.
68841 compiler_needs_object=$lt_compiler_needs_object_CXX
68843 # Create an old-style archive from a shared archive.
68844 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68846 # Create a temporary old-style archive to link instead of a shared archive.
68847 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68849 # Commands used to build a shared archive.
68850 archive_cmds=$lt_archive_cmds_CXX
68851 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68853 # Commands used to build a loadable module if different from building
68854 # a shared archive.
68855 module_cmds=$lt_module_cmds_CXX
68856 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68858 # Whether we are building with GNU ld or not.
68859 with_gnu_ld=$lt_with_gnu_ld_CXX
68861 # Flag that allows shared libraries with undefined symbols to be built.
68862 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68864 # Flag that enforces no undefined symbols.
68865 no_undefined_flag=$lt_no_undefined_flag_CXX
68867 # Flag to hardcode \$libdir into a binary during linking.
68868 # This must work even if \$libdir does not exist
68869 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68871 # If ld is used when linking, flag to hardcode \$libdir into a binary
68872 # during linking. This must work even if \$libdir does not exist.
68873 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68875 # Whether we need a single "-rpath" flag with a separated argument.
68876 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68878 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68879 # DIR into the resulting binary.
68880 hardcode_direct=$hardcode_direct_CXX
68882 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68883 # DIR into the resulting binary and the resulting library dependency is
68884 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68885 # library is relocated.
68886 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68888 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68889 # into the resulting binary.
68890 hardcode_minus_L=$hardcode_minus_L_CXX
68892 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68893 # into the resulting binary.
68894 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68896 # Set to "yes" if building a shared library automatically hardcodes DIR
68897 # into the library and all subsequent libraries and executables linked
68899 hardcode_automatic=$hardcode_automatic_CXX
68901 # Set to yes if linker adds runtime paths of dependent libraries
68902 # to runtime path list.
68903 inherit_rpath=$inherit_rpath_CXX
68905 # Whether libtool must link a program against all its dependency libraries.
68906 link_all_deplibs=$link_all_deplibs_CXX
68908 # Fix the shell variable \$srcfile for the compiler.
68909 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68911 # Set to "yes" if exported symbols are required.
68912 always_export_symbols=$always_export_symbols_CXX
68914 # The commands to list exported symbols.
68915 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68917 # Symbols that should not be listed in the preloaded symbols.
68918 exclude_expsyms=$lt_exclude_expsyms_CXX
68920 # Symbols that must always be exported.
68921 include_expsyms=$lt_include_expsyms_CXX
68923 # Commands necessary for linking programs (against libraries) with templates.
68924 prelink_cmds=$lt_prelink_cmds_CXX
68926 # Specify filename containing input files.
68927 file_list_spec=$lt_file_list_spec_CXX
68929 # How to hardcode a shared library path into an executable.
68930 hardcode_action=$hardcode_action_CXX
68932 # The directories searched by this compiler when creating a shared library.
68933 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68935 # Dependencies to place before and after the objects being linked to
68936 # create a shared library.
68937 predep_objects=$lt_predep_objects_CXX
68938 postdep_objects=$lt_postdep_objects_CXX
68939 predeps=$lt_predeps_CXX
68940 postdeps=$lt_postdeps_CXX
68942 # The library search path used internally by the compiler when linking
68943 # a shared library.
68944 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68946 # ### END LIBTOOL TAG CONFIG: CXX
68950 "include/gstdint.h":C)
68951 if test "$GCC" = yes; then
68952 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68954 echo "/* generated for $CC */" > tmp-stdint.h
68957 sed 's/^ *//' >> tmp-stdint.h <<EOF
68959 #ifndef GCC_GENERATED_STDINT_H
68960 #define GCC_GENERATED_STDINT_H 1
68962 #include <sys/types.h>
68965 if test "$acx_cv_header_stdint" != stdint.h; then
68966 echo "#include <stddef.h>" >> tmp-stdint.h
68968 if test "$acx_cv_header_stdint" != stddef.h; then
68969 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68972 sed 's/^ *//' >> tmp-stdint.h <<EOF
68973 /* glibc uses these symbols as guards to prevent redefinitions. */
68974 #ifdef __int8_t_defined
68979 #ifdef __uint32_t_defined
68985 # ----------------- done header, emit basic int types -------------
68986 if test "$acx_cv_header_stdint" = stddef.h; then
68987 sed 's/^ *//' >> tmp-stdint.h <<EOF
68991 #ifndef __uint8_t_defined
68992 #define __uint8_t_defined
68994 typedef unsigned $acx_cv_type_int8_t uint8_t;
69001 #ifndef __uint16_t_defined
69002 #define __uint16_t_defined
69004 typedef unsigned $acx_cv_type_int16_t uint16_t;
69011 #ifndef __uint32_t_defined
69012 #define __uint32_t_defined
69014 typedef unsigned $acx_cv_type_int32_t uint32_t;
69021 #ifndef __int8_t_defined
69022 #define __int8_t_defined
69024 typedef $acx_cv_type_int8_t int8_t;
69031 #ifndef __int16_t_defined
69032 #define __int16_t_defined
69034 typedef $acx_cv_type_int16_t int16_t;
69041 #ifndef __int32_t_defined
69042 #define __int32_t_defined
69044 typedef $acx_cv_type_int32_t int32_t;
69049 elif test "$ac_cv_type_u_int32_t" = yes; then
69050 sed 's/^ *//' >> tmp-stdint.h <<EOF
69052 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69065 #ifndef __uint8_t_defined
69066 #define __uint8_t_defined
69068 typedef u_int8_t uint8_t;
69075 #ifndef __uint16_t_defined
69076 #define __uint16_t_defined
69078 typedef u_int16_t uint16_t;
69085 #ifndef __uint32_t_defined
69086 #define __uint32_t_defined
69088 typedef u_int32_t uint32_t;
69094 sed 's/^ *//' >> tmp-stdint.h <<EOF
69096 /* Some systems have guard macros to prevent redefinitions, define them. */
69118 # ------------- done basic int types, emit int64_t types ------------
69119 if test "$ac_cv_type_uint64_t" = yes; then
69120 sed 's/^ *//' >> tmp-stdint.h <<EOF
69122 /* system headers have good uint64_t and int64_t */
69130 elif test "$ac_cv_type_u_int64_t" = yes; then
69131 sed 's/^ *//' >> tmp-stdint.h <<EOF
69133 /* system headers have an u_int64_t (and int64_t) */
69139 #ifndef __uint64_t_defined
69140 #define __uint64_t_defined
69142 typedef u_int64_t uint64_t;
69147 elif test -n "$acx_cv_type_int64_t"; then
69148 sed 's/^ *//' >> tmp-stdint.h <<EOF
69150 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69154 typedef $acx_cv_type_int64_t int64_t;
69159 #ifndef __uint64_t_defined
69160 #define __uint64_t_defined
69162 typedef unsigned $acx_cv_type_int64_t uint64_t;
69168 sed 's/^ *//' >> tmp-stdint.h <<EOF
69170 /* some common heuristics for int64_t, using compiler-specific tests */
69171 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69174 #ifndef __int64_t_defined
69176 typedef long long int64_t;
69183 typedef unsigned long long uint64_t;
69187 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69188 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69189 does not implement __extension__. But that compiler doesn't define
69191 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69192 # define __extension__
69198 __extension__ typedef long long int64_t;
69204 __extension__ typedef unsigned long long uint64_t;
69208 #elif !defined __STRICT_ANSI__
69209 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69214 typedef __int64 int64_t;
69220 typedef unsigned __int64 uint64_t;
69223 # endif /* compiler */
69225 #endif /* ANSI version */
69229 # ------------- done int64_t types, emit intptr types ------------
69230 if test "$ac_cv_type_uintptr_t" != yes; then
69231 sed 's/^ *//' >> tmp-stdint.h <<EOF
69233 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69234 #ifndef __uintptr_t_defined
69236 typedef u$acx_cv_type_intptr_t uintptr_t;
69239 #ifndef __intptr_t_defined
69241 typedef $acx_cv_type_intptr_t intptr_t;
69247 # ------------- done intptr types, emit int_least types ------------
69248 if test "$ac_cv_type_int_least32_t" != yes; then
69249 sed 's/^ *//' >> tmp-stdint.h <<EOF
69251 /* Define int_least types */
69252 typedef int8_t int_least8_t;
69253 typedef int16_t int_least16_t;
69254 typedef int32_t int_least32_t;
69256 typedef int64_t int_least64_t;
69259 typedef uint8_t uint_least8_t;
69260 typedef uint16_t uint_least16_t;
69261 typedef uint32_t uint_least32_t;
69263 typedef uint64_t uint_least64_t;
69268 # ------------- done intptr types, emit int_fast types ------------
69269 if test "$ac_cv_type_int_fast32_t" != yes; then
69270 sed 's/^ *//' >> tmp-stdint.h <<EOF
69272 /* Define int_fast types. short is often slow */
69273 typedef int8_t int_fast8_t;
69274 typedef int int_fast16_t;
69275 typedef int32_t int_fast32_t;
69277 typedef int64_t int_fast64_t;
69280 typedef uint8_t uint_fast8_t;
69281 typedef unsigned int uint_fast16_t;
69282 typedef uint32_t uint_fast32_t;
69284 typedef uint64_t uint_fast64_t;
69289 if test "$ac_cv_type_uintmax_t" != yes; then
69290 sed 's/^ *//' >> tmp-stdint.h <<EOF
69292 /* Define intmax based on what we found */
69295 typedef int64_t intmax_t;
69297 typedef long intmax_t;
69302 typedef uint64_t uintmax_t;
69304 typedef unsigned long uintmax_t;
69310 sed 's/^ *//' >> tmp-stdint.h <<EOF
69312 #endif /* GCC_GENERATED_STDINT_H */
69315 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69318 mv -f tmp-stdint.h include/gstdint.h
69322 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69323 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69324 "include/Makefile":F) cat > vpsed$$ << \_EOF
69325 s!`test -f '$<' || echo '$(srcdir)/'`!!
69327 sed -f vpsed$$ $ac_file > tmp$$
69330 echo 'MULTISUBDIR =' >> $ac_file
69332 . ${multi_basedir}/config-ml.in
69333 { ml_norecursion=; unset ml_norecursion;}
69335 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69336 s!`test -f '$<' || echo '$(srcdir)/'`!!
69338 sed -f vpsed$$ $ac_file > tmp$$
69341 echo 'MULTISUBDIR =' >> $ac_file
69343 . ${multi_basedir}/config-ml.in
69344 { ml_norecursion=; unset ml_norecursion;}
69346 "python/Makefile":F) cat > vpsed$$ << \_EOF
69347 s!`test -f '$<' || echo '$(srcdir)/'`!!
69349 sed -f vpsed$$ $ac_file > tmp$$
69352 echo 'MULTISUBDIR =' >> $ac_file
69354 . ${multi_basedir}/config-ml.in
69355 { ml_norecursion=; unset ml_norecursion;}
69357 "src/Makefile":F) cat > vpsed$$ << \_EOF
69358 s!`test -f '$<' || echo '$(srcdir)/'`!!
69360 sed -f vpsed$$ $ac_file > tmp$$
69363 echo 'MULTISUBDIR =' >> $ac_file
69365 . ${multi_basedir}/config-ml.in
69366 { ml_norecursion=; unset ml_norecursion;}
69368 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69369 s!`test -f '$<' || echo '$(srcdir)/'`!!
69371 sed -f vpsed$$ $ac_file > tmp$$
69374 echo 'MULTISUBDIR =' >> $ac_file
69376 . ${multi_basedir}/config-ml.in
69377 { ml_norecursion=; unset ml_norecursion;}
69379 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69380 s!`test -f '$<' || echo '$(srcdir)/'`!!
69382 sed -f vpsed$$ $ac_file > tmp$$
69385 echo 'MULTISUBDIR =' >> $ac_file
69387 . ${multi_basedir}/config-ml.in
69388 { ml_norecursion=; unset ml_norecursion;}
69390 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69391 s!`test -f '$<' || echo '$(srcdir)/'`!!
69393 sed -f vpsed$$ $ac_file > tmp$$
69396 echo 'MULTISUBDIR =' >> $ac_file
69398 . ${multi_basedir}/config-ml.in
69399 { ml_norecursion=; unset ml_norecursion;}
69401 "po/Makefile":F) cat > vpsed$$ << \_EOF
69402 s!`test -f '$<' || echo '$(srcdir)/'`!!
69404 sed -f vpsed$$ $ac_file > tmp$$
69407 echo 'MULTISUBDIR =' >> $ac_file
69409 . ${multi_basedir}/config-ml.in
69410 { ml_norecursion=; unset ml_norecursion;}
69412 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69413 s!`test -f '$<' || echo '$(srcdir)/'`!!
69415 sed -f vpsed$$ $ac_file > tmp$$
69418 echo 'MULTISUBDIR =' >> $ac_file
69420 . ${multi_basedir}/config-ml.in
69421 { ml_norecursion=; unset ml_norecursion;}
69423 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69431 ac_clean_files=$ac_clean_files_save
69433 test $ac_write_fail = 0 ||
69434 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69437 # configure is writing to config.log, and then calls config.status.
69438 # config.status does its own redirection, appending to config.log.
69439 # Unfortunately, on DOS this fails, as config.log is still kept open
69440 # by configure, so config.status won't be able to write to it; its
69441 # output is simply discarded. So we exec the FD to /dev/null,
69442 # effectively closing config.log, so it can be properly (re)opened and
69443 # appended to by config.status. When coming back to configure, we
69444 # need to make the FD available again.
69445 if test "$no_create" != yes; then
69447 ac_config_status_args=
69448 test "$silent" = yes &&
69449 ac_config_status_args="$ac_config_status_args --quiet"
69451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69454 # would make configure fail if this is the last instruction.
69455 $ac_cs_success || as_fn_exit $?
69457 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69459 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}