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/ios.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
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_DARWIN_FALSE
627 ENABLE_SYMVERS_DARWIN_TRUE
628 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
629 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
630 ENABLE_SYMVERS_GNU_FALSE
631 ENABLE_SYMVERS_GNU_TRUE
634 port_specific_symbol_files
642 ENABLE_PARALLEL_FALSE
644 GLIBCXX_BUILD_DEBUG_FALSE
645 GLIBCXX_BUILD_DEBUG_TRUE
647 GLIBCXX_C_HEADERS_EXTRA_FALSE
648 GLIBCXX_C_HEADERS_EXTRA_TRUE
649 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
650 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
651 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
652 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
653 GLIBCXX_C_HEADERS_C_STD_FALSE
654 GLIBCXX_C_HEADERS_C_STD_TRUE
655 GLIBCXX_C_HEADERS_C_FALSE
656 GLIBCXX_C_HEADERS_C_TRUE
684 GLIBCXX_BUILD_PCH_FALSE
685 GLIBCXX_BUILD_PCH_TRUE
708 MAINTAINER_MODE_FALSE
735 INSTALL_STRIP_PROGRAM
791 program_transform_name
804 enable_option_checking
809 enable_maintainer_mode
816 enable_hosted_libstdcxx
817 enable_sjlj_exceptions
822 enable_libstdcxx_allocator
827 enable_concept_checks
828 enable_libstdcxx_debug_flags
829 enable_libstdcxx_debug
831 enable_fully_dynamic_string
832 enable_libstdcxx_time
836 with_system_libunwind
841 enable_version_specific_runtime_libs
843 ac_precious_vars='build_alias
858 # Initialize some variables set by options.
860 ac_init_version=false
861 ac_unrecognized_opts=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
872 program_transform_name=s,x,x,
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\$ac_option
918 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922 # Accept the important Cygnus configure options, so we can diagnose typos.
924 case $ac_dashdash$ac_option in
928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
933 -build | --build | --buil | --bui | --bu)
934 ac_prev=build_alias ;;
935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936 build_alias=$ac_optarg ;;
938 -cache-file | --cache-file | --cache-fil | --cache-fi \
939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940 ac_prev=cache_file ;;
941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943 cache_file=$ac_optarg ;;
946 cache_file=config.cache ;;
948 -datadir | --datadir | --datadi | --datad)
950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
951 datadir=$ac_optarg ;;
953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954 | --dataroo | --dataro | --datar)
955 ac_prev=datarootdir ;;
956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958 datarootdir=$ac_optarg ;;
960 -disable-* | --disable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
974 eval enable_$ac_useropt=no ;;
976 -docdir | --docdir | --docdi | --doc | --do)
978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
986 -enable-* | --enable-*)
987 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990 as_fn_error "invalid feature name: $ac_useropt"
991 ac_useropt_orig=$ac_useropt
992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep=', ';;
1000 eval enable_$ac_useropt=\$ac_optarg ;;
1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004 | --exec | --exe | --ex)
1005 ac_prev=exec_prefix ;;
1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008 | --exec=* | --exe=* | --ex=*)
1009 exec_prefix=$ac_optarg ;;
1011 -gas | --gas | --ga | --g)
1012 # Obsolete; use --with-gas.
1015 -help | --help | --hel | --he | -h)
1016 ac_init_help=long ;;
1017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018 ac_init_help=recursive ;;
1019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020 ac_init_help=short ;;
1022 -host | --host | --hos | --ho)
1023 ac_prev=host_alias ;;
1024 -host=* | --host=* | --hos=* | --ho=*)
1025 host_alias=$ac_optarg ;;
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1031 htmldir=$ac_optarg ;;
1033 -includedir | --includedir | --includedi | --included | --include \
1034 | --includ | --inclu | --incl | --inc)
1035 ac_prev=includedir ;;
1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037 | --includ=* | --inclu=* | --incl=* | --inc=*)
1038 includedir=$ac_optarg ;;
1040 -infodir | --infodir | --infodi | --infod | --info | --inf)
1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043 infodir=$ac_optarg ;;
1045 -libdir | --libdir | --libdi | --libd)
1047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048 libdir=$ac_optarg ;;
1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051 | --libexe | --libex | --libe)
1052 ac_prev=libexecdir ;;
1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054 | --libexe=* | --libex=* | --libe=*)
1055 libexecdir=$ac_optarg ;;
1057 -localedir | --localedir | --localedi | --localed | --locale)
1058 ac_prev=localedir ;;
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060 localedir=$ac_optarg ;;
1062 -localstatedir | --localstatedir | --localstatedi | --localstated \
1063 | --localstate | --localstat | --localsta | --localst | --locals)
1064 ac_prev=localstatedir ;;
1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067 localstatedir=$ac_optarg ;;
1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072 mandir=$ac_optarg ;;
1074 -nfp | --nfp | --nf)
1075 # Obsolete; use --without-fp.
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n)
1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088 | --oldin | --oldi | --old | --ol | --o)
1089 ac_prev=oldincludedir ;;
1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093 oldincludedir=$ac_optarg ;;
1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098 prefix=$ac_optarg ;;
1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101 | --program-pre | --program-pr | --program-p)
1102 ac_prev=program_prefix ;;
1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105 program_prefix=$ac_optarg ;;
1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108 | --program-suf | --program-su | --program-s)
1109 ac_prev=program_suffix ;;
1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112 program_suffix=$ac_optarg ;;
1114 -program-transform-name | --program-transform-name \
1115 | --program-transform-nam | --program-transform-na \
1116 | --program-transform-n | --program-transform- \
1117 | --program-transform | --program-transfor \
1118 | --program-transfo | --program-transf \
1119 | --program-trans | --program-tran \
1120 | --progr-tra | --program-tr | --program-t)
1121 ac_prev=program_transform_name ;;
1122 -program-transform-name=* | --program-transform-name=* \
1123 | --program-transform-nam=* | --program-transform-na=* \
1124 | --program-transform-n=* | --program-transform-=* \
1125 | --program-transform=* | --program-transfor=* \
1126 | --program-transfo=* | --program-transf=* \
1127 | --program-trans=* | --program-tran=* \
1128 | --progr-tra=* | --program-tr=* | --program-t=*)
1129 program_transform_name=$ac_optarg ;;
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134 pdfdir=$ac_optarg ;;
1136 -psdir | --psdir | --psdi | --psd | --ps)
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142 | -silent | --silent | --silen | --sile | --sil)
1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1149 sbindir=$ac_optarg ;;
1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153 | --sharedst | --shareds | --shared | --share | --shar \
1155 ac_prev=sharedstatedir ;;
1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1160 sharedstatedir=$ac_optarg ;;
1162 -site | --site | --sit)
1164 -site=* | --site=* | --sit=*)
1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170 srcdir=$ac_optarg ;;
1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173 | --syscon | --sysco | --sysc | --sys | --sy)
1174 ac_prev=sysconfdir ;;
1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177 sysconfdir=$ac_optarg ;;
1179 -target | --target | --targe | --targ | --tar | --ta | --t)
1180 ac_prev=target_alias ;;
1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182 target_alias=$ac_optarg ;;
1184 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1187 -version | --version | --versio | --versi | --vers | -V)
1188 ac_init_version=: ;;
1191 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=\$ac_optarg ;;
1206 -without-* | --without-*)
1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 as_fn_error "invalid package name: $ac_useropt"
1211 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep=', ';;
1220 eval with_$ac_useropt=no ;;
1223 # Obsolete; use --with-x.
1226 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227 | --x-incl | --x-inc | --x-in | --x-i)
1228 ac_prev=x_includes ;;
1229 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231 x_includes=$ac_optarg ;;
1233 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235 ac_prev=x_libraries ;;
1236 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238 x_libraries=$ac_optarg ;;
1240 -*) as_fn_error "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information."
1245 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' | [0-9]* | *[!_$as_cr_alnum]* )
1249 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1251 eval $ac_envvar=\$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1265 if test -n "$ac_prev"; then
1266 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error "missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1273 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 # Check all directory arguments for consistency.
1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val=\$$ac_var
1285 # Remove trailing slashes.
1288 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\$ac_val;;
1291 # Be sure to have absolute directory names.
1293 [\\/$]* | ?:[\\/]* ) continue;;
1294 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1296 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308 if test "x$build_alias" = x; then
1309 cross_compiling=maybe
1310 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311 If a cross compiler is detected then cross compile mode will be used." >&2
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1320 test "$silent" = yes && exec 6>/dev/null
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error "pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var in $ac_precious_vars; do
1384 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_${ac_var}_value=\$${ac_var}
1386 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1460 --build=BUILD configure for building on BUILD [guessed]
1461 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1462 --target=TARGET configure for building compilers for TARGET [HOST]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive ) echo "Configuration of package-unused version-unused:";;
1473 --disable-option-checking ignore unrecognized --enable/--with options
1474 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1475 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1476 --enable-multilib build many library versions (default)
1477 --enable-maintainer-mode enable make rules and dependencies not useful
1478 (and sometimes confusing) to the casual installer
1479 --enable-shared[=PKGS] build shared libraries [default=yes]
1480 --enable-static[=PKGS] build static libraries [default=yes]
1481 --enable-fast-install[=PKGS]
1482 optimize for fast installation [default=yes]
1483 --disable-libtool-lock avoid locking (might break parallel builds)
1484 --disable-hosted-libstdcxx
1485 only build freestanding C++ runtime support
1486 --enable-sjlj-exceptions
1487 force use of builtin_setjmp for exceptions
1489 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1490 [default=$is_hosted]
1491 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1492 --enable-clocale[=MODEL]
1493 use MODEL for target locale package [default=auto]
1494 --enable-nls use Native Language Support (default)
1495 --enable-libstdcxx-allocator=KIND
1496 use KIND for target std::allocator base
1498 --enable-cheaders=KIND construct "C" headers for g++ [default=$c_model]
1499 --enable-long-long enable template specializations for 'long long'
1501 --enable-wchar_t enable template specializations for 'wchar_t'
1503 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1504 --enable-concept-checks use Boost-derived template checks [default=no]
1505 --enable-libstdcxx-debug-flags=FLAGS
1506 pass compiler FLAGS when building debug library
1508 --enable-libstdcxx-debug
1509 build extra debug library [default=no]
1510 --enable-cxx-flags=FLAGS
1511 pass compiler FLAGS when building library [default=]
1512 --enable-fully-dynamic-string
1513 do not put empty strings in per-process static
1515 --enable-libstdcxx-time=KIND
1516 use KIND for check type [default=no]
1517 --enable-tls Use thread-local storage [default=yes]
1518 --disable-rpath do not hardcode runtime library paths
1519 --enable-linux-futex use the Linux futex system call [default=default]
1520 --enable-symvers=STYLE enables symbol versioning of the shared library
1522 --enable-visibility enables visibility safe usage [default=yes]
1523 --enable-version-specific-runtime-libs
1524 Specify that runtime libraries should be installed
1525 in a compiler-specific directory
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-target-subdir=SUBDIR
1531 configuring in a subdirectory
1532 --with-cross-host=HOST configuring with a cross compiler
1533 --with-newlib assume newlib as a system C library
1534 --with-pic try to use only PIC/non-PIC objects [default=use
1536 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1537 --with-gnu-ld assume the C compiler uses GNU ld default=no
1538 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1539 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1540 --with-system-libunwind use installed libunwind
1541 --with-gxx-include-dir=DIR
1542 installation directory for include files
1544 Some influential environment variables:
1545 CC C compiler command
1546 CFLAGS C compiler flags
1547 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1548 nonstandard directory <lib dir>
1549 LIBS libraries to pass to the linker, e.g. -l<library>
1550 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1551 you have headers in a nonstandard directory <include dir>
1552 CXX C++ compiler command
1553 CXXFLAGS C++ compiler flags
1555 CXXCPP C++ preprocessor
1557 Use these variables to override the choices made by `configure' or to help
1558 it to find libraries and programs with nonstandard names/locations.
1560 Report bugs to the package provider.
1565 if test "$ac_init_help" = "recursive"; then
1566 # If there are subdirs, report their specific --help.
1567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568 test -d "$ac_dir" ||
1569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577 # A ".." for each directory in $ac_dir_suffix.
1578 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579 case $ac_top_builddir_sub in
1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1590 .) # We are building in place.
1592 ac_top_srcdir=$ac_top_builddir_sub
1593 ac_abs_top_srcdir=$ac_pwd ;;
1594 [\\/]* | ?:[\\/]* ) # Absolute name.
1595 ac_srcdir=$srcdir$ac_dir_suffix;
1596 ac_top_srcdir=$srcdir
1597 ac_abs_top_srcdir=$srcdir ;;
1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605 cd "$ac_dir" || { ac_status=$?; continue; }
1606 # Check for guested configure.
1607 if test -f "$ac_srcdir/configure.gnu"; then
1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 elif test -f "$ac_srcdir/configure"; then
1612 $SHELL "$ac_srcdir/configure" --help=recursive
1614 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1616 cd "$ac_pwd" || { ac_status=$?; break; }
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1623 package-unused configure version-unused
1624 generated by GNU Autoconf 2.64
1626 Copyright (C) 2009 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 rm -f conftest.$ac_objext
1644 if { { ac_try="$ac_compile"
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_compile") 2>conftest.err
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && {
1660 test -z "$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1662 } && test -s conftest.$ac_objext; then :
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1673 } # ac_fn_c_try_compile
1675 # ac_fn_cxx_try_compile LINENO
1676 # ----------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_cxx_try_compile ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_cxx_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711 } # ac_fn_cxx_try_compile
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_cpp conftest.$ac_ext"
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } >/dev/null && {
1735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext conftest$ac_exeext
1757 if { { ac_try="$ac_link"
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_link") 2>conftest.err
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest$ac_exeext && {
1776 test "$cross_compiling" = yes ||
1777 $as_test_x conftest$ac_exeext
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788 # interfere with the next link command; also delete a directory that is
1789 # left behind by Apple's compiler. We do this before executing the actions.
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 } # ac_fn_c_try_link
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_try_run LINENO
1828 # ----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830 # that executables *can* be run.
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>&5
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1845 { { case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_try") 2>&5
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; }; }; then :
1857 $as_echo "$as_me: program exited with status $ac_status" >&5
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=$ac_status
1863 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 # ac_fn_c_check_func LINENO FUNC VAR
1870 # ----------------------------------
1871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1880 if test x$gcc_no_link = xyes; then
1881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1887 #define $2 innocuous_$2
1889 /* System header to define __stub macros and hopefully few prototypes,
1890 which can conflict with char $2 (); below.
1891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1892 <limits.h> exists even on freestanding compilers. */
1895 # include <limits.h>
1897 # include <assert.h>
1902 /* Override any GCC internal prototype to avoid an error.
1903 Use char because int might match the return type of a GCC
1904 builtin and then its argument prototype would still apply. */
1909 /* The GNU C library defines this for functions which it implements
1910 to always fail with ENOSYS. Some functions are actually named
1911 something starting with __ and the normal name is an alias. */
1912 #if defined __stub_$2 || defined __stub___$2
1924 if ac_fn_c_try_link "$LINENO"; then :
1929 rm -f core conftest.err conftest.$ac_objext \
1930 conftest$ac_exeext conftest.$ac_ext
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1937 } # ac_fn_c_check_func
1939 # ac_fn_cxx_try_cpp LINENO
1940 # ------------------------
1941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_cpp ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 if { { ac_try="$ac_cpp conftest.$ac_ext"
1947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } >/dev/null && {
1961 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1962 test ! -s conftest.err
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974 } # ac_fn_cxx_try_cpp
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 $as_test_x conftest$ac_exeext
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020 } # ac_fn_cxx_try_link
2022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2027 ac_fn_c_check_header_mongrel ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034 $as_echo_n "(cached) " >&6
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2040 # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049 ac_header_compiler=yes
2051 ac_header_compiler=no
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2064 if ac_fn_c_try_cpp "$LINENO"; then :
2065 ac_header_preproc=yes
2067 ac_header_preproc=no
2069 rm -f conftest.err conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2073 # So? What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 $as_echo_n "(cached) " >&6
2099 eval "$3=\$ac_header_compiler"
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 } # ac_fn_c_check_header_mongrel
2109 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2110 # ---------------------------------------------------------
2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2112 # the include files in INCLUDES and setting the cache variable VAR
2114 ac_fn_cxx_check_header_mongrel ()
2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121 $as_echo_n "(cached) " >&6
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2127 # Is the header compilable?
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2129 $as_echo_n "checking $2 usability... " >&6; }
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2135 if ac_fn_cxx_try_compile "$LINENO"; then :
2136 ac_header_compiler=yes
2138 ac_header_compiler=no
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2142 $as_echo "$ac_header_compiler" >&6; }
2144 # Is the header present?
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2146 $as_echo_n "checking $2 presence... " >&6; }
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2151 if ac_fn_cxx_try_cpp "$LINENO"; then :
2152 ac_header_preproc=yes
2154 ac_header_preproc=no
2156 rm -f conftest.err conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2158 $as_echo "$ac_header_preproc" >&6; }
2160 # So? What about this header?
2161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2172 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2176 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2186 eval "$3=\$ac_header_compiler"
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2192 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194 } # ac_fn_cxx_check_header_mongrel
2196 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2197 # -------------------------------------------
2198 # Tests whether TYPE exists after having included INCLUDES, setting cache
2199 # variable VAR accordingly.
2200 ac_fn_c_check_type ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2234 if ac_fn_c_try_compile "$LINENO"; then :
2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_c_check_type
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2255 ac_fn_c_compute_int ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2273 if ac_fn_c_try_compile "$LINENO"; then :
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2308 static int test_array [1 - 2 * !(($2) < 0)];
2315 if ac_fn_c_try_compile "$LINENO"; then :
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2365 if ac_fn_c_try_compile "$LINENO"; then :
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2388 FILE *f = fopen ("conftest.val", "w");
2393 long int i = longval ();
2396 fprintf (f, "%ld", i);
2400 unsigned long int i = ulongval ();
2403 fprintf (f, "%lu", i);
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2426 } # ac_fn_c_compute_int
2427 cat >config.log <<_ACEOF
2428 This file contains any messages produced by compilers while
2429 running configure, to aid debugging if configure makes a mistake.
2431 It was created by package-unused $as_me version-unused, which was
2432 generated by GNU Autoconf 2.64. Invocation command line was
2444 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2445 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2446 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2447 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2448 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2450 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2451 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2453 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2454 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2455 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2456 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2457 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2458 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2459 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 $as_echo "PATH: $as_dir"
2484 # Keep a trace of the command line.
2485 # Strip out --no-create and --no-recursion so they do not pile up.
2486 # Strip out --silent because we don't want to record it for future runs.
2487 # Also quote any args containing shell meta-characters.
2488 # Make two passes to allow for proper duplicate-argument suppression.
2492 ac_must_keep_next=false
2498 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2500 | -silent | --silent | --silen | --sile | --sil)
2503 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2506 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2508 as_fn_append ac_configure_args1 " '$ac_arg'"
2509 if test $ac_must_keep_next = true; then
2510 ac_must_keep_next=false # Got value, back to normal.
2513 *=* | --config-cache | -C | -disable-* | --disable-* \
2514 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2515 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2516 | -with-* | --with-* | -without-* | --without-* | --x)
2517 case "$ac_configure_args0 " in
2518 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2521 -* ) ac_must_keep_next=true ;;
2524 as_fn_append ac_configure_args " '$ac_arg'"
2529 { ac_configure_args0=; unset ac_configure_args0;}
2530 { ac_configure_args1=; unset ac_configure_args1;}
2532 # When interrupted or exit'd, cleanup temporary files, and complete
2533 # config.log. We remove comments because anyway the quotes in there
2534 # would cause problems or look ugly.
2535 # WARNING: Use '\'' to represent an apostrophe within the trap.
2536 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2537 trap 'exit_status=$?
2538 # Save into config.log some information that might help in debugging.
2543 ## ---------------- ##
2544 ## Cache variables. ##
2545 ## ---------------- ##
2548 # The following way of writing the cache mishandles newlines in values,
2550 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2551 eval ac_val=\$$ac_var
2555 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2559 _ | IFS | as_nl) ;; #(
2560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2561 *) { eval $ac_var=; unset $ac_var;} ;;
2566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2567 *${as_nl}ac_space=\ *)
2569 "s/'\''/'\''\\\\'\'''\''/g;
2570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2581 ## ----------------- ##
2582 ## Output variables. ##
2583 ## ----------------- ##
2586 for ac_var in $ac_subst_vars
2588 eval ac_val=\$$ac_var
2590 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2592 $as_echo "$ac_var='\''$ac_val'\''"
2596 if test -n "$ac_subst_files"; then
2598 ## ------------------- ##
2599 ## File substitutions. ##
2600 ## ------------------- ##
2603 for ac_var in $ac_subst_files
2605 eval ac_val=\$$ac_var
2607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2609 $as_echo "$ac_var='\''$ac_val'\''"
2614 if test -s confdefs.h; then
2624 test "$ac_signal" != 0 &&
2625 $as_echo "$as_me: caught signal $ac_signal"
2626 $as_echo "$as_me: exit $exit_status"
2628 rm -f core *.core core.conftest.* &&
2629 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2632 for ac_signal in 1 2 13 15; do
2633 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2638 rm -f -r conftest* confdefs.h
2640 $as_echo "/* confdefs.h */" > confdefs.h
2642 # Predefined preprocessor variables.
2644 cat >>confdefs.h <<_ACEOF
2645 #define PACKAGE_NAME "$PACKAGE_NAME"
2648 cat >>confdefs.h <<_ACEOF
2649 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_STRING "$PACKAGE_STRING"
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_URL "$PACKAGE_URL"
2669 # Let the site file select an alternate cache file if it wants to.
2670 # Prefer an explicitly selected file to automatically selected ones.
2673 if test -n "$CONFIG_SITE"; then
2674 ac_site_file1=$CONFIG_SITE
2675 elif test "x$prefix" != xNONE; then
2676 ac_site_file1=$prefix/share/config.site
2677 ac_site_file2=$prefix/etc/config.site
2679 ac_site_file1=$ac_default_prefix/share/config.site
2680 ac_site_file2=$ac_default_prefix/etc/config.site
2682 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2684 test "x$ac_site_file" = xNONE && continue
2685 if test -r "$ac_site_file"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2687 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2688 sed 's/^/| /' "$ac_site_file" >&5
2693 if test -r "$cache_file"; then
2694 # Some versions of bash will fail to source /dev/null (special
2695 # files actually), so we avoid doing that.
2696 if test -f "$cache_file"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2698 $as_echo "$as_me: loading cache $cache_file" >&6;}
2700 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2701 *) . "./$cache_file";;
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2706 $as_echo "$as_me: creating cache $cache_file" >&6;}
2710 # Check that the precious variables saved in the cache have kept the same
2712 ac_cache_corrupted=false
2713 for ac_var in $ac_precious_vars; do
2714 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2715 eval ac_new_set=\$ac_env_${ac_var}_set
2716 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2717 eval ac_new_val=\$ac_env_${ac_var}_value
2718 case $ac_old_set,$ac_new_set in
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2721 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2722 ac_cache_corrupted=: ;;
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2725 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2726 ac_cache_corrupted=: ;;
2729 if test "x$ac_old_val" != "x$ac_new_val"; then
2730 # differences in whitespace do not lead to failure.
2731 ac_old_val_w=`echo x $ac_old_val`
2732 ac_new_val_w=`echo x $ac_new_val`
2733 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2735 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2736 ac_cache_corrupted=:
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2739 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2740 eval $ac_var=\$ac_old_val
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2743 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2745 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2748 # Pass precious variables to config.status.
2749 if test "$ac_new_set" = set; then
2751 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2752 *) ac_arg=$ac_var=$ac_new_val ;;
2754 case " $ac_configure_args " in
2755 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2756 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2760 if $ac_cache_corrupted; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2764 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2765 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2767 ## -------------------- ##
2768 ## Main body of script. ##
2769 ## -------------------- ##
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782 ac_config_headers="$ac_config_headers config.h"
2785 # This works around the fact that libtool configuration may change LD
2786 # for this particular configuration, but some shells, instead of
2787 # keeping the changes in LD private, export them just because LD is
2788 # exported. Only used at the end of this file.
2789 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2791 # For libtool versioning info, format is CURRENT:REVISION:AGE
2792 libtool_VERSION=6:14:0
2795 # Find the rest of the source tree framework.
2796 # Default to --enable-multilib
2797 # Check whether --enable-multilib was given.
2798 if test "${enable_multilib+set}" = set; then :
2799 enableval=$enable_multilib; case "$enableval" in
2800 yes) multilib=yes ;;
2802 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2809 # We may get other options which we leave undocumented:
2810 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2811 # See config-ml.in if you want the gory details.
2813 if test "$srcdir" = "."; then
2814 if test "$with_target_subdir" != "."; then
2815 multi_basedir="$srcdir/$with_multisrctop../.."
2817 multi_basedir="$srcdir/$with_multisrctop.."
2820 multi_basedir="$srcdir/.."
2824 # Even if the default multilib is not a cross compilation,
2825 # it may be that some of the other multilibs are.
2826 if test $cross_compiling = no && test $multilib = yes \
2827 && test "x${with_multisubdir}" != x ; then
2828 cross_compiling=maybe
2831 ac_config_commands="$ac_config_commands default-1"
2834 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2836 # You will slowly go insane if you do not grok the following fact: when
2837 # building v3 as part of the compiler, the top-level /target/ becomes the
2838 # library's /host/. configure then causes --target to default to --host,
2839 # exactly like any other package using autoconf. Therefore, 'target' and
2840 # 'host' will always be the same. This makes sense both for native and
2841 # cross compilers, just think about it for a little while. :-)
2843 # Also, if v3 is being configured as part of a cross compiler, the top-level
2844 # configure script will pass the "real" host as $with_cross_host.
2846 # Do not delete or change the following two lines. For why, see
2847 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2850 for ac_t in install-sh install.sh shtool; do
2851 if test -f "$ac_dir/$ac_t"; then
2853 ac_install_sh="$ac_aux_dir/$ac_t -c"
2858 if test -z "$ac_aux_dir"; then
2859 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2862 # These three variables are undocumented and unsupported,
2863 # and are intended to be withdrawn in a future Autoconf release.
2864 # They can cause serious problems if a builder's source tree is in a directory
2865 # whose full name contains unusual characters.
2866 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2867 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2868 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2871 # Make sure we can run config.sub.
2872 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2873 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2876 $as_echo_n "checking build system type... " >&6; }
2877 if test "${ac_cv_build+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2880 ac_build_alias=$build_alias
2881 test "x$ac_build_alias" = x &&
2882 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2883 test "x$ac_build_alias" = x &&
2884 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2885 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2886 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2890 $as_echo "$ac_cv_build" >&6; }
2891 case $ac_cv_build in
2893 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2896 ac_save_IFS=$IFS; IFS='-'
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2910 $as_echo_n "checking host system type... " >&6; }
2911 if test "${ac_cv_host+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2914 if test "x$host_alias" = x; then
2915 ac_cv_host=$ac_cv_build
2917 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2918 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2923 $as_echo "$ac_cv_host" >&6; }
2926 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2929 ac_save_IFS=$IFS; IFS='-'
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2939 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2943 $as_echo_n "checking target system type... " >&6; }
2944 if test "${ac_cv_target+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2947 if test "x$target_alias" = x; then
2948 ac_cv_target=$ac_cv_host
2950 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2951 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2956 $as_echo "$ac_cv_target" >&6; }
2957 case $ac_cv_target in
2959 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2961 target=$ac_cv_target
2962 ac_save_IFS=$IFS; IFS='-'
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2972 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2975 # The aliases save the names the user supplied, while $host etc.
2976 # will get canonicalized.
2977 test -n "$target_alias" &&
2978 test "$program_prefix$program_suffix$program_transform_name" = \
2980 program_prefix=${target_alias}-
2982 target_alias=${target_alias-$host_alias}
2984 # Handy for debugging:
2985 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2987 if test "$build" != "$host"; then
2988 # We are being configured with some form of cross compiler.
2989 GLIBCXX_IS_NATIVE=false
2990 case "$host","$target" in
2991 # Darwin crosses can use the host system's libraries and headers,
2992 # because of the fat library support. Of course, it must be the
2993 # same version of Darwin on both sides. Allow the user to
2994 # just say --target=foo-darwin without a version number to mean
2995 # "the version on this system".
2996 *-*-darwin*,*-*-darwin*)
2997 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2998 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2999 if test $hostos = $targetos -o $targetos = darwin ; then
3000 GLIBCXX_IS_NATIVE=true
3009 GLIBCXX_IS_NATIVE=true
3012 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3013 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3014 # 1.x: minimum required version
3015 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3016 # of other PACKAGE_* variables will, however, and there's nothing
3017 # we can do about that; they come from AC_INIT).
3018 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3019 # file in the top srcdir, etc, etc), so stop complaining.
3020 # no-dependencies: turns off auto dependency generation (just for now)
3021 # no-dist: we don't want 'dist' and related rules.
3022 # -Wall: turns on all automake warnings...
3023 # -Wno-portability: ...except this one, since GNU make is now required.
3024 am__api_version='1.11'
3026 # Find a good install program. We prefer a C program (faster),
3027 # so one script is as good as another. But avoid the broken or
3028 # incompatible versions:
3029 # SysV /etc/install, /usr/sbin/install
3030 # SunOS /usr/etc/install
3031 # IRIX /sbin/install
3033 # AmigaOS /C/install, which installs bootblocks on floppy discs
3034 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3035 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3036 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3037 # OS/2's system install, which has a completely different semantic
3038 # ./install, which can be erroneously created by make from ./install.sh.
3039 # Reject install programs that cannot install multiple files.
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3041 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3042 if test -z "$INSTALL"; then
3043 if test "${ac_cv_path_install+set}" = set; then :
3044 $as_echo_n "(cached) " >&6
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir=.
3051 # Account for people who put trailing slashes in PATH elements.
3052 case $as_dir/ in #((
3053 ./ | .// | /[cC]/* | \
3054 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3055 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3058 # OSF1 and SCO ODT 3.0 have their own names for install.
3059 # Don't use installbsd from OSF since it installs stuff as root
3061 for ac_prog in ginstall scoinst install; do
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3064 if test $ac_prog = install &&
3065 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3066 # AIX install. It has an incompatible calling convention.
3068 elif test $ac_prog = install &&
3069 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3070 # program-specific install script used by HP pwplus--don't use.
3073 rm -rf conftest.one conftest.two conftest.dir
3074 echo one > conftest.one
3075 echo two > conftest.two
3077 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3078 test -s conftest.one && test -s conftest.two &&
3079 test -s conftest.dir/conftest.one &&
3080 test -s conftest.dir/conftest.two
3082 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3095 rm -rf conftest.one conftest.two conftest.dir
3098 if test "${ac_cv_path_install+set}" = set; then
3099 INSTALL=$ac_cv_path_install
3101 # As a last resort, use the slow shell script. Don't cache a
3102 # value for INSTALL within a source directory, because that will
3103 # break other packages using the cache if that directory is
3104 # removed, or if the value is a relative name.
3105 INSTALL=$ac_install_sh
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3109 $as_echo "$INSTALL" >&6; }
3111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3112 # It thinks the first close brace ends the variable substitution.
3113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3120 $as_echo_n "checking whether build environment is sane... " >&6; }
3123 echo timestamp > conftest.file
3124 # Reject unsafe characters in $srcdir or the absolute working directory
3125 # name. Accept space and tab only in the latter.
3129 *[\\\"\#\$\&\'\`$am_lf]*)
3130 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3133 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3134 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3137 # Do `set' in a subshell so we don't clobber the current shell's
3138 # arguments. Must try -L first in case configure is actually a
3139 # symlink; some systems play weird games with the mod time of symlinks
3140 # (eg FreeBSD returns the mod time of the symlink's containing
3143 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3144 if test "$*" = "X"; then
3146 set X `ls -t "$srcdir/configure" conftest.file`
3149 if test "$*" != "X $srcdir/configure conftest.file" \
3150 && test "$*" != "X conftest.file $srcdir/configure"; then
3152 # If neither matched, then we have a broken ls. This can happen
3153 # if, for instance, CONFIG_SHELL is bash and it inherits a
3154 # broken ls alias from the environment. This has actually
3155 # happened. Such a system could not be considered "sane".
3156 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3157 alias in your environment" "$LINENO" 5
3160 test "$2" = conftest.file
3166 as_fn_error "newly created file is older than distributed files!
3167 Check your system clock" "$LINENO" 5
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3170 $as_echo "yes" >&6; }
3171 test "$program_prefix" != NONE &&
3172 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3173 # Use a double $ so make ignores it.
3174 test "$program_suffix" != NONE &&
3175 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3176 # Double any \ or $.
3177 # By default was `s,x,x', remove it if useless.
3178 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3179 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3181 # expand $ac_aux_dir to an absolute path
3182 am_aux_dir=`cd $ac_aux_dir && pwd`
3184 if test x"${MISSING+set}" != xset; then
3187 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3189 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3192 # Use eval to expand $SHELL
3193 if eval "$MISSING --run true"; then
3194 am_missing_run="$MISSING --run "
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3198 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3201 if test x"${install_sh}" != xset; then
3204 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3206 install_sh="\${SHELL} $am_aux_dir/install-sh"
3210 # Installed binaries are usually stripped using `strip' when the user
3211 # run `make install-strip'. However `strip' might not be the right
3212 # tool to use in cross-compilation environments, therefore Automake
3213 # will honor the `STRIP' environment variable to overrule this program.
3214 if test "$cross_compiling" != no; then
3215 if test -n "$ac_tool_prefix"; then
3216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}strip; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if test "${ac_cv_prog_STRIP+set}" = set; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$STRIP"; then
3224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 STRIP=$ac_cv_prog_STRIP
3244 if test -n "$STRIP"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3246 $as_echo "$STRIP" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3254 if test -z "$ac_cv_prog_STRIP"; then
3256 # Extract the first word of "strip", so it can be a program name with args.
3257 set dummy strip; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3261 $as_echo_n "(cached) " >&6
3263 if test -n "$ac_ct_STRIP"; then
3264 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273 ac_cv_prog_ac_ct_STRIP="strip"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3284 if test -n "$ac_ct_STRIP"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3286 $as_echo "$ac_ct_STRIP" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3292 if test "x$ac_ct_STRIP" = x; then
3295 case $cross_compiling:$ac_tool_warned in
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3304 STRIP="$ac_cv_prog_STRIP"
3308 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3311 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3312 if test -z "$MKDIR_P"; then
3313 if test "${ac_cv_path_mkdir+set}" = set; then :
3314 $as_echo_n "(cached) " >&6
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3320 test -z "$as_dir" && as_dir=.
3321 for ac_prog in mkdir gmkdir; do
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3324 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3325 'mkdir (GNU coreutils) '* | \
3326 'mkdir (coreutils) '* | \
3327 'mkdir (fileutils) '4.1*)
3328 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3338 if test "${ac_cv_path_mkdir+set}" = set; then
3339 MKDIR_P="$ac_cv_path_mkdir -p"
3341 # As a last resort, use the slow shell script. Don't cache a
3342 # value for MKDIR_P within a source directory, because that will
3343 # break other packages using the cache if that directory is
3344 # removed, or if the value is a relative name.
3345 test -d ./--version && rmdir ./--version
3346 MKDIR_P="$ac_install_sh -d"
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3350 $as_echo "$MKDIR_P" >&6; }
3354 [\\/$]* | ?:[\\/]*) ;;
3355 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3358 for ac_prog in gawk mawk nawk awk
3360 # Extract the first word of "$ac_prog", so it can be a program name with args.
3361 set dummy $ac_prog; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_AWK+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$AWK"; then
3368 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir=.
3375 for ac_exec_ext in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 ac_cv_prog_AWK="$ac_prog"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 if test -n "$AWK"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3390 $as_echo "$AWK" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3397 test -n "$AWK" && break
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3401 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3403 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3404 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3405 $as_echo_n "(cached) " >&6
3407 cat >conftest.make <<\_ACEOF
3410 @echo '@@@%%%=$(MAKE)=@@@%%%'
3412 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3413 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3415 eval ac_cv_prog_make_${ac_make}_set=yes;;
3417 eval ac_cv_prog_make_${ac_make}_set=no;;
3421 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423 $as_echo "yes" >&6; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 SET_MAKE="MAKE=${MAKE-make}"
3431 rm -rf .tst 2>/dev/null
3432 mkdir .tst 2>/dev/null
3433 if test -d .tst; then
3438 rmdir .tst 2>/dev/null
3440 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3441 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3442 # is not polluted with repeated "-I."
3443 am__isrc=' -I$(srcdir)'
3444 # test to see if srcdir already configured
3445 if test -f $srcdir/config.status; then
3446 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3450 # test whether we have cygpath
3451 if test -z "$CYGPATH_W"; then
3452 if (cygpath --version) >/dev/null 2>/dev/null; then
3453 CYGPATH_W='cygpath -w'
3460 # Define the identity of the package.
3462 VERSION='version-unused'
3465 # Some tools Automake needs.
3467 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3470 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3473 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3476 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3479 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3481 # We need awk for the "check" target. The system "awk" is bad on
3483 # Always define AMTAR for backward compatibility.
3485 AMTAR=${AMTAR-"${am_missing_run}tar"}
3487 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3496 # -fno-builtin must be present here so that a non-conflicting form of
3497 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3499 save_CXXFLAGS="$CXXFLAGS"
3500 CXXFLAGS="$CXXFLAGS -fno-builtin"
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506 if test -n "$ac_tool_prefix"; then
3507 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3508 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_CC+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC="$CC" # Let the user override the test.
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir=.
3522 for ac_exec_ext in '' $ac_executable_extensions; do
3523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test -n "$CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3545 if test -z "$ac_cv_prog_CC"; then
3547 # Extract the first word of "gcc", so it can be a program name with args.
3548 set dummy gcc; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3554 if test -n "$ac_ct_CC"; then
3555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_ac_ct_CC="gcc"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3575 if test -n "$ac_ct_CC"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3577 $as_echo "$ac_ct_CC" >&6; }
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3583 if test "x$ac_ct_CC" = x; then
3586 case $cross_compiling:$ac_tool_warned in
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590 ac_tool_warned=yes ;;
3598 if test -z "$CC"; then
3599 if test -n "$ac_tool_prefix"; then
3600 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3601 set dummy ${ac_tool_prefix}cc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_CC+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3607 if test -n "$CC"; then
3608 ac_cv_prog_CC="$CC" # Let the user override the test.
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 ac_cv_prog_CC="${ac_tool_prefix}cc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 if test -n "$CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 $as_echo "$CC" >&6; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3639 if test -z "$CC"; then
3640 # Extract the first word of "cc", so it can be a program name with args.
3641 set dummy cc; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if test "${ac_cv_prog_CC+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3647 if test -n "$CC"; then
3648 ac_cv_prog_CC="$CC" # Let the user override the test.
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3659 ac_prog_rejected=yes
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 if test $ac_prog_rejected = yes; then
3671 # We found a bogon in the path, so make sure we never use it.
3672 set dummy $ac_cv_prog_CC
3674 if test $# != 0; then
3675 # We chose a different compiler from the bogus one.
3676 # However, it has the same basename, so the bogon will be chosen
3677 # first if we set CC to just the basename; use the full file name.
3679 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in cl.exe
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_CC+set}" = set; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$CC"; then
3707 ac_cv_prog_CC="$CC" # Let the user override the test.
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$CC"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3729 $as_echo "$CC" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$CC" && break
3739 if test -z "$CC"; then
3741 for ac_prog in cl.exe
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$ac_ct_CC"; then
3751 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CC="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3771 if test -n "$ac_ct_CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3773 $as_echo "$ac_ct_CC" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$ac_ct_CC" && break
3783 if test "x$ac_ct_CC" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3799 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error "no acceptable C compiler found in \$PATH
3802 See \`config.log' for more details." "$LINENO" 5; }
3804 # Provide some information about the compiler.
3805 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3808 for ac_option in --version -v -V -qversion; do
3809 { { ac_try="$ac_compiler $ac_option >&5"
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3818 if test -s conftest.err; then
3820 ... rest of stderr output deleted ...
3821 10q' conftest.err >conftest.er1
3822 cat conftest.er1 >&5
3823 rm -f conftest.er1 conftest.err
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3842 (eval $ac_link) 2>&5
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }; then :
3850 if test x$gcc_no_link = xyes; then
3851 # Setting cross_compile will disable run tests; it will
3852 # also disable AC_CHECK_FILE but that's generally
3853 # correct if we can't link.
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3874 $as_echo_n "checking for C compiler default output file name... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3881 for ac_file in $ac_files
3884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3890 if { { ac_try="$ac_link_default"
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_link_default") 2>&5
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }; then :
3901 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3906 for ac_file in $ac_files ''
3908 test -f "$ac_file" || continue
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3913 # We found the default executable, but exeext='' is most
3917 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3919 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3921 # We set ac_cv_exeext here because the later test for it is not
3922 # safe: cross compilers may not add the suffix if given an `-o'
3923 # argument, so we may need to know it at that point already.
3924 # Even if this section looks crufty: it has the advantage of
3931 test "$ac_cv_exeext" = no && ac_cv_exeext=
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3937 $as_echo "$ac_file" >&6; }
3938 if test -z "$ac_file"; then :
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 { as_fn_set_status 77
3945 as_fn_error "C compiler cannot create executables
3946 See \`config.log' for more details." "$LINENO" 5; }; }
3948 ac_exeext=$ac_cv_exeext
3950 # Check that the compiler produces executables we can run. If not, either
3951 # the compiler is broken, or we cross compile.
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3953 $as_echo_n "checking whether the C compiler works... " >&6; }
3954 # If not cross compiling, check that we can run a simple program.
3955 if test "$cross_compiling" != yes; then
3956 if { ac_try='./$ac_file'
3957 { { case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_try") 2>&5
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }; }; then
3969 if test "$cross_compiling" = maybe; then
3972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974 as_fn_error "cannot run C compiled programs.
3975 If you meant to cross compile, use \`--host'.
3976 See \`config.log' for more details." "$LINENO" 5; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3981 $as_echo "yes" >&6; }
3983 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3984 ac_clean_files=$ac_clean_files_save
3985 # Check that the compiler produces executables we can run. If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3988 $as_echo_n "checking whether we are cross compiling... " >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3990 $as_echo "$cross_compiling" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3993 $as_echo_n "checking for suffix of executables... " >&6; }
3994 if { { ac_try="$ac_link"
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_link") 2>&5
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; then :
4005 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4006 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4007 # work properly (i.e., refer to `conftest.exe'), while it won't with
4009 for ac_file in conftest.exe conftest conftest.*; do
4010 test -f "$ac_file" || continue
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error "cannot compute suffix of executables: cannot compile and link
4022 See \`config.log' for more details." "$LINENO" 5; }
4024 rm -f conftest$ac_cv_exeext
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4026 $as_echo "$ac_cv_exeext" >&6; }
4028 rm -f conftest.$ac_ext
4029 EXEEXT=$ac_cv_exeext
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4033 $as_echo_n "checking for suffix of object files... " >&6; }
4034 if test "${ac_cv_objext+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4048 rm -f conftest.o conftest.obj
4049 if { { ac_try="$ac_compile"
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_compile") 2>&5
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; then :
4060 for ac_file in conftest.o conftest.obj conftest.*; do
4061 test -f "$ac_file" || continue;
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4064 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4069 $as_echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error "cannot compute suffix of object files: cannot compile
4075 See \`config.log' for more details." "$LINENO" 5; }
4077 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4080 $as_echo "$ac_cv_objext" >&6; }
4081 OBJEXT=$ac_cv_objext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4084 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4085 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4102 if ac_fn_c_try_compile "$LINENO"; then :
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4112 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4113 if test $ac_compiler_gnu = yes; then
4118 ac_test_CFLAGS=${CFLAGS+set}
4119 ac_save_CFLAGS=$CFLAGS
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4121 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4122 if test "${ac_cv_prog_cc_g+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4125 ac_save_c_werror_flag=$ac_c_werror_flag
4126 ac_c_werror_flag=yes
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 if ac_fn_c_try_compile "$LINENO"; then :
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4158 ac_c_werror_flag=$ac_save_c_werror_flag
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4171 if ac_fn_c_try_compile "$LINENO"; then :
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 ac_c_werror_flag=$ac_save_c_werror_flag
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4182 $as_echo "$ac_cv_prog_cc_g" >&6; }
4183 if test "$ac_test_CFLAGS" = set; then
4184 CFLAGS=$ac_save_CFLAGS
4185 elif test $ac_cv_prog_cc_g = yes; then
4186 if test "$GCC" = yes; then
4192 if test "$GCC" = yes; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4199 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4200 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4203 ac_cv_prog_cc_c89=no
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 #include <sys/types.h>
4210 #include <sys/stat.h>
4211 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4212 struct buf { int x; };
4213 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4214 static char *e (p, i)
4220 static char *f (char * (*g) (char **, int), char **p, ...)
4225 s = g (p, va_arg (v,int));
4230 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4231 function prototypes and stuff, but not '\xHH' hex character constants.
4232 These don't provoke an error unfortunately, instead are silently treated
4233 as 'x'. The following induces an error, until -std is added to get
4234 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4235 array size at least. It's necessary to write '\x00'==0 to get something
4236 that's true only with -std. */
4237 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4239 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4240 inside strings and character constants. */
4242 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4244 int test (int i, double x);
4245 struct s1 {int (*f) (int a);};
4246 struct s2 {int (*f) (double a);};
4247 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4253 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4258 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4259 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4261 CC="$ac_save_CC $ac_arg"
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_cv_prog_cc_c89=$ac_arg
4265 rm -f core conftest.err conftest.$ac_objext
4266 test "x$ac_cv_prog_cc_c89" != "xno" && break
4268 rm -f conftest.$ac_ext
4273 case "x$ac_cv_prog_cc_c89" in
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4276 $as_echo "none needed" >&6; } ;;
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4279 $as_echo "unsupported" >&6; } ;;
4281 CC="$CC $ac_cv_prog_cc_c89"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4283 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4285 if test "x$ac_cv_prog_cc_c89" != xno; then :
4290 ac_cpp='$CPP $CPPFLAGS'
4291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 ac_cpp='$CXXCPP $CPPFLAGS'
4297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4300 if test -z "$CXX"; then
4301 if test -n "$CCC"; then
4304 if test -n "$ac_tool_prefix"; then
4305 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if test "${ac_cv_prog_CXX+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$CXX"; then
4315 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 if test -n "$CXX"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4337 $as_echo "$CXX" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$CXX" && break
4347 if test -z "$CXX"; then
4349 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4351 # Extract the first word of "$ac_prog", so it can be a program name with args.
4352 set dummy $ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -n "$ac_ct_CXX"; then
4359 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368 ac_cv_prog_ac_ct_CXX="$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4379 if test -n "$ac_ct_CXX"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4381 $as_echo "$ac_ct_CXX" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4388 test -n "$ac_ct_CXX" && break
4391 if test "x$ac_ct_CXX" = x; then
4394 case $cross_compiling:$ac_tool_warned in
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4406 # Provide some information about the compiler.
4407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4410 for ac_option in --version -v -V -qversion; do
4411 { { ac_try="$ac_compiler $ac_option >&5"
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4420 if test -s conftest.err; then
4422 ... rest of stderr output deleted ...
4423 10q' conftest.err >conftest.er1
4424 cat conftest.er1 >&5
4425 rm -f conftest.er1 conftest.err
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4433 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4434 $as_echo_n "(cached) " >&6
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4450 if ac_fn_cxx_try_compile "$LINENO"; then :
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4460 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4466 ac_test_CXXFLAGS=${CXXFLAGS+set}
4467 ac_save_CXXFLAGS=$CXXFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4469 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4470 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4473 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4474 ac_cxx_werror_flag=yes
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_cxx_try_compile "$LINENO"; then :
4489 ac_cv_prog_cxx_g=yes
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_cxx_try_compile "$LINENO"; then :
4506 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_cxx_try_compile "$LINENO"; then :
4520 ac_cv_prog_cxx_g=yes
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4530 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4531 if test "$ac_test_CXXFLAGS" = set; then
4532 CXXFLAGS=$ac_save_CXXFLAGS
4533 elif test $ac_cv_prog_cxx_g = yes; then
4534 if test "$GXX" = yes; then
4540 if test "$GXX" = yes; then
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4552 CXXFLAGS="$save_CXXFLAGS"
4554 # Runs configure.host, and assorted other critical bits. Sets
4555 # up critical shell variables.
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4563 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4564 # On Suns, sometimes $CPP names a directory.
4565 if test -n "$CPP" && test -d "$CPP"; then
4568 if test -z "$CPP"; then
4569 if test "${ac_cv_prog_CPP+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4572 # Double quotes because CPP needs to be expanded
4573 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4576 for ac_c_preproc_warn_flag in '' yes
4578 # Use a header file that comes with gcc, so configuring glibc
4579 # with a fresh cross-compiler works.
4580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4581 # <limits.h> exists even on freestanding compilers.
4582 # On the NeXT, cc -E runs the code through the compiler's parser,
4583 # not just through cpp. "Syntax error" is here to catch this case.
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4587 # include <limits.h>
4589 # include <assert.h>
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4596 # Broken: fails on valid input.
4599 rm -f conftest.err conftest.$ac_ext
4601 # OK, works on sane cases. Now check whether nonexistent headers
4602 # can be detected and how.
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4605 #include <ac_nonexistent.h>
4607 if ac_fn_c_try_cpp "$LINENO"; then :
4608 # Broken: success on invalid input.
4611 # Passes both tests.
4615 rm -f conftest.err conftest.$ac_ext
4618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4619 rm -f conftest.err conftest.$ac_ext
4620 if $ac_preproc_ok; then :
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4633 $as_echo "$CPP" >&6; }
4635 for ac_c_preproc_warn_flag in '' yes
4637 # Use a header file that comes with gcc, so configuring glibc
4638 # with a fresh cross-compiler works.
4639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4640 # <limits.h> exists even on freestanding compilers.
4641 # On the NeXT, cc -E runs the code through the compiler's parser,
4642 # not just through cpp. "Syntax error" is here to catch this case.
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4646 # include <limits.h>
4648 # include <assert.h>
4652 if ac_fn_c_try_cpp "$LINENO"; then :
4655 # Broken: fails on valid input.
4658 rm -f conftest.err conftest.$ac_ext
4660 # OK, works on sane cases. Now check whether nonexistent headers
4661 # can be detected and how.
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4664 #include <ac_nonexistent.h>
4666 if ac_fn_c_try_cpp "$LINENO"; then :
4667 # Broken: success on invalid input.
4670 # Passes both tests.
4674 rm -f conftest.err conftest.$ac_ext
4677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4678 rm -f conftest.err conftest.$ac_ext
4679 if $ac_preproc_ok; then :
4682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4685 See \`config.log' for more details." "$LINENO" 5; }
4689 ac_cpp='$CPP $CPPFLAGS'
4690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4696 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4697 if test "${ac_cv_path_GREP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -z "$GREP"; then
4701 ac_path_GREP_found=false
4702 # Loop through the user's path and test for each of PROGNAME-LIST
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4707 test -z "$as_dir" && as_dir=.
4708 for ac_prog in grep ggrep; do
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4711 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4712 # Check for GNU ac_path_GREP and select it if it is found.
4713 # Check for GNU $ac_path_GREP
4714 case `"$ac_path_GREP" --version 2>&1` in
4716 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4719 $as_echo_n 0123456789 >"conftest.in"
4722 cat "conftest.in" "conftest.in" >"conftest.tmp"
4723 mv "conftest.tmp" "conftest.in"
4724 cp "conftest.in" "conftest.nl"
4725 $as_echo 'GREP' >> "conftest.nl"
4726 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4727 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4728 as_fn_arith $ac_count + 1 && ac_count=$as_val
4729 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4730 # Best one so far, save it but keep looking for a better one
4731 ac_cv_path_GREP="$ac_path_GREP"
4732 ac_path_GREP_max=$ac_count
4734 # 10*(2^10) chars as input seems more than enough
4735 test $ac_count -gt 10 && break
4737 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4740 $ac_path_GREP_found && break 3
4745 if test -z "$ac_cv_path_GREP"; then
4746 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4749 ac_cv_path_GREP=$GREP
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4754 $as_echo "$ac_cv_path_GREP" >&6; }
4755 GREP="$ac_cv_path_GREP"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4759 $as_echo_n "checking for egrep... " >&6; }
4760 if test "${ac_cv_path_EGREP+set}" = set; then :
4761 $as_echo_n "(cached) " >&6
4763 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4764 then ac_cv_path_EGREP="$GREP -E"
4766 if test -z "$EGREP"; then
4767 ac_path_EGREP_found=false
4768 # Loop through the user's path and test for each of PROGNAME-LIST
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4773 test -z "$as_dir" && as_dir=.
4774 for ac_prog in egrep; do
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4777 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4778 # Check for GNU ac_path_EGREP and select it if it is found.
4779 # Check for GNU $ac_path_EGREP
4780 case `"$ac_path_EGREP" --version 2>&1` in
4782 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4785 $as_echo_n 0123456789 >"conftest.in"
4788 cat "conftest.in" "conftest.in" >"conftest.tmp"
4789 mv "conftest.tmp" "conftest.in"
4790 cp "conftest.in" "conftest.nl"
4791 $as_echo 'EGREP' >> "conftest.nl"
4792 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794 as_fn_arith $ac_count + 1 && ac_count=$as_val
4795 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4796 # Best one so far, save it but keep looking for a better one
4797 ac_cv_path_EGREP="$ac_path_EGREP"
4798 ac_path_EGREP_max=$ac_count
4800 # 10*(2^10) chars as input seems more than enough
4801 test $ac_count -gt 10 && break
4803 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4806 $ac_path_EGREP_found && break 3
4811 if test -z "$ac_cv_path_EGREP"; then
4812 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4815 ac_cv_path_EGREP=$EGREP
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4821 $as_echo "$ac_cv_path_EGREP" >&6; }
4822 EGREP="$ac_cv_path_EGREP"
4826 # Keep these sync'd with the list in Makefile.am. The first provides an
4827 # expandable list at autoconf time; the second provides an expandable list
4828 # (i.e., shell variable) at configure time.
4830 SUBDIRS='include libsupc++ python src doc po testsuite'
4832 # These need to be absolute paths, yet at the same time need to
4833 # canonicalize only relative paths, because then amd will not unmount
4834 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4835 glibcxx_builddir=`${PWDCMD-pwd}`
4837 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4838 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4840 toplevel_srcdir=${glibcxx_srcdir}/..
4845 # We use these options to decide which functions to include. They are
4846 # set from the top level.
4848 # Check whether --with-target-subdir was given.
4849 if test "${with_target_subdir+set}" = set; then :
4850 withval=$with_target_subdir;
4855 # Check whether --with-cross-host was given.
4856 if test "${with_cross_host+set}" = set; then :
4857 withval=$with_cross_host;
4862 # Check whether --with-newlib was given.
4863 if test "${with_newlib+set}" = set; then :
4864 withval=$with_newlib;
4868 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4869 # available). Uncomment the next line to force a particular method.
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4871 $as_echo_n "checking whether ln -s works... " >&6; }
4873 if test "$LN_S" = "ln -s"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4878 $as_echo "no, using $LN_S" >&6; }
4883 if test -n "$ac_tool_prefix"; then
4884 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}as; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if test "${ac_cv_prog_AS+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$AS"; then
4892 ac_cv_prog_AS="$AS" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_AS="${ac_tool_prefix}as"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 if test -n "$AS"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4914 $as_echo "$AS" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4922 if test -z "$ac_cv_prog_AS"; then
4924 # Extract the first word of "as", so it can be a program name with args.
4925 set dummy as; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_ac_ct_AS="as"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4952 if test -n "$ac_ct_AS"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4954 $as_echo "$ac_ct_AS" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4960 if test "x$ac_ct_AS" = x; then
4963 case $cross_compiling:$ac_tool_warned in
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}ar; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_AR+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$AR"; then
4984 ac_cv_prog_AR="$AR" # Let the user override the test.
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_AR="${ac_tool_prefix}ar"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 if test -n "$AR"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5006 $as_echo "$AR" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5014 if test -z "$ac_cv_prog_AR"; then
5016 # Extract the first word of "ar", so it can be a program name with args.
5017 set dummy ar; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$ac_ct_AR"; then
5024 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_ac_ct_AR="ar"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5044 if test -n "$ac_ct_AR"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5046 $as_echo "$ac_ct_AR" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5052 if test "x$ac_ct_AR" = x; then
5055 case $cross_compiling:$ac_tool_warned in
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -n "$RANLIB"; then
5076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 RANLIB=$ac_cv_prog_RANLIB
5096 if test -n "$RANLIB"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5098 $as_echo "$RANLIB" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5106 if test -z "$ac_cv_prog_RANLIB"; then
5107 ac_ct_RANLIB=$RANLIB
5108 # Extract the first word of "ranlib", so it can be a program name with args.
5109 set dummy ranlib; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$ac_ct_RANLIB"; then
5116 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125 ac_cv_prog_ac_ct_RANLIB="ranlib"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5136 if test -n "$ac_ct_RANLIB"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5138 $as_echo "$ac_ct_RANLIB" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5144 if test "x$ac_ct_RANLIB" = x; then
5145 RANLIB="ranlib-not-found-in-path-error"
5147 case $cross_compiling:$ac_tool_warned in
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5153 RANLIB=$ac_ct_RANLIB
5156 RANLIB="$ac_cv_prog_RANLIB"
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5162 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5163 # Check whether --enable-maintainer-mode was given.
5164 if test "${enable_maintainer_mode+set}" = set; then :
5165 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5167 USE_MAINTAINER_MODE=no
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5171 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5172 if test $USE_MAINTAINER_MODE = yes; then
5173 MAINTAINER_MODE_TRUE=
5174 MAINTAINER_MODE_FALSE='#'
5176 MAINTAINER_MODE_TRUE='#'
5177 MAINTAINER_MODE_FALSE=
5180 MAINT=$MAINTAINER_MODE_TRUE
5184 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5185 # which are themselves conditionally expanded.
5186 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5187 ## other macros from doing the same. This should be automated.) -pme
5189 # Check for uClibc since Linux platforms use different configuration
5190 # directories depending on the C library in use.
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5201 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5209 # Find platform-specific directories containing configuration info.
5210 # Also possibly modify flags used elsewhere, as needed by the platform.
5212 . $glibcxx_srcdir/configure.host
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5214 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5216 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5220 if test "x${with_newlib}" != "xyes"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5229 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5234 macro_version='2.2.7a'
5235 macro_revision='1.3134'
5249 ltmain="$ac_aux_dir/ltmain.sh"
5251 # Backslashify metacharacters that are still active within
5252 # double-quoted strings.
5253 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5255 # Same as above, but do not quote variable references.
5256 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5258 # Sed substitution to delay expansion of an escaped shell variable in a
5259 # double_quote_subst'ed string.
5260 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5262 # Sed substitution to delay expansion of an escaped single quote.
5263 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5265 # Sed substitution to avoid accidental globbing in evaled expressions
5266 no_glob_subst='s/\*/\\\*/g'
5268 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5270 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5273 $as_echo_n "checking how to print strings... " >&6; }
5274 # Test print first, because it will be a builtin if present.
5275 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5276 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5278 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5281 # Use this function as a fallback that always works.
5282 func_fallback_echo ()
5284 eval 'cat <<_LTECHO_EOF
5288 ECHO='func_fallback_echo'
5291 # func_echo_all arg...
5292 # Invoke $ECHO with all args, space-separated.
5299 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5300 $as_echo "printf" >&6; } ;;
5301 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5302 $as_echo "print -r" >&6; } ;;
5303 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5304 $as_echo "cat" >&6; } ;;
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5321 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5322 if test "${ac_cv_path_SED+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5325 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5326 for ac_i in 1 2 3 4 5 6 7; do
5327 ac_script="$ac_script$as_nl$ac_script"
5329 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5330 { ac_script=; unset ac_script;}
5331 if test -z "$SED"; then
5332 ac_path_SED_found=false
5333 # Loop through the user's path and test for each of PROGNAME-LIST
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir=.
5339 for ac_prog in sed gsed; do
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5342 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5343 # Check for GNU ac_path_SED and select it if it is found.
5344 # Check for GNU $ac_path_SED
5345 case `"$ac_path_SED" --version 2>&1` in
5347 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5350 $as_echo_n 0123456789 >"conftest.in"
5353 cat "conftest.in" "conftest.in" >"conftest.tmp"
5354 mv "conftest.tmp" "conftest.in"
5355 cp "conftest.in" "conftest.nl"
5356 $as_echo '' >> "conftest.nl"
5357 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5359 as_fn_arith $ac_count + 1 && ac_count=$as_val
5360 if test $ac_count -gt ${ac_path_SED_max-0}; then
5361 # Best one so far, save it but keep looking for a better one
5362 ac_cv_path_SED="$ac_path_SED"
5363 ac_path_SED_max=$ac_count
5365 # 10*(2^10) chars as input seems more than enough
5366 test $ac_count -gt 10 && break
5368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5371 $ac_path_SED_found && break 3
5376 if test -z "$ac_cv_path_SED"; then
5377 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5385 $as_echo "$ac_cv_path_SED" >&6; }
5386 SED="$ac_cv_path_SED"
5389 test -z "$SED" && SED=sed
5390 Xsed="$SED -e 1s/^X//"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5403 $as_echo_n "checking for fgrep... " >&6; }
5404 if test "${ac_cv_path_FGREP+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5407 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5408 then ac_cv_path_FGREP="$GREP -F"
5410 if test -z "$FGREP"; then
5411 ac_path_FGREP_found=false
5412 # Loop through the user's path and test for each of PROGNAME-LIST
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5417 test -z "$as_dir" && as_dir=.
5418 for ac_prog in fgrep; do
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5421 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5422 # Check for GNU ac_path_FGREP and select it if it is found.
5423 # Check for GNU $ac_path_FGREP
5424 case `"$ac_path_FGREP" --version 2>&1` in
5426 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5429 $as_echo_n 0123456789 >"conftest.in"
5432 cat "conftest.in" "conftest.in" >"conftest.tmp"
5433 mv "conftest.tmp" "conftest.in"
5434 cp "conftest.in" "conftest.nl"
5435 $as_echo 'FGREP' >> "conftest.nl"
5436 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438 as_fn_arith $ac_count + 1 && ac_count=$as_val
5439 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5440 # Best one so far, save it but keep looking for a better one
5441 ac_cv_path_FGREP="$ac_path_FGREP"
5442 ac_path_FGREP_max=$ac_count
5444 # 10*(2^10) chars as input seems more than enough
5445 test $ac_count -gt 10 && break
5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5450 $ac_path_FGREP_found && break 3
5455 if test -z "$ac_cv_path_FGREP"; then
5456 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5459 ac_cv_path_FGREP=$FGREP
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5465 $as_echo "$ac_cv_path_FGREP" >&6; }
5466 FGREP="$ac_cv_path_FGREP"
5469 test -z "$GREP" && GREP=grep
5489 # Check whether --with-gnu-ld was given.
5490 if test "${with_gnu_ld+set}" = set; then :
5491 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5497 if test "$GCC" = yes; then
5498 # Check if gcc -print-prog-name=ld gives a path.
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5500 $as_echo_n "checking for ld used by $CC... " >&6; }
5503 # gcc leaves a trailing carriage return which upsets mingw
5504 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5506 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5509 # Accept absolute paths.
5511 re_direlt='/[^/][^/]*/\.\./'
5512 # Canonicalize the pathname of ld
5513 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5514 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5515 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5517 test -z "$LD" && LD="$ac_prog"
5520 # If it fails, then pretend we aren't using GCC.
5524 # If it is relative, then search for the first ld in PATH.
5528 elif test "$with_gnu_ld" = yes; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5530 $as_echo_n "checking for GNU ld... " >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5533 $as_echo_n "checking for non-GNU ld... " >&6; }
5535 if test "${lt_cv_path_LD+set}" = set; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -z "$LD"; then
5539 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5540 for ac_dir in $PATH; do
5542 test -z "$ac_dir" && ac_dir=.
5543 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5544 lt_cv_path_LD="$ac_dir/$ac_prog"
5545 # Check to see if the program is GNU ld. I'd rather use --version,
5546 # but apparently some variants of GNU ld only accept -v.
5547 # Break only if it was the GNU/non-GNU ld that we prefer.
5548 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5549 *GNU* | *'with BFD'*)
5550 test "$with_gnu_ld" != no && break
5553 test "$with_gnu_ld" != yes && break
5560 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5565 if test -n "$LD"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5567 $as_echo "$LD" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5572 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5574 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5575 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5576 $as_echo_n "(cached) " >&6
5578 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5579 case `$LD -v 2>&1 </dev/null` in
5580 *GNU* | *'with BFD'*)
5581 lt_cv_prog_gnu_ld=yes
5584 lt_cv_prog_gnu_ld=no
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5589 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5590 with_gnu_ld=$lt_cv_prog_gnu_ld
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5601 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5602 if test "${lt_cv_path_NM+set}" = set; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$NM"; then
5606 # Let the user override the test.
5609 lt_nm_to_check="${ac_tool_prefix}nm"
5610 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5611 lt_nm_to_check="$lt_nm_to_check nm"
5613 for lt_tmp_nm in $lt_nm_to_check; do
5614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5615 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5617 test -z "$ac_dir" && ac_dir=.
5618 tmp_nm="$ac_dir/$lt_tmp_nm"
5619 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5620 # Check to see if the nm accepts a BSD-compat flag.
5621 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5622 # nm: unknown option "B" ignored
5623 # Tru64's nm complains that /dev/null is an invalid object file
5624 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5625 */dev/null* | *'Invalid file or object type'*)
5626 lt_cv_path_NM="$tmp_nm -B"
5630 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5632 lt_cv_path_NM="$tmp_nm -p"
5636 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5637 continue # so that we can try to find one that supports BSD flags
5646 : ${lt_cv_path_NM=no}
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5650 $as_echo "$lt_cv_path_NM" >&6; }
5651 if test "$lt_cv_path_NM" != "no"; then
5654 # Didn't find any BSD compatible name lister, look for dumpbin.
5655 if test -n "$DUMPBIN"; then :
5656 # Let the user override the test.
5658 if test -n "$ac_tool_prefix"; then
5659 for ac_prog in dumpbin "link -dump"
5661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$DUMPBIN"; then
5669 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 DUMPBIN=$ac_cv_prog_DUMPBIN
5689 if test -n "$DUMPBIN"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5691 $as_echo "$DUMPBIN" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 test -n "$DUMPBIN" && break
5701 if test -z "$DUMPBIN"; then
5702 ac_ct_DUMPBIN=$DUMPBIN
5703 for ac_prog in dumpbin "link -dump"
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$ac_ct_DUMPBIN"; then
5713 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5733 if test -n "$ac_ct_DUMPBIN"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5735 $as_echo "$ac_ct_DUMPBIN" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$ac_ct_DUMPBIN" && break
5745 if test "x$ac_ct_DUMPBIN" = x; then
5748 case $cross_compiling:$ac_tool_warned in
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5754 DUMPBIN=$ac_ct_DUMPBIN
5758 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5760 DUMPBIN="$DUMPBIN -symbols"
5768 if test "$DUMPBIN" != ":"; then
5772 test -z "$NM" && NM=nm
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5780 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5781 if test "${lt_cv_nm_interface+set}" = set; then :
5782 $as_echo_n "(cached) " >&6
5784 lt_cv_nm_interface="BSD nm"
5785 echo "int some_variable = 0;" > conftest.$ac_ext
5786 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5787 (eval "$ac_compile" 2>conftest.err)
5788 cat conftest.err >&5
5789 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5790 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5791 cat conftest.err >&5
5792 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5793 cat conftest.out >&5
5794 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5795 lt_cv_nm_interface="MS dumpbin"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5800 $as_echo "$lt_cv_nm_interface" >&6; }
5802 # find the maximum length of command line arguments
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5804 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5805 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5813 # On DJGPP, this test can blow up pretty badly due to problems in libc
5814 # (any single argument exceeding 2000 bytes causes a buffer overrun
5815 # during glob expansion). Even if it were fixed, the result of this
5816 # check would be larger than it should be.
5817 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5821 # Under GNU Hurd, this test is not required because there is
5822 # no limit to the length of command line arguments.
5823 # Libtool will interpret -1 as no limit whatsoever
5824 lt_cv_sys_max_cmd_len=-1;
5827 cygwin* | mingw* | cegcc*)
5828 # On Win9x/ME, this test blows up -- it succeeds, but takes
5829 # about 5 minutes as the teststring grows exponentially.
5830 # Worse, since 9x/ME are not pre-emptively multitasking,
5831 # you end up with a "frozen" computer, even though with patience
5832 # the test eventually succeeds (with a max line length of 256k).
5833 # Instead, let's just punt: use the minimum linelength reported by
5834 # all of the supported platforms: 8192 (on NT/2K/XP).
5835 lt_cv_sys_max_cmd_len=8192;
5839 # On MiNT this can take a long time and run out of memory.
5840 lt_cv_sys_max_cmd_len=8192;
5844 # On AmigaOS with pdksh, this test takes hours, literally.
5845 # So we just punt and use a minimum line length of 8192.
5846 lt_cv_sys_max_cmd_len=8192;
5849 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5850 # This has been around since 386BSD, at least. Likely further.
5851 if test -x /sbin/sysctl; then
5852 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5853 elif test -x /usr/sbin/sysctl; then
5854 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5856 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5858 # And add a safety zone
5859 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5860 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5864 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5865 lt_cv_sys_max_cmd_len=196608
5869 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5870 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5871 # nice to cause kernel panics so lets avoid the loop below.
5872 # First set a reasonable default.
5873 lt_cv_sys_max_cmd_len=16384
5875 if test -x /sbin/sysconfig; then
5876 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5877 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5882 lt_cv_sys_max_cmd_len=102400
5884 sysv5* | sco5v6* | sysv4.2uw2*)
5885 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5886 if test -n "$kargmax"; then
5887 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5889 lt_cv_sys_max_cmd_len=32768
5893 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5894 if test -n "$lt_cv_sys_max_cmd_len"; then
5895 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5896 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5898 # Make teststring a little bigger before we do anything with it.
5899 # a 1K string should be a reasonable start.
5900 for i in 1 2 3 4 5 6 7 8 ; do
5901 teststring=$teststring$teststring
5903 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5904 # If test is not a shell built-in, we'll probably end up computing a
5905 # maximum length that is only half of the actual maximum length, but
5907 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5908 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5909 test $i != 17 # 1/2 MB should be enough
5912 teststring=$teststring$teststring
5914 # Only check the string length outside the loop.
5915 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5917 # Add a significant safety factor because C++ compilers can tack on
5918 # massive amounts of additional arguments before passing them to the
5919 # linker. It appears as though 1/2 is a usable value.
5920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5927 if test -n $lt_cv_sys_max_cmd_len ; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5929 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5932 $as_echo "none" >&6; }
5934 max_cmd_len=$lt_cv_sys_max_cmd_len
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5946 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5947 # Try some XSI features
5950 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5952 && eval 'test $(( 1 + 1 )) -eq 2 \
5953 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5956 $as_echo "$xsi_shell" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5960 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5962 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5964 && lt_shell_append=yes
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5966 $as_echo "$lt_shell_append" >&6; }
5969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5979 # test EBCDIC or ASCII
5980 case `echo X|tr X '\101'` in
5981 A) # ASCII based system
5982 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5983 lt_SP2NL='tr \040 \012'
5984 lt_NL2SP='tr \015\012 \040\040'
5986 *) # EBCDIC based system
5987 lt_SP2NL='tr \100 \n'
5988 lt_NL2SP='tr \r\n \100\100'
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6001 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6002 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6003 $as_echo_n "(cached) " >&6
6005 lt_cv_ld_reload_flag='-r'
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6008 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6009 reload_flag=$lt_cv_ld_reload_flag
6010 case $reload_flag in
6012 *) reload_flag=" $reload_flag" ;;
6014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6017 if test "$GCC" = yes; then
6018 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6020 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6033 if test -n "$ac_tool_prefix"; then
6034 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6039 $as_echo_n "(cached) " >&6
6041 if test -n "$OBJDUMP"; then
6042 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 OBJDUMP=$ac_cv_prog_OBJDUMP
6062 if test -n "$OBJDUMP"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6064 $as_echo "$OBJDUMP" >&6; }
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6072 if test -z "$ac_cv_prog_OBJDUMP"; then
6073 ac_ct_OBJDUMP=$OBJDUMP
6074 # Extract the first word of "objdump", so it can be a program name with args.
6075 set dummy objdump; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6079 $as_echo_n "(cached) " >&6
6081 if test -n "$ac_ct_OBJDUMP"; then
6082 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6102 if test -n "$ac_ct_OBJDUMP"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6104 $as_echo "$ac_ct_OBJDUMP" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6110 if test "x$ac_ct_OBJDUMP" = x; then
6113 case $cross_compiling:$ac_tool_warned in
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6119 OBJDUMP=$ac_ct_OBJDUMP
6122 OBJDUMP="$ac_cv_prog_OBJDUMP"
6125 test -z "$OBJDUMP" && OBJDUMP=objdump
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6136 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6137 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6138 $as_echo_n "(cached) " >&6
6140 lt_cv_file_magic_cmd='$MAGIC_CMD'
6141 lt_cv_file_magic_test_file=
6142 lt_cv_deplibs_check_method='unknown'
6143 # Need to set the preceding variable on all platforms that support
6144 # interlibrary dependencies.
6145 # 'none' -- dependencies not supported.
6146 # `unknown' -- same as none, but documents that we really don't know.
6147 # 'pass_all' -- all dependencies passed with no checks.
6148 # 'test_compile' -- check by making test program.
6149 # 'file_magic [[regex]]' -- check by looking for files in library path
6150 # which responds to the $file_magic_cmd with a given extended regex.
6151 # If you have `file' or equivalent on your system and you're not sure
6152 # whether `pass_all' will *always* work, you probably want this one.
6156 lt_cv_deplibs_check_method=pass_all
6160 lt_cv_deplibs_check_method=pass_all
6164 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6165 lt_cv_file_magic_cmd='/usr/bin/file -L'
6166 lt_cv_file_magic_test_file=/shlib/libc.so
6170 # func_win32_libid is a shell function defined in ltmain.sh
6171 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6172 lt_cv_file_magic_cmd='func_win32_libid'
6176 # Base MSYS/MinGW do not provide the 'file' command needed by
6177 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6178 # unless we find 'file', for example because we are cross-compiling.
6179 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6180 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6181 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6182 lt_cv_file_magic_cmd='func_win32_libid'
6184 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6185 lt_cv_file_magic_cmd='$OBJDUMP -f'
6190 # use the weaker test based on 'objdump'. See mingw*.
6191 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6192 lt_cv_file_magic_cmd='$OBJDUMP -f'
6195 darwin* | rhapsody*)
6196 lt_cv_deplibs_check_method=pass_all
6199 freebsd* | dragonfly*)
6200 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6203 # Not sure whether the presence of OpenBSD here was a mistake.
6204 # Let's accept both of them until this is cleared up.
6205 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6206 lt_cv_file_magic_cmd=/usr/bin/file
6207 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6211 lt_cv_deplibs_check_method=pass_all
6216 lt_cv_deplibs_check_method=pass_all
6220 lt_cv_deplibs_check_method=pass_all
6223 hpux10.20* | hpux11*)
6224 lt_cv_file_magic_cmd=/usr/bin/file
6227 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6228 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6231 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]'
6232 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6235 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6236 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6242 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6243 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6246 irix5* | irix6* | nonstopux*)
6248 *-32|*"-32 ") libmagic=32-bit;;
6249 *-n32|*"-n32 ") libmagic=N32;;
6250 *-64|*"-64 ") libmagic=64-bit;;
6251 *) libmagic=never-match;;
6253 lt_cv_deplibs_check_method=pass_all
6256 # This must be Linux ELF.
6257 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6258 lt_cv_deplibs_check_method=pass_all
6262 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6263 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6265 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6270 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6271 lt_cv_file_magic_cmd=/usr/bin/file
6272 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6276 lt_cv_deplibs_check_method=pass_all
6280 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6283 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6287 osf3* | osf4* | osf5*)
6288 lt_cv_deplibs_check_method=pass_all
6292 lt_cv_deplibs_check_method=pass_all
6296 lt_cv_deplibs_check_method=pass_all
6299 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6300 lt_cv_deplibs_check_method=pass_all
6304 case $host_vendor in
6306 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]'
6307 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6310 lt_cv_deplibs_check_method=pass_all
6313 lt_cv_file_magic_cmd='/bin/file'
6314 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6317 lt_cv_file_magic_cmd='/bin/file'
6318 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6319 lt_cv_file_magic_test_file=/lib/libc.so
6322 lt_cv_deplibs_check_method=pass_all
6325 lt_cv_deplibs_check_method=pass_all
6331 lt_cv_deplibs_check_method=pass_all
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6337 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6338 file_magic_cmd=$lt_cv_file_magic_cmd
6339 deplibs_check_method=$lt_cv_deplibs_check_method
6340 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6353 if test -n "$ac_tool_prefix"; then
6354 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6355 set dummy ${ac_tool_prefix}ar; ac_word=$2
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6357 $as_echo_n "checking for $ac_word... " >&6; }
6358 if test "${ac_cv_prog_AR+set}" = set; then :
6359 $as_echo_n "(cached) " >&6
6361 if test -n "$AR"; then
6362 ac_cv_prog_AR="$AR" # Let the user override the test.
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371 ac_cv_prog_AR="${ac_tool_prefix}ar"
6372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 if test -n "$AR"; then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6384 $as_echo "$AR" >&6; }
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387 $as_echo "no" >&6; }
6392 if test -z "$ac_cv_prog_AR"; then
6394 # Extract the first word of "ar", so it can be a program name with args.
6395 set dummy ar; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397 $as_echo_n "checking for $ac_word... " >&6; }
6398 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6399 $as_echo_n "(cached) " >&6
6401 if test -n "$ac_ct_AR"; then
6402 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 ac_cv_prog_ac_ct_AR="ar"
6412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6422 if test -n "$ac_ct_AR"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6424 $as_echo "$ac_ct_AR" >&6; }
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 $as_echo "no" >&6; }
6430 if test "x$ac_ct_AR" = x; then
6433 case $cross_compiling:$ac_tool_warned in
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6437 ac_tool_warned=yes ;;
6445 test -z "$AR" && AR=ar
6446 test -z "$AR_FLAGS" && AR_FLAGS=cru
6458 if test -n "$ac_tool_prefix"; then
6459 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6460 set dummy ${ac_tool_prefix}strip; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if test "${ac_cv_prog_STRIP+set}" = set; then :
6464 $as_echo_n "(cached) " >&6
6466 if test -n "$STRIP"; then
6467 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 STRIP=$ac_cv_prog_STRIP
6487 if test -n "$STRIP"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6489 $as_echo "$STRIP" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6497 if test -z "$ac_cv_prog_STRIP"; then
6499 # Extract the first word of "strip", so it can be a program name with args.
6500 set dummy strip; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6504 $as_echo_n "(cached) " >&6
6506 if test -n "$ac_ct_STRIP"; then
6507 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_ac_ct_STRIP="strip"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6527 if test -n "$ac_ct_STRIP"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6529 $as_echo "$ac_ct_STRIP" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6535 if test "x$ac_ct_STRIP" = x; then
6538 case $cross_compiling:$ac_tool_warned in
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542 ac_tool_warned=yes ;;
6547 STRIP="$ac_cv_prog_STRIP"
6550 test -z "$STRIP" && STRIP=:
6557 if test -n "$ac_tool_prefix"; then
6558 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6559 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6563 $as_echo_n "(cached) " >&6
6565 if test -n "$RANLIB"; then
6566 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 RANLIB=$ac_cv_prog_RANLIB
6586 if test -n "$RANLIB"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6588 $as_echo "$RANLIB" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6596 if test -z "$ac_cv_prog_RANLIB"; then
6597 ac_ct_RANLIB=$RANLIB
6598 # Extract the first word of "ranlib", so it can be a program name with args.
6599 set dummy ranlib; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6603 $as_echo_n "(cached) " >&6
6605 if test -n "$ac_ct_RANLIB"; then
6606 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 test -z "$as_dir" && as_dir=.
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_ac_ct_RANLIB="ranlib"
6616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6626 if test -n "$ac_ct_RANLIB"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6628 $as_echo "$ac_ct_RANLIB" >&6; }
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6634 if test "x$ac_ct_RANLIB" = x; then
6637 case $cross_compiling:$ac_tool_warned in
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6641 ac_tool_warned=yes ;;
6643 RANLIB=$ac_ct_RANLIB
6646 RANLIB="$ac_cv_prog_RANLIB"
6649 test -z "$RANLIB" && RANLIB=:
6656 # Determine commands to create old-style static archives.
6657 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6658 old_postinstall_cmds='chmod 644 $oldlib'
6659 old_postuninstall_cmds=
6661 if test -n "$RANLIB"; then
6664 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6667 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6670 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6675 lock_old_archive_extraction=yes ;;
6677 lock_old_archive_extraction=no ;;
6718 # If no C compiler was specified, use CC.
6721 # If no C compiler flags were specified, use CFLAGS.
6722 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6724 # Allow CC to be a program name with arguments.
6728 # Check for command to grab the raw symbol name followed by C symbol from nm.
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6730 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6731 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6732 $as_echo_n "(cached) " >&6
6735 # These are sane defaults that work on at least a few old systems.
6736 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6738 # Character class describing NM global symbol codes.
6739 symcode='[BCDEGRST]'
6741 # Regexp to match symbols that can be accessed directly from C.
6742 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6744 # Define system-specific variables.
6749 cygwin* | mingw* | pw32* | cegcc*)
6750 symcode='[ABCDGISTW]'
6753 if test "$host_cpu" = ia64; then
6754 symcode='[ABCDEGRST]'
6758 symcode='[BCDEGRST]'
6761 symcode='[BCDEGQRST]'
6772 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6780 # If we're using GNU nm, then use its standard symbol codes.
6781 case `$NM -V 2>&1` in
6782 *GNU* | *'with BFD'*)
6783 symcode='[ABCDGIRSTW]' ;;
6786 # Transform an extracted symbol line into a proper C declaration.
6787 # Some systems (esp. on ia64) link data and code symbols differently,
6788 # so use this general approach.
6789 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6791 # Transform an extracted symbol line into symbol name and symbol address
6792 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6793 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'"
6795 # Handle CRLF in mingw tool chain
6799 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6803 # Try without a prefix underscore, then with it.
6804 for ac_symprfx in "" "_"; do
6806 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6807 symxfrm="\\1 $ac_symprfx\\2 \\2"
6809 # Write the raw and C identifiers.
6810 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6811 # Fake it for dumpbin and say T for any non-static function
6812 # and D for any global variable.
6813 # Also find C++ and __fastcall symbols from MSVC++,
6814 # which start with @ or ?.
6815 lt_cv_sys_global_symbol_pipe="$AWK '"\
6816 " {last_section=section; section=\$ 3};"\
6817 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6818 " \$ 0!~/External *\|/{next};"\
6819 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6820 " {if(hide[section]) next};"\
6821 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6822 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6823 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6824 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6825 " ' prfx=^$ac_symprfx"
6827 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6830 # Check to see that the pipe works correctly.
6834 cat > conftest.$ac_ext <<_LT_EOF
6839 void nm_test_func(void);
6840 void nm_test_func(void){}
6844 int main(){nm_test_var='a';nm_test_func();return(0);}
6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6848 (eval $ac_compile) 2>&5
6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6851 test $ac_status = 0; }; then
6852 # Now try to grab the symbols.
6854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6855 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858 test $ac_status = 0; } && test -s "$nlist"; then
6859 # Try sorting and uniquifying the output.
6860 if sort "$nlist" | uniq > "$nlist"T; then
6861 mv -f "$nlist"T "$nlist"
6866 # Make sure that we snagged all the symbols we need.
6867 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6868 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6869 cat <<_LT_EOF > conftest.$ac_ext
6875 # Now generate the symbol file.
6876 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6878 cat <<_LT_EOF >> conftest.$ac_ext
6880 /* The mapping between symbol names and symbols. */
6885 lt__PROGRAM__LTX_preloaded_symbols[] =
6887 { "@PROGRAM@", (void *) 0 },
6889 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6890 cat <<\_LT_EOF >> conftest.$ac_ext
6894 /* This works around a problem in FreeBSD linker */
6895 #ifdef FREEBSD_WORKAROUND
6896 static const void *lt_preloaded_setup() {
6897 return lt__PROGRAM__LTX_preloaded_symbols;
6905 # Now try linking the two files.
6906 mv conftest.$ac_objext conftstm.$ac_objext
6907 lt_save_LIBS="$LIBS"
6908 lt_save_CFLAGS="$CFLAGS"
6909 LIBS="conftstm.$ac_objext"
6910 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6912 (eval $ac_link) 2>&5
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6918 LIBS="$lt_save_LIBS"
6919 CFLAGS="$lt_save_CFLAGS"
6921 echo "cannot find nm_test_func in $nlist" >&5
6924 echo "cannot find nm_test_var in $nlist" >&5
6927 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6930 echo "$progname: failed program was:" >&5
6931 cat conftest.$ac_ext >&5
6933 rm -rf conftest* conftst*
6935 # Do not use the global_symbol_pipe unless it works.
6936 if test "$pipe_works" = yes; then
6939 lt_cv_sys_global_symbol_pipe=
6945 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6946 lt_cv_sys_global_symbol_to_cdecl=
6948 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6950 $as_echo "failed" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6953 $as_echo "ok" >&6; }
6977 # Check whether --enable-libtool-lock was given.
6978 if test "${enable_libtool_lock+set}" = set; then :
6979 enableval=$enable_libtool_lock;
6982 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6984 # Some flags need to be propagated to the compiler or linker for good
6988 # Find out which ABI we are using.
6989 echo 'int i;' > conftest.$ac_ext
6990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6991 (eval $ac_compile) 2>&5
6993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6994 test $ac_status = 0; }; then
6995 case `/usr/bin/file conftest.$ac_objext` in
7007 # Find out which ABI we are using.
7008 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7010 (eval $ac_compile) 2>&5
7012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7013 test $ac_status = 0; }; then
7014 if test "$lt_cv_prog_gnu_ld" = yes; then
7015 case `/usr/bin/file conftest.$ac_objext` in
7017 LD="${LD-ld} -melf32bsmip"
7020 LD="${LD-ld} -melf32bmipn32"
7023 LD="${LD-ld} -melf64bmip"
7027 case `/usr/bin/file conftest.$ac_objext` in
7043 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7044 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7045 # Find out which ABI we are using.
7046 echo 'int i;' > conftest.$ac_ext
7047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7048 (eval $ac_compile) 2>&5
7050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7051 test $ac_status = 0; }; then
7052 case `/usr/bin/file conftest.o` in
7055 x86_64-*kfreebsd*-gnu)
7056 LD="${LD-ld} -m elf_i386_fbsd"
7059 LD="${LD-ld} -m elf_i386"
7061 ppc64-*linux*|powerpc64-*linux*)
7062 LD="${LD-ld} -m elf32ppclinux"
7065 LD="${LD-ld} -m elf_s390"
7068 LD="${LD-ld} -m elf32_sparc"
7074 x86_64-*kfreebsd*-gnu)
7075 LD="${LD-ld} -m elf_x86_64_fbsd"
7078 LD="${LD-ld} -m elf_x86_64"
7080 ppc*-*linux*|powerpc*-*linux*)
7081 LD="${LD-ld} -m elf64ppc"
7083 s390*-*linux*|s390*-*tpf*)
7084 LD="${LD-ld} -m elf64_s390"
7087 LD="${LD-ld} -m elf64_sparc"
7097 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7098 SAVE_CFLAGS="$CFLAGS"
7099 CFLAGS="$CFLAGS -belf"
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7101 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7102 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7103 $as_echo_n "(cached) " >&6
7106 ac_cpp='$CPP $CPPFLAGS'
7107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7111 if test x$gcc_no_link = xyes; then
7112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7125 if ac_fn_c_try_link "$LINENO"; then :
7126 lt_cv_cc_needs_belf=yes
7128 lt_cv_cc_needs_belf=no
7130 rm -f core conftest.err conftest.$ac_objext \
7131 conftest$ac_exeext conftest.$ac_ext
7133 ac_cpp='$CPP $CPPFLAGS'
7134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7140 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7141 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7142 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7143 CFLAGS="$SAVE_CFLAGS"
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.o` in
7156 case $lt_cv_prog_gnu_ld in
7157 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7159 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7171 need_locks="$enable_libtool_lock"
7175 rhapsody* | darwin*)
7176 if test -n "$ac_tool_prefix"; then
7177 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7184 if test -n "$DSYMUTIL"; then
7185 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7205 if test -n "$DSYMUTIL"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7207 $as_echo "$DSYMUTIL" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7215 if test -z "$ac_cv_prog_DSYMUTIL"; then
7216 ac_ct_DSYMUTIL=$DSYMUTIL
7217 # Extract the first word of "dsymutil", so it can be a program name with args.
7218 set dummy dsymutil; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7222 $as_echo_n "(cached) " >&6
7224 if test -n "$ac_ct_DSYMUTIL"; then
7225 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7245 if test -n "$ac_ct_DSYMUTIL"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7247 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7253 if test "x$ac_ct_DSYMUTIL" = x; then
7256 case $cross_compiling:$ac_tool_warned in
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7260 ac_tool_warned=yes ;;
7262 DSYMUTIL=$ac_ct_DSYMUTIL
7265 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$NMEDIT"; then
7277 ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 NMEDIT=$ac_cv_prog_NMEDIT
7297 if test -n "$NMEDIT"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7299 $as_echo "$NMEDIT" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_NMEDIT"; then
7308 ac_ct_NMEDIT=$NMEDIT
7309 # Extract the first word of "nmedit", so it can be a program name with args.
7310 set dummy nmedit; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$ac_ct_NMEDIT"; then
7317 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7337 if test -n "$ac_ct_NMEDIT"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7339 $as_echo "$ac_ct_NMEDIT" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_NMEDIT" = x; then
7348 case $cross_compiling:$ac_tool_warned in
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7354 NMEDIT=$ac_ct_NMEDIT
7357 NMEDIT="$ac_cv_prog_NMEDIT"
7360 if test -n "$ac_tool_prefix"; then
7361 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}lipo; 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_LIPO+set}" = set; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$LIPO"; then
7369 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 LIPO=$ac_cv_prog_LIPO
7389 if test -n "$LIPO"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7391 $as_echo "$LIPO" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7399 if test -z "$ac_cv_prog_LIPO"; then
7401 # Extract the first word of "lipo", so it can be a program name with args.
7402 set dummy lipo; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$ac_ct_LIPO"; then
7409 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_ac_ct_LIPO="lipo"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7429 if test -n "$ac_ct_LIPO"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7431 $as_echo "$ac_ct_LIPO" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7437 if test "x$ac_ct_LIPO" = x; then
7440 case $cross_compiling:$ac_tool_warned in
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned=yes ;;
7449 LIPO="$ac_cv_prog_LIPO"
7452 if test -n "$ac_tool_prefix"; then
7453 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7454 set dummy ${ac_tool_prefix}otool; 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_OTOOL+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$OTOOL"; then
7461 ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 OTOOL=$ac_cv_prog_OTOOL
7481 if test -n "$OTOOL"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7483 $as_echo "$OTOOL" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7491 if test -z "$ac_cv_prog_OTOOL"; then
7493 # Extract the first word of "otool", so it can be a program name with args.
7494 set dummy otool; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7498 $as_echo_n "(cached) " >&6
7500 if test -n "$ac_ct_OTOOL"; then
7501 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7507 test -z "$as_dir" && as_dir=.
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7510 ac_cv_prog_ac_ct_OTOOL="otool"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7521 if test -n "$ac_ct_OTOOL"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7523 $as_echo "$ac_ct_OTOOL" >&6; }
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7529 if test "x$ac_ct_OTOOL" = x; then
7532 case $cross_compiling:$ac_tool_warned in
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7536 ac_tool_warned=yes ;;
7541 OTOOL="$ac_cv_prog_OTOOL"
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}otool64; 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_OTOOL64+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$OTOOL64"; then
7553 ac_cv_prog_OTOOL64="$OTOOL64" # 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_OTOOL64="${ac_tool_prefix}otool64"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 OTOOL64=$ac_cv_prog_OTOOL64
7573 if test -n "$OTOOL64"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7575 $as_echo "$OTOOL64" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_OTOOL64"; then
7584 ac_ct_OTOOL64=$OTOOL64
7585 # Extract the first word of "otool64", so it can be a program name with args.
7586 set dummy otool64; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$ac_ct_OTOOL64"; then
7593 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_ac_ct_OTOOL64="otool64"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7613 if test -n "$ac_ct_OTOOL64"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7615 $as_echo "$ac_ct_OTOOL64" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_OTOOL64" = x; then
7624 case $cross_compiling:$ac_tool_warned in
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7630 OTOOL64=$ac_ct_OTOOL64
7633 OTOOL64="$ac_cv_prog_OTOOL64"
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7663 $as_echo_n "checking for -single_module linker flag... " >&6; }
7664 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7665 $as_echo_n "(cached) " >&6
7667 lt_cv_apple_cc_single_mod=no
7668 if test -z "${LT_MULTI_MODULE}"; then
7669 # By default we will add the -single_module flag. You can override
7670 # by either setting the environment variable LT_MULTI_MODULE
7671 # non-empty at configure time, or by adding -multi_module to the
7673 rm -rf libconftest.dylib*
7674 echo "int foo(void){return 1;}" > conftest.c
7675 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7676 -dynamiclib -Wl,-single_module conftest.c" >&5
7677 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7678 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7680 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7681 lt_cv_apple_cc_single_mod=yes
7683 cat conftest.err >&5
7685 rm -rf libconftest.dylib*
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7690 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7692 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7693 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7696 lt_cv_ld_exported_symbols_list=no
7697 save_LDFLAGS=$LDFLAGS
7698 echo "_main" > conftest.sym
7699 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7700 if test x$gcc_no_link = xyes; then
7701 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7714 if ac_fn_c_try_link "$LINENO"; then :
7715 lt_cv_ld_exported_symbols_list=yes
7717 lt_cv_ld_exported_symbols_list=no
7719 rm -f core conftest.err conftest.$ac_objext \
7720 conftest$ac_exeext conftest.$ac_ext
7721 LDFLAGS="$save_LDFLAGS"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7725 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7727 $as_echo_n "checking for -force_load linker flag... " >&6; }
7728 if test "${lt_cv_ld_force_load+set}" = set; then :
7729 $as_echo_n "(cached) " >&6
7731 lt_cv_ld_force_load=no
7732 cat > conftest.c << _LT_EOF
7733 int forced_loaded() { return 2;}
7735 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7736 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7737 echo "$AR cru libconftest.a conftest.o" >&5
7738 $AR cru libconftest.a conftest.o 2>&5
7739 cat > conftest.c << _LT_EOF
7740 int main() { return 0;}
7742 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7743 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7745 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7746 lt_cv_ld_force_load=yes
7748 cat conftest.err >&5
7750 rm -f conftest.err libconftest.a conftest conftest.c
7751 rm -rf conftest.dSYM
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7755 $as_echo "$lt_cv_ld_force_load" >&6; }
7757 rhapsody* | darwin1.[012])
7758 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7760 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7761 darwin*) # darwin 5.x on
7762 # if running on 10.5 or later, the deployment target defaults
7763 # to the OS version, if on x86, and 10.4, the deployment
7764 # target defaults to 10.4. Don't you love it?
7765 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7766 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7767 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7769 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7771 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7775 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7776 _lt_dar_single_mod='$single_module'
7778 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7779 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7781 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7783 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7784 _lt_dsymutil='~$DSYMUTIL $lib || :'
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7792 $as_echo_n "checking for ANSI C header files... " >&6; }
7793 if test "${ac_cv_header_stdc+set}" = set; then :
7794 $as_echo_n "(cached) " >&6
7796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7797 /* end confdefs.h. */
7811 if ac_fn_c_try_compile "$LINENO"; then :
7812 ac_cv_header_stdc=yes
7814 ac_cv_header_stdc=no
7816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7818 if test $ac_cv_header_stdc = yes; then
7819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7826 $EGREP "memchr" >/dev/null 2>&1; then :
7829 ac_cv_header_stdc=no
7835 if test $ac_cv_header_stdc = yes; then
7836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7843 $EGREP "free" >/dev/null 2>&1; then :
7846 ac_cv_header_stdc=no
7852 if test $ac_cv_header_stdc = yes; then
7853 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7854 if test "$cross_compiling" = yes; then :
7857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7861 #if ((' ' & 0x0FF) == 0x020)
7862 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7863 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7865 # define ISLOWER(c) \
7866 (('a' <= (c) && (c) <= 'i') \
7867 || ('j' <= (c) && (c) <= 'r') \
7868 || ('s' <= (c) && (c) <= 'z'))
7869 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7872 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7877 for (i = 0; i < 256; i++)
7878 if (XOR (islower (i), ISLOWER (i))
7879 || toupper (i) != TOUPPER (i))
7884 if ac_fn_c_try_run "$LINENO"; then :
7887 ac_cv_header_stdc=no
7889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7890 conftest.$ac_objext conftest.beam conftest.$ac_ext
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7896 $as_echo "$ac_cv_header_stdc" >&6; }
7897 if test $ac_cv_header_stdc = yes; then
7899 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7903 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7904 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7905 inttypes.h stdint.h unistd.h
7907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7908 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7910 eval as_val=\$$as_ac_Header
7911 if test "x$as_val" = x""yes; then :
7912 cat >>confdefs.h <<_ACEOF
7913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7921 for ac_header in dlfcn.h
7923 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7925 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7926 cat >>confdefs.h <<_ACEOF
7927 #define HAVE_DLFCN_H 1
7947 # Check whether --enable-shared was given.
7948 if test "${enable_shared+set}" = set; then :
7949 enableval=$enable_shared; p=${PACKAGE-default}
7951 yes) enable_shared=yes ;;
7952 no) enable_shared=no ;;
7955 # Look at the argument we got. We use all the common list separators.
7956 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7957 for pkg in $enableval; do
7959 if test "X$pkg" = "X$p"; then
7978 # Check whether --enable-static was given.
7979 if test "${enable_static+set}" = set; then :
7980 enableval=$enable_static; p=${PACKAGE-default}
7982 yes) enable_static=yes ;;
7983 no) enable_static=no ;;
7986 # Look at the argument we got. We use all the common list separators.
7987 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7988 for pkg in $enableval; do
7990 if test "X$pkg" = "X$p"; then
8010 # Check whether --with-pic was given.
8011 if test "${with_pic+set}" = set; then :
8012 withval=$with_pic; pic_mode="$withval"
8018 test -z "$pic_mode" && pic_mode=default
8026 # Check whether --enable-fast-install was given.
8027 if test "${enable_fast_install+set}" = set; then :
8028 enableval=$enable_fast_install; p=${PACKAGE-default}
8030 yes) enable_fast_install=yes ;;
8031 no) enable_fast_install=no ;;
8033 enable_fast_install=no
8034 # Look at the argument we got. We use all the common list separators.
8035 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8036 for pkg in $enableval; do
8038 if test "X$pkg" = "X$p"; then
8039 enable_fast_install=yes
8046 enable_fast_install=yes
8059 # This can be used to rebuild libtool when needed
8060 LIBTOOL_DEPS="$ltmain"
8062 # Always use our own libtool.
8063 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8090 test -z "$LN_S" && LN_S="ln -s"
8105 if test -n "${ZSH_VERSION+set}" ; then
8106 setopt NO_GLOB_SUBST
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8110 $as_echo_n "checking for objdir... " >&6; }
8111 if test "${lt_cv_objdir+set}" = set; then :
8112 $as_echo_n "(cached) " >&6
8114 rm -f .libs 2>/dev/null
8115 mkdir .libs 2>/dev/null
8116 if test -d .libs; then
8119 # MS-DOS does not allow filenames that begin with a dot.
8122 rmdir .libs 2>/dev/null
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8125 $as_echo "$lt_cv_objdir" >&6; }
8126 objdir=$lt_cv_objdir
8132 cat >>confdefs.h <<_ACEOF
8133 #define LT_OBJDIR "$lt_cv_objdir/"
8141 # AIX sometimes has problems with the GCC collect2 program. For some
8142 # reason, if we set the COLLECT_NAMES environment variable, the problems
8143 # vanish in a puff of smoke.
8144 if test "X${COLLECT_NAMES+set}" != Xset; then
8146 export COLLECT_NAMES
8153 can_build_shared=yes
8155 # All known linkers require a `.a' archive for static linking (except MSVC,
8156 # which needs '.lib').
8159 with_gnu_ld="$lt_cv_prog_gnu_ld"
8162 old_CFLAGS="$CFLAGS"
8164 # Set sane defaults for various variables
8165 test -z "$CC" && CC=cc
8166 test -z "$LTCC" && LTCC=$CC
8167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8168 test -z "$LD" && LD=ld
8169 test -z "$ac_objext" && ac_objext=o
8171 for cc_temp in $compiler""; do
8173 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8174 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8179 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8182 # Only perform the check for file, if the check method requires it
8183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8184 case $deplibs_check_method in
8186 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8189 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8194 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8197 lt_save_MAGIC_CMD="$MAGIC_CMD"
8198 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8199 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8200 for ac_dir in $ac_dummy; do
8202 test -z "$ac_dir" && ac_dir=.
8203 if test -f $ac_dir/${ac_tool_prefix}file; then
8204 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8205 if test -n "$file_magic_test_file"; then
8206 case $deplibs_check_method in
8208 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8209 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8210 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8211 $EGREP "$file_magic_regex" > /dev/null; then
8216 *** Warning: the command libtool uses to detect shared libraries,
8217 *** $file_magic_cmd, produces output that libtool cannot recognize.
8218 *** The result is that libtool may fail to recognize shared libraries
8219 *** as such. This will affect the creation of libtool libraries that
8220 *** depend on shared libraries, but programs linked with such libtool
8221 *** libraries will work regardless of this problem. Nevertheless, you
8222 *** may want to report the problem to your system manager and/or to
8223 *** bug-libtool@gnu.org
8233 MAGIC_CMD="$lt_save_MAGIC_CMD"
8238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8239 if test -n "$MAGIC_CMD"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8241 $as_echo "$MAGIC_CMD" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8251 if test -z "$lt_cv_path_MAGIC_CMD"; then
8252 if test -n "$ac_tool_prefix"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8254 $as_echo_n "checking for file... " >&6; }
8255 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8256 $as_echo_n "(cached) " >&6
8260 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8263 lt_save_MAGIC_CMD="$MAGIC_CMD"
8264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8265 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8266 for ac_dir in $ac_dummy; do
8268 test -z "$ac_dir" && ac_dir=.
8269 if test -f $ac_dir/file; then
8270 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8271 if test -n "$file_magic_test_file"; then
8272 case $deplibs_check_method in
8274 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8275 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8276 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8277 $EGREP "$file_magic_regex" > /dev/null; then
8282 *** Warning: the command libtool uses to detect shared libraries,
8283 *** $file_magic_cmd, produces output that libtool cannot recognize.
8284 *** The result is that libtool may fail to recognize shared libraries
8285 *** as such. This will affect the creation of libtool libraries that
8286 *** depend on shared libraries, but programs linked with such libtool
8287 *** libraries will work regardless of this problem. Nevertheless, you
8288 *** may want to report the problem to your system manager and/or to
8289 *** bug-libtool@gnu.org
8299 MAGIC_CMD="$lt_save_MAGIC_CMD"
8304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8305 if test -n "$MAGIC_CMD"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8307 $as_echo "$MAGIC_CMD" >&6; }
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8323 # Use C for the default configuration in the libtool script
8327 ac_cpp='$CPP $CPPFLAGS'
8328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8333 # Source file extension for C test sources.
8336 # Object file extension for compiled C test sources.
8340 # Code to be used in simple compile tests
8341 lt_simple_compile_test_code="int some_variable = 0;"
8343 # Code to be used in simple link tests
8344 lt_simple_link_test_code='int main(){return(0);}'
8352 # If no C compiler was specified, use CC.
8355 # If no C compiler flags were specified, use CFLAGS.
8356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8358 # Allow CC to be a program name with arguments.
8361 # Save the default compiler, since it gets overwritten when the other
8362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8363 compiler_DEFAULT=$CC
8365 # save warnings/boilerplate of simple test code
8366 ac_outfile=conftest.$ac_objext
8367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8369 _lt_compiler_boilerplate=`cat conftest.err`
8372 ac_outfile=conftest.$ac_objext
8373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8375 _lt_linker_boilerplate=`cat conftest.err`
8380 ## There is no encapsulation within the following macros, do not change
8381 ## the running order or otherwise move them around unless you know exactly
8382 ## what you are doing...
8383 if test -n "$compiler"; then
8385 lt_prog_compiler_no_builtin_flag=
8387 if test "$GCC" = yes; then
8388 case $cc_basename in
8390 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8392 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8396 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8397 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8398 $as_echo_n "(cached) " >&6
8400 lt_cv_prog_compiler_rtti_exceptions=no
8401 ac_outfile=conftest.$ac_objext
8402 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8403 lt_compiler_flag="-fno-rtti -fno-exceptions"
8404 # Insert the option either (1) after the last *FLAGS variable, or
8405 # (2) before a word containing "conftest.", or (3) at the end.
8406 # Note that $ac_compile itself does not contain backslashes and begins
8407 # with a dollar sign (not a hyphen), so the echo should work correctly.
8408 # The option is referenced via a variable to avoid confusing sed.
8409 lt_compile=`echo "$ac_compile" | $SED \
8410 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8411 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8412 -e 's:$: $lt_compiler_flag:'`
8413 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8414 (eval "$lt_compile" 2>conftest.err)
8416 cat conftest.err >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 if (exit $ac_status) && test -s "$ac_outfile"; then
8419 # The compiler can only warn and ignore the option if not recognized
8420 # So say no if there are warnings other than the usual output.
8421 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8422 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8423 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8424 lt_cv_prog_compiler_rtti_exceptions=yes
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8431 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8433 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8434 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8446 lt_prog_compiler_wl=
8447 lt_prog_compiler_pic=
8448 lt_prog_compiler_static=
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8451 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8453 if test "$GCC" = yes; then
8454 lt_prog_compiler_wl='-Wl,'
8455 lt_prog_compiler_static='-static'
8459 # All AIX code is PIC.
8460 if test "$host_cpu" = ia64; then
8461 # AIX 5 now supports IA64 processor
8462 lt_prog_compiler_static='-Bstatic'
8469 # see comment about AmigaOS4 .so support
8470 lt_prog_compiler_pic='-fPIC'
8473 # FIXME: we need at least 68020 code to build shared libraries, but
8474 # adding the `-m68020' flag to GCC prevents building anything better,
8476 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8481 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8482 # PIC is the default for these OSes.
8485 mingw* | cygwin* | pw32* | os2* | cegcc*)
8486 # This hack is so that the source file can tell whether it is being
8487 # built for inclusion in a dll (and should export symbols for example).
8488 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8489 # (--disable-auto-import) libraries
8490 lt_prog_compiler_pic='-DDLL_EXPORT'
8493 darwin* | rhapsody*)
8494 # PIC is the default on this platform
8495 # Common symbols not allowed in MH_DYLIB files
8496 lt_prog_compiler_pic='-fno-common'
8500 # PIC is the default for Haiku.
8501 # The "-static" flag exists, but is broken.
8502 lt_prog_compiler_static=
8506 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8507 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8508 # sets the default TLS model and affects inlining.
8514 lt_prog_compiler_pic='-fPIC'
8520 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8521 # Instead, we relocate shared libraries at runtime.
8525 # Just because we use GCC doesn't mean we suddenly get shared libraries
8526 # on systems that don't support them.
8527 lt_prog_compiler_can_build_shared=no
8532 # QNX uses GNU C++, but need to define -shared option too, otherwise
8534 lt_prog_compiler_pic='-fPIC -shared'
8538 if test -d /usr/nec; then
8539 lt_prog_compiler_pic=-Kconform_pic
8544 lt_prog_compiler_pic='-fPIC'
8548 case $cc_basename in
8549 nvcc*) # Cuda Compiler Driver 2.2
8550 lt_prog_compiler_wl='-Xlinker '
8551 lt_prog_compiler_pic='-Xcompiler -fPIC'
8555 # PORTME Check for flag to pass linker flags through the system compiler.
8558 lt_prog_compiler_wl='-Wl,'
8559 if test "$host_cpu" = ia64; then
8560 # AIX 5 now supports IA64 processor
8561 lt_prog_compiler_static='-Bstatic'
8563 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8567 mingw* | cygwin* | pw32* | os2* | cegcc*)
8568 # This hack is so that the source file can tell whether it is being
8569 # built for inclusion in a dll (and should export symbols for example).
8570 lt_prog_compiler_pic='-DDLL_EXPORT'
8573 hpux9* | hpux10* | hpux11*)
8574 lt_prog_compiler_wl='-Wl,'
8575 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8582 lt_prog_compiler_pic='+Z'
8585 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8586 lt_prog_compiler_static='${wl}-a ${wl}archive'
8589 irix5* | irix6* | nonstopux*)
8590 lt_prog_compiler_wl='-Wl,'
8591 # PIC (with -KPIC) is the default.
8592 lt_prog_compiler_static='-non_shared'
8595 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8596 case $cc_basename in
8597 # old Intel for x86_64 which still supported -KPIC.
8599 lt_prog_compiler_wl='-Wl,'
8600 lt_prog_compiler_pic='-KPIC'
8601 lt_prog_compiler_static='-static'
8603 # icc used to be incompatible with GCC.
8604 # ICC 10 doesn't accept -KPIC any more.
8606 lt_prog_compiler_wl='-Wl,'
8607 lt_prog_compiler_pic='-fPIC'
8608 lt_prog_compiler_static='-static'
8610 # Lahey Fortran 8.1.
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_pic='--shared'
8614 lt_prog_compiler_static='--static'
8616 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8617 # Portland Group compilers (*not* the Pentium gcc compiler,
8618 # which looks to be a dead project)
8619 lt_prog_compiler_wl='-Wl,'
8620 lt_prog_compiler_pic='-fpic'
8621 lt_prog_compiler_static='-Bstatic'
8624 lt_prog_compiler_wl='-Wl,'
8625 # All Alpha code is PIC.
8626 lt_prog_compiler_static='-non_shared'
8628 xl* | bgxl* | bgf* | mpixl*)
8629 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8630 lt_prog_compiler_wl='-Wl,'
8631 lt_prog_compiler_pic='-qpic'
8632 lt_prog_compiler_static='-qstaticlink'
8635 case `$CC -V 2>&1 | sed 5q` in
8636 *Sun\ F* | *Sun*Fortran*)
8637 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8638 lt_prog_compiler_pic='-KPIC'
8639 lt_prog_compiler_static='-Bstatic'
8640 lt_prog_compiler_wl=''
8644 lt_prog_compiler_pic='-KPIC'
8645 lt_prog_compiler_static='-Bstatic'
8646 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-Bstatic'
8659 # QNX uses GNU C++, but need to define -shared option too, otherwise
8661 lt_prog_compiler_pic='-fPIC -shared'
8664 osf3* | osf4* | osf5*)
8665 lt_prog_compiler_wl='-Wl,'
8666 # All OSF/1 code is PIC.
8667 lt_prog_compiler_static='-non_shared'
8671 lt_prog_compiler_static='-non_shared'
8675 lt_prog_compiler_pic='-KPIC'
8676 lt_prog_compiler_static='-Bstatic'
8677 case $cc_basename in
8679 lt_prog_compiler_wl='-Qoption ld ';;
8681 lt_prog_compiler_wl='-Wl,';;
8686 lt_prog_compiler_wl='-Qoption ld '
8687 lt_prog_compiler_pic='-PIC'
8688 lt_prog_compiler_static='-Bstatic'
8691 sysv4 | sysv4.2uw2* | sysv4.3*)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8698 if test -d /usr/nec ;then
8699 lt_prog_compiler_pic='-Kconform_pic'
8700 lt_prog_compiler_static='-Bstatic'
8704 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_can_build_shared=no
8716 lt_prog_compiler_pic='-pic'
8717 lt_prog_compiler_static='-Bstatic'
8721 lt_prog_compiler_can_build_shared=no
8727 # For platforms which do not support PIC, -DPIC is meaningless:
8729 lt_prog_compiler_pic=
8732 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8736 $as_echo "$lt_prog_compiler_pic" >&6; }
8744 # Check to make sure the PIC flag actually works.
8746 if test -n "$lt_prog_compiler_pic"; then
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8748 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8749 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8750 $as_echo_n "(cached) " >&6
8752 lt_cv_prog_compiler_pic_works=no
8753 ac_outfile=conftest.$ac_objext
8754 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8755 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8756 # Insert the option either (1) after the last *FLAGS variable, or
8757 # (2) before a word containing "conftest.", or (3) at the end.
8758 # Note that $ac_compile itself does not contain backslashes and begins
8759 # with a dollar sign (not a hyphen), so the echo should work correctly.
8760 # The option is referenced via a variable to avoid confusing sed.
8761 lt_compile=`echo "$ac_compile" | $SED \
8762 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8763 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8764 -e 's:$: $lt_compiler_flag:'`
8765 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8766 (eval "$lt_compile" 2>conftest.err)
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 if (exit $ac_status) && test -s "$ac_outfile"; then
8771 # The compiler can only warn and ignore the option if not recognized
8772 # So say no if there are warnings other than the usual output.
8773 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8774 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8775 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8776 lt_cv_prog_compiler_pic_works=yes
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8783 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8785 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8786 case $lt_prog_compiler_pic in
8788 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8791 lt_prog_compiler_pic=
8792 lt_prog_compiler_can_build_shared=no
8803 # Check to make sure the static flag actually works.
8805 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8807 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8808 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8809 $as_echo_n "(cached) " >&6
8811 lt_cv_prog_compiler_static_works=no
8812 save_LDFLAGS="$LDFLAGS"
8813 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8814 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8815 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8816 # The linker can only warn and ignore the option if not recognized
8817 # So say no if there are warnings
8818 if test -s conftest.err; then
8819 # Append any errors to the config.log.
8820 cat conftest.err 1>&5
8821 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8823 if diff conftest.exp conftest.er2 >/dev/null; then
8824 lt_cv_prog_compiler_static_works=yes
8827 lt_cv_prog_compiler_static_works=yes
8831 LDFLAGS="$save_LDFLAGS"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8835 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8837 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8840 lt_prog_compiler_static=
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8850 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8851 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8852 $as_echo_n "(cached) " >&6
8854 lt_cv_prog_compiler_c_o=no
8855 $RM -r conftest 2>/dev/null
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8861 lt_compiler_flag="-o out/conftest2.$ac_objext"
8862 # Insert the option either (1) after the last *FLAGS variable, or
8863 # (2) before a word containing "conftest.", or (3) at the end.
8864 # Note that $ac_compile itself does not contain backslashes and begins
8865 # with a dollar sign (not a hyphen), so the echo should work correctly.
8866 lt_compile=`echo "$ac_compile" | $SED \
8867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869 -e 's:$: $lt_compiler_flag:'`
8870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871 (eval "$lt_compile" 2>out/conftest.err)
8873 cat out/conftest.err >&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8877 # The compiler can only warn and ignore the option if not recognized
8878 # So say no if there are warnings
8879 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8880 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8881 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8882 lt_cv_prog_compiler_c_o=yes
8887 # SGI C++ compiler will create directory out/ii_files/ for
8888 # template instantiation
8889 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8890 $RM out/* && rmdir out
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8897 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8907 $as_echo_n "(cached) " >&6
8909 lt_cv_prog_compiler_c_o=no
8910 $RM -r conftest 2>/dev/null
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8916 lt_compiler_flag="-o out/conftest2.$ac_objext"
8917 # Insert the option either (1) after the last *FLAGS variable, or
8918 # (2) before a word containing "conftest.", or (3) at the end.
8919 # Note that $ac_compile itself does not contain backslashes and begins
8920 # with a dollar sign (not a hyphen), so the echo should work correctly.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>out/conftest.err)
8928 cat out/conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8932 # The compiler can only warn and ignore the option if not recognized
8933 # So say no if there are warnings
8934 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8935 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8936 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8937 lt_cv_prog_compiler_c_o=yes
8942 # SGI C++ compiler will create directory out/ii_files/ for
8943 # template instantiation
8944 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8945 $RM out/* && rmdir out
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8957 hard_links="nottested"
8958 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8959 # do not overwrite the value of need_locks provided by the user
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8961 $as_echo_n "checking if we can lock with hard links... " >&6; }
8964 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8966 ln conftest.a conftest.b 2>&5 || hard_links=no
8967 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8969 $as_echo "$hard_links" >&6; }
8970 if test "$hard_links" = no; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8972 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8988 allow_undefined_flag=
8989 always_export_symbols=no
8991 archive_expsym_cmds=
8992 compiler_needs_object=no
8993 enable_shared_with_static_runtimes=no
8994 export_dynamic_flag_spec=
8995 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8996 hardcode_automatic=no
8998 hardcode_direct_absolute=no
8999 hardcode_libdir_flag_spec=
9000 hardcode_libdir_flag_spec_ld=
9001 hardcode_libdir_separator=
9003 hardcode_shlibpath_var=unsupported
9005 link_all_deplibs=unknown
9008 old_archive_from_new_cmds=
9009 old_archive_from_expsyms_cmds=
9010 thread_safe_flag_spec=
9011 whole_archive_flag_spec=
9012 # include_expsyms should be a list of space-separated symbols to be *always*
9013 # included in the symbol list
9015 # exclude_expsyms can be an extended regexp of symbols to exclude
9016 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9017 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9018 # as well as any symbol that contains `d'.
9019 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9020 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9021 # platforms (ab)use it in PIC code, but their linkers get confused if
9022 # the symbol is explicitly referenced. Since portable code cannot
9023 # rely on this symbol name, it's probably fine to never include it in
9024 # preloaded symbol tables.
9025 # Exclude shared library initialization/finalization symbols.
9026 extract_expsyms_cmds=
9029 cygwin* | mingw* | pw32* | cegcc*)
9030 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9031 # When not using gcc, we currently assume that we are using
9032 # Microsoft Visual C++.
9033 if test "$GCC" != yes; then
9038 # we just hope/assume this is gcc and not c89 (= MSVC++)
9048 # On some targets, GNU ld is compatible enough with the native linker
9049 # that we're better off using the native interface for both.
9050 lt_use_gnu_ld_interface=no
9051 if test "$with_gnu_ld" = yes; then
9054 # The AIX port of GNU ld has always aspired to compatibility
9055 # with the native linker. However, as the warning in the GNU ld
9056 # block says, versions before 2.19.5* couldn't really create working
9057 # shared libraries, regardless of the interface used.
9058 case `$LD -v 2>&1` in
9059 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9060 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9061 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9063 lt_use_gnu_ld_interface=yes
9068 lt_use_gnu_ld_interface=yes
9073 if test "$lt_use_gnu_ld_interface" = yes; then
9074 # If archive_cmds runs LD, not CC, wlarc should be empty
9077 # Set some defaults for GNU ld with shared library support. These
9078 # are reset later if shared libraries are not supported. Putting them
9079 # here allows them to be overridden if necessary.
9080 runpath_var=LD_RUN_PATH
9081 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9082 export_dynamic_flag_spec='${wl}--export-dynamic'
9083 # ancient GNU ld didn't support --whole-archive et. al.
9084 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9085 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9087 whole_archive_flag_spec=
9089 supports_anon_versioning=no
9090 case `$LD -v 2>&1` in
9091 *GNU\ gold*) supports_anon_versioning=yes ;;
9092 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9093 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9094 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9095 *\ 2.11.*) ;; # other 2.11 versions
9096 *) supports_anon_versioning=yes ;;
9099 # See if GNU ld supports shared libraries.
9102 # On AIX/PPC, the GNU linker is very broken
9103 if test "$host_cpu" != ia64; then
9107 *** Warning: the GNU linker, at least up to release 2.19, is reported
9108 *** to be unable to reliably create shared libraries on AIX.
9109 *** Therefore, libtool is disabling shared libraries support. If you
9110 *** really care for shared libraries, you may want to install binutils
9111 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9112 *** You will then need to restart the configuration process.
9121 # see comment about AmigaOS4 .so support
9122 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123 archive_expsym_cmds=''
9126 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)'
9127 hardcode_libdir_flag_spec='-L$libdir'
9128 hardcode_minus_L=yes
9134 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9135 allow_undefined_flag=unsupported
9136 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9137 # support --undefined. This deserves some investigation. FIXME
9138 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9144 cygwin* | mingw* | pw32* | cegcc*)
9145 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9146 # as there is no search path for DLLs.
9147 hardcode_libdir_flag_spec='-L$libdir'
9148 export_dynamic_flag_spec='${wl}--export-all-symbols'
9149 allow_undefined_flag=unsupported
9150 always_export_symbols=no
9151 enable_shared_with_static_runtimes=yes
9152 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9154 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9156 # If the export-symbols file already is a .def file (1st line
9157 # is EXPORTS), use it as is; otherwise, prepend...
9158 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9159 cp $export_symbols $output_objdir/$soname.def;
9161 echo EXPORTS > $output_objdir/$soname.def;
9162 cat $export_symbols >> $output_objdir/$soname.def;
9164 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9171 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9172 link_all_deplibs=yes
9177 hardcode_shlibpath_var=no
9178 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9179 export_dynamic_flag_spec='${wl}-E'
9180 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9181 # Instead, shared libraries are loaded at an image base (0x10000000 by
9182 # default) and relocated if they conflict, which is a slow very memory
9183 # consuming and fragmenting process. To avoid this, we pick a random,
9184 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9185 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9186 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9187 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'
9190 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9192 if test "$host_os" = linux-dietlibc; then
9193 case $cc_basename in
9194 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9197 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9198 && test "$tmp_diet" = no
9201 tmp_sharedflag='-shared'
9202 case $cc_basename,$host_cpu in
9203 pgcc*) # Portland Group C compiler
9204 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'
9205 tmp_addflag=' $pic_flag'
9207 pgf77* | pgf90* | pgf95* | pgfortran*)
9208 # Portland Group f77 and f90 compilers
9209 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'
9210 tmp_addflag=' $pic_flag -Mnomain' ;;
9211 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9212 tmp_addflag=' -i_dynamic' ;;
9213 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9214 tmp_addflag=' -i_dynamic -nofor_main' ;;
9215 ifc* | ifort*) # Intel Fortran compiler
9216 tmp_addflag=' -nofor_main' ;;
9217 lf95*) # Lahey Fortran 8.1
9218 whole_archive_flag_spec=
9219 tmp_sharedflag='--shared' ;;
9220 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9221 tmp_sharedflag='-qmkshrobj'
9223 nvcc*) # Cuda Compiler Driver 2.2
9224 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'
9225 compiler_needs_object=yes
9228 case `$CC -V 2>&1 | sed 5q` in
9229 *Sun\ C*) # Sun C 5.9
9230 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'
9231 compiler_needs_object=yes
9232 tmp_sharedflag='-G' ;;
9233 *Sun\ F*) # Sun Fortran 8.3
9234 tmp_sharedflag='-G' ;;
9236 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238 if test "x$supports_anon_versioning" = xyes; then
9239 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9240 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9241 echo "local: *; };" >> $output_objdir/$libname.ver~
9242 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9245 case $cc_basename in
9246 xlf* | bgf* | bgxlf* | mpixlf*)
9247 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9248 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9249 hardcode_libdir_flag_spec=
9250 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9251 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9252 if test "x$supports_anon_versioning" = xyes; then
9253 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9254 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9255 echo "local: *; };" >> $output_objdir/$libname.ver~
9256 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9266 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9267 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9270 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9276 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9280 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9281 *** create shared libraries on Solaris systems. Therefore, libtool
9282 *** is disabling shared libraries support. We urge you to upgrade GNU
9283 *** binutils to release 2.9.1 or newer. Another option is to modify
9284 *** your PATH or compiler configuration so that the native linker is
9285 *** used, and then restart.
9288 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9289 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9296 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9297 case `$LD -v 2>&1` in
9298 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9302 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9303 *** reliably create shared libraries on SCO systems. Therefore, libtool
9304 *** is disabling shared libraries support. We urge you to upgrade GNU
9305 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9306 *** your PATH or compiler configuration so that the native linker is
9307 *** used, and then restart.
9312 # For security reasons, it is highly recommended that you always
9313 # use absolute paths for naming shared libraries, and exclude the
9314 # DT_RUNPATH tag from executables and libraries. But doing so
9315 # requires that you compile everything twice, which is a pain.
9316 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9317 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9331 hardcode_shlibpath_var=no
9335 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9336 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9344 if test "$ld_shlibs" = no; then
9346 hardcode_libdir_flag_spec=
9347 export_dynamic_flag_spec=
9348 whole_archive_flag_spec=
9351 # PORTME fill in a description of your system's linker (not GNU ld)
9354 allow_undefined_flag=unsupported
9355 always_export_symbols=yes
9356 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'
9357 # Note: this linker hardcodes the directories in LIBPATH if there
9358 # are no directories specified by -L.
9359 hardcode_minus_L=yes
9360 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9361 # Neither direct hardcoding nor static linking is supported with a
9363 hardcode_direct=unsupported
9368 if test "$host_cpu" = ia64; then
9369 # On IA64, the linker does run time linking by default, so we don't
9370 # have to do anything special.
9371 aix_use_runtimelinking=no
9372 exp_sym_flag='-Bexport'
9375 # If we're using GNU nm, then we don't want the "-C" option.
9376 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9377 # Also, AIX nm treats weak defined symbols like other global
9378 # defined symbols, whereas GNU nm marks them as "W".
9379 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9380 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'
9382 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'
9384 aix_use_runtimelinking=no
9386 # Test if we are trying to use run time linking or normal
9387 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9388 # need to do runtime linking.
9389 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9390 for ld_flag in $LDFLAGS; do
9391 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9392 aix_use_runtimelinking=yes
9399 exp_sym_flag='-bexport'
9400 no_entry_flag='-bnoentry'
9403 # When large executables or shared objects are built, AIX ld can
9404 # have problems creating the table of contents. If linking a library
9405 # or program results in "error TOC overflow" add -mminimal-toc to
9406 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9407 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9411 hardcode_direct_absolute=yes
9412 hardcode_libdir_separator=':'
9413 link_all_deplibs=yes
9414 file_list_spec='${wl}-f,'
9416 if test "$GCC" = yes; then
9417 case $host_os in aix4.[012]|aix4.[012].*)
9418 # We only want to do this on AIX 4.2 and lower, the check
9419 # below for broken collect2 doesn't work under 4.3+
9420 collect2name=`${CC} -print-prog-name=collect2`
9421 if test -f "$collect2name" &&
9422 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9424 # We have reworked collect2
9427 # We have old collect2
9428 hardcode_direct=unsupported
9429 # It fails to find uninstalled libraries when the uninstalled
9430 # path is not listed in the libpath. Setting hardcode_minus_L
9431 # to unsupported forces relinking
9432 hardcode_minus_L=yes
9433 hardcode_libdir_flag_spec='-L$libdir'
9434 hardcode_libdir_separator=
9438 shared_flag='-shared'
9439 if test "$aix_use_runtimelinking" = yes; then
9440 shared_flag="$shared_flag "'${wl}-G'
9444 if test "$host_cpu" = ia64; then
9445 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9446 # chokes on -Wl,-G. The following line is correct:
9449 if test "$aix_use_runtimelinking" = yes; then
9450 shared_flag='${wl}-G'
9452 shared_flag='${wl}-bM:SRE'
9457 export_dynamic_flag_spec='${wl}-bexpall'
9458 # It seems that -bexpall does not export symbols beginning with
9459 # underscore (_), so it is better to generate a list of symbols to export.
9460 always_export_symbols=yes
9461 if test "$aix_use_runtimelinking" = yes; then
9462 # Warning - without using the other runtime loading flags (-brtl),
9463 # -berok will link without error, but may produce a broken library.
9464 allow_undefined_flag='-berok'
9465 # Determine the default libpath from the value encoded in an
9467 if test x$gcc_no_link = xyes; then
9468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9481 if ac_fn_c_try_link "$LINENO"; then :
9483 lt_aix_libpath_sed='
9484 /Import File Strings/,/^$/ {
9490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9491 # Check for a 64-bit object if we didn't find anything.
9492 if test -z "$aix_libpath"; then
9493 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9500 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9501 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"
9503 if test "$host_cpu" = ia64; then
9504 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9505 allow_undefined_flag="-z nodefs"
9506 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"
9508 # Determine the default libpath from the value encoded in an
9510 if test x$gcc_no_link = xyes; then
9511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9524 if ac_fn_c_try_link "$LINENO"; then :
9526 lt_aix_libpath_sed='
9527 /Import File Strings/,/^$/ {
9533 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534 # Check for a 64-bit object if we didn't find anything.
9535 if test -z "$aix_libpath"; then
9536 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9543 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9544 # Warning - without using the other run time loading flags,
9545 # -berok will link without error, but may produce a broken library.
9546 no_undefined_flag=' ${wl}-bernotok'
9547 allow_undefined_flag=' ${wl}-berok'
9548 if test "$with_gnu_ld" = yes; then
9549 # We only use this code for GNU lds that support --whole-archive.
9550 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9552 # Exported symbols can be pulled into shared objects from archives
9553 whole_archive_flag_spec='$convenience'
9555 archive_cmds_need_lc=yes
9556 # This is similar to how AIX traditionally builds its shared libraries.
9557 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'
9565 # see comment about AmigaOS4 .so support
9566 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9567 archive_expsym_cmds=''
9570 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)'
9571 hardcode_libdir_flag_spec='-L$libdir'
9572 hardcode_minus_L=yes
9578 export_dynamic_flag_spec=-rdynamic
9581 cygwin* | mingw* | pw32* | cegcc*)
9582 # When not using gcc, we currently assume that we are using
9583 # Microsoft Visual C++.
9584 # hardcode_libdir_flag_spec is actually meaningless, as there is
9585 # no search path for DLLs.
9586 hardcode_libdir_flag_spec=' '
9587 allow_undefined_flag=unsupported
9588 # Tell ltmain to make .lib files, not .a files.
9590 # Tell ltmain to make .dll files, not .so files.
9592 # FIXME: Setting linknames here is a bad hack.
9593 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9594 # The linker will automatically build a .lib file if we build a DLL.
9595 old_archive_from_new_cmds='true'
9596 # FIXME: Should let the user specify the lib program.
9597 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9598 fix_srcfile_path='`cygpath -w "$srcfile"`'
9599 enable_shared_with_static_runtimes=yes
9602 darwin* | rhapsody*)
9605 archive_cmds_need_lc=no
9607 hardcode_automatic=yes
9608 hardcode_shlibpath_var=unsupported
9609 if test "$lt_cv_ld_force_load" = "yes"; then
9610 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\"`'
9612 whole_archive_flag_spec=''
9614 link_all_deplibs=yes
9615 allow_undefined_flag="$_lt_dar_allow_undefined"
9616 case $cc_basename in
9617 ifort*) _lt_dar_can_shared=yes ;;
9618 *) _lt_dar_can_shared=$GCC ;;
9620 if test "$_lt_dar_can_shared" = "yes"; then
9621 output_verbose_link_cmd=func_echo_all
9622 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9623 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9624 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}"
9625 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}"
9634 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9635 hardcode_libdir_flag_spec='-L$libdir'
9636 hardcode_shlibpath_var=no
9643 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9644 # support. Future versions do this automatically, but an explicit c++rt0.o
9645 # does not break anything, and helps significantly (at the cost of a little
9648 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9649 hardcode_libdir_flag_spec='-R$libdir'
9651 hardcode_shlibpath_var=no
9654 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9656 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_minus_L=yes
9659 hardcode_shlibpath_var=no
9662 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9663 freebsd* | dragonfly*)
9664 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9665 hardcode_libdir_flag_spec='-R$libdir'
9667 hardcode_shlibpath_var=no
9671 if test "$GCC" = yes; then
9672 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'
9674 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'
9676 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9677 hardcode_libdir_separator=:
9680 # hardcode_minus_L: Not really in the search PATH,
9681 # but as the default location of the library.
9682 hardcode_minus_L=yes
9683 export_dynamic_flag_spec='${wl}-E'
9687 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9688 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9690 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9692 if test "$with_gnu_ld" = no; then
9693 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9694 hardcode_libdir_flag_spec_ld='+b $libdir'
9695 hardcode_libdir_separator=:
9697 hardcode_direct_absolute=yes
9698 export_dynamic_flag_spec='${wl}-E'
9699 # hardcode_minus_L: Not really in the search PATH,
9700 # but as the default location of the library.
9701 hardcode_minus_L=yes
9706 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9709 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9712 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9715 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9728 # Older versions of the 11.00 compiler do not understand -b yet
9729 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9731 $as_echo_n "checking if $CC understands -b... " >&6; }
9732 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9733 $as_echo_n "(cached) " >&6
9735 lt_cv_prog_compiler__b=no
9736 save_LDFLAGS="$LDFLAGS"
9737 LDFLAGS="$LDFLAGS -b"
9738 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9739 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9740 # The linker can only warn and ignore the option if not recognized
9741 # So say no if there are warnings
9742 if test -s conftest.err; then
9743 # Append any errors to the config.log.
9744 cat conftest.err 1>&5
9745 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9746 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9747 if diff conftest.exp conftest.er2 >/dev/null; then
9748 lt_cv_prog_compiler__b=yes
9751 lt_cv_prog_compiler__b=yes
9755 LDFLAGS="$save_LDFLAGS"
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9759 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9761 if test x"$lt_cv_prog_compiler__b" = xyes; then
9762 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9770 if test "$with_gnu_ld" = no; then
9771 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9772 hardcode_libdir_separator=:
9777 hardcode_shlibpath_var=no
9781 hardcode_direct_absolute=yes
9782 export_dynamic_flag_spec='${wl}-E'
9784 # hardcode_minus_L: Not really in the search PATH,
9785 # but as the default location of the library.
9786 hardcode_minus_L=yes
9792 irix5* | irix6* | nonstopux*)
9793 if test "$GCC" = yes; then
9794 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'
9795 # Try to use the -exported_symbol ld option, if it does not
9796 # work, assume that -exports_file does not work either and
9797 # implicitly export all symbols.
9798 save_LDFLAGS="$LDFLAGS"
9799 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9800 if test x$gcc_no_link = xyes; then
9801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9807 if ac_fn_c_try_link "$LINENO"; then :
9808 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'
9811 rm -f core conftest.err conftest.$ac_objext \
9812 conftest$ac_exeext conftest.$ac_ext
9813 LDFLAGS="$save_LDFLAGS"
9815 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'
9816 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'
9818 archive_cmds_need_lc='no'
9819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9820 hardcode_libdir_separator=:
9822 link_all_deplibs=yes
9826 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9827 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9829 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9831 hardcode_libdir_flag_spec='-R$libdir'
9833 hardcode_shlibpath_var=no
9837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9840 hardcode_libdir_separator=:
9841 hardcode_shlibpath_var=no
9848 if test -f /usr/libexec/ld.so; then
9850 hardcode_shlibpath_var=no
9851 hardcode_direct_absolute=yes
9852 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9853 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9855 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9856 export_dynamic_flag_spec='${wl}-E'
9859 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_libdir_flag_spec='-R$libdir'
9864 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9865 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9875 hardcode_libdir_flag_spec='-L$libdir'
9876 hardcode_minus_L=yes
9877 allow_undefined_flag=unsupported
9878 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'
9879 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9883 if test "$GCC" = yes; then
9884 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9885 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'
9887 allow_undefined_flag=' -expect_unresolved \*'
9888 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'
9890 archive_cmds_need_lc='no'
9891 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9892 hardcode_libdir_separator=:
9895 osf4* | osf5*) # as osf3* with the addition of -msym flag
9896 if test "$GCC" = yes; then
9897 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9898 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'
9899 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9901 allow_undefined_flag=' -expect_unresolved \*'
9902 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'
9903 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~
9904 $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'
9906 # Both c and cxx compiler support -rpath directly
9907 hardcode_libdir_flag_spec='-rpath $libdir'
9909 archive_cmds_need_lc='no'
9910 hardcode_libdir_separator=:
9914 no_undefined_flag=' -z defs'
9915 if test "$GCC" = yes; then
9917 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9919 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9921 case `$CC -V 2>&1` in
9924 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9925 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9926 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9930 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9931 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9932 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9936 hardcode_libdir_flag_spec='-R$libdir'
9937 hardcode_shlibpath_var=no
9939 solaris2.[0-5] | solaris2.[0-5].*) ;;
9941 # The compiler driver will combine and reorder linker options,
9942 # but understands `-z linker_flag'. GCC discards it without `$wl',
9943 # but is careful enough not to reorder.
9944 # Supported since Solaris 2.6 (maybe 2.5.1?)
9945 if test "$GCC" = yes; then
9946 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9948 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9952 link_all_deplibs=yes
9956 if test "x$host_vendor" = xsequent; then
9957 # Use $CC to link under sequent, because it throws in some extra .o
9958 # files that make .init and .fini sections work.
9959 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9963 hardcode_libdir_flag_spec='-L$libdir'
9965 hardcode_minus_L=yes
9966 hardcode_shlibpath_var=no
9970 case $host_vendor in
9972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973 hardcode_direct=yes # is this really true???
9976 ## LD is ld it makes a PLAMLIB
9977 ## CC just makes a GrossModule.
9978 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9979 reload_cmds='$CC -r -o $output$reload_objs'
9983 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9987 runpath_var='LD_RUN_PATH'
9988 hardcode_shlibpath_var=no
9992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9993 hardcode_shlibpath_var=no
9994 export_dynamic_flag_spec='-Bexport'
9998 if test -d /usr/nec; then
9999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 hardcode_shlibpath_var=no
10001 runpath_var=LD_RUN_PATH
10002 hardcode_runpath_var=yes
10007 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10008 no_undefined_flag='${wl}-z,text'
10009 archive_cmds_need_lc=no
10010 hardcode_shlibpath_var=no
10011 runpath_var='LD_RUN_PATH'
10013 if test "$GCC" = yes; then
10014 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 sysv5* | sco3.2v5* | sco5v6*)
10023 # Note: We can NOT use -z defs as we might desire, because we do not
10024 # link with -lc, and that would cause any symbols used from libc to
10025 # always be unresolved, which means just about no library would
10026 # ever link correctly. If we're not using GNU ld we use -z text
10027 # though, which does catch some bad symbols but isn't as heavy-handed
10029 no_undefined_flag='${wl}-z,text'
10030 allow_undefined_flag='${wl}-z,nodefs'
10031 archive_cmds_need_lc=no
10032 hardcode_shlibpath_var=no
10033 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10034 hardcode_libdir_separator=':'
10035 link_all_deplibs=yes
10036 export_dynamic_flag_spec='${wl}-Bexport'
10037 runpath_var='LD_RUN_PATH'
10039 if test "$GCC" = yes; then
10040 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_libdir_flag_spec='-L$libdir'
10051 hardcode_shlibpath_var=no
10059 if test x$host_vendor = xsni; then
10061 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10062 export_dynamic_flag_spec='${wl}-Blargedynsym'
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10069 $as_echo "$ld_shlibs" >&6; }
10070 test "$ld_shlibs" = no && can_build_shared=no
10072 with_gnu_ld=$with_gnu_ld
10089 # Do we need to explicitly link libc?
10091 case "x$archive_cmds_need_lc" in
10093 # Assume -lc should be added
10094 archive_cmds_need_lc=yes
10096 if test "$enable_shared" = yes && test "$GCC" = yes; then
10097 case $archive_cmds in
10099 # FIXME: we may have to deal with multi-command sequences.
10102 # Test whether the compiler implicitly links with -lc since on some
10103 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10104 # to ld, don't add -lc before -lgcc.
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10106 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10107 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10108 $as_echo_n "(cached) " >&6
10111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10114 (eval $ac_compile) 2>&5
10116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10117 test $ac_status = 0; } 2>conftest.err; then
10120 libobjs=conftest.$ac_objext
10122 wl=$lt_prog_compiler_wl
10123 pic_flag=$lt_prog_compiler_pic
10129 lt_save_allow_undefined_flag=$allow_undefined_flag
10130 allow_undefined_flag=
10131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10132 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135 test $ac_status = 0; }
10137 lt_cv_archive_cmds_need_lc=no
10139 lt_cv_archive_cmds_need_lc=yes
10141 allow_undefined_flag=$lt_save_allow_undefined_flag
10143 cat conftest.err 1>&5
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10149 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10150 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10314 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10316 if test "$GCC" = yes; then
10318 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10319 *) lt_awk_arg="/^libraries:/" ;;
10322 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10323 *) lt_sed_strip_eq="s,=/,/,g" ;;
10325 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10326 case $lt_search_path_spec in
10328 # if the path contains ";" then we assume it to be the separator
10329 # otherwise default to the standard path separator (i.e. ":") - it is
10330 # assumed that no part of a normal pathname contains ";" but that should
10331 # okay in the real world where ";" in dirpaths is itself problematic.
10332 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10335 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10338 # Ok, now we have the path, separated by spaces, we can step through it
10339 # and add multilib dir if necessary.
10340 lt_tmp_lt_search_path_spec=
10341 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10342 for lt_sys_path in $lt_search_path_spec; do
10343 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10344 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10346 test -d "$lt_sys_path" && \
10347 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10350 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10351 BEGIN {RS=" "; FS="/|\n";} {
10354 for (lt_i = NF; lt_i > 0; lt_i--) {
10355 if ($lt_i != "" && $lt_i != ".") {
10356 if ($lt_i == "..") {
10359 if (lt_count == 0) {
10360 lt_foo="/" $lt_i lt_foo;
10367 if (lt_foo != "") { lt_freq[lt_foo]++; }
10368 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10370 # AWK program above erroneously prepends '/' to C:/dos/paths
10373 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10374 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10376 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10378 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10380 library_names_spec=
10381 libname_spec='lib$name'
10385 postuninstall_cmds=
10389 shlibpath_overrides_runpath=unknown
10391 dynamic_linker="$host_os ld.so"
10392 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10393 need_lib_prefix=unknown
10394 hardcode_into_libs=no
10396 # when you set need_version to no, make sure it does not cause -set_version
10397 # flags to be left without arguments
10398 need_version=unknown
10403 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10404 shlibpath_var=LIBPATH
10406 # AIX 3 has no versioning support, so we append a major version to the name.
10407 soname_spec='${libname}${release}${shared_ext}$major'
10414 hardcode_into_libs=yes
10415 if test "$host_cpu" = ia64; then
10416 # AIX 5 supports IA64
10417 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10418 shlibpath_var=LD_LIBRARY_PATH
10420 # With GCC up to 2.95.x, collect2 would create an import file
10421 # for dependence libraries. The import file would start with
10422 # the line `#! .'. This would cause the generated library to
10423 # depend on `.', always an invalid library. This was fixed in
10424 # development snapshots of GCC prior to 3.0.
10426 aix4 | aix4.[01] | aix4.[01].*)
10427 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10429 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10432 can_build_shared=no
10436 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10437 # soname into executable. Probably we can add versioning support to
10438 # collect2, so additional links can be useful in future.
10439 if test "$aix_use_runtimelinking" = yes; then
10440 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10441 # instead of lib<name>.a to let people know that these are not
10442 # typical AIX shared libraries.
10443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 # We preserve .a as extension for shared libraries through AIX4.2
10446 # and later when we are not doing run time linking.
10447 library_names_spec='${libname}${release}.a $libname.a'
10448 soname_spec='${libname}${release}${shared_ext}$major'
10450 shlibpath_var=LIBPATH
10457 # Since July 2007 AmigaOS4 officially supports .so libraries.
10458 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 library_names_spec='$libname.ixlibrary $libname.a'
10463 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10464 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'
10470 library_names_spec='${libname}${shared_ext}'
10471 dynamic_linker="$host_os ld.so"
10472 shlibpath_var=LIBRARY_PATH
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10479 soname_spec='${libname}${release}${shared_ext}$major'
10480 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10481 shlibpath_var=LD_LIBRARY_PATH
10482 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10483 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10484 # the default ld.so.conf also contains /usr/contrib/lib and
10485 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10486 # libtool to hard-code these into programs
10489 cygwin* | mingw* | pw32* | cegcc*)
10490 version_type=windows
10495 case $GCC,$host_os in
10496 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10497 library_names_spec='$libname.dll.a'
10498 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10499 postinstall_cmds='base_file=`basename \${file}`~
10500 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10501 dldir=$destdir/`dirname \$dlpath`~
10502 test -d \$dldir || mkdir -p \$dldir~
10503 $install_prog $dir/$dlname \$dldir/$dlname~
10504 chmod a+x \$dldir/$dlname~
10505 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10506 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10508 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10509 dlpath=$dir/\$dldll~
10511 shlibpath_overrides_runpath=yes
10515 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10516 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10518 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10521 # MinGW DLLs use traditional 'lib' prefix
10522 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10525 # pw32 DLLs use 'pw' prefix rather than 'lib'
10526 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10532 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10535 dynamic_linker='Win32 ld.exe'
10536 # FIXME: first we should search . and the directory the executable is in
10540 darwin* | rhapsody*)
10541 dynamic_linker="$host_os dyld"
10542 version_type=darwin
10545 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10546 soname_spec='${libname}${release}${major}$shared_ext'
10547 shlibpath_overrides_runpath=yes
10548 shlibpath_var=DYLD_LIBRARY_PATH
10549 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10551 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10552 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10560 soname_spec='${libname}${release}${shared_ext}$major'
10561 shlibpath_var=LD_LIBRARY_PATH
10568 freebsd* | dragonfly*)
10569 # DragonFly does not have aout. When/if they implement a new
10570 # versioning mechanism, adjust this.
10571 if test -x /usr/bin/objformat; then
10572 objformat=`/usr/bin/objformat`
10575 freebsd[123]*) objformat=aout ;;
10576 *) objformat=elf ;;
10579 version_type=freebsd-$objformat
10580 case $version_type in
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10591 shlibpath_var=LD_LIBRARY_PATH
10594 shlibpath_overrides_runpath=yes
10596 freebsd3.[01]* | freebsdelf3.[01]*)
10597 shlibpath_overrides_runpath=yes
10598 hardcode_into_libs=yes
10600 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10601 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10602 shlibpath_overrides_runpath=no
10603 hardcode_into_libs=yes
10605 *) # from 4.6 on, and DragonFly
10606 shlibpath_overrides_runpath=yes
10607 hardcode_into_libs=yes
10616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10618 shlibpath_var=LD_LIBRARY_PATH
10619 hardcode_into_libs=yes
10626 dynamic_linker="$host_os runtime_loader"
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10628 soname_spec='${libname}${release}${shared_ext}$major'
10629 shlibpath_var=LIBRARY_PATH
10630 shlibpath_overrides_runpath=yes
10631 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10632 hardcode_into_libs=yes
10635 hpux9* | hpux10* | hpux11*)
10636 # Give a soname corresponding to the major version so that dld.sl refuses to
10637 # link against other versions.
10644 hardcode_into_libs=yes
10645 dynamic_linker="$host_os dld.so"
10646 shlibpath_var=LD_LIBRARY_PATH
10647 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec='${libname}${release}${shared_ext}$major'
10650 if test "X$HPUX_IA64_MODE" = X32; then
10651 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10653 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10655 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10659 hardcode_into_libs=yes
10660 dynamic_linker="$host_os dld.sl"
10661 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10662 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10666 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10670 dynamic_linker="$host_os dld.sl"
10671 shlibpath_var=SHLIB_PATH
10672 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10677 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10678 postinstall_cmds='chmod 555 $lib'
10679 # or fails outright, so override atomically:
10680 install_override_mode=555
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10690 shlibpath_var=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath=no
10692 hardcode_into_libs=yes
10695 irix5* | irix6* | nonstopux*)
10697 nonstopux*) version_type=nonstopux ;;
10699 if test "$lt_cv_prog_gnu_ld" = yes; then
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10710 irix5* | nonstopux*)
10711 libsuff= shlibsuff=
10714 case $LD in # libtool.m4 will add one of these switches to LD
10715 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10716 libsuff= shlibsuff= libmagic=32-bit;;
10717 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10718 libsuff=32 shlibsuff=N32 libmagic=N32;;
10719 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10720 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10721 *) libsuff= shlibsuff= libmagic=never-match;;
10725 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10726 shlibpath_overrides_runpath=no
10727 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10728 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10729 hardcode_into_libs=yes
10732 # No shared lib support for Linux oldld, aout, or coff.
10733 linux*oldld* | linux*aout* | linux*coff*)
10737 # This must be Linux ELF.
10738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=no
10748 # Some binutils ld are patched to set DT_RUNPATH
10749 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10750 $as_echo_n "(cached) " >&6
10752 lt_cv_shlibpath_overrides_runpath=no
10753 save_LDFLAGS=$LDFLAGS
10754 save_libdir=$libdir
10755 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10756 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10757 if test x$gcc_no_link = xyes; then
10758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10773 lt_cv_shlibpath_overrides_runpath=yes
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LDFLAGS=$save_LDFLAGS
10779 libdir=$save_libdir
10783 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10785 # This implies no fast_install, which is unacceptable.
10786 # Some rework will be needed to allow for fast_install
10787 # before this can be enabled.
10788 hardcode_into_libs=yes
10790 # Append ld.so.conf contents to the search path
10791 if test -f /etc/ld.so.conf; then
10792 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' ' '`
10793 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10796 # We used to test for /lib/ld.so.1 and disable shared libraries on
10797 # powerpc, because MkLinux only supported shared libraries with the
10798 # GNU dynamic linker. Since this was broken with cross compilers,
10799 # most powerpc-linux boxes support dynamic linking these days and
10800 # people can always --disable-shared, the test was removed, and we
10801 # assume the GNU/Linux dynamic linker is in use.
10802 dynamic_linker='GNU/Linux ld.so'
10809 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10811 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10812 dynamic_linker='NetBSD (a.out) ld.so'
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 dynamic_linker='NetBSD ld.elf_so'
10818 shlibpath_var=LD_LIBRARY_PATH
10819 shlibpath_overrides_runpath=yes
10820 hardcode_into_libs=yes
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath=yes
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 shlibpath_var=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath=no
10838 hardcode_into_libs=yes
10839 dynamic_linker='ldqnx.so'
10844 sys_lib_dlsearch_path_spec="/usr/lib"
10846 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10848 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10849 *) need_version=no ;;
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10856 openbsd2.[89] | openbsd2.[89].*)
10857 shlibpath_overrides_runpath=no
10860 shlibpath_overrides_runpath=yes
10864 shlibpath_overrides_runpath=yes
10869 libname_spec='$name'
10872 library_names_spec='$libname${shared_ext} $libname.a'
10873 dynamic_linker='OS/2 ld.exe'
10874 shlibpath_var=LIBPATH
10877 osf3* | osf4* | osf5*)
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10885 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=yes
10900 hardcode_into_libs=yes
10901 # ldd complains unless libraries are executable
10902 postinstall_cmds='chmod +x $lib'
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=yes
10911 if test "$with_gnu_ld" = yes; then
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 case $host_vendor in
10924 shlibpath_overrides_runpath=no
10926 runpath_var=LD_RUN_PATH
10934 shlibpath_overrides_runpath=no
10935 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10941 if test -d /usr/nec ;then
10943 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10944 soname_spec='$libname${shared_ext}.$major'
10945 shlibpath_var=LD_LIBRARY_PATH
10949 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10950 version_type=freebsd-elf
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10954 soname_spec='${libname}${release}${shared_ext}$major'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 hardcode_into_libs=yes
10958 if test "$with_gnu_ld" = yes; then
10959 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10961 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10964 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10968 sys_lib_dlsearch_path_spec='/usr/lib'
10972 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 shlibpath_var=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath=no
10979 hardcode_into_libs=yes
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 soname_spec='${libname}${release}${shared_ext}$major'
10986 shlibpath_var=LD_LIBRARY_PATH
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10994 $as_echo "$dynamic_linker" >&6; }
10995 test "$dynamic_linker" = no && can_build_shared=no
10997 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10998 if test "$GCC" = yes; then
10999 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11002 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11003 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11005 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11006 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11101 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11103 if test -n "$hardcode_libdir_flag_spec" ||
11104 test -n "$runpath_var" ||
11105 test "X$hardcode_automatic" = "Xyes" ; then
11107 # We can hardcode non-existent directories.
11108 if test "$hardcode_direct" != no &&
11109 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11110 # have to relink, otherwise we might link with an installed library
11111 # when we should be linking with a yet-to-be-installed one
11112 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11113 test "$hardcode_minus_L" != no; then
11114 # Linking always hardcodes the temporary library directory.
11115 hardcode_action=relink
11117 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11118 hardcode_action=immediate
11121 # We cannot hardcode anything, or else we can only hardcode existing
11123 hardcode_action=unsupported
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11126 $as_echo "$hardcode_action" >&6; }
11128 if test "$hardcode_action" = relink ||
11129 test "$inherit_rpath" = yes; then
11130 # Fast installation is not supported
11131 enable_fast_install=no
11132 elif test "$shlibpath_overrides_runpath" = yes ||
11133 test "$enable_shared" = no; then
11134 # Fast installation is not necessary
11135 enable_fast_install=needless
11143 if test "x$enable_dlopen" != xyes; then
11144 enable_dlopen=unknown
11145 enable_dlopen_self=unknown
11146 enable_dlopen_self_static=unknown
11153 lt_cv_dlopen="load_add_on"
11155 lt_cv_dlopen_self=yes
11158 mingw* | pw32* | cegcc*)
11159 lt_cv_dlopen="LoadLibrary"
11164 lt_cv_dlopen="dlopen"
11169 # if libdl is installed we need to link against it
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11171 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11173 $as_echo_n "(cached) " >&6
11175 ac_check_lib_save_LIBS=$LIBS
11177 if test x$gcc_no_link = xyes; then
11178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11198 if ac_fn_c_try_link "$LINENO"; then :
11199 ac_cv_lib_dl_dlopen=yes
11201 ac_cv_lib_dl_dlopen=no
11203 rm -f core conftest.err conftest.$ac_objext \
11204 conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11209 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11210 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11213 lt_cv_dlopen="dyld"
11215 lt_cv_dlopen_self=yes
11222 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11223 if test "x$ac_cv_func_shl_load" = x""yes; then :
11224 lt_cv_dlopen="shl_load"
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11227 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11228 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11229 $as_echo_n "(cached) " >&6
11231 ac_check_lib_save_LIBS=$LIBS
11233 if test x$gcc_no_link = xyes; then
11234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11249 return shl_load ();
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_dld_shl_load=yes
11257 ac_cv_lib_dld_shl_load=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11264 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11265 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11266 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11268 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11269 if test "x$ac_cv_func_dlopen" = x""yes; then :
11270 lt_cv_dlopen="dlopen"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11273 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11274 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_lib_save_LIBS=$LIBS
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dl_dlopen=yes
11303 ac_cv_lib_dl_dlopen=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11310 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11311 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11312 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11315 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11316 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11317 $as_echo_n "(cached) " >&6
11319 ac_check_lib_save_LIBS=$LIBS
11320 LIBS="-lsvld $LIBS"
11321 if test x$gcc_no_link = xyes; then
11322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11327 /* Override any GCC internal prototype to avoid an error.
11328 Use char because int might match the return type of a GCC
11329 builtin and then its argument prototype would still apply. */
11342 if ac_fn_c_try_link "$LINENO"; then :
11343 ac_cv_lib_svld_dlopen=yes
11345 ac_cv_lib_svld_dlopen=no
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11352 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11353 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11357 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11358 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11361 ac_check_lib_save_LIBS=$LIBS
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11379 return dld_link ();
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dld_dld_link=yes
11387 ac_cv_lib_dld_dld_link=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11394 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11395 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11396 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11417 if test "x$lt_cv_dlopen" != xno; then
11423 case $lt_cv_dlopen in
11425 save_CPPFLAGS="$CPPFLAGS"
11426 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11428 save_LDFLAGS="$LDFLAGS"
11429 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11432 LIBS="$lt_cv_dlopen_libs $LIBS"
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11435 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11436 if test "${lt_cv_dlopen_self+set}" = set; then :
11437 $as_echo_n "(cached) " >&6
11439 if test "$cross_compiling" = yes; then :
11440 lt_cv_dlopen_self=cross
11442 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11443 lt_status=$lt_dlunknown
11444 cat > conftest.$ac_ext <<_LT_EOF
11445 #line 11445 "configure"
11446 #include "confdefs.h"
11455 # define LT_DLGLOBAL RTLD_GLOBAL
11458 # define LT_DLGLOBAL DL_GLOBAL
11460 # define LT_DLGLOBAL 0
11464 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11465 find out it does not work in some platform. */
11466 #ifndef LT_DLLAZY_OR_NOW
11468 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11471 # define LT_DLLAZY_OR_NOW DL_LAZY
11474 # define LT_DLLAZY_OR_NOW RTLD_NOW
11477 # define LT_DLLAZY_OR_NOW DL_NOW
11479 # define LT_DLLAZY_OR_NOW 0
11486 /* When -fvisbility=hidden is used, assume the code has been annotated
11487 correspondingly for the symbols needed. */
11488 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11489 void fnord () __attribute__((visibility("default")));
11492 void fnord () { int i=42; }
11495 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11496 int status = $lt_dlunknown;
11500 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11503 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11504 else puts (dlerror ());
11506 /* dlclose (self); */
11514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11515 (eval $ac_link) 2>&5
11517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11518 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11519 (./conftest; exit; ) >&5 2>/dev/null
11521 case x$lt_status in
11522 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11523 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11524 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11527 # compilation failed
11528 lt_cv_dlopen_self=no
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11536 $as_echo "$lt_cv_dlopen_self" >&6; }
11538 if test "x$lt_cv_dlopen_self" = xyes; then
11539 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11541 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11542 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11543 $as_echo_n "(cached) " >&6
11545 if test "$cross_compiling" = yes; then :
11546 lt_cv_dlopen_self_static=cross
11548 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11549 lt_status=$lt_dlunknown
11550 cat > conftest.$ac_ext <<_LT_EOF
11551 #line 11551 "configure"
11552 #include "confdefs.h"
11561 # define LT_DLGLOBAL RTLD_GLOBAL
11564 # define LT_DLGLOBAL DL_GLOBAL
11566 # define LT_DLGLOBAL 0
11570 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11571 find out it does not work in some platform. */
11572 #ifndef LT_DLLAZY_OR_NOW
11574 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11577 # define LT_DLLAZY_OR_NOW DL_LAZY
11580 # define LT_DLLAZY_OR_NOW RTLD_NOW
11583 # define LT_DLLAZY_OR_NOW DL_NOW
11585 # define LT_DLLAZY_OR_NOW 0
11592 /* When -fvisbility=hidden is used, assume the code has been annotated
11593 correspondingly for the symbols needed. */
11594 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11595 void fnord () __attribute__((visibility("default")));
11598 void fnord () { int i=42; }
11601 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11602 int status = $lt_dlunknown;
11606 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11609 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11610 else puts (dlerror ());
11612 /* dlclose (self); */
11620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11621 (eval $ac_link) 2>&5
11623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11624 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11625 (./conftest; exit; ) >&5 2>/dev/null
11627 case x$lt_status in
11628 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11629 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11630 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11633 # compilation failed
11634 lt_cv_dlopen_self_static=no
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11642 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11645 CPPFLAGS="$save_CPPFLAGS"
11646 LDFLAGS="$save_LDFLAGS"
11651 case $lt_cv_dlopen_self in
11652 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11653 *) enable_dlopen_self=unknown ;;
11656 case $lt_cv_dlopen_self_static in
11657 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11658 *) enable_dlopen_self_static=unknown ;;
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11681 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11682 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11683 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11684 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11686 $as_echo "yes" >&6; }
11688 # FIXME - insert some real tests, host_os isn't really good enough
11691 if test -n "$STRIP" ; then
11692 striplib="$STRIP -x"
11693 old_striplib="$STRIP -S"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11695 $as_echo "yes" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11703 $as_echo "no" >&6; }
11719 # Report which library types will actually be built
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11721 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11723 $as_echo "$can_build_shared" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11726 $as_echo_n "checking whether to build shared libraries... " >&6; }
11727 test "$can_build_shared" = "no" && enable_shared=no
11729 # On AIX, shared libraries and static libraries use the same namespace, and
11730 # are all built from PIC.
11733 test "$enable_shared" = yes && enable_static=no
11734 if test -n "$RANLIB"; then
11735 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11736 postinstall_cmds='$RANLIB $lib'
11741 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11742 test "$enable_shared" = yes && enable_static=no
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11747 $as_echo "$enable_shared" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11750 $as_echo_n "checking whether to build static libraries... " >&6; }
11751 # Make sure either enable_shared or enable_static is yes.
11752 test "$enable_shared" = yes || enable_static=yes
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11754 $as_echo "$enable_static" >&6; }
11761 ac_cpp='$CPP $CPPFLAGS'
11762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11768 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11769 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11770 (test "X$CXX" != "Xg++"))) ; then
11772 ac_cpp='$CXXCPP $CPPFLAGS'
11773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11777 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11778 if test -z "$CXXCPP"; then
11779 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11780 $as_echo_n "(cached) " >&6
11782 # Double quotes because CXXCPP needs to be expanded
11783 for CXXCPP in "$CXX -E" "/lib/cpp"
11785 ac_preproc_ok=false
11786 for ac_cxx_preproc_warn_flag in '' yes
11788 # Use a header file that comes with gcc, so configuring glibc
11789 # with a fresh cross-compiler works.
11790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11791 # <limits.h> exists even on freestanding compilers.
11792 # On the NeXT, cc -E runs the code through the compiler's parser,
11793 # not just through cpp. "Syntax error" is here to catch this case.
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 # include <limits.h>
11799 # include <assert.h>
11803 if ac_fn_cxx_try_cpp "$LINENO"; then :
11806 # Broken: fails on valid input.
11809 rm -f conftest.err conftest.$ac_ext
11811 # OK, works on sane cases. Now check whether nonexistent headers
11812 # can be detected and how.
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 #include <ac_nonexistent.h>
11817 if ac_fn_cxx_try_cpp "$LINENO"; then :
11818 # Broken: success on invalid input.
11821 # Passes both tests.
11825 rm -f conftest.err conftest.$ac_ext
11828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11829 rm -f conftest.err conftest.$ac_ext
11830 if $ac_preproc_ok; then :
11835 ac_cv_prog_CXXCPP=$CXXCPP
11838 CXXCPP=$ac_cv_prog_CXXCPP
11840 ac_cv_prog_CXXCPP=$CXXCPP
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11843 $as_echo "$CXXCPP" >&6; }
11844 ac_preproc_ok=false
11845 for ac_cxx_preproc_warn_flag in '' yes
11847 # Use a header file that comes with gcc, so configuring glibc
11848 # with a fresh cross-compiler works.
11849 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11850 # <limits.h> exists even on freestanding compilers.
11851 # On the NeXT, cc -E runs the code through the compiler's parser,
11852 # not just through cpp. "Syntax error" is here to catch this case.
11853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11856 # include <limits.h>
11858 # include <assert.h>
11862 if ac_fn_cxx_try_cpp "$LINENO"; then :
11865 # Broken: fails on valid input.
11868 rm -f conftest.err conftest.$ac_ext
11870 # OK, works on sane cases. Now check whether nonexistent headers
11871 # can be detected and how.
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 #include <ac_nonexistent.h>
11876 if ac_fn_cxx_try_cpp "$LINENO"; then :
11877 # Broken: success on invalid input.
11880 # Passes both tests.
11884 rm -f conftest.err conftest.$ac_ext
11887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11888 rm -f conftest.err conftest.$ac_ext
11889 if $ac_preproc_ok; then :
11892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11894 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11895 See \`config.log' for more details." "$LINENO" 5; }
11899 ac_cpp='$CPP $CPPFLAGS'
11900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11905 _lt_caught_CXX_error=yes
11909 ac_cpp='$CXXCPP $CPPFLAGS'
11910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11914 archive_cmds_need_lc_CXX=no
11915 allow_undefined_flag_CXX=
11916 always_export_symbols_CXX=no
11917 archive_expsym_cmds_CXX=
11918 compiler_needs_object_CXX=no
11919 export_dynamic_flag_spec_CXX=
11920 hardcode_direct_CXX=no
11921 hardcode_direct_absolute_CXX=no
11922 hardcode_libdir_flag_spec_CXX=
11923 hardcode_libdir_flag_spec_ld_CXX=
11924 hardcode_libdir_separator_CXX=
11925 hardcode_minus_L_CXX=no
11926 hardcode_shlibpath_var_CXX=unsupported
11927 hardcode_automatic_CXX=no
11928 inherit_rpath_CXX=no
11930 module_expsym_cmds_CXX=
11931 link_all_deplibs_CXX=unknown
11932 old_archive_cmds_CXX=$old_archive_cmds
11933 reload_flag_CXX=$reload_flag
11934 reload_cmds_CXX=$reload_cmds
11935 no_undefined_flag_CXX=
11936 whole_archive_flag_spec_CXX=
11937 enable_shared_with_static_runtimes_CXX=no
11939 # Source file extension for C++ test sources.
11942 # Object file extension for compiled C++ test sources.
11946 # No sense in running all these tests if we already determined that
11947 # the CXX compiler isn't working. Some variables (like enable_shared)
11948 # are currently assumed to apply to all compilers on this platform,
11949 # and will be corrupted by setting them based on a non-working compiler.
11950 if test "$_lt_caught_CXX_error" != yes; then
11951 # Code to be used in simple compile tests
11952 lt_simple_compile_test_code="int some_variable = 0;"
11954 # Code to be used in simple link tests
11955 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11957 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11964 # If no C compiler was specified, use CC.
11967 # If no C compiler flags were specified, use CFLAGS.
11968 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11970 # Allow CC to be a program name with arguments.
11974 # save warnings/boilerplate of simple test code
11975 ac_outfile=conftest.$ac_objext
11976 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11977 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11978 _lt_compiler_boilerplate=`cat conftest.err`
11981 ac_outfile=conftest.$ac_objext
11982 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11983 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11984 _lt_linker_boilerplate=`cat conftest.err`
11988 # Allow CC to be a program name with arguments.
11993 lt_save_with_gnu_ld=$with_gnu_ld
11994 lt_save_path_LD=$lt_cv_path_LD
11995 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11996 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11998 $as_unset lt_cv_prog_gnu_ld
12000 if test -n "${lt_cv_path_LDCXX+set}"; then
12001 lt_cv_path_LD=$lt_cv_path_LDCXX
12003 $as_unset lt_cv_path_LD
12005 test -z "${LDCXX+set}" || LD=$LDCXX
12009 for cc_temp in $compiler""; do
12011 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12012 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12017 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12020 if test -n "$compiler"; then
12021 # We don't want -fno-exception when compiling C++ code, so set the
12022 # no_builtin_flag separately
12023 if test "$GXX" = yes; then
12024 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12026 lt_prog_compiler_no_builtin_flag_CXX=
12029 if test "$GXX" = yes; then
12030 # Set up default GNU C++ configuration
12034 # Check whether --with-gnu-ld was given.
12035 if test "${with_gnu_ld+set}" = set; then :
12036 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12042 if test "$GCC" = yes; then
12043 # Check if gcc -print-prog-name=ld gives a path.
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12045 $as_echo_n "checking for ld used by $CC... " >&6; }
12048 # gcc leaves a trailing carriage return which upsets mingw
12049 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12051 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12054 # Accept absolute paths.
12056 re_direlt='/[^/][^/]*/\.\./'
12057 # Canonicalize the pathname of ld
12058 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12059 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12060 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12062 test -z "$LD" && LD="$ac_prog"
12065 # If it fails, then pretend we aren't using GCC.
12069 # If it is relative, then search for the first ld in PATH.
12070 with_gnu_ld=unknown
12073 elif test "$with_gnu_ld" = yes; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12075 $as_echo_n "checking for GNU ld... " >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12078 $as_echo_n "checking for non-GNU ld... " >&6; }
12080 if test "${lt_cv_path_LD+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12083 if test -z "$LD"; then
12084 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12085 for ac_dir in $PATH; do
12087 test -z "$ac_dir" && ac_dir=.
12088 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12089 lt_cv_path_LD="$ac_dir/$ac_prog"
12090 # Check to see if the program is GNU ld. I'd rather use --version,
12091 # but apparently some variants of GNU ld only accept -v.
12092 # Break only if it was the GNU/non-GNU ld that we prefer.
12093 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12094 *GNU* | *'with BFD'*)
12095 test "$with_gnu_ld" != no && break
12098 test "$with_gnu_ld" != yes && break
12105 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12109 LD="$lt_cv_path_LD"
12110 if test -n "$LD"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12112 $as_echo "$LD" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12117 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12119 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12120 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12121 $as_echo_n "(cached) " >&6
12123 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12124 case `$LD -v 2>&1 </dev/null` in
12125 *GNU* | *'with BFD'*)
12126 lt_cv_prog_gnu_ld=yes
12129 lt_cv_prog_gnu_ld=no
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12134 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12135 with_gnu_ld=$lt_cv_prog_gnu_ld
12143 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12144 # archiving commands below assume that GNU ld is being used.
12145 if test "$with_gnu_ld" = yes; then
12146 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12147 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'
12149 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12150 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12152 # If archive_cmds runs LD, not CC, wlarc should be empty
12153 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12154 # investigate it a little bit more. (MM)
12157 # ancient GNU ld didn't support --whole-archive et. al.
12158 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12159 $GREP 'no-whole-archive' > /dev/null; then
12160 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12162 whole_archive_flag_spec_CXX=
12168 # A generic and very simple default shared library creation
12169 # command for GNU C++ for the case where it uses the native
12170 # linker, instead of GNU ld. If possible, this setting should
12171 # overridden to take advantage of the native linker features on
12172 # the platform it is being used on.
12173 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12176 # Commands to make compiler produce verbose output that lists
12177 # what "hidden" libraries, object files and flags are used when
12178 # linking a shared library.
12179 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12187 # PORTME: fill in a description of your system's C++ link characteristics
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12189 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12193 # FIXME: insert proper C++ library support
12197 if test "$host_cpu" = ia64; then
12198 # On IA64, the linker does run time linking by default, so we don't
12199 # have to do anything special.
12200 aix_use_runtimelinking=no
12201 exp_sym_flag='-Bexport'
12204 aix_use_runtimelinking=no
12206 # Test if we are trying to use run time linking or normal
12207 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12208 # need to do runtime linking.
12209 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12210 for ld_flag in $LDFLAGS; do
12213 aix_use_runtimelinking=yes
12221 exp_sym_flag='-bexport'
12222 no_entry_flag='-bnoentry'
12225 # When large executables or shared objects are built, AIX ld can
12226 # have problems creating the table of contents. If linking a library
12227 # or program results in "error TOC overflow" add -mminimal-toc to
12228 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12229 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12231 archive_cmds_CXX=''
12232 hardcode_direct_CXX=yes
12233 hardcode_direct_absolute_CXX=yes
12234 hardcode_libdir_separator_CXX=':'
12235 link_all_deplibs_CXX=yes
12236 file_list_spec_CXX='${wl}-f,'
12238 if test "$GXX" = yes; then
12239 case $host_os in aix4.[012]|aix4.[012].*)
12240 # We only want to do this on AIX 4.2 and lower, the check
12241 # below for broken collect2 doesn't work under 4.3+
12242 collect2name=`${CC} -print-prog-name=collect2`
12243 if test -f "$collect2name" &&
12244 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12246 # We have reworked collect2
12249 # We have old collect2
12250 hardcode_direct_CXX=unsupported
12251 # It fails to find uninstalled libraries when the uninstalled
12252 # path is not listed in the libpath. Setting hardcode_minus_L
12253 # to unsupported forces relinking
12254 hardcode_minus_L_CXX=yes
12255 hardcode_libdir_flag_spec_CXX='-L$libdir'
12256 hardcode_libdir_separator_CXX=
12259 shared_flag='-shared'
12260 if test "$aix_use_runtimelinking" = yes; then
12261 shared_flag="$shared_flag "'${wl}-G'
12265 if test "$host_cpu" = ia64; then
12266 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12267 # chokes on -Wl,-G. The following line is correct:
12270 if test "$aix_use_runtimelinking" = yes; then
12271 shared_flag='${wl}-G'
12273 shared_flag='${wl}-bM:SRE'
12278 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12279 # It seems that -bexpall does not export symbols beginning with
12280 # underscore (_), so it is better to generate a list of symbols to
12282 always_export_symbols_CXX=yes
12283 if test "$aix_use_runtimelinking" = yes; then
12284 # Warning - without using the other runtime loading flags (-brtl),
12285 # -berok will link without error, but may produce a broken library.
12286 allow_undefined_flag_CXX='-berok'
12287 # Determine the default libpath from the value encoded in an empty
12289 if test x$gcc_no_link = xyes; then
12290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12303 if ac_fn_cxx_try_link "$LINENO"; then :
12305 lt_aix_libpath_sed='
12306 /Import File Strings/,/^$/ {
12312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12313 # Check for a 64-bit object if we didn't find anything.
12314 if test -z "$aix_libpath"; then
12315 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12322 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12324 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"
12326 if test "$host_cpu" = ia64; then
12327 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12328 allow_undefined_flag_CXX="-z nodefs"
12329 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"
12331 # Determine the default libpath from the value encoded in an
12332 # empty executable.
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"
12367 # Warning - without using the other run time loading flags,
12368 # -berok will link without error, but may produce a broken library.
12369 no_undefined_flag_CXX=' ${wl}-bernotok'
12370 allow_undefined_flag_CXX=' ${wl}-berok'
12371 if test "$with_gnu_ld" = yes; then
12372 # We only use this code for GNU lds that support --whole-archive.
12373 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12375 # Exported symbols can be pulled into shared objects from archives
12376 whole_archive_flag_spec_CXX='$convenience'
12378 archive_cmds_need_lc_CXX=yes
12379 # This is similar to how AIX traditionally builds its shared
12381 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'
12387 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12388 allow_undefined_flag_CXX=unsupported
12389 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12390 # support --undefined. This deserves some investigation. FIXME
12391 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12398 case $cc_basename in
12400 # FIXME: insert proper C++ library support
12406 cygwin* | mingw* | pw32* | cegcc*)
12407 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12408 # as there is no search path for DLLs.
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12411 allow_undefined_flag_CXX=unsupported
12412 always_export_symbols_CXX=no
12413 enable_shared_with_static_runtimes_CXX=yes
12415 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12416 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'
12417 # If the export-symbols file already is a .def file (1st line
12418 # is EXPORTS), use it as is; otherwise, prepend...
12419 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12420 cp $export_symbols $output_objdir/$soname.def;
12422 echo EXPORTS > $output_objdir/$soname.def;
12423 cat $export_symbols >> $output_objdir/$soname.def;
12425 $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'
12430 darwin* | rhapsody*)
12433 archive_cmds_need_lc_CXX=no
12434 hardcode_direct_CXX=no
12435 hardcode_automatic_CXX=yes
12436 hardcode_shlibpath_var_CXX=unsupported
12437 if test "$lt_cv_ld_force_load" = "yes"; then
12438 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\"`'
12440 whole_archive_flag_spec_CXX=''
12442 link_all_deplibs_CXX=yes
12443 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12444 case $cc_basename in
12445 ifort*) _lt_dar_can_shared=yes ;;
12446 *) _lt_dar_can_shared=$GCC ;;
12448 if test "$_lt_dar_can_shared" = "yes"; then
12449 output_verbose_link_cmd=func_echo_all
12450 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}"
12451 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12452 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}"
12453 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}"
12454 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12455 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}"
12456 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}"
12466 case $cc_basename in
12468 # FIXME: insert proper C++ library support
12472 # Green Hills C++ Compiler
12473 # FIXME: insert proper C++ library support
12477 # FIXME: insert proper C++ library support
12484 # C++ shared libraries reported to be fairly broken before
12490 archive_cmds_need_lc_CXX=no
12493 freebsd* | dragonfly*)
12494 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12503 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12504 link_all_deplibs_CXX=yes
12508 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12509 hardcode_libdir_separator_CXX=:
12510 export_dynamic_flag_spec_CXX='${wl}-E'
12511 hardcode_direct_CXX=yes
12512 hardcode_minus_L_CXX=yes # Not in the search PATH,
12513 # but as the default
12514 # location of the library.
12516 case $cc_basename in
12518 # FIXME: insert proper C++ library support
12522 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'
12523 # Commands to make compiler produce verbose output that lists
12524 # what "hidden" libraries, object files and flags are used when
12525 # linking a shared library.
12527 # There doesn't appear to be a way to prevent this compiler from
12528 # explicitly linking system object files so we need to strip them
12529 # from the output so that they don't get included in the library
12531 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"'
12534 if test "$GXX" = yes; then
12535 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'
12537 # FIXME: insert proper C++ library support
12545 if test $with_gnu_ld = no; then
12546 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12547 hardcode_libdir_separator_CXX=:
12553 export_dynamic_flag_spec_CXX='${wl}-E'
12559 hardcode_direct_CXX=no
12560 hardcode_shlibpath_var_CXX=no
12563 hardcode_direct_CXX=yes
12564 hardcode_direct_absolute_CXX=yes
12565 hardcode_minus_L_CXX=yes # Not in the search PATH,
12566 # but as the default
12567 # location of the library.
12571 case $cc_basename in
12573 # FIXME: insert proper C++ library support
12579 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12582 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12585 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12588 # Commands to make compiler produce verbose output that lists
12589 # what "hidden" libraries, object files and flags are used when
12590 # linking a shared library.
12592 # There doesn't appear to be a way to prevent this compiler from
12593 # explicitly linking system object files so we need to strip them
12594 # from the output so that they don't get included in the library
12596 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"'
12599 if test "$GXX" = yes; then
12600 if test $with_gnu_ld = no; then
12603 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12606 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12609 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'
12614 # FIXME: insert proper C++ library support
12622 hardcode_direct_CXX=no
12623 hardcode_shlibpath_var_CXX=no
12624 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12625 export_dynamic_flag_spec_CXX='${wl}-E'
12626 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12627 # Instead, shared libraries are loaded at an image base (0x10000000 by
12628 # default) and relocated if they conflict, which is a slow very memory
12629 # consuming and fragmenting process. To avoid this, we pick a random,
12630 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12631 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12632 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'
12633 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'
12636 case $cc_basename in
12639 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'
12641 # Archives containing C++ object files must be created using
12642 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12643 # necessary to make sure instantiated templates are included
12645 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12648 if test "$GXX" = yes; then
12649 if test "$with_gnu_ld" = no; then
12650 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'
12652 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'
12655 link_all_deplibs_CXX=yes
12658 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12659 hardcode_libdir_separator_CXX=:
12660 inherit_rpath_CXX=yes
12663 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12664 case $cc_basename in
12666 # Kuck and Associates, Inc. (KAI) C++ Compiler
12668 # KCC will only create a shared library if the output file
12669 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12670 # to its proper name (with version) after linking.
12671 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'
12672 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'
12673 # Commands to make compiler produce verbose output that lists
12674 # what "hidden" libraries, object files and flags are used when
12675 # linking a shared library.
12677 # There doesn't appear to be a way to prevent this compiler from
12678 # explicitly linking system object files so we need to strip them
12679 # from the output so that they don't get included in the library
12681 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"'
12683 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12684 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12686 # Archives containing C++ object files must be created using
12687 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12688 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12693 # version 8.0 and above of icpc choke on multiply defined symbols
12694 # if we add $predep_objects and $postdep_objects, however 7.1 and
12695 # earlier do not add the objects themselves.
12696 case `$CC -V 2>&1` in
12698 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12699 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'
12701 *) # Version 8.0 or newer
12704 ia64*) tmp_idyn=' -i_dynamic';;
12706 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12707 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'
12710 archive_cmds_need_lc_CXX=no
12711 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12712 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12713 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12716 # Portland Group C++ compiler
12718 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12719 prelink_cmds_CXX='tpldir=Template.dir~
12721 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12722 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12723 old_archive_cmds_CXX='tpldir=Template.dir~
12725 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12726 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12728 archive_cmds_CXX='tpldir=Template.dir~
12730 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12731 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12732 archive_expsym_cmds_CXX='tpldir=Template.dir~
12734 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12735 $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'
12737 *) # Version 6 and above use weak symbols
12738 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12739 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'
12743 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12744 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12745 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'
12749 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750 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'
12752 runpath_var=LD_RUN_PATH
12753 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12754 hardcode_libdir_separator_CXX=:
12756 # Commands to make compiler produce verbose output that lists
12757 # what "hidden" libraries, object files and flags are used when
12758 # linking a shared library.
12760 # There doesn't appear to be a way to prevent this compiler from
12761 # explicitly linking system object files so we need to strip them
12762 # from the output so that they don't get included in the library
12764 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'
12766 xl* | mpixl* | bgxl*)
12767 # IBM XL 8.0 on PPC, with GNU ld
12768 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12769 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12771 if test "x$supports_anon_versioning" = xyes; then
12772 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12773 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12774 echo "local: *; };" >> $output_objdir/$libname.ver~
12775 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12779 case `$CC -V 2>&1 | sed 5q` in
12782 no_undefined_flag_CXX=' -zdefs'
12783 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12784 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'
12785 hardcode_libdir_flag_spec_CXX='-R$libdir'
12786 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'
12787 compiler_needs_object_CXX=yes
12789 # Not sure whether something based on
12790 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12792 output_verbose_link_cmd='func_echo_all'
12794 # Archives containing C++ object files must be created using
12795 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12796 # necessary to make sure instantiated templates are included
12798 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12806 # FIXME: insert proper C++ library support
12811 # FIXME: insert proper C++ library support
12816 case $cc_basename in
12818 # FIXME: insert proper C++ library support
12822 # FIXME: insert proper C++ library support
12829 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12830 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12832 hardcode_libdir_flag_spec_CXX='-R$libdir'
12833 hardcode_direct_CXX=yes
12834 hardcode_shlibpath_var_CXX=no
12836 # Workaround some broken pre-1.5 toolchains
12837 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12845 # C++ shared libraries are fairly broken
12850 if test -f /usr/libexec/ld.so; then
12851 hardcode_direct_CXX=yes
12852 hardcode_shlibpath_var_CXX=no
12853 hardcode_direct_absolute_CXX=yes
12854 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12855 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12856 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12857 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12858 export_dynamic_flag_spec_CXX='${wl}-E'
12859 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12861 output_verbose_link_cmd=func_echo_all
12867 osf3* | osf4* | osf5*)
12868 case $cc_basename in
12870 # Kuck and Associates, Inc. (KAI) C++ Compiler
12872 # KCC will only create a shared library if the output file
12873 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12874 # to its proper name (with version) after linking.
12875 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'
12877 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12878 hardcode_libdir_separator_CXX=:
12880 # Archives containing C++ object files must be created using
12881 # the KAI C++ compiler.
12883 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12884 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12888 # Rational C++ 2.4.1
12889 # FIXME: insert proper C++ library support
12895 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12896 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'
12897 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12900 allow_undefined_flag_CXX=' -expect_unresolved \*'
12901 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'
12902 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12903 echo "-hidden">> $lib.exp~
12904 $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~
12906 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12910 hardcode_libdir_separator_CXX=:
12912 # Commands to make compiler produce verbose output that lists
12913 # what "hidden" libraries, object files and flags are used when
12914 # linking a shared library.
12916 # There doesn't appear to be a way to prevent this compiler from
12917 # explicitly linking system object files so we need to strip them
12918 # from the output so that they don't get included in the library
12920 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"'
12923 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12924 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12927 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'
12930 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'
12934 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12935 hardcode_libdir_separator_CXX=:
12937 # Commands to make compiler produce verbose output that lists
12938 # what "hidden" libraries, object files and flags are used when
12939 # linking a shared library.
12940 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12943 # FIXME: insert proper C++ library support
12951 # FIXME: insert proper C++ library support
12956 case $cc_basename in
12959 # FIXME: insert proper C++ library support
12964 # FIXME: insert proper C++ library support
12968 # FIXME: insert proper C++ library support
12975 case $cc_basename in
12977 # Sun C++ 4.2, 5.x and Centerline C++
12978 archive_cmds_need_lc_CXX=yes
12979 no_undefined_flag_CXX=' -zdefs'
12980 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12981 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12982 $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'
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_shlibpath_var_CXX=no
12987 solaris2.[0-5] | solaris2.[0-5].*) ;;
12989 # The compiler driver will combine and reorder linker options,
12990 # but understands `-z linker_flag'.
12991 # Supported since Solaris 2.6 (maybe 2.5.1?)
12992 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12995 link_all_deplibs_CXX=yes
12997 output_verbose_link_cmd='func_echo_all'
12999 # Archives containing C++ object files must be created using
13000 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13001 # necessary to make sure instantiated templates are included
13003 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13006 # Green Hills C++ Compiler
13007 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13009 # The C++ compiler must be used to create the archive.
13010 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13013 # GNU C++ compiler with Solaris linker
13014 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13015 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13016 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13017 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13018 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13019 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13026 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13028 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13029 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13030 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13032 # Commands to make compiler produce verbose output that lists
13033 # what "hidden" libraries, object files and flags are used when
13034 # linking a shared library.
13035 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13038 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13040 solaris2.[0-5] | solaris2.[0-5].*) ;;
13042 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13050 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13051 no_undefined_flag_CXX='${wl}-z,text'
13052 archive_cmds_need_lc_CXX=no
13053 hardcode_shlibpath_var_CXX=no
13054 runpath_var='LD_RUN_PATH'
13056 case $cc_basename in
13058 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13062 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13068 sysv5* | sco3.2v5* | sco5v6*)
13069 # Note: We can NOT use -z defs as we might desire, because we do not
13070 # link with -lc, and that would cause any symbols used from libc to
13071 # always be unresolved, which means just about no library would
13072 # ever link correctly. If we're not using GNU ld we use -z text
13073 # though, which does catch some bad symbols but isn't as heavy-handed
13075 no_undefined_flag_CXX='${wl}-z,text'
13076 allow_undefined_flag_CXX='${wl}-z,nodefs'
13077 archive_cmds_need_lc_CXX=no
13078 hardcode_shlibpath_var_CXX=no
13079 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13080 hardcode_libdir_separator_CXX=':'
13081 link_all_deplibs_CXX=yes
13082 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13083 runpath_var='LD_RUN_PATH'
13085 case $cc_basename in
13087 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13090 '"$old_archive_cmds_CXX"
13091 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13092 '"$reload_cmds_CXX"
13095 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 case $cc_basename in
13104 # NonStop-UX NCC 3.20
13105 # FIXME: insert proper C++ library support
13109 # FIXME: insert proper C++ library support
13116 # FIXME: insert proper C++ library support
13121 # FIXME: insert proper C++ library support
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13127 $as_echo "$ld_shlibs_CXX" >&6; }
13128 test "$ld_shlibs_CXX" = no && can_build_shared=no
13134 ## There is no encapsulation within the following macros, do not change
13135 ## the running order or otherwise move them around unless you know exactly
13136 ## what you are doing...
13137 # Dependencies to place before and after the object being linked:
13138 predep_objects_CXX=
13139 postdep_objects_CXX=
13142 compiler_lib_search_path_CXX=
13144 cat > conftest.$ac_ext <<_LT_EOF
13148 Foo (void) { a = 0; }
13154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13155 (eval $ac_compile) 2>&5
13157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13158 test $ac_status = 0; }; then
13159 # Parse the compiler output and extract the necessary
13160 # objects, libraries and library flags.
13162 # Sentinel used to keep track of whether or not we are before
13163 # the conftest object file.
13164 pre_test_object_deps_done=no
13166 for p in `eval "$output_verbose_link_cmd"`; do
13170 # Some compilers place space between "-{L,R}" and the path.
13171 # Remove the space.
13172 if test $p = "-L" ||
13173 test $p = "-R"; then
13180 if test "$pre_test_object_deps_done" = no; then
13183 # Internal compiler library paths should come after those
13184 # provided the user. The postdeps already come after the
13185 # user supplied libs so there is no need to process them.
13186 if test -z "$compiler_lib_search_path_CXX"; then
13187 compiler_lib_search_path_CXX="${prev}${p}"
13189 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13192 # The "-l" case would never come before the object being
13193 # linked, so don't bother handling this case.
13196 if test -z "$postdeps_CXX"; then
13197 postdeps_CXX="${prev}${p}"
13199 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13205 # This assumes that the test object file only shows up
13206 # once in the compiler output.
13207 if test "$p" = "conftest.$objext"; then
13208 pre_test_object_deps_done=yes
13212 if test "$pre_test_object_deps_done" = no; then
13213 if test -z "$predep_objects_CXX"; then
13214 predep_objects_CXX="$p"
13216 predep_objects_CXX="$predep_objects_CXX $p"
13219 if test -z "$postdep_objects_CXX"; then
13220 postdep_objects_CXX="$p"
13222 postdep_objects_CXX="$postdep_objects_CXX $p"
13227 *) ;; # Ignore the rest.
13235 echo "libtool.m4: error: problem compiling CXX test program"
13238 $RM -f confest.$objext
13240 # PORTME: override above test on systems where it is broken
13243 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13244 # hack all around it, let's just trust "g++" to DTRT.
13245 predep_objects_CXX=
13246 postdep_objects_CXX=
13251 case `$CC -V 2>&1 | sed 5q` in
13255 # The more standards-conforming stlport4 library is
13256 # incompatible with the Cstd library. Avoid specifying
13257 # it if it's in CXXFLAGS. Ignore libCrun as
13258 # -library=stlport4 depends on it.
13259 case " $CXX $CXXFLAGS " in
13260 *" -library=stlport4 "*)
13261 solaris_use_stlport4=yes
13265 if test "$solaris_use_stlport4" != yes; then
13266 postdeps_CXX='-library=Cstd -library=Crun'
13273 case $cc_basename in
13275 # The more standards-conforming stlport4 library is
13276 # incompatible with the Cstd library. Avoid specifying
13277 # it if it's in CXXFLAGS. Ignore libCrun as
13278 # -library=stlport4 depends on it.
13279 case " $CXX $CXXFLAGS " in
13280 *" -library=stlport4 "*)
13281 solaris_use_stlport4=yes
13285 # Adding this requires a known-good setup of shared libraries for
13286 # Sun compiler versions before 5.6, else PIC objects from an old
13287 # archive will be linked into the output, leading to subtle bugs.
13288 if test "$solaris_use_stlport4" != yes; then
13289 postdeps_CXX='-library=Cstd -library=Crun'
13297 case " $postdeps_CXX " in
13298 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13300 compiler_lib_search_dirs_CXX=
13301 if test -n "${compiler_lib_search_path_CXX}"; then
13302 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13335 lt_prog_compiler_wl_CXX=
13336 lt_prog_compiler_pic_CXX=
13337 lt_prog_compiler_static_CXX=
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13340 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13342 # C++ specific cases for pic, static, wl, etc.
13343 if test "$GXX" = yes; then
13344 lt_prog_compiler_wl_CXX='-Wl,'
13345 lt_prog_compiler_static_CXX='-static'
13349 # All AIX code is PIC.
13350 if test "$host_cpu" = ia64; then
13351 # AIX 5 now supports IA64 processor
13352 lt_prog_compiler_static_CXX='-Bstatic'
13359 # see comment about AmigaOS4 .so support
13360 lt_prog_compiler_pic_CXX='-fPIC'
13363 # FIXME: we need at least 68020 code to build shared libraries, but
13364 # adding the `-m68020' flag to GCC prevents building anything better,
13366 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13371 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13372 # PIC is the default for these OSes.
13374 mingw* | cygwin* | os2* | pw32* | cegcc*)
13375 # This hack is so that the source file can tell whether it is being
13376 # built for inclusion in a dll (and should export symbols for example).
13377 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13378 # (--disable-auto-import) libraries
13379 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13381 darwin* | rhapsody*)
13382 # PIC is the default on this platform
13383 # Common symbols not allowed in MH_DYLIB files
13384 lt_prog_compiler_pic_CXX='-fno-common'
13387 # DJGPP does not support shared libraries at all
13388 lt_prog_compiler_pic_CXX=
13391 # PIC is the default for Haiku.
13392 # The "-static" flag exists, but is broken.
13393 lt_prog_compiler_static_CXX=
13396 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13397 # Instead, we relocate shared libraries at runtime.
13400 if test -d /usr/nec; then
13401 lt_prog_compiler_pic_CXX=-Kconform_pic
13405 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13406 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13407 # sets the default TLS model and affects inlining.
13412 lt_prog_compiler_pic_CXX='-fPIC'
13417 # QNX uses GNU C++, but need to define -shared option too, otherwise
13418 # it will coredump.
13419 lt_prog_compiler_pic_CXX='-fPIC -shared'
13422 lt_prog_compiler_pic_CXX='-fPIC'
13428 # All AIX code is PIC.
13429 if test "$host_cpu" = ia64; then
13430 # AIX 5 now supports IA64 processor
13431 lt_prog_compiler_static_CXX='-Bstatic'
13433 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13437 case $cc_basename in
13439 # Green Hills C++ Compiler
13440 # _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"
13445 case $cc_basename in
13447 lt_prog_compiler_pic_CXX='-KPIC'
13450 # Green Hills C++ Compiler
13451 lt_prog_compiler_pic_CXX='-pic'
13457 freebsd* | dragonfly*)
13458 # FreeBSD uses GNU C++
13460 hpux9* | hpux10* | hpux11*)
13461 case $cc_basename in
13463 lt_prog_compiler_wl_CXX='-Wl,'
13464 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13465 if test "$host_cpu" != ia64; then
13466 lt_prog_compiler_pic_CXX='+Z'
13470 lt_prog_compiler_wl_CXX='-Wl,'
13471 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13477 lt_prog_compiler_pic_CXX='+Z'
13486 # This is c89, which is MS Visual C++ (no shared libs)
13487 # Anyone wants to do a port?
13489 irix5* | irix6* | nonstopux*)
13490 case $cc_basename in
13492 lt_prog_compiler_wl_CXX='-Wl,'
13493 lt_prog_compiler_static_CXX='-non_shared'
13494 # CC pic flag -KPIC is the default.
13500 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13501 case $cc_basename in
13504 lt_prog_compiler_wl_CXX='--backend -Wl,'
13505 lt_prog_compiler_pic_CXX='-fPIC'
13508 # old Intel C++ for x86_64 which still supported -KPIC.
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_pic_CXX='-KPIC'
13511 lt_prog_compiler_static_CXX='-static'
13514 # Intel C++, used to be incompatible with GCC.
13515 # ICC 10 doesn't accept -KPIC any more.
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_pic_CXX='-fPIC'
13518 lt_prog_compiler_static_CXX='-static'
13521 # Portland Group C++ compiler
13522 lt_prog_compiler_wl_CXX='-Wl,'
13523 lt_prog_compiler_pic_CXX='-fpic'
13524 lt_prog_compiler_static_CXX='-Bstatic'
13528 # Make sure the PIC flag is empty. It appears that all Alpha
13529 # Linux and Compaq Tru64 Unix objects are PIC.
13530 lt_prog_compiler_pic_CXX=
13531 lt_prog_compiler_static_CXX='-non_shared'
13533 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13534 # IBM XL 8.0, 9.0 on PPC and BlueGene
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_pic_CXX='-qpic'
13537 lt_prog_compiler_static_CXX='-qstaticlink'
13540 case `$CC -V 2>&1 | sed 5q` in
13543 lt_prog_compiler_pic_CXX='-KPIC'
13544 lt_prog_compiler_static_CXX='-Bstatic'
13545 lt_prog_compiler_wl_CXX='-Qoption ld '
13556 case $cc_basename in
13558 lt_prog_compiler_pic_CXX='-W c,exportall'
13567 # QNX uses GNU C++, but need to define -shared option too, otherwise
13568 # it will coredump.
13569 lt_prog_compiler_pic_CXX='-fPIC -shared'
13571 osf3* | osf4* | osf5*)
13572 case $cc_basename in
13574 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 # Rational C++ 2.4.1
13578 lt_prog_compiler_pic_CXX='-pic'
13581 # Digital/Compaq C++
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 # Make sure the PIC flag is empty. It appears that all Alpha
13584 # Linux and Compaq Tru64 Unix objects are PIC.
13585 lt_prog_compiler_pic_CXX=
13586 lt_prog_compiler_static_CXX='-non_shared'
13595 case $cc_basename in
13597 # Sun C++ 4.2, 5.x and Centerline C++
13598 lt_prog_compiler_pic_CXX='-KPIC'
13599 lt_prog_compiler_static_CXX='-Bstatic'
13600 lt_prog_compiler_wl_CXX='-Qoption ld '
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-PIC'
13611 case $cc_basename in
13614 lt_prog_compiler_pic_CXX='-pic'
13615 lt_prog_compiler_static_CXX='-Bstatic'
13619 lt_prog_compiler_pic_CXX='-pic'
13625 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13626 case $cc_basename in
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 lt_prog_compiler_pic_CXX='-KPIC'
13630 lt_prog_compiler_static_CXX='-Bstatic'
13635 case $cc_basename in
13637 # NonStop-UX NCC 3.20
13638 lt_prog_compiler_pic_CXX='-KPIC'
13647 lt_prog_compiler_can_build_shared_CXX=no
13653 # For platforms which do not support PIC, -DPIC is meaningless:
13655 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13662 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13667 # Check to make sure the PIC flag actually works.
13669 if test -n "$lt_prog_compiler_pic_CXX"; then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13671 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13672 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13673 $as_echo_n "(cached) " >&6
13675 lt_cv_prog_compiler_pic_works_CXX=no
13676 ac_outfile=conftest.$ac_objext
13677 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13678 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13679 # Insert the option either (1) after the last *FLAGS variable, or
13680 # (2) before a word containing "conftest.", or (3) at the end.
13681 # Note that $ac_compile itself does not contain backslashes and begins
13682 # with a dollar sign (not a hyphen), so the echo should work correctly.
13683 # The option is referenced via a variable to avoid confusing sed.
13684 lt_compile=`echo "$ac_compile" | $SED \
13685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13687 -e 's:$: $lt_compiler_flag:'`
13688 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13689 (eval "$lt_compile" 2>conftest.err)
13691 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 if (exit $ac_status) && test -s "$ac_outfile"; then
13694 # The compiler can only warn and ignore the option if not recognized
13695 # So say no if there are warnings other than the usual output.
13696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13697 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13698 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13699 lt_cv_prog_compiler_pic_works_CXX=yes
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13706 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13708 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13709 case $lt_prog_compiler_pic_CXX in
13711 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13714 lt_prog_compiler_pic_CXX=
13715 lt_prog_compiler_can_build_shared_CXX=no
13723 # Check to make sure the static flag actually works.
13725 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13727 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13728 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13729 $as_echo_n "(cached) " >&6
13731 lt_cv_prog_compiler_static_works_CXX=no
13732 save_LDFLAGS="$LDFLAGS"
13733 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13734 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13735 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13736 # The linker can only warn and ignore the option if not recognized
13737 # So say no if there are warnings
13738 if test -s conftest.err; then
13739 # Append any errors to the config.log.
13740 cat conftest.err 1>&5
13741 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743 if diff conftest.exp conftest.er2 >/dev/null; then
13744 lt_cv_prog_compiler_static_works_CXX=yes
13747 lt_cv_prog_compiler_static_works_CXX=yes
13751 LDFLAGS="$save_LDFLAGS"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13755 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13757 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13760 lt_prog_compiler_static_CXX=
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13767 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13768 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13769 $as_echo_n "(cached) " >&6
13771 lt_cv_prog_compiler_c_o_CXX=no
13772 $RM -r conftest 2>/dev/null
13776 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13778 lt_compiler_flag="-o out/conftest2.$ac_objext"
13779 # Insert the option either (1) after the last *FLAGS variable, or
13780 # (2) before a word containing "conftest.", or (3) at the end.
13781 # Note that $ac_compile itself does not contain backslashes and begins
13782 # with a dollar sign (not a hyphen), so the echo should work correctly.
13783 lt_compile=`echo "$ac_compile" | $SED \
13784 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13786 -e 's:$: $lt_compiler_flag:'`
13787 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13788 (eval "$lt_compile" 2>out/conftest.err)
13790 cat out/conftest.err >&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13794 # The compiler can only warn and ignore the option if not recognized
13795 # So say no if there are warnings
13796 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13797 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13798 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13799 lt_cv_prog_compiler_c_o_CXX=yes
13804 # SGI C++ compiler will create directory out/ii_files/ for
13805 # template instantiation
13806 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13807 $RM out/* && rmdir out
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13814 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13819 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13820 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13821 $as_echo_n "(cached) " >&6
13823 lt_cv_prog_compiler_c_o_CXX=no
13824 $RM -r conftest 2>/dev/null
13828 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13830 lt_compiler_flag="-o out/conftest2.$ac_objext"
13831 # Insert the option either (1) after the last *FLAGS variable, or
13832 # (2) before a word containing "conftest.", or (3) at the end.
13833 # Note that $ac_compile itself does not contain backslashes and begins
13834 # with a dollar sign (not a hyphen), so the echo should work correctly.
13835 lt_compile=`echo "$ac_compile" | $SED \
13836 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13838 -e 's:$: $lt_compiler_flag:'`
13839 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13840 (eval "$lt_compile" 2>out/conftest.err)
13842 cat out/conftest.err >&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13846 # The compiler can only warn and ignore the option if not recognized
13847 # So say no if there are warnings
13848 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13849 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13850 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13851 lt_cv_prog_compiler_c_o_CXX=yes
13856 # SGI C++ compiler will create directory out/ii_files/ for
13857 # template instantiation
13858 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13859 $RM out/* && rmdir out
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13866 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13871 hard_links="nottested"
13872 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13873 # do not overwrite the value of need_locks provided by the user
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13875 $as_echo_n "checking if we can lock with hard links... " >&6; }
13878 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13880 ln conftest.a conftest.b 2>&5 || hard_links=no
13881 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13883 $as_echo "$hard_links" >&6; }
13884 if test "$hard_links" = no; then
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13886 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13896 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13898 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13901 # If we're using GNU nm, then we don't want the "-C" option.
13902 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13903 # Also, AIX nm treats weak defined symbols like other global defined
13904 # symbols, whereas GNU nm marks them as "W".
13905 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13906 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'
13908 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'
13912 export_symbols_cmds_CXX="$ltdll_cmds"
13914 cygwin* | mingw* | cegcc*)
13915 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'
13918 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13921 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13924 $as_echo "$ld_shlibs_CXX" >&6; }
13925 test "$ld_shlibs_CXX" = no && can_build_shared=no
13927 with_gnu_ld_CXX=$with_gnu_ld
13935 # Do we need to explicitly link libc?
13937 case "x$archive_cmds_need_lc_CXX" in
13939 # Assume -lc should be added
13940 archive_cmds_need_lc_CXX=yes
13942 if test "$enable_shared" = yes && test "$GCC" = yes; then
13943 case $archive_cmds_CXX in
13945 # FIXME: we may have to deal with multi-command sequences.
13948 # Test whether the compiler implicitly links with -lc since on some
13949 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13950 # to ld, don't add -lc before -lgcc.
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13953 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13954 $as_echo_n "(cached) " >&6
13957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13960 (eval $ac_compile) 2>&5
13962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13963 test $ac_status = 0; } 2>conftest.err; then
13966 libobjs=conftest.$ac_objext
13968 wl=$lt_prog_compiler_wl_CXX
13969 pic_flag=$lt_prog_compiler_pic_CXX
13975 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13976 allow_undefined_flag_CXX=
13977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13978 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981 test $ac_status = 0; }
13983 lt_cv_archive_cmds_need_lc_CXX=no
13985 lt_cv_archive_cmds_need_lc_CXX=yes
13987 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13989 cat conftest.err 1>&5
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13995 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13996 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14067 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14069 library_names_spec=
14070 libname_spec='lib$name'
14074 postuninstall_cmds=
14078 shlibpath_overrides_runpath=unknown
14080 dynamic_linker="$host_os ld.so"
14081 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14082 need_lib_prefix=unknown
14083 hardcode_into_libs=no
14085 # when you set need_version to no, make sure it does not cause -set_version
14086 # flags to be left without arguments
14087 need_version=unknown
14092 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14093 shlibpath_var=LIBPATH
14095 # AIX 3 has no versioning support, so we append a major version to the name.
14096 soname_spec='${libname}${release}${shared_ext}$major'
14103 hardcode_into_libs=yes
14104 if test "$host_cpu" = ia64; then
14105 # AIX 5 supports IA64
14106 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14107 shlibpath_var=LD_LIBRARY_PATH
14109 # With GCC up to 2.95.x, collect2 would create an import file
14110 # for dependence libraries. The import file would start with
14111 # the line `#! .'. This would cause the generated library to
14112 # depend on `.', always an invalid library. This was fixed in
14113 # development snapshots of GCC prior to 3.0.
14115 aix4 | aix4.[01] | aix4.[01].*)
14116 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14118 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14121 can_build_shared=no
14125 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14126 # soname into executable. Probably we can add versioning support to
14127 # collect2, so additional links can be useful in future.
14128 if test "$aix_use_runtimelinking" = yes; then
14129 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14130 # instead of lib<name>.a to let people know that these are not
14131 # typical AIX shared libraries.
14132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14134 # We preserve .a as extension for shared libraries through AIX4.2
14135 # and later when we are not doing run time linking.
14136 library_names_spec='${libname}${release}.a $libname.a'
14137 soname_spec='${libname}${release}${shared_ext}$major'
14139 shlibpath_var=LIBPATH
14146 # Since July 2007 AmigaOS4 officially supports .so libraries.
14147 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14151 library_names_spec='$libname.ixlibrary $libname.a'
14152 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14153 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'
14159 library_names_spec='${libname}${shared_ext}'
14160 dynamic_linker="$host_os ld.so"
14161 shlibpath_var=LIBRARY_PATH
14167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14168 soname_spec='${libname}${release}${shared_ext}$major'
14169 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14170 shlibpath_var=LD_LIBRARY_PATH
14171 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14172 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14173 # the default ld.so.conf also contains /usr/contrib/lib and
14174 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14175 # libtool to hard-code these into programs
14178 cygwin* | mingw* | pw32* | cegcc*)
14179 version_type=windows
14184 case $GCC,$host_os in
14185 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14186 library_names_spec='$libname.dll.a'
14187 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14188 postinstall_cmds='base_file=`basename \${file}`~
14189 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14190 dldir=$destdir/`dirname \$dlpath`~
14191 test -d \$dldir || mkdir -p \$dldir~
14192 $install_prog $dir/$dlname \$dldir/$dlname~
14193 chmod a+x \$dldir/$dlname~
14194 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14195 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14197 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14198 dlpath=$dir/\$dldll~
14200 shlibpath_overrides_runpath=yes
14204 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14205 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14209 # MinGW DLLs use traditional 'lib' prefix
14210 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14213 # pw32 DLLs use 'pw' prefix rather than 'lib'
14214 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14220 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14223 dynamic_linker='Win32 ld.exe'
14224 # FIXME: first we should search . and the directory the executable is in
14228 darwin* | rhapsody*)
14229 dynamic_linker="$host_os dyld"
14230 version_type=darwin
14233 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14234 soname_spec='${libname}${release}${major}$shared_ext'
14235 shlibpath_overrides_runpath=yes
14236 shlibpath_var=DYLD_LIBRARY_PATH
14237 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14239 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14247 soname_spec='${libname}${release}${shared_ext}$major'
14248 shlibpath_var=LD_LIBRARY_PATH
14255 freebsd* | dragonfly*)
14256 # DragonFly does not have aout. When/if they implement a new
14257 # versioning mechanism, adjust this.
14258 if test -x /usr/bin/objformat; then
14259 objformat=`/usr/bin/objformat`
14262 freebsd[123]*) objformat=aout ;;
14263 *) objformat=elf ;;
14266 version_type=freebsd-$objformat
14267 case $version_type in
14269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14274 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14278 shlibpath_var=LD_LIBRARY_PATH
14281 shlibpath_overrides_runpath=yes
14283 freebsd3.[01]* | freebsdelf3.[01]*)
14284 shlibpath_overrides_runpath=yes
14285 hardcode_into_libs=yes
14287 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14288 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14289 shlibpath_overrides_runpath=no
14290 hardcode_into_libs=yes
14292 *) # from 4.6 on, and DragonFly
14293 shlibpath_overrides_runpath=yes
14294 hardcode_into_libs=yes
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14304 soname_spec='${libname}${release}${shared_ext}$major'
14305 shlibpath_var=LD_LIBRARY_PATH
14306 hardcode_into_libs=yes
14313 dynamic_linker="$host_os runtime_loader"
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14315 soname_spec='${libname}${release}${shared_ext}$major'
14316 shlibpath_var=LIBRARY_PATH
14317 shlibpath_overrides_runpath=yes
14318 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14319 hardcode_into_libs=yes
14322 hpux9* | hpux10* | hpux11*)
14323 # Give a soname corresponding to the major version so that dld.sl refuses to
14324 # link against other versions.
14331 hardcode_into_libs=yes
14332 dynamic_linker="$host_os dld.so"
14333 shlibpath_var=LD_LIBRARY_PATH
14334 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14336 soname_spec='${libname}${release}${shared_ext}$major'
14337 if test "X$HPUX_IA64_MODE" = X32; then
14338 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14340 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14342 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14346 hardcode_into_libs=yes
14347 dynamic_linker="$host_os dld.sl"
14348 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14349 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14352 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14353 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14357 dynamic_linker="$host_os dld.sl"
14358 shlibpath_var=SHLIB_PATH
14359 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14361 soname_spec='${libname}${release}${shared_ext}$major'
14364 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14365 postinstall_cmds='chmod 555 $lib'
14366 # or fails outright, so override atomically:
14367 install_override_mode=555
14374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14375 soname_spec='${libname}${release}${shared_ext}$major'
14376 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14377 shlibpath_var=LD_LIBRARY_PATH
14378 shlibpath_overrides_runpath=no
14379 hardcode_into_libs=yes
14382 irix5* | irix6* | nonstopux*)
14384 nonstopux*) version_type=nonstopux ;;
14386 if test "$lt_cv_prog_gnu_ld" = yes; then
14394 soname_spec='${libname}${release}${shared_ext}$major'
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14397 irix5* | nonstopux*)
14398 libsuff= shlibsuff=
14401 case $LD in # libtool.m4 will add one of these switches to LD
14402 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14403 libsuff= shlibsuff= libmagic=32-bit;;
14404 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14405 libsuff=32 shlibsuff=N32 libmagic=N32;;
14406 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14407 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14408 *) libsuff= shlibsuff= libmagic=never-match;;
14412 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14413 shlibpath_overrides_runpath=no
14414 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14415 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14416 hardcode_into_libs=yes
14419 # No shared lib support for Linux oldld, aout, or coff.
14420 linux*oldld* | linux*aout* | linux*coff*)
14424 # This must be Linux ELF.
14425 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14432 shlibpath_var=LD_LIBRARY_PATH
14433 shlibpath_overrides_runpath=no
14435 # Some binutils ld are patched to set DT_RUNPATH
14436 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14437 $as_echo_n "(cached) " >&6
14439 lt_cv_shlibpath_overrides_runpath=no
14440 save_LDFLAGS=$LDFLAGS
14441 save_libdir=$libdir
14442 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14443 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14444 if test x$gcc_no_link = xyes; then
14445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14458 if ac_fn_cxx_try_link "$LINENO"; then :
14459 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14460 lt_cv_shlibpath_overrides_runpath=yes
14463 rm -f core conftest.err conftest.$ac_objext \
14464 conftest$ac_exeext conftest.$ac_ext
14465 LDFLAGS=$save_LDFLAGS
14466 libdir=$save_libdir
14470 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14472 # This implies no fast_install, which is unacceptable.
14473 # Some rework will be needed to allow for fast_install
14474 # before this can be enabled.
14475 hardcode_into_libs=yes
14477 # Append ld.so.conf contents to the search path
14478 if test -f /etc/ld.so.conf; then
14479 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' ' '`
14480 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14483 # We used to test for /lib/ld.so.1 and disable shared libraries on
14484 # powerpc, because MkLinux only supported shared libraries with the
14485 # GNU dynamic linker. Since this was broken with cross compilers,
14486 # most powerpc-linux boxes support dynamic linking these days and
14487 # people can always --disable-shared, the test was removed, and we
14488 # assume the GNU/Linux dynamic linker is in use.
14489 dynamic_linker='GNU/Linux ld.so'
14496 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14498 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14499 dynamic_linker='NetBSD (a.out) ld.so'
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 dynamic_linker='NetBSD ld.elf_so'
14505 shlibpath_var=LD_LIBRARY_PATH
14506 shlibpath_overrides_runpath=yes
14507 hardcode_into_libs=yes
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=yes
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 soname_spec='${libname}${release}${shared_ext}$major'
14523 shlibpath_var=LD_LIBRARY_PATH
14524 shlibpath_overrides_runpath=no
14525 hardcode_into_libs=yes
14526 dynamic_linker='ldqnx.so'
14531 sys_lib_dlsearch_path_spec="/usr/lib"
14533 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14535 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14536 *) need_version=no ;;
14538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14539 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14540 shlibpath_var=LD_LIBRARY_PATH
14541 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14543 openbsd2.[89] | openbsd2.[89].*)
14544 shlibpath_overrides_runpath=no
14547 shlibpath_overrides_runpath=yes
14551 shlibpath_overrides_runpath=yes
14556 libname_spec='$name'
14559 library_names_spec='$libname${shared_ext} $libname.a'
14560 dynamic_linker='OS/2 ld.exe'
14561 shlibpath_var=LIBPATH
14564 osf3* | osf4* | osf5*)
14568 soname_spec='${libname}${release}${shared_ext}$major'
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14570 shlibpath_var=LD_LIBRARY_PATH
14571 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14572 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14584 soname_spec='${libname}${release}${shared_ext}$major'
14585 shlibpath_var=LD_LIBRARY_PATH
14586 shlibpath_overrides_runpath=yes
14587 hardcode_into_libs=yes
14588 # ldd complains unless libraries are executable
14589 postinstall_cmds='chmod +x $lib'
14594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14595 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14596 shlibpath_var=LD_LIBRARY_PATH
14597 shlibpath_overrides_runpath=yes
14598 if test "$with_gnu_ld" = yes; then
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607 soname_spec='${libname}${release}${shared_ext}$major'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 case $host_vendor in
14611 shlibpath_overrides_runpath=no
14613 runpath_var=LD_RUN_PATH
14621 shlibpath_overrides_runpath=no
14622 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14628 if test -d /usr/nec ;then
14630 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14631 soname_spec='$libname${shared_ext}.$major'
14632 shlibpath_var=LD_LIBRARY_PATH
14636 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14637 version_type=freebsd-elf
14640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14641 soname_spec='${libname}${release}${shared_ext}$major'
14642 shlibpath_var=LD_LIBRARY_PATH
14643 shlibpath_overrides_runpath=yes
14644 hardcode_into_libs=yes
14645 if test "$with_gnu_ld" = yes; then
14646 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14648 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14651 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14655 sys_lib_dlsearch_path_spec='/usr/lib'
14659 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=no
14666 hardcode_into_libs=yes
14671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14672 soname_spec='${libname}${release}${shared_ext}$major'
14673 shlibpath_var=LD_LIBRARY_PATH
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14681 $as_echo "$dynamic_linker" >&6; }
14682 test "$dynamic_linker" = no && can_build_shared=no
14684 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14685 if test "$GCC" = yes; then
14686 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14689 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14690 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14692 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14693 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14734 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14735 hardcode_action_CXX=
14736 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14737 test -n "$runpath_var_CXX" ||
14738 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14740 # We can hardcode non-existent directories.
14741 if test "$hardcode_direct_CXX" != no &&
14742 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14743 # have to relink, otherwise we might link with an installed library
14744 # when we should be linking with a yet-to-be-installed one
14745 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14746 test "$hardcode_minus_L_CXX" != no; then
14747 # Linking always hardcodes the temporary library directory.
14748 hardcode_action_CXX=relink
14750 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14751 hardcode_action_CXX=immediate
14754 # We cannot hardcode anything, or else we can only hardcode existing
14756 hardcode_action_CXX=unsupported
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14759 $as_echo "$hardcode_action_CXX" >&6; }
14761 if test "$hardcode_action_CXX" = relink ||
14762 test "$inherit_rpath_CXX" = yes; then
14763 # Fast installation is not supported
14764 enable_fast_install=no
14765 elif test "$shlibpath_overrides_runpath" = yes ||
14766 test "$enable_shared" = no; then
14767 # Fast installation is not necessary
14768 enable_fast_install=needless
14777 fi # test -n "$compiler"
14783 with_gnu_ld=$lt_save_with_gnu_ld
14784 lt_cv_path_LDCXX=$lt_cv_path_LD
14785 lt_cv_path_LD=$lt_save_path_LD
14786 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14787 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14788 fi # test "$_lt_caught_CXX_error" != yes
14791 ac_cpp='$CPP $CPPFLAGS'
14792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14808 ac_config_commands="$ac_config_commands libtool"
14813 # Only expand once:
14819 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14820 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14822 # Possibly disable most of the library.
14823 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14824 ## than just ignoring the results. Faster /and/ more correct, win win.
14826 # Check whether --enable-hosted-libstdcxx was given.
14827 if test "${enable_hosted_libstdcxx+set}" = set; then :
14828 enableval=$enable_hosted_libstdcxx;
14831 arm*-*-symbianelf*)
14832 enable_hosted_libstdcxx=no
14835 enable_hosted_libstdcxx=yes
14840 if test "$enable_hosted_libstdcxx" = no; then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14842 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14845 enable_abi_check=no
14846 enable_libstdcxx_pch=no
14853 cat >>confdefs.h <<_ACEOF
14854 #define _GLIBCXX_HOSTED $hosted_define
14859 # Enable compiler support that doesn't require linking.
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14862 $as_echo_n "checking for exception model to use... " >&6; }
14865 ac_cpp='$CXXCPP $CPPFLAGS'
14866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14870 # Check whether --enable-sjlj-exceptions was given.
14871 if test "${enable_sjlj_exceptions+set}" = set; then :
14872 enableval=$enable_sjlj_exceptions;
14873 case "$enableval" in
14875 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14879 enable_sjlj_exceptions=auto
14884 if test $enable_sjlj_exceptions = auto; then
14885 # Botheration. Now we've got to detect the exception model. Link tests
14886 # against libgcc.a are problematic since we've not been given proper -L
14887 # bits for single-tree newlib and libgloss.
14889 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14890 cat > conftest.$ac_ext << EOF
14891 #line 14891 "configure"
14892 struct S { ~S(); };
14900 old_CXXFLAGS="$CXXFLAGS"
14902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14903 (eval $ac_compile) 2>&5
14905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14906 test $ac_status = 0; }; then
14907 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14908 enable_sjlj_exceptions=yes
14909 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14910 enable_sjlj_exceptions=no
14911 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14912 enable_sjlj_exceptions=no
14915 CXXFLAGS="$old_CXXFLAGS"
14919 # This is a tad weird, for hysterical raisins. We have to map
14920 # enable/disable to two different models.
14921 case $enable_sjlj_exceptions in
14924 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14926 ac_exception_model_name=sjlj
14929 ac_exception_model_name="call frame"
14932 as_fn_error "unable to detect exception model" "$LINENO" 5
14936 ac_cpp='$CPP $CPPFLAGS'
14937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14942 $as_echo "$ac_exception_model_name" >&6; }
14945 # Check whether --enable-libstdcxx-pch was given.
14946 if test "${enable_libstdcxx_pch+set}" = set; then :
14947 enableval=$enable_libstdcxx_pch;
14948 case "$enableval" in
14950 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14954 enable_libstdcxx_pch=$is_hosted
14958 if test $enable_libstdcxx_pch = yes; then
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14960 $as_echo_n "checking for compiler with PCH support... " >&6; }
14961 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14962 $as_echo_n "(cached) " >&6
14964 ac_save_CXXFLAGS="$CXXFLAGS"
14965 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14968 ac_cpp='$CXXCPP $CPPFLAGS'
14969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14973 echo '#include <math.h>' > conftest.h
14974 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14975 -o conftest.h.gch 1>&5 2>&1 &&
14976 echo '#error "pch failed"' > conftest.h &&
14977 echo '#include "conftest.h"' > conftest.cc &&
14978 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14980 glibcxx_cv_prog_CXX_pch=yes
14982 glibcxx_cv_prog_CXX_pch=no
14985 CXXFLAGS=$ac_save_CXXFLAGS
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
14995 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
14996 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15000 $as_echo_n "checking for enabled PCH... " >&6; }
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15002 $as_echo "$enable_libstdcxx_pch" >&6; }
15005 if test $enable_libstdcxx_pch = yes; then
15006 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15008 glibcxx_PCHFLAGS=""
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15014 $as_echo_n "checking for thread model used by GCC... " >&6; }
15015 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15017 $as_echo "$target_thread_file" >&6; }
15019 if test $target_thread_file != single; then
15021 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15025 glibcxx_thread_h=gthr-$target_thread_file.h
15027 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15028 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15039 ac_cpp='$CXXCPP $CPPFLAGS'
15040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15044 old_CXXFLAGS="$CXXFLAGS"
15046 # Do link tests if possible, instead asm tests, limited to some platforms
15047 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15048 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15049 atomic_builtins_link_tests=no
15050 if test x$gcc_no_link != xyes; then
15051 # Can do link tests. Limit to some tested platforms
15053 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15054 atomic_builtins_link_tests=yes
15059 if test x$atomic_builtins_link_tests = xyes; then
15063 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15066 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15067 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15068 $as_echo_n "(cached) " >&6
15071 if test x$gcc_no_link = xyes; then
15072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15080 typedef bool atomic_type;
15083 const atomic_type c3(0);
15084 __sync_fetch_and_add(&c1, c2);
15085 __sync_val_compare_and_swap(&c1, c3, c2);
15086 __sync_lock_test_and_set(&c1, c3);
15087 __sync_lock_release(&c1);
15088 __sync_synchronize();
15093 if ac_fn_cxx_try_link "$LINENO"; then :
15094 glibcxx_cv_atomic_bool=yes
15096 glibcxx_cv_atomic_bool=no
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15103 if test $glibcxx_cv_atomic_bool = yes; then
15105 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15109 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15112 $as_echo_n "checking for atomic builtins for short... " >&6; }
15113 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15114 $as_echo_n "(cached) " >&6
15117 if test x$gcc_no_link = xyes; then
15118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15126 typedef short atomic_type;
15129 const atomic_type c3(0);
15130 __sync_fetch_and_add(&c1, c2);
15131 __sync_val_compare_and_swap(&c1, c3, c2);
15132 __sync_lock_test_and_set(&c1, c3);
15133 __sync_lock_release(&c1);
15134 __sync_synchronize();
15139 if ac_fn_cxx_try_link "$LINENO"; then :
15140 glibcxx_cv_atomic_short=yes
15142 glibcxx_cv_atomic_short=no
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15149 if test $glibcxx_cv_atomic_short = yes; then
15151 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15155 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15158 $as_echo_n "checking for atomic builtins for int... " >&6; }
15159 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15160 $as_echo_n "(cached) " >&6
15163 if test x$gcc_no_link = xyes; then
15164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15172 typedef int atomic_type;
15175 const atomic_type c3(0);
15176 __sync_fetch_and_add(&c1, c2);
15177 __sync_val_compare_and_swap(&c1, c3, c2);
15178 __sync_lock_test_and_set(&c1, c3);
15179 __sync_lock_release(&c1);
15180 __sync_synchronize();
15185 if ac_fn_cxx_try_link "$LINENO"; then :
15186 glibcxx_cv_atomic_int=yes
15188 glibcxx_cv_atomic_int=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15195 if test $glibcxx_cv_atomic_int = yes; then
15197 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15201 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15204 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15205 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15206 $as_echo_n "(cached) " >&6
15209 if test x$gcc_no_link = xyes; then
15210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15218 typedef long long atomic_type;
15221 const atomic_type c3(0);
15222 __sync_fetch_and_add(&c1, c2);
15223 __sync_val_compare_and_swap(&c1, c3, c2);
15224 __sync_lock_test_and_set(&c1, c3);
15225 __sync_lock_release(&c1);
15226 __sync_synchronize();
15231 if ac_fn_cxx_try_link "$LINENO"; then :
15232 glibcxx_cv_atomic_long_long=yes
15234 glibcxx_cv_atomic_long_long=no
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15241 if test $glibcxx_cv_atomic_long_long = yes; then
15243 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15247 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15253 # Compile unoptimized.
15256 # Fake what AC_TRY_COMPILE does.
15258 cat > conftest.$ac_ext << EOF
15259 #line 15259 "configure"
15262 typedef bool atomic_type;
15265 const atomic_type c3(0);
15266 __sync_fetch_and_add(&c1, c2);
15267 __sync_val_compare_and_swap(&c1, c3, c2);
15268 __sync_lock_test_and_set(&c1, c3);
15269 __sync_lock_release(&c1);
15270 __sync_synchronize();
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15276 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15278 (eval $ac_compile) 2>&5
15280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15281 test $ac_status = 0; }; then
15282 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15283 glibcxx_cv_atomic_bool=no
15286 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15288 glibcxx_cv_atomic_bool=yes
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15292 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15295 cat > conftest.$ac_ext << EOF
15296 #line 15296 "configure"
15299 typedef short atomic_type;
15302 const atomic_type c3(0);
15303 __sync_fetch_and_add(&c1, c2);
15304 __sync_val_compare_and_swap(&c1, c3, c2);
15305 __sync_lock_test_and_set(&c1, c3);
15306 __sync_lock_release(&c1);
15307 __sync_synchronize();
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15313 $as_echo_n "checking for atomic builtins for short... " >&6; }
15314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15315 (eval $ac_compile) 2>&5
15317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15318 test $ac_status = 0; }; then
15319 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15320 glibcxx_cv_atomic_short=no
15323 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15325 glibcxx_cv_atomic_short=yes
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15329 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15332 cat > conftest.$ac_ext << EOF
15333 #line 15333 "configure"
15336 // NB: _Atomic_word not necessarily int.
15337 typedef int atomic_type;
15340 const atomic_type c3(0);
15341 __sync_fetch_and_add(&c1, c2);
15342 __sync_val_compare_and_swap(&c1, c3, c2);
15343 __sync_lock_test_and_set(&c1, c3);
15344 __sync_lock_release(&c1);
15345 __sync_synchronize();
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15351 $as_echo_n "checking for atomic builtins for int... " >&6; }
15352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15353 (eval $ac_compile) 2>&5
15355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356 test $ac_status = 0; }; then
15357 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15358 glibcxx_cv_atomic_int=no
15361 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15363 glibcxx_cv_atomic_int=yes
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15367 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15370 cat > conftest.$ac_ext << EOF
15371 #line 15371 "configure"
15374 typedef long long atomic_type;
15377 const atomic_type c3(0);
15378 __sync_fetch_and_add(&c1, c2);
15379 __sync_val_compare_and_swap(&c1, c3, c2);
15380 __sync_lock_test_and_set(&c1, c3);
15381 __sync_lock_release(&c1);
15382 __sync_synchronize();
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15388 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390 (eval $ac_compile) 2>&5
15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 test $ac_status = 0; }; then
15394 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15395 glibcxx_cv_atomic_long_long=no
15398 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15400 glibcxx_cv_atomic_long_long=yes
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15404 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15409 CXXFLAGS="$old_CXXFLAGS"
15411 ac_cpp='$CPP $CPPFLAGS'
15412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15417 # Set atomicity_dir to builtins if either of above tests pass.
15418 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15419 atomicity_dir=cpu/generic/atomicity_builtins
15422 # If still generic, set to mutex.
15423 if test $atomicity_dir = "cpu/generic" ; then
15424 atomicity_dir=cpu/generic/atomicity_mutex
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15426 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15427 if test "x$target_thread_file" = xsingle; then
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15429 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15431 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15434 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15436 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15443 # Fake what AC_TRY_COMPILE does, without linking as this is
15444 # unnecessary for this test.
15446 cat > conftest.$ac_ext << EOF
15447 #line 15447 "configure"
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15458 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15460 (eval $ac_compile) 2>&5
15462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15463 test $ac_status = 0; }; then
15465 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15472 $as_echo "$enable_dfp" >&6; }
15476 # Checks for compiler support that doesn't require linking.
15478 # All these tests are for C++; save the language and the compiler flags.
15479 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15480 # found in GLIBCXX_CONFIGURE.
15483 ac_cpp='$CXXCPP $CPPFLAGS'
15484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15488 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15489 ac_save_CXXFLAGS="$CXXFLAGS"
15491 # Check for maintainer-mode bits.
15492 if test x"$USE_MAINTAINER_MODE" = xno; then
15498 # Check for -ffunction-sections -fdata-sections
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15500 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15501 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15504 int foo; void bar() { };
15513 if ac_fn_cxx_try_compile "$LINENO"; then :
15518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15519 if test "$ac_test_CXXFLAGS" = set; then
15520 CXXFLAGS="$ac_save_CXXFLAGS"
15522 # this is the suspicious part
15525 if test x"$ac_fdsections" = x"yes"; then
15526 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15529 $as_echo "$ac_fdsections" >&6; }
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 # Enable all the variable C++ runtime options that don't require linking.
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15544 $as_echo_n "checking for underlying I/O to use... " >&6; }
15545 # Check whether --enable-cstdio was given.
15546 if test "${enable_cstdio+set}" = set; then :
15547 enableval=$enable_cstdio;
15548 case "$enableval" in
15550 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15554 enable_cstdio=stdio
15559 # Now that libio has been removed, you can have any color you want as long
15560 # as it's black. This is one big no-op until other packages are added, but
15561 # showing the framework never hurts.
15562 case ${enable_cstdio} in
15564 CSTDIO_H=config/io/c_io_stdio.h
15565 BASIC_FILE_H=config/io/basic_file_stdio.h
15566 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15568 $as_echo "stdio" >&6; }
15577 # Check whether --enable-clocale was given.
15578 if test "${enable_clocale+set}" = set; then :
15579 enableval=$enable_clocale;
15580 case "$enableval" in
15581 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15582 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15586 enable_clocale=auto
15591 # Deal with gettext issues. Default to not using it (=no) until we detect
15592 # support for it later. Let the user turn it off via --e/d, but let that
15593 # default to on for easier handling.
15595 # Check whether --enable-nls was given.
15596 if test "${enable_nls+set}" = set; then :
15597 enableval=$enable_nls;
15603 # Either a known packaage, or "auto"
15604 if test $enable_clocale = no || test $enable_clocale = yes; then
15605 enable_clocale=auto
15607 enable_clocale_flag=$enable_clocale
15609 # Probe for locale model to use if none specified.
15610 # Default to "generic".
15611 if test $enable_clocale_flag = auto; then
15612 case ${target_os} in
15613 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15614 enable_clocale_flag=gnu
15616 darwin* | freebsd*)
15617 enable_clocale_flag=darwin
15620 enable_clocale_flag=generic
15625 # Sanity check model, and test for special functionality.
15626 if test $enable_clocale_flag = gnu; then
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15630 #include <features.h>
15631 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15637 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15638 enable_clocale_flag=gnu
15640 enable_clocale_flag=generic
15645 # Set it to scream when it hurts.
15646 ac_save_CFLAGS="$CFLAGS"
15647 CFLAGS="-Wimplicit-function-declaration -Werror"
15649 # Use strxfrm_l if available.
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15652 #define _GNU_SOURCE 1
15653 #include <string.h>
15654 #include <locale.h>
15658 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15663 if ac_fn_c_try_compile "$LINENO"; then :
15665 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 # Use strerror_l if available.
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15673 #define _GNU_SOURCE 1
15674 #include <string.h>
15675 #include <locale.h>
15679 __locale_t loc; strerror_l(5, loc);
15684 if ac_fn_c_try_compile "$LINENO"; then :
15686 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15691 CFLAGS="$ac_save_CFLAGS"
15694 # Perhaps use strerror_r if available, and strerror_l isn't.
15695 ac_save_CFLAGS="$CFLAGS"
15696 CFLAGS="-Wimplicit-function-declaration -Werror"
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15699 #define _GNU_SOURCE 1
15700 #include <string.h>
15701 #include <locale.h>
15705 char s[128]; strerror_r(5, s, 128);
15710 if ac_fn_c_try_compile "$LINENO"; then :
15712 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15716 CFLAGS="$ac_save_CFLAGS"
15718 # Set configure bits for specified locale package
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15720 $as_echo_n "checking for C locale to use... " >&6; }
15721 case ${enable_clocale_flag} in
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15724 $as_echo "generic" >&6; }
15726 CLOCALE_H=config/locale/generic/c_locale.h
15727 CLOCALE_CC=config/locale/generic/c_locale.cc
15728 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15729 CCOLLATE_CC=config/locale/generic/collate_members.cc
15730 CCTYPE_CC=config/locale/generic/ctype_members.cc
15731 CMESSAGES_H=config/locale/generic/messages_members.h
15732 CMESSAGES_CC=config/locale/generic/messages_members.cc
15733 CMONEY_CC=config/locale/generic/monetary_members.cc
15734 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15735 CTIME_H=config/locale/generic/time_members.h
15736 CTIME_CC=config/locale/generic/time_members.cc
15737 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15741 $as_echo "darwin or freebsd" >&6; }
15743 CLOCALE_H=config/locale/generic/c_locale.h
15744 CLOCALE_CC=config/locale/generic/c_locale.cc
15745 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15746 CCOLLATE_CC=config/locale/generic/collate_members.cc
15747 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15748 CMESSAGES_H=config/locale/generic/messages_members.h
15749 CMESSAGES_CC=config/locale/generic/messages_members.cc
15750 CMONEY_CC=config/locale/generic/monetary_members.cc
15751 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15752 CTIME_H=config/locale/generic/time_members.h
15753 CTIME_CC=config/locale/generic/time_members.cc
15754 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15759 $as_echo "gnu" >&6; }
15761 # Declare intention to use gettext, and add support for specific
15763 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15764 ALL_LINGUAS="de fr"
15766 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15767 # Extract the first word of "msgfmt", so it can be a program name with args.
15768 set dummy msgfmt; ac_word=$2
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15770 $as_echo_n "checking for $ac_word... " >&6; }
15771 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15772 $as_echo_n "(cached) " >&6
15774 if test -n "$check_msgfmt"; then
15775 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15778 for as_dir in $PATH
15781 test -z "$as_dir" && as_dir=.
15782 for ac_exec_ext in '' $ac_executable_extensions; do
15783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15784 ac_cv_prog_check_msgfmt="yes"
15785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15792 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15795 check_msgfmt=$ac_cv_prog_check_msgfmt
15796 if test -n "$check_msgfmt"; then
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15798 $as_echo "$check_msgfmt" >&6; }
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15801 $as_echo "no" >&6; }
15805 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15808 # Export the build objects.
15809 for ling in $ALL_LINGUAS; do \
15810 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15811 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15816 CLOCALE_H=config/locale/gnu/c_locale.h
15817 CLOCALE_CC=config/locale/gnu/c_locale.cc
15818 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15819 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15820 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15821 CMESSAGES_H=config/locale/gnu/messages_members.h
15822 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15823 CMONEY_CC=config/locale/gnu/monetary_members.cc
15824 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15825 CTIME_H=config/locale/gnu/time_members.h
15826 CTIME_CC=config/locale/gnu/time_members.cc
15827 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15831 $as_echo "IEEE 1003.1" >&6; }
15833 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15834 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15835 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15836 CCOLLATE_CC=config/locale/generic/collate_members.cc
15837 CCTYPE_CC=config/locale/generic/ctype_members.cc
15838 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15839 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15840 CMONEY_CC=config/locale/generic/monetary_members.cc
15841 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15842 CTIME_H=config/locale/generic/time_members.h
15843 CTIME_CC=config/locale/generic/time_members.cc
15844 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15848 # This is where the testsuite looks for locale catalogs, using the
15849 # -DLOCALEDIR define during testsuite compilation.
15850 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15853 # A standalone libintl (e.g., GNU libintl) may be in use.
15854 if test $USE_NLS = yes; then
15855 for ac_header in libintl.h
15857 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15858 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15859 cat >>confdefs.h <<_ACEOF
15860 #define HAVE_LIBINTL_H 1
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15870 $as_echo_n "checking for library containing gettext... " >&6; }
15871 if test "${ac_cv_search_gettext+set}" = set; then :
15872 $as_echo_n "(cached) " >&6
15874 ac_func_search_save_LIBS=$LIBS
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15878 /* Override any GCC internal prototype to avoid an error.
15879 Use char because int might match the return type of a GCC
15880 builtin and then its argument prototype would still apply. */
15893 for ac_lib in '' intl; do
15894 if test -z "$ac_lib"; then
15895 ac_res="none required"
15898 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15900 if test x$gcc_no_link = xyes; then
15901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 ac_cv_search_gettext=$ac_res
15906 rm -f core conftest.err conftest.$ac_objext \
15908 if test "${ac_cv_search_gettext+set}" = set; then :
15912 if test "${ac_cv_search_gettext+set}" = set; then :
15915 ac_cv_search_gettext=no
15917 rm conftest.$ac_ext
15918 LIBS=$ac_func_search_save_LIBS
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15921 $as_echo "$ac_cv_search_gettext" >&6; }
15922 ac_res=$ac_cv_search_gettext
15923 if test "$ac_res" != no; then :
15924 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15931 if test $USE_NLS = yes; then
15933 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15953 $as_echo_n "checking for std::allocator base class... " >&6; }
15954 # Check whether --enable-libstdcxx-allocator was given.
15955 if test "${enable_libstdcxx_allocator+set}" = set; then :
15956 enableval=$enable_libstdcxx_allocator;
15957 case "$enableval" in
15958 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15959 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15963 enable_libstdcxx_allocator=auto
15968 # If they didn't use this option switch, or if they specified --enable
15969 # with no specific model, we'll have to look for one. If they
15970 # specified --disable (???), do likewise.
15971 if test $enable_libstdcxx_allocator = no ||
15972 test $enable_libstdcxx_allocator = yes;
15974 enable_libstdcxx_allocator=auto
15977 # Either a known package, or "auto". Auto implies the default choice
15978 # for a particular platform.
15979 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15981 # Probe for host-specific support if no specific model is specified.
15982 # Default to "new".
15983 if test $enable_libstdcxx_allocator_flag = auto; then
15984 case ${target_os} in
15985 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15986 enable_libstdcxx_allocator_flag=new
15989 enable_libstdcxx_allocator_flag=new
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15994 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15997 # Set configure bits for specified locale package
15998 case ${enable_libstdcxx_allocator_flag} in
16000 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16001 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16004 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16005 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16008 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16009 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16012 ALLOCATOR_H=config/allocator/new_allocator_base.h
16013 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16016 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16017 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16025 # Check whether --enable-cheaders was given.
16026 if test "${enable_cheaders+set}" = set; then :
16027 enableval=$enable_cheaders;
16028 case "$enableval" in
16029 c|c_std|c_global) ;;
16030 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16034 enable_cheaders=$c_model
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16039 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16041 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16043 # Allow overrides to configure.host here.
16044 if test $enable_cheaders = c_global; then
16045 c_compatibility=yes
16048 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16059 # Check whether --enable-long-long was given.
16060 if test "${enable_long_long+set}" = set; then :
16061 enableval=$enable_long_long;
16062 case "$enableval" in
16064 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16068 enable_long_long=yes
16072 if test $enable_long_long = yes; then
16074 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16078 $as_echo_n "checking for enabled long long specializations... " >&6; }
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16080 $as_echo "$enable_long_long" >&6; }
16083 # Check whether --enable-wchar_t was given.
16084 if test "${enable_wchar_t+set}" = set; then :
16085 enableval=$enable_wchar_t;
16086 case "$enableval" in
16088 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16097 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16098 for ac_header in wchar.h
16100 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16101 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_WCHAR_H 1
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16113 $as_echo_n "checking for mbstate_t... " >&6; }
16114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h. */
16120 mbstate_t teststate;
16125 if ac_fn_c_try_compile "$LINENO"; then :
16130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16132 $as_echo "$have_mbstate_t" >&6; }
16133 if test x"$have_mbstate_t" = xyes; then
16135 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16139 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16141 for ac_header in wctype.h
16143 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16144 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_WCTYPE_H 1
16148 ac_has_wctype_h=yes
16156 if test x"$enable_wchar_t" = x"yes"; then
16160 ac_cpp='$CXXCPP $CPPFLAGS'
16161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16166 if test x"$ac_has_wchar_h" = xyes &&
16167 test x"$ac_has_wctype_h" = xyes; then
16168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16171 #include <stddef.h>
16174 long j = WCHAR_MIN;
16175 long k = WCHAR_MAX;
16240 if ac_fn_cxx_try_compile "$LINENO"; then :
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16251 ac_cpp='$CPP $CPPFLAGS'
16252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16258 if test x"$enable_wchar_t" = x"yes"; then
16260 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16265 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16267 $as_echo "$enable_wchar_t" >&6; }
16271 # Check whether --enable-c99 was given.
16272 if test "${enable_c99+set}" = set; then :
16273 enableval=$enable_c99;
16274 case "$enableval" in
16276 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16285 if test x"$enable_c99" = x"yes"; then
16289 ac_cpp='$CXXCPP $CPPFLAGS'
16290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16295 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16296 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16297 # spuriously enabled.
16298 # Long term, -std=c++0x could be even better, could manage to explicitely
16299 # request C99 facilities to the underlying C headers.
16300 ac_save_CXXFLAGS="$CXXFLAGS"
16301 CXXFLAGS="$CXXFLAGS -std=c++98"
16302 ac_save_LIBS="$LIBS"
16303 ac_save_gcc_no_link="$gcc_no_link"
16305 if test x$gcc_no_link != xyes; then
16306 # Use -fno-exceptions to that the C driver can link these tests without
16307 # hitting undefined references to personality routines.
16308 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16310 $as_echo_n "checking for sin in -lm... " >&6; }
16311 if test "${ac_cv_lib_m_sin+set}" = set; then :
16312 $as_echo_n "(cached) " >&6
16314 ac_check_lib_save_LIBS=$LIBS
16316 if test x$gcc_no_link = xyes; then
16317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16322 /* Override any GCC internal prototype to avoid an error.
16323 Use char because int might match the return type of a GCC
16324 builtin and then its argument prototype would still apply. */
16337 if ac_fn_cxx_try_link "$LINENO"; then :
16338 ac_cv_lib_m_sin=yes
16342 rm -f core conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16344 LIBS=$ac_check_lib_save_LIBS
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16347 $as_echo "$ac_cv_lib_m_sin" >&6; }
16348 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16354 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16361 # Check for the existence of <math.h> functions used if C99 is enabled.
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16363 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16364 if test "${glibcxx_cv_c99_math+set}" = set; then :
16365 $as_echo_n "(cached) " >&6
16368 if test x$gcc_no_link = xyes; then
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16372 volatile double d1, d2;
16377 i = fpclassify(d1);
16383 i = isgreater(d1, d2);
16384 i = isgreaterequal(d1, d2);
16385 i = isless(d1, d2);
16386 i = islessequal(d1, d2);
16387 i = islessgreater(d1, d2);
16388 i = islessgreater(d1, d2);
16389 i = isunordered(d1, d2);
16395 if ac_fn_cxx_try_compile "$LINENO"; then :
16396 glibcxx_cv_c99_math=yes
16398 glibcxx_cv_c99_math=no
16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 if test x$gcc_no_link = xyes; then
16403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16408 volatile double d1, d2;
16413 i = fpclassify(d1);
16419 i = isgreater(d1, d2);
16420 i = isgreaterequal(d1, d2);
16421 i = isless(d1, d2);
16422 i = islessequal(d1, d2);
16423 i = islessgreater(d1, d2);
16424 i = islessgreater(d1, d2);
16425 i = isunordered(d1, d2);
16431 if ac_fn_cxx_try_link "$LINENO"; then :
16432 glibcxx_cv_c99_math=yes
16434 glibcxx_cv_c99_math=no
16436 rm -f core conftest.err conftest.$ac_objext \
16437 conftest$ac_exeext conftest.$ac_ext
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16443 $as_echo "$glibcxx_cv_c99_math" >&6; }
16444 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16446 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16450 # Check for the existence of <complex.h> complex math functions.
16451 # This is necessary even though libstdc++ uses the builtin versions
16452 # of these functions, because if the builtin cannot be used, a reference
16453 # to the library function is emitted.
16454 for ac_header in tgmath.h
16456 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16457 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_TGMATH_H 1
16461 ac_has_tgmath_h=yes
16468 for ac_header in complex.h
16470 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16471 if test "x$ac_cv_header_complex_h" = x""yes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_COMPLEX_H 1
16475 ac_has_complex_h=yes
16477 ac_has_complex_h=no
16482 glibcxx_cv_c99_complex=no;
16483 if test x"$ac_has_complex_h" = x"yes"; then
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16485 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16486 if test x$gcc_no_link = xyes; then
16487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16489 #include <complex.h>
16490 typedef __complex__ float float_type;
16491 typedef __complex__ double double_type;
16492 typedef __complex__ long double ld_type;
16493 volatile float_type tmpf;
16494 volatile double_type tmpd;
16495 volatile ld_type tmpld;
16498 volatile long double ld;
16504 tmpf = ccosf(tmpf);
16505 tmpf = ccoshf(tmpf);
16506 tmpf = cexpf(tmpf);
16507 tmpf = clogf(tmpf);
16508 tmpf = csinf(tmpf);
16509 tmpf = csinhf(tmpf);
16510 tmpf = csqrtf(tmpf);
16511 tmpf = ctanf(tmpf);
16512 tmpf = ctanhf(tmpf);
16513 tmpf = cpowf(tmpf, tmpf);
16514 tmpf = cprojf(tmpf);
16518 tmpd = ccosh(tmpd);
16522 tmpd = csinh(tmpd);
16523 tmpd = csqrt(tmpd);
16525 tmpd = ctanh(tmpd);
16526 tmpd = cpow(tmpd, tmpd);
16527 tmpd = cproj(tmpd);
16530 tmpld = ccosl(tmpld);
16531 tmpld = ccoshl(tmpld);
16532 tmpld = cexpl(tmpld);
16533 tmpld = clogl(tmpld);
16534 tmpld = csinl(tmpld);
16535 tmpld = csinhl(tmpld);
16536 tmpld = csqrtl(tmpld);
16537 tmpld = ctanl(tmpld);
16538 tmpld = ctanhl(tmpld);
16539 tmpld = cpowl(tmpld, tmpld);
16540 tmpld = cprojl(tmpld);
16546 if ac_fn_cxx_try_compile "$LINENO"; then :
16547 glibcxx_cv_c99_complex=yes
16549 glibcxx_cv_c99_complex=no
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16553 if test x$gcc_no_link = xyes; then
16554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16558 #include <complex.h>
16559 typedef __complex__ float float_type;
16560 typedef __complex__ double double_type;
16561 typedef __complex__ long double ld_type;
16562 volatile float_type tmpf;
16563 volatile double_type tmpd;
16564 volatile ld_type tmpld;
16567 volatile long double ld;
16573 tmpf = ccosf(tmpf);
16574 tmpf = ccoshf(tmpf);
16575 tmpf = cexpf(tmpf);
16576 tmpf = clogf(tmpf);
16577 tmpf = csinf(tmpf);
16578 tmpf = csinhf(tmpf);
16579 tmpf = csqrtf(tmpf);
16580 tmpf = ctanf(tmpf);
16581 tmpf = ctanhf(tmpf);
16582 tmpf = cpowf(tmpf, tmpf);
16583 tmpf = cprojf(tmpf);
16587 tmpd = ccosh(tmpd);
16591 tmpd = csinh(tmpd);
16592 tmpd = csqrt(tmpd);
16594 tmpd = ctanh(tmpd);
16595 tmpd = cpow(tmpd, tmpd);
16596 tmpd = cproj(tmpd);
16599 tmpld = ccosl(tmpld);
16600 tmpld = ccoshl(tmpld);
16601 tmpld = cexpl(tmpld);
16602 tmpld = clogl(tmpld);
16603 tmpld = csinl(tmpld);
16604 tmpld = csinhl(tmpld);
16605 tmpld = csqrtl(tmpld);
16606 tmpld = ctanl(tmpld);
16607 tmpld = ctanhl(tmpld);
16608 tmpld = cpowl(tmpld, tmpld);
16609 tmpld = cprojl(tmpld);
16615 if ac_fn_cxx_try_link "$LINENO"; then :
16616 glibcxx_cv_c99_complex=yes
16618 glibcxx_cv_c99_complex=no
16620 rm -f core conftest.err conftest.$ac_objext \
16621 conftest$ac_exeext conftest.$ac_ext
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16625 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16626 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16628 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16632 # Check for the existence in <stdio.h> of vscanf, et. al.
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16634 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16635 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16636 $as_echo_n "(cached) " >&6
16639 if test x$gcc_no_link = xyes; then
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16643 #include <stdarg.h>
16644 void foo(char* fmt, ...)
16646 va_list args; va_start(args, fmt);
16647 vfscanf(stderr, "%i", args);
16648 vscanf("%i", args);
16649 vsnprintf(fmt, 0, "%i", args);
16650 vsscanf(fmt, "%i", args);
16655 snprintf("12", 0, "%i");
16660 if ac_fn_cxx_try_compile "$LINENO"; then :
16661 glibcxx_cv_c99_stdio=yes
16663 glibcxx_cv_c99_stdio=no
16665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16667 if test x$gcc_no_link = xyes; then
16668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16673 #include <stdarg.h>
16674 void foo(char* fmt, ...)
16676 va_list args; va_start(args, fmt);
16677 vfscanf(stderr, "%i", args);
16678 vscanf("%i", args);
16679 vsnprintf(fmt, 0, "%i", args);
16680 vsscanf(fmt, "%i", args);
16685 snprintf("12", 0, "%i");
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_stdio=yes
16693 glibcxx_cv_c99_stdio=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16702 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16704 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16706 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16707 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16708 $as_echo_n "(cached) " >&6
16711 if test x$gcc_no_link = xyes; then
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16714 #include <stdlib.h>
16716 volatile long double ld;
16717 volatile unsigned long long ll;
16723 f = strtof("gnu", &tmp);
16724 ld = strtold("gnu", &tmp);
16725 ll = strtoll("gnu", &tmp, 10);
16726 ll = strtoull("gnu", &tmp, 10);
16728 mydivt = lldiv(10,1);
16738 if ac_fn_cxx_try_compile "$LINENO"; then :
16739 glibcxx_cv_c99_stdlib=yes
16741 glibcxx_cv_c99_stdlib=no
16743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16745 if test x$gcc_no_link = xyes; then
16746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16750 #include <stdlib.h>
16752 volatile long double ld;
16753 volatile unsigned long long ll;
16759 f = strtof("gnu", &tmp);
16760 ld = strtold("gnu", &tmp);
16761 ll = strtoll("gnu", &tmp, 10);
16762 ll = strtoull("gnu", &tmp, 10);
16764 mydivt = lldiv(10,1);
16774 if ac_fn_cxx_try_link "$LINENO"; then :
16775 glibcxx_cv_c99_stdlib=yes
16777 glibcxx_cv_c99_stdlib=no
16779 rm -f core conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext conftest.$ac_ext
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16786 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16788 # Check for the existence in <wchar.h> of wcstold, etc.
16789 glibcxx_cv_c99_wchar=no;
16790 if test x"$ac_has_wchar_h" = xyes &&
16791 test x"$ac_has_wctype_h" = xyes; then
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16793 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16812 if ac_fn_cxx_try_compile "$LINENO"; then :
16813 glibcxx_cv_c99_wchar=yes
16815 glibcxx_cv_c99_wchar=no
16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16819 # Checks for wide character functions that may not be present.
16820 # Injection of these is wrapped with guard macros.
16821 # NB: only put functions here, instead of immediately above, if
16822 # absolutely necessary.
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 namespace test { using ::vfwscanf; }
16835 if ac_fn_cxx_try_compile "$LINENO"; then :
16837 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h. */
16845 namespace test { using ::vswscanf; }
16854 if ac_fn_cxx_try_compile "$LINENO"; then :
16856 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 namespace test { using ::vwscanf; }
16873 if ac_fn_cxx_try_compile "$LINENO"; then :
16875 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h. */
16883 namespace test { using ::wcstof; }
16892 if ac_fn_cxx_try_compile "$LINENO"; then :
16894 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 #include <wctype.h>
16905 wint_t t; int i = iswblank(t);
16910 if ac_fn_cxx_try_compile "$LINENO"; then :
16912 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16918 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16921 # Option parsed, now set things appropriately.
16922 if test x"$glibcxx_cv_c99_math" = x"no" ||
16923 test x"$glibcxx_cv_c99_complex" = x"no" ||
16924 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16925 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16926 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16930 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16934 gcc_no_link="$ac_save_gcc_no_link"
16935 LIBS="$ac_save_LIBS"
16936 CXXFLAGS="$ac_save_CXXFLAGS"
16938 ac_cpp='$CPP $CPPFLAGS'
16939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16946 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16948 $as_echo "$enable_c99" >&6; }
16951 # Check whether --enable-concept-checks was given.
16952 if test "${enable_concept_checks+set}" = set; then :
16953 enableval=$enable_concept_checks;
16954 case "$enableval" in
16956 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16960 enable_concept_checks=no
16964 if test $enable_concept_checks = yes; then
16966 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16971 # Check whether --enable-libstdcxx-debug-flags was given.
16972 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16973 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16974 xno | x) enable_libstdcxx_debug_flags= ;;
16976 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16979 enable_libstdcxx_debug_flags="-g3 -O0"
16984 # Option parsed, now set things appropriately
16985 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16989 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16993 $as_echo_n "checking for additional debug build... " >&6; }
16994 # Check whether --enable-libstdcxx-debug was given.
16995 if test "${enable_libstdcxx_debug+set}" = set; then :
16996 enableval=$enable_libstdcxx_debug;
16997 case "$enableval" in
16999 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17003 enable_libstdcxx_debug=no
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17008 $as_echo "$enable_libstdcxx_debug" >&6; }
17013 enable_parallel=no;
17015 # See if configured libgomp/omp.h exists. (libgomp may be in
17016 # noconfigdirs but not explicitly disabled.)
17017 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17018 enable_parallel=yes;
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17021 $as_echo "$as_me: target-libgomp not built" >&6;}
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17025 $as_echo_n "checking for parallel mode support... " >&6; }
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17027 $as_echo "$enable_parallel" >&6; }
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17031 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17032 # Check whether --enable-cxx-flags was given.
17033 if test "${enable_cxx_flags+set}" = set; then :
17034 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17035 xno | x) enable_cxx_flags= ;;
17037 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17045 # Run through flags (either default or command-line) and set anything
17046 # extra (e.g., #defines) that must accompany particular g++ options.
17047 if test -n "$enable_cxx_flags"; then
17048 for f in $enable_cxx_flags; do
17052 *) # and we're trying to pass /what/ exactly?
17053 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17058 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17060 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17064 # Check whether --enable-fully-dynamic-string was given.
17065 if test "${enable_fully_dynamic_string+set}" = set; then :
17066 enableval=$enable_fully_dynamic_string;
17067 case "$enableval" in
17069 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17073 enable_fully_dynamic_string=no
17077 if test $enable_fully_dynamic_string = yes; then
17079 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17084 # Checks for operating systems support that doesn't require linking.
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17088 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17089 if test "${glibcxx_cv_system_error1+set}" = set; then :
17090 $as_echo_n "(cached) " >&6
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17099 int i = EOWNERDEAD;
17104 if ac_fn_c_try_compile "$LINENO"; then :
17105 glibcxx_cv_system_error1=yes
17107 glibcxx_cv_system_error1=no
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17114 $as_echo "$glibcxx_cv_system_error1" >&6; }
17115 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17117 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17121 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17122 if test "${glibcxx_cv_system_error2+set}" = set; then :
17123 $as_echo_n "(cached) " >&6
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17132 int i = ENOTRECOVERABLE;
17137 if ac_fn_c_try_compile "$LINENO"; then :
17138 glibcxx_cv_system_error2=yes
17140 glibcxx_cv_system_error2=no
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17147 $as_echo "$glibcxx_cv_system_error2" >&6; }
17148 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17150 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17154 $as_echo_n "checking for ENOLINK... " >&6; }
17155 if test "${glibcxx_cv_system_error3+set}" = set; then :
17156 $as_echo_n "(cached) " >&6
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17170 if ac_fn_c_try_compile "$LINENO"; then :
17171 glibcxx_cv_system_error3=yes
17173 glibcxx_cv_system_error3=no
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17180 $as_echo "$glibcxx_cv_system_error3" >&6; }
17181 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17183 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17187 $as_echo_n "checking for EPROTO... " >&6; }
17188 if test "${glibcxx_cv_system_error4+set}" = set; then :
17189 $as_echo_n "(cached) " >&6
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17203 if ac_fn_c_try_compile "$LINENO"; then :
17204 glibcxx_cv_system_error4=yes
17206 glibcxx_cv_system_error4=no
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17213 $as_echo "$glibcxx_cv_system_error4" >&6; }
17214 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17216 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17220 $as_echo_n "checking for ENODATA... " >&6; }
17221 if test "${glibcxx_cv_system_error5+set}" = set; then :
17222 $as_echo_n "(cached) " >&6
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17236 if ac_fn_c_try_compile "$LINENO"; then :
17237 glibcxx_cv_system_error5=yes
17239 glibcxx_cv_system_error5=no
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17246 $as_echo "$glibcxx_cv_system_error5" >&6; }
17247 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17249 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17253 $as_echo_n "checking for ENOSR... " >&6; }
17254 if test "${glibcxx_cv_system_error6+set}" = set; then :
17255 $as_echo_n "(cached) " >&6
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17269 if ac_fn_c_try_compile "$LINENO"; then :
17270 glibcxx_cv_system_error6=yes
17272 glibcxx_cv_system_error6=no
17274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17279 $as_echo "$glibcxx_cv_system_error6" >&6; }
17280 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17282 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17286 $as_echo_n "checking for ENOSTR... " >&6; }
17287 if test "${glibcxx_cv_system_error7+set}" = set; then :
17288 $as_echo_n "(cached) " >&6
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17302 if ac_fn_c_try_compile "$LINENO"; then :
17303 glibcxx_cv_system_error7=yes
17305 glibcxx_cv_system_error7=no
17307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17312 $as_echo "$glibcxx_cv_system_error7" >&6; }
17313 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17315 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17319 $as_echo_n "checking for ETIME... " >&6; }
17320 if test "${glibcxx_cv_system_error8+set}" = set; then :
17321 $as_echo_n "(cached) " >&6
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17335 if ac_fn_c_try_compile "$LINENO"; then :
17336 glibcxx_cv_system_error8=yes
17338 glibcxx_cv_system_error8=no
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17345 $as_echo "$glibcxx_cv_system_error8" >&6; }
17346 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17348 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17352 $as_echo_n "checking for EBADMSG... " >&6; }
17353 if test "${glibcxx_cv_system_error9+set}" = set; then :
17354 $as_echo_n "(cached) " >&6
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17368 if ac_fn_c_try_compile "$LINENO"; then :
17369 glibcxx_cv_system_error9=yes
17371 glibcxx_cv_system_error9=no
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17378 $as_echo "$glibcxx_cv_system_error9" >&6; }
17379 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17381 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17385 $as_echo_n "checking for ECANCELED... " >&6; }
17386 if test "${glibcxx_cv_system_error10+set}" = set; then :
17387 $as_echo_n "(cached) " >&6
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17401 if ac_fn_c_try_compile "$LINENO"; then :
17402 glibcxx_cv_system_error10=yes
17404 glibcxx_cv_system_error10=no
17406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17411 $as_echo "$glibcxx_cv_system_error10" >&6; }
17412 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17414 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17418 $as_echo_n "checking for EOVERFLOW... " >&6; }
17419 if test "${glibcxx_cv_system_error11+set}" = set; then :
17420 $as_echo_n "(cached) " >&6
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17434 if ac_fn_c_try_compile "$LINENO"; then :
17435 glibcxx_cv_system_error11=yes
17437 glibcxx_cv_system_error11=no
17439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17444 $as_echo "$glibcxx_cv_system_error11" >&6; }
17445 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17447 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17451 $as_echo_n "checking for ENOTSUP... " >&6; }
17452 if test "${glibcxx_cv_system_error12+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17467 if ac_fn_c_try_compile "$LINENO"; then :
17468 glibcxx_cv_system_error12=yes
17470 glibcxx_cv_system_error12=no
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17477 $as_echo "$glibcxx_cv_system_error12" >&6; }
17478 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17480 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17484 $as_echo_n "checking for EIDRM... " >&6; }
17485 if test "${glibcxx_cv_system_error13+set}" = set; then :
17486 $as_echo_n "(cached) " >&6
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17500 if ac_fn_c_try_compile "$LINENO"; then :
17501 glibcxx_cv_system_error13=yes
17503 glibcxx_cv_system_error13=no
17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17510 $as_echo "$glibcxx_cv_system_error13" >&6; }
17511 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17513 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17517 $as_echo_n "checking for ETXTBSY... " >&6; }
17518 if test "${glibcxx_cv_system_error14+set}" = set; then :
17519 $as_echo_n "(cached) " >&6
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17533 if ac_fn_c_try_compile "$LINENO"; then :
17534 glibcxx_cv_system_error14=yes
17536 glibcxx_cv_system_error14=no
17538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17543 $as_echo "$glibcxx_cv_system_error14" >&6; }
17544 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17546 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17552 # For the streamoff typedef.
17557 ac_cpp='$CXXCPP $CPPFLAGS'
17558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17564 $as_echo_n "checking for int64_t... " >&6; }
17565 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17566 $as_echo_n "(cached) " >&6
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #include <stdint.h>
17580 if ac_fn_cxx_try_compile "$LINENO"; then :
17581 glibcxx_cv_INT64_T=yes
17583 glibcxx_cv_INT64_T=no
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590 if test $glibcxx_cv_INT64_T = yes; then
17592 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17595 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17598 $as_echo_n "checking for int64_t as long... " >&6; }
17599 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17600 $as_echo_n "(cached) " >&6
17603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17605 #include <stdint.h>
17606 template<typename, typename> struct same { enum { value = -1 }; };
17607 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17608 int array[same<int64_t, long>::value];
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618 glibcxx_cv_int64_t_long=yes
17620 glibcxx_cv_int64_t_long=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17627 if test $glibcxx_cv_int64_t_long = yes; then
17629 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17632 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17636 $as_echo_n "checking for int64_t as long long... " >&6; }
17637 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17638 $as_echo_n "(cached) " >&6
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #include <stdint.h>
17644 template<typename, typename> struct same { enum { value = -1 }; };
17645 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17646 int array[same<int64_t, long long>::value];
17655 if ac_fn_cxx_try_compile "$LINENO"; then :
17656 glibcxx_cv_int64_t_long_long=yes
17658 glibcxx_cv_int64_t_long_long=no
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17665 if test $glibcxx_cv_int64_t_long_long = yes; then
17667 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17670 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17675 ac_cpp='$CPP $CPPFLAGS'
17676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17686 ac_cpp='$CXXCPP $CPPFLAGS'
17687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17691 ac_save_CXXFLAGS="$CXXFLAGS"
17692 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17694 $as_echo_n "checking for LFS support... " >&6; }
17695 if test "${glibcxx_cv_LFS+set}" = set; then :
17696 $as_echo_n "(cached) " >&6
17699 if test x$gcc_no_link = xyes; then
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702 #include <unistd.h>
17704 #include <sys/stat.h>
17711 fseeko64(fp, 0, SEEK_CUR);
17713 lseek64(1, 0, SEEK_CUR);
17720 if ac_fn_cxx_try_compile "$LINENO"; then :
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17727 if test x$gcc_no_link = xyes; then
17728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17732 #include <unistd.h>
17734 #include <sys/stat.h>
17741 fseeko64(fp, 0, SEEK_CUR);
17743 lseek64(1, 0, SEEK_CUR);
17750 if ac_fn_cxx_try_link "$LINENO"; then :
17755 rm -f core conftest.err conftest.$ac_objext \
17756 conftest$ac_exeext conftest.$ac_ext
17761 if test $glibcxx_cv_LFS = yes; then
17763 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17767 $as_echo "$glibcxx_cv_LFS" >&6; }
17768 CXXFLAGS="$ac_save_CXXFLAGS"
17770 ac_cpp='$CPP $CPPFLAGS'
17771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777 # For showmanyc_helper().
17778 for ac_header in sys/ioctl.h sys/filio.h
17780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17781 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17782 eval as_val=\$$as_ac_Header
17783 if test "x$as_val" = x""yes; then :
17784 cat >>confdefs.h <<_ACEOF
17785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17796 ac_cpp='$CXXCPP $CPPFLAGS'
17797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17801 ac_save_CXXFLAGS="$CXXFLAGS"
17802 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17805 $as_echo_n "checking for poll... " >&6; }
17806 if test "${glibcxx_cv_POLL+set}" = set; then :
17807 $as_echo_n "(cached) " >&6
17810 if test x$gcc_no_link = xyes; then
17811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812 /* end confdefs.h. */
17817 struct pollfd pfd[1];
17818 pfd[0].events = POLLIN;
17824 if ac_fn_cxx_try_compile "$LINENO"; then :
17825 glibcxx_cv_POLL=yes
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831 if test x$gcc_no_link = xyes; then
17832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17840 struct pollfd pfd[1];
17841 pfd[0].events = POLLIN;
17847 if ac_fn_cxx_try_link "$LINENO"; then :
17848 glibcxx_cv_POLL=yes
17852 rm -f core conftest.err conftest.$ac_objext \
17853 conftest$ac_exeext conftest.$ac_ext
17858 if test $glibcxx_cv_POLL = yes; then
17860 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17864 $as_echo "$glibcxx_cv_POLL" >&6; }
17866 CXXFLAGS="$ac_save_CXXFLAGS"
17868 ac_cpp='$CPP $CPPFLAGS'
17869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17883 ac_save_CXXFLAGS="$CXXFLAGS"
17884 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17887 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17888 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17892 if test x$gcc_no_link = xyes; then
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895 #include <sys/stat.h>
17899 struct stat buffer;
17901 S_ISREG(buffer.st_mode);
17906 if ac_fn_cxx_try_compile "$LINENO"; then :
17907 glibcxx_cv_S_ISREG=yes
17909 glibcxx_cv_S_ISREG=no
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913 if test x$gcc_no_link = xyes; then
17914 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h. */
17918 #include <sys/stat.h>
17922 struct stat buffer;
17924 S_ISREG(buffer.st_mode);
17929 if ac_fn_cxx_try_link "$LINENO"; then :
17930 glibcxx_cv_S_ISREG=yes
17932 glibcxx_cv_S_ISREG=no
17934 rm -f core conftest.err conftest.$ac_objext \
17935 conftest$ac_exeext conftest.$ac_ext
17940 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17941 $as_echo_n "(cached) " >&6
17944 if test x$gcc_no_link = xyes; then
17945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 /* end confdefs.h. */
17947 #include <sys/stat.h>
17951 struct stat buffer;
17953 S_IFREG & buffer.st_mode;
17958 if ac_fn_cxx_try_compile "$LINENO"; then :
17959 glibcxx_cv_S_IFREG=yes
17961 glibcxx_cv_S_IFREG=no
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 if test x$gcc_no_link = xyes; then
17966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 #include <sys/stat.h>
17974 struct stat buffer;
17976 S_IFREG & buffer.st_mode;
17981 if ac_fn_cxx_try_link "$LINENO"; then :
17982 glibcxx_cv_S_IFREG=yes
17984 glibcxx_cv_S_IFREG=no
17986 rm -f core conftest.err conftest.$ac_objext \
17987 conftest$ac_exeext conftest.$ac_ext
17993 if test $glibcxx_cv_S_ISREG = yes; then
17995 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17998 elif test $glibcxx_cv_S_IFREG = yes; then
18000 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18005 $as_echo "$res" >&6; }
18007 CXXFLAGS="$ac_save_CXXFLAGS"
18009 ac_cpp='$CPP $CPPFLAGS'
18010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18017 for ac_header in sys/uio.h
18019 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18020 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18021 cat >>confdefs.h <<_ACEOF
18022 #define HAVE_SYS_UIO_H 1
18033 ac_cpp='$CXXCPP $CPPFLAGS'
18034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18038 ac_save_CXXFLAGS="$CXXFLAGS"
18039 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18042 $as_echo_n "checking for writev... " >&6; }
18043 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18044 $as_echo_n "(cached) " >&6
18047 if test x$gcc_no_link = xyes; then
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <sys/uio.h>
18054 struct iovec iov[2];
18060 if ac_fn_cxx_try_compile "$LINENO"; then :
18061 glibcxx_cv_WRITEV=yes
18063 glibcxx_cv_WRITEV=no
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 if test x$gcc_no_link = xyes; then
18068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18071 /* end confdefs.h. */
18072 #include <sys/uio.h>
18076 struct iovec iov[2];
18082 if ac_fn_cxx_try_link "$LINENO"; then :
18083 glibcxx_cv_WRITEV=yes
18085 glibcxx_cv_WRITEV=no
18087 rm -f core conftest.err conftest.$ac_objext \
18088 conftest$ac_exeext conftest.$ac_ext
18093 if test $glibcxx_cv_WRITEV = yes; then
18095 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18099 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18101 CXXFLAGS="$ac_save_CXXFLAGS"
18103 ac_cpp='$CPP $CPPFLAGS'
18104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18110 # For C99 support to TR1.
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18121 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18122 # undefined and fake C99 facilities may be spuriously enabled.
18123 ac_save_CXXFLAGS="$CXXFLAGS"
18124 CXXFLAGS="$CXXFLAGS -std=c++98"
18126 # Check for the existence of <complex.h> complex math functions used
18128 for ac_header in complex.h
18130 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18131 if test "x$ac_cv_header_complex_h" = x""yes; then :
18132 cat >>confdefs.h <<_ACEOF
18133 #define HAVE_COMPLEX_H 1
18135 ac_has_complex_h=yes
18137 ac_has_complex_h=no
18142 ac_c99_complex_tr1=no;
18143 if test x"$ac_has_complex_h" = x"yes"; then
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18145 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h. */
18148 #include <complex.h>
18152 typedef __complex__ float float_type; float_type tmpf;
18159 typedef __complex__ double double_type; double_type tmpd;
18166 typedef __complex__ long double ld_type; ld_type tmpld;
18178 if ac_fn_cxx_try_compile "$LINENO"; then :
18179 ac_c99_complex_tr1=yes
18181 ac_c99_complex_tr1=no
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18186 $as_echo "$ac_c99_complex_tr1" >&6; }
18187 if test x"$ac_c99_complex_tr1" = x"yes"; then
18189 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18193 # Check for the existence of <ctype.h> functions.
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18195 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18196 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18197 $as_echo_n "(cached) " >&6
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18214 if ac_fn_cxx_try_compile "$LINENO"; then :
18215 glibcxx_cv_c99_ctype_tr1=yes
18217 glibcxx_cv_c99_ctype_tr1=no
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18224 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18225 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18227 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18231 # Check for the existence of <fenv.h> functions.
18232 for ac_header in fenv.h
18234 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18235 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18236 cat >>confdefs.h <<_ACEOF
18237 #define HAVE_FENV_H 1
18246 ac_c99_fenv_tr1=no;
18247 if test x"$ac_has_fenv_h" = x"yes"; then
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18249 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18260 ret = feclearexcept(except);
18261 ret = fegetexceptflag(pflag, except);
18262 ret = feraiseexcept(except);
18263 ret = fesetexceptflag(pflag, except);
18264 ret = fetestexcept(except);
18265 ret = fegetround();
18266 ret = fesetround(mode);
18267 ret = fegetenv(penv);
18268 ret = feholdexcept(penv);
18269 ret = fesetenv(penv);
18270 ret = feupdateenv(penv);
18276 if ac_fn_cxx_try_compile "$LINENO"; then :
18277 ac_c99_fenv_tr1=yes
18281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18284 $as_echo "$ac_c99_fenv_tr1" >&6; }
18285 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18287 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18291 # Check for the existence of <stdint.h> types.
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18293 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18294 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18295 $as_echo_n "(cached) " >&6
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #define __STDC_LIMIT_MACROS
18301 #define __STDC_CONSTANT_MACROS
18302 #include <stdint.h>
18306 typedef int8_t my_int8_t;
18307 my_int8_t i8 = INT8_MIN;
18309 typedef int16_t my_int16_t;
18310 my_int16_t i16 = INT16_MIN;
18312 typedef int32_t my_int32_t;
18313 my_int32_t i32 = INT32_MIN;
18315 typedef int64_t my_int64_t;
18316 my_int64_t i64 = INT64_MIN;
18318 typedef int_fast8_t my_int_fast8_t;
18319 my_int_fast8_t if8 = INT_FAST8_MIN;
18320 if8 = INT_FAST8_MAX;
18321 typedef int_fast16_t my_int_fast16_t;
18322 my_int_fast16_t if16 = INT_FAST16_MIN;
18323 if16 = INT_FAST16_MAX;
18324 typedef int_fast32_t my_int_fast32_t;
18325 my_int_fast32_t if32 = INT_FAST32_MIN;
18326 if32 = INT_FAST32_MAX;
18327 typedef int_fast64_t my_int_fast64_t;
18328 my_int_fast64_t if64 = INT_FAST64_MIN;
18329 if64 = INT_FAST64_MAX;
18330 typedef int_least8_t my_int_least8_t;
18331 my_int_least8_t il8 = INT_LEAST8_MIN;
18332 il8 = INT_LEAST8_MAX;
18333 typedef int_least16_t my_int_least16_t;
18334 my_int_least16_t il16 = INT_LEAST16_MIN;
18335 il16 = INT_LEAST16_MAX;
18336 typedef int_least32_t my_int_least32_t;
18337 my_int_least32_t il32 = INT_LEAST32_MIN;
18338 il32 = INT_LEAST32_MAX;
18339 typedef int_least64_t my_int_least64_t;
18340 my_int_least64_t il64 = INT_LEAST64_MIN;
18341 il64 = INT_LEAST64_MAX;
18342 typedef intmax_t my_intmax_t;
18343 my_intmax_t im = INTMAX_MAX;
18345 typedef intptr_t my_intptr_t;
18346 my_intptr_t ip = INTPTR_MAX;
18348 typedef uint8_t my_uint8_t;
18349 my_uint8_t ui8 = UINT8_MAX;
18351 typedef uint16_t my_uint16_t;
18352 my_uint16_t ui16 = UINT16_MAX;
18354 typedef uint32_t my_uint32_t;
18355 my_uint32_t ui32 = UINT32_MAX;
18357 typedef uint64_t my_uint64_t;
18358 my_uint64_t ui64 = UINT64_MAX;
18360 typedef uint_fast8_t my_uint_fast8_t;
18361 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18362 uif8 = UINT_FAST8_MAX;
18363 typedef uint_fast16_t my_uint_fast16_t;
18364 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18365 uif16 = UINT_FAST16_MAX;
18366 typedef uint_fast32_t my_uint_fast32_t;
18367 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18368 uif32 = UINT_FAST32_MAX;
18369 typedef uint_fast64_t my_uint_fast64_t;
18370 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18371 uif64 = UINT_FAST64_MAX;
18372 typedef uint_least8_t my_uint_least8_t;
18373 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18374 uil8 = UINT_LEAST8_MAX;
18375 typedef uint_least16_t my_uint_least16_t;
18376 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18377 uil16 = UINT_LEAST16_MAX;
18378 typedef uint_least32_t my_uint_least32_t;
18379 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18380 uil32 = UINT_LEAST32_MAX;
18381 typedef uint_least64_t my_uint_least64_t;
18382 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18383 uil64 = UINT_LEAST64_MAX;
18384 typedef uintmax_t my_uintmax_t;
18385 my_uintmax_t uim = UINTMAX_MAX;
18387 typedef uintptr_t my_uintptr_t;
18388 my_uintptr_t uip = UINTPTR_MAX;
18395 if ac_fn_cxx_try_compile "$LINENO"; then :
18396 glibcxx_cv_c99_stdint_tr1=yes
18398 glibcxx_cv_c99_stdint_tr1=no
18400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18405 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18406 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18408 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18412 # Check for the existence of <math.h> functions.
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18414 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18415 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18416 $as_echo_n "(cached) " >&6
18419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18420 /* end confdefs.h. */
18425 typedef double_t my_double_t;
18426 typedef float_t my_float_t;
18439 copysign(0.0, 0.0);
18440 copysignf(0.0f, 0.0f);
18441 copysignl(0.0l, 0.0l);
18457 fma(0.0, 0.0, 0.0);
18458 fmaf(0.0f, 0.0f, 0.0f);
18459 fmal(0.0l, 0.0l, 0.0l);
18467 hypotf(0.0f, 0.0f);
18468 hypotl(0.0l, 0.0l);
18502 nextafter(0.0, 0.0);
18503 nextafterf(0.0f, 0.0f);
18504 nextafterl(0.0l, 0.0l);
18505 nexttoward(0.0, 0.0);
18506 nexttowardf(0.0f, 0.0f);
18507 nexttowardl(0.0l, 0.0l);
18508 remainder(0.0, 0.0);
18509 remainderf(0.0f, 0.0f);
18510 remainderl(0.0l, 0.0l);
18511 remquo(0.0, 0.0, 0);
18512 remquof(0.0f, 0.0f, 0);
18513 remquol(0.0l, 0.0l, 0);
18521 scalblnf(0.0f, 0l);
18522 scalblnl(0.0l, 0l);
18537 if ac_fn_cxx_try_compile "$LINENO"; then :
18538 glibcxx_cv_c99_math_tr1=yes
18540 glibcxx_cv_c99_math_tr1=no
18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18547 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18548 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18550 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18554 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18555 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18556 ac_c99_inttypes_tr1=no;
18557 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18559 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h. */
18562 #include <inttypes.h>
18566 intmax_t i, numer, denom, base;
18569 intmax_t ret = imaxabs(i);
18570 imaxdiv_t dret = imaxdiv(numer, denom);
18571 ret = strtoimax(s, endptr, base);
18572 uintmax_t uret = strtoumax(s, endptr, base);
18578 if ac_fn_cxx_try_compile "$LINENO"; then :
18579 ac_c99_inttypes_tr1=yes
18581 ac_c99_inttypes_tr1=no
18583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18586 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18587 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18589 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18593 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18594 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18595 ac_c99_inttypes_wchar_t_tr1=no;
18596 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18598 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18601 #include <inttypes.h>
18608 intmax_t ret = wcstoimax(s, endptr, base);
18609 uintmax_t uret = wcstoumax(s, endptr, base);
18615 if ac_fn_cxx_try_compile "$LINENO"; then :
18616 ac_c99_inttypes_wchar_t_tr1=yes
18618 ac_c99_inttypes_wchar_t_tr1=no
18620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18623 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18624 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18626 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18630 # Check for the existence of the <stdbool.h> header.
18631 for ac_header in stdbool.h
18633 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18634 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18635 cat >>confdefs.h <<_ACEOF
18636 #define HAVE_STDBOOL_H 1
18644 CXXFLAGS="$ac_save_CXXFLAGS"
18646 ac_cpp='$CPP $CPPFLAGS'
18647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18653 # For common values of EOF, SEEK_CUR, SEEK_END.
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18657 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18658 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18659 $as_echo_n "(cached) " >&6
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18668 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18676 if ac_fn_c_try_compile "$LINENO"; then :
18677 glibcxx_cv_stdio_macros=yes
18679 glibcxx_cv_stdio_macros=no
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18686 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18687 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18689 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18695 # For gettimeofday support.
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18699 $as_echo_n "checking for gettimeofday... " >&6; }
18703 ac_cpp='$CXXCPP $CPPFLAGS'
18704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18708 ac_save_CXXFLAGS="$CXXFLAGS"
18709 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18711 ac_has_gettimeofday=no;
18712 for ac_header in sys/time.h
18714 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18715 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18716 cat >>confdefs.h <<_ACEOF
18717 #define HAVE_SYS_TIME_H 1
18719 ac_has_sys_time_h=yes
18721 ac_has_sys_time_h=no
18726 if test x"$ac_has_sys_time_h" = x"yes"; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18728 $as_echo_n "checking for gettimeofday... " >&6; }
18729 if test x$gcc_no_link = xyes; then
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 #include <sys/time.h>
18736 timeval tv; gettimeofday(&tv, 0);
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742 ac_has_gettimeofday=yes
18744 ac_has_gettimeofday=no
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748 if test x$gcc_no_link = xyes; then
18749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 #include <sys/time.h>
18757 timeval tv; gettimeofday(&tv, 0);
18762 if ac_fn_cxx_try_link "$LINENO"; then :
18763 ac_has_gettimeofday=yes
18765 ac_has_gettimeofday=no
18767 rm -f core conftest.err conftest.$ac_objext \
18768 conftest$ac_exeext conftest.$ac_ext
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18772 $as_echo "$ac_has_gettimeofday" >&6; }
18775 if test x"$ac_has_gettimeofday" = x"yes"; then
18777 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18781 CXXFLAGS="$ac_save_CXXFLAGS"
18783 ac_cpp='$CPP $CPPFLAGS'
18784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18790 # For clock_gettime, nanosleep and sched_yield support.
18791 # NB: The default is [no], because otherwise it requires linking.
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18795 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18796 # Check whether --enable-libstdcxx-time was given.
18797 if test "${enable_libstdcxx_time+set}" = set; then :
18798 enableval=$enable_libstdcxx_time;
18799 case "$enableval" in
18801 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18805 enable_libstdcxx_time=no
18812 ac_cpp='$CXXCPP $CPPFLAGS'
18813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18817 ac_save_CXXFLAGS="$CXXFLAGS"
18818 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18819 ac_save_LIBS="$LIBS"
18821 ac_has_clock_monotonic=no
18822 ac_has_clock_realtime=no
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18824 $as_echo "$enable_libstdcxx_time" >&6; }
18826 if test x"$enable_libstdcxx_time" != x"no"; then
18828 if test x"$enable_libstdcxx_time" = x"rt"; then
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18830 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18831 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18832 $as_echo_n "(cached) " >&6
18834 ac_func_search_save_LIBS=$LIBS
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18838 /* Override any GCC internal prototype to avoid an error.
18839 Use char because int might match the return type of a GCC
18840 builtin and then its argument prototype would still apply. */
18844 char clock_gettime ();
18848 return clock_gettime ();
18853 for ac_lib in '' rt posix4; do
18854 if test -z "$ac_lib"; then
18855 ac_res="none required"
18858 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18860 if test x$gcc_no_link = xyes; then
18861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18863 if ac_fn_cxx_try_link "$LINENO"; then :
18864 ac_cv_search_clock_gettime=$ac_res
18866 rm -f core conftest.err conftest.$ac_objext \
18868 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18872 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18875 ac_cv_search_clock_gettime=no
18877 rm conftest.$ac_ext
18878 LIBS=$ac_func_search_save_LIBS
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18881 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18882 ac_res=$ac_cv_search_clock_gettime
18883 if test "$ac_res" != no; then :
18884 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18889 $as_echo_n "checking for library containing nanosleep... " >&6; }
18890 if test "${ac_cv_search_nanosleep+set}" = set; then :
18891 $as_echo_n "(cached) " >&6
18893 ac_func_search_save_LIBS=$LIBS
18894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h. */
18897 /* Override any GCC internal prototype to avoid an error.
18898 Use char because int might match the return type of a GCC
18899 builtin and then its argument prototype would still apply. */
18907 return nanosleep ();
18912 for ac_lib in '' rt posix4; do
18913 if test -z "$ac_lib"; then
18914 ac_res="none required"
18917 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18919 if test x$gcc_no_link = xyes; then
18920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18922 if ac_fn_cxx_try_link "$LINENO"; then :
18923 ac_cv_search_nanosleep=$ac_res
18925 rm -f core conftest.err conftest.$ac_objext \
18927 if test "${ac_cv_search_nanosleep+set}" = set; then :
18931 if test "${ac_cv_search_nanosleep+set}" = set; then :
18934 ac_cv_search_nanosleep=no
18936 rm conftest.$ac_ext
18937 LIBS=$ac_func_search_save_LIBS
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18940 $as_echo "$ac_cv_search_nanosleep" >&6; }
18941 ac_res=$ac_cv_search_nanosleep
18942 if test "$ac_res" != no; then :
18943 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18949 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18950 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18951 $as_echo_n "(cached) " >&6
18953 ac_func_search_save_LIBS=$LIBS
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18957 /* Override any GCC internal prototype to avoid an error.
18958 Use char because int might match the return type of a GCC
18959 builtin and then its argument prototype would still apply. */
18963 char clock_gettime ();
18967 return clock_gettime ();
18972 for ac_lib in '' posix4; do
18973 if test -z "$ac_lib"; then
18974 ac_res="none required"
18977 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18979 if test x$gcc_no_link = xyes; then
18980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18982 if ac_fn_cxx_try_link "$LINENO"; then :
18983 ac_cv_search_clock_gettime=$ac_res
18985 rm -f core conftest.err conftest.$ac_objext \
18987 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18991 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18994 ac_cv_search_clock_gettime=no
18996 rm conftest.$ac_ext
18997 LIBS=$ac_func_search_save_LIBS
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19000 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19001 ac_res=$ac_cv_search_clock_gettime
19002 if test "$ac_res" != no; then :
19003 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19008 $as_echo_n "checking for library containing nanosleep... " >&6; }
19009 if test "${ac_cv_search_nanosleep+set}" = set; then :
19010 $as_echo_n "(cached) " >&6
19012 ac_func_search_save_LIBS=$LIBS
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19016 /* Override any GCC internal prototype to avoid an error.
19017 Use char because int might match the return type of a GCC
19018 builtin and then its argument prototype would still apply. */
19026 return nanosleep ();
19031 for ac_lib in '' posix4; do
19032 if test -z "$ac_lib"; then
19033 ac_res="none required"
19036 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19038 if test x$gcc_no_link = xyes; then
19039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19041 if ac_fn_cxx_try_link "$LINENO"; then :
19042 ac_cv_search_nanosleep=$ac_res
19044 rm -f core conftest.err conftest.$ac_objext \
19046 if test "${ac_cv_search_nanosleep+set}" = set; then :
19050 if test "${ac_cv_search_nanosleep+set}" = set; then :
19053 ac_cv_search_nanosleep=no
19055 rm conftest.$ac_ext
19056 LIBS=$ac_func_search_save_LIBS
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19059 $as_echo "$ac_cv_search_nanosleep" >&6; }
19060 ac_res=$ac_cv_search_nanosleep
19061 if test "$ac_res" != no; then :
19062 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19068 case "$ac_cv_search_clock_gettime" in
19069 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19072 case "$ac_cv_search_nanosleep" in
19073 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19078 $as_echo_n "checking for library containing sched_yield... " >&6; }
19079 if test "${ac_cv_search_sched_yield+set}" = set; then :
19080 $as_echo_n "(cached) " >&6
19082 ac_func_search_save_LIBS=$LIBS
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19086 /* Override any GCC internal prototype to avoid an error.
19087 Use char because int might match the return type of a GCC
19088 builtin and then its argument prototype would still apply. */
19092 char sched_yield ();
19096 return sched_yield ();
19101 for ac_lib in '' rt posix4; do
19102 if test -z "$ac_lib"; then
19103 ac_res="none required"
19106 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19108 if test x$gcc_no_link = xyes; then
19109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19111 if ac_fn_cxx_try_link "$LINENO"; then :
19112 ac_cv_search_sched_yield=$ac_res
19114 rm -f core conftest.err conftest.$ac_objext \
19116 if test "${ac_cv_search_sched_yield+set}" = set; then :
19120 if test "${ac_cv_search_sched_yield+set}" = set; then :
19123 ac_cv_search_sched_yield=no
19125 rm conftest.$ac_ext
19126 LIBS=$ac_func_search_save_LIBS
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19129 $as_echo "$ac_cv_search_sched_yield" >&6; }
19130 ac_res=$ac_cv_search_sched_yield
19131 if test "$ac_res" != no; then :
19132 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19137 case "$ac_cv_search_sched_yield" in
19139 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19141 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19145 if test x"$enable_libstdcxx_time" = x"rt"; then
19146 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19148 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19154 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19159 for ac_header in unistd.h
19161 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19162 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_UNISTD_H 1
19166 ac_has_unistd_h=yes
19174 if test x"$ac_has_unistd_h" = x"yes"; then
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19176 $as_echo_n "checking for monotonic clock... " >&6; }
19177 if test x$gcc_no_link = xyes; then
19178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 #include <unistd.h>
19188 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19191 clock_gettime(CLOCK_MONOTONIC, &tp);
19197 if ac_fn_cxx_try_link "$LINENO"; then :
19198 ac_has_clock_monotonic=yes
19200 ac_has_clock_monotonic=no
19202 rm -f core conftest.err conftest.$ac_objext \
19203 conftest$ac_exeext conftest.$ac_ext
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19206 $as_echo "$ac_has_clock_monotonic" >&6; }
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19209 $as_echo_n "checking for realtime clock... " >&6; }
19210 if test x$gcc_no_link = xyes; then
19211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19215 #include <unistd.h>
19221 #if _POSIX_TIMERS > 0
19224 clock_gettime(CLOCK_REALTIME, &tp);
19230 if ac_fn_cxx_try_link "$LINENO"; then :
19231 ac_has_clock_realtime=yes
19233 ac_has_clock_realtime=no
19235 rm -f core conftest.err conftest.$ac_objext \
19236 conftest$ac_exeext conftest.$ac_ext
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19239 $as_echo "$ac_has_clock_realtime" >&6; }
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19242 $as_echo_n "checking for nanosleep... " >&6; }
19243 if test x$gcc_no_link = xyes; then
19244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h. */
19248 #include <unistd.h>
19254 #if _POSIX_TIMERS > 0
19263 if ac_fn_cxx_try_link "$LINENO"; then :
19264 ac_has_nanosleep=yes
19266 ac_has_nanosleep=no
19268 rm -f core conftest.err conftest.$ac_objext \
19269 conftest$ac_exeext conftest.$ac_ext
19271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19272 $as_echo "$ac_has_nanosleep" >&6; }
19276 if test x"$ac_has_clock_monotonic" = x"yes"; then
19278 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19282 if test x"$ac_has_clock_realtime" = x"yes"; then
19284 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19288 if test x"$ac_has_nanosleep" = x"yes"; then
19290 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19296 CXXFLAGS="$ac_save_CXXFLAGS"
19297 LIBS="$ac_save_LIBS"
19299 ac_cpp='$CPP $CPPFLAGS'
19300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19306 # For gthread support
19310 ac_cpp='$CXXCPP $CPPFLAGS'
19311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19316 ac_save_CXXFLAGS="$CXXFLAGS"
19317 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19319 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19320 case $target_thread_file in
19322 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19326 $as_echo_n "checking for gthreads library... " >&6; }
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19335 #ifndef __GTHREADS_CXX0X
19339 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19340 #if (defined(_PTHREADS) \
19341 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19349 if ac_fn_cxx_try_compile "$LINENO"; then :
19350 ac_has_gthreads=yes
19354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19357 $as_echo "$ac_has_gthreads" >&6; }
19359 if test x"$ac_has_gthreads" = x"yes"; then
19361 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19365 CXXFLAGS="$ac_save_CXXFLAGS"
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19375 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19376 if test "x$ac_cv_header_locale_h" = x""yes; then :
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19379 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19380 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19381 $as_echo_n "(cached) " >&6
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19385 #include <locale.h>
19394 if ac_fn_c_try_compile "$LINENO"; then :
19395 ac_cv_val_LC_MESSAGES=yes
19397 ac_cv_val_LC_MESSAGES=no
19399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19402 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19403 if test $ac_cv_val_LC_MESSAGES = yes; then
19405 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19414 # Check for available headers.
19415 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19416 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19417 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19418 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19421 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19422 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19423 eval as_val=\$$as_ac_Header
19424 if test "x$as_val" = x""yes; then :
19425 cat >>confdefs.h <<_ACEOF
19426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19434 # Only do link tests if native. Else, hardcode.
19435 if $GLIBCXX_IS_NATIVE; then
19437 # We can do more elaborate tests that assume a working linker.
19442 # Check whether --with-gnu-ld was given.
19443 if test "${with_gnu_ld+set}" = set; then :
19444 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19450 if test "$GCC" = yes; then
19451 # Check if gcc -print-prog-name=ld gives a path.
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19453 $as_echo_n "checking for ld used by $CC... " >&6; }
19456 # gcc leaves a trailing carriage return which upsets mingw
19457 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19459 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19462 # Accept absolute paths.
19464 re_direlt='/[^/][^/]*/\.\./'
19465 # Canonicalize the pathname of ld
19466 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19467 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19468 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19470 test -z "$LD" && LD="$ac_prog"
19473 # If it fails, then pretend we aren't using GCC.
19477 # If it is relative, then search for the first ld in PATH.
19478 with_gnu_ld=unknown
19481 elif test "$with_gnu_ld" = yes; then
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19483 $as_echo_n "checking for GNU ld... " >&6; }
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19486 $as_echo_n "checking for non-GNU ld... " >&6; }
19488 if test "${lt_cv_path_LD+set}" = set; then :
19489 $as_echo_n "(cached) " >&6
19491 if test -z "$LD"; then
19492 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19493 for ac_dir in $PATH; do
19495 test -z "$ac_dir" && ac_dir=.
19496 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19497 lt_cv_path_LD="$ac_dir/$ac_prog"
19498 # Check to see if the program is GNU ld. I'd rather use --version,
19499 # but apparently some variants of GNU ld only accept -v.
19500 # Break only if it was the GNU/non-GNU ld that we prefer.
19501 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19502 *GNU* | *'with BFD'*)
19503 test "$with_gnu_ld" != no && break
19506 test "$with_gnu_ld" != yes && break
19513 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19517 LD="$lt_cv_path_LD"
19518 if test -n "$LD"; then
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19520 $as_echo "$LD" >&6; }
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19523 $as_echo "no" >&6; }
19525 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19528 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19529 $as_echo_n "(cached) " >&6
19531 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19532 case `$LD -v 2>&1 </dev/null` in
19533 *GNU* | *'with BFD'*)
19534 lt_cv_prog_gnu_ld=yes
19537 lt_cv_prog_gnu_ld=no
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19542 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19543 with_gnu_ld=$lt_cv_prog_gnu_ld
19551 # If we're not using GNU ld, then there's no point in even trying these
19552 # tests. Check for that first. We should have already tested for gld
19553 # by now (in libtool), but require it now just to be safe...
19554 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19555 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19559 # The name set by libtool depends on the version of libtool. Shame on us
19560 # for depending on an impl detail, but c'est la vie. Older versions used
19561 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19562 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19563 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19564 # set (hence we're using an older libtool), then set it.
19565 if test x${with_gnu_ld+set} != xset; then
19566 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19567 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19570 with_gnu_ld=$ac_cv_prog_gnu_ld
19574 # Start by getting the version number. I think the libtool test already
19575 # does some of this, but throws away the result.
19576 glibcxx_ld_is_gold=no
19577 if test x"$with_gnu_ld" = x"yes"; then
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19579 $as_echo_n "checking for ld version... " >&6; }
19581 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19582 glibcxx_ld_is_gold=yes
19584 ldver=`$LD --version 2>/dev/null |
19585 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'`
19587 glibcxx_gnu_ld_version=`echo $ldver | \
19588 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19590 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19593 # Set --gc-sections.
19594 glibcxx_have_gc_sections=no
19595 if test "$glibcxx_ld_is_gold" = "yes"; then
19596 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19597 glibcxx_have_gc_sections=yes
19600 glibcxx_gcsections_min_ld=21602
19601 if test x"$with_gnu_ld" = x"yes" &&
19602 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19603 glibcxx_have_gc_sections=yes
19606 if test "$glibcxx_have_gc_sections" = "yes"; then
19607 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19608 # NB: This flag only works reliably after 2.16.1. Configure tests
19609 # for this are difficult, so hard wire a value that should work.
19611 ac_test_CFLAGS="${CFLAGS+set}"
19612 ac_save_CFLAGS="$CFLAGS"
19613 CFLAGS='-Wl,--gc-sections'
19615 # Check for -Wl,--gc-sections
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19617 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19618 if test x$gcc_no_link = xyes; then
19619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623 int one(void) { return 1; }
19624 int two(void) { return 2; }
19634 if ac_fn_c_try_link "$LINENO"; then :
19639 rm -f core conftest.err conftest.$ac_objext \
19640 conftest$ac_exeext conftest.$ac_ext
19641 if test "$ac_gcsections" = "yes"; then
19644 if $CC -c conftest.c; then
19645 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19646 grep "Warning: gc-sections option ignored" > /dev/null; then
19650 rm -f conftest.c conftest.o conftest
19652 if test "$ac_gcsections" = "yes"; then
19653 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19656 $as_echo "$ac_gcsections" >&6; }
19658 if test "$ac_test_CFLAGS" = set; then
19659 CFLAGS="$ac_save_CFLAGS"
19661 # this is the suspicious part
19667 # Note this is only for shared objects.
19669 if test x"$with_gnu_ld" = x"yes"; then
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19671 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19672 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19673 if test -n "$cxx_z_relo"; then
19674 OPT_LDFLAGS="-Wl,-z,relro"
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19678 $as_echo "$ac_ld_relro" >&6; }
19681 # Set linker optimization flags.
19682 if test x"$with_gnu_ld" = x"yes"; then
19683 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19690 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19691 ac_save_CXXFLAGS="$CXXFLAGS"
19692 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19695 $as_echo_n "checking for sin in -lm... " >&6; }
19696 if test "${ac_cv_lib_m_sin+set}" = set; then :
19697 $as_echo_n "(cached) " >&6
19699 ac_check_lib_save_LIBS=$LIBS
19701 if test x$gcc_no_link = xyes; then
19702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19707 /* Override any GCC internal prototype to avoid an error.
19708 Use char because int might match the return type of a GCC
19709 builtin and then its argument prototype would still apply. */
19722 if ac_fn_c_try_link "$LINENO"; then :
19723 ac_cv_lib_m_sin=yes
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19729 LIBS=$ac_check_lib_save_LIBS
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19732 $as_echo "$ac_cv_lib_m_sin" >&6; }
19733 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19737 ac_save_LIBS="$LIBS"
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19743 $as_echo_n "checking for isinf declaration... " >&6; }
19744 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19745 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19746 $as_echo_n "(cached) " >&6
19751 ac_cpp='$CXXCPP $CPPFLAGS'
19752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h. */
19759 #ifdef HAVE_IEEEFP_H
19760 #include <ieeefp.h>
19771 if ac_fn_cxx_try_compile "$LINENO"; then :
19772 glibcxx_cv_func_isinf_use=yes
19774 glibcxx_cv_func_isinf_use=no
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19778 ac_cpp='$CPP $CPPFLAGS'
19779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19788 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19790 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19791 for ac_func in isinf
19793 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19794 if test "x$ac_cv_func_isinf" = x""yes; then :
19795 cat >>confdefs.h <<_ACEOF
19796 #define HAVE_ISINF 1
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19805 $as_echo_n "checking for _isinf declaration... " >&6; }
19806 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19807 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19808 $as_echo_n "(cached) " >&6
19813 ac_cpp='$CXXCPP $CPPFLAGS'
19814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19821 #ifdef HAVE_IEEEFP_H
19822 #include <ieeefp.h>
19833 if ac_fn_cxx_try_compile "$LINENO"; then :
19834 glibcxx_cv_func__isinf_use=yes
19836 glibcxx_cv_func__isinf_use=no
19838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 ac_cpp='$CPP $CPPFLAGS'
19841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19850 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19852 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19853 for ac_func in _isinf
19855 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19856 if test "x$ac_cv_func__isinf" = x""yes; then :
19857 cat >>confdefs.h <<_ACEOF
19858 #define HAVE__ISINF 1
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19872 $as_echo_n "checking for isnan declaration... " >&6; }
19873 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19874 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19875 $as_echo_n "(cached) " >&6
19880 ac_cpp='$CXXCPP $CPPFLAGS'
19881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19886 /* end confdefs.h. */
19888 #ifdef HAVE_IEEEFP_H
19889 #include <ieeefp.h>
19900 if ac_fn_cxx_try_compile "$LINENO"; then :
19901 glibcxx_cv_func_isnan_use=yes
19903 glibcxx_cv_func_isnan_use=no
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 ac_cpp='$CPP $CPPFLAGS'
19908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19917 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19919 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19920 for ac_func in isnan
19922 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19923 if test "x$ac_cv_func_isnan" = x""yes; then :
19924 cat >>confdefs.h <<_ACEOF
19925 #define HAVE_ISNAN 1
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19934 $as_echo_n "checking for _isnan declaration... " >&6; }
19935 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19936 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19937 $as_echo_n "(cached) " >&6
19942 ac_cpp='$CXXCPP $CPPFLAGS'
19943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19948 /* end confdefs.h. */
19950 #ifdef HAVE_IEEEFP_H
19951 #include <ieeefp.h>
19962 if ac_fn_cxx_try_compile "$LINENO"; then :
19963 glibcxx_cv_func__isnan_use=yes
19965 glibcxx_cv_func__isnan_use=no
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 ac_cpp='$CPP $CPPFLAGS'
19970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19979 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19981 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19982 for ac_func in _isnan
19984 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19985 if test "x$ac_cv_func__isnan" = x""yes; then :
19986 cat >>confdefs.h <<_ACEOF
19987 #define HAVE__ISNAN 1
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20001 $as_echo_n "checking for finite declaration... " >&6; }
20002 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20003 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20004 $as_echo_n "(cached) " >&6
20009 ac_cpp='$CXXCPP $CPPFLAGS'
20010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20017 #ifdef HAVE_IEEEFP_H
20018 #include <ieeefp.h>
20029 if ac_fn_cxx_try_compile "$LINENO"; then :
20030 glibcxx_cv_func_finite_use=yes
20032 glibcxx_cv_func_finite_use=no
20034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 ac_cpp='$CPP $CPPFLAGS'
20037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20046 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20048 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20049 for ac_func in finite
20051 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20052 if test "x$ac_cv_func_finite" = x""yes; then :
20053 cat >>confdefs.h <<_ACEOF
20054 #define HAVE_FINITE 1
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20063 $as_echo_n "checking for _finite declaration... " >&6; }
20064 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20065 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20066 $as_echo_n "(cached) " >&6
20071 ac_cpp='$CXXCPP $CPPFLAGS'
20072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h. */
20079 #ifdef HAVE_IEEEFP_H
20080 #include <ieeefp.h>
20091 if ac_fn_cxx_try_compile "$LINENO"; then :
20092 glibcxx_cv_func__finite_use=yes
20094 glibcxx_cv_func__finite_use=no
20096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20108 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20110 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20111 for ac_func in _finite
20113 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20114 if test "x$ac_cv_func__finite" = x""yes; then :
20115 cat >>confdefs.h <<_ACEOF
20116 #define HAVE__FINITE 1
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20130 $as_echo_n "checking for sincos declaration... " >&6; }
20131 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20132 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20133 $as_echo_n "(cached) " >&6
20138 ac_cpp='$CXXCPP $CPPFLAGS'
20139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20154 if ac_fn_cxx_try_compile "$LINENO"; then :
20155 glibcxx_cv_func_sincos_use=yes
20157 glibcxx_cv_func_sincos_use=no
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 ac_cpp='$CPP $CPPFLAGS'
20162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20171 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20173 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20174 for ac_func in sincos
20176 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20177 if test "x$ac_cv_func_sincos" = x""yes; then :
20178 cat >>confdefs.h <<_ACEOF
20179 #define HAVE_SINCOS 1
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20188 $as_echo_n "checking for _sincos declaration... " >&6; }
20189 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20190 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20191 $as_echo_n "(cached) " >&6
20196 ac_cpp='$CXXCPP $CPPFLAGS'
20197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20212 if ac_fn_cxx_try_compile "$LINENO"; then :
20213 glibcxx_cv_func__sincos_use=yes
20215 glibcxx_cv_func__sincos_use=no
20217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20219 ac_cpp='$CPP $CPPFLAGS'
20220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20229 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20231 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20232 for ac_func in _sincos
20234 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20235 if test "x$ac_cv_func__sincos" = x""yes; then :
20236 cat >>confdefs.h <<_ACEOF
20237 #define HAVE__SINCOS 1
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20251 $as_echo_n "checking for fpclass declaration... " >&6; }
20252 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20253 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20254 $as_echo_n "(cached) " >&6
20259 ac_cpp='$CXXCPP $CPPFLAGS'
20260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20267 #ifdef HAVE_IEEEFP_H
20268 #include <ieeefp.h>
20279 if ac_fn_cxx_try_compile "$LINENO"; then :
20280 glibcxx_cv_func_fpclass_use=yes
20282 glibcxx_cv_func_fpclass_use=no
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20286 ac_cpp='$CPP $CPPFLAGS'
20287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20296 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20298 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20299 for ac_func in fpclass
20301 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20302 if test "x$ac_cv_func_fpclass" = x""yes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_FPCLASS 1
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20313 $as_echo_n "checking for _fpclass declaration... " >&6; }
20314 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20315 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20316 $as_echo_n "(cached) " >&6
20321 ac_cpp='$CXXCPP $CPPFLAGS'
20322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20329 #ifdef HAVE_IEEEFP_H
20330 #include <ieeefp.h>
20341 if ac_fn_cxx_try_compile "$LINENO"; then :
20342 glibcxx_cv_func__fpclass_use=yes
20344 glibcxx_cv_func__fpclass_use=no
20346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20358 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20360 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20361 for ac_func in _fpclass
20363 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20364 if test "x$ac_cv_func__fpclass" = x""yes; then :
20365 cat >>confdefs.h <<_ACEOF
20366 #define HAVE__FPCLASS 1
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20380 $as_echo_n "checking for qfpclass declaration... " >&6; }
20381 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20382 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20383 $as_echo_n "(cached) " >&6
20388 ac_cpp='$CXXCPP $CPPFLAGS'
20389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20394 /* end confdefs.h. */
20396 #ifdef HAVE_IEEEFP_H
20397 #include <ieeefp.h>
20408 if ac_fn_cxx_try_compile "$LINENO"; then :
20409 glibcxx_cv_func_qfpclass_use=yes
20411 glibcxx_cv_func_qfpclass_use=no
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20415 ac_cpp='$CPP $CPPFLAGS'
20416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20425 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20427 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20428 for ac_func in qfpclass
20430 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20431 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20432 cat >>confdefs.h <<_ACEOF
20433 #define HAVE_QFPCLASS 1
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20442 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20443 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20444 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20445 $as_echo_n "(cached) " >&6
20450 ac_cpp='$CXXCPP $CPPFLAGS'
20451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20458 #ifdef HAVE_IEEEFP_H
20459 #include <ieeefp.h>
20470 if ac_fn_cxx_try_compile "$LINENO"; then :
20471 glibcxx_cv_func__qfpclass_use=yes
20473 glibcxx_cv_func__qfpclass_use=no
20475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20477 ac_cpp='$CPP $CPPFLAGS'
20478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20487 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20489 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20490 for ac_func in _qfpclass
20492 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20493 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20494 cat >>confdefs.h <<_ACEOF
20495 #define HAVE__QFPCLASS 1
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20509 $as_echo_n "checking for hypot declaration... " >&6; }
20510 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20511 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20512 $as_echo_n "(cached) " >&6
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20533 if ac_fn_cxx_try_compile "$LINENO"; then :
20534 glibcxx_cv_func_hypot_use=yes
20536 glibcxx_cv_func_hypot_use=no
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20540 ac_cpp='$CPP $CPPFLAGS'
20541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20550 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20552 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20553 for ac_func in hypot
20555 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20556 if test "x$ac_cv_func_hypot" = x""yes; then :
20557 cat >>confdefs.h <<_ACEOF
20558 #define HAVE_HYPOT 1
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20567 $as_echo_n "checking for _hypot declaration... " >&6; }
20568 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20569 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20570 $as_echo_n "(cached) " >&6
20575 ac_cpp='$CXXCPP $CPPFLAGS'
20576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20581 /* end confdefs.h. */
20591 if ac_fn_cxx_try_compile "$LINENO"; then :
20592 glibcxx_cv_func__hypot_use=yes
20594 glibcxx_cv_func__hypot_use=no
20596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20598 ac_cpp='$CPP $CPPFLAGS'
20599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20608 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20610 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20611 for ac_func in _hypot
20613 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20614 if test "x$ac_cv_func__hypot" = x""yes; then :
20615 cat >>confdefs.h <<_ACEOF
20616 #define HAVE__HYPOT 1
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20630 $as_echo_n "checking for float trig functions... " >&6; }
20631 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20632 $as_echo_n "(cached) " >&6
20637 ac_cpp='$CXXCPP $CPPFLAGS'
20638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20643 /* end confdefs.h. */
20648 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20653 if ac_fn_cxx_try_compile "$LINENO"; then :
20654 glibcxx_cv_func_float_trig_use=yes
20656 glibcxx_cv_func_float_trig_use=no
20658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660 ac_cpp='$CPP $CPPFLAGS'
20661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20668 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20669 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20670 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20674 eval as_val=\$$as_ac_var
20675 if test "x$as_val" = x""yes; then :
20676 cat >>confdefs.h <<_ACEOF
20677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20685 $as_echo_n "checking for _float trig functions... " >&6; }
20686 if test "${glibcxx_cv_func__float_trig_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. */
20703 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20708 if ac_fn_cxx_try_compile "$LINENO"; then :
20709 glibcxx_cv_func__float_trig_use=yes
20711 glibcxx_cv_func__float_trig_use=no
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20715 ac_cpp='$CPP $CPPFLAGS'
20716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20723 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20724 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20725 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20727 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20728 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20729 eval as_val=\$$as_ac_var
20730 if test "x$as_val" = x""yes; then :
20731 cat >>confdefs.h <<_ACEOF
20732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20746 $as_echo_n "checking for float round functions... " >&6; }
20747 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20748 $as_echo_n "(cached) " >&6
20753 ac_cpp='$CXXCPP $CPPFLAGS'
20754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20764 ceilf (0); floorf (0);
20769 if ac_fn_cxx_try_compile "$LINENO"; then :
20770 glibcxx_cv_func_float_round_use=yes
20772 glibcxx_cv_func_float_round_use=no
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20776 ac_cpp='$CPP $CPPFLAGS'
20777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20784 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20785 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20786 for ac_func in ceilf floorf
20788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20790 eval as_val=\$$as_ac_var
20791 if test "x$as_val" = x""yes; then :
20792 cat >>confdefs.h <<_ACEOF
20793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20801 $as_echo_n "checking for _float round functions... " >&6; }
20802 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20803 $as_echo_n "(cached) " >&6
20808 ac_cpp='$CXXCPP $CPPFLAGS'
20809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20819 _ceilf (0); _floorf (0);
20824 if ac_fn_cxx_try_compile "$LINENO"; then :
20825 glibcxx_cv_func__float_round_use=yes
20827 glibcxx_cv_func__float_round_use=no
20829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20831 ac_cpp='$CPP $CPPFLAGS'
20832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20839 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20840 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20841 for ac_func in _ceilf _floorf
20843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20845 eval as_val=\$$as_ac_var
20846 if test "x$as_val" = x""yes; then :
20847 cat >>confdefs.h <<_ACEOF
20848 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20863 $as_echo_n "checking for expf declaration... " >&6; }
20864 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20865 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20866 $as_echo_n "(cached) " >&6
20871 ac_cpp='$CXXCPP $CPPFLAGS'
20872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20877 /* end confdefs.h. */
20879 #ifdef HAVE_IEEEFP_H
20880 #include <ieeefp.h>
20891 if ac_fn_cxx_try_compile "$LINENO"; then :
20892 glibcxx_cv_func_expf_use=yes
20894 glibcxx_cv_func_expf_use=no
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 ac_cpp='$CPP $CPPFLAGS'
20899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20908 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20910 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20911 for ac_func in expf
20913 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20914 if test "x$ac_cv_func_expf" = x""yes; then :
20915 cat >>confdefs.h <<_ACEOF
20916 #define HAVE_EXPF 1
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20925 $as_echo_n "checking for _expf declaration... " >&6; }
20926 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20927 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20928 $as_echo_n "(cached) " >&6
20933 ac_cpp='$CXXCPP $CPPFLAGS'
20934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20941 #ifdef HAVE_IEEEFP_H
20942 #include <ieeefp.h>
20953 if ac_fn_cxx_try_compile "$LINENO"; then :
20954 glibcxx_cv_func__expf_use=yes
20956 glibcxx_cv_func__expf_use=no
20958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 ac_cpp='$CPP $CPPFLAGS'
20961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20970 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20972 if test x$glibcxx_cv_func__expf_use = x"yes"; then
20973 for ac_func in _expf
20975 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20976 if test "x$ac_cv_func__expf" = x""yes; then :
20977 cat >>confdefs.h <<_ACEOF
20978 #define HAVE__EXPF 1
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20992 $as_echo_n "checking for isnanf declaration... " >&6; }
20993 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20994 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20995 $as_echo_n "(cached) " >&6
21000 ac_cpp='$CXXCPP $CPPFLAGS'
21001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21008 #ifdef HAVE_IEEEFP_H
21009 #include <ieeefp.h>
21020 if ac_fn_cxx_try_compile "$LINENO"; then :
21021 glibcxx_cv_func_isnanf_use=yes
21023 glibcxx_cv_func_isnanf_use=no
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21027 ac_cpp='$CPP $CPPFLAGS'
21028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21037 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21039 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21040 for ac_func in isnanf
21042 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21043 if test "x$ac_cv_func_isnanf" = x""yes; then :
21044 cat >>confdefs.h <<_ACEOF
21045 #define HAVE_ISNANF 1
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21054 $as_echo_n "checking for _isnanf declaration... " >&6; }
21055 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21056 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21057 $as_echo_n "(cached) " >&6
21062 ac_cpp='$CXXCPP $CPPFLAGS'
21063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21070 #ifdef HAVE_IEEEFP_H
21071 #include <ieeefp.h>
21082 if ac_fn_cxx_try_compile "$LINENO"; then :
21083 glibcxx_cv_func__isnanf_use=yes
21085 glibcxx_cv_func__isnanf_use=no
21087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21089 ac_cpp='$CPP $CPPFLAGS'
21090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21099 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21101 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21102 for ac_func in _isnanf
21104 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21105 if test "x$ac_cv_func__isnanf" = x""yes; then :
21106 cat >>confdefs.h <<_ACEOF
21107 #define HAVE__ISNANF 1
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21121 $as_echo_n "checking for isinff declaration... " >&6; }
21122 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21123 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21124 $as_echo_n "(cached) " >&6
21129 ac_cpp='$CXXCPP $CPPFLAGS'
21130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21135 /* end confdefs.h. */
21137 #ifdef HAVE_IEEEFP_H
21138 #include <ieeefp.h>
21149 if ac_fn_cxx_try_compile "$LINENO"; then :
21150 glibcxx_cv_func_isinff_use=yes
21152 glibcxx_cv_func_isinff_use=no
21154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21156 ac_cpp='$CPP $CPPFLAGS'
21157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21166 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21168 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21169 for ac_func in isinff
21171 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21172 if test "x$ac_cv_func_isinff" = x""yes; then :
21173 cat >>confdefs.h <<_ACEOF
21174 #define HAVE_ISINFF 1
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21183 $as_echo_n "checking for _isinff declaration... " >&6; }
21184 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21185 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21186 $as_echo_n "(cached) " >&6
21191 ac_cpp='$CXXCPP $CPPFLAGS'
21192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21197 /* end confdefs.h. */
21199 #ifdef HAVE_IEEEFP_H
21200 #include <ieeefp.h>
21211 if ac_fn_cxx_try_compile "$LINENO"; then :
21212 glibcxx_cv_func__isinff_use=yes
21214 glibcxx_cv_func__isinff_use=no
21216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21218 ac_cpp='$CPP $CPPFLAGS'
21219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21228 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21230 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21231 for ac_func in _isinff
21233 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21234 if test "x$ac_cv_func__isinff" = x""yes; then :
21235 cat >>confdefs.h <<_ACEOF
21236 #define HAVE__ISINFF 1
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21250 $as_echo_n "checking for atan2f declaration... " >&6; }
21251 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21252 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21253 $as_echo_n "(cached) " >&6
21258 ac_cpp='$CXXCPP $CPPFLAGS'
21259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 /* end confdefs.h. */
21274 if ac_fn_cxx_try_compile "$LINENO"; then :
21275 glibcxx_cv_func_atan2f_use=yes
21277 glibcxx_cv_func_atan2f_use=no
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21281 ac_cpp='$CPP $CPPFLAGS'
21282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21291 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21293 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21294 for ac_func in atan2f
21296 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21297 if test "x$ac_cv_func_atan2f" = x""yes; then :
21298 cat >>confdefs.h <<_ACEOF
21299 #define HAVE_ATAN2F 1
21307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21308 $as_echo_n "checking for _atan2f declaration... " >&6; }
21309 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21310 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21311 $as_echo_n "(cached) " >&6
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21322 /* end confdefs.h. */
21332 if ac_fn_cxx_try_compile "$LINENO"; then :
21333 glibcxx_cv_func__atan2f_use=yes
21335 glibcxx_cv_func__atan2f_use=no
21337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21339 ac_cpp='$CPP $CPPFLAGS'
21340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21349 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21351 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21352 for ac_func in _atan2f
21354 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21355 if test "x$ac_cv_func__atan2f" = x""yes; then :
21356 cat >>confdefs.h <<_ACEOF
21357 #define HAVE__ATAN2F 1
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21371 $as_echo_n "checking for fabsf declaration... " >&6; }
21372 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21373 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21374 $as_echo_n "(cached) " >&6
21379 ac_cpp='$CXXCPP $CPPFLAGS'
21380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21385 /* end confdefs.h. */
21387 #ifdef HAVE_IEEEFP_H
21388 #include <ieeefp.h>
21399 if ac_fn_cxx_try_compile "$LINENO"; then :
21400 glibcxx_cv_func_fabsf_use=yes
21402 glibcxx_cv_func_fabsf_use=no
21404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21406 ac_cpp='$CPP $CPPFLAGS'
21407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21416 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21418 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21419 for ac_func in fabsf
21421 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21422 if test "x$ac_cv_func_fabsf" = x""yes; then :
21423 cat >>confdefs.h <<_ACEOF
21424 #define HAVE_FABSF 1
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21433 $as_echo_n "checking for _fabsf declaration... " >&6; }
21434 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21435 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21436 $as_echo_n "(cached) " >&6
21441 ac_cpp='$CXXCPP $CPPFLAGS'
21442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21449 #ifdef HAVE_IEEEFP_H
21450 #include <ieeefp.h>
21461 if ac_fn_cxx_try_compile "$LINENO"; then :
21462 glibcxx_cv_func__fabsf_use=yes
21464 glibcxx_cv_func__fabsf_use=no
21466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21468 ac_cpp='$CPP $CPPFLAGS'
21469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21478 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21480 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21481 for ac_func in _fabsf
21483 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21484 if test "x$ac_cv_func__fabsf" = x""yes; then :
21485 cat >>confdefs.h <<_ACEOF
21486 #define HAVE__FABSF 1
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21500 $as_echo_n "checking for fmodf declaration... " >&6; }
21501 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21502 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21503 $as_echo_n "(cached) " >&6
21508 ac_cpp='$CXXCPP $CPPFLAGS'
21509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 glibcxx_cv_func_fmodf_use=yes
21527 glibcxx_cv_func_fmodf_use=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21531 ac_cpp='$CPP $CPPFLAGS'
21532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21541 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21543 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21544 for ac_func in fmodf
21546 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21547 if test "x$ac_cv_func_fmodf" = x""yes; then :
21548 cat >>confdefs.h <<_ACEOF
21549 #define HAVE_FMODF 1
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21558 $as_echo_n "checking for _fmodf declaration... " >&6; }
21559 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21560 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21561 $as_echo_n "(cached) " >&6
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h. */
21582 if ac_fn_cxx_try_compile "$LINENO"; then :
21583 glibcxx_cv_func__fmodf_use=yes
21585 glibcxx_cv_func__fmodf_use=no
21587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21589 ac_cpp='$CPP $CPPFLAGS'
21590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21599 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21601 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21602 for ac_func in _fmodf
21604 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21605 if test "x$ac_cv_func__fmodf" = x""yes; then :
21606 cat >>confdefs.h <<_ACEOF
21607 #define HAVE__FMODF 1
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21621 $as_echo_n "checking for frexpf declaration... " >&6; }
21622 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21623 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21624 $as_echo_n "(cached) " >&6
21629 ac_cpp='$CXXCPP $CPPFLAGS'
21630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635 /* end confdefs.h. */
21645 if ac_fn_cxx_try_compile "$LINENO"; then :
21646 glibcxx_cv_func_frexpf_use=yes
21648 glibcxx_cv_func_frexpf_use=no
21650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21652 ac_cpp='$CPP $CPPFLAGS'
21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21662 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21664 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21665 for ac_func in frexpf
21667 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21668 if test "x$ac_cv_func_frexpf" = x""yes; then :
21669 cat >>confdefs.h <<_ACEOF
21670 #define HAVE_FREXPF 1
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21679 $as_echo_n "checking for _frexpf declaration... " >&6; }
21680 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21681 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21682 $as_echo_n "(cached) " >&6
21687 ac_cpp='$CXXCPP $CPPFLAGS'
21688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21703 if ac_fn_cxx_try_compile "$LINENO"; then :
21704 glibcxx_cv_func__frexpf_use=yes
21706 glibcxx_cv_func__frexpf_use=no
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21710 ac_cpp='$CPP $CPPFLAGS'
21711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21720 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21722 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21723 for ac_func in _frexpf
21725 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21726 if test "x$ac_cv_func__frexpf" = x""yes; then :
21727 cat >>confdefs.h <<_ACEOF
21728 #define HAVE__FREXPF 1
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21742 $as_echo_n "checking for hypotf declaration... " >&6; }
21743 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21744 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21745 $as_echo_n "(cached) " >&6
21750 ac_cpp='$CXXCPP $CPPFLAGS'
21751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21766 if ac_fn_cxx_try_compile "$LINENO"; then :
21767 glibcxx_cv_func_hypotf_use=yes
21769 glibcxx_cv_func_hypotf_use=no
21771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21773 ac_cpp='$CPP $CPPFLAGS'
21774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21783 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21785 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21786 for ac_func in hypotf
21788 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21789 if test "x$ac_cv_func_hypotf" = x""yes; then :
21790 cat >>confdefs.h <<_ACEOF
21791 #define HAVE_HYPOTF 1
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21800 $as_echo_n "checking for _hypotf declaration... " >&6; }
21801 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21802 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21803 $as_echo_n "(cached) " >&6
21808 ac_cpp='$CXXCPP $CPPFLAGS'
21809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h. */
21824 if ac_fn_cxx_try_compile "$LINENO"; then :
21825 glibcxx_cv_func__hypotf_use=yes
21827 glibcxx_cv_func__hypotf_use=no
21829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21831 ac_cpp='$CPP $CPPFLAGS'
21832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21841 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21843 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21844 for ac_func in _hypotf
21846 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21847 if test "x$ac_cv_func__hypotf" = x""yes; then :
21848 cat >>confdefs.h <<_ACEOF
21849 #define HAVE__HYPOTF 1
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21863 $as_echo_n "checking for ldexpf declaration... " >&6; }
21864 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21865 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21866 $as_echo_n "(cached) " >&6
21871 ac_cpp='$CXXCPP $CPPFLAGS'
21872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21877 /* end confdefs.h. */
21887 if ac_fn_cxx_try_compile "$LINENO"; then :
21888 glibcxx_cv_func_ldexpf_use=yes
21890 glibcxx_cv_func_ldexpf_use=no
21892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21894 ac_cpp='$CPP $CPPFLAGS'
21895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21904 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21906 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21907 for ac_func in ldexpf
21909 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21910 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21911 cat >>confdefs.h <<_ACEOF
21912 #define HAVE_LDEXPF 1
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21921 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21922 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21923 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21924 $as_echo_n "(cached) " >&6
21929 ac_cpp='$CXXCPP $CPPFLAGS'
21930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21935 /* end confdefs.h. */
21945 if ac_fn_cxx_try_compile "$LINENO"; then :
21946 glibcxx_cv_func__ldexpf_use=yes
21948 glibcxx_cv_func__ldexpf_use=no
21950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21952 ac_cpp='$CPP $CPPFLAGS'
21953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21962 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21964 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21965 for ac_func in _ldexpf
21967 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21968 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21969 cat >>confdefs.h <<_ACEOF
21970 #define HAVE__LDEXPF 1
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21984 $as_echo_n "checking for logf declaration... " >&6; }
21985 if test x${glibcxx_cv_func_logf_use+set} != xset; then
21986 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21987 $as_echo_n "(cached) " >&6
21992 ac_cpp='$CXXCPP $CPPFLAGS'
21993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21998 /* end confdefs.h. */
22000 #ifdef HAVE_IEEEFP_H
22001 #include <ieeefp.h>
22012 if ac_fn_cxx_try_compile "$LINENO"; then :
22013 glibcxx_cv_func_logf_use=yes
22015 glibcxx_cv_func_logf_use=no
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 ac_cpp='$CPP $CPPFLAGS'
22020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22029 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22031 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22032 for ac_func in logf
22034 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22035 if test "x$ac_cv_func_logf" = x""yes; then :
22036 cat >>confdefs.h <<_ACEOF
22037 #define HAVE_LOGF 1
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22046 $as_echo_n "checking for _logf declaration... " >&6; }
22047 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22048 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22049 $as_echo_n "(cached) " >&6
22054 ac_cpp='$CXXCPP $CPPFLAGS'
22055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060 /* end confdefs.h. */
22062 #ifdef HAVE_IEEEFP_H
22063 #include <ieeefp.h>
22074 if ac_fn_cxx_try_compile "$LINENO"; then :
22075 glibcxx_cv_func__logf_use=yes
22077 glibcxx_cv_func__logf_use=no
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22081 ac_cpp='$CPP $CPPFLAGS'
22082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22091 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22093 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22094 for ac_func in _logf
22096 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22097 if test "x$ac_cv_func__logf" = x""yes; then :
22098 cat >>confdefs.h <<_ACEOF
22099 #define HAVE__LOGF 1
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22113 $as_echo_n "checking for log10f declaration... " >&6; }
22114 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22115 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22116 $as_echo_n "(cached) " >&6
22121 ac_cpp='$CXXCPP $CPPFLAGS'
22122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22127 /* end confdefs.h. */
22129 #ifdef HAVE_IEEEFP_H
22130 #include <ieeefp.h>
22141 if ac_fn_cxx_try_compile "$LINENO"; then :
22142 glibcxx_cv_func_log10f_use=yes
22144 glibcxx_cv_func_log10f_use=no
22146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22148 ac_cpp='$CPP $CPPFLAGS'
22149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22158 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22160 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22161 for ac_func in log10f
22163 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22164 if test "x$ac_cv_func_log10f" = x""yes; then :
22165 cat >>confdefs.h <<_ACEOF
22166 #define HAVE_LOG10F 1
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22175 $as_echo_n "checking for _log10f declaration... " >&6; }
22176 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22177 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22178 $as_echo_n "(cached) " >&6
22183 ac_cpp='$CXXCPP $CPPFLAGS'
22184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22189 /* end confdefs.h. */
22191 #ifdef HAVE_IEEEFP_H
22192 #include <ieeefp.h>
22203 if ac_fn_cxx_try_compile "$LINENO"; then :
22204 glibcxx_cv_func__log10f_use=yes
22206 glibcxx_cv_func__log10f_use=no
22208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22210 ac_cpp='$CPP $CPPFLAGS'
22211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22220 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22222 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22223 for ac_func in _log10f
22225 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22226 if test "x$ac_cv_func__log10f" = x""yes; then :
22227 cat >>confdefs.h <<_ACEOF
22228 #define HAVE__LOG10F 1
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22242 $as_echo_n "checking for modff declaration... " >&6; }
22243 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22244 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22245 $as_echo_n "(cached) " >&6
22250 ac_cpp='$CXXCPP $CPPFLAGS'
22251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22256 /* end confdefs.h. */
22266 if ac_fn_cxx_try_compile "$LINENO"; then :
22267 glibcxx_cv_func_modff_use=yes
22269 glibcxx_cv_func_modff_use=no
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22283 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22285 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22286 for ac_func in modff
22288 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22289 if test "x$ac_cv_func_modff" = x""yes; then :
22290 cat >>confdefs.h <<_ACEOF
22291 #define HAVE_MODFF 1
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22300 $as_echo_n "checking for _modff declaration... " >&6; }
22301 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22302 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22303 $as_echo_n "(cached) " >&6
22308 ac_cpp='$CXXCPP $CPPFLAGS'
22309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h. */
22324 if ac_fn_cxx_try_compile "$LINENO"; then :
22325 glibcxx_cv_func__modff_use=yes
22327 glibcxx_cv_func__modff_use=no
22329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22331 ac_cpp='$CPP $CPPFLAGS'
22332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22341 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22343 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22344 for ac_func in _modff
22346 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22347 if test "x$ac_cv_func__modff" = x""yes; then :
22348 cat >>confdefs.h <<_ACEOF
22349 #define HAVE__MODFF 1
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22363 $as_echo_n "checking for modf declaration... " >&6; }
22364 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22365 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22366 $as_echo_n "(cached) " >&6
22371 ac_cpp='$CXXCPP $CPPFLAGS'
22372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22377 /* end confdefs.h. */
22387 if ac_fn_cxx_try_compile "$LINENO"; then :
22388 glibcxx_cv_func_modf_use=yes
22390 glibcxx_cv_func_modf_use=no
22392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22394 ac_cpp='$CPP $CPPFLAGS'
22395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22404 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22406 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22407 for ac_func in modf
22409 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22410 if test "x$ac_cv_func_modf" = x""yes; then :
22411 cat >>confdefs.h <<_ACEOF
22412 #define HAVE_MODF 1
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22421 $as_echo_n "checking for _modf declaration... " >&6; }
22422 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22423 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22424 $as_echo_n "(cached) " >&6
22429 ac_cpp='$CXXCPP $CPPFLAGS'
22430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22435 /* end confdefs.h. */
22445 if ac_fn_cxx_try_compile "$LINENO"; then :
22446 glibcxx_cv_func__modf_use=yes
22448 glibcxx_cv_func__modf_use=no
22450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22452 ac_cpp='$CPP $CPPFLAGS'
22453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22462 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22464 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22465 for ac_func in _modf
22467 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22468 if test "x$ac_cv_func__modf" = x""yes; then :
22469 cat >>confdefs.h <<_ACEOF
22470 #define HAVE__MODF 1
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22484 $as_echo_n "checking for powf declaration... " >&6; }
22485 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22486 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22487 $as_echo_n "(cached) " >&6
22492 ac_cpp='$CXXCPP $CPPFLAGS'
22493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22508 if ac_fn_cxx_try_compile "$LINENO"; then :
22509 glibcxx_cv_func_powf_use=yes
22511 glibcxx_cv_func_powf_use=no
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22515 ac_cpp='$CPP $CPPFLAGS'
22516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22525 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22527 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22528 for ac_func in powf
22530 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22531 if test "x$ac_cv_func_powf" = x""yes; then :
22532 cat >>confdefs.h <<_ACEOF
22533 #define HAVE_POWF 1
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22542 $as_echo_n "checking for _powf declaration... " >&6; }
22543 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22544 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22545 $as_echo_n "(cached) " >&6
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22556 /* end confdefs.h. */
22566 if ac_fn_cxx_try_compile "$LINENO"; then :
22567 glibcxx_cv_func__powf_use=yes
22569 glibcxx_cv_func__powf_use=no
22571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22573 ac_cpp='$CPP $CPPFLAGS'
22574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22583 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22585 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22586 for ac_func in _powf
22588 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22589 if test "x$ac_cv_func__powf" = x""yes; then :
22590 cat >>confdefs.h <<_ACEOF
22591 #define HAVE__POWF 1
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22605 $as_echo_n "checking for sqrtf declaration... " >&6; }
22606 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22607 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22608 $as_echo_n "(cached) " >&6
22613 ac_cpp='$CXXCPP $CPPFLAGS'
22614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22619 /* end confdefs.h. */
22621 #ifdef HAVE_IEEEFP_H
22622 #include <ieeefp.h>
22633 if ac_fn_cxx_try_compile "$LINENO"; then :
22634 glibcxx_cv_func_sqrtf_use=yes
22636 glibcxx_cv_func_sqrtf_use=no
22638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22640 ac_cpp='$CPP $CPPFLAGS'
22641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22650 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22652 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22653 for ac_func in sqrtf
22655 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22656 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22657 cat >>confdefs.h <<_ACEOF
22658 #define HAVE_SQRTF 1
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22667 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22668 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22669 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22670 $as_echo_n "(cached) " >&6
22675 ac_cpp='$CXXCPP $CPPFLAGS'
22676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22681 /* end confdefs.h. */
22683 #ifdef HAVE_IEEEFP_H
22684 #include <ieeefp.h>
22695 if ac_fn_cxx_try_compile "$LINENO"; then :
22696 glibcxx_cv_func__sqrtf_use=yes
22698 glibcxx_cv_func__sqrtf_use=no
22700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22702 ac_cpp='$CPP $CPPFLAGS'
22703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22712 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22714 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22715 for ac_func in _sqrtf
22717 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22718 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22719 cat >>confdefs.h <<_ACEOF
22720 #define HAVE__SQRTF 1
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22734 $as_echo_n "checking for sincosf declaration... " >&6; }
22735 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22736 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22737 $as_echo_n "(cached) " >&6
22742 ac_cpp='$CXXCPP $CPPFLAGS'
22743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22748 /* end confdefs.h. */
22758 if ac_fn_cxx_try_compile "$LINENO"; then :
22759 glibcxx_cv_func_sincosf_use=yes
22761 glibcxx_cv_func_sincosf_use=no
22763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22765 ac_cpp='$CPP $CPPFLAGS'
22766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22775 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22777 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22778 for ac_func in sincosf
22780 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22781 if test "x$ac_cv_func_sincosf" = x""yes; then :
22782 cat >>confdefs.h <<_ACEOF
22783 #define HAVE_SINCOSF 1
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22792 $as_echo_n "checking for _sincosf declaration... " >&6; }
22793 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22794 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22795 $as_echo_n "(cached) " >&6
22800 ac_cpp='$CXXCPP $CPPFLAGS'
22801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h. */
22816 if ac_fn_cxx_try_compile "$LINENO"; then :
22817 glibcxx_cv_func__sincosf_use=yes
22819 glibcxx_cv_func__sincosf_use=no
22821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22823 ac_cpp='$CPP $CPPFLAGS'
22824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22833 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22835 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22836 for ac_func in _sincosf
22838 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22839 if test "x$ac_cv_func__sincosf" = x""yes; then :
22840 cat >>confdefs.h <<_ACEOF
22841 #define HAVE__SINCOSF 1
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22855 $as_echo_n "checking for finitef declaration... " >&6; }
22856 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22857 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22858 $as_echo_n "(cached) " >&6
22863 ac_cpp='$CXXCPP $CPPFLAGS'
22864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22869 /* end confdefs.h. */
22871 #ifdef HAVE_IEEEFP_H
22872 #include <ieeefp.h>
22883 if ac_fn_cxx_try_compile "$LINENO"; then :
22884 glibcxx_cv_func_finitef_use=yes
22886 glibcxx_cv_func_finitef_use=no
22888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22900 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22902 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22903 for ac_func in finitef
22905 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22906 if test "x$ac_cv_func_finitef" = x""yes; then :
22907 cat >>confdefs.h <<_ACEOF
22908 #define HAVE_FINITEF 1
22916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22917 $as_echo_n "checking for _finitef declaration... " >&6; }
22918 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22919 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22920 $as_echo_n "(cached) " >&6
22925 ac_cpp='$CXXCPP $CPPFLAGS'
22926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22931 /* end confdefs.h. */
22933 #ifdef HAVE_IEEEFP_H
22934 #include <ieeefp.h>
22945 if ac_fn_cxx_try_compile "$LINENO"; then :
22946 glibcxx_cv_func__finitef_use=yes
22948 glibcxx_cv_func__finitef_use=no
22950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22952 ac_cpp='$CPP $CPPFLAGS'
22953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22962 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22964 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22965 for ac_func in _finitef
22967 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22968 if test "x$ac_cv_func__finitef" = x""yes; then :
22969 cat >>confdefs.h <<_ACEOF
22970 #define HAVE__FINITEF 1
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22984 $as_echo_n "checking for long double trig functions... " >&6; }
22985 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22986 $as_echo_n "(cached) " >&6
22991 ac_cpp='$CXXCPP $CPPFLAGS'
22992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22997 /* end confdefs.h. */
23002 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23007 if ac_fn_cxx_try_compile "$LINENO"; then :
23008 glibcxx_cv_func_long_double_trig_use=yes
23010 glibcxx_cv_func_long_double_trig_use=no
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23014 ac_cpp='$CPP $CPPFLAGS'
23015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23022 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23023 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23024 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23028 eval as_val=\$$as_ac_var
23029 if test "x$as_val" = x""yes; then :
23030 cat >>confdefs.h <<_ACEOF
23031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23039 $as_echo_n "checking for _long double trig functions... " >&6; }
23040 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23041 $as_echo_n "(cached) " >&6
23046 ac_cpp='$CXXCPP $CPPFLAGS'
23047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052 /* end confdefs.h. */
23057 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23062 if ac_fn_cxx_try_compile "$LINENO"; then :
23063 glibcxx_cv_func__long_double_trig_use=yes
23065 glibcxx_cv_func__long_double_trig_use=no
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23069 ac_cpp='$CPP $CPPFLAGS'
23070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23077 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23078 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23079 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23083 eval as_val=\$$as_ac_var
23084 if test "x$as_val" = x""yes; then :
23085 cat >>confdefs.h <<_ACEOF
23086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23100 $as_echo_n "checking for long double round functions... " >&6; }
23101 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23102 $as_echo_n "(cached) " >&6
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h. */
23118 ceill (0); floorl (0);
23123 if ac_fn_cxx_try_compile "$LINENO"; then :
23124 glibcxx_cv_func_long_double_round_use=yes
23126 glibcxx_cv_func_long_double_round_use=no
23128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23130 ac_cpp='$CPP $CPPFLAGS'
23131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23138 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23139 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23140 for ac_func in ceill floorl
23142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23144 eval as_val=\$$as_ac_var
23145 if test "x$as_val" = x""yes; then :
23146 cat >>confdefs.h <<_ACEOF
23147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23155 $as_echo_n "checking for _long double round functions... " >&6; }
23156 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23157 $as_echo_n "(cached) " >&6
23162 ac_cpp='$CXXCPP $CPPFLAGS'
23163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23168 /* end confdefs.h. */
23173 _ceill (0); _floorl (0);
23178 if ac_fn_cxx_try_compile "$LINENO"; then :
23179 glibcxx_cv_func__long_double_round_use=yes
23181 glibcxx_cv_func__long_double_round_use=no
23183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23185 ac_cpp='$CPP $CPPFLAGS'
23186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23193 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23194 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23195 for ac_func in _ceill _floorl
23197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23199 eval as_val=\$$as_ac_var
23200 if test "x$as_val" = x""yes; then :
23201 cat >>confdefs.h <<_ACEOF
23202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23217 $as_echo_n "checking for isnanl declaration... " >&6; }
23218 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23219 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23220 $as_echo_n "(cached) " >&6
23225 ac_cpp='$CXXCPP $CPPFLAGS'
23226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h. */
23233 #ifdef HAVE_IEEEFP_H
23234 #include <ieeefp.h>
23245 if ac_fn_cxx_try_compile "$LINENO"; then :
23246 glibcxx_cv_func_isnanl_use=yes
23248 glibcxx_cv_func_isnanl_use=no
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23262 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23264 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23265 for ac_func in isnanl
23267 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23268 if test "x$ac_cv_func_isnanl" = x""yes; then :
23269 cat >>confdefs.h <<_ACEOF
23270 #define HAVE_ISNANL 1
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23279 $as_echo_n "checking for _isnanl declaration... " >&6; }
23280 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23281 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23282 $as_echo_n "(cached) " >&6
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23295 #ifdef HAVE_IEEEFP_H
23296 #include <ieeefp.h>
23307 if ac_fn_cxx_try_compile "$LINENO"; then :
23308 glibcxx_cv_func__isnanl_use=yes
23310 glibcxx_cv_func__isnanl_use=no
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_cpp='$CPP $CPPFLAGS'
23315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23324 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23326 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23327 for ac_func in _isnanl
23329 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23330 if test "x$ac_cv_func__isnanl" = x""yes; then :
23331 cat >>confdefs.h <<_ACEOF
23332 #define HAVE__ISNANL 1
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23346 $as_echo_n "checking for isinfl declaration... " >&6; }
23347 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23348 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23349 $as_echo_n "(cached) " >&6
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h. */
23362 #ifdef HAVE_IEEEFP_H
23363 #include <ieeefp.h>
23374 if ac_fn_cxx_try_compile "$LINENO"; then :
23375 glibcxx_cv_func_isinfl_use=yes
23377 glibcxx_cv_func_isinfl_use=no
23379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23381 ac_cpp='$CPP $CPPFLAGS'
23382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23391 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23393 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23394 for ac_func in isinfl
23396 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23397 if test "x$ac_cv_func_isinfl" = x""yes; then :
23398 cat >>confdefs.h <<_ACEOF
23399 #define HAVE_ISINFL 1
23407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23408 $as_echo_n "checking for _isinfl declaration... " >&6; }
23409 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23410 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23411 $as_echo_n "(cached) " >&6
23416 ac_cpp='$CXXCPP $CPPFLAGS'
23417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23422 /* end confdefs.h. */
23424 #ifdef HAVE_IEEEFP_H
23425 #include <ieeefp.h>
23436 if ac_fn_cxx_try_compile "$LINENO"; then :
23437 glibcxx_cv_func__isinfl_use=yes
23439 glibcxx_cv_func__isinfl_use=no
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23443 ac_cpp='$CPP $CPPFLAGS'
23444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23453 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23455 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23456 for ac_func in _isinfl
23458 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23459 if test "x$ac_cv_func__isinfl" = x""yes; then :
23460 cat >>confdefs.h <<_ACEOF
23461 #define HAVE__ISINFL 1
23474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23475 $as_echo_n "checking for atan2l declaration... " >&6; }
23476 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23477 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23478 $as_echo_n "(cached) " >&6
23483 ac_cpp='$CXXCPP $CPPFLAGS'
23484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23489 /* end confdefs.h. */
23499 if ac_fn_cxx_try_compile "$LINENO"; then :
23500 glibcxx_cv_func_atan2l_use=yes
23502 glibcxx_cv_func_atan2l_use=no
23504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23506 ac_cpp='$CPP $CPPFLAGS'
23507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23516 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23518 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23519 for ac_func in atan2l
23521 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23522 if test "x$ac_cv_func_atan2l" = x""yes; then :
23523 cat >>confdefs.h <<_ACEOF
23524 #define HAVE_ATAN2L 1
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23533 $as_echo_n "checking for _atan2l declaration... " >&6; }
23534 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23535 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23536 $as_echo_n "(cached) " >&6
23541 ac_cpp='$CXXCPP $CPPFLAGS'
23542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23557 if ac_fn_cxx_try_compile "$LINENO"; then :
23558 glibcxx_cv_func__atan2l_use=yes
23560 glibcxx_cv_func__atan2l_use=no
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564 ac_cpp='$CPP $CPPFLAGS'
23565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23574 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23576 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23577 for ac_func in _atan2l
23579 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23580 if test "x$ac_cv_func__atan2l" = x""yes; then :
23581 cat >>confdefs.h <<_ACEOF
23582 #define HAVE__ATAN2L 1
23595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23596 $as_echo_n "checking for expl declaration... " >&6; }
23597 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23598 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23599 $as_echo_n "(cached) " >&6
23604 ac_cpp='$CXXCPP $CPPFLAGS'
23605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23610 /* end confdefs.h. */
23612 #ifdef HAVE_IEEEFP_H
23613 #include <ieeefp.h>
23624 if ac_fn_cxx_try_compile "$LINENO"; then :
23625 glibcxx_cv_func_expl_use=yes
23627 glibcxx_cv_func_expl_use=no
23629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23631 ac_cpp='$CPP $CPPFLAGS'
23632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23641 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23643 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23644 for ac_func in expl
23646 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23647 if test "x$ac_cv_func_expl" = x""yes; then :
23648 cat >>confdefs.h <<_ACEOF
23649 #define HAVE_EXPL 1
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23658 $as_echo_n "checking for _expl declaration... " >&6; }
23659 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23660 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23661 $as_echo_n "(cached) " >&6
23666 ac_cpp='$CXXCPP $CPPFLAGS'
23667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h. */
23674 #ifdef HAVE_IEEEFP_H
23675 #include <ieeefp.h>
23686 if ac_fn_cxx_try_compile "$LINENO"; then :
23687 glibcxx_cv_func__expl_use=yes
23689 glibcxx_cv_func__expl_use=no
23691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23693 ac_cpp='$CPP $CPPFLAGS'
23694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23703 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23705 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23706 for ac_func in _expl
23708 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23709 if test "x$ac_cv_func__expl" = x""yes; then :
23710 cat >>confdefs.h <<_ACEOF
23711 #define HAVE__EXPL 1
23724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23725 $as_echo_n "checking for fabsl declaration... " >&6; }
23726 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23727 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23728 $as_echo_n "(cached) " >&6
23733 ac_cpp='$CXXCPP $CPPFLAGS'
23734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23739 /* end confdefs.h. */
23741 #ifdef HAVE_IEEEFP_H
23742 #include <ieeefp.h>
23753 if ac_fn_cxx_try_compile "$LINENO"; then :
23754 glibcxx_cv_func_fabsl_use=yes
23756 glibcxx_cv_func_fabsl_use=no
23758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23760 ac_cpp='$CPP $CPPFLAGS'
23761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23770 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23772 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23773 for ac_func in fabsl
23775 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23776 if test "x$ac_cv_func_fabsl" = x""yes; then :
23777 cat >>confdefs.h <<_ACEOF
23778 #define HAVE_FABSL 1
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23787 $as_echo_n "checking for _fabsl declaration... " >&6; }
23788 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23789 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23790 $as_echo_n "(cached) " >&6
23795 ac_cpp='$CXXCPP $CPPFLAGS'
23796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23803 #ifdef HAVE_IEEEFP_H
23804 #include <ieeefp.h>
23815 if ac_fn_cxx_try_compile "$LINENO"; then :
23816 glibcxx_cv_func__fabsl_use=yes
23818 glibcxx_cv_func__fabsl_use=no
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23822 ac_cpp='$CPP $CPPFLAGS'
23823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23832 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23834 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23835 for ac_func in _fabsl
23837 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23838 if test "x$ac_cv_func__fabsl" = x""yes; then :
23839 cat >>confdefs.h <<_ACEOF
23840 #define HAVE__FABSL 1
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23854 $as_echo_n "checking for fmodl declaration... " >&6; }
23855 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23856 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23857 $as_echo_n "(cached) " >&6
23862 ac_cpp='$CXXCPP $CPPFLAGS'
23863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h. */
23878 if ac_fn_cxx_try_compile "$LINENO"; then :
23879 glibcxx_cv_func_fmodl_use=yes
23881 glibcxx_cv_func_fmodl_use=no
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23895 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23897 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23898 for ac_func in fmodl
23900 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23901 if test "x$ac_cv_func_fmodl" = x""yes; then :
23902 cat >>confdefs.h <<_ACEOF
23903 #define HAVE_FMODL 1
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23912 $as_echo_n "checking for _fmodl declaration... " >&6; }
23913 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23914 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23915 $as_echo_n "(cached) " >&6
23920 ac_cpp='$CXXCPP $CPPFLAGS'
23921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23936 if ac_fn_cxx_try_compile "$LINENO"; then :
23937 glibcxx_cv_func__fmodl_use=yes
23939 glibcxx_cv_func__fmodl_use=no
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23943 ac_cpp='$CPP $CPPFLAGS'
23944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23953 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23955 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23956 for ac_func in _fmodl
23958 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23959 if test "x$ac_cv_func__fmodl" = x""yes; then :
23960 cat >>confdefs.h <<_ACEOF
23961 #define HAVE__FMODL 1
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23975 $as_echo_n "checking for frexpl declaration... " >&6; }
23976 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23977 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23978 $as_echo_n "(cached) " >&6
23983 ac_cpp='$CXXCPP $CPPFLAGS'
23984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23989 /* end confdefs.h. */
23999 if ac_fn_cxx_try_compile "$LINENO"; then :
24000 glibcxx_cv_func_frexpl_use=yes
24002 glibcxx_cv_func_frexpl_use=no
24004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006 ac_cpp='$CPP $CPPFLAGS'
24007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24016 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24018 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24019 for ac_func in frexpl
24021 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24022 if test "x$ac_cv_func_frexpl" = x""yes; then :
24023 cat >>confdefs.h <<_ACEOF
24024 #define HAVE_FREXPL 1
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24033 $as_echo_n "checking for _frexpl declaration... " >&6; }
24034 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24035 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24036 $as_echo_n "(cached) " >&6
24041 ac_cpp='$CXXCPP $CPPFLAGS'
24042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24047 /* end confdefs.h. */
24057 if ac_fn_cxx_try_compile "$LINENO"; then :
24058 glibcxx_cv_func__frexpl_use=yes
24060 glibcxx_cv_func__frexpl_use=no
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 ac_cpp='$CPP $CPPFLAGS'
24065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24074 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24076 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24077 for ac_func in _frexpl
24079 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24080 if test "x$ac_cv_func__frexpl" = x""yes; then :
24081 cat >>confdefs.h <<_ACEOF
24082 #define HAVE__FREXPL 1
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24096 $as_echo_n "checking for hypotl declaration... " >&6; }
24097 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24098 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24099 $as_echo_n "(cached) " >&6
24104 ac_cpp='$CXXCPP $CPPFLAGS'
24105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24110 /* end confdefs.h. */
24120 if ac_fn_cxx_try_compile "$LINENO"; then :
24121 glibcxx_cv_func_hypotl_use=yes
24123 glibcxx_cv_func_hypotl_use=no
24125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127 ac_cpp='$CPP $CPPFLAGS'
24128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24137 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24139 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24140 for ac_func in hypotl
24142 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24143 if test "x$ac_cv_func_hypotl" = x""yes; then :
24144 cat >>confdefs.h <<_ACEOF
24145 #define HAVE_HYPOTL 1
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24154 $as_echo_n "checking for _hypotl declaration... " >&6; }
24155 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24156 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24157 $as_echo_n "(cached) " >&6
24162 ac_cpp='$CXXCPP $CPPFLAGS'
24163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h. */
24178 if ac_fn_cxx_try_compile "$LINENO"; then :
24179 glibcxx_cv_func__hypotl_use=yes
24181 glibcxx_cv_func__hypotl_use=no
24183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_cpp='$CPP $CPPFLAGS'
24186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24195 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24197 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24198 for ac_func in _hypotl
24200 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24201 if test "x$ac_cv_func__hypotl" = x""yes; then :
24202 cat >>confdefs.h <<_ACEOF
24203 #define HAVE__HYPOTL 1
24216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24217 $as_echo_n "checking for ldexpl declaration... " >&6; }
24218 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24219 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24220 $as_echo_n "(cached) " >&6
24225 ac_cpp='$CXXCPP $CPPFLAGS'
24226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24231 /* end confdefs.h. */
24241 if ac_fn_cxx_try_compile "$LINENO"; then :
24242 glibcxx_cv_func_ldexpl_use=yes
24244 glibcxx_cv_func_ldexpl_use=no
24246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248 ac_cpp='$CPP $CPPFLAGS'
24249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24258 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24260 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24261 for ac_func in ldexpl
24263 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24264 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24265 cat >>confdefs.h <<_ACEOF
24266 #define HAVE_LDEXPL 1
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24275 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24276 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24277 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24278 $as_echo_n "(cached) " >&6
24283 ac_cpp='$CXXCPP $CPPFLAGS'
24284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h. */
24299 if ac_fn_cxx_try_compile "$LINENO"; then :
24300 glibcxx_cv_func__ldexpl_use=yes
24302 glibcxx_cv_func__ldexpl_use=no
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24306 ac_cpp='$CPP $CPPFLAGS'
24307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24316 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24318 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24319 for ac_func in _ldexpl
24321 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24322 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24323 cat >>confdefs.h <<_ACEOF
24324 #define HAVE__LDEXPL 1
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24338 $as_echo_n "checking for logl declaration... " >&6; }
24339 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24340 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24341 $as_echo_n "(cached) " >&6
24346 ac_cpp='$CXXCPP $CPPFLAGS'
24347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24354 #ifdef HAVE_IEEEFP_H
24355 #include <ieeefp.h>
24366 if ac_fn_cxx_try_compile "$LINENO"; then :
24367 glibcxx_cv_func_logl_use=yes
24369 glibcxx_cv_func_logl_use=no
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24373 ac_cpp='$CPP $CPPFLAGS'
24374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24383 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24385 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24386 for ac_func in logl
24388 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24389 if test "x$ac_cv_func_logl" = x""yes; then :
24390 cat >>confdefs.h <<_ACEOF
24391 #define HAVE_LOGL 1
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24400 $as_echo_n "checking for _logl declaration... " >&6; }
24401 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24402 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24403 $as_echo_n "(cached) " >&6
24408 ac_cpp='$CXXCPP $CPPFLAGS'
24409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24414 /* end confdefs.h. */
24416 #ifdef HAVE_IEEEFP_H
24417 #include <ieeefp.h>
24428 if ac_fn_cxx_try_compile "$LINENO"; then :
24429 glibcxx_cv_func__logl_use=yes
24431 glibcxx_cv_func__logl_use=no
24433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24445 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24447 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24448 for ac_func in _logl
24450 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24451 if test "x$ac_cv_func__logl" = x""yes; then :
24452 cat >>confdefs.h <<_ACEOF
24453 #define HAVE__LOGL 1
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24467 $as_echo_n "checking for log10l declaration... " >&6; }
24468 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24469 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24470 $as_echo_n "(cached) " >&6
24475 ac_cpp='$CXXCPP $CPPFLAGS'
24476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24481 /* end confdefs.h. */
24483 #ifdef HAVE_IEEEFP_H
24484 #include <ieeefp.h>
24495 if ac_fn_cxx_try_compile "$LINENO"; then :
24496 glibcxx_cv_func_log10l_use=yes
24498 glibcxx_cv_func_log10l_use=no
24500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24502 ac_cpp='$CPP $CPPFLAGS'
24503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24512 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24514 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24515 for ac_func in log10l
24517 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24518 if test "x$ac_cv_func_log10l" = x""yes; then :
24519 cat >>confdefs.h <<_ACEOF
24520 #define HAVE_LOG10L 1
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24529 $as_echo_n "checking for _log10l declaration... " >&6; }
24530 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24531 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24532 $as_echo_n "(cached) " >&6
24537 ac_cpp='$CXXCPP $CPPFLAGS'
24538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 /* end confdefs.h. */
24545 #ifdef HAVE_IEEEFP_H
24546 #include <ieeefp.h>
24557 if ac_fn_cxx_try_compile "$LINENO"; then :
24558 glibcxx_cv_func__log10l_use=yes
24560 glibcxx_cv_func__log10l_use=no
24562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24564 ac_cpp='$CPP $CPPFLAGS'
24565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24574 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24576 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24577 for ac_func in _log10l
24579 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24580 if test "x$ac_cv_func__log10l" = x""yes; then :
24581 cat >>confdefs.h <<_ACEOF
24582 #define HAVE__LOG10L 1
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24596 $as_echo_n "checking for modfl declaration... " >&6; }
24597 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24598 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24599 $as_echo_n "(cached) " >&6
24604 ac_cpp='$CXXCPP $CPPFLAGS'
24605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24610 /* end confdefs.h. */
24620 if ac_fn_cxx_try_compile "$LINENO"; then :
24621 glibcxx_cv_func_modfl_use=yes
24623 glibcxx_cv_func_modfl_use=no
24625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24627 ac_cpp='$CPP $CPPFLAGS'
24628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24637 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24639 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24640 for ac_func in modfl
24642 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24643 if test "x$ac_cv_func_modfl" = x""yes; then :
24644 cat >>confdefs.h <<_ACEOF
24645 #define HAVE_MODFL 1
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24654 $as_echo_n "checking for _modfl declaration... " >&6; }
24655 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24656 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24657 $as_echo_n "(cached) " >&6
24662 ac_cpp='$CXXCPP $CPPFLAGS'
24663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24668 /* end confdefs.h. */
24678 if ac_fn_cxx_try_compile "$LINENO"; then :
24679 glibcxx_cv_func__modfl_use=yes
24681 glibcxx_cv_func__modfl_use=no
24683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24685 ac_cpp='$CPP $CPPFLAGS'
24686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24695 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24697 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24698 for ac_func in _modfl
24700 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24701 if test "x$ac_cv_func__modfl" = x""yes; then :
24702 cat >>confdefs.h <<_ACEOF
24703 #define HAVE__MODFL 1
24716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24717 $as_echo_n "checking for powl declaration... " >&6; }
24718 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24719 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24720 $as_echo_n "(cached) " >&6
24725 ac_cpp='$CXXCPP $CPPFLAGS'
24726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24731 /* end confdefs.h. */
24741 if ac_fn_cxx_try_compile "$LINENO"; then :
24742 glibcxx_cv_func_powl_use=yes
24744 glibcxx_cv_func_powl_use=no
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24748 ac_cpp='$CPP $CPPFLAGS'
24749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24758 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24760 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24761 for ac_func in powl
24763 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24764 if test "x$ac_cv_func_powl" = x""yes; then :
24765 cat >>confdefs.h <<_ACEOF
24766 #define HAVE_POWL 1
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24775 $as_echo_n "checking for _powl declaration... " >&6; }
24776 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24777 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24778 $as_echo_n "(cached) " >&6
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h. */
24799 if ac_fn_cxx_try_compile "$LINENO"; then :
24800 glibcxx_cv_func__powl_use=yes
24802 glibcxx_cv_func__powl_use=no
24804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24806 ac_cpp='$CPP $CPPFLAGS'
24807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24816 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24818 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24819 for ac_func in _powl
24821 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24822 if test "x$ac_cv_func__powl" = x""yes; then :
24823 cat >>confdefs.h <<_ACEOF
24824 #define HAVE__POWL 1
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24838 $as_echo_n "checking for sqrtl declaration... " >&6; }
24839 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24840 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24841 $as_echo_n "(cached) " >&6
24846 ac_cpp='$CXXCPP $CPPFLAGS'
24847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h. */
24854 #ifdef HAVE_IEEEFP_H
24855 #include <ieeefp.h>
24866 if ac_fn_cxx_try_compile "$LINENO"; then :
24867 glibcxx_cv_func_sqrtl_use=yes
24869 glibcxx_cv_func_sqrtl_use=no
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873 ac_cpp='$CPP $CPPFLAGS'
24874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24883 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24885 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24886 for ac_func in sqrtl
24888 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24889 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24890 cat >>confdefs.h <<_ACEOF
24891 #define HAVE_SQRTL 1
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24900 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24901 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24902 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24903 $as_echo_n "(cached) " >&6
24908 ac_cpp='$CXXCPP $CPPFLAGS'
24909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24914 /* end confdefs.h. */
24916 #ifdef HAVE_IEEEFP_H
24917 #include <ieeefp.h>
24928 if ac_fn_cxx_try_compile "$LINENO"; then :
24929 glibcxx_cv_func__sqrtl_use=yes
24931 glibcxx_cv_func__sqrtl_use=no
24933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935 ac_cpp='$CPP $CPPFLAGS'
24936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24945 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24947 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24948 for ac_func in _sqrtl
24950 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24951 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24952 cat >>confdefs.h <<_ACEOF
24953 #define HAVE__SQRTL 1
24966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24967 $as_echo_n "checking for sincosl declaration... " >&6; }
24968 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24969 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24970 $as_echo_n "(cached) " >&6
24975 ac_cpp='$CXXCPP $CPPFLAGS'
24976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h. */
24991 if ac_fn_cxx_try_compile "$LINENO"; then :
24992 glibcxx_cv_func_sincosl_use=yes
24994 glibcxx_cv_func_sincosl_use=no
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24998 ac_cpp='$CPP $CPPFLAGS'
24999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25008 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25010 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25011 for ac_func in sincosl
25013 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25014 if test "x$ac_cv_func_sincosl" = x""yes; then :
25015 cat >>confdefs.h <<_ACEOF
25016 #define HAVE_SINCOSL 1
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25025 $as_echo_n "checking for _sincosl declaration... " >&6; }
25026 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25027 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25028 $as_echo_n "(cached) " >&6
25033 ac_cpp='$CXXCPP $CPPFLAGS'
25034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25039 /* end confdefs.h. */
25049 if ac_fn_cxx_try_compile "$LINENO"; then :
25050 glibcxx_cv_func__sincosl_use=yes
25052 glibcxx_cv_func__sincosl_use=no
25054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25056 ac_cpp='$CPP $CPPFLAGS'
25057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25066 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25068 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25069 for ac_func in _sincosl
25071 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25072 if test "x$ac_cv_func__sincosl" = x""yes; then :
25073 cat >>confdefs.h <<_ACEOF
25074 #define HAVE__SINCOSL 1
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25088 $as_echo_n "checking for finitel declaration... " >&6; }
25089 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25090 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25091 $as_echo_n "(cached) " >&6
25096 ac_cpp='$CXXCPP $CPPFLAGS'
25097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25102 /* end confdefs.h. */
25104 #ifdef HAVE_IEEEFP_H
25105 #include <ieeefp.h>
25116 if ac_fn_cxx_try_compile "$LINENO"; then :
25117 glibcxx_cv_func_finitel_use=yes
25119 glibcxx_cv_func_finitel_use=no
25121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25123 ac_cpp='$CPP $CPPFLAGS'
25124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25133 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25135 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25136 for ac_func in finitel
25138 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25139 if test "x$ac_cv_func_finitel" = x""yes; then :
25140 cat >>confdefs.h <<_ACEOF
25141 #define HAVE_FINITEL 1
25149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25150 $as_echo_n "checking for _finitel declaration... " >&6; }
25151 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25152 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25153 $as_echo_n "(cached) " >&6
25158 ac_cpp='$CXXCPP $CPPFLAGS'
25159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25164 /* end confdefs.h. */
25166 #ifdef HAVE_IEEEFP_H
25167 #include <ieeefp.h>
25178 if ac_fn_cxx_try_compile "$LINENO"; then :
25179 glibcxx_cv_func__finitel_use=yes
25181 glibcxx_cv_func__finitel_use=no
25183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25185 ac_cpp='$CPP $CPPFLAGS'
25186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25195 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25197 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25198 for ac_func in _finitel
25200 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25201 if test "x$ac_cv_func__finitel" = x""yes; then :
25202 cat >>confdefs.h <<_ACEOF
25203 #define HAVE__FINITEL 1
25215 LIBS="$ac_save_LIBS"
25216 CXXFLAGS="$ac_save_CXXFLAGS"
25219 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25220 ac_save_CXXFLAGS="$CXXFLAGS"
25221 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25225 $as_echo_n "checking for strtold declaration... " >&6; }
25226 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25227 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25228 $as_echo_n "(cached) " >&6
25233 ac_cpp='$CXXCPP $CPPFLAGS'
25234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25239 /* end confdefs.h. */
25240 #include <stdlib.h>
25249 if ac_fn_cxx_try_compile "$LINENO"; then :
25250 glibcxx_cv_func_strtold_use=yes
25252 glibcxx_cv_func_strtold_use=no
25254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25256 ac_cpp='$CPP $CPPFLAGS'
25257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25266 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25267 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25268 for ac_func in strtold
25270 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25271 if test "x$ac_cv_func_strtold" = x""yes; then :
25272 cat >>confdefs.h <<_ACEOF
25273 #define HAVE_STRTOLD 1
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25285 $as_echo_n "checking for strtof declaration... " >&6; }
25286 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25287 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25288 $as_echo_n "(cached) " >&6
25293 ac_cpp='$CXXCPP $CPPFLAGS'
25294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25300 #include <stdlib.h>
25309 if ac_fn_cxx_try_compile "$LINENO"; then :
25310 glibcxx_cv_func_strtof_use=yes
25312 glibcxx_cv_func_strtof_use=no
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25326 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25327 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25328 for ac_func in strtof
25330 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25331 if test "x$ac_cv_func_strtof" = x""yes; then :
25332 cat >>confdefs.h <<_ACEOF
25333 #define HAVE_STRTOF 1
25344 CXXFLAGS="$ac_save_CXXFLAGS"
25347 # For /dev/random and /dev/urandom for TR1.
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25351 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25352 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25353 $as_echo_n "(cached) " >&6
25356 if test -r /dev/random && test -r /dev/urandom; then
25357 glibcxx_cv_random_tr1=yes;
25359 glibcxx_cv_random_tr1=no;
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25365 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25367 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25369 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25378 # Check whether --enable-tls was given.
25379 if test "${enable_tls+set}" = set; then :
25380 enableval=$enable_tls;
25381 case "$enableval" in
25383 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25392 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25393 if test "${gcc_cv_have_tls+set}" = set; then :
25394 $as_echo_n "(cached) " >&6
25397 if test "$cross_compiling" = yes; then :
25398 if test x$gcc_no_link = xyes; then
25399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25402 /* end confdefs.h. */
25403 __thread int a; int b; int main() { return a = b; }
25405 if ac_fn_c_try_link "$LINENO"; then :
25406 chktls_save_LDFLAGS="$LDFLAGS"
25409 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25412 chktls_save_CFLAGS="$CFLAGS"
25413 CFLAGS="-fPIC $CFLAGS"
25414 if test x$gcc_no_link = xyes; then
25415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25418 /* end confdefs.h. */
25419 int f() { return 0; }
25421 if ac_fn_c_try_link "$LINENO"; then :
25422 if test x$gcc_no_link = xyes; then
25423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25427 __thread int a; int b; int f() { return a = b; }
25429 if ac_fn_c_try_link "$LINENO"; then :
25430 gcc_cv_have_tls=yes
25434 rm -f core conftest.err conftest.$ac_objext \
25435 conftest$ac_exeext conftest.$ac_ext
25437 gcc_cv_have_tls=yes
25439 rm -f core conftest.err conftest.$ac_objext \
25440 conftest$ac_exeext conftest.$ac_ext
25441 CFLAGS="$chktls_save_CFLAGS"
25442 LDFLAGS="$chktls_save_LDFLAGS"
25446 rm -f core conftest.err conftest.$ac_objext \
25447 conftest$ac_exeext conftest.$ac_ext
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 __thread int a; int b; int main() { return a = b; }
25455 if ac_fn_c_try_run "$LINENO"; then :
25456 chktls_save_LDFLAGS="$LDFLAGS"
25457 LDFLAGS="-static $LDFLAGS"
25458 if test x$gcc_no_link = xyes; then
25459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25462 /* end confdefs.h. */
25463 int main() { return 0; }
25465 if ac_fn_c_try_link "$LINENO"; then :
25466 if test "$cross_compiling" = yes; then :
25467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25469 as_fn_error "cannot run test program while cross compiling
25470 See \`config.log' for more details." "$LINENO" 5; }
25472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25473 /* end confdefs.h. */
25474 __thread int a; int b; int main() { return a = b; }
25476 if ac_fn_c_try_run "$LINENO"; then :
25477 gcc_cv_have_tls=yes
25481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25482 conftest.$ac_objext conftest.beam conftest.$ac_ext
25486 gcc_cv_have_tls=yes
25488 rm -f core conftest.err conftest.$ac_objext \
25489 conftest$ac_exeext conftest.$ac_ext
25490 LDFLAGS="$chktls_save_LDFLAGS"
25491 if test $gcc_cv_have_tls = yes; then
25492 chktls_save_CFLAGS="$CFLAGS"
25493 thread_CFLAGS=failed
25494 for flag in '' '-pthread' '-lpthread'; do
25495 CFLAGS="$flag $chktls_save_CFLAGS"
25496 if test x$gcc_no_link = xyes; then
25497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25500 /* end confdefs.h. */
25501 #include <pthread.h>
25502 void *g(void *d) { return NULL; }
25506 pthread_t t; pthread_create(&t,NULL,g,NULL);
25511 if ac_fn_c_try_link "$LINENO"; then :
25512 thread_CFLAGS="$flag"
25514 rm -f core conftest.err conftest.$ac_objext \
25515 conftest$ac_exeext conftest.$ac_ext
25516 if test "X$thread_CFLAGS" != Xfailed; then
25520 CFLAGS="$chktls_save_CFLAGS"
25521 if test "X$thread_CFLAGS" != Xfailed; then
25522 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25523 if test "$cross_compiling" = yes; then :
25524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25526 as_fn_error "cannot run test program while cross compiling
25527 See \`config.log' for more details." "$LINENO" 5; }
25529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25530 /* end confdefs.h. */
25531 #include <pthread.h>
25533 static int *a_in_other_thread;
25535 thread_func (void *arg)
25537 a_in_other_thread = &a;
25544 void *thread_retval;
25545 int *a_in_main_thread;
25546 if (pthread_create (&thread, (pthread_attr_t *)0,
25547 thread_func, (void *)0))
25549 a_in_main_thread = &a;
25550 if (pthread_join (thread, &thread_retval))
25552 return (a_in_other_thread == a_in_main_thread);
25557 if ac_fn_c_try_run "$LINENO"; then :
25558 gcc_cv_have_tls=yes
25562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25563 conftest.$ac_objext conftest.beam conftest.$ac_ext
25566 CFLAGS="$chktls_save_CFLAGS"
25572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25573 conftest.$ac_objext conftest.beam conftest.$ac_ext
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25578 $as_echo "$gcc_cv_have_tls" >&6; }
25579 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25581 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25585 # For iconv support.
25587 if test "X$prefix" = "XNONE"; then
25588 acl_final_prefix="$ac_default_prefix"
25590 acl_final_prefix="$prefix"
25592 if test "X$exec_prefix" = "XNONE"; then
25593 acl_final_exec_prefix='${prefix}'
25595 acl_final_exec_prefix="$exec_prefix"
25597 acl_save_prefix="$prefix"
25598 prefix="$acl_final_prefix"
25599 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25600 prefix="$acl_save_prefix"
25603 # Check whether --with-gnu-ld was given.
25604 if test "${with_gnu_ld+set}" = set; then :
25605 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25610 # Prepare PATH_SEPARATOR.
25611 # The user is always right.
25612 if test "${PATH_SEPARATOR+set}" != set; then
25613 echo "#! /bin/sh" >conf$$.sh
25614 echo "exit 0" >>conf$$.sh
25616 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25624 if test "$GCC" = yes; then
25625 # Check if gcc -print-prog-name=ld gives a path.
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25627 $as_echo_n "checking for ld used by GCC... " >&6; }
25630 # gcc leaves a trailing carriage return which upsets mingw
25631 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25633 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25636 # Accept absolute paths.
25637 [\\/]* | [A-Za-z]:[\\/]*)
25638 re_direlt='/[^/][^/]*/\.\./'
25639 # Canonicalize the path of ld
25640 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25641 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25642 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25644 test -z "$LD" && LD="$ac_prog"
25647 # If it fails, then pretend we aren't using GCC.
25651 # If it is relative, then search for the first ld in PATH.
25652 with_gnu_ld=unknown
25655 elif test "$with_gnu_ld" = yes; then
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25657 $as_echo_n "checking for GNU ld... " >&6; }
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25660 $as_echo_n "checking for non-GNU ld... " >&6; }
25662 if test "${acl_cv_path_LD+set}" = set; then :
25663 $as_echo_n "(cached) " >&6
25665 if test -z "$LD"; then
25666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25667 for ac_dir in $PATH; do
25668 test -z "$ac_dir" && ac_dir=.
25669 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25670 acl_cv_path_LD="$ac_dir/$ac_prog"
25671 # Check to see if the program is GNU ld. I'd rather use --version,
25672 # but apparently some GNU ld's only accept -v.
25673 # Break only if it was the GNU/non-GNU ld that we prefer.
25674 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25675 test "$with_gnu_ld" != no && break
25677 test "$with_gnu_ld" != yes && break
25683 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25687 LD="$acl_cv_path_LD"
25688 if test -n "$LD"; then
25689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25690 $as_echo "$LD" >&6; }
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25693 $as_echo "no" >&6; }
25695 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25697 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25698 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25699 $as_echo_n "(cached) " >&6
25701 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25702 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25703 acl_cv_prog_gnu_ld=yes
25705 acl_cv_prog_gnu_ld=no
25708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25709 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25710 with_gnu_ld=$acl_cv_prog_gnu_ld
25714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25715 $as_echo_n "checking for shared library run path origin... " >&6; }
25716 if test "${acl_cv_rpath+set}" = set; then :
25717 $as_echo_n "(cached) " >&6
25720 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25721 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25723 rm -f ./conftest.sh
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25728 $as_echo "$acl_cv_rpath" >&6; }
25730 libext="$acl_cv_libext"
25731 shlibext="$acl_cv_shlibext"
25732 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25733 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25734 hardcode_direct="$acl_cv_hardcode_direct"
25735 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25736 # Check whether --enable-rpath was given.
25737 if test "${enable_rpath+set}" = set; then :
25738 enableval=$enable_rpath; :
25752 acl_save_prefix="$prefix"
25753 prefix="$acl_final_prefix"
25754 acl_save_exec_prefix="$exec_prefix"
25755 exec_prefix="$acl_final_exec_prefix"
25757 eval additional_includedir=\"$includedir\"
25758 eval additional_libdir=\"$libdir\"
25760 exec_prefix="$acl_save_exec_prefix"
25761 prefix="$acl_save_prefix"
25764 # Check whether --with-libiconv-prefix was given.
25765 if test "${with_libiconv_prefix+set}" = set; then :
25766 withval=$with_libiconv_prefix;
25767 if test "X$withval" = "Xno"; then
25770 if test "X$withval" = "X"; then
25772 acl_save_prefix="$prefix"
25773 prefix="$acl_final_prefix"
25774 acl_save_exec_prefix="$exec_prefix"
25775 exec_prefix="$acl_final_exec_prefix"
25777 eval additional_includedir=\"$includedir\"
25778 eval additional_libdir=\"$libdir\"
25780 exec_prefix="$acl_save_exec_prefix"
25781 prefix="$acl_save_prefix"
25784 additional_includedir="$withval/include"
25785 additional_libdir="$withval/lib"
25796 names_already_handled=
25797 names_next_round='iconv '
25798 while test -n "$names_next_round"; do
25799 names_this_round="$names_next_round"
25801 for name in $names_this_round; do
25803 for n in $names_already_handled; do
25804 if test "$n" = "$name"; then
25805 already_handled=yes
25809 if test -z "$already_handled"; then
25810 names_already_handled="$names_already_handled $name"
25811 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25812 eval value=\"\$HAVE_LIB$uppername\"
25813 if test -n "$value"; then
25814 if test "$value" = yes; then
25815 eval value=\"\$LIB$uppername\"
25816 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25817 eval value=\"\$LTLIB$uppername\"
25818 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25827 if test $use_additional = yes; then
25828 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25829 found_dir="$additional_libdir"
25830 found_so="$additional_libdir/lib$name.$shlibext"
25831 if test -f "$additional_libdir/lib$name.la"; then
25832 found_la="$additional_libdir/lib$name.la"
25835 if test -f "$additional_libdir/lib$name.$libext"; then
25836 found_dir="$additional_libdir"
25837 found_a="$additional_libdir/lib$name.$libext"
25838 if test -f "$additional_libdir/lib$name.la"; then
25839 found_la="$additional_libdir/lib$name.la"
25844 if test "X$found_dir" = "X"; then
25845 for x in $LDFLAGS $LTLIBICONV; do
25847 acl_save_prefix="$prefix"
25848 prefix="$acl_final_prefix"
25849 acl_save_exec_prefix="$exec_prefix"
25850 exec_prefix="$acl_final_exec_prefix"
25852 exec_prefix="$acl_save_exec_prefix"
25853 prefix="$acl_save_prefix"
25857 dir=`echo "X$x" | sed -e 's/^X-L//'`
25858 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25860 found_so="$dir/lib$name.$shlibext"
25861 if test -f "$dir/lib$name.la"; then
25862 found_la="$dir/lib$name.la"
25865 if test -f "$dir/lib$name.$libext"; then
25867 found_a="$dir/lib$name.$libext"
25868 if test -f "$dir/lib$name.la"; then
25869 found_la="$dir/lib$name.la"
25875 if test "X$found_dir" != "X"; then
25880 if test "X$found_dir" != "X"; then
25881 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25882 if test "X$found_so" != "X"; then
25883 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25884 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25887 for x in $ltrpathdirs; do
25888 if test "X$x" = "X$found_dir"; then
25893 if test -z "$haveit"; then
25894 ltrpathdirs="$ltrpathdirs $found_dir"
25896 if test "$hardcode_direct" = yes; then
25897 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25899 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25900 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25902 for x in $rpathdirs; do
25903 if test "X$x" = "X$found_dir"; then
25908 if test -z "$haveit"; then
25909 rpathdirs="$rpathdirs $found_dir"
25913 for x in $LDFLAGS $LIBICONV; do
25915 acl_save_prefix="$prefix"
25916 prefix="$acl_final_prefix"
25917 acl_save_exec_prefix="$exec_prefix"
25918 exec_prefix="$acl_final_exec_prefix"
25920 exec_prefix="$acl_save_exec_prefix"
25921 prefix="$acl_save_prefix"
25923 if test "X$x" = "X-L$found_dir"; then
25928 if test -z "$haveit"; then
25929 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25931 if test "$hardcode_minus_L" != no; then
25932 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25934 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25940 if test "X$found_a" != "X"; then
25941 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25943 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25946 additional_includedir=
25947 case "$found_dir" in
25949 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25950 additional_includedir="$basedir/include"
25953 if test "X$additional_includedir" != "X"; then
25954 if test "X$additional_includedir" != "X/usr/include"; then
25956 if test "X$additional_includedir" = "X/usr/local/include"; then
25957 if test -n "$GCC"; then
25959 linux*) haveit=yes;;
25963 if test -z "$haveit"; then
25964 for x in $CPPFLAGS $INCICONV; do
25966 acl_save_prefix="$prefix"
25967 prefix="$acl_final_prefix"
25968 acl_save_exec_prefix="$exec_prefix"
25969 exec_prefix="$acl_final_exec_prefix"
25971 exec_prefix="$acl_save_exec_prefix"
25972 prefix="$acl_save_prefix"
25974 if test "X$x" = "X-I$additional_includedir"; then
25979 if test -z "$haveit"; then
25980 if test -d "$additional_includedir"; then
25981 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25987 if test -n "$found_la"; then
25988 save_libdir="$libdir"
25989 case "$found_la" in
25990 */* | *\\*) . "$found_la" ;;
25991 *) . "./$found_la" ;;
25993 libdir="$save_libdir"
25994 for dep in $dependency_libs; do
25997 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25998 if test "X$additional_libdir" != "X/usr/lib"; then
26000 if test "X$additional_libdir" = "X/usr/local/lib"; then
26001 if test -n "$GCC"; then
26003 linux*) haveit=yes;;
26007 if test -z "$haveit"; then
26009 for x in $LDFLAGS $LIBICONV; do
26011 acl_save_prefix="$prefix"
26012 prefix="$acl_final_prefix"
26013 acl_save_exec_prefix="$exec_prefix"
26014 exec_prefix="$acl_final_exec_prefix"
26016 exec_prefix="$acl_save_exec_prefix"
26017 prefix="$acl_save_prefix"
26019 if test "X$x" = "X-L$additional_libdir"; then
26024 if test -z "$haveit"; then
26025 if test -d "$additional_libdir"; then
26026 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26030 for x in $LDFLAGS $LTLIBICONV; do
26032 acl_save_prefix="$prefix"
26033 prefix="$acl_final_prefix"
26034 acl_save_exec_prefix="$exec_prefix"
26035 exec_prefix="$acl_final_exec_prefix"
26037 exec_prefix="$acl_save_exec_prefix"
26038 prefix="$acl_save_prefix"
26040 if test "X$x" = "X-L$additional_libdir"; then
26045 if test -z "$haveit"; then
26046 if test -d "$additional_libdir"; then
26047 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26054 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26055 if test "$enable_rpath" != no; then
26057 for x in $rpathdirs; do
26058 if test "X$x" = "X$dir"; then
26063 if test -z "$haveit"; then
26064 rpathdirs="$rpathdirs $dir"
26067 for x in $ltrpathdirs; do
26068 if test "X$x" = "X$dir"; then
26073 if test -z "$haveit"; then
26074 ltrpathdirs="$ltrpathdirs $dir"
26079 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26082 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26085 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26086 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26092 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26093 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26099 if test "X$rpathdirs" != "X"; then
26100 if test -n "$hardcode_libdir_separator"; then
26102 for found_dir in $rpathdirs; do
26103 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26105 acl_save_libdir="$libdir"
26107 eval flag=\"$hardcode_libdir_flag_spec\"
26108 libdir="$acl_save_libdir"
26109 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26111 for found_dir in $rpathdirs; do
26112 acl_save_libdir="$libdir"
26113 libdir="$found_dir"
26114 eval flag=\"$hardcode_libdir_flag_spec\"
26115 libdir="$acl_save_libdir"
26116 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26120 if test "X$ltrpathdirs" != "X"; then
26121 for found_dir in $ltrpathdirs; do
26122 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26132 am_save_CPPFLAGS="$CPPFLAGS"
26134 for element in $INCICONV; do
26136 for x in $CPPFLAGS; do
26138 acl_save_prefix="$prefix"
26139 prefix="$acl_final_prefix"
26140 acl_save_exec_prefix="$exec_prefix"
26141 exec_prefix="$acl_final_exec_prefix"
26143 exec_prefix="$acl_save_exec_prefix"
26144 prefix="$acl_save_prefix"
26146 if test "X$x" = "X$element"; then
26151 if test -z "$haveit"; then
26152 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26158 $as_echo_n "checking for iconv... " >&6; }
26159 if test "${am_cv_func_iconv+set}" = set; then :
26160 $as_echo_n "(cached) " >&6
26163 am_cv_func_iconv="no, consider installing GNU libiconv"
26165 if test x$gcc_no_link = xyes; then
26166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h. */
26170 #include <stdlib.h>
26175 iconv_t cd = iconv_open("","");
26176 iconv(cd,NULL,NULL,NULL,NULL);
26182 if ac_fn_c_try_link "$LINENO"; then :
26183 am_cv_func_iconv=yes
26185 rm -f core conftest.err conftest.$ac_objext \
26186 conftest$ac_exeext conftest.$ac_ext
26187 if test "$am_cv_func_iconv" != yes; then
26188 am_save_LIBS="$LIBS"
26189 LIBS="$LIBS $LIBICONV"
26190 if test x$gcc_no_link = xyes; then
26191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h. */
26195 #include <stdlib.h>
26200 iconv_t cd = iconv_open("","");
26201 iconv(cd,NULL,NULL,NULL,NULL);
26207 if ac_fn_c_try_link "$LINENO"; then :
26208 am_cv_lib_iconv=yes
26209 am_cv_func_iconv=yes
26211 rm -f core conftest.err conftest.$ac_objext \
26212 conftest$ac_exeext conftest.$ac_ext
26213 LIBS="$am_save_LIBS"
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26218 $as_echo "$am_cv_func_iconv" >&6; }
26219 if test "$am_cv_func_iconv" = yes; then
26221 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26224 if test "$am_cv_lib_iconv" = yes; then
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26226 $as_echo_n "checking how to link with libiconv... " >&6; }
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26228 $as_echo "$LIBICONV" >&6; }
26230 CPPFLAGS="$am_save_CPPFLAGS"
26237 if test "$am_cv_func_iconv" = yes; then
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26239 $as_echo_n "checking for iconv declaration... " >&6; }
26240 if test "${am_cv_proto_iconv+set}" = set; then :
26241 $as_echo_n "(cached) " >&6
26244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h. */
26247 #include <stdlib.h>
26253 #if defined(__STDC__) || defined(__cplusplus)
26254 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26267 if ac_fn_c_try_compile "$LINENO"; then :
26268 am_cv_proto_iconv_arg1=""
26270 am_cv_proto_iconv_arg1="const"
26272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26273 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);"
26276 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26278 }$am_cv_proto_iconv" >&5
26280 }$am_cv_proto_iconv" >&6; }
26282 cat >>confdefs.h <<_ACEOF
26283 #define ICONV_CONST $am_cv_proto_iconv_arg1
26291 # This lets us hard-code the functionality we know we'll have in the cross
26292 # target environment. "Let" is a sugar-coated word placed on an especially
26293 # dull and tedious hack, actually.
26295 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26296 # that involve linking, can't be used:
26297 # "cannot open sim-crt0.o"
26298 # "cannot open crt0.o"
26299 # etc. All this is because there currently exists no unified, consistent
26300 # way for top level CC information to be passed down to target directories:
26301 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26302 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26303 # crosses can be removed.
26305 # If Canadian cross, then don't pick up tools from the build directory.
26306 # Used only in GLIBCXX_EXPORT_INCLUDES.
26307 if test -n "$with_cross_host" &&
26308 test x"$build_alias" != x"$with_cross_host" &&
26309 test x"$build" != x"$target";
26316 # Construct crosses by hand, eliminating bits that need ld...
26317 # GLIBCXX_CHECK_MATH_SUPPORT
26319 # First, test for "known" system libraries. We may be using newlib even
26320 # on a hosted environment.
26321 if test "x${with_newlib}" = "xyes"; then
26322 os_include_dir="os/newlib"
26323 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26326 # GLIBCXX_CHECK_STDLIB_SUPPORT
26327 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26330 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26332 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26334 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26336 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26338 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26340 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26342 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26344 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26346 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26348 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26350 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26352 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26354 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26356 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26358 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26360 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26362 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26364 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26366 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26368 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26370 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26372 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26375 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26379 # Base decisions on target environment.
26381 arm*-*-symbianelf*)
26382 # This is a freestanding configuration; there is nothing to do here.
26386 # These definitions are for the SDE C library rather than newlib.
26387 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26390 # All these tests are for C++; save the language and the compiler flags.
26391 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26392 # found in GLIBCXX_CONFIGURE.
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26400 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26401 ac_save_CXXFLAGS="$CXXFLAGS"
26403 # Check for maintainer-mode bits.
26404 if test x"$USE_MAINTAINER_MODE" = xno; then
26410 # Check for -ffunction-sections -fdata-sections
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26412 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26413 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26415 /* end confdefs.h. */
26416 int foo; void bar() { };
26425 if ac_fn_cxx_try_compile "$LINENO"; then :
26430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26431 if test "$ac_test_CXXFLAGS" = set; then
26432 CXXFLAGS="$ac_save_CXXFLAGS"
26434 # this is the suspicious part
26437 if test x"$ac_fdsections" = x"yes"; then
26438 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26441 $as_echo "$ac_fdsections" >&6; }
26444 ac_cpp='$CPP $CPPFLAGS'
26445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26453 # If we're not using GNU ld, then there's no point in even trying these
26454 # tests. Check for that first. We should have already tested for gld
26455 # by now (in libtool), but require it now just to be safe...
26456 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26457 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26461 # The name set by libtool depends on the version of libtool. Shame on us
26462 # for depending on an impl detail, but c'est la vie. Older versions used
26463 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26464 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26465 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26466 # set (hence we're using an older libtool), then set it.
26467 if test x${with_gnu_ld+set} != xset; then
26468 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26469 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26472 with_gnu_ld=$ac_cv_prog_gnu_ld
26476 # Start by getting the version number. I think the libtool test already
26477 # does some of this, but throws away the result.
26478 glibcxx_ld_is_gold=no
26479 if test x"$with_gnu_ld" = x"yes"; then
26480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26481 $as_echo_n "checking for ld version... " >&6; }
26483 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26484 glibcxx_ld_is_gold=yes
26486 ldver=`$LD --version 2>/dev/null |
26487 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'`
26489 glibcxx_gnu_ld_version=`echo $ldver | \
26490 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26492 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26495 # Set --gc-sections.
26496 glibcxx_have_gc_sections=no
26497 if test "$glibcxx_ld_is_gold" = "yes"; then
26498 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26499 glibcxx_have_gc_sections=yes
26502 glibcxx_gcsections_min_ld=21602
26503 if test x"$with_gnu_ld" = x"yes" &&
26504 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26505 glibcxx_have_gc_sections=yes
26508 if test "$glibcxx_have_gc_sections" = "yes"; then
26509 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26510 # NB: This flag only works reliably after 2.16.1. Configure tests
26511 # for this are difficult, so hard wire a value that should work.
26513 ac_test_CFLAGS="${CFLAGS+set}"
26514 ac_save_CFLAGS="$CFLAGS"
26515 CFLAGS='-Wl,--gc-sections'
26517 # Check for -Wl,--gc-sections
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26519 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26520 if test x$gcc_no_link = xyes; then
26521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26524 /* end confdefs.h. */
26525 int one(void) { return 1; }
26526 int two(void) { return 2; }
26536 if ac_fn_c_try_link "$LINENO"; then :
26541 rm -f core conftest.err conftest.$ac_objext \
26542 conftest$ac_exeext conftest.$ac_ext
26543 if test "$ac_gcsections" = "yes"; then
26546 if $CC -c conftest.c; then
26547 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26548 grep "Warning: gc-sections option ignored" > /dev/null; then
26552 rm -f conftest.c conftest.o conftest
26554 if test "$ac_gcsections" = "yes"; then
26555 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26558 $as_echo "$ac_gcsections" >&6; }
26560 if test "$ac_test_CFLAGS" = set; then
26561 CFLAGS="$ac_save_CFLAGS"
26563 # this is the suspicious part
26569 # Note this is only for shared objects.
26571 if test x"$with_gnu_ld" = x"yes"; then
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26573 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26574 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26575 if test -n "$cxx_z_relo"; then
26576 OPT_LDFLAGS="-Wl,-z,relro"
26579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26580 $as_echo "$ac_ld_relro" >&6; }
26583 # Set linker optimization flags.
26584 if test x"$with_gnu_ld" = x"yes"; then
26585 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26593 ac_save_CXXFLAGS="$CXXFLAGS"
26594 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26597 $as_echo_n "checking for sin in -lm... " >&6; }
26598 if test "${ac_cv_lib_m_sin+set}" = set; then :
26599 $as_echo_n "(cached) " >&6
26601 ac_check_lib_save_LIBS=$LIBS
26603 if test x$gcc_no_link = xyes; then
26604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26607 /* end confdefs.h. */
26609 /* Override any GCC internal prototype to avoid an error.
26610 Use char because int might match the return type of a GCC
26611 builtin and then its argument prototype would still apply. */
26624 if ac_fn_c_try_link "$LINENO"; then :
26625 ac_cv_lib_m_sin=yes
26629 rm -f core conftest.err conftest.$ac_objext \
26630 conftest$ac_exeext conftest.$ac_ext
26631 LIBS=$ac_check_lib_save_LIBS
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26634 $as_echo "$ac_cv_lib_m_sin" >&6; }
26635 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26639 ac_save_LIBS="$LIBS"
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26645 $as_echo_n "checking for isinf declaration... " >&6; }
26646 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26647 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26648 $as_echo_n "(cached) " >&6
26653 ac_cpp='$CXXCPP $CPPFLAGS'
26654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26659 /* end confdefs.h. */
26661 #ifdef HAVE_IEEEFP_H
26662 #include <ieeefp.h>
26673 if ac_fn_cxx_try_compile "$LINENO"; then :
26674 glibcxx_cv_func_isinf_use=yes
26676 glibcxx_cv_func_isinf_use=no
26678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26680 ac_cpp='$CPP $CPPFLAGS'
26681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26690 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26692 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26693 for ac_func in isinf
26695 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26696 if test "x$ac_cv_func_isinf" = x""yes; then :
26697 cat >>confdefs.h <<_ACEOF
26698 #define HAVE_ISINF 1
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26707 $as_echo_n "checking for _isinf declaration... " >&6; }
26708 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26709 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26710 $as_echo_n "(cached) " >&6
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26721 /* end confdefs.h. */
26723 #ifdef HAVE_IEEEFP_H
26724 #include <ieeefp.h>
26735 if ac_fn_cxx_try_compile "$LINENO"; then :
26736 glibcxx_cv_func__isinf_use=yes
26738 glibcxx_cv_func__isinf_use=no
26740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26742 ac_cpp='$CPP $CPPFLAGS'
26743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26752 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26754 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26755 for ac_func in _isinf
26757 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26758 if test "x$ac_cv_func__isinf" = x""yes; then :
26759 cat >>confdefs.h <<_ACEOF
26760 #define HAVE__ISINF 1
26773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26774 $as_echo_n "checking for isnan declaration... " >&6; }
26775 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26776 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26777 $as_echo_n "(cached) " >&6
26782 ac_cpp='$CXXCPP $CPPFLAGS'
26783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26788 /* end confdefs.h. */
26790 #ifdef HAVE_IEEEFP_H
26791 #include <ieeefp.h>
26802 if ac_fn_cxx_try_compile "$LINENO"; then :
26803 glibcxx_cv_func_isnan_use=yes
26805 glibcxx_cv_func_isnan_use=no
26807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26809 ac_cpp='$CPP $CPPFLAGS'
26810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26819 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26821 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26822 for ac_func in isnan
26824 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26825 if test "x$ac_cv_func_isnan" = x""yes; then :
26826 cat >>confdefs.h <<_ACEOF
26827 #define HAVE_ISNAN 1
26835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26836 $as_echo_n "checking for _isnan declaration... " >&6; }
26837 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26838 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26839 $as_echo_n "(cached) " >&6
26844 ac_cpp='$CXXCPP $CPPFLAGS'
26845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26850 /* end confdefs.h. */
26852 #ifdef HAVE_IEEEFP_H
26853 #include <ieeefp.h>
26864 if ac_fn_cxx_try_compile "$LINENO"; then :
26865 glibcxx_cv_func__isnan_use=yes
26867 glibcxx_cv_func__isnan_use=no
26869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26871 ac_cpp='$CPP $CPPFLAGS'
26872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26881 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26883 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26884 for ac_func in _isnan
26886 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26887 if test "x$ac_cv_func__isnan" = x""yes; then :
26888 cat >>confdefs.h <<_ACEOF
26889 #define HAVE__ISNAN 1
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26903 $as_echo_n "checking for finite declaration... " >&6; }
26904 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26905 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26906 $as_echo_n "(cached) " >&6
26911 ac_cpp='$CXXCPP $CPPFLAGS'
26912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26917 /* end confdefs.h. */
26919 #ifdef HAVE_IEEEFP_H
26920 #include <ieeefp.h>
26931 if ac_fn_cxx_try_compile "$LINENO"; then :
26932 glibcxx_cv_func_finite_use=yes
26934 glibcxx_cv_func_finite_use=no
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26938 ac_cpp='$CPP $CPPFLAGS'
26939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26948 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26950 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26951 for ac_func in finite
26953 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26954 if test "x$ac_cv_func_finite" = x""yes; then :
26955 cat >>confdefs.h <<_ACEOF
26956 #define HAVE_FINITE 1
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26965 $as_echo_n "checking for _finite declaration... " >&6; }
26966 if test x${glibcxx_cv_func__finite_use+set} != xset; then
26967 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26968 $as_echo_n "(cached) " >&6
26973 ac_cpp='$CXXCPP $CPPFLAGS'
26974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26979 /* end confdefs.h. */
26981 #ifdef HAVE_IEEEFP_H
26982 #include <ieeefp.h>
26993 if ac_fn_cxx_try_compile "$LINENO"; then :
26994 glibcxx_cv_func__finite_use=yes
26996 glibcxx_cv_func__finite_use=no
26998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27000 ac_cpp='$CPP $CPPFLAGS'
27001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27010 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27012 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27013 for ac_func in _finite
27015 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27016 if test "x$ac_cv_func__finite" = x""yes; then :
27017 cat >>confdefs.h <<_ACEOF
27018 #define HAVE__FINITE 1
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27032 $as_echo_n "checking for sincos declaration... " >&6; }
27033 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27034 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27035 $as_echo_n "(cached) " >&6
27040 ac_cpp='$CXXCPP $CPPFLAGS'
27041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27046 /* end confdefs.h. */
27056 if ac_fn_cxx_try_compile "$LINENO"; then :
27057 glibcxx_cv_func_sincos_use=yes
27059 glibcxx_cv_func_sincos_use=no
27061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27073 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27075 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27076 for ac_func in sincos
27078 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27079 if test "x$ac_cv_func_sincos" = x""yes; then :
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE_SINCOS 1
27089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27090 $as_echo_n "checking for _sincos declaration... " >&6; }
27091 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27092 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27093 $as_echo_n "(cached) " >&6
27098 ac_cpp='$CXXCPP $CPPFLAGS'
27099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27104 /* end confdefs.h. */
27114 if ac_fn_cxx_try_compile "$LINENO"; then :
27115 glibcxx_cv_func__sincos_use=yes
27117 glibcxx_cv_func__sincos_use=no
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27121 ac_cpp='$CPP $CPPFLAGS'
27122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27131 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27133 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27134 for ac_func in _sincos
27136 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27137 if test "x$ac_cv_func__sincos" = x""yes; then :
27138 cat >>confdefs.h <<_ACEOF
27139 #define HAVE__SINCOS 1
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27153 $as_echo_n "checking for fpclass declaration... " >&6; }
27154 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27155 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27156 $as_echo_n "(cached) " >&6
27161 ac_cpp='$CXXCPP $CPPFLAGS'
27162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27167 /* end confdefs.h. */
27169 #ifdef HAVE_IEEEFP_H
27170 #include <ieeefp.h>
27181 if ac_fn_cxx_try_compile "$LINENO"; then :
27182 glibcxx_cv_func_fpclass_use=yes
27184 glibcxx_cv_func_fpclass_use=no
27186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27188 ac_cpp='$CPP $CPPFLAGS'
27189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27198 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27200 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27201 for ac_func in fpclass
27203 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27204 if test "x$ac_cv_func_fpclass" = x""yes; then :
27205 cat >>confdefs.h <<_ACEOF
27206 #define HAVE_FPCLASS 1
27214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27215 $as_echo_n "checking for _fpclass declaration... " >&6; }
27216 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27217 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27218 $as_echo_n "(cached) " >&6
27223 ac_cpp='$CXXCPP $CPPFLAGS'
27224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27229 /* end confdefs.h. */
27231 #ifdef HAVE_IEEEFP_H
27232 #include <ieeefp.h>
27243 if ac_fn_cxx_try_compile "$LINENO"; then :
27244 glibcxx_cv_func__fpclass_use=yes
27246 glibcxx_cv_func__fpclass_use=no
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27250 ac_cpp='$CPP $CPPFLAGS'
27251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27260 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27262 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27263 for ac_func in _fpclass
27265 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27266 if test "x$ac_cv_func__fpclass" = x""yes; then :
27267 cat >>confdefs.h <<_ACEOF
27268 #define HAVE__FPCLASS 1
27281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27282 $as_echo_n "checking for qfpclass declaration... " >&6; }
27283 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27284 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27285 $as_echo_n "(cached) " >&6
27290 ac_cpp='$CXXCPP $CPPFLAGS'
27291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27296 /* end confdefs.h. */
27298 #ifdef HAVE_IEEEFP_H
27299 #include <ieeefp.h>
27310 if ac_fn_cxx_try_compile "$LINENO"; then :
27311 glibcxx_cv_func_qfpclass_use=yes
27313 glibcxx_cv_func_qfpclass_use=no
27315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27317 ac_cpp='$CPP $CPPFLAGS'
27318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27327 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27329 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27330 for ac_func in qfpclass
27332 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27333 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27334 cat >>confdefs.h <<_ACEOF
27335 #define HAVE_QFPCLASS 1
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27344 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27345 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27346 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27347 $as_echo_n "(cached) " >&6
27352 ac_cpp='$CXXCPP $CPPFLAGS'
27353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h. */
27360 #ifdef HAVE_IEEEFP_H
27361 #include <ieeefp.h>
27372 if ac_fn_cxx_try_compile "$LINENO"; then :
27373 glibcxx_cv_func__qfpclass_use=yes
27375 glibcxx_cv_func__qfpclass_use=no
27377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27379 ac_cpp='$CPP $CPPFLAGS'
27380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27389 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27391 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27392 for ac_func in _qfpclass
27394 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27395 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27396 cat >>confdefs.h <<_ACEOF
27397 #define HAVE__QFPCLASS 1
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27411 $as_echo_n "checking for hypot declaration... " >&6; }
27412 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27413 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27414 $as_echo_n "(cached) " >&6
27419 ac_cpp='$CXXCPP $CPPFLAGS'
27420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27425 /* end confdefs.h. */
27435 if ac_fn_cxx_try_compile "$LINENO"; then :
27436 glibcxx_cv_func_hypot_use=yes
27438 glibcxx_cv_func_hypot_use=no
27440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27442 ac_cpp='$CPP $CPPFLAGS'
27443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27452 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27454 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27455 for ac_func in hypot
27457 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27458 if test "x$ac_cv_func_hypot" = x""yes; then :
27459 cat >>confdefs.h <<_ACEOF
27460 #define HAVE_HYPOT 1
27468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27469 $as_echo_n "checking for _hypot declaration... " >&6; }
27470 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27471 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27472 $as_echo_n "(cached) " >&6
27477 ac_cpp='$CXXCPP $CPPFLAGS'
27478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27483 /* end confdefs.h. */
27493 if ac_fn_cxx_try_compile "$LINENO"; then :
27494 glibcxx_cv_func__hypot_use=yes
27496 glibcxx_cv_func__hypot_use=no
27498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27500 ac_cpp='$CPP $CPPFLAGS'
27501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27510 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27512 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27513 for ac_func in _hypot
27515 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27516 if test "x$ac_cv_func__hypot" = x""yes; then :
27517 cat >>confdefs.h <<_ACEOF
27518 #define HAVE__HYPOT 1
27531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27532 $as_echo_n "checking for float trig functions... " >&6; }
27533 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27534 $as_echo_n "(cached) " >&6
27539 ac_cpp='$CXXCPP $CPPFLAGS'
27540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27545 /* end confdefs.h. */
27550 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27555 if ac_fn_cxx_try_compile "$LINENO"; then :
27556 glibcxx_cv_func_float_trig_use=yes
27558 glibcxx_cv_func_float_trig_use=no
27560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27562 ac_cpp='$CPP $CPPFLAGS'
27563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27570 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27571 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27572 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27576 eval as_val=\$$as_ac_var
27577 if test "x$as_val" = x""yes; then :
27578 cat >>confdefs.h <<_ACEOF
27579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27587 $as_echo_n "checking for _float trig functions... " >&6; }
27588 if test "${glibcxx_cv_func__float_trig_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. */
27605 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27610 if ac_fn_cxx_try_compile "$LINENO"; then :
27611 glibcxx_cv_func__float_trig_use=yes
27613 glibcxx_cv_func__float_trig_use=no
27615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27617 ac_cpp='$CPP $CPPFLAGS'
27618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27625 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27626 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27627 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27631 eval as_val=\$$as_ac_var
27632 if test "x$as_val" = x""yes; then :
27633 cat >>confdefs.h <<_ACEOF
27634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27648 $as_echo_n "checking for float round functions... " >&6; }
27649 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27650 $as_echo_n "(cached) " >&6
27655 ac_cpp='$CXXCPP $CPPFLAGS'
27656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27661 /* end confdefs.h. */
27666 ceilf (0); floorf (0);
27671 if ac_fn_cxx_try_compile "$LINENO"; then :
27672 glibcxx_cv_func_float_round_use=yes
27674 glibcxx_cv_func_float_round_use=no
27676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27678 ac_cpp='$CPP $CPPFLAGS'
27679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27686 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27687 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27688 for ac_func in ceilf floorf
27690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27692 eval as_val=\$$as_ac_var
27693 if test "x$as_val" = x""yes; then :
27694 cat >>confdefs.h <<_ACEOF
27695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27703 $as_echo_n "checking for _float round functions... " >&6; }
27704 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27705 $as_echo_n "(cached) " >&6
27710 ac_cpp='$CXXCPP $CPPFLAGS'
27711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27716 /* end confdefs.h. */
27721 _ceilf (0); _floorf (0);
27726 if ac_fn_cxx_try_compile "$LINENO"; then :
27727 glibcxx_cv_func__float_round_use=yes
27729 glibcxx_cv_func__float_round_use=no
27731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27733 ac_cpp='$CPP $CPPFLAGS'
27734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27741 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27742 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27743 for ac_func in _ceilf _floorf
27745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27747 eval as_val=\$$as_ac_var
27748 if test "x$as_val" = x""yes; then :
27749 cat >>confdefs.h <<_ACEOF
27750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27765 $as_echo_n "checking for expf declaration... " >&6; }
27766 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27767 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27768 $as_echo_n "(cached) " >&6
27773 ac_cpp='$CXXCPP $CPPFLAGS'
27774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27779 /* end confdefs.h. */
27781 #ifdef HAVE_IEEEFP_H
27782 #include <ieeefp.h>
27793 if ac_fn_cxx_try_compile "$LINENO"; then :
27794 glibcxx_cv_func_expf_use=yes
27796 glibcxx_cv_func_expf_use=no
27798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27800 ac_cpp='$CPP $CPPFLAGS'
27801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27810 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27812 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27813 for ac_func in expf
27815 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27816 if test "x$ac_cv_func_expf" = x""yes; then :
27817 cat >>confdefs.h <<_ACEOF
27818 #define HAVE_EXPF 1
27826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27827 $as_echo_n "checking for _expf declaration... " >&6; }
27828 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27829 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27830 $as_echo_n "(cached) " >&6
27835 ac_cpp='$CXXCPP $CPPFLAGS'
27836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27841 /* end confdefs.h. */
27843 #ifdef HAVE_IEEEFP_H
27844 #include <ieeefp.h>
27855 if ac_fn_cxx_try_compile "$LINENO"; then :
27856 glibcxx_cv_func__expf_use=yes
27858 glibcxx_cv_func__expf_use=no
27860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27862 ac_cpp='$CPP $CPPFLAGS'
27863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27872 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27874 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27875 for ac_func in _expf
27877 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27878 if test "x$ac_cv_func__expf" = x""yes; then :
27879 cat >>confdefs.h <<_ACEOF
27880 #define HAVE__EXPF 1
27893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27894 $as_echo_n "checking for isnanf declaration... " >&6; }
27895 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27896 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27897 $as_echo_n "(cached) " >&6
27902 ac_cpp='$CXXCPP $CPPFLAGS'
27903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27908 /* end confdefs.h. */
27910 #ifdef HAVE_IEEEFP_H
27911 #include <ieeefp.h>
27922 if ac_fn_cxx_try_compile "$LINENO"; then :
27923 glibcxx_cv_func_isnanf_use=yes
27925 glibcxx_cv_func_isnanf_use=no
27927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27929 ac_cpp='$CPP $CPPFLAGS'
27930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27939 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27941 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27942 for ac_func in isnanf
27944 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27945 if test "x$ac_cv_func_isnanf" = x""yes; then :
27946 cat >>confdefs.h <<_ACEOF
27947 #define HAVE_ISNANF 1
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27956 $as_echo_n "checking for _isnanf declaration... " >&6; }
27957 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27958 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27959 $as_echo_n "(cached) " >&6
27964 ac_cpp='$CXXCPP $CPPFLAGS'
27965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27970 /* end confdefs.h. */
27972 #ifdef HAVE_IEEEFP_H
27973 #include <ieeefp.h>
27984 if ac_fn_cxx_try_compile "$LINENO"; then :
27985 glibcxx_cv_func__isnanf_use=yes
27987 glibcxx_cv_func__isnanf_use=no
27989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991 ac_cpp='$CPP $CPPFLAGS'
27992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28001 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28003 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28004 for ac_func in _isnanf
28006 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28007 if test "x$ac_cv_func__isnanf" = x""yes; then :
28008 cat >>confdefs.h <<_ACEOF
28009 #define HAVE__ISNANF 1
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28023 $as_echo_n "checking for isinff declaration... " >&6; }
28024 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28025 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28026 $as_echo_n "(cached) " >&6
28031 ac_cpp='$CXXCPP $CPPFLAGS'
28032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28037 /* end confdefs.h. */
28039 #ifdef HAVE_IEEEFP_H
28040 #include <ieeefp.h>
28051 if ac_fn_cxx_try_compile "$LINENO"; then :
28052 glibcxx_cv_func_isinff_use=yes
28054 glibcxx_cv_func_isinff_use=no
28056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28058 ac_cpp='$CPP $CPPFLAGS'
28059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28068 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28070 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28071 for ac_func in isinff
28073 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28074 if test "x$ac_cv_func_isinff" = x""yes; then :
28075 cat >>confdefs.h <<_ACEOF
28076 #define HAVE_ISINFF 1
28084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28085 $as_echo_n "checking for _isinff declaration... " >&6; }
28086 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28087 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28088 $as_echo_n "(cached) " >&6
28093 ac_cpp='$CXXCPP $CPPFLAGS'
28094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28099 /* end confdefs.h. */
28101 #ifdef HAVE_IEEEFP_H
28102 #include <ieeefp.h>
28113 if ac_fn_cxx_try_compile "$LINENO"; then :
28114 glibcxx_cv_func__isinff_use=yes
28116 glibcxx_cv_func__isinff_use=no
28118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28120 ac_cpp='$CPP $CPPFLAGS'
28121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28130 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28132 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28133 for ac_func in _isinff
28135 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28136 if test "x$ac_cv_func__isinff" = x""yes; then :
28137 cat >>confdefs.h <<_ACEOF
28138 #define HAVE__ISINFF 1
28151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28152 $as_echo_n "checking for atan2f declaration... " >&6; }
28153 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28154 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28155 $as_echo_n "(cached) " >&6
28160 ac_cpp='$CXXCPP $CPPFLAGS'
28161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28166 /* end confdefs.h. */
28176 if ac_fn_cxx_try_compile "$LINENO"; then :
28177 glibcxx_cv_func_atan2f_use=yes
28179 glibcxx_cv_func_atan2f_use=no
28181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28183 ac_cpp='$CPP $CPPFLAGS'
28184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28193 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28195 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28196 for ac_func in atan2f
28198 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28199 if test "x$ac_cv_func_atan2f" = x""yes; then :
28200 cat >>confdefs.h <<_ACEOF
28201 #define HAVE_ATAN2F 1
28209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28210 $as_echo_n "checking for _atan2f declaration... " >&6; }
28211 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28212 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28213 $as_echo_n "(cached) " >&6
28218 ac_cpp='$CXXCPP $CPPFLAGS'
28219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28224 /* end confdefs.h. */
28234 if ac_fn_cxx_try_compile "$LINENO"; then :
28235 glibcxx_cv_func__atan2f_use=yes
28237 glibcxx_cv_func__atan2f_use=no
28239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28241 ac_cpp='$CPP $CPPFLAGS'
28242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28251 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28253 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28254 for ac_func in _atan2f
28256 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28257 if test "x$ac_cv_func__atan2f" = x""yes; then :
28258 cat >>confdefs.h <<_ACEOF
28259 #define HAVE__ATAN2F 1
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28273 $as_echo_n "checking for fabsf declaration... " >&6; }
28274 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28275 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28276 $as_echo_n "(cached) " >&6
28281 ac_cpp='$CXXCPP $CPPFLAGS'
28282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28287 /* end confdefs.h. */
28289 #ifdef HAVE_IEEEFP_H
28290 #include <ieeefp.h>
28301 if ac_fn_cxx_try_compile "$LINENO"; then :
28302 glibcxx_cv_func_fabsf_use=yes
28304 glibcxx_cv_func_fabsf_use=no
28306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28308 ac_cpp='$CPP $CPPFLAGS'
28309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28318 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28320 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28321 for ac_func in fabsf
28323 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28324 if test "x$ac_cv_func_fabsf" = x""yes; then :
28325 cat >>confdefs.h <<_ACEOF
28326 #define HAVE_FABSF 1
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28335 $as_echo_n "checking for _fabsf declaration... " >&6; }
28336 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28337 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28338 $as_echo_n "(cached) " >&6
28343 ac_cpp='$CXXCPP $CPPFLAGS'
28344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28349 /* end confdefs.h. */
28351 #ifdef HAVE_IEEEFP_H
28352 #include <ieeefp.h>
28363 if ac_fn_cxx_try_compile "$LINENO"; then :
28364 glibcxx_cv_func__fabsf_use=yes
28366 glibcxx_cv_func__fabsf_use=no
28368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28370 ac_cpp='$CPP $CPPFLAGS'
28371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28380 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28382 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28383 for ac_func in _fabsf
28385 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28386 if test "x$ac_cv_func__fabsf" = x""yes; then :
28387 cat >>confdefs.h <<_ACEOF
28388 #define HAVE__FABSF 1
28401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28402 $as_echo_n "checking for fmodf declaration... " >&6; }
28403 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28404 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28405 $as_echo_n "(cached) " >&6
28410 ac_cpp='$CXXCPP $CPPFLAGS'
28411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28416 /* end confdefs.h. */
28426 if ac_fn_cxx_try_compile "$LINENO"; then :
28427 glibcxx_cv_func_fmodf_use=yes
28429 glibcxx_cv_func_fmodf_use=no
28431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28433 ac_cpp='$CPP $CPPFLAGS'
28434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28443 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28445 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28446 for ac_func in fmodf
28448 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28449 if test "x$ac_cv_func_fmodf" = x""yes; then :
28450 cat >>confdefs.h <<_ACEOF
28451 #define HAVE_FMODF 1
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28460 $as_echo_n "checking for _fmodf declaration... " >&6; }
28461 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28462 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28463 $as_echo_n "(cached) " >&6
28468 ac_cpp='$CXXCPP $CPPFLAGS'
28469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28474 /* end confdefs.h. */
28484 if ac_fn_cxx_try_compile "$LINENO"; then :
28485 glibcxx_cv_func__fmodf_use=yes
28487 glibcxx_cv_func__fmodf_use=no
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28491 ac_cpp='$CPP $CPPFLAGS'
28492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28501 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28503 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28504 for ac_func in _fmodf
28506 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28507 if test "x$ac_cv_func__fmodf" = x""yes; then :
28508 cat >>confdefs.h <<_ACEOF
28509 #define HAVE__FMODF 1
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28523 $as_echo_n "checking for frexpf declaration... " >&6; }
28524 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28525 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28526 $as_echo_n "(cached) " >&6
28531 ac_cpp='$CXXCPP $CPPFLAGS'
28532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28537 /* end confdefs.h. */
28547 if ac_fn_cxx_try_compile "$LINENO"; then :
28548 glibcxx_cv_func_frexpf_use=yes
28550 glibcxx_cv_func_frexpf_use=no
28552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28554 ac_cpp='$CPP $CPPFLAGS'
28555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28564 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28566 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28567 for ac_func in frexpf
28569 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28570 if test "x$ac_cv_func_frexpf" = x""yes; then :
28571 cat >>confdefs.h <<_ACEOF
28572 #define HAVE_FREXPF 1
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28581 $as_echo_n "checking for _frexpf declaration... " >&6; }
28582 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28583 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28584 $as_echo_n "(cached) " >&6
28589 ac_cpp='$CXXCPP $CPPFLAGS'
28590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28595 /* end confdefs.h. */
28605 if ac_fn_cxx_try_compile "$LINENO"; then :
28606 glibcxx_cv_func__frexpf_use=yes
28608 glibcxx_cv_func__frexpf_use=no
28610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28612 ac_cpp='$CPP $CPPFLAGS'
28613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28622 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28624 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28625 for ac_func in _frexpf
28627 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28628 if test "x$ac_cv_func__frexpf" = x""yes; then :
28629 cat >>confdefs.h <<_ACEOF
28630 #define HAVE__FREXPF 1
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28644 $as_echo_n "checking for hypotf declaration... " >&6; }
28645 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28646 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28647 $as_echo_n "(cached) " >&6
28652 ac_cpp='$CXXCPP $CPPFLAGS'
28653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28658 /* end confdefs.h. */
28668 if ac_fn_cxx_try_compile "$LINENO"; then :
28669 glibcxx_cv_func_hypotf_use=yes
28671 glibcxx_cv_func_hypotf_use=no
28673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28675 ac_cpp='$CPP $CPPFLAGS'
28676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28685 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28687 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28688 for ac_func in hypotf
28690 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28691 if test "x$ac_cv_func_hypotf" = x""yes; then :
28692 cat >>confdefs.h <<_ACEOF
28693 #define HAVE_HYPOTF 1
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28702 $as_echo_n "checking for _hypotf declaration... " >&6; }
28703 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28704 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28705 $as_echo_n "(cached) " >&6
28710 ac_cpp='$CXXCPP $CPPFLAGS'
28711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28716 /* end confdefs.h. */
28726 if ac_fn_cxx_try_compile "$LINENO"; then :
28727 glibcxx_cv_func__hypotf_use=yes
28729 glibcxx_cv_func__hypotf_use=no
28731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28733 ac_cpp='$CPP $CPPFLAGS'
28734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28743 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28745 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28746 for ac_func in _hypotf
28748 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28749 if test "x$ac_cv_func__hypotf" = x""yes; then :
28750 cat >>confdefs.h <<_ACEOF
28751 #define HAVE__HYPOTF 1
28764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28765 $as_echo_n "checking for ldexpf declaration... " >&6; }
28766 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28767 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28768 $as_echo_n "(cached) " >&6
28773 ac_cpp='$CXXCPP $CPPFLAGS'
28774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28779 /* end confdefs.h. */
28789 if ac_fn_cxx_try_compile "$LINENO"; then :
28790 glibcxx_cv_func_ldexpf_use=yes
28792 glibcxx_cv_func_ldexpf_use=no
28794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28796 ac_cpp='$CPP $CPPFLAGS'
28797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28806 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28808 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28809 for ac_func in ldexpf
28811 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28812 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28813 cat >>confdefs.h <<_ACEOF
28814 #define HAVE_LDEXPF 1
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28823 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28824 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28825 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28826 $as_echo_n "(cached) " >&6
28831 ac_cpp='$CXXCPP $CPPFLAGS'
28832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h. */
28847 if ac_fn_cxx_try_compile "$LINENO"; then :
28848 glibcxx_cv_func__ldexpf_use=yes
28850 glibcxx_cv_func__ldexpf_use=no
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28854 ac_cpp='$CPP $CPPFLAGS'
28855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28864 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28866 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28867 for ac_func in _ldexpf
28869 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28870 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28871 cat >>confdefs.h <<_ACEOF
28872 #define HAVE__LDEXPF 1
28885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28886 $as_echo_n "checking for logf declaration... " >&6; }
28887 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28888 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28889 $as_echo_n "(cached) " >&6
28894 ac_cpp='$CXXCPP $CPPFLAGS'
28895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28900 /* end confdefs.h. */
28902 #ifdef HAVE_IEEEFP_H
28903 #include <ieeefp.h>
28914 if ac_fn_cxx_try_compile "$LINENO"; then :
28915 glibcxx_cv_func_logf_use=yes
28917 glibcxx_cv_func_logf_use=no
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921 ac_cpp='$CPP $CPPFLAGS'
28922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28931 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28933 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28934 for ac_func in logf
28936 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28937 if test "x$ac_cv_func_logf" = x""yes; then :
28938 cat >>confdefs.h <<_ACEOF
28939 #define HAVE_LOGF 1
28947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28948 $as_echo_n "checking for _logf declaration... " >&6; }
28949 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28950 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28951 $as_echo_n "(cached) " >&6
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28962 /* end confdefs.h. */
28964 #ifdef HAVE_IEEEFP_H
28965 #include <ieeefp.h>
28976 if ac_fn_cxx_try_compile "$LINENO"; then :
28977 glibcxx_cv_func__logf_use=yes
28979 glibcxx_cv_func__logf_use=no
28981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28983 ac_cpp='$CPP $CPPFLAGS'
28984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28993 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28995 if test x$glibcxx_cv_func__logf_use = x"yes"; then
28996 for ac_func in _logf
28998 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28999 if test "x$ac_cv_func__logf" = x""yes; then :
29000 cat >>confdefs.h <<_ACEOF
29001 #define HAVE__LOGF 1
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29015 $as_echo_n "checking for log10f declaration... " >&6; }
29016 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29017 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29018 $as_echo_n "(cached) " >&6
29023 ac_cpp='$CXXCPP $CPPFLAGS'
29024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29029 /* end confdefs.h. */
29031 #ifdef HAVE_IEEEFP_H
29032 #include <ieeefp.h>
29043 if ac_fn_cxx_try_compile "$LINENO"; then :
29044 glibcxx_cv_func_log10f_use=yes
29046 glibcxx_cv_func_log10f_use=no
29048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29050 ac_cpp='$CPP $CPPFLAGS'
29051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29060 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29062 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29063 for ac_func in log10f
29065 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29066 if test "x$ac_cv_func_log10f" = x""yes; then :
29067 cat >>confdefs.h <<_ACEOF
29068 #define HAVE_LOG10F 1
29076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29077 $as_echo_n "checking for _log10f declaration... " >&6; }
29078 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29079 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29080 $as_echo_n "(cached) " >&6
29085 ac_cpp='$CXXCPP $CPPFLAGS'
29086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29091 /* end confdefs.h. */
29093 #ifdef HAVE_IEEEFP_H
29094 #include <ieeefp.h>
29105 if ac_fn_cxx_try_compile "$LINENO"; then :
29106 glibcxx_cv_func__log10f_use=yes
29108 glibcxx_cv_func__log10f_use=no
29110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29112 ac_cpp='$CPP $CPPFLAGS'
29113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29122 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29124 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29125 for ac_func in _log10f
29127 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29128 if test "x$ac_cv_func__log10f" = x""yes; then :
29129 cat >>confdefs.h <<_ACEOF
29130 #define HAVE__LOG10F 1
29143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29144 $as_echo_n "checking for modff declaration... " >&6; }
29145 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29146 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29147 $as_echo_n "(cached) " >&6
29152 ac_cpp='$CXXCPP $CPPFLAGS'
29153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29158 /* end confdefs.h. */
29168 if ac_fn_cxx_try_compile "$LINENO"; then :
29169 glibcxx_cv_func_modff_use=yes
29171 glibcxx_cv_func_modff_use=no
29173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175 ac_cpp='$CPP $CPPFLAGS'
29176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29185 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29187 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29188 for ac_func in modff
29190 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29191 if test "x$ac_cv_func_modff" = x""yes; then :
29192 cat >>confdefs.h <<_ACEOF
29193 #define HAVE_MODFF 1
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29202 $as_echo_n "checking for _modff declaration... " >&6; }
29203 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29204 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29205 $as_echo_n "(cached) " >&6
29210 ac_cpp='$CXXCPP $CPPFLAGS'
29211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29216 /* end confdefs.h. */
29226 if ac_fn_cxx_try_compile "$LINENO"; then :
29227 glibcxx_cv_func__modff_use=yes
29229 glibcxx_cv_func__modff_use=no
29231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29233 ac_cpp='$CPP $CPPFLAGS'
29234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29243 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29245 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29246 for ac_func in _modff
29248 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29249 if test "x$ac_cv_func__modff" = x""yes; then :
29250 cat >>confdefs.h <<_ACEOF
29251 #define HAVE__MODFF 1
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29265 $as_echo_n "checking for modf declaration... " >&6; }
29266 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29267 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29268 $as_echo_n "(cached) " >&6
29273 ac_cpp='$CXXCPP $CPPFLAGS'
29274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29279 /* end confdefs.h. */
29289 if ac_fn_cxx_try_compile "$LINENO"; then :
29290 glibcxx_cv_func_modf_use=yes
29292 glibcxx_cv_func_modf_use=no
29294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29296 ac_cpp='$CPP $CPPFLAGS'
29297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29306 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29308 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29309 for ac_func in modf
29311 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29312 if test "x$ac_cv_func_modf" = x""yes; then :
29313 cat >>confdefs.h <<_ACEOF
29314 #define HAVE_MODF 1
29322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29323 $as_echo_n "checking for _modf declaration... " >&6; }
29324 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29325 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29326 $as_echo_n "(cached) " >&6
29331 ac_cpp='$CXXCPP $CPPFLAGS'
29332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29337 /* end confdefs.h. */
29347 if ac_fn_cxx_try_compile "$LINENO"; then :
29348 glibcxx_cv_func__modf_use=yes
29350 glibcxx_cv_func__modf_use=no
29352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29354 ac_cpp='$CPP $CPPFLAGS'
29355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29364 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29366 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29367 for ac_func in _modf
29369 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29370 if test "x$ac_cv_func__modf" = x""yes; then :
29371 cat >>confdefs.h <<_ACEOF
29372 #define HAVE__MODF 1
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29386 $as_echo_n "checking for powf declaration... " >&6; }
29387 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29388 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29389 $as_echo_n "(cached) " >&6
29394 ac_cpp='$CXXCPP $CPPFLAGS'
29395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29400 /* end confdefs.h. */
29410 if ac_fn_cxx_try_compile "$LINENO"; then :
29411 glibcxx_cv_func_powf_use=yes
29413 glibcxx_cv_func_powf_use=no
29415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29417 ac_cpp='$CPP $CPPFLAGS'
29418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29427 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29429 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29430 for ac_func in powf
29432 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29433 if test "x$ac_cv_func_powf" = x""yes; then :
29434 cat >>confdefs.h <<_ACEOF
29435 #define HAVE_POWF 1
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29444 $as_echo_n "checking for _powf declaration... " >&6; }
29445 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29446 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29447 $as_echo_n "(cached) " >&6
29452 ac_cpp='$CXXCPP $CPPFLAGS'
29453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h. */
29468 if ac_fn_cxx_try_compile "$LINENO"; then :
29469 glibcxx_cv_func__powf_use=yes
29471 glibcxx_cv_func__powf_use=no
29473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29475 ac_cpp='$CPP $CPPFLAGS'
29476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29485 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29487 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29488 for ac_func in _powf
29490 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29491 if test "x$ac_cv_func__powf" = x""yes; then :
29492 cat >>confdefs.h <<_ACEOF
29493 #define HAVE__POWF 1
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29507 $as_echo_n "checking for sqrtf declaration... " >&6; }
29508 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29509 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29510 $as_echo_n "(cached) " >&6
29515 ac_cpp='$CXXCPP $CPPFLAGS'
29516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29521 /* end confdefs.h. */
29523 #ifdef HAVE_IEEEFP_H
29524 #include <ieeefp.h>
29535 if ac_fn_cxx_try_compile "$LINENO"; then :
29536 glibcxx_cv_func_sqrtf_use=yes
29538 glibcxx_cv_func_sqrtf_use=no
29540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29542 ac_cpp='$CPP $CPPFLAGS'
29543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29552 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29554 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29555 for ac_func in sqrtf
29557 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29558 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29559 cat >>confdefs.h <<_ACEOF
29560 #define HAVE_SQRTF 1
29568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29569 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29570 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29571 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29572 $as_echo_n "(cached) " >&6
29577 ac_cpp='$CXXCPP $CPPFLAGS'
29578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29583 /* end confdefs.h. */
29585 #ifdef HAVE_IEEEFP_H
29586 #include <ieeefp.h>
29597 if ac_fn_cxx_try_compile "$LINENO"; then :
29598 glibcxx_cv_func__sqrtf_use=yes
29600 glibcxx_cv_func__sqrtf_use=no
29602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29604 ac_cpp='$CPP $CPPFLAGS'
29605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29614 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29616 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29617 for ac_func in _sqrtf
29619 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29620 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29621 cat >>confdefs.h <<_ACEOF
29622 #define HAVE__SQRTF 1
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29636 $as_echo_n "checking for sincosf declaration... " >&6; }
29637 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29638 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29639 $as_echo_n "(cached) " >&6
29644 ac_cpp='$CXXCPP $CPPFLAGS'
29645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29650 /* end confdefs.h. */
29660 if ac_fn_cxx_try_compile "$LINENO"; then :
29661 glibcxx_cv_func_sincosf_use=yes
29663 glibcxx_cv_func_sincosf_use=no
29665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29667 ac_cpp='$CPP $CPPFLAGS'
29668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29677 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29679 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29680 for ac_func in sincosf
29682 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29683 if test "x$ac_cv_func_sincosf" = x""yes; then :
29684 cat >>confdefs.h <<_ACEOF
29685 #define HAVE_SINCOSF 1
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29694 $as_echo_n "checking for _sincosf declaration... " >&6; }
29695 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29696 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29697 $as_echo_n "(cached) " >&6
29702 ac_cpp='$CXXCPP $CPPFLAGS'
29703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29708 /* end confdefs.h. */
29718 if ac_fn_cxx_try_compile "$LINENO"; then :
29719 glibcxx_cv_func__sincosf_use=yes
29721 glibcxx_cv_func__sincosf_use=no
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29725 ac_cpp='$CPP $CPPFLAGS'
29726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29735 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29737 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29738 for ac_func in _sincosf
29740 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29741 if test "x$ac_cv_func__sincosf" = x""yes; then :
29742 cat >>confdefs.h <<_ACEOF
29743 #define HAVE__SINCOSF 1
29756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29757 $as_echo_n "checking for finitef declaration... " >&6; }
29758 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29759 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29760 $as_echo_n "(cached) " >&6
29765 ac_cpp='$CXXCPP $CPPFLAGS'
29766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29771 /* end confdefs.h. */
29773 #ifdef HAVE_IEEEFP_H
29774 #include <ieeefp.h>
29785 if ac_fn_cxx_try_compile "$LINENO"; then :
29786 glibcxx_cv_func_finitef_use=yes
29788 glibcxx_cv_func_finitef_use=no
29790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29792 ac_cpp='$CPP $CPPFLAGS'
29793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29802 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29804 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29805 for ac_func in finitef
29807 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29808 if test "x$ac_cv_func_finitef" = x""yes; then :
29809 cat >>confdefs.h <<_ACEOF
29810 #define HAVE_FINITEF 1
29818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29819 $as_echo_n "checking for _finitef declaration... " >&6; }
29820 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29821 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29822 $as_echo_n "(cached) " >&6
29827 ac_cpp='$CXXCPP $CPPFLAGS'
29828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29833 /* end confdefs.h. */
29835 #ifdef HAVE_IEEEFP_H
29836 #include <ieeefp.h>
29847 if ac_fn_cxx_try_compile "$LINENO"; then :
29848 glibcxx_cv_func__finitef_use=yes
29850 glibcxx_cv_func__finitef_use=no
29852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29854 ac_cpp='$CPP $CPPFLAGS'
29855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29864 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29866 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29867 for ac_func in _finitef
29869 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29870 if test "x$ac_cv_func__finitef" = x""yes; then :
29871 cat >>confdefs.h <<_ACEOF
29872 #define HAVE__FINITEF 1
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29886 $as_echo_n "checking for long double trig functions... " >&6; }
29887 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29888 $as_echo_n "(cached) " >&6
29893 ac_cpp='$CXXCPP $CPPFLAGS'
29894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29899 /* end confdefs.h. */
29904 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29909 if ac_fn_cxx_try_compile "$LINENO"; then :
29910 glibcxx_cv_func_long_double_trig_use=yes
29912 glibcxx_cv_func_long_double_trig_use=no
29914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29916 ac_cpp='$CPP $CPPFLAGS'
29917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29924 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29925 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29926 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29930 eval as_val=\$$as_ac_var
29931 if test "x$as_val" = x""yes; then :
29932 cat >>confdefs.h <<_ACEOF
29933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29941 $as_echo_n "checking for _long double trig functions... " >&6; }
29942 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29943 $as_echo_n "(cached) " >&6
29948 ac_cpp='$CXXCPP $CPPFLAGS'
29949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29954 /* end confdefs.h. */
29959 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29964 if ac_fn_cxx_try_compile "$LINENO"; then :
29965 glibcxx_cv_func__long_double_trig_use=yes
29967 glibcxx_cv_func__long_double_trig_use=no
29969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29971 ac_cpp='$CPP $CPPFLAGS'
29972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29979 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29980 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29981 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29985 eval as_val=\$$as_ac_var
29986 if test "x$as_val" = x""yes; then :
29987 cat >>confdefs.h <<_ACEOF
29988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30002 $as_echo_n "checking for long double round functions... " >&6; }
30003 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30004 $as_echo_n "(cached) " >&6
30009 ac_cpp='$CXXCPP $CPPFLAGS'
30010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30015 /* end confdefs.h. */
30020 ceill (0); floorl (0);
30025 if ac_fn_cxx_try_compile "$LINENO"; then :
30026 glibcxx_cv_func_long_double_round_use=yes
30028 glibcxx_cv_func_long_double_round_use=no
30030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30032 ac_cpp='$CPP $CPPFLAGS'
30033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30040 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30041 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30042 for ac_func in ceill floorl
30044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30046 eval as_val=\$$as_ac_var
30047 if test "x$as_val" = x""yes; then :
30048 cat >>confdefs.h <<_ACEOF
30049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30057 $as_echo_n "checking for _long double round functions... " >&6; }
30058 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30059 $as_echo_n "(cached) " >&6
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30070 /* end confdefs.h. */
30075 _ceill (0); _floorl (0);
30080 if ac_fn_cxx_try_compile "$LINENO"; then :
30081 glibcxx_cv_func__long_double_round_use=yes
30083 glibcxx_cv_func__long_double_round_use=no
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30087 ac_cpp='$CPP $CPPFLAGS'
30088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30095 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30096 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30097 for ac_func in _ceill _floorl
30099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30101 eval as_val=\$$as_ac_var
30102 if test "x$as_val" = x""yes; then :
30103 cat >>confdefs.h <<_ACEOF
30104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30119 $as_echo_n "checking for isnanl declaration... " >&6; }
30120 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30121 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30122 $as_echo_n "(cached) " >&6
30127 ac_cpp='$CXXCPP $CPPFLAGS'
30128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30133 /* end confdefs.h. */
30135 #ifdef HAVE_IEEEFP_H
30136 #include <ieeefp.h>
30147 if ac_fn_cxx_try_compile "$LINENO"; then :
30148 glibcxx_cv_func_isnanl_use=yes
30150 glibcxx_cv_func_isnanl_use=no
30152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30154 ac_cpp='$CPP $CPPFLAGS'
30155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30164 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30166 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30167 for ac_func in isnanl
30169 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30170 if test "x$ac_cv_func_isnanl" = x""yes; then :
30171 cat >>confdefs.h <<_ACEOF
30172 #define HAVE_ISNANL 1
30180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30181 $as_echo_n "checking for _isnanl declaration... " >&6; }
30182 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30183 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30184 $as_echo_n "(cached) " >&6
30189 ac_cpp='$CXXCPP $CPPFLAGS'
30190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30195 /* end confdefs.h. */
30197 #ifdef HAVE_IEEEFP_H
30198 #include <ieeefp.h>
30209 if ac_fn_cxx_try_compile "$LINENO"; then :
30210 glibcxx_cv_func__isnanl_use=yes
30212 glibcxx_cv_func__isnanl_use=no
30214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30216 ac_cpp='$CPP $CPPFLAGS'
30217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30226 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30228 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30229 for ac_func in _isnanl
30231 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30232 if test "x$ac_cv_func__isnanl" = x""yes; then :
30233 cat >>confdefs.h <<_ACEOF
30234 #define HAVE__ISNANL 1
30247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30248 $as_echo_n "checking for isinfl declaration... " >&6; }
30249 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30250 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30251 $as_echo_n "(cached) " >&6
30256 ac_cpp='$CXXCPP $CPPFLAGS'
30257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30262 /* end confdefs.h. */
30264 #ifdef HAVE_IEEEFP_H
30265 #include <ieeefp.h>
30276 if ac_fn_cxx_try_compile "$LINENO"; then :
30277 glibcxx_cv_func_isinfl_use=yes
30279 glibcxx_cv_func_isinfl_use=no
30281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30283 ac_cpp='$CPP $CPPFLAGS'
30284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30293 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30295 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30296 for ac_func in isinfl
30298 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30299 if test "x$ac_cv_func_isinfl" = x""yes; then :
30300 cat >>confdefs.h <<_ACEOF
30301 #define HAVE_ISINFL 1
30309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30310 $as_echo_n "checking for _isinfl declaration... " >&6; }
30311 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30312 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30313 $as_echo_n "(cached) " >&6
30318 ac_cpp='$CXXCPP $CPPFLAGS'
30319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30324 /* end confdefs.h. */
30326 #ifdef HAVE_IEEEFP_H
30327 #include <ieeefp.h>
30338 if ac_fn_cxx_try_compile "$LINENO"; then :
30339 glibcxx_cv_func__isinfl_use=yes
30341 glibcxx_cv_func__isinfl_use=no
30343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30345 ac_cpp='$CPP $CPPFLAGS'
30346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30355 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30357 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30358 for ac_func in _isinfl
30360 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30361 if test "x$ac_cv_func__isinfl" = x""yes; then :
30362 cat >>confdefs.h <<_ACEOF
30363 #define HAVE__ISINFL 1
30376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30377 $as_echo_n "checking for atan2l declaration... " >&6; }
30378 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30379 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30380 $as_echo_n "(cached) " >&6
30385 ac_cpp='$CXXCPP $CPPFLAGS'
30386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30391 /* end confdefs.h. */
30401 if ac_fn_cxx_try_compile "$LINENO"; then :
30402 glibcxx_cv_func_atan2l_use=yes
30404 glibcxx_cv_func_atan2l_use=no
30406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30408 ac_cpp='$CPP $CPPFLAGS'
30409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30418 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30420 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30421 for ac_func in atan2l
30423 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30424 if test "x$ac_cv_func_atan2l" = x""yes; then :
30425 cat >>confdefs.h <<_ACEOF
30426 #define HAVE_ATAN2L 1
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30435 $as_echo_n "checking for _atan2l declaration... " >&6; }
30436 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30437 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30438 $as_echo_n "(cached) " >&6
30443 ac_cpp='$CXXCPP $CPPFLAGS'
30444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30449 /* end confdefs.h. */
30459 if ac_fn_cxx_try_compile "$LINENO"; then :
30460 glibcxx_cv_func__atan2l_use=yes
30462 glibcxx_cv_func__atan2l_use=no
30464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30466 ac_cpp='$CPP $CPPFLAGS'
30467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30476 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30478 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30479 for ac_func in _atan2l
30481 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30482 if test "x$ac_cv_func__atan2l" = x""yes; then :
30483 cat >>confdefs.h <<_ACEOF
30484 #define HAVE__ATAN2L 1
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30498 $as_echo_n "checking for expl declaration... " >&6; }
30499 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30500 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30501 $as_echo_n "(cached) " >&6
30506 ac_cpp='$CXXCPP $CPPFLAGS'
30507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30512 /* end confdefs.h. */
30514 #ifdef HAVE_IEEEFP_H
30515 #include <ieeefp.h>
30526 if ac_fn_cxx_try_compile "$LINENO"; then :
30527 glibcxx_cv_func_expl_use=yes
30529 glibcxx_cv_func_expl_use=no
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30533 ac_cpp='$CPP $CPPFLAGS'
30534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30543 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30545 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30546 for ac_func in expl
30548 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30549 if test "x$ac_cv_func_expl" = x""yes; then :
30550 cat >>confdefs.h <<_ACEOF
30551 #define HAVE_EXPL 1
30559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30560 $as_echo_n "checking for _expl declaration... " >&6; }
30561 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30562 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30563 $as_echo_n "(cached) " >&6
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h. */
30576 #ifdef HAVE_IEEEFP_H
30577 #include <ieeefp.h>
30588 if ac_fn_cxx_try_compile "$LINENO"; then :
30589 glibcxx_cv_func__expl_use=yes
30591 glibcxx_cv_func__expl_use=no
30593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30595 ac_cpp='$CPP $CPPFLAGS'
30596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30605 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30607 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30608 for ac_func in _expl
30610 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30611 if test "x$ac_cv_func__expl" = x""yes; then :
30612 cat >>confdefs.h <<_ACEOF
30613 #define HAVE__EXPL 1
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30627 $as_echo_n "checking for fabsl declaration... " >&6; }
30628 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30629 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30630 $as_echo_n "(cached) " >&6
30635 ac_cpp='$CXXCPP $CPPFLAGS'
30636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30641 /* end confdefs.h. */
30643 #ifdef HAVE_IEEEFP_H
30644 #include <ieeefp.h>
30655 if ac_fn_cxx_try_compile "$LINENO"; then :
30656 glibcxx_cv_func_fabsl_use=yes
30658 glibcxx_cv_func_fabsl_use=no
30660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30662 ac_cpp='$CPP $CPPFLAGS'
30663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30672 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30674 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30675 for ac_func in fabsl
30677 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30678 if test "x$ac_cv_func_fabsl" = x""yes; then :
30679 cat >>confdefs.h <<_ACEOF
30680 #define HAVE_FABSL 1
30688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30689 $as_echo_n "checking for _fabsl declaration... " >&6; }
30690 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30691 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30692 $as_echo_n "(cached) " >&6
30697 ac_cpp='$CXXCPP $CPPFLAGS'
30698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30703 /* end confdefs.h. */
30705 #ifdef HAVE_IEEEFP_H
30706 #include <ieeefp.h>
30717 if ac_fn_cxx_try_compile "$LINENO"; then :
30718 glibcxx_cv_func__fabsl_use=yes
30720 glibcxx_cv_func__fabsl_use=no
30722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30724 ac_cpp='$CPP $CPPFLAGS'
30725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30734 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30736 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30737 for ac_func in _fabsl
30739 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30740 if test "x$ac_cv_func__fabsl" = x""yes; then :
30741 cat >>confdefs.h <<_ACEOF
30742 #define HAVE__FABSL 1
30755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30756 $as_echo_n "checking for fmodl declaration... " >&6; }
30757 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30758 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30759 $as_echo_n "(cached) " >&6
30764 ac_cpp='$CXXCPP $CPPFLAGS'
30765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30770 /* end confdefs.h. */
30780 if ac_fn_cxx_try_compile "$LINENO"; then :
30781 glibcxx_cv_func_fmodl_use=yes
30783 glibcxx_cv_func_fmodl_use=no
30785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30787 ac_cpp='$CPP $CPPFLAGS'
30788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30797 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30799 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30800 for ac_func in fmodl
30802 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30803 if test "x$ac_cv_func_fmodl" = x""yes; then :
30804 cat >>confdefs.h <<_ACEOF
30805 #define HAVE_FMODL 1
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30814 $as_echo_n "checking for _fmodl declaration... " >&6; }
30815 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30816 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30817 $as_echo_n "(cached) " >&6
30822 ac_cpp='$CXXCPP $CPPFLAGS'
30823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30828 /* end confdefs.h. */
30838 if ac_fn_cxx_try_compile "$LINENO"; then :
30839 glibcxx_cv_func__fmodl_use=yes
30841 glibcxx_cv_func__fmodl_use=no
30843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30845 ac_cpp='$CPP $CPPFLAGS'
30846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30855 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30857 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30858 for ac_func in _fmodl
30860 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30861 if test "x$ac_cv_func__fmodl" = x""yes; then :
30862 cat >>confdefs.h <<_ACEOF
30863 #define HAVE__FMODL 1
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30877 $as_echo_n "checking for frexpl declaration... " >&6; }
30878 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30879 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30880 $as_echo_n "(cached) " >&6
30885 ac_cpp='$CXXCPP $CPPFLAGS'
30886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30891 /* end confdefs.h. */
30901 if ac_fn_cxx_try_compile "$LINENO"; then :
30902 glibcxx_cv_func_frexpl_use=yes
30904 glibcxx_cv_func_frexpl_use=no
30906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30908 ac_cpp='$CPP $CPPFLAGS'
30909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30918 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30920 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30921 for ac_func in frexpl
30923 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30924 if test "x$ac_cv_func_frexpl" = x""yes; then :
30925 cat >>confdefs.h <<_ACEOF
30926 #define HAVE_FREXPL 1
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30935 $as_echo_n "checking for _frexpl declaration... " >&6; }
30936 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30937 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30938 $as_echo_n "(cached) " >&6
30943 ac_cpp='$CXXCPP $CPPFLAGS'
30944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h. */
30959 if ac_fn_cxx_try_compile "$LINENO"; then :
30960 glibcxx_cv_func__frexpl_use=yes
30962 glibcxx_cv_func__frexpl_use=no
30964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30966 ac_cpp='$CPP $CPPFLAGS'
30967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30976 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30978 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30979 for ac_func in _frexpl
30981 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30982 if test "x$ac_cv_func__frexpl" = x""yes; then :
30983 cat >>confdefs.h <<_ACEOF
30984 #define HAVE__FREXPL 1
30997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30998 $as_echo_n "checking for hypotl declaration... " >&6; }
30999 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31000 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31001 $as_echo_n "(cached) " >&6
31006 ac_cpp='$CXXCPP $CPPFLAGS'
31007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31012 /* end confdefs.h. */
31022 if ac_fn_cxx_try_compile "$LINENO"; then :
31023 glibcxx_cv_func_hypotl_use=yes
31025 glibcxx_cv_func_hypotl_use=no
31027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31029 ac_cpp='$CPP $CPPFLAGS'
31030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31039 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31041 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31042 for ac_func in hypotl
31044 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31045 if test "x$ac_cv_func_hypotl" = x""yes; then :
31046 cat >>confdefs.h <<_ACEOF
31047 #define HAVE_HYPOTL 1
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31056 $as_echo_n "checking for _hypotl declaration... " >&6; }
31057 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31058 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31059 $as_echo_n "(cached) " >&6
31064 ac_cpp='$CXXCPP $CPPFLAGS'
31065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31070 /* end confdefs.h. */
31080 if ac_fn_cxx_try_compile "$LINENO"; then :
31081 glibcxx_cv_func__hypotl_use=yes
31083 glibcxx_cv_func__hypotl_use=no
31085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31087 ac_cpp='$CPP $CPPFLAGS'
31088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31097 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31099 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31100 for ac_func in _hypotl
31102 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31103 if test "x$ac_cv_func__hypotl" = x""yes; then :
31104 cat >>confdefs.h <<_ACEOF
31105 #define HAVE__HYPOTL 1
31118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31119 $as_echo_n "checking for ldexpl declaration... " >&6; }
31120 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31121 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31122 $as_echo_n "(cached) " >&6
31127 ac_cpp='$CXXCPP $CPPFLAGS'
31128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31133 /* end confdefs.h. */
31143 if ac_fn_cxx_try_compile "$LINENO"; then :
31144 glibcxx_cv_func_ldexpl_use=yes
31146 glibcxx_cv_func_ldexpl_use=no
31148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31150 ac_cpp='$CPP $CPPFLAGS'
31151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31160 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31162 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31163 for ac_func in ldexpl
31165 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31166 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31167 cat >>confdefs.h <<_ACEOF
31168 #define HAVE_LDEXPL 1
31176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31177 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31178 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31179 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31180 $as_echo_n "(cached) " >&6
31185 ac_cpp='$CXXCPP $CPPFLAGS'
31186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31191 /* end confdefs.h. */
31201 if ac_fn_cxx_try_compile "$LINENO"; then :
31202 glibcxx_cv_func__ldexpl_use=yes
31204 glibcxx_cv_func__ldexpl_use=no
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31218 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31220 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31221 for ac_func in _ldexpl
31223 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31224 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31225 cat >>confdefs.h <<_ACEOF
31226 #define HAVE__LDEXPL 1
31239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31240 $as_echo_n "checking for logl declaration... " >&6; }
31241 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31242 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31243 $as_echo_n "(cached) " >&6
31248 ac_cpp='$CXXCPP $CPPFLAGS'
31249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31254 /* end confdefs.h. */
31256 #ifdef HAVE_IEEEFP_H
31257 #include <ieeefp.h>
31268 if ac_fn_cxx_try_compile "$LINENO"; then :
31269 glibcxx_cv_func_logl_use=yes
31271 glibcxx_cv_func_logl_use=no
31273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31275 ac_cpp='$CPP $CPPFLAGS'
31276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31285 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31287 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31288 for ac_func in logl
31290 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31291 if test "x$ac_cv_func_logl" = x""yes; then :
31292 cat >>confdefs.h <<_ACEOF
31293 #define HAVE_LOGL 1
31301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31302 $as_echo_n "checking for _logl declaration... " >&6; }
31303 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31304 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31305 $as_echo_n "(cached) " >&6
31310 ac_cpp='$CXXCPP $CPPFLAGS'
31311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31316 /* end confdefs.h. */
31318 #ifdef HAVE_IEEEFP_H
31319 #include <ieeefp.h>
31330 if ac_fn_cxx_try_compile "$LINENO"; then :
31331 glibcxx_cv_func__logl_use=yes
31333 glibcxx_cv_func__logl_use=no
31335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31337 ac_cpp='$CPP $CPPFLAGS'
31338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31347 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31349 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31350 for ac_func in _logl
31352 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31353 if test "x$ac_cv_func__logl" = x""yes; then :
31354 cat >>confdefs.h <<_ACEOF
31355 #define HAVE__LOGL 1
31368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31369 $as_echo_n "checking for log10l declaration... " >&6; }
31370 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31371 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31372 $as_echo_n "(cached) " >&6
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31383 /* end confdefs.h. */
31385 #ifdef HAVE_IEEEFP_H
31386 #include <ieeefp.h>
31397 if ac_fn_cxx_try_compile "$LINENO"; then :
31398 glibcxx_cv_func_log10l_use=yes
31400 glibcxx_cv_func_log10l_use=no
31402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31404 ac_cpp='$CPP $CPPFLAGS'
31405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31414 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31416 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31417 for ac_func in log10l
31419 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31420 if test "x$ac_cv_func_log10l" = x""yes; then :
31421 cat >>confdefs.h <<_ACEOF
31422 #define HAVE_LOG10L 1
31430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31431 $as_echo_n "checking for _log10l declaration... " >&6; }
31432 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31433 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31434 $as_echo_n "(cached) " >&6
31439 ac_cpp='$CXXCPP $CPPFLAGS'
31440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31445 /* end confdefs.h. */
31447 #ifdef HAVE_IEEEFP_H
31448 #include <ieeefp.h>
31459 if ac_fn_cxx_try_compile "$LINENO"; then :
31460 glibcxx_cv_func__log10l_use=yes
31462 glibcxx_cv_func__log10l_use=no
31464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31466 ac_cpp='$CPP $CPPFLAGS'
31467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31476 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31478 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31479 for ac_func in _log10l
31481 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31482 if test "x$ac_cv_func__log10l" = x""yes; then :
31483 cat >>confdefs.h <<_ACEOF
31484 #define HAVE__LOG10L 1
31497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31498 $as_echo_n "checking for modfl declaration... " >&6; }
31499 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31500 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31501 $as_echo_n "(cached) " >&6
31506 ac_cpp='$CXXCPP $CPPFLAGS'
31507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31512 /* end confdefs.h. */
31522 if ac_fn_cxx_try_compile "$LINENO"; then :
31523 glibcxx_cv_func_modfl_use=yes
31525 glibcxx_cv_func_modfl_use=no
31527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31529 ac_cpp='$CPP $CPPFLAGS'
31530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31539 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31541 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31542 for ac_func in modfl
31544 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31545 if test "x$ac_cv_func_modfl" = x""yes; then :
31546 cat >>confdefs.h <<_ACEOF
31547 #define HAVE_MODFL 1
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31556 $as_echo_n "checking for _modfl declaration... " >&6; }
31557 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31558 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31559 $as_echo_n "(cached) " >&6
31564 ac_cpp='$CXXCPP $CPPFLAGS'
31565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31570 /* end confdefs.h. */
31580 if ac_fn_cxx_try_compile "$LINENO"; then :
31581 glibcxx_cv_func__modfl_use=yes
31583 glibcxx_cv_func__modfl_use=no
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31587 ac_cpp='$CPP $CPPFLAGS'
31588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31597 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31599 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31600 for ac_func in _modfl
31602 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31603 if test "x$ac_cv_func__modfl" = x""yes; then :
31604 cat >>confdefs.h <<_ACEOF
31605 #define HAVE__MODFL 1
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31619 $as_echo_n "checking for powl declaration... " >&6; }
31620 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31621 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31622 $as_echo_n "(cached) " >&6
31627 ac_cpp='$CXXCPP $CPPFLAGS'
31628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31633 /* end confdefs.h. */
31643 if ac_fn_cxx_try_compile "$LINENO"; then :
31644 glibcxx_cv_func_powl_use=yes
31646 glibcxx_cv_func_powl_use=no
31648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31650 ac_cpp='$CPP $CPPFLAGS'
31651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31660 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31662 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31663 for ac_func in powl
31665 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31666 if test "x$ac_cv_func_powl" = x""yes; then :
31667 cat >>confdefs.h <<_ACEOF
31668 #define HAVE_POWL 1
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31677 $as_echo_n "checking for _powl declaration... " >&6; }
31678 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31679 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31680 $as_echo_n "(cached) " >&6
31685 ac_cpp='$CXXCPP $CPPFLAGS'
31686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31691 /* end confdefs.h. */
31701 if ac_fn_cxx_try_compile "$LINENO"; then :
31702 glibcxx_cv_func__powl_use=yes
31704 glibcxx_cv_func__powl_use=no
31706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31708 ac_cpp='$CPP $CPPFLAGS'
31709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31718 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31720 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31721 for ac_func in _powl
31723 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31724 if test "x$ac_cv_func__powl" = x""yes; then :
31725 cat >>confdefs.h <<_ACEOF
31726 #define HAVE__POWL 1
31739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31740 $as_echo_n "checking for sqrtl declaration... " >&6; }
31741 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31742 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31743 $as_echo_n "(cached) " >&6
31748 ac_cpp='$CXXCPP $CPPFLAGS'
31749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31754 /* end confdefs.h. */
31756 #ifdef HAVE_IEEEFP_H
31757 #include <ieeefp.h>
31768 if ac_fn_cxx_try_compile "$LINENO"; then :
31769 glibcxx_cv_func_sqrtl_use=yes
31771 glibcxx_cv_func_sqrtl_use=no
31773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31775 ac_cpp='$CPP $CPPFLAGS'
31776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31785 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31787 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31788 for ac_func in sqrtl
31790 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31791 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31792 cat >>confdefs.h <<_ACEOF
31793 #define HAVE_SQRTL 1
31801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31802 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31803 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31804 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31805 $as_echo_n "(cached) " >&6
31810 ac_cpp='$CXXCPP $CPPFLAGS'
31811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31816 /* end confdefs.h. */
31818 #ifdef HAVE_IEEEFP_H
31819 #include <ieeefp.h>
31830 if ac_fn_cxx_try_compile "$LINENO"; then :
31831 glibcxx_cv_func__sqrtl_use=yes
31833 glibcxx_cv_func__sqrtl_use=no
31835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31837 ac_cpp='$CPP $CPPFLAGS'
31838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31847 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31849 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31850 for ac_func in _sqrtl
31852 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31853 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31854 cat >>confdefs.h <<_ACEOF
31855 #define HAVE__SQRTL 1
31868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31869 $as_echo_n "checking for sincosl declaration... " >&6; }
31870 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31871 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31872 $as_echo_n "(cached) " >&6
31877 ac_cpp='$CXXCPP $CPPFLAGS'
31878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31883 /* end confdefs.h. */
31893 if ac_fn_cxx_try_compile "$LINENO"; then :
31894 glibcxx_cv_func_sincosl_use=yes
31896 glibcxx_cv_func_sincosl_use=no
31898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31900 ac_cpp='$CPP $CPPFLAGS'
31901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31910 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31912 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31913 for ac_func in sincosl
31915 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31916 if test "x$ac_cv_func_sincosl" = x""yes; then :
31917 cat >>confdefs.h <<_ACEOF
31918 #define HAVE_SINCOSL 1
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31927 $as_echo_n "checking for _sincosl declaration... " >&6; }
31928 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31929 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31930 $as_echo_n "(cached) " >&6
31935 ac_cpp='$CXXCPP $CPPFLAGS'
31936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31941 /* end confdefs.h. */
31951 if ac_fn_cxx_try_compile "$LINENO"; then :
31952 glibcxx_cv_func__sincosl_use=yes
31954 glibcxx_cv_func__sincosl_use=no
31956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31958 ac_cpp='$CPP $CPPFLAGS'
31959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31968 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31970 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31971 for ac_func in _sincosl
31973 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31974 if test "x$ac_cv_func__sincosl" = x""yes; then :
31975 cat >>confdefs.h <<_ACEOF
31976 #define HAVE__SINCOSL 1
31989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31990 $as_echo_n "checking for finitel declaration... " >&6; }
31991 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31992 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31993 $as_echo_n "(cached) " >&6
31998 ac_cpp='$CXXCPP $CPPFLAGS'
31999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32004 /* end confdefs.h. */
32006 #ifdef HAVE_IEEEFP_H
32007 #include <ieeefp.h>
32018 if ac_fn_cxx_try_compile "$LINENO"; then :
32019 glibcxx_cv_func_finitel_use=yes
32021 glibcxx_cv_func_finitel_use=no
32023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32025 ac_cpp='$CPP $CPPFLAGS'
32026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32035 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32037 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32038 for ac_func in finitel
32040 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32041 if test "x$ac_cv_func_finitel" = x""yes; then :
32042 cat >>confdefs.h <<_ACEOF
32043 #define HAVE_FINITEL 1
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32052 $as_echo_n "checking for _finitel declaration... " >&6; }
32053 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32054 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32055 $as_echo_n "(cached) " >&6
32060 ac_cpp='$CXXCPP $CPPFLAGS'
32061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32066 /* end confdefs.h. */
32068 #ifdef HAVE_IEEEFP_H
32069 #include <ieeefp.h>
32080 if ac_fn_cxx_try_compile "$LINENO"; then :
32081 glibcxx_cv_func__finitel_use=yes
32083 glibcxx_cv_func__finitel_use=no
32085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32087 ac_cpp='$CPP $CPPFLAGS'
32088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32097 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32099 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32100 for ac_func in _finitel
32102 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32103 if test "x$ac_cv_func__finitel" = x""yes; then :
32104 cat >>confdefs.h <<_ACEOF
32105 #define HAVE__FINITEL 1
32117 LIBS="$ac_save_LIBS"
32118 CXXFLAGS="$ac_save_CXXFLAGS"
32121 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32122 ac_save_CXXFLAGS="$CXXFLAGS"
32123 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32127 $as_echo_n "checking for strtold declaration... " >&6; }
32128 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32129 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32130 $as_echo_n "(cached) " >&6
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h. */
32142 #include <stdlib.h>
32151 if ac_fn_cxx_try_compile "$LINENO"; then :
32152 glibcxx_cv_func_strtold_use=yes
32154 glibcxx_cv_func_strtold_use=no
32156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32158 ac_cpp='$CPP $CPPFLAGS'
32159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32168 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32169 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32170 for ac_func in strtold
32172 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32173 if test "x$ac_cv_func_strtold" = x""yes; then :
32174 cat >>confdefs.h <<_ACEOF
32175 #define HAVE_STRTOLD 1
32186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32187 $as_echo_n "checking for strtof declaration... " >&6; }
32188 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32189 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32190 $as_echo_n "(cached) " >&6
32195 ac_cpp='$CXXCPP $CPPFLAGS'
32196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32201 /* end confdefs.h. */
32202 #include <stdlib.h>
32211 if ac_fn_cxx_try_compile "$LINENO"; then :
32212 glibcxx_cv_func_strtof_use=yes
32214 glibcxx_cv_func_strtof_use=no
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32218 ac_cpp='$CPP $CPPFLAGS'
32219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32228 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32229 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32230 for ac_func in strtof
32232 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32233 if test "x$ac_cv_func_strtof" = x""yes; then :
32234 cat >>confdefs.h <<_ACEOF
32235 #define HAVE_STRTOF 1
32246 CXXFLAGS="$ac_save_CXXFLAGS"
32249 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32251 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32253 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32255 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32258 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32260 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32262 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32268 # If we're not using GNU ld, then there's no point in even trying these
32269 # tests. Check for that first. We should have already tested for gld
32270 # by now (in libtool), but require it now just to be safe...
32271 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32272 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32276 # The name set by libtool depends on the version of libtool. Shame on us
32277 # for depending on an impl detail, but c'est la vie. Older versions used
32278 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32279 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32280 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32281 # set (hence we're using an older libtool), then set it.
32282 if test x${with_gnu_ld+set} != xset; then
32283 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32284 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32287 with_gnu_ld=$ac_cv_prog_gnu_ld
32291 # Start by getting the version number. I think the libtool test already
32292 # does some of this, but throws away the result.
32293 glibcxx_ld_is_gold=no
32294 if test x"$with_gnu_ld" = x"yes"; then
32295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32296 $as_echo_n "checking for ld version... " >&6; }
32298 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32299 glibcxx_ld_is_gold=yes
32301 ldver=`$LD --version 2>/dev/null |
32302 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'`
32304 glibcxx_gnu_ld_version=`echo $ldver | \
32305 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32307 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32310 # Set --gc-sections.
32311 glibcxx_have_gc_sections=no
32312 if test "$glibcxx_ld_is_gold" = "yes"; then
32313 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32314 glibcxx_have_gc_sections=yes
32317 glibcxx_gcsections_min_ld=21602
32318 if test x"$with_gnu_ld" = x"yes" &&
32319 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32320 glibcxx_have_gc_sections=yes
32323 if test "$glibcxx_have_gc_sections" = "yes"; then
32324 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32325 # NB: This flag only works reliably after 2.16.1. Configure tests
32326 # for this are difficult, so hard wire a value that should work.
32328 ac_test_CFLAGS="${CFLAGS+set}"
32329 ac_save_CFLAGS="$CFLAGS"
32330 CFLAGS='-Wl,--gc-sections'
32332 # Check for -Wl,--gc-sections
32333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32334 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32335 if test x$gcc_no_link = xyes; then
32336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32339 /* end confdefs.h. */
32340 int one(void) { return 1; }
32341 int two(void) { return 2; }
32351 if ac_fn_c_try_link "$LINENO"; then :
32356 rm -f core conftest.err conftest.$ac_objext \
32357 conftest$ac_exeext conftest.$ac_ext
32358 if test "$ac_gcsections" = "yes"; then
32361 if $CC -c conftest.c; then
32362 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32363 grep "Warning: gc-sections option ignored" > /dev/null; then
32367 rm -f conftest.c conftest.o conftest
32369 if test "$ac_gcsections" = "yes"; then
32370 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32373 $as_echo "$ac_gcsections" >&6; }
32375 if test "$ac_test_CFLAGS" = set; then
32376 CFLAGS="$ac_save_CFLAGS"
32378 # this is the suspicious part
32384 # Note this is only for shared objects.
32386 if test x"$with_gnu_ld" = x"yes"; then
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32388 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32389 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32390 if test -n "$cxx_z_relo"; then
32391 OPT_LDFLAGS="-Wl,-z,relro"
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32395 $as_echo "$ac_ld_relro" >&6; }
32398 # Set linker optimization flags.
32399 if test x"$with_gnu_ld" = x"yes"; then
32400 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32407 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32408 ac_save_CXXFLAGS="$CXXFLAGS"
32409 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32412 $as_echo_n "checking for sin in -lm... " >&6; }
32413 if test "${ac_cv_lib_m_sin+set}" = set; then :
32414 $as_echo_n "(cached) " >&6
32416 ac_check_lib_save_LIBS=$LIBS
32418 if test x$gcc_no_link = xyes; then
32419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32422 /* end confdefs.h. */
32424 /* Override any GCC internal prototype to avoid an error.
32425 Use char because int might match the return type of a GCC
32426 builtin and then its argument prototype would still apply. */
32439 if ac_fn_c_try_link "$LINENO"; then :
32440 ac_cv_lib_m_sin=yes
32444 rm -f core conftest.err conftest.$ac_objext \
32445 conftest$ac_exeext conftest.$ac_ext
32446 LIBS=$ac_check_lib_save_LIBS
32448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32449 $as_echo "$ac_cv_lib_m_sin" >&6; }
32450 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32454 ac_save_LIBS="$LIBS"
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32460 $as_echo_n "checking for isinf declaration... " >&6; }
32461 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32462 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32463 $as_echo_n "(cached) " >&6
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h. */
32476 #ifdef HAVE_IEEEFP_H
32477 #include <ieeefp.h>
32488 if ac_fn_cxx_try_compile "$LINENO"; then :
32489 glibcxx_cv_func_isinf_use=yes
32491 glibcxx_cv_func_isinf_use=no
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32495 ac_cpp='$CPP $CPPFLAGS'
32496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32505 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32507 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32508 for ac_func in isinf
32510 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32511 if test "x$ac_cv_func_isinf" = x""yes; then :
32512 cat >>confdefs.h <<_ACEOF
32513 #define HAVE_ISINF 1
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32522 $as_echo_n "checking for _isinf declaration... " >&6; }
32523 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32524 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32525 $as_echo_n "(cached) " >&6
32530 ac_cpp='$CXXCPP $CPPFLAGS'
32531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32536 /* end confdefs.h. */
32538 #ifdef HAVE_IEEEFP_H
32539 #include <ieeefp.h>
32550 if ac_fn_cxx_try_compile "$LINENO"; then :
32551 glibcxx_cv_func__isinf_use=yes
32553 glibcxx_cv_func__isinf_use=no
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32557 ac_cpp='$CPP $CPPFLAGS'
32558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32567 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32569 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32570 for ac_func in _isinf
32572 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32573 if test "x$ac_cv_func__isinf" = x""yes; then :
32574 cat >>confdefs.h <<_ACEOF
32575 #define HAVE__ISINF 1
32588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32589 $as_echo_n "checking for isnan declaration... " >&6; }
32590 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32591 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32592 $as_echo_n "(cached) " >&6
32597 ac_cpp='$CXXCPP $CPPFLAGS'
32598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32603 /* end confdefs.h. */
32605 #ifdef HAVE_IEEEFP_H
32606 #include <ieeefp.h>
32617 if ac_fn_cxx_try_compile "$LINENO"; then :
32618 glibcxx_cv_func_isnan_use=yes
32620 glibcxx_cv_func_isnan_use=no
32622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32624 ac_cpp='$CPP $CPPFLAGS'
32625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32634 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32636 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32637 for ac_func in isnan
32639 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32640 if test "x$ac_cv_func_isnan" = x""yes; then :
32641 cat >>confdefs.h <<_ACEOF
32642 #define HAVE_ISNAN 1
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32651 $as_echo_n "checking for _isnan declaration... " >&6; }
32652 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32653 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32654 $as_echo_n "(cached) " >&6
32659 ac_cpp='$CXXCPP $CPPFLAGS'
32660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32665 /* end confdefs.h. */
32667 #ifdef HAVE_IEEEFP_H
32668 #include <ieeefp.h>
32679 if ac_fn_cxx_try_compile "$LINENO"; then :
32680 glibcxx_cv_func__isnan_use=yes
32682 glibcxx_cv_func__isnan_use=no
32684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32686 ac_cpp='$CPP $CPPFLAGS'
32687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32696 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32698 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32699 for ac_func in _isnan
32701 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32702 if test "x$ac_cv_func__isnan" = x""yes; then :
32703 cat >>confdefs.h <<_ACEOF
32704 #define HAVE__ISNAN 1
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32718 $as_echo_n "checking for finite declaration... " >&6; }
32719 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32720 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32721 $as_echo_n "(cached) " >&6
32726 ac_cpp='$CXXCPP $CPPFLAGS'
32727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h. */
32734 #ifdef HAVE_IEEEFP_H
32735 #include <ieeefp.h>
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747 glibcxx_cv_func_finite_use=yes
32749 glibcxx_cv_func_finite_use=no
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32763 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32765 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32766 for ac_func in finite
32768 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32769 if test "x$ac_cv_func_finite" = x""yes; then :
32770 cat >>confdefs.h <<_ACEOF
32771 #define HAVE_FINITE 1
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32780 $as_echo_n "checking for _finite declaration... " >&6; }
32781 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32782 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32783 $as_echo_n "(cached) " >&6
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32794 /* end confdefs.h. */
32796 #ifdef HAVE_IEEEFP_H
32797 #include <ieeefp.h>
32808 if ac_fn_cxx_try_compile "$LINENO"; then :
32809 glibcxx_cv_func__finite_use=yes
32811 glibcxx_cv_func__finite_use=no
32813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32815 ac_cpp='$CPP $CPPFLAGS'
32816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32825 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32827 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32828 for ac_func in _finite
32830 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32831 if test "x$ac_cv_func__finite" = x""yes; then :
32832 cat >>confdefs.h <<_ACEOF
32833 #define HAVE__FINITE 1
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32847 $as_echo_n "checking for sincos declaration... " >&6; }
32848 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32849 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32850 $as_echo_n "(cached) " >&6
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h. */
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_sincos_use=yes
32874 glibcxx_cv_func_sincos_use=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32888 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32890 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32891 for ac_func in sincos
32893 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32894 if test "x$ac_cv_func_sincos" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_SINCOS 1
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32905 $as_echo_n "checking for _sincos declaration... " >&6; }
32906 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32907 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32908 $as_echo_n "(cached) " >&6
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32929 if ac_fn_cxx_try_compile "$LINENO"; then :
32930 glibcxx_cv_func__sincos_use=yes
32932 glibcxx_cv_func__sincos_use=no
32934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32936 ac_cpp='$CPP $CPPFLAGS'
32937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32946 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32948 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32949 for ac_func in _sincos
32951 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32952 if test "x$ac_cv_func__sincos" = x""yes; then :
32953 cat >>confdefs.h <<_ACEOF
32954 #define HAVE__SINCOS 1
32967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32968 $as_echo_n "checking for fpclass declaration... " >&6; }
32969 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32970 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32971 $as_echo_n "(cached) " >&6
32976 ac_cpp='$CXXCPP $CPPFLAGS'
32977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32982 /* end confdefs.h. */
32984 #ifdef HAVE_IEEEFP_H
32985 #include <ieeefp.h>
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997 glibcxx_cv_func_fpclass_use=yes
32999 glibcxx_cv_func_fpclass_use=no
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33013 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33015 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33016 for ac_func in fpclass
33018 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33019 if test "x$ac_cv_func_fpclass" = x""yes; then :
33020 cat >>confdefs.h <<_ACEOF
33021 #define HAVE_FPCLASS 1
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33030 $as_echo_n "checking for _fpclass declaration... " >&6; }
33031 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33032 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33033 $as_echo_n "(cached) " >&6
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h. */
33046 #ifdef HAVE_IEEEFP_H
33047 #include <ieeefp.h>
33058 if ac_fn_cxx_try_compile "$LINENO"; then :
33059 glibcxx_cv_func__fpclass_use=yes
33061 glibcxx_cv_func__fpclass_use=no
33063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33065 ac_cpp='$CPP $CPPFLAGS'
33066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33075 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33077 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33078 for ac_func in _fpclass
33080 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33081 if test "x$ac_cv_func__fpclass" = x""yes; then :
33082 cat >>confdefs.h <<_ACEOF
33083 #define HAVE__FPCLASS 1
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33097 $as_echo_n "checking for qfpclass declaration... " >&6; }
33098 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33099 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33100 $as_echo_n "(cached) " >&6
33105 ac_cpp='$CXXCPP $CPPFLAGS'
33106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33111 /* end confdefs.h. */
33113 #ifdef HAVE_IEEEFP_H
33114 #include <ieeefp.h>
33125 if ac_fn_cxx_try_compile "$LINENO"; then :
33126 glibcxx_cv_func_qfpclass_use=yes
33128 glibcxx_cv_func_qfpclass_use=no
33130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33132 ac_cpp='$CPP $CPPFLAGS'
33133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33142 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33144 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33145 for ac_func in qfpclass
33147 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33148 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33149 cat >>confdefs.h <<_ACEOF
33150 #define HAVE_QFPCLASS 1
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33159 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33160 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33161 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33162 $as_echo_n "(cached) " >&6
33167 ac_cpp='$CXXCPP $CPPFLAGS'
33168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33173 /* end confdefs.h. */
33175 #ifdef HAVE_IEEEFP_H
33176 #include <ieeefp.h>
33187 if ac_fn_cxx_try_compile "$LINENO"; then :
33188 glibcxx_cv_func__qfpclass_use=yes
33190 glibcxx_cv_func__qfpclass_use=no
33192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33194 ac_cpp='$CPP $CPPFLAGS'
33195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33204 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33206 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33207 for ac_func in _qfpclass
33209 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33210 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33211 cat >>confdefs.h <<_ACEOF
33212 #define HAVE__QFPCLASS 1
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33226 $as_echo_n "checking for hypot declaration... " >&6; }
33227 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33228 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33229 $as_echo_n "(cached) " >&6
33234 ac_cpp='$CXXCPP $CPPFLAGS'
33235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33240 /* end confdefs.h. */
33250 if ac_fn_cxx_try_compile "$LINENO"; then :
33251 glibcxx_cv_func_hypot_use=yes
33253 glibcxx_cv_func_hypot_use=no
33255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33257 ac_cpp='$CPP $CPPFLAGS'
33258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33267 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33269 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33270 for ac_func in hypot
33272 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33273 if test "x$ac_cv_func_hypot" = x""yes; then :
33274 cat >>confdefs.h <<_ACEOF
33275 #define HAVE_HYPOT 1
33283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33284 $as_echo_n "checking for _hypot declaration... " >&6; }
33285 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33286 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33287 $as_echo_n "(cached) " >&6
33292 ac_cpp='$CXXCPP $CPPFLAGS'
33293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33298 /* end confdefs.h. */
33308 if ac_fn_cxx_try_compile "$LINENO"; then :
33309 glibcxx_cv_func__hypot_use=yes
33311 glibcxx_cv_func__hypot_use=no
33313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33315 ac_cpp='$CPP $CPPFLAGS'
33316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33325 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33327 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33328 for ac_func in _hypot
33330 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33331 if test "x$ac_cv_func__hypot" = x""yes; then :
33332 cat >>confdefs.h <<_ACEOF
33333 #define HAVE__HYPOT 1
33346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33347 $as_echo_n "checking for float trig functions... " >&6; }
33348 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33349 $as_echo_n "(cached) " >&6
33354 ac_cpp='$CXXCPP $CPPFLAGS'
33355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33360 /* end confdefs.h. */
33365 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33370 if ac_fn_cxx_try_compile "$LINENO"; then :
33371 glibcxx_cv_func_float_trig_use=yes
33373 glibcxx_cv_func_float_trig_use=no
33375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33377 ac_cpp='$CPP $CPPFLAGS'
33378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33385 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33386 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33387 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33391 eval as_val=\$$as_ac_var
33392 if test "x$as_val" = x""yes; then :
33393 cat >>confdefs.h <<_ACEOF
33394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33402 $as_echo_n "checking for _float trig functions... " >&6; }
33403 if test "${glibcxx_cv_func__float_trig_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. */
33420 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426 glibcxx_cv_func__float_trig_use=yes
33428 glibcxx_cv_func__float_trig_use=no
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33440 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33441 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33442 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33446 eval as_val=\$$as_ac_var
33447 if test "x$as_val" = x""yes; then :
33448 cat >>confdefs.h <<_ACEOF
33449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33463 $as_echo_n "checking for float round functions... " >&6; }
33464 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33465 $as_echo_n "(cached) " >&6
33470 ac_cpp='$CXXCPP $CPPFLAGS'
33471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33476 /* end confdefs.h. */
33481 ceilf (0); floorf (0);
33486 if ac_fn_cxx_try_compile "$LINENO"; then :
33487 glibcxx_cv_func_float_round_use=yes
33489 glibcxx_cv_func_float_round_use=no
33491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33493 ac_cpp='$CPP $CPPFLAGS'
33494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33501 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33502 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33503 for ac_func in ceilf floorf
33505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33507 eval as_val=\$$as_ac_var
33508 if test "x$as_val" = x""yes; then :
33509 cat >>confdefs.h <<_ACEOF
33510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33518 $as_echo_n "checking for _float round functions... " >&6; }
33519 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33520 $as_echo_n "(cached) " >&6
33525 ac_cpp='$CXXCPP $CPPFLAGS'
33526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33531 /* end confdefs.h. */
33536 _ceilf (0); _floorf (0);
33541 if ac_fn_cxx_try_compile "$LINENO"; then :
33542 glibcxx_cv_func__float_round_use=yes
33544 glibcxx_cv_func__float_round_use=no
33546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 ac_cpp='$CPP $CPPFLAGS'
33549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33556 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33557 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33558 for ac_func in _ceilf _floorf
33560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33562 eval as_val=\$$as_ac_var
33563 if test "x$as_val" = x""yes; then :
33564 cat >>confdefs.h <<_ACEOF
33565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33580 $as_echo_n "checking for expf declaration... " >&6; }
33581 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33582 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33583 $as_echo_n "(cached) " >&6
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594 /* end confdefs.h. */
33596 #ifdef HAVE_IEEEFP_H
33597 #include <ieeefp.h>
33608 if ac_fn_cxx_try_compile "$LINENO"; then :
33609 glibcxx_cv_func_expf_use=yes
33611 glibcxx_cv_func_expf_use=no
33613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33615 ac_cpp='$CPP $CPPFLAGS'
33616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33625 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33627 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33628 for ac_func in expf
33630 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33631 if test "x$ac_cv_func_expf" = x""yes; then :
33632 cat >>confdefs.h <<_ACEOF
33633 #define HAVE_EXPF 1
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33642 $as_echo_n "checking for _expf declaration... " >&6; }
33643 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33644 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33645 $as_echo_n "(cached) " >&6
33650 ac_cpp='$CXXCPP $CPPFLAGS'
33651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33656 /* end confdefs.h. */
33658 #ifdef HAVE_IEEEFP_H
33659 #include <ieeefp.h>
33670 if ac_fn_cxx_try_compile "$LINENO"; then :
33671 glibcxx_cv_func__expf_use=yes
33673 glibcxx_cv_func__expf_use=no
33675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33677 ac_cpp='$CPP $CPPFLAGS'
33678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33687 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33689 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33690 for ac_func in _expf
33692 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33693 if test "x$ac_cv_func__expf" = x""yes; then :
33694 cat >>confdefs.h <<_ACEOF
33695 #define HAVE__EXPF 1
33708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33709 $as_echo_n "checking for isnanf declaration... " >&6; }
33710 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33711 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33712 $as_echo_n "(cached) " >&6
33717 ac_cpp='$CXXCPP $CPPFLAGS'
33718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33723 /* end confdefs.h. */
33725 #ifdef HAVE_IEEEFP_H
33726 #include <ieeefp.h>
33737 if ac_fn_cxx_try_compile "$LINENO"; then :
33738 glibcxx_cv_func_isnanf_use=yes
33740 glibcxx_cv_func_isnanf_use=no
33742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33744 ac_cpp='$CPP $CPPFLAGS'
33745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33754 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33756 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33757 for ac_func in isnanf
33759 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33760 if test "x$ac_cv_func_isnanf" = x""yes; then :
33761 cat >>confdefs.h <<_ACEOF
33762 #define HAVE_ISNANF 1
33770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33771 $as_echo_n "checking for _isnanf declaration... " >&6; }
33772 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33773 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33774 $as_echo_n "(cached) " >&6
33779 ac_cpp='$CXXCPP $CPPFLAGS'
33780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33785 /* end confdefs.h. */
33787 #ifdef HAVE_IEEEFP_H
33788 #include <ieeefp.h>
33799 if ac_fn_cxx_try_compile "$LINENO"; then :
33800 glibcxx_cv_func__isnanf_use=yes
33802 glibcxx_cv_func__isnanf_use=no
33804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33806 ac_cpp='$CPP $CPPFLAGS'
33807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33816 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33818 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33819 for ac_func in _isnanf
33821 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33822 if test "x$ac_cv_func__isnanf" = x""yes; then :
33823 cat >>confdefs.h <<_ACEOF
33824 #define HAVE__ISNANF 1
33837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33838 $as_echo_n "checking for isinff declaration... " >&6; }
33839 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33840 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33841 $as_echo_n "(cached) " >&6
33846 ac_cpp='$CXXCPP $CPPFLAGS'
33847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33852 /* end confdefs.h. */
33854 #ifdef HAVE_IEEEFP_H
33855 #include <ieeefp.h>
33866 if ac_fn_cxx_try_compile "$LINENO"; then :
33867 glibcxx_cv_func_isinff_use=yes
33869 glibcxx_cv_func_isinff_use=no
33871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33873 ac_cpp='$CPP $CPPFLAGS'
33874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33883 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33885 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33886 for ac_func in isinff
33888 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33889 if test "x$ac_cv_func_isinff" = x""yes; then :
33890 cat >>confdefs.h <<_ACEOF
33891 #define HAVE_ISINFF 1
33899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33900 $as_echo_n "checking for _isinff declaration... " >&6; }
33901 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33902 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33903 $as_echo_n "(cached) " >&6
33908 ac_cpp='$CXXCPP $CPPFLAGS'
33909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33914 /* end confdefs.h. */
33916 #ifdef HAVE_IEEEFP_H
33917 #include <ieeefp.h>
33928 if ac_fn_cxx_try_compile "$LINENO"; then :
33929 glibcxx_cv_func__isinff_use=yes
33931 glibcxx_cv_func__isinff_use=no
33933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33935 ac_cpp='$CPP $CPPFLAGS'
33936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33945 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33947 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33948 for ac_func in _isinff
33950 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33951 if test "x$ac_cv_func__isinff" = x""yes; then :
33952 cat >>confdefs.h <<_ACEOF
33953 #define HAVE__ISINFF 1
33966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33967 $as_echo_n "checking for atan2f declaration... " >&6; }
33968 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33969 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33970 $as_echo_n "(cached) " >&6
33975 ac_cpp='$CXXCPP $CPPFLAGS'
33976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33981 /* end confdefs.h. */
33991 if ac_fn_cxx_try_compile "$LINENO"; then :
33992 glibcxx_cv_func_atan2f_use=yes
33994 glibcxx_cv_func_atan2f_use=no
33996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33998 ac_cpp='$CPP $CPPFLAGS'
33999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34008 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34010 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34011 for ac_func in atan2f
34013 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34014 if test "x$ac_cv_func_atan2f" = x""yes; then :
34015 cat >>confdefs.h <<_ACEOF
34016 #define HAVE_ATAN2F 1
34024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34025 $as_echo_n "checking for _atan2f declaration... " >&6; }
34026 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34027 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34028 $as_echo_n "(cached) " >&6
34033 ac_cpp='$CXXCPP $CPPFLAGS'
34034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34039 /* end confdefs.h. */
34049 if ac_fn_cxx_try_compile "$LINENO"; then :
34050 glibcxx_cv_func__atan2f_use=yes
34052 glibcxx_cv_func__atan2f_use=no
34054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34056 ac_cpp='$CPP $CPPFLAGS'
34057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34066 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34068 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34069 for ac_func in _atan2f
34071 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34072 if test "x$ac_cv_func__atan2f" = x""yes; then :
34073 cat >>confdefs.h <<_ACEOF
34074 #define HAVE__ATAN2F 1
34087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34088 $as_echo_n "checking for fabsf declaration... " >&6; }
34089 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34090 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34091 $as_echo_n "(cached) " >&6
34096 ac_cpp='$CXXCPP $CPPFLAGS'
34097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34102 /* end confdefs.h. */
34104 #ifdef HAVE_IEEEFP_H
34105 #include <ieeefp.h>
34116 if ac_fn_cxx_try_compile "$LINENO"; then :
34117 glibcxx_cv_func_fabsf_use=yes
34119 glibcxx_cv_func_fabsf_use=no
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34123 ac_cpp='$CPP $CPPFLAGS'
34124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34133 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34135 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34136 for ac_func in fabsf
34138 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34139 if test "x$ac_cv_func_fabsf" = x""yes; then :
34140 cat >>confdefs.h <<_ACEOF
34141 #define HAVE_FABSF 1
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34150 $as_echo_n "checking for _fabsf declaration... " >&6; }
34151 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34152 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34153 $as_echo_n "(cached) " >&6
34158 ac_cpp='$CXXCPP $CPPFLAGS'
34159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34164 /* end confdefs.h. */
34166 #ifdef HAVE_IEEEFP_H
34167 #include <ieeefp.h>
34178 if ac_fn_cxx_try_compile "$LINENO"; then :
34179 glibcxx_cv_func__fabsf_use=yes
34181 glibcxx_cv_func__fabsf_use=no
34183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34185 ac_cpp='$CPP $CPPFLAGS'
34186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34195 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34197 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34198 for ac_func in _fabsf
34200 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34201 if test "x$ac_cv_func__fabsf" = x""yes; then :
34202 cat >>confdefs.h <<_ACEOF
34203 #define HAVE__FABSF 1
34216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34217 $as_echo_n "checking for fmodf declaration... " >&6; }
34218 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34219 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34220 $as_echo_n "(cached) " >&6
34225 ac_cpp='$CXXCPP $CPPFLAGS'
34226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34231 /* end confdefs.h. */
34241 if ac_fn_cxx_try_compile "$LINENO"; then :
34242 glibcxx_cv_func_fmodf_use=yes
34244 glibcxx_cv_func_fmodf_use=no
34246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34248 ac_cpp='$CPP $CPPFLAGS'
34249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34258 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34260 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34261 for ac_func in fmodf
34263 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34264 if test "x$ac_cv_func_fmodf" = x""yes; then :
34265 cat >>confdefs.h <<_ACEOF
34266 #define HAVE_FMODF 1
34274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34275 $as_echo_n "checking for _fmodf declaration... " >&6; }
34276 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34277 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34278 $as_echo_n "(cached) " >&6
34283 ac_cpp='$CXXCPP $CPPFLAGS'
34284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34289 /* end confdefs.h. */
34299 if ac_fn_cxx_try_compile "$LINENO"; then :
34300 glibcxx_cv_func__fmodf_use=yes
34302 glibcxx_cv_func__fmodf_use=no
34304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34306 ac_cpp='$CPP $CPPFLAGS'
34307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34316 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34318 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34319 for ac_func in _fmodf
34321 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34322 if test "x$ac_cv_func__fmodf" = x""yes; then :
34323 cat >>confdefs.h <<_ACEOF
34324 #define HAVE__FMODF 1
34337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34338 $as_echo_n "checking for frexpf declaration... " >&6; }
34339 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34340 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34341 $as_echo_n "(cached) " >&6
34346 ac_cpp='$CXXCPP $CPPFLAGS'
34347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34352 /* end confdefs.h. */
34362 if ac_fn_cxx_try_compile "$LINENO"; then :
34363 glibcxx_cv_func_frexpf_use=yes
34365 glibcxx_cv_func_frexpf_use=no
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34369 ac_cpp='$CPP $CPPFLAGS'
34370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34379 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34381 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34382 for ac_func in frexpf
34384 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34385 if test "x$ac_cv_func_frexpf" = x""yes; then :
34386 cat >>confdefs.h <<_ACEOF
34387 #define HAVE_FREXPF 1
34395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34396 $as_echo_n "checking for _frexpf declaration... " >&6; }
34397 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34398 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34399 $as_echo_n "(cached) " >&6
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34410 /* end confdefs.h. */
34420 if ac_fn_cxx_try_compile "$LINENO"; then :
34421 glibcxx_cv_func__frexpf_use=yes
34423 glibcxx_cv_func__frexpf_use=no
34425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34427 ac_cpp='$CPP $CPPFLAGS'
34428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34437 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34439 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34440 for ac_func in _frexpf
34442 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34443 if test "x$ac_cv_func__frexpf" = x""yes; then :
34444 cat >>confdefs.h <<_ACEOF
34445 #define HAVE__FREXPF 1
34458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34459 $as_echo_n "checking for hypotf declaration... " >&6; }
34460 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34461 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34462 $as_echo_n "(cached) " >&6
34467 ac_cpp='$CXXCPP $CPPFLAGS'
34468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34473 /* end confdefs.h. */
34483 if ac_fn_cxx_try_compile "$LINENO"; then :
34484 glibcxx_cv_func_hypotf_use=yes
34486 glibcxx_cv_func_hypotf_use=no
34488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34490 ac_cpp='$CPP $CPPFLAGS'
34491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34500 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34502 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34503 for ac_func in hypotf
34505 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34506 if test "x$ac_cv_func_hypotf" = x""yes; then :
34507 cat >>confdefs.h <<_ACEOF
34508 #define HAVE_HYPOTF 1
34516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34517 $as_echo_n "checking for _hypotf declaration... " >&6; }
34518 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34519 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34520 $as_echo_n "(cached) " >&6
34525 ac_cpp='$CXXCPP $CPPFLAGS'
34526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34531 /* end confdefs.h. */
34541 if ac_fn_cxx_try_compile "$LINENO"; then :
34542 glibcxx_cv_func__hypotf_use=yes
34544 glibcxx_cv_func__hypotf_use=no
34546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34548 ac_cpp='$CPP $CPPFLAGS'
34549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34558 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34560 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34561 for ac_func in _hypotf
34563 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34564 if test "x$ac_cv_func__hypotf" = x""yes; then :
34565 cat >>confdefs.h <<_ACEOF
34566 #define HAVE__HYPOTF 1
34579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34580 $as_echo_n "checking for ldexpf declaration... " >&6; }
34581 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34582 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34583 $as_echo_n "(cached) " >&6
34588 ac_cpp='$CXXCPP $CPPFLAGS'
34589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34594 /* end confdefs.h. */
34604 if ac_fn_cxx_try_compile "$LINENO"; then :
34605 glibcxx_cv_func_ldexpf_use=yes
34607 glibcxx_cv_func_ldexpf_use=no
34609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34611 ac_cpp='$CPP $CPPFLAGS'
34612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34621 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34623 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34624 for ac_func in ldexpf
34626 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34627 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34628 cat >>confdefs.h <<_ACEOF
34629 #define HAVE_LDEXPF 1
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34638 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34639 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34640 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34641 $as_echo_n "(cached) " >&6
34646 ac_cpp='$CXXCPP $CPPFLAGS'
34647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34652 /* end confdefs.h. */
34662 if ac_fn_cxx_try_compile "$LINENO"; then :
34663 glibcxx_cv_func__ldexpf_use=yes
34665 glibcxx_cv_func__ldexpf_use=no
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34669 ac_cpp='$CPP $CPPFLAGS'
34670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34679 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34681 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34682 for ac_func in _ldexpf
34684 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34685 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34686 cat >>confdefs.h <<_ACEOF
34687 #define HAVE__LDEXPF 1
34700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34701 $as_echo_n "checking for logf declaration... " >&6; }
34702 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34703 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34704 $as_echo_n "(cached) " >&6
34709 ac_cpp='$CXXCPP $CPPFLAGS'
34710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34715 /* end confdefs.h. */
34717 #ifdef HAVE_IEEEFP_H
34718 #include <ieeefp.h>
34729 if ac_fn_cxx_try_compile "$LINENO"; then :
34730 glibcxx_cv_func_logf_use=yes
34732 glibcxx_cv_func_logf_use=no
34734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34736 ac_cpp='$CPP $CPPFLAGS'
34737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34746 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34748 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34749 for ac_func in logf
34751 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34752 if test "x$ac_cv_func_logf" = x""yes; then :
34753 cat >>confdefs.h <<_ACEOF
34754 #define HAVE_LOGF 1
34762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34763 $as_echo_n "checking for _logf declaration... " >&6; }
34764 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34765 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34766 $as_echo_n "(cached) " >&6
34771 ac_cpp='$CXXCPP $CPPFLAGS'
34772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34777 /* end confdefs.h. */
34779 #ifdef HAVE_IEEEFP_H
34780 #include <ieeefp.h>
34791 if ac_fn_cxx_try_compile "$LINENO"; then :
34792 glibcxx_cv_func__logf_use=yes
34794 glibcxx_cv_func__logf_use=no
34796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34798 ac_cpp='$CPP $CPPFLAGS'
34799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34808 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34810 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34811 for ac_func in _logf
34813 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34814 if test "x$ac_cv_func__logf" = x""yes; then :
34815 cat >>confdefs.h <<_ACEOF
34816 #define HAVE__LOGF 1
34829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34830 $as_echo_n "checking for log10f declaration... " >&6; }
34831 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34832 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34833 $as_echo_n "(cached) " >&6
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34846 #ifdef HAVE_IEEEFP_H
34847 #include <ieeefp.h>
34858 if ac_fn_cxx_try_compile "$LINENO"; then :
34859 glibcxx_cv_func_log10f_use=yes
34861 glibcxx_cv_func_log10f_use=no
34863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34865 ac_cpp='$CPP $CPPFLAGS'
34866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34875 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34877 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34878 for ac_func in log10f
34880 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34881 if test "x$ac_cv_func_log10f" = x""yes; then :
34882 cat >>confdefs.h <<_ACEOF
34883 #define HAVE_LOG10F 1
34891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34892 $as_echo_n "checking for _log10f declaration... " >&6; }
34893 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34894 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34895 $as_echo_n "(cached) " >&6
34900 ac_cpp='$CXXCPP $CPPFLAGS'
34901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34906 /* end confdefs.h. */
34908 #ifdef HAVE_IEEEFP_H
34909 #include <ieeefp.h>
34920 if ac_fn_cxx_try_compile "$LINENO"; then :
34921 glibcxx_cv_func__log10f_use=yes
34923 glibcxx_cv_func__log10f_use=no
34925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34927 ac_cpp='$CPP $CPPFLAGS'
34928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34937 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34939 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34940 for ac_func in _log10f
34942 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34943 if test "x$ac_cv_func__log10f" = x""yes; then :
34944 cat >>confdefs.h <<_ACEOF
34945 #define HAVE__LOG10F 1
34958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34959 $as_echo_n "checking for modff declaration... " >&6; }
34960 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34961 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34962 $as_echo_n "(cached) " >&6
34967 ac_cpp='$CXXCPP $CPPFLAGS'
34968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34973 /* end confdefs.h. */
34983 if ac_fn_cxx_try_compile "$LINENO"; then :
34984 glibcxx_cv_func_modff_use=yes
34986 glibcxx_cv_func_modff_use=no
34988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34990 ac_cpp='$CPP $CPPFLAGS'
34991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35000 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35002 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35003 for ac_func in modff
35005 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35006 if test "x$ac_cv_func_modff" = x""yes; then :
35007 cat >>confdefs.h <<_ACEOF
35008 #define HAVE_MODFF 1
35016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35017 $as_echo_n "checking for _modff declaration... " >&6; }
35018 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35019 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35020 $as_echo_n "(cached) " >&6
35025 ac_cpp='$CXXCPP $CPPFLAGS'
35026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35031 /* end confdefs.h. */
35041 if ac_fn_cxx_try_compile "$LINENO"; then :
35042 glibcxx_cv_func__modff_use=yes
35044 glibcxx_cv_func__modff_use=no
35046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35048 ac_cpp='$CPP $CPPFLAGS'
35049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35058 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35060 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35061 for ac_func in _modff
35063 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35064 if test "x$ac_cv_func__modff" = x""yes; then :
35065 cat >>confdefs.h <<_ACEOF
35066 #define HAVE__MODFF 1
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35080 $as_echo_n "checking for modf declaration... " >&6; }
35081 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35082 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35083 $as_echo_n "(cached) " >&6
35088 ac_cpp='$CXXCPP $CPPFLAGS'
35089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35094 /* end confdefs.h. */
35104 if ac_fn_cxx_try_compile "$LINENO"; then :
35105 glibcxx_cv_func_modf_use=yes
35107 glibcxx_cv_func_modf_use=no
35109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35111 ac_cpp='$CPP $CPPFLAGS'
35112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35121 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35123 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35124 for ac_func in modf
35126 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35127 if test "x$ac_cv_func_modf" = x""yes; then :
35128 cat >>confdefs.h <<_ACEOF
35129 #define HAVE_MODF 1
35137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35138 $as_echo_n "checking for _modf declaration... " >&6; }
35139 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35140 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35141 $as_echo_n "(cached) " >&6
35146 ac_cpp='$CXXCPP $CPPFLAGS'
35147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35152 /* end confdefs.h. */
35162 if ac_fn_cxx_try_compile "$LINENO"; then :
35163 glibcxx_cv_func__modf_use=yes
35165 glibcxx_cv_func__modf_use=no
35167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35169 ac_cpp='$CPP $CPPFLAGS'
35170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35179 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35181 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35182 for ac_func in _modf
35184 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35185 if test "x$ac_cv_func__modf" = x""yes; then :
35186 cat >>confdefs.h <<_ACEOF
35187 #define HAVE__MODF 1
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35201 $as_echo_n "checking for powf declaration... " >&6; }
35202 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35203 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35204 $as_echo_n "(cached) " >&6
35209 ac_cpp='$CXXCPP $CPPFLAGS'
35210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 /* end confdefs.h. */
35225 if ac_fn_cxx_try_compile "$LINENO"; then :
35226 glibcxx_cv_func_powf_use=yes
35228 glibcxx_cv_func_powf_use=no
35230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35232 ac_cpp='$CPP $CPPFLAGS'
35233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35242 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35244 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35245 for ac_func in powf
35247 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35248 if test "x$ac_cv_func_powf" = x""yes; then :
35249 cat >>confdefs.h <<_ACEOF
35250 #define HAVE_POWF 1
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35259 $as_echo_n "checking for _powf declaration... " >&6; }
35260 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35261 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35262 $as_echo_n "(cached) " >&6
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35273 /* end confdefs.h. */
35283 if ac_fn_cxx_try_compile "$LINENO"; then :
35284 glibcxx_cv_func__powf_use=yes
35286 glibcxx_cv_func__powf_use=no
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35290 ac_cpp='$CPP $CPPFLAGS'
35291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35300 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35302 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35303 for ac_func in _powf
35305 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35306 if test "x$ac_cv_func__powf" = x""yes; then :
35307 cat >>confdefs.h <<_ACEOF
35308 #define HAVE__POWF 1
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35322 $as_echo_n "checking for sqrtf declaration... " >&6; }
35323 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35324 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35325 $as_echo_n "(cached) " >&6
35330 ac_cpp='$CXXCPP $CPPFLAGS'
35331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h. */
35338 #ifdef HAVE_IEEEFP_H
35339 #include <ieeefp.h>
35350 if ac_fn_cxx_try_compile "$LINENO"; then :
35351 glibcxx_cv_func_sqrtf_use=yes
35353 glibcxx_cv_func_sqrtf_use=no
35355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35357 ac_cpp='$CPP $CPPFLAGS'
35358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35367 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35369 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35370 for ac_func in sqrtf
35372 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35373 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35374 cat >>confdefs.h <<_ACEOF
35375 #define HAVE_SQRTF 1
35383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35384 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35385 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35386 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35387 $as_echo_n "(cached) " >&6
35392 ac_cpp='$CXXCPP $CPPFLAGS'
35393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35398 /* end confdefs.h. */
35400 #ifdef HAVE_IEEEFP_H
35401 #include <ieeefp.h>
35412 if ac_fn_cxx_try_compile "$LINENO"; then :
35413 glibcxx_cv_func__sqrtf_use=yes
35415 glibcxx_cv_func__sqrtf_use=no
35417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35419 ac_cpp='$CPP $CPPFLAGS'
35420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35429 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35431 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35432 for ac_func in _sqrtf
35434 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35435 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35436 cat >>confdefs.h <<_ACEOF
35437 #define HAVE__SQRTF 1
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35451 $as_echo_n "checking for sincosf declaration... " >&6; }
35452 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35453 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35454 $as_echo_n "(cached) " >&6
35459 ac_cpp='$CXXCPP $CPPFLAGS'
35460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35465 /* end confdefs.h. */
35475 if ac_fn_cxx_try_compile "$LINENO"; then :
35476 glibcxx_cv_func_sincosf_use=yes
35478 glibcxx_cv_func_sincosf_use=no
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35482 ac_cpp='$CPP $CPPFLAGS'
35483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35492 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35494 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35495 for ac_func in sincosf
35497 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35498 if test "x$ac_cv_func_sincosf" = x""yes; then :
35499 cat >>confdefs.h <<_ACEOF
35500 #define HAVE_SINCOSF 1
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35509 $as_echo_n "checking for _sincosf declaration... " >&6; }
35510 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35511 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35512 $as_echo_n "(cached) " >&6
35517 ac_cpp='$CXXCPP $CPPFLAGS'
35518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35523 /* end confdefs.h. */
35533 if ac_fn_cxx_try_compile "$LINENO"; then :
35534 glibcxx_cv_func__sincosf_use=yes
35536 glibcxx_cv_func__sincosf_use=no
35538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35540 ac_cpp='$CPP $CPPFLAGS'
35541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35550 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35552 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35553 for ac_func in _sincosf
35555 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35556 if test "x$ac_cv_func__sincosf" = x""yes; then :
35557 cat >>confdefs.h <<_ACEOF
35558 #define HAVE__SINCOSF 1
35571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35572 $as_echo_n "checking for finitef declaration... " >&6; }
35573 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35574 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35575 $as_echo_n "(cached) " >&6
35580 ac_cpp='$CXXCPP $CPPFLAGS'
35581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35586 /* end confdefs.h. */
35588 #ifdef HAVE_IEEEFP_H
35589 #include <ieeefp.h>
35600 if ac_fn_cxx_try_compile "$LINENO"; then :
35601 glibcxx_cv_func_finitef_use=yes
35603 glibcxx_cv_func_finitef_use=no
35605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35607 ac_cpp='$CPP $CPPFLAGS'
35608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35617 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35619 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35620 for ac_func in finitef
35622 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35623 if test "x$ac_cv_func_finitef" = x""yes; then :
35624 cat >>confdefs.h <<_ACEOF
35625 #define HAVE_FINITEF 1
35633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35634 $as_echo_n "checking for _finitef declaration... " >&6; }
35635 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35636 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35637 $as_echo_n "(cached) " >&6
35642 ac_cpp='$CXXCPP $CPPFLAGS'
35643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35648 /* end confdefs.h. */
35650 #ifdef HAVE_IEEEFP_H
35651 #include <ieeefp.h>
35662 if ac_fn_cxx_try_compile "$LINENO"; then :
35663 glibcxx_cv_func__finitef_use=yes
35665 glibcxx_cv_func__finitef_use=no
35667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35669 ac_cpp='$CPP $CPPFLAGS'
35670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35679 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35681 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35682 for ac_func in _finitef
35684 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35685 if test "x$ac_cv_func__finitef" = x""yes; then :
35686 cat >>confdefs.h <<_ACEOF
35687 #define HAVE__FINITEF 1
35700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35701 $as_echo_n "checking for long double trig functions... " >&6; }
35702 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35703 $as_echo_n "(cached) " >&6
35708 ac_cpp='$CXXCPP $CPPFLAGS'
35709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35714 /* end confdefs.h. */
35719 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35724 if ac_fn_cxx_try_compile "$LINENO"; then :
35725 glibcxx_cv_func_long_double_trig_use=yes
35727 glibcxx_cv_func_long_double_trig_use=no
35729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35731 ac_cpp='$CPP $CPPFLAGS'
35732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35739 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35740 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35741 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35745 eval as_val=\$$as_ac_var
35746 if test "x$as_val" = x""yes; then :
35747 cat >>confdefs.h <<_ACEOF
35748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35756 $as_echo_n "checking for _long double trig functions... " >&6; }
35757 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35758 $as_echo_n "(cached) " >&6
35763 ac_cpp='$CXXCPP $CPPFLAGS'
35764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35769 /* end confdefs.h. */
35774 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35779 if ac_fn_cxx_try_compile "$LINENO"; then :
35780 glibcxx_cv_func__long_double_trig_use=yes
35782 glibcxx_cv_func__long_double_trig_use=no
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35786 ac_cpp='$CPP $CPPFLAGS'
35787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35794 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35795 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35796 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35800 eval as_val=\$$as_ac_var
35801 if test "x$as_val" = x""yes; then :
35802 cat >>confdefs.h <<_ACEOF
35803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35817 $as_echo_n "checking for long double round functions... " >&6; }
35818 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35819 $as_echo_n "(cached) " >&6
35824 ac_cpp='$CXXCPP $CPPFLAGS'
35825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35830 /* end confdefs.h. */
35835 ceill (0); floorl (0);
35840 if ac_fn_cxx_try_compile "$LINENO"; then :
35841 glibcxx_cv_func_long_double_round_use=yes
35843 glibcxx_cv_func_long_double_round_use=no
35845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35847 ac_cpp='$CPP $CPPFLAGS'
35848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35855 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35856 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35857 for ac_func in ceill floorl
35859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35861 eval as_val=\$$as_ac_var
35862 if test "x$as_val" = x""yes; then :
35863 cat >>confdefs.h <<_ACEOF
35864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35872 $as_echo_n "checking for _long double round functions... " >&6; }
35873 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35874 $as_echo_n "(cached) " >&6
35879 ac_cpp='$CXXCPP $CPPFLAGS'
35880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35885 /* end confdefs.h. */
35890 _ceill (0); _floorl (0);
35895 if ac_fn_cxx_try_compile "$LINENO"; then :
35896 glibcxx_cv_func__long_double_round_use=yes
35898 glibcxx_cv_func__long_double_round_use=no
35900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35902 ac_cpp='$CPP $CPPFLAGS'
35903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35910 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35911 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35912 for ac_func in _ceill _floorl
35914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35916 eval as_val=\$$as_ac_var
35917 if test "x$as_val" = x""yes; then :
35918 cat >>confdefs.h <<_ACEOF
35919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35934 $as_echo_n "checking for isnanl declaration... " >&6; }
35935 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35936 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35937 $as_echo_n "(cached) " >&6
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35948 /* end confdefs.h. */
35950 #ifdef HAVE_IEEEFP_H
35951 #include <ieeefp.h>
35962 if ac_fn_cxx_try_compile "$LINENO"; then :
35963 glibcxx_cv_func_isnanl_use=yes
35965 glibcxx_cv_func_isnanl_use=no
35967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35969 ac_cpp='$CPP $CPPFLAGS'
35970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35979 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35981 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35982 for ac_func in isnanl
35984 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35985 if test "x$ac_cv_func_isnanl" = x""yes; then :
35986 cat >>confdefs.h <<_ACEOF
35987 #define HAVE_ISNANL 1
35995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35996 $as_echo_n "checking for _isnanl declaration... " >&6; }
35997 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35998 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35999 $as_echo_n "(cached) " >&6
36004 ac_cpp='$CXXCPP $CPPFLAGS'
36005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36010 /* end confdefs.h. */
36012 #ifdef HAVE_IEEEFP_H
36013 #include <ieeefp.h>
36024 if ac_fn_cxx_try_compile "$LINENO"; then :
36025 glibcxx_cv_func__isnanl_use=yes
36027 glibcxx_cv_func__isnanl_use=no
36029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 ac_cpp='$CPP $CPPFLAGS'
36032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36041 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36043 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36044 for ac_func in _isnanl
36046 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36047 if test "x$ac_cv_func__isnanl" = x""yes; then :
36048 cat >>confdefs.h <<_ACEOF
36049 #define HAVE__ISNANL 1
36062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36063 $as_echo_n "checking for isinfl declaration... " >&6; }
36064 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36065 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36066 $as_echo_n "(cached) " >&6
36071 ac_cpp='$CXXCPP $CPPFLAGS'
36072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36077 /* end confdefs.h. */
36079 #ifdef HAVE_IEEEFP_H
36080 #include <ieeefp.h>
36091 if ac_fn_cxx_try_compile "$LINENO"; then :
36092 glibcxx_cv_func_isinfl_use=yes
36094 glibcxx_cv_func_isinfl_use=no
36096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36098 ac_cpp='$CPP $CPPFLAGS'
36099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36108 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36110 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36111 for ac_func in isinfl
36113 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36114 if test "x$ac_cv_func_isinfl" = x""yes; then :
36115 cat >>confdefs.h <<_ACEOF
36116 #define HAVE_ISINFL 1
36124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36125 $as_echo_n "checking for _isinfl declaration... " >&6; }
36126 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36127 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36128 $as_echo_n "(cached) " >&6
36133 ac_cpp='$CXXCPP $CPPFLAGS'
36134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36139 /* end confdefs.h. */
36141 #ifdef HAVE_IEEEFP_H
36142 #include <ieeefp.h>
36153 if ac_fn_cxx_try_compile "$LINENO"; then :
36154 glibcxx_cv_func__isinfl_use=yes
36156 glibcxx_cv_func__isinfl_use=no
36158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36160 ac_cpp='$CPP $CPPFLAGS'
36161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36170 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36172 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36173 for ac_func in _isinfl
36175 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36176 if test "x$ac_cv_func__isinfl" = x""yes; then :
36177 cat >>confdefs.h <<_ACEOF
36178 #define HAVE__ISINFL 1
36191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36192 $as_echo_n "checking for atan2l declaration... " >&6; }
36193 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36194 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36195 $as_echo_n "(cached) " >&6
36200 ac_cpp='$CXXCPP $CPPFLAGS'
36201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36206 /* end confdefs.h. */
36216 if ac_fn_cxx_try_compile "$LINENO"; then :
36217 glibcxx_cv_func_atan2l_use=yes
36219 glibcxx_cv_func_atan2l_use=no
36221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36223 ac_cpp='$CPP $CPPFLAGS'
36224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36233 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36235 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36236 for ac_func in atan2l
36238 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36239 if test "x$ac_cv_func_atan2l" = x""yes; then :
36240 cat >>confdefs.h <<_ACEOF
36241 #define HAVE_ATAN2L 1
36249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36250 $as_echo_n "checking for _atan2l declaration... " >&6; }
36251 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36252 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36253 $as_echo_n "(cached) " >&6
36258 ac_cpp='$CXXCPP $CPPFLAGS'
36259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36264 /* end confdefs.h. */
36274 if ac_fn_cxx_try_compile "$LINENO"; then :
36275 glibcxx_cv_func__atan2l_use=yes
36277 glibcxx_cv_func__atan2l_use=no
36279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36281 ac_cpp='$CPP $CPPFLAGS'
36282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36291 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36293 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36294 for ac_func in _atan2l
36296 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36297 if test "x$ac_cv_func__atan2l" = x""yes; then :
36298 cat >>confdefs.h <<_ACEOF
36299 #define HAVE__ATAN2L 1
36312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36313 $as_echo_n "checking for expl declaration... " >&6; }
36314 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36315 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36316 $as_echo_n "(cached) " >&6
36321 ac_cpp='$CXXCPP $CPPFLAGS'
36322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36327 /* end confdefs.h. */
36329 #ifdef HAVE_IEEEFP_H
36330 #include <ieeefp.h>
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342 glibcxx_cv_func_expl_use=yes
36344 glibcxx_cv_func_expl_use=no
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36358 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36360 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36361 for ac_func in expl
36363 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36364 if test "x$ac_cv_func_expl" = x""yes; then :
36365 cat >>confdefs.h <<_ACEOF
36366 #define HAVE_EXPL 1
36374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36375 $as_echo_n "checking for _expl declaration... " >&6; }
36376 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36377 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36378 $as_echo_n "(cached) " >&6
36383 ac_cpp='$CXXCPP $CPPFLAGS'
36384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36389 /* end confdefs.h. */
36391 #ifdef HAVE_IEEEFP_H
36392 #include <ieeefp.h>
36403 if ac_fn_cxx_try_compile "$LINENO"; then :
36404 glibcxx_cv_func__expl_use=yes
36406 glibcxx_cv_func__expl_use=no
36408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36410 ac_cpp='$CPP $CPPFLAGS'
36411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36420 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36422 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36423 for ac_func in _expl
36425 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36426 if test "x$ac_cv_func__expl" = x""yes; then :
36427 cat >>confdefs.h <<_ACEOF
36428 #define HAVE__EXPL 1
36441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36442 $as_echo_n "checking for fabsl declaration... " >&6; }
36443 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36444 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36445 $as_echo_n "(cached) " >&6
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36456 /* end confdefs.h. */
36458 #ifdef HAVE_IEEEFP_H
36459 #include <ieeefp.h>
36470 if ac_fn_cxx_try_compile "$LINENO"; then :
36471 glibcxx_cv_func_fabsl_use=yes
36473 glibcxx_cv_func_fabsl_use=no
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36487 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36489 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36490 for ac_func in fabsl
36492 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36493 if test "x$ac_cv_func_fabsl" = x""yes; then :
36494 cat >>confdefs.h <<_ACEOF
36495 #define HAVE_FABSL 1
36503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36504 $as_echo_n "checking for _fabsl declaration... " >&6; }
36505 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36506 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36507 $as_echo_n "(cached) " >&6
36512 ac_cpp='$CXXCPP $CPPFLAGS'
36513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36518 /* end confdefs.h. */
36520 #ifdef HAVE_IEEEFP_H
36521 #include <ieeefp.h>
36532 if ac_fn_cxx_try_compile "$LINENO"; then :
36533 glibcxx_cv_func__fabsl_use=yes
36535 glibcxx_cv_func__fabsl_use=no
36537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36539 ac_cpp='$CPP $CPPFLAGS'
36540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36549 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36551 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36552 for ac_func in _fabsl
36554 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36555 if test "x$ac_cv_func__fabsl" = x""yes; then :
36556 cat >>confdefs.h <<_ACEOF
36557 #define HAVE__FABSL 1
36570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36571 $as_echo_n "checking for fmodl declaration... " >&6; }
36572 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36573 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36574 $as_echo_n "(cached) " >&6
36579 ac_cpp='$CXXCPP $CPPFLAGS'
36580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36585 /* end confdefs.h. */
36595 if ac_fn_cxx_try_compile "$LINENO"; then :
36596 glibcxx_cv_func_fmodl_use=yes
36598 glibcxx_cv_func_fmodl_use=no
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36612 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36614 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36615 for ac_func in fmodl
36617 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36618 if test "x$ac_cv_func_fmodl" = x""yes; then :
36619 cat >>confdefs.h <<_ACEOF
36620 #define HAVE_FMODL 1
36628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36629 $as_echo_n "checking for _fmodl declaration... " >&6; }
36630 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36631 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36632 $as_echo_n "(cached) " >&6
36637 ac_cpp='$CXXCPP $CPPFLAGS'
36638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36643 /* end confdefs.h. */
36653 if ac_fn_cxx_try_compile "$LINENO"; then :
36654 glibcxx_cv_func__fmodl_use=yes
36656 glibcxx_cv_func__fmodl_use=no
36658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36660 ac_cpp='$CPP $CPPFLAGS'
36661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36670 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36672 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36673 for ac_func in _fmodl
36675 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36676 if test "x$ac_cv_func__fmodl" = x""yes; then :
36677 cat >>confdefs.h <<_ACEOF
36678 #define HAVE__FMODL 1
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36692 $as_echo_n "checking for frexpl declaration... " >&6; }
36693 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36694 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36695 $as_echo_n "(cached) " >&6
36700 ac_cpp='$CXXCPP $CPPFLAGS'
36701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36706 /* end confdefs.h. */
36716 if ac_fn_cxx_try_compile "$LINENO"; then :
36717 glibcxx_cv_func_frexpl_use=yes
36719 glibcxx_cv_func_frexpl_use=no
36721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723 ac_cpp='$CPP $CPPFLAGS'
36724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36733 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36735 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36736 for ac_func in frexpl
36738 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36739 if test "x$ac_cv_func_frexpl" = x""yes; then :
36740 cat >>confdefs.h <<_ACEOF
36741 #define HAVE_FREXPL 1
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36750 $as_echo_n "checking for _frexpl declaration... " >&6; }
36751 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36752 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36753 $as_echo_n "(cached) " >&6
36758 ac_cpp='$CXXCPP $CPPFLAGS'
36759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36764 /* end confdefs.h. */
36774 if ac_fn_cxx_try_compile "$LINENO"; then :
36775 glibcxx_cv_func__frexpl_use=yes
36777 glibcxx_cv_func__frexpl_use=no
36779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36781 ac_cpp='$CPP $CPPFLAGS'
36782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36791 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36793 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36794 for ac_func in _frexpl
36796 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36797 if test "x$ac_cv_func__frexpl" = x""yes; then :
36798 cat >>confdefs.h <<_ACEOF
36799 #define HAVE__FREXPL 1
36812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36813 $as_echo_n "checking for hypotl declaration... " >&6; }
36814 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36815 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36816 $as_echo_n "(cached) " >&6
36821 ac_cpp='$CXXCPP $CPPFLAGS'
36822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36827 /* end confdefs.h. */
36837 if ac_fn_cxx_try_compile "$LINENO"; then :
36838 glibcxx_cv_func_hypotl_use=yes
36840 glibcxx_cv_func_hypotl_use=no
36842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36844 ac_cpp='$CPP $CPPFLAGS'
36845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36854 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36856 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36857 for ac_func in hypotl
36859 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36860 if test "x$ac_cv_func_hypotl" = x""yes; then :
36861 cat >>confdefs.h <<_ACEOF
36862 #define HAVE_HYPOTL 1
36870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36871 $as_echo_n "checking for _hypotl declaration... " >&6; }
36872 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36873 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36874 $as_echo_n "(cached) " >&6
36879 ac_cpp='$CXXCPP $CPPFLAGS'
36880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36885 /* end confdefs.h. */
36895 if ac_fn_cxx_try_compile "$LINENO"; then :
36896 glibcxx_cv_func__hypotl_use=yes
36898 glibcxx_cv_func__hypotl_use=no
36900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36902 ac_cpp='$CPP $CPPFLAGS'
36903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36912 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36914 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36915 for ac_func in _hypotl
36917 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36918 if test "x$ac_cv_func__hypotl" = x""yes; then :
36919 cat >>confdefs.h <<_ACEOF
36920 #define HAVE__HYPOTL 1
36933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36934 $as_echo_n "checking for ldexpl declaration... " >&6; }
36935 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36936 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36937 $as_echo_n "(cached) " >&6
36942 ac_cpp='$CXXCPP $CPPFLAGS'
36943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36948 /* end confdefs.h. */
36958 if ac_fn_cxx_try_compile "$LINENO"; then :
36959 glibcxx_cv_func_ldexpl_use=yes
36961 glibcxx_cv_func_ldexpl_use=no
36963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36965 ac_cpp='$CPP $CPPFLAGS'
36966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36975 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36977 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36978 for ac_func in ldexpl
36980 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36981 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36982 cat >>confdefs.h <<_ACEOF
36983 #define HAVE_LDEXPL 1
36991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36992 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36993 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36994 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36995 $as_echo_n "(cached) " >&6
37000 ac_cpp='$CXXCPP $CPPFLAGS'
37001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37006 /* end confdefs.h. */
37016 if ac_fn_cxx_try_compile "$LINENO"; then :
37017 glibcxx_cv_func__ldexpl_use=yes
37019 glibcxx_cv_func__ldexpl_use=no
37021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37033 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37035 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37036 for ac_func in _ldexpl
37038 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37039 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37040 cat >>confdefs.h <<_ACEOF
37041 #define HAVE__LDEXPL 1
37054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37055 $as_echo_n "checking for logl declaration... " >&6; }
37056 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37057 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37058 $as_echo_n "(cached) " >&6
37063 ac_cpp='$CXXCPP $CPPFLAGS'
37064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37069 /* end confdefs.h. */
37071 #ifdef HAVE_IEEEFP_H
37072 #include <ieeefp.h>
37083 if ac_fn_cxx_try_compile "$LINENO"; then :
37084 glibcxx_cv_func_logl_use=yes
37086 glibcxx_cv_func_logl_use=no
37088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37090 ac_cpp='$CPP $CPPFLAGS'
37091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37100 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37102 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37103 for ac_func in logl
37105 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37106 if test "x$ac_cv_func_logl" = x""yes; then :
37107 cat >>confdefs.h <<_ACEOF
37108 #define HAVE_LOGL 1
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37117 $as_echo_n "checking for _logl declaration... " >&6; }
37118 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37119 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37120 $as_echo_n "(cached) " >&6
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37131 /* end confdefs.h. */
37133 #ifdef HAVE_IEEEFP_H
37134 #include <ieeefp.h>
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146 glibcxx_cv_func__logl_use=yes
37148 glibcxx_cv_func__logl_use=no
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37162 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37164 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37165 for ac_func in _logl
37167 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37168 if test "x$ac_cv_func__logl" = x""yes; then :
37169 cat >>confdefs.h <<_ACEOF
37170 #define HAVE__LOGL 1
37183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37184 $as_echo_n "checking for log10l declaration... " >&6; }
37185 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37186 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37187 $as_echo_n "(cached) " >&6
37192 ac_cpp='$CXXCPP $CPPFLAGS'
37193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37198 /* end confdefs.h. */
37200 #ifdef HAVE_IEEEFP_H
37201 #include <ieeefp.h>
37212 if ac_fn_cxx_try_compile "$LINENO"; then :
37213 glibcxx_cv_func_log10l_use=yes
37215 glibcxx_cv_func_log10l_use=no
37217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37219 ac_cpp='$CPP $CPPFLAGS'
37220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37229 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37231 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37232 for ac_func in log10l
37234 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37235 if test "x$ac_cv_func_log10l" = x""yes; then :
37236 cat >>confdefs.h <<_ACEOF
37237 #define HAVE_LOG10L 1
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37246 $as_echo_n "checking for _log10l declaration... " >&6; }
37247 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37248 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37249 $as_echo_n "(cached) " >&6
37254 ac_cpp='$CXXCPP $CPPFLAGS'
37255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37260 /* end confdefs.h. */
37262 #ifdef HAVE_IEEEFP_H
37263 #include <ieeefp.h>
37274 if ac_fn_cxx_try_compile "$LINENO"; then :
37275 glibcxx_cv_func__log10l_use=yes
37277 glibcxx_cv_func__log10l_use=no
37279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37281 ac_cpp='$CPP $CPPFLAGS'
37282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37291 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37293 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37294 for ac_func in _log10l
37296 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37297 if test "x$ac_cv_func__log10l" = x""yes; then :
37298 cat >>confdefs.h <<_ACEOF
37299 #define HAVE__LOG10L 1
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37313 $as_echo_n "checking for modfl declaration... " >&6; }
37314 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37315 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37316 $as_echo_n "(cached) " >&6
37321 ac_cpp='$CXXCPP $CPPFLAGS'
37322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37327 /* end confdefs.h. */
37337 if ac_fn_cxx_try_compile "$LINENO"; then :
37338 glibcxx_cv_func_modfl_use=yes
37340 glibcxx_cv_func_modfl_use=no
37342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37344 ac_cpp='$CPP $CPPFLAGS'
37345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37354 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37356 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37357 for ac_func in modfl
37359 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37360 if test "x$ac_cv_func_modfl" = x""yes; then :
37361 cat >>confdefs.h <<_ACEOF
37362 #define HAVE_MODFL 1
37370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37371 $as_echo_n "checking for _modfl declaration... " >&6; }
37372 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37373 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37374 $as_echo_n "(cached) " >&6
37379 ac_cpp='$CXXCPP $CPPFLAGS'
37380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37385 /* end confdefs.h. */
37395 if ac_fn_cxx_try_compile "$LINENO"; then :
37396 glibcxx_cv_func__modfl_use=yes
37398 glibcxx_cv_func__modfl_use=no
37400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37402 ac_cpp='$CPP $CPPFLAGS'
37403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37412 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37414 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37415 for ac_func in _modfl
37417 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37418 if test "x$ac_cv_func__modfl" = x""yes; then :
37419 cat >>confdefs.h <<_ACEOF
37420 #define HAVE__MODFL 1
37433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37434 $as_echo_n "checking for powl declaration... " >&6; }
37435 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37436 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37437 $as_echo_n "(cached) " >&6
37442 ac_cpp='$CXXCPP $CPPFLAGS'
37443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37448 /* end confdefs.h. */
37458 if ac_fn_cxx_try_compile "$LINENO"; then :
37459 glibcxx_cv_func_powl_use=yes
37461 glibcxx_cv_func_powl_use=no
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37475 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37477 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37478 for ac_func in powl
37480 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37481 if test "x$ac_cv_func_powl" = x""yes; then :
37482 cat >>confdefs.h <<_ACEOF
37483 #define HAVE_POWL 1
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37492 $as_echo_n "checking for _powl declaration... " >&6; }
37493 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37494 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37495 $as_echo_n "(cached) " >&6
37500 ac_cpp='$CXXCPP $CPPFLAGS'
37501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506 /* end confdefs.h. */
37516 if ac_fn_cxx_try_compile "$LINENO"; then :
37517 glibcxx_cv_func__powl_use=yes
37519 glibcxx_cv_func__powl_use=no
37521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37523 ac_cpp='$CPP $CPPFLAGS'
37524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37533 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37535 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37536 for ac_func in _powl
37538 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37539 if test "x$ac_cv_func__powl" = x""yes; then :
37540 cat >>confdefs.h <<_ACEOF
37541 #define HAVE__POWL 1
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37555 $as_echo_n "checking for sqrtl declaration... " >&6; }
37556 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37557 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37558 $as_echo_n "(cached) " >&6
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37569 /* end confdefs.h. */
37571 #ifdef HAVE_IEEEFP_H
37572 #include <ieeefp.h>
37583 if ac_fn_cxx_try_compile "$LINENO"; then :
37584 glibcxx_cv_func_sqrtl_use=yes
37586 glibcxx_cv_func_sqrtl_use=no
37588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37590 ac_cpp='$CPP $CPPFLAGS'
37591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37600 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37602 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37603 for ac_func in sqrtl
37605 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37606 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37607 cat >>confdefs.h <<_ACEOF
37608 #define HAVE_SQRTL 1
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37617 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37618 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37619 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37620 $as_echo_n "(cached) " >&6
37625 ac_cpp='$CXXCPP $CPPFLAGS'
37626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37631 /* end confdefs.h. */
37633 #ifdef HAVE_IEEEFP_H
37634 #include <ieeefp.h>
37645 if ac_fn_cxx_try_compile "$LINENO"; then :
37646 glibcxx_cv_func__sqrtl_use=yes
37648 glibcxx_cv_func__sqrtl_use=no
37650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37652 ac_cpp='$CPP $CPPFLAGS'
37653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37662 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37664 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37665 for ac_func in _sqrtl
37667 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37668 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37669 cat >>confdefs.h <<_ACEOF
37670 #define HAVE__SQRTL 1
37683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37684 $as_echo_n "checking for sincosl declaration... " >&6; }
37685 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37686 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37687 $as_echo_n "(cached) " >&6
37692 ac_cpp='$CXXCPP $CPPFLAGS'
37693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37698 /* end confdefs.h. */
37708 if ac_fn_cxx_try_compile "$LINENO"; then :
37709 glibcxx_cv_func_sincosl_use=yes
37711 glibcxx_cv_func_sincosl_use=no
37713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37715 ac_cpp='$CPP $CPPFLAGS'
37716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37725 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37727 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37728 for ac_func in sincosl
37730 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37731 if test "x$ac_cv_func_sincosl" = x""yes; then :
37732 cat >>confdefs.h <<_ACEOF
37733 #define HAVE_SINCOSL 1
37741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37742 $as_echo_n "checking for _sincosl declaration... " >&6; }
37743 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37744 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37745 $as_echo_n "(cached) " >&6
37750 ac_cpp='$CXXCPP $CPPFLAGS'
37751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37756 /* end confdefs.h. */
37766 if ac_fn_cxx_try_compile "$LINENO"; then :
37767 glibcxx_cv_func__sincosl_use=yes
37769 glibcxx_cv_func__sincosl_use=no
37771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37773 ac_cpp='$CPP $CPPFLAGS'
37774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37783 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37785 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37786 for ac_func in _sincosl
37788 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37789 if test "x$ac_cv_func__sincosl" = x""yes; then :
37790 cat >>confdefs.h <<_ACEOF
37791 #define HAVE__SINCOSL 1
37804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37805 $as_echo_n "checking for finitel declaration... " >&6; }
37806 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37807 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37808 $as_echo_n "(cached) " >&6
37813 ac_cpp='$CXXCPP $CPPFLAGS'
37814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37819 /* end confdefs.h. */
37821 #ifdef HAVE_IEEEFP_H
37822 #include <ieeefp.h>
37833 if ac_fn_cxx_try_compile "$LINENO"; then :
37834 glibcxx_cv_func_finitel_use=yes
37836 glibcxx_cv_func_finitel_use=no
37838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37840 ac_cpp='$CPP $CPPFLAGS'
37841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37850 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37852 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37853 for ac_func in finitel
37855 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37856 if test "x$ac_cv_func_finitel" = x""yes; then :
37857 cat >>confdefs.h <<_ACEOF
37858 #define HAVE_FINITEL 1
37866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37867 $as_echo_n "checking for _finitel declaration... " >&6; }
37868 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37869 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37870 $as_echo_n "(cached) " >&6
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37881 /* end confdefs.h. */
37883 #ifdef HAVE_IEEEFP_H
37884 #include <ieeefp.h>
37895 if ac_fn_cxx_try_compile "$LINENO"; then :
37896 glibcxx_cv_func__finitel_use=yes
37898 glibcxx_cv_func__finitel_use=no
37900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37902 ac_cpp='$CPP $CPPFLAGS'
37903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37912 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37914 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37915 for ac_func in _finitel
37917 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37918 if test "x$ac_cv_func__finitel" = x""yes; then :
37919 cat >>confdefs.h <<_ACEOF
37920 #define HAVE__FINITEL 1
37932 LIBS="$ac_save_LIBS"
37933 CXXFLAGS="$ac_save_CXXFLAGS"
37936 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37937 ac_save_CXXFLAGS="$CXXFLAGS"
37938 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37942 $as_echo_n "checking for strtold declaration... " >&6; }
37943 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37944 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37945 $as_echo_n "(cached) " >&6
37950 ac_cpp='$CXXCPP $CPPFLAGS'
37951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37956 /* end confdefs.h. */
37957 #include <stdlib.h>
37966 if ac_fn_cxx_try_compile "$LINENO"; then :
37967 glibcxx_cv_func_strtold_use=yes
37969 glibcxx_cv_func_strtold_use=no
37971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37973 ac_cpp='$CPP $CPPFLAGS'
37974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37983 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37984 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37985 for ac_func in strtold
37987 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37988 if test "x$ac_cv_func_strtold" = x""yes; then :
37989 cat >>confdefs.h <<_ACEOF
37990 #define HAVE_STRTOLD 1
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38002 $as_echo_n "checking for strtof declaration... " >&6; }
38003 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38004 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38005 $as_echo_n "(cached) " >&6
38010 ac_cpp='$CXXCPP $CPPFLAGS'
38011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38016 /* end confdefs.h. */
38017 #include <stdlib.h>
38026 if ac_fn_cxx_try_compile "$LINENO"; then :
38027 glibcxx_cv_func_strtof_use=yes
38029 glibcxx_cv_func_strtof_use=no
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38033 ac_cpp='$CPP $CPPFLAGS'
38034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38043 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38044 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38045 for ac_func in strtof
38047 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38048 if test "x$ac_cv_func_strtof" = x""yes; then :
38049 cat >>confdefs.h <<_ACEOF
38050 #define HAVE_STRTOF 1
38061 CXXFLAGS="$ac_save_CXXFLAGS"
38063 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38065 # We don't yet support AIX's TLS ABI.
38072 am_save_CPPFLAGS="$CPPFLAGS"
38074 for element in $INCICONV; do
38076 for x in $CPPFLAGS; do
38078 acl_save_prefix="$prefix"
38079 prefix="$acl_final_prefix"
38080 acl_save_exec_prefix="$exec_prefix"
38081 exec_prefix="$acl_final_exec_prefix"
38083 exec_prefix="$acl_save_exec_prefix"
38084 prefix="$acl_save_prefix"
38086 if test "X$x" = "X$element"; then
38091 if test -z "$haveit"; then
38092 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38098 $as_echo_n "checking for iconv... " >&6; }
38099 if test "${am_cv_func_iconv+set}" = set; then :
38100 $as_echo_n "(cached) " >&6
38103 am_cv_func_iconv="no, consider installing GNU libiconv"
38105 if test x$gcc_no_link = xyes; then
38106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38110 #include <stdlib.h>
38115 iconv_t cd = iconv_open("","");
38116 iconv(cd,NULL,NULL,NULL,NULL);
38122 if ac_fn_c_try_link "$LINENO"; then :
38123 am_cv_func_iconv=yes
38125 rm -f core conftest.err conftest.$ac_objext \
38126 conftest$ac_exeext conftest.$ac_ext
38127 if test "$am_cv_func_iconv" != yes; then
38128 am_save_LIBS="$LIBS"
38129 LIBS="$LIBS $LIBICONV"
38130 if test x$gcc_no_link = xyes; then
38131 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38134 /* end confdefs.h. */
38135 #include <stdlib.h>
38140 iconv_t cd = iconv_open("","");
38141 iconv(cd,NULL,NULL,NULL,NULL);
38147 if ac_fn_c_try_link "$LINENO"; then :
38148 am_cv_lib_iconv=yes
38149 am_cv_func_iconv=yes
38151 rm -f core conftest.err conftest.$ac_objext \
38152 conftest$ac_exeext conftest.$ac_ext
38153 LIBS="$am_save_LIBS"
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38158 $as_echo "$am_cv_func_iconv" >&6; }
38159 if test "$am_cv_func_iconv" = yes; then
38161 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38164 if test "$am_cv_lib_iconv" = yes; then
38165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38166 $as_echo_n "checking how to link with libiconv... " >&6; }
38167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38168 $as_echo "$LIBICONV" >&6; }
38170 CPPFLAGS="$am_save_CPPFLAGS"
38177 if test "$am_cv_func_iconv" = yes; then
38178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38179 $as_echo_n "checking for iconv declaration... " >&6; }
38180 if test "${am_cv_proto_iconv+set}" = set; then :
38181 $as_echo_n "(cached) " >&6
38184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38185 /* end confdefs.h. */
38187 #include <stdlib.h>
38193 #if defined(__STDC__) || defined(__cplusplus)
38194 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38207 if ac_fn_c_try_compile "$LINENO"; then :
38208 am_cv_proto_iconv_arg1=""
38210 am_cv_proto_iconv_arg1="const"
38212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38213 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);"
38216 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38218 }$am_cv_proto_iconv" >&5
38220 }$am_cv_proto_iconv" >&6; }
38222 cat >>confdefs.h <<_ACEOF
38223 #define ICONV_CONST $am_cv_proto_iconv_arg1
38231 # Darwin versions vary, but the linker should work in a cross environment,
38232 # so we just check for all the features here.
38233 # Check for available headers.
38235 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38238 ac_save_CXXFLAGS="$CXXFLAGS"
38239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38242 $as_echo_n "checking for sin in -lm... " >&6; }
38243 if test "${ac_cv_lib_m_sin+set}" = set; then :
38244 $as_echo_n "(cached) " >&6
38246 ac_check_lib_save_LIBS=$LIBS
38248 if test x$gcc_no_link = xyes; then
38249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38252 /* end confdefs.h. */
38254 /* Override any GCC internal prototype to avoid an error.
38255 Use char because int might match the return type of a GCC
38256 builtin and then its argument prototype would still apply. */
38269 if ac_fn_c_try_link "$LINENO"; then :
38270 ac_cv_lib_m_sin=yes
38274 rm -f core conftest.err conftest.$ac_objext \
38275 conftest$ac_exeext conftest.$ac_ext
38276 LIBS=$ac_check_lib_save_LIBS
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38279 $as_echo "$ac_cv_lib_m_sin" >&6; }
38280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38284 ac_save_LIBS="$LIBS"
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38290 $as_echo_n "checking for isinf declaration... " >&6; }
38291 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38292 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38293 $as_echo_n "(cached) " >&6
38298 ac_cpp='$CXXCPP $CPPFLAGS'
38299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38304 /* end confdefs.h. */
38306 #ifdef HAVE_IEEEFP_H
38307 #include <ieeefp.h>
38318 if ac_fn_cxx_try_compile "$LINENO"; then :
38319 glibcxx_cv_func_isinf_use=yes
38321 glibcxx_cv_func_isinf_use=no
38323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38325 ac_cpp='$CPP $CPPFLAGS'
38326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38337 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38338 for ac_func in isinf
38340 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38341 if test "x$ac_cv_func_isinf" = x""yes; then :
38342 cat >>confdefs.h <<_ACEOF
38343 #define HAVE_ISINF 1
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38352 $as_echo_n "checking for _isinf declaration... " >&6; }
38353 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38354 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38355 $as_echo_n "(cached) " >&6
38360 ac_cpp='$CXXCPP $CPPFLAGS'
38361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38366 /* end confdefs.h. */
38368 #ifdef HAVE_IEEEFP_H
38369 #include <ieeefp.h>
38380 if ac_fn_cxx_try_compile "$LINENO"; then :
38381 glibcxx_cv_func__isinf_use=yes
38383 glibcxx_cv_func__isinf_use=no
38385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38387 ac_cpp='$CPP $CPPFLAGS'
38388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38399 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38400 for ac_func in _isinf
38402 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38403 if test "x$ac_cv_func__isinf" = x""yes; then :
38404 cat >>confdefs.h <<_ACEOF
38405 #define HAVE__ISINF 1
38418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38419 $as_echo_n "checking for isnan declaration... " >&6; }
38420 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38421 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38422 $as_echo_n "(cached) " >&6
38427 ac_cpp='$CXXCPP $CPPFLAGS'
38428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38433 /* end confdefs.h. */
38435 #ifdef HAVE_IEEEFP_H
38436 #include <ieeefp.h>
38447 if ac_fn_cxx_try_compile "$LINENO"; then :
38448 glibcxx_cv_func_isnan_use=yes
38450 glibcxx_cv_func_isnan_use=no
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38454 ac_cpp='$CPP $CPPFLAGS'
38455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38467 for ac_func in isnan
38469 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38470 if test "x$ac_cv_func_isnan" = x""yes; then :
38471 cat >>confdefs.h <<_ACEOF
38472 #define HAVE_ISNAN 1
38480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38481 $as_echo_n "checking for _isnan declaration... " >&6; }
38482 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38483 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38484 $as_echo_n "(cached) " >&6
38489 ac_cpp='$CXXCPP $CPPFLAGS'
38490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38495 /* end confdefs.h. */
38497 #ifdef HAVE_IEEEFP_H
38498 #include <ieeefp.h>
38509 if ac_fn_cxx_try_compile "$LINENO"; then :
38510 glibcxx_cv_func__isnan_use=yes
38512 glibcxx_cv_func__isnan_use=no
38514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38528 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38529 for ac_func in _isnan
38531 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38532 if test "x$ac_cv_func__isnan" = x""yes; then :
38533 cat >>confdefs.h <<_ACEOF
38534 #define HAVE__ISNAN 1
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38548 $as_echo_n "checking for finite declaration... " >&6; }
38549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38550 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38551 $as_echo_n "(cached) " >&6
38556 ac_cpp='$CXXCPP $CPPFLAGS'
38557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38562 /* end confdefs.h. */
38564 #ifdef HAVE_IEEEFP_H
38565 #include <ieeefp.h>
38576 if ac_fn_cxx_try_compile "$LINENO"; then :
38577 glibcxx_cv_func_finite_use=yes
38579 glibcxx_cv_func_finite_use=no
38581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38595 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38596 for ac_func in finite
38598 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38599 if test "x$ac_cv_func_finite" = x""yes; then :
38600 cat >>confdefs.h <<_ACEOF
38601 #define HAVE_FINITE 1
38609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38610 $as_echo_n "checking for _finite declaration... " >&6; }
38611 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38612 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38613 $as_echo_n "(cached) " >&6
38618 ac_cpp='$CXXCPP $CPPFLAGS'
38619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38624 /* end confdefs.h. */
38626 #ifdef HAVE_IEEEFP_H
38627 #include <ieeefp.h>
38638 if ac_fn_cxx_try_compile "$LINENO"; then :
38639 glibcxx_cv_func__finite_use=yes
38641 glibcxx_cv_func__finite_use=no
38643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38657 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38658 for ac_func in _finite
38660 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38661 if test "x$ac_cv_func__finite" = x""yes; then :
38662 cat >>confdefs.h <<_ACEOF
38663 #define HAVE__FINITE 1
38676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38677 $as_echo_n "checking for sincos declaration... " >&6; }
38678 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38679 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38680 $as_echo_n "(cached) " >&6
38685 ac_cpp='$CXXCPP $CPPFLAGS'
38686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38691 /* end confdefs.h. */
38701 if ac_fn_cxx_try_compile "$LINENO"; then :
38702 glibcxx_cv_func_sincos_use=yes
38704 glibcxx_cv_func_sincos_use=no
38706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38708 ac_cpp='$CPP $CPPFLAGS'
38709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38720 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38721 for ac_func in sincos
38723 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38724 if test "x$ac_cv_func_sincos" = x""yes; then :
38725 cat >>confdefs.h <<_ACEOF
38726 #define HAVE_SINCOS 1
38734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38735 $as_echo_n "checking for _sincos declaration... " >&6; }
38736 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38737 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38738 $as_echo_n "(cached) " >&6
38743 ac_cpp='$CXXCPP $CPPFLAGS'
38744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38749 /* end confdefs.h. */
38759 if ac_fn_cxx_try_compile "$LINENO"; then :
38760 glibcxx_cv_func__sincos_use=yes
38762 glibcxx_cv_func__sincos_use=no
38764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38766 ac_cpp='$CPP $CPPFLAGS'
38767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38778 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38779 for ac_func in _sincos
38781 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38782 if test "x$ac_cv_func__sincos" = x""yes; then :
38783 cat >>confdefs.h <<_ACEOF
38784 #define HAVE__SINCOS 1
38797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38798 $as_echo_n "checking for fpclass declaration... " >&6; }
38799 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38800 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38801 $as_echo_n "(cached) " >&6
38806 ac_cpp='$CXXCPP $CPPFLAGS'
38807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38812 /* end confdefs.h. */
38814 #ifdef HAVE_IEEEFP_H
38815 #include <ieeefp.h>
38826 if ac_fn_cxx_try_compile "$LINENO"; then :
38827 glibcxx_cv_func_fpclass_use=yes
38829 glibcxx_cv_func_fpclass_use=no
38831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38833 ac_cpp='$CPP $CPPFLAGS'
38834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38845 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38846 for ac_func in fpclass
38848 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38849 if test "x$ac_cv_func_fpclass" = x""yes; then :
38850 cat >>confdefs.h <<_ACEOF
38851 #define HAVE_FPCLASS 1
38859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38860 $as_echo_n "checking for _fpclass declaration... " >&6; }
38861 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38862 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38863 $as_echo_n "(cached) " >&6
38868 ac_cpp='$CXXCPP $CPPFLAGS'
38869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38874 /* end confdefs.h. */
38876 #ifdef HAVE_IEEEFP_H
38877 #include <ieeefp.h>
38888 if ac_fn_cxx_try_compile "$LINENO"; then :
38889 glibcxx_cv_func__fpclass_use=yes
38891 glibcxx_cv_func__fpclass_use=no
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38907 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38908 for ac_func in _fpclass
38910 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38911 if test "x$ac_cv_func__fpclass" = x""yes; then :
38912 cat >>confdefs.h <<_ACEOF
38913 #define HAVE__FPCLASS 1
38926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38927 $as_echo_n "checking for qfpclass declaration... " >&6; }
38928 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38929 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38930 $as_echo_n "(cached) " >&6
38935 ac_cpp='$CXXCPP $CPPFLAGS'
38936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38941 /* end confdefs.h. */
38943 #ifdef HAVE_IEEEFP_H
38944 #include <ieeefp.h>
38955 if ac_fn_cxx_try_compile "$LINENO"; then :
38956 glibcxx_cv_func_qfpclass_use=yes
38958 glibcxx_cv_func_qfpclass_use=no
38960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38962 ac_cpp='$CPP $CPPFLAGS'
38963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38974 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38975 for ac_func in qfpclass
38977 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38979 cat >>confdefs.h <<_ACEOF
38980 #define HAVE_QFPCLASS 1
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38990 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38991 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38992 $as_echo_n "(cached) " >&6
38997 ac_cpp='$CXXCPP $CPPFLAGS'
38998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39003 /* end confdefs.h. */
39005 #ifdef HAVE_IEEEFP_H
39006 #include <ieeefp.h>
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018 glibcxx_cv_func__qfpclass_use=yes
39020 glibcxx_cv_func__qfpclass_use=no
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39036 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39037 for ac_func in _qfpclass
39039 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39041 cat >>confdefs.h <<_ACEOF
39042 #define HAVE__QFPCLASS 1
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39056 $as_echo_n "checking for hypot declaration... " >&6; }
39057 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39058 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39059 $as_echo_n "(cached) " >&6
39064 ac_cpp='$CXXCPP $CPPFLAGS'
39065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39070 /* end confdefs.h. */
39080 if ac_fn_cxx_try_compile "$LINENO"; then :
39081 glibcxx_cv_func_hypot_use=yes
39083 glibcxx_cv_func_hypot_use=no
39085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39087 ac_cpp='$CPP $CPPFLAGS'
39088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39099 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39100 for ac_func in hypot
39102 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39103 if test "x$ac_cv_func_hypot" = x""yes; then :
39104 cat >>confdefs.h <<_ACEOF
39105 #define HAVE_HYPOT 1
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39114 $as_echo_n "checking for _hypot declaration... " >&6; }
39115 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39116 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39117 $as_echo_n "(cached) " >&6
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h. */
39138 if ac_fn_cxx_try_compile "$LINENO"; then :
39139 glibcxx_cv_func__hypot_use=yes
39141 glibcxx_cv_func__hypot_use=no
39143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39145 ac_cpp='$CPP $CPPFLAGS'
39146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39157 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39158 for ac_func in _hypot
39160 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39161 if test "x$ac_cv_func__hypot" = x""yes; then :
39162 cat >>confdefs.h <<_ACEOF
39163 #define HAVE__HYPOT 1
39176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39177 $as_echo_n "checking for float trig functions... " >&6; }
39178 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39179 $as_echo_n "(cached) " >&6
39184 ac_cpp='$CXXCPP $CPPFLAGS'
39185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39190 /* end confdefs.h. */
39195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39200 if ac_fn_cxx_try_compile "$LINENO"; then :
39201 glibcxx_cv_func_float_trig_use=yes
39203 glibcxx_cv_func_float_trig_use=no
39205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39207 ac_cpp='$CPP $CPPFLAGS'
39208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39216 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39217 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39221 eval as_val=\$$as_ac_var
39222 if test "x$as_val" = x""yes; then :
39223 cat >>confdefs.h <<_ACEOF
39224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39232 $as_echo_n "checking for _float trig functions... " >&6; }
39233 if test "${glibcxx_cv_func__float_trig_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. */
39250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39255 if ac_fn_cxx_try_compile "$LINENO"; then :
39256 glibcxx_cv_func__float_trig_use=yes
39258 glibcxx_cv_func__float_trig_use=no
39260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39262 ac_cpp='$CPP $CPPFLAGS'
39263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39271 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39276 eval as_val=\$$as_ac_var
39277 if test "x$as_val" = x""yes; then :
39278 cat >>confdefs.h <<_ACEOF
39279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39293 $as_echo_n "checking for float round functions... " >&6; }
39294 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39295 $as_echo_n "(cached) " >&6
39300 ac_cpp='$CXXCPP $CPPFLAGS'
39301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39306 /* end confdefs.h. */
39311 ceilf (0); floorf (0);
39316 if ac_fn_cxx_try_compile "$LINENO"; then :
39317 glibcxx_cv_func_float_round_use=yes
39319 glibcxx_cv_func_float_round_use=no
39321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39323 ac_cpp='$CPP $CPPFLAGS'
39324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39332 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39333 for ac_func in ceilf floorf
39335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39337 eval as_val=\$$as_ac_var
39338 if test "x$as_val" = x""yes; then :
39339 cat >>confdefs.h <<_ACEOF
39340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39348 $as_echo_n "checking for _float round functions... " >&6; }
39349 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39350 $as_echo_n "(cached) " >&6
39355 ac_cpp='$CXXCPP $CPPFLAGS'
39356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39361 /* end confdefs.h. */
39366 _ceilf (0); _floorf (0);
39371 if ac_fn_cxx_try_compile "$LINENO"; then :
39372 glibcxx_cv_func__float_round_use=yes
39374 glibcxx_cv_func__float_round_use=no
39376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39378 ac_cpp='$CPP $CPPFLAGS'
39379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39387 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39388 for ac_func in _ceilf _floorf
39390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39392 eval as_val=\$$as_ac_var
39393 if test "x$as_val" = x""yes; then :
39394 cat >>confdefs.h <<_ACEOF
39395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39410 $as_echo_n "checking for expf declaration... " >&6; }
39411 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39412 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39413 $as_echo_n "(cached) " >&6
39418 ac_cpp='$CXXCPP $CPPFLAGS'
39419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39424 /* end confdefs.h. */
39426 #ifdef HAVE_IEEEFP_H
39427 #include <ieeefp.h>
39438 if ac_fn_cxx_try_compile "$LINENO"; then :
39439 glibcxx_cv_func_expf_use=yes
39441 glibcxx_cv_func_expf_use=no
39443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39445 ac_cpp='$CPP $CPPFLAGS'
39446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39457 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39458 for ac_func in expf
39460 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39461 if test "x$ac_cv_func_expf" = x""yes; then :
39462 cat >>confdefs.h <<_ACEOF
39463 #define HAVE_EXPF 1
39471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39472 $as_echo_n "checking for _expf declaration... " >&6; }
39473 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39474 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39475 $as_echo_n "(cached) " >&6
39480 ac_cpp='$CXXCPP $CPPFLAGS'
39481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39486 /* end confdefs.h. */
39488 #ifdef HAVE_IEEEFP_H
39489 #include <ieeefp.h>
39500 if ac_fn_cxx_try_compile "$LINENO"; then :
39501 glibcxx_cv_func__expf_use=yes
39503 glibcxx_cv_func__expf_use=no
39505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39507 ac_cpp='$CPP $CPPFLAGS'
39508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39519 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39520 for ac_func in _expf
39522 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39523 if test "x$ac_cv_func__expf" = x""yes; then :
39524 cat >>confdefs.h <<_ACEOF
39525 #define HAVE__EXPF 1
39538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39539 $as_echo_n "checking for isnanf declaration... " >&6; }
39540 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39541 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39542 $as_echo_n "(cached) " >&6
39547 ac_cpp='$CXXCPP $CPPFLAGS'
39548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39553 /* end confdefs.h. */
39555 #ifdef HAVE_IEEEFP_H
39556 #include <ieeefp.h>
39567 if ac_fn_cxx_try_compile "$LINENO"; then :
39568 glibcxx_cv_func_isnanf_use=yes
39570 glibcxx_cv_func_isnanf_use=no
39572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39574 ac_cpp='$CPP $CPPFLAGS'
39575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39586 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39587 for ac_func in isnanf
39589 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39590 if test "x$ac_cv_func_isnanf" = x""yes; then :
39591 cat >>confdefs.h <<_ACEOF
39592 #define HAVE_ISNANF 1
39600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39601 $as_echo_n "checking for _isnanf declaration... " >&6; }
39602 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39603 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39604 $as_echo_n "(cached) " >&6
39609 ac_cpp='$CXXCPP $CPPFLAGS'
39610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39615 /* end confdefs.h. */
39617 #ifdef HAVE_IEEEFP_H
39618 #include <ieeefp.h>
39629 if ac_fn_cxx_try_compile "$LINENO"; then :
39630 glibcxx_cv_func__isnanf_use=yes
39632 glibcxx_cv_func__isnanf_use=no
39634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39636 ac_cpp='$CPP $CPPFLAGS'
39637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39648 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39649 for ac_func in _isnanf
39651 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39652 if test "x$ac_cv_func__isnanf" = x""yes; then :
39653 cat >>confdefs.h <<_ACEOF
39654 #define HAVE__ISNANF 1
39667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39668 $as_echo_n "checking for isinff declaration... " >&6; }
39669 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39670 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39671 $as_echo_n "(cached) " >&6
39676 ac_cpp='$CXXCPP $CPPFLAGS'
39677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39682 /* end confdefs.h. */
39684 #ifdef HAVE_IEEEFP_H
39685 #include <ieeefp.h>
39696 if ac_fn_cxx_try_compile "$LINENO"; then :
39697 glibcxx_cv_func_isinff_use=yes
39699 glibcxx_cv_func_isinff_use=no
39701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39703 ac_cpp='$CPP $CPPFLAGS'
39704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39715 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39716 for ac_func in isinff
39718 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39719 if test "x$ac_cv_func_isinff" = x""yes; then :
39720 cat >>confdefs.h <<_ACEOF
39721 #define HAVE_ISINFF 1
39729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39730 $as_echo_n "checking for _isinff declaration... " >&6; }
39731 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39732 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39733 $as_echo_n "(cached) " >&6
39738 ac_cpp='$CXXCPP $CPPFLAGS'
39739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39744 /* end confdefs.h. */
39746 #ifdef HAVE_IEEEFP_H
39747 #include <ieeefp.h>
39758 if ac_fn_cxx_try_compile "$LINENO"; then :
39759 glibcxx_cv_func__isinff_use=yes
39761 glibcxx_cv_func__isinff_use=no
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39765 ac_cpp='$CPP $CPPFLAGS'
39766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39777 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39778 for ac_func in _isinff
39780 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39781 if test "x$ac_cv_func__isinff" = x""yes; then :
39782 cat >>confdefs.h <<_ACEOF
39783 #define HAVE__ISINFF 1
39796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39797 $as_echo_n "checking for atan2f declaration... " >&6; }
39798 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39799 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39800 $as_echo_n "(cached) " >&6
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 /* end confdefs.h. */
39821 if ac_fn_cxx_try_compile "$LINENO"; then :
39822 glibcxx_cv_func_atan2f_use=yes
39824 glibcxx_cv_func_atan2f_use=no
39826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39828 ac_cpp='$CPP $CPPFLAGS'
39829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39840 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39841 for ac_func in atan2f
39843 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39844 if test "x$ac_cv_func_atan2f" = x""yes; then :
39845 cat >>confdefs.h <<_ACEOF
39846 #define HAVE_ATAN2F 1
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39855 $as_echo_n "checking for _atan2f declaration... " >&6; }
39856 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39857 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39858 $as_echo_n "(cached) " >&6
39863 ac_cpp='$CXXCPP $CPPFLAGS'
39864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39869 /* end confdefs.h. */
39879 if ac_fn_cxx_try_compile "$LINENO"; then :
39880 glibcxx_cv_func__atan2f_use=yes
39882 glibcxx_cv_func__atan2f_use=no
39884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39886 ac_cpp='$CPP $CPPFLAGS'
39887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39898 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39899 for ac_func in _atan2f
39901 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39902 if test "x$ac_cv_func__atan2f" = x""yes; then :
39903 cat >>confdefs.h <<_ACEOF
39904 #define HAVE__ATAN2F 1
39917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39918 $as_echo_n "checking for fabsf declaration... " >&6; }
39919 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39920 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39921 $as_echo_n "(cached) " >&6
39926 ac_cpp='$CXXCPP $CPPFLAGS'
39927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39932 /* end confdefs.h. */
39934 #ifdef HAVE_IEEEFP_H
39935 #include <ieeefp.h>
39946 if ac_fn_cxx_try_compile "$LINENO"; then :
39947 glibcxx_cv_func_fabsf_use=yes
39949 glibcxx_cv_func_fabsf_use=no
39951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39953 ac_cpp='$CPP $CPPFLAGS'
39954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39965 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39966 for ac_func in fabsf
39968 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39969 if test "x$ac_cv_func_fabsf" = x""yes; then :
39970 cat >>confdefs.h <<_ACEOF
39971 #define HAVE_FABSF 1
39979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39980 $as_echo_n "checking for _fabsf declaration... " >&6; }
39981 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39982 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39983 $as_echo_n "(cached) " >&6
39988 ac_cpp='$CXXCPP $CPPFLAGS'
39989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39994 /* end confdefs.h. */
39996 #ifdef HAVE_IEEEFP_H
39997 #include <ieeefp.h>
40008 if ac_fn_cxx_try_compile "$LINENO"; then :
40009 glibcxx_cv_func__fabsf_use=yes
40011 glibcxx_cv_func__fabsf_use=no
40013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40015 ac_cpp='$CPP $CPPFLAGS'
40016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40027 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40028 for ac_func in _fabsf
40030 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40031 if test "x$ac_cv_func__fabsf" = x""yes; then :
40032 cat >>confdefs.h <<_ACEOF
40033 #define HAVE__FABSF 1
40046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40047 $as_echo_n "checking for fmodf declaration... " >&6; }
40048 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40049 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40050 $as_echo_n "(cached) " >&6
40055 ac_cpp='$CXXCPP $CPPFLAGS'
40056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40061 /* end confdefs.h. */
40071 if ac_fn_cxx_try_compile "$LINENO"; then :
40072 glibcxx_cv_func_fmodf_use=yes
40074 glibcxx_cv_func_fmodf_use=no
40076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40078 ac_cpp='$CPP $CPPFLAGS'
40079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40090 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40091 for ac_func in fmodf
40093 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40094 if test "x$ac_cv_func_fmodf" = x""yes; then :
40095 cat >>confdefs.h <<_ACEOF
40096 #define HAVE_FMODF 1
40104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40105 $as_echo_n "checking for _fmodf declaration... " >&6; }
40106 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40107 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40108 $as_echo_n "(cached) " >&6
40113 ac_cpp='$CXXCPP $CPPFLAGS'
40114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40119 /* end confdefs.h. */
40129 if ac_fn_cxx_try_compile "$LINENO"; then :
40130 glibcxx_cv_func__fmodf_use=yes
40132 glibcxx_cv_func__fmodf_use=no
40134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40136 ac_cpp='$CPP $CPPFLAGS'
40137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40148 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40149 for ac_func in _fmodf
40151 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40152 if test "x$ac_cv_func__fmodf" = x""yes; then :
40153 cat >>confdefs.h <<_ACEOF
40154 #define HAVE__FMODF 1
40167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40168 $as_echo_n "checking for frexpf declaration... " >&6; }
40169 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40170 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40171 $as_echo_n "(cached) " >&6
40176 ac_cpp='$CXXCPP $CPPFLAGS'
40177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40182 /* end confdefs.h. */
40192 if ac_fn_cxx_try_compile "$LINENO"; then :
40193 glibcxx_cv_func_frexpf_use=yes
40195 glibcxx_cv_func_frexpf_use=no
40197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40199 ac_cpp='$CPP $CPPFLAGS'
40200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40211 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40212 for ac_func in frexpf
40214 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40215 if test "x$ac_cv_func_frexpf" = x""yes; then :
40216 cat >>confdefs.h <<_ACEOF
40217 #define HAVE_FREXPF 1
40225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40226 $as_echo_n "checking for _frexpf declaration... " >&6; }
40227 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40228 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40229 $as_echo_n "(cached) " >&6
40234 ac_cpp='$CXXCPP $CPPFLAGS'
40235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40240 /* end confdefs.h. */
40250 if ac_fn_cxx_try_compile "$LINENO"; then :
40251 glibcxx_cv_func__frexpf_use=yes
40253 glibcxx_cv_func__frexpf_use=no
40255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257 ac_cpp='$CPP $CPPFLAGS'
40258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40269 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40270 for ac_func in _frexpf
40272 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40273 if test "x$ac_cv_func__frexpf" = x""yes; then :
40274 cat >>confdefs.h <<_ACEOF
40275 #define HAVE__FREXPF 1
40288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40289 $as_echo_n "checking for hypotf declaration... " >&6; }
40290 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40291 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40292 $as_echo_n "(cached) " >&6
40297 ac_cpp='$CXXCPP $CPPFLAGS'
40298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40303 /* end confdefs.h. */
40313 if ac_fn_cxx_try_compile "$LINENO"; then :
40314 glibcxx_cv_func_hypotf_use=yes
40316 glibcxx_cv_func_hypotf_use=no
40318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40320 ac_cpp='$CPP $CPPFLAGS'
40321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40332 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40333 for ac_func in hypotf
40335 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40336 if test "x$ac_cv_func_hypotf" = x""yes; then :
40337 cat >>confdefs.h <<_ACEOF
40338 #define HAVE_HYPOTF 1
40346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40347 $as_echo_n "checking for _hypotf declaration... " >&6; }
40348 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40349 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40350 $as_echo_n "(cached) " >&6
40355 ac_cpp='$CXXCPP $CPPFLAGS'
40356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40361 /* end confdefs.h. */
40371 if ac_fn_cxx_try_compile "$LINENO"; then :
40372 glibcxx_cv_func__hypotf_use=yes
40374 glibcxx_cv_func__hypotf_use=no
40376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40378 ac_cpp='$CPP $CPPFLAGS'
40379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40390 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40391 for ac_func in _hypotf
40393 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40394 if test "x$ac_cv_func__hypotf" = x""yes; then :
40395 cat >>confdefs.h <<_ACEOF
40396 #define HAVE__HYPOTF 1
40409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40410 $as_echo_n "checking for ldexpf declaration... " >&6; }
40411 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40412 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40413 $as_echo_n "(cached) " >&6
40418 ac_cpp='$CXXCPP $CPPFLAGS'
40419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40424 /* end confdefs.h. */
40434 if ac_fn_cxx_try_compile "$LINENO"; then :
40435 glibcxx_cv_func_ldexpf_use=yes
40437 glibcxx_cv_func_ldexpf_use=no
40439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40441 ac_cpp='$CPP $CPPFLAGS'
40442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40453 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40454 for ac_func in ldexpf
40456 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40458 cat >>confdefs.h <<_ACEOF
40459 #define HAVE_LDEXPF 1
40467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40469 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40470 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40471 $as_echo_n "(cached) " >&6
40476 ac_cpp='$CXXCPP $CPPFLAGS'
40477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40482 /* end confdefs.h. */
40492 if ac_fn_cxx_try_compile "$LINENO"; then :
40493 glibcxx_cv_func__ldexpf_use=yes
40495 glibcxx_cv_func__ldexpf_use=no
40497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40499 ac_cpp='$CPP $CPPFLAGS'
40500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40511 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40512 for ac_func in _ldexpf
40514 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40516 cat >>confdefs.h <<_ACEOF
40517 #define HAVE__LDEXPF 1
40530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40531 $as_echo_n "checking for logf declaration... " >&6; }
40532 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40533 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40534 $as_echo_n "(cached) " >&6
40539 ac_cpp='$CXXCPP $CPPFLAGS'
40540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40545 /* end confdefs.h. */
40547 #ifdef HAVE_IEEEFP_H
40548 #include <ieeefp.h>
40559 if ac_fn_cxx_try_compile "$LINENO"; then :
40560 glibcxx_cv_func_logf_use=yes
40562 glibcxx_cv_func_logf_use=no
40564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40566 ac_cpp='$CPP $CPPFLAGS'
40567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40578 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40579 for ac_func in logf
40581 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40582 if test "x$ac_cv_func_logf" = x""yes; then :
40583 cat >>confdefs.h <<_ACEOF
40584 #define HAVE_LOGF 1
40592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40593 $as_echo_n "checking for _logf declaration... " >&6; }
40594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40595 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40596 $as_echo_n "(cached) " >&6
40601 ac_cpp='$CXXCPP $CPPFLAGS'
40602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40607 /* end confdefs.h. */
40609 #ifdef HAVE_IEEEFP_H
40610 #include <ieeefp.h>
40621 if ac_fn_cxx_try_compile "$LINENO"; then :
40622 glibcxx_cv_func__logf_use=yes
40624 glibcxx_cv_func__logf_use=no
40626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40628 ac_cpp='$CPP $CPPFLAGS'
40629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40640 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40641 for ac_func in _logf
40643 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40644 if test "x$ac_cv_func__logf" = x""yes; then :
40645 cat >>confdefs.h <<_ACEOF
40646 #define HAVE__LOGF 1
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40660 $as_echo_n "checking for log10f declaration... " >&6; }
40661 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40662 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40663 $as_echo_n "(cached) " >&6
40668 ac_cpp='$CXXCPP $CPPFLAGS'
40669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40674 /* end confdefs.h. */
40676 #ifdef HAVE_IEEEFP_H
40677 #include <ieeefp.h>
40688 if ac_fn_cxx_try_compile "$LINENO"; then :
40689 glibcxx_cv_func_log10f_use=yes
40691 glibcxx_cv_func_log10f_use=no
40693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40695 ac_cpp='$CPP $CPPFLAGS'
40696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40707 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40708 for ac_func in log10f
40710 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40711 if test "x$ac_cv_func_log10f" = x""yes; then :
40712 cat >>confdefs.h <<_ACEOF
40713 #define HAVE_LOG10F 1
40721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40722 $as_echo_n "checking for _log10f declaration... " >&6; }
40723 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40724 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40725 $as_echo_n "(cached) " >&6
40730 ac_cpp='$CXXCPP $CPPFLAGS'
40731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40736 /* end confdefs.h. */
40738 #ifdef HAVE_IEEEFP_H
40739 #include <ieeefp.h>
40750 if ac_fn_cxx_try_compile "$LINENO"; then :
40751 glibcxx_cv_func__log10f_use=yes
40753 glibcxx_cv_func__log10f_use=no
40755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40757 ac_cpp='$CPP $CPPFLAGS'
40758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40769 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40770 for ac_func in _log10f
40772 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40773 if test "x$ac_cv_func__log10f" = x""yes; then :
40774 cat >>confdefs.h <<_ACEOF
40775 #define HAVE__LOG10F 1
40788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40789 $as_echo_n "checking for modff declaration... " >&6; }
40790 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40791 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40792 $as_echo_n "(cached) " >&6
40797 ac_cpp='$CXXCPP $CPPFLAGS'
40798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40803 /* end confdefs.h. */
40813 if ac_fn_cxx_try_compile "$LINENO"; then :
40814 glibcxx_cv_func_modff_use=yes
40816 glibcxx_cv_func_modff_use=no
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40820 ac_cpp='$CPP $CPPFLAGS'
40821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40832 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40833 for ac_func in modff
40835 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40836 if test "x$ac_cv_func_modff" = x""yes; then :
40837 cat >>confdefs.h <<_ACEOF
40838 #define HAVE_MODFF 1
40846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40847 $as_echo_n "checking for _modff declaration... " >&6; }
40848 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40849 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40850 $as_echo_n "(cached) " >&6
40855 ac_cpp='$CXXCPP $CPPFLAGS'
40856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40861 /* end confdefs.h. */
40871 if ac_fn_cxx_try_compile "$LINENO"; then :
40872 glibcxx_cv_func__modff_use=yes
40874 glibcxx_cv_func__modff_use=no
40876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40878 ac_cpp='$CPP $CPPFLAGS'
40879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40890 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40891 for ac_func in _modff
40893 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40894 if test "x$ac_cv_func__modff" = x""yes; then :
40895 cat >>confdefs.h <<_ACEOF
40896 #define HAVE__MODFF 1
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40910 $as_echo_n "checking for modf declaration... " >&6; }
40911 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40912 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40913 $as_echo_n "(cached) " >&6
40918 ac_cpp='$CXXCPP $CPPFLAGS'
40919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40924 /* end confdefs.h. */
40934 if ac_fn_cxx_try_compile "$LINENO"; then :
40935 glibcxx_cv_func_modf_use=yes
40937 glibcxx_cv_func_modf_use=no
40939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40941 ac_cpp='$CPP $CPPFLAGS'
40942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40953 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40954 for ac_func in modf
40956 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40957 if test "x$ac_cv_func_modf" = x""yes; then :
40958 cat >>confdefs.h <<_ACEOF
40959 #define HAVE_MODF 1
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40968 $as_echo_n "checking for _modf declaration... " >&6; }
40969 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40970 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40971 $as_echo_n "(cached) " >&6
40976 ac_cpp='$CXXCPP $CPPFLAGS'
40977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40982 /* end confdefs.h. */
40992 if ac_fn_cxx_try_compile "$LINENO"; then :
40993 glibcxx_cv_func__modf_use=yes
40995 glibcxx_cv_func__modf_use=no
40997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40999 ac_cpp='$CPP $CPPFLAGS'
41000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41011 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41012 for ac_func in _modf
41014 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41015 if test "x$ac_cv_func__modf" = x""yes; then :
41016 cat >>confdefs.h <<_ACEOF
41017 #define HAVE__MODF 1
41030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41031 $as_echo_n "checking for powf declaration... " >&6; }
41032 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41033 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41034 $as_echo_n "(cached) " >&6
41039 ac_cpp='$CXXCPP $CPPFLAGS'
41040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41045 /* end confdefs.h. */
41055 if ac_fn_cxx_try_compile "$LINENO"; then :
41056 glibcxx_cv_func_powf_use=yes
41058 glibcxx_cv_func_powf_use=no
41060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41062 ac_cpp='$CPP $CPPFLAGS'
41063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41074 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41075 for ac_func in powf
41077 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41078 if test "x$ac_cv_func_powf" = x""yes; then :
41079 cat >>confdefs.h <<_ACEOF
41080 #define HAVE_POWF 1
41088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41089 $as_echo_n "checking for _powf declaration... " >&6; }
41090 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41091 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41092 $as_echo_n "(cached) " >&6
41097 ac_cpp='$CXXCPP $CPPFLAGS'
41098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41103 /* end confdefs.h. */
41113 if ac_fn_cxx_try_compile "$LINENO"; then :
41114 glibcxx_cv_func__powf_use=yes
41116 glibcxx_cv_func__powf_use=no
41118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41120 ac_cpp='$CPP $CPPFLAGS'
41121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41132 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41133 for ac_func in _powf
41135 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41136 if test "x$ac_cv_func__powf" = x""yes; then :
41137 cat >>confdefs.h <<_ACEOF
41138 #define HAVE__POWF 1
41151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41152 $as_echo_n "checking for sqrtf declaration... " >&6; }
41153 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41154 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41155 $as_echo_n "(cached) " >&6
41160 ac_cpp='$CXXCPP $CPPFLAGS'
41161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41166 /* end confdefs.h. */
41168 #ifdef HAVE_IEEEFP_H
41169 #include <ieeefp.h>
41180 if ac_fn_cxx_try_compile "$LINENO"; then :
41181 glibcxx_cv_func_sqrtf_use=yes
41183 glibcxx_cv_func_sqrtf_use=no
41185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41187 ac_cpp='$CPP $CPPFLAGS'
41188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41199 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41200 for ac_func in sqrtf
41202 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41204 cat >>confdefs.h <<_ACEOF
41205 #define HAVE_SQRTF 1
41213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41215 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41216 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41217 $as_echo_n "(cached) " >&6
41222 ac_cpp='$CXXCPP $CPPFLAGS'
41223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41228 /* end confdefs.h. */
41230 #ifdef HAVE_IEEEFP_H
41231 #include <ieeefp.h>
41242 if ac_fn_cxx_try_compile "$LINENO"; then :
41243 glibcxx_cv_func__sqrtf_use=yes
41245 glibcxx_cv_func__sqrtf_use=no
41247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41249 ac_cpp='$CPP $CPPFLAGS'
41250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41261 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41262 for ac_func in _sqrtf
41264 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41266 cat >>confdefs.h <<_ACEOF
41267 #define HAVE__SQRTF 1
41280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41281 $as_echo_n "checking for sincosf declaration... " >&6; }
41282 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41283 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41284 $as_echo_n "(cached) " >&6
41289 ac_cpp='$CXXCPP $CPPFLAGS'
41290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41295 /* end confdefs.h. */
41305 if ac_fn_cxx_try_compile "$LINENO"; then :
41306 glibcxx_cv_func_sincosf_use=yes
41308 glibcxx_cv_func_sincosf_use=no
41310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41312 ac_cpp='$CPP $CPPFLAGS'
41313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41324 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41325 for ac_func in sincosf
41327 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41328 if test "x$ac_cv_func_sincosf" = x""yes; then :
41329 cat >>confdefs.h <<_ACEOF
41330 #define HAVE_SINCOSF 1
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41339 $as_echo_n "checking for _sincosf declaration... " >&6; }
41340 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41341 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41342 $as_echo_n "(cached) " >&6
41347 ac_cpp='$CXXCPP $CPPFLAGS'
41348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41353 /* end confdefs.h. */
41363 if ac_fn_cxx_try_compile "$LINENO"; then :
41364 glibcxx_cv_func__sincosf_use=yes
41366 glibcxx_cv_func__sincosf_use=no
41368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41370 ac_cpp='$CPP $CPPFLAGS'
41371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41382 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41383 for ac_func in _sincosf
41385 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41386 if test "x$ac_cv_func__sincosf" = x""yes; then :
41387 cat >>confdefs.h <<_ACEOF
41388 #define HAVE__SINCOSF 1
41401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41402 $as_echo_n "checking for finitef declaration... " >&6; }
41403 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41404 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41405 $as_echo_n "(cached) " >&6
41410 ac_cpp='$CXXCPP $CPPFLAGS'
41411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41416 /* end confdefs.h. */
41418 #ifdef HAVE_IEEEFP_H
41419 #include <ieeefp.h>
41430 if ac_fn_cxx_try_compile "$LINENO"; then :
41431 glibcxx_cv_func_finitef_use=yes
41433 glibcxx_cv_func_finitef_use=no
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41437 ac_cpp='$CPP $CPPFLAGS'
41438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41450 for ac_func in finitef
41452 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41453 if test "x$ac_cv_func_finitef" = x""yes; then :
41454 cat >>confdefs.h <<_ACEOF
41455 #define HAVE_FINITEF 1
41463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41464 $as_echo_n "checking for _finitef declaration... " >&6; }
41465 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41466 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41467 $as_echo_n "(cached) " >&6
41472 ac_cpp='$CXXCPP $CPPFLAGS'
41473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41478 /* end confdefs.h. */
41480 #ifdef HAVE_IEEEFP_H
41481 #include <ieeefp.h>
41492 if ac_fn_cxx_try_compile "$LINENO"; then :
41493 glibcxx_cv_func__finitef_use=yes
41495 glibcxx_cv_func__finitef_use=no
41497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41499 ac_cpp='$CPP $CPPFLAGS'
41500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41511 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41512 for ac_func in _finitef
41514 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41515 if test "x$ac_cv_func__finitef" = x""yes; then :
41516 cat >>confdefs.h <<_ACEOF
41517 #define HAVE__FINITEF 1
41530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41531 $as_echo_n "checking for long double trig functions... " >&6; }
41532 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41533 $as_echo_n "(cached) " >&6
41538 ac_cpp='$CXXCPP $CPPFLAGS'
41539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41544 /* end confdefs.h. */
41549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41554 if ac_fn_cxx_try_compile "$LINENO"; then :
41555 glibcxx_cv_func_long_double_trig_use=yes
41557 glibcxx_cv_func_long_double_trig_use=no
41559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41561 ac_cpp='$CPP $CPPFLAGS'
41562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41570 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41571 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41575 eval as_val=\$$as_ac_var
41576 if test "x$as_val" = x""yes; then :
41577 cat >>confdefs.h <<_ACEOF
41578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41586 $as_echo_n "checking for _long double trig functions... " >&6; }
41587 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41588 $as_echo_n "(cached) " >&6
41593 ac_cpp='$CXXCPP $CPPFLAGS'
41594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41599 /* end confdefs.h. */
41604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41609 if ac_fn_cxx_try_compile "$LINENO"; then :
41610 glibcxx_cv_func__long_double_trig_use=yes
41612 glibcxx_cv_func__long_double_trig_use=no
41614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41616 ac_cpp='$CPP $CPPFLAGS'
41617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41625 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41626 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41630 eval as_val=\$$as_ac_var
41631 if test "x$as_val" = x""yes; then :
41632 cat >>confdefs.h <<_ACEOF
41633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41647 $as_echo_n "checking for long double round functions... " >&6; }
41648 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41649 $as_echo_n "(cached) " >&6
41654 ac_cpp='$CXXCPP $CPPFLAGS'
41655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41660 /* end confdefs.h. */
41665 ceill (0); floorl (0);
41670 if ac_fn_cxx_try_compile "$LINENO"; then :
41671 glibcxx_cv_func_long_double_round_use=yes
41673 glibcxx_cv_func_long_double_round_use=no
41675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41677 ac_cpp='$CPP $CPPFLAGS'
41678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41686 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41687 for ac_func in ceill floorl
41689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41691 eval as_val=\$$as_ac_var
41692 if test "x$as_val" = x""yes; then :
41693 cat >>confdefs.h <<_ACEOF
41694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41702 $as_echo_n "checking for _long double round functions... " >&6; }
41703 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41704 $as_echo_n "(cached) " >&6
41709 ac_cpp='$CXXCPP $CPPFLAGS'
41710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41715 /* end confdefs.h. */
41720 _ceill (0); _floorl (0);
41725 if ac_fn_cxx_try_compile "$LINENO"; then :
41726 glibcxx_cv_func__long_double_round_use=yes
41728 glibcxx_cv_func__long_double_round_use=no
41730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41732 ac_cpp='$CPP $CPPFLAGS'
41733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41741 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41742 for ac_func in _ceill _floorl
41744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41746 eval as_val=\$$as_ac_var
41747 if test "x$as_val" = x""yes; then :
41748 cat >>confdefs.h <<_ACEOF
41749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41764 $as_echo_n "checking for isnanl declaration... " >&6; }
41765 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41766 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41767 $as_echo_n "(cached) " >&6
41772 ac_cpp='$CXXCPP $CPPFLAGS'
41773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41778 /* end confdefs.h. */
41780 #ifdef HAVE_IEEEFP_H
41781 #include <ieeefp.h>
41792 if ac_fn_cxx_try_compile "$LINENO"; then :
41793 glibcxx_cv_func_isnanl_use=yes
41795 glibcxx_cv_func_isnanl_use=no
41797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41811 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41812 for ac_func in isnanl
41814 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41815 if test "x$ac_cv_func_isnanl" = x""yes; then :
41816 cat >>confdefs.h <<_ACEOF
41817 #define HAVE_ISNANL 1
41825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41826 $as_echo_n "checking for _isnanl declaration... " >&6; }
41827 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41828 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41829 $as_echo_n "(cached) " >&6
41834 ac_cpp='$CXXCPP $CPPFLAGS'
41835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41840 /* end confdefs.h. */
41842 #ifdef HAVE_IEEEFP_H
41843 #include <ieeefp.h>
41854 if ac_fn_cxx_try_compile "$LINENO"; then :
41855 glibcxx_cv_func__isnanl_use=yes
41857 glibcxx_cv_func__isnanl_use=no
41859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41861 ac_cpp='$CPP $CPPFLAGS'
41862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41873 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41874 for ac_func in _isnanl
41876 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41877 if test "x$ac_cv_func__isnanl" = x""yes; then :
41878 cat >>confdefs.h <<_ACEOF
41879 #define HAVE__ISNANL 1
41892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41893 $as_echo_n "checking for isinfl declaration... " >&6; }
41894 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41895 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41896 $as_echo_n "(cached) " >&6
41901 ac_cpp='$CXXCPP $CPPFLAGS'
41902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41907 /* end confdefs.h. */
41909 #ifdef HAVE_IEEEFP_H
41910 #include <ieeefp.h>
41921 if ac_fn_cxx_try_compile "$LINENO"; then :
41922 glibcxx_cv_func_isinfl_use=yes
41924 glibcxx_cv_func_isinfl_use=no
41926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41928 ac_cpp='$CPP $CPPFLAGS'
41929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41940 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41941 for ac_func in isinfl
41943 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41944 if test "x$ac_cv_func_isinfl" = x""yes; then :
41945 cat >>confdefs.h <<_ACEOF
41946 #define HAVE_ISINFL 1
41954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41955 $as_echo_n "checking for _isinfl declaration... " >&6; }
41956 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41957 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41958 $as_echo_n "(cached) " >&6
41963 ac_cpp='$CXXCPP $CPPFLAGS'
41964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41969 /* end confdefs.h. */
41971 #ifdef HAVE_IEEEFP_H
41972 #include <ieeefp.h>
41983 if ac_fn_cxx_try_compile "$LINENO"; then :
41984 glibcxx_cv_func__isinfl_use=yes
41986 glibcxx_cv_func__isinfl_use=no
41988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41990 ac_cpp='$CPP $CPPFLAGS'
41991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42002 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42003 for ac_func in _isinfl
42005 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42006 if test "x$ac_cv_func__isinfl" = x""yes; then :
42007 cat >>confdefs.h <<_ACEOF
42008 #define HAVE__ISINFL 1
42021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42022 $as_echo_n "checking for atan2l declaration... " >&6; }
42023 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42024 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42025 $as_echo_n "(cached) " >&6
42030 ac_cpp='$CXXCPP $CPPFLAGS'
42031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42036 /* end confdefs.h. */
42046 if ac_fn_cxx_try_compile "$LINENO"; then :
42047 glibcxx_cv_func_atan2l_use=yes
42049 glibcxx_cv_func_atan2l_use=no
42051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42053 ac_cpp='$CPP $CPPFLAGS'
42054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42065 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42066 for ac_func in atan2l
42068 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42069 if test "x$ac_cv_func_atan2l" = x""yes; then :
42070 cat >>confdefs.h <<_ACEOF
42071 #define HAVE_ATAN2L 1
42079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42080 $as_echo_n "checking for _atan2l declaration... " >&6; }
42081 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42082 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42083 $as_echo_n "(cached) " >&6
42088 ac_cpp='$CXXCPP $CPPFLAGS'
42089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42094 /* end confdefs.h. */
42104 if ac_fn_cxx_try_compile "$LINENO"; then :
42105 glibcxx_cv_func__atan2l_use=yes
42107 glibcxx_cv_func__atan2l_use=no
42109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42111 ac_cpp='$CPP $CPPFLAGS'
42112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42123 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42124 for ac_func in _atan2l
42126 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42127 if test "x$ac_cv_func__atan2l" = x""yes; then :
42128 cat >>confdefs.h <<_ACEOF
42129 #define HAVE__ATAN2L 1
42142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42143 $as_echo_n "checking for expl declaration... " >&6; }
42144 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42145 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42146 $as_echo_n "(cached) " >&6
42151 ac_cpp='$CXXCPP $CPPFLAGS'
42152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42157 /* end confdefs.h. */
42159 #ifdef HAVE_IEEEFP_H
42160 #include <ieeefp.h>
42171 if ac_fn_cxx_try_compile "$LINENO"; then :
42172 glibcxx_cv_func_expl_use=yes
42174 glibcxx_cv_func_expl_use=no
42176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42178 ac_cpp='$CPP $CPPFLAGS'
42179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42190 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42191 for ac_func in expl
42193 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42194 if test "x$ac_cv_func_expl" = x""yes; then :
42195 cat >>confdefs.h <<_ACEOF
42196 #define HAVE_EXPL 1
42204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42205 $as_echo_n "checking for _expl declaration... " >&6; }
42206 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42207 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42208 $as_echo_n "(cached) " >&6
42213 ac_cpp='$CXXCPP $CPPFLAGS'
42214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42219 /* end confdefs.h. */
42221 #ifdef HAVE_IEEEFP_H
42222 #include <ieeefp.h>
42233 if ac_fn_cxx_try_compile "$LINENO"; then :
42234 glibcxx_cv_func__expl_use=yes
42236 glibcxx_cv_func__expl_use=no
42238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42240 ac_cpp='$CPP $CPPFLAGS'
42241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42252 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42253 for ac_func in _expl
42255 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42256 if test "x$ac_cv_func__expl" = x""yes; then :
42257 cat >>confdefs.h <<_ACEOF
42258 #define HAVE__EXPL 1
42271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42272 $as_echo_n "checking for fabsl declaration... " >&6; }
42273 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42274 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42275 $as_echo_n "(cached) " >&6
42280 ac_cpp='$CXXCPP $CPPFLAGS'
42281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42286 /* end confdefs.h. */
42288 #ifdef HAVE_IEEEFP_H
42289 #include <ieeefp.h>
42300 if ac_fn_cxx_try_compile "$LINENO"; then :
42301 glibcxx_cv_func_fabsl_use=yes
42303 glibcxx_cv_func_fabsl_use=no
42305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42307 ac_cpp='$CPP $CPPFLAGS'
42308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42319 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42320 for ac_func in fabsl
42322 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42323 if test "x$ac_cv_func_fabsl" = x""yes; then :
42324 cat >>confdefs.h <<_ACEOF
42325 #define HAVE_FABSL 1
42333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42334 $as_echo_n "checking for _fabsl declaration... " >&6; }
42335 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42336 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42337 $as_echo_n "(cached) " >&6
42342 ac_cpp='$CXXCPP $CPPFLAGS'
42343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42348 /* end confdefs.h. */
42350 #ifdef HAVE_IEEEFP_H
42351 #include <ieeefp.h>
42362 if ac_fn_cxx_try_compile "$LINENO"; then :
42363 glibcxx_cv_func__fabsl_use=yes
42365 glibcxx_cv_func__fabsl_use=no
42367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42369 ac_cpp='$CPP $CPPFLAGS'
42370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42381 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42382 for ac_func in _fabsl
42384 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42385 if test "x$ac_cv_func__fabsl" = x""yes; then :
42386 cat >>confdefs.h <<_ACEOF
42387 #define HAVE__FABSL 1
42400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42401 $as_echo_n "checking for fmodl declaration... " >&6; }
42402 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42403 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42404 $as_echo_n "(cached) " >&6
42409 ac_cpp='$CXXCPP $CPPFLAGS'
42410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42415 /* end confdefs.h. */
42425 if ac_fn_cxx_try_compile "$LINENO"; then :
42426 glibcxx_cv_func_fmodl_use=yes
42428 glibcxx_cv_func_fmodl_use=no
42430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432 ac_cpp='$CPP $CPPFLAGS'
42433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42444 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42445 for ac_func in fmodl
42447 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42448 if test "x$ac_cv_func_fmodl" = x""yes; then :
42449 cat >>confdefs.h <<_ACEOF
42450 #define HAVE_FMODL 1
42458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42459 $as_echo_n "checking for _fmodl declaration... " >&6; }
42460 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42461 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42462 $as_echo_n "(cached) " >&6
42467 ac_cpp='$CXXCPP $CPPFLAGS'
42468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42473 /* end confdefs.h. */
42483 if ac_fn_cxx_try_compile "$LINENO"; then :
42484 glibcxx_cv_func__fmodl_use=yes
42486 glibcxx_cv_func__fmodl_use=no
42488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42490 ac_cpp='$CPP $CPPFLAGS'
42491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42502 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42503 for ac_func in _fmodl
42505 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42506 if test "x$ac_cv_func__fmodl" = x""yes; then :
42507 cat >>confdefs.h <<_ACEOF
42508 #define HAVE__FMODL 1
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42522 $as_echo_n "checking for frexpl declaration... " >&6; }
42523 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42524 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42525 $as_echo_n "(cached) " >&6
42530 ac_cpp='$CXXCPP $CPPFLAGS'
42531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42536 /* end confdefs.h. */
42546 if ac_fn_cxx_try_compile "$LINENO"; then :
42547 glibcxx_cv_func_frexpl_use=yes
42549 glibcxx_cv_func_frexpl_use=no
42551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42565 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42566 for ac_func in frexpl
42568 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42569 if test "x$ac_cv_func_frexpl" = x""yes; then :
42570 cat >>confdefs.h <<_ACEOF
42571 #define HAVE_FREXPL 1
42579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42580 $as_echo_n "checking for _frexpl declaration... " >&6; }
42581 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42582 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42583 $as_echo_n "(cached) " >&6
42588 ac_cpp='$CXXCPP $CPPFLAGS'
42589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42594 /* end confdefs.h. */
42604 if ac_fn_cxx_try_compile "$LINENO"; then :
42605 glibcxx_cv_func__frexpl_use=yes
42607 glibcxx_cv_func__frexpl_use=no
42609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42611 ac_cpp='$CPP $CPPFLAGS'
42612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42623 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42624 for ac_func in _frexpl
42626 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42627 if test "x$ac_cv_func__frexpl" = x""yes; then :
42628 cat >>confdefs.h <<_ACEOF
42629 #define HAVE__FREXPL 1
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42643 $as_echo_n "checking for hypotl declaration... " >&6; }
42644 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42645 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42646 $as_echo_n "(cached) " >&6
42651 ac_cpp='$CXXCPP $CPPFLAGS'
42652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42657 /* end confdefs.h. */
42667 if ac_fn_cxx_try_compile "$LINENO"; then :
42668 glibcxx_cv_func_hypotl_use=yes
42670 glibcxx_cv_func_hypotl_use=no
42672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42674 ac_cpp='$CPP $CPPFLAGS'
42675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42686 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42687 for ac_func in hypotl
42689 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42690 if test "x$ac_cv_func_hypotl" = x""yes; then :
42691 cat >>confdefs.h <<_ACEOF
42692 #define HAVE_HYPOTL 1
42700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42701 $as_echo_n "checking for _hypotl declaration... " >&6; }
42702 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42703 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42704 $as_echo_n "(cached) " >&6
42709 ac_cpp='$CXXCPP $CPPFLAGS'
42710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42715 /* end confdefs.h. */
42725 if ac_fn_cxx_try_compile "$LINENO"; then :
42726 glibcxx_cv_func__hypotl_use=yes
42728 glibcxx_cv_func__hypotl_use=no
42730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42732 ac_cpp='$CPP $CPPFLAGS'
42733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42744 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42745 for ac_func in _hypotl
42747 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42748 if test "x$ac_cv_func__hypotl" = x""yes; then :
42749 cat >>confdefs.h <<_ACEOF
42750 #define HAVE__HYPOTL 1
42763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42764 $as_echo_n "checking for ldexpl declaration... " >&6; }
42765 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42766 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42767 $as_echo_n "(cached) " >&6
42772 ac_cpp='$CXXCPP $CPPFLAGS'
42773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42778 /* end confdefs.h. */
42788 if ac_fn_cxx_try_compile "$LINENO"; then :
42789 glibcxx_cv_func_ldexpl_use=yes
42791 glibcxx_cv_func_ldexpl_use=no
42793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795 ac_cpp='$CPP $CPPFLAGS'
42796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42807 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42808 for ac_func in ldexpl
42810 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42812 cat >>confdefs.h <<_ACEOF
42813 #define HAVE_LDEXPL 1
42821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42823 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42824 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42825 $as_echo_n "(cached) " >&6
42830 ac_cpp='$CXXCPP $CPPFLAGS'
42831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42836 /* end confdefs.h. */
42846 if ac_fn_cxx_try_compile "$LINENO"; then :
42847 glibcxx_cv_func__ldexpl_use=yes
42849 glibcxx_cv_func__ldexpl_use=no
42851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42853 ac_cpp='$CPP $CPPFLAGS'
42854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42865 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42866 for ac_func in _ldexpl
42868 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42870 cat >>confdefs.h <<_ACEOF
42871 #define HAVE__LDEXPL 1
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42885 $as_echo_n "checking for logl declaration... " >&6; }
42886 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42887 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42888 $as_echo_n "(cached) " >&6
42893 ac_cpp='$CXXCPP $CPPFLAGS'
42894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42899 /* end confdefs.h. */
42901 #ifdef HAVE_IEEEFP_H
42902 #include <ieeefp.h>
42913 if ac_fn_cxx_try_compile "$LINENO"; then :
42914 glibcxx_cv_func_logl_use=yes
42916 glibcxx_cv_func_logl_use=no
42918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42920 ac_cpp='$CPP $CPPFLAGS'
42921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42932 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42933 for ac_func in logl
42935 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42936 if test "x$ac_cv_func_logl" = x""yes; then :
42937 cat >>confdefs.h <<_ACEOF
42938 #define HAVE_LOGL 1
42946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42947 $as_echo_n "checking for _logl declaration... " >&6; }
42948 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42949 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42950 $as_echo_n "(cached) " >&6
42955 ac_cpp='$CXXCPP $CPPFLAGS'
42956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42961 /* end confdefs.h. */
42963 #ifdef HAVE_IEEEFP_H
42964 #include <ieeefp.h>
42975 if ac_fn_cxx_try_compile "$LINENO"; then :
42976 glibcxx_cv_func__logl_use=yes
42978 glibcxx_cv_func__logl_use=no
42980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42982 ac_cpp='$CPP $CPPFLAGS'
42983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42995 for ac_func in _logl
42997 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42998 if test "x$ac_cv_func__logl" = x""yes; then :
42999 cat >>confdefs.h <<_ACEOF
43000 #define HAVE__LOGL 1
43013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43014 $as_echo_n "checking for log10l declaration... " >&6; }
43015 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43016 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43017 $as_echo_n "(cached) " >&6
43022 ac_cpp='$CXXCPP $CPPFLAGS'
43023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43028 /* end confdefs.h. */
43030 #ifdef HAVE_IEEEFP_H
43031 #include <ieeefp.h>
43042 if ac_fn_cxx_try_compile "$LINENO"; then :
43043 glibcxx_cv_func_log10l_use=yes
43045 glibcxx_cv_func_log10l_use=no
43047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43049 ac_cpp='$CPP $CPPFLAGS'
43050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43061 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43062 for ac_func in log10l
43064 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43065 if test "x$ac_cv_func_log10l" = x""yes; then :
43066 cat >>confdefs.h <<_ACEOF
43067 #define HAVE_LOG10L 1
43075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43076 $as_echo_n "checking for _log10l declaration... " >&6; }
43077 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43078 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43079 $as_echo_n "(cached) " >&6
43084 ac_cpp='$CXXCPP $CPPFLAGS'
43085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43090 /* end confdefs.h. */
43092 #ifdef HAVE_IEEEFP_H
43093 #include <ieeefp.h>
43104 if ac_fn_cxx_try_compile "$LINENO"; then :
43105 glibcxx_cv_func__log10l_use=yes
43107 glibcxx_cv_func__log10l_use=no
43109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43111 ac_cpp='$CPP $CPPFLAGS'
43112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43123 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43124 for ac_func in _log10l
43126 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43127 if test "x$ac_cv_func__log10l" = x""yes; then :
43128 cat >>confdefs.h <<_ACEOF
43129 #define HAVE__LOG10L 1
43142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43143 $as_echo_n "checking for modfl declaration... " >&6; }
43144 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43145 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43146 $as_echo_n "(cached) " >&6
43151 ac_cpp='$CXXCPP $CPPFLAGS'
43152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43157 /* end confdefs.h. */
43167 if ac_fn_cxx_try_compile "$LINENO"; then :
43168 glibcxx_cv_func_modfl_use=yes
43170 glibcxx_cv_func_modfl_use=no
43172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43174 ac_cpp='$CPP $CPPFLAGS'
43175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43186 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43187 for ac_func in modfl
43189 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43190 if test "x$ac_cv_func_modfl" = x""yes; then :
43191 cat >>confdefs.h <<_ACEOF
43192 #define HAVE_MODFL 1
43200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43201 $as_echo_n "checking for _modfl declaration... " >&6; }
43202 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43203 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43204 $as_echo_n "(cached) " >&6
43209 ac_cpp='$CXXCPP $CPPFLAGS'
43210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43215 /* end confdefs.h. */
43225 if ac_fn_cxx_try_compile "$LINENO"; then :
43226 glibcxx_cv_func__modfl_use=yes
43228 glibcxx_cv_func__modfl_use=no
43230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43232 ac_cpp='$CPP $CPPFLAGS'
43233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43244 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43245 for ac_func in _modfl
43247 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43248 if test "x$ac_cv_func__modfl" = x""yes; then :
43249 cat >>confdefs.h <<_ACEOF
43250 #define HAVE__MODFL 1
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43264 $as_echo_n "checking for powl declaration... " >&6; }
43265 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43266 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43267 $as_echo_n "(cached) " >&6
43272 ac_cpp='$CXXCPP $CPPFLAGS'
43273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43278 /* end confdefs.h. */
43288 if ac_fn_cxx_try_compile "$LINENO"; then :
43289 glibcxx_cv_func_powl_use=yes
43291 glibcxx_cv_func_powl_use=no
43293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43295 ac_cpp='$CPP $CPPFLAGS'
43296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43307 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43308 for ac_func in powl
43310 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43311 if test "x$ac_cv_func_powl" = x""yes; then :
43312 cat >>confdefs.h <<_ACEOF
43313 #define HAVE_POWL 1
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43322 $as_echo_n "checking for _powl declaration... " >&6; }
43323 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43324 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43325 $as_echo_n "(cached) " >&6
43330 ac_cpp='$CXXCPP $CPPFLAGS'
43331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43336 /* end confdefs.h. */
43346 if ac_fn_cxx_try_compile "$LINENO"; then :
43347 glibcxx_cv_func__powl_use=yes
43349 glibcxx_cv_func__powl_use=no
43351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43353 ac_cpp='$CPP $CPPFLAGS'
43354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43365 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43366 for ac_func in _powl
43368 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43369 if test "x$ac_cv_func__powl" = x""yes; then :
43370 cat >>confdefs.h <<_ACEOF
43371 #define HAVE__POWL 1
43384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43385 $as_echo_n "checking for sqrtl declaration... " >&6; }
43386 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43387 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43388 $as_echo_n "(cached) " >&6
43393 ac_cpp='$CXXCPP $CPPFLAGS'
43394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43399 /* end confdefs.h. */
43401 #ifdef HAVE_IEEEFP_H
43402 #include <ieeefp.h>
43413 if ac_fn_cxx_try_compile "$LINENO"; then :
43414 glibcxx_cv_func_sqrtl_use=yes
43416 glibcxx_cv_func_sqrtl_use=no
43418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43420 ac_cpp='$CPP $CPPFLAGS'
43421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43432 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43433 for ac_func in sqrtl
43435 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43437 cat >>confdefs.h <<_ACEOF
43438 #define HAVE_SQRTL 1
43446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43448 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43449 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43450 $as_echo_n "(cached) " >&6
43455 ac_cpp='$CXXCPP $CPPFLAGS'
43456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43461 /* end confdefs.h. */
43463 #ifdef HAVE_IEEEFP_H
43464 #include <ieeefp.h>
43475 if ac_fn_cxx_try_compile "$LINENO"; then :
43476 glibcxx_cv_func__sqrtl_use=yes
43478 glibcxx_cv_func__sqrtl_use=no
43480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43482 ac_cpp='$CPP $CPPFLAGS'
43483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43494 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43495 for ac_func in _sqrtl
43497 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43499 cat >>confdefs.h <<_ACEOF
43500 #define HAVE__SQRTL 1
43513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43514 $as_echo_n "checking for sincosl declaration... " >&6; }
43515 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43516 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43517 $as_echo_n "(cached) " >&6
43522 ac_cpp='$CXXCPP $CPPFLAGS'
43523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43528 /* end confdefs.h. */
43538 if ac_fn_cxx_try_compile "$LINENO"; then :
43539 glibcxx_cv_func_sincosl_use=yes
43541 glibcxx_cv_func_sincosl_use=no
43543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43545 ac_cpp='$CPP $CPPFLAGS'
43546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43557 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43558 for ac_func in sincosl
43560 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43561 if test "x$ac_cv_func_sincosl" = x""yes; then :
43562 cat >>confdefs.h <<_ACEOF
43563 #define HAVE_SINCOSL 1
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43572 $as_echo_n "checking for _sincosl declaration... " >&6; }
43573 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43574 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43575 $as_echo_n "(cached) " >&6
43580 ac_cpp='$CXXCPP $CPPFLAGS'
43581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43586 /* end confdefs.h. */
43596 if ac_fn_cxx_try_compile "$LINENO"; then :
43597 glibcxx_cv_func__sincosl_use=yes
43599 glibcxx_cv_func__sincosl_use=no
43601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43603 ac_cpp='$CPP $CPPFLAGS'
43604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43615 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43616 for ac_func in _sincosl
43618 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43619 if test "x$ac_cv_func__sincosl" = x""yes; then :
43620 cat >>confdefs.h <<_ACEOF
43621 #define HAVE__SINCOSL 1
43634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43635 $as_echo_n "checking for finitel declaration... " >&6; }
43636 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43637 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43638 $as_echo_n "(cached) " >&6
43643 ac_cpp='$CXXCPP $CPPFLAGS'
43644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43649 /* end confdefs.h. */
43651 #ifdef HAVE_IEEEFP_H
43652 #include <ieeefp.h>
43663 if ac_fn_cxx_try_compile "$LINENO"; then :
43664 glibcxx_cv_func_finitel_use=yes
43666 glibcxx_cv_func_finitel_use=no
43668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43670 ac_cpp='$CPP $CPPFLAGS'
43671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43682 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43683 for ac_func in finitel
43685 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43686 if test "x$ac_cv_func_finitel" = x""yes; then :
43687 cat >>confdefs.h <<_ACEOF
43688 #define HAVE_FINITEL 1
43696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43697 $as_echo_n "checking for _finitel declaration... " >&6; }
43698 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43699 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43700 $as_echo_n "(cached) " >&6
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43711 /* end confdefs.h. */
43713 #ifdef HAVE_IEEEFP_H
43714 #include <ieeefp.h>
43725 if ac_fn_cxx_try_compile "$LINENO"; then :
43726 glibcxx_cv_func__finitel_use=yes
43728 glibcxx_cv_func__finitel_use=no
43730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43732 ac_cpp='$CPP $CPPFLAGS'
43733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43744 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43745 for ac_func in _finitel
43747 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43748 if test "x$ac_cv_func__finitel" = x""yes; then :
43749 cat >>confdefs.h <<_ACEOF
43750 #define HAVE__FINITEL 1
43762 LIBS="$ac_save_LIBS"
43763 CXXFLAGS="$ac_save_CXXFLAGS"
43766 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43767 ac_save_CXXFLAGS="$CXXFLAGS"
43768 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43772 $as_echo_n "checking for strtold declaration... " >&6; }
43773 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43774 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43775 $as_echo_n "(cached) " >&6
43780 ac_cpp='$CXXCPP $CPPFLAGS'
43781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43786 /* end confdefs.h. */
43787 #include <stdlib.h>
43796 if ac_fn_cxx_try_compile "$LINENO"; then :
43797 glibcxx_cv_func_strtold_use=yes
43799 glibcxx_cv_func_strtold_use=no
43801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43803 ac_cpp='$CPP $CPPFLAGS'
43804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43813 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43814 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43815 for ac_func in strtold
43817 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43818 if test "x$ac_cv_func_strtold" = x""yes; then :
43819 cat >>confdefs.h <<_ACEOF
43820 #define HAVE_STRTOLD 1
43831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43832 $as_echo_n "checking for strtof declaration... " >&6; }
43833 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43834 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43835 $as_echo_n "(cached) " >&6
43840 ac_cpp='$CXXCPP $CPPFLAGS'
43841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43846 /* end confdefs.h. */
43847 #include <stdlib.h>
43856 if ac_fn_cxx_try_compile "$LINENO"; then :
43857 glibcxx_cv_func_strtof_use=yes
43859 glibcxx_cv_func_strtof_use=no
43861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43863 ac_cpp='$CPP $CPPFLAGS'
43864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43873 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43874 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43875 for ac_func in strtof
43877 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43878 if test "x$ac_cv_func_strtof" = x""yes; then :
43879 cat >>confdefs.h <<_ACEOF
43880 #define HAVE_STRTOF 1
43891 CXXFLAGS="$ac_save_CXXFLAGS"
43896 # GLIBCXX_CHECK_MATH_SUPPORT
43897 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43899 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43901 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43903 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43905 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43910 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43913 # If we're not using GNU ld, then there's no point in even trying these
43914 # tests. Check for that first. We should have already tested for gld
43915 # by now (in libtool), but require it now just to be safe...
43916 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43917 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43921 # The name set by libtool depends on the version of libtool. Shame on us
43922 # for depending on an impl detail, but c'est la vie. Older versions used
43923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43926 # set (hence we're using an older libtool), then set it.
43927 if test x${with_gnu_ld+set} != xset; then
43928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43932 with_gnu_ld=$ac_cv_prog_gnu_ld
43936 # Start by getting the version number. I think the libtool test already
43937 # does some of this, but throws away the result.
43938 glibcxx_ld_is_gold=no
43939 if test x"$with_gnu_ld" = x"yes"; then
43940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43941 $as_echo_n "checking for ld version... " >&6; }
43943 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43944 glibcxx_ld_is_gold=yes
43946 ldver=`$LD --version 2>/dev/null |
43947 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'`
43949 glibcxx_gnu_ld_version=`echo $ldver | \
43950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43955 # Set --gc-sections.
43956 glibcxx_have_gc_sections=no
43957 if test "$glibcxx_ld_is_gold" = "yes"; then
43958 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43959 glibcxx_have_gc_sections=yes
43962 glibcxx_gcsections_min_ld=21602
43963 if test x"$with_gnu_ld" = x"yes" &&
43964 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43965 glibcxx_have_gc_sections=yes
43968 if test "$glibcxx_have_gc_sections" = "yes"; then
43969 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43970 # NB: This flag only works reliably after 2.16.1. Configure tests
43971 # for this are difficult, so hard wire a value that should work.
43973 ac_test_CFLAGS="${CFLAGS+set}"
43974 ac_save_CFLAGS="$CFLAGS"
43975 CFLAGS='-Wl,--gc-sections'
43977 # Check for -Wl,--gc-sections
43978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43980 if test x$gcc_no_link = xyes; then
43981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43984 /* end confdefs.h. */
43985 int one(void) { return 1; }
43986 int two(void) { return 2; }
43996 if ac_fn_c_try_link "$LINENO"; then :
44001 rm -f core conftest.err conftest.$ac_objext \
44002 conftest$ac_exeext conftest.$ac_ext
44003 if test "$ac_gcsections" = "yes"; then
44006 if $CC -c conftest.c; then
44007 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44008 grep "Warning: gc-sections option ignored" > /dev/null; then
44012 rm -f conftest.c conftest.o conftest
44014 if test "$ac_gcsections" = "yes"; then
44015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44018 $as_echo "$ac_gcsections" >&6; }
44020 if test "$ac_test_CFLAGS" = set; then
44021 CFLAGS="$ac_save_CFLAGS"
44023 # this is the suspicious part
44029 # Note this is only for shared objects.
44031 if test x"$with_gnu_ld" = x"yes"; then
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44033 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44034 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44035 if test -n "$cxx_z_relo"; then
44036 OPT_LDFLAGS="-Wl,-z,relro"
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44040 $as_echo "$ac_ld_relro" >&6; }
44043 # Set linker optimization flags.
44044 if test x"$with_gnu_ld" = x"yes"; then
44045 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44051 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44053 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44055 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44057 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44059 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44061 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44063 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44065 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44067 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44070 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44072 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44074 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44076 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44078 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44080 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44082 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44084 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44086 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44088 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44090 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44092 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44094 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44096 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44098 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44100 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44102 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44104 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44106 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44108 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44110 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44112 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44114 if test x"long_double_math_on_this_cpu" = x"yes"; then
44115 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44117 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44119 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44124 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44127 # If we're not using GNU ld, then there's no point in even trying these
44128 # tests. Check for that first. We should have already tested for gld
44129 # by now (in libtool), but require it now just to be safe...
44130 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44131 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44135 # The name set by libtool depends on the version of libtool. Shame on us
44136 # for depending on an impl detail, but c'est la vie. Older versions used
44137 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44138 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44139 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44140 # set (hence we're using an older libtool), then set it.
44141 if test x${with_gnu_ld+set} != xset; then
44142 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44143 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44146 with_gnu_ld=$ac_cv_prog_gnu_ld
44150 # Start by getting the version number. I think the libtool test already
44151 # does some of this, but throws away the result.
44152 glibcxx_ld_is_gold=no
44153 if test x"$with_gnu_ld" = x"yes"; then
44154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44155 $as_echo_n "checking for ld version... " >&6; }
44157 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44158 glibcxx_ld_is_gold=yes
44160 ldver=`$LD --version 2>/dev/null |
44161 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'`
44163 glibcxx_gnu_ld_version=`echo $ldver | \
44164 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44166 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44169 # Set --gc-sections.
44170 glibcxx_have_gc_sections=no
44171 if test "$glibcxx_ld_is_gold" = "yes"; then
44172 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44173 glibcxx_have_gc_sections=yes
44176 glibcxx_gcsections_min_ld=21602
44177 if test x"$with_gnu_ld" = x"yes" &&
44178 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44179 glibcxx_have_gc_sections=yes
44182 if test "$glibcxx_have_gc_sections" = "yes"; then
44183 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44184 # NB: This flag only works reliably after 2.16.1. Configure tests
44185 # for this are difficult, so hard wire a value that should work.
44187 ac_test_CFLAGS="${CFLAGS+set}"
44188 ac_save_CFLAGS="$CFLAGS"
44189 CFLAGS='-Wl,--gc-sections'
44191 # Check for -Wl,--gc-sections
44192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44193 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44194 if test x$gcc_no_link = xyes; then
44195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44198 /* end confdefs.h. */
44199 int one(void) { return 1; }
44200 int two(void) { return 2; }
44210 if ac_fn_c_try_link "$LINENO"; then :
44215 rm -f core conftest.err conftest.$ac_objext \
44216 conftest$ac_exeext conftest.$ac_ext
44217 if test "$ac_gcsections" = "yes"; then
44220 if $CC -c conftest.c; then
44221 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44222 grep "Warning: gc-sections option ignored" > /dev/null; then
44226 rm -f conftest.c conftest.o conftest
44228 if test "$ac_gcsections" = "yes"; then
44229 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44232 $as_echo "$ac_gcsections" >&6; }
44234 if test "$ac_test_CFLAGS" = set; then
44235 CFLAGS="$ac_save_CFLAGS"
44237 # this is the suspicious part
44243 # Note this is only for shared objects.
44245 if test x"$with_gnu_ld" = x"yes"; then
44246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44247 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44248 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44249 if test -n "$cxx_z_relo"; then
44250 OPT_LDFLAGS="-Wl,-z,relro"
44253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44254 $as_echo "$ac_ld_relro" >&6; }
44257 # Set linker optimization flags.
44258 if test x"$with_gnu_ld" = x"yes"; then
44259 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44266 # GLIBCXX_CHECK_MATH_SUPPORT
44267 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44271 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44273 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44275 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44277 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44279 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44281 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44283 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44285 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44287 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44289 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44291 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44293 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44295 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44297 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44299 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44301 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44303 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44305 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44307 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44310 # GLIBCXX_CHECK_STDLIB_SUPPORT
44311 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44316 # Check whether --enable-tls was given.
44317 if test "${enable_tls+set}" = set; then :
44318 enableval=$enable_tls;
44319 case "$enableval" in
44321 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44330 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44331 if test "${gcc_cv_have_tls+set}" = set; then :
44332 $as_echo_n "(cached) " >&6
44335 if test "$cross_compiling" = yes; then :
44336 if test x$gcc_no_link = xyes; then
44337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44340 /* end confdefs.h. */
44341 __thread int a; int b; int main() { return a = b; }
44343 if ac_fn_c_try_link "$LINENO"; then :
44344 chktls_save_LDFLAGS="$LDFLAGS"
44347 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44350 chktls_save_CFLAGS="$CFLAGS"
44351 CFLAGS="-fPIC $CFLAGS"
44352 if test x$gcc_no_link = xyes; then
44353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44356 /* end confdefs.h. */
44357 int f() { return 0; }
44359 if ac_fn_c_try_link "$LINENO"; then :
44360 if test x$gcc_no_link = xyes; then
44361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h. */
44365 __thread int a; int b; int f() { return a = b; }
44367 if ac_fn_c_try_link "$LINENO"; then :
44368 gcc_cv_have_tls=yes
44372 rm -f core conftest.err conftest.$ac_objext \
44373 conftest$ac_exeext conftest.$ac_ext
44375 gcc_cv_have_tls=yes
44377 rm -f core conftest.err conftest.$ac_objext \
44378 conftest$ac_exeext conftest.$ac_ext
44379 CFLAGS="$chktls_save_CFLAGS"
44380 LDFLAGS="$chktls_save_LDFLAGS"
44384 rm -f core conftest.err conftest.$ac_objext \
44385 conftest$ac_exeext conftest.$ac_ext
44389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44390 /* end confdefs.h. */
44391 __thread int a; int b; int main() { return a = b; }
44393 if ac_fn_c_try_run "$LINENO"; then :
44394 chktls_save_LDFLAGS="$LDFLAGS"
44395 LDFLAGS="-static $LDFLAGS"
44396 if test x$gcc_no_link = xyes; then
44397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44400 /* end confdefs.h. */
44401 int main() { return 0; }
44403 if ac_fn_c_try_link "$LINENO"; then :
44404 if test "$cross_compiling" = yes; then :
44405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44407 as_fn_error "cannot run test program while cross compiling
44408 See \`config.log' for more details." "$LINENO" 5; }
44410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44411 /* end confdefs.h. */
44412 __thread int a; int b; int main() { return a = b; }
44414 if ac_fn_c_try_run "$LINENO"; then :
44415 gcc_cv_have_tls=yes
44419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44420 conftest.$ac_objext conftest.beam conftest.$ac_ext
44424 gcc_cv_have_tls=yes
44426 rm -f core conftest.err conftest.$ac_objext \
44427 conftest$ac_exeext conftest.$ac_ext
44428 LDFLAGS="$chktls_save_LDFLAGS"
44429 if test $gcc_cv_have_tls = yes; then
44430 chktls_save_CFLAGS="$CFLAGS"
44431 thread_CFLAGS=failed
44432 for flag in '' '-pthread' '-lpthread'; do
44433 CFLAGS="$flag $chktls_save_CFLAGS"
44434 if test x$gcc_no_link = xyes; then
44435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44438 /* end confdefs.h. */
44439 #include <pthread.h>
44440 void *g(void *d) { return NULL; }
44444 pthread_t t; pthread_create(&t,NULL,g,NULL);
44449 if ac_fn_c_try_link "$LINENO"; then :
44450 thread_CFLAGS="$flag"
44452 rm -f core conftest.err conftest.$ac_objext \
44453 conftest$ac_exeext conftest.$ac_ext
44454 if test "X$thread_CFLAGS" != Xfailed; then
44458 CFLAGS="$chktls_save_CFLAGS"
44459 if test "X$thread_CFLAGS" != Xfailed; then
44460 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44461 if test "$cross_compiling" = yes; then :
44462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44464 as_fn_error "cannot run test program while cross compiling
44465 See \`config.log' for more details." "$LINENO" 5; }
44467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44468 /* end confdefs.h. */
44469 #include <pthread.h>
44471 static int *a_in_other_thread;
44473 thread_func (void *arg)
44475 a_in_other_thread = &a;
44482 void *thread_retval;
44483 int *a_in_main_thread;
44484 if (pthread_create (&thread, (pthread_attr_t *)0,
44485 thread_func, (void *)0))
44487 a_in_main_thread = &a;
44488 if (pthread_join (thread, &thread_retval))
44490 return (a_in_other_thread == a_in_main_thread);
44495 if ac_fn_c_try_run "$LINENO"; then :
44496 gcc_cv_have_tls=yes
44500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44501 conftest.$ac_objext conftest.beam conftest.$ac_ext
44504 CFLAGS="$chktls_save_CFLAGS"
44510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44511 conftest.$ac_objext conftest.beam conftest.$ac_ext
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44516 $as_echo "$gcc_cv_have_tls" >&6; }
44517 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44519 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44524 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44526 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44528 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44530 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44532 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44537 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44539 # All these tests are for C++; save the language and the compiler flags.
44540 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44541 # found in GLIBCXX_CONFIGURE.
44544 ac_cpp='$CXXCPP $CPPFLAGS'
44545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44549 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44550 ac_save_CXXFLAGS="$CXXFLAGS"
44552 # Check for maintainer-mode bits.
44553 if test x"$USE_MAINTAINER_MODE" = xno; then
44559 # Check for -ffunction-sections -fdata-sections
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44561 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44562 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44564 /* end confdefs.h. */
44565 int foo; void bar() { };
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44580 if test "$ac_test_CXXFLAGS" = set; then
44581 CXXFLAGS="$ac_save_CXXFLAGS"
44583 # this is the suspicious part
44586 if test x"$ac_fdsections" = x"yes"; then
44587 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44590 $as_echo "$ac_fdsections" >&6; }
44593 ac_cpp='$CPP $CPPFLAGS'
44594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44602 # If we're not using GNU ld, then there's no point in even trying these
44603 # tests. Check for that first. We should have already tested for gld
44604 # by now (in libtool), but require it now just to be safe...
44605 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44606 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44610 # The name set by libtool depends on the version of libtool. Shame on us
44611 # for depending on an impl detail, but c'est la vie. Older versions used
44612 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44613 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44614 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44615 # set (hence we're using an older libtool), then set it.
44616 if test x${with_gnu_ld+set} != xset; then
44617 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44618 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44621 with_gnu_ld=$ac_cv_prog_gnu_ld
44625 # Start by getting the version number. I think the libtool test already
44626 # does some of this, but throws away the result.
44627 glibcxx_ld_is_gold=no
44628 if test x"$with_gnu_ld" = x"yes"; then
44629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44630 $as_echo_n "checking for ld version... " >&6; }
44632 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44633 glibcxx_ld_is_gold=yes
44635 ldver=`$LD --version 2>/dev/null |
44636 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'`
44638 glibcxx_gnu_ld_version=`echo $ldver | \
44639 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44641 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44644 # Set --gc-sections.
44645 glibcxx_have_gc_sections=no
44646 if test "$glibcxx_ld_is_gold" = "yes"; then
44647 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44648 glibcxx_have_gc_sections=yes
44651 glibcxx_gcsections_min_ld=21602
44652 if test x"$with_gnu_ld" = x"yes" &&
44653 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44654 glibcxx_have_gc_sections=yes
44657 if test "$glibcxx_have_gc_sections" = "yes"; then
44658 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44659 # NB: This flag only works reliably after 2.16.1. Configure tests
44660 # for this are difficult, so hard wire a value that should work.
44662 ac_test_CFLAGS="${CFLAGS+set}"
44663 ac_save_CFLAGS="$CFLAGS"
44664 CFLAGS='-Wl,--gc-sections'
44666 # Check for -Wl,--gc-sections
44667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44668 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44669 if test x$gcc_no_link = xyes; then
44670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44673 /* end confdefs.h. */
44674 int one(void) { return 1; }
44675 int two(void) { return 2; }
44685 if ac_fn_c_try_link "$LINENO"; then :
44690 rm -f core conftest.err conftest.$ac_objext \
44691 conftest$ac_exeext conftest.$ac_ext
44692 if test "$ac_gcsections" = "yes"; then
44695 if $CC -c conftest.c; then
44696 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44697 grep "Warning: gc-sections option ignored" > /dev/null; then
44701 rm -f conftest.c conftest.o conftest
44703 if test "$ac_gcsections" = "yes"; then
44704 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44707 $as_echo "$ac_gcsections" >&6; }
44709 if test "$ac_test_CFLAGS" = set; then
44710 CFLAGS="$ac_save_CFLAGS"
44712 # this is the suspicious part
44718 # Note this is only for shared objects.
44720 if test x"$with_gnu_ld" = x"yes"; then
44721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44722 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44723 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44724 if test -n "$cxx_z_relo"; then
44725 OPT_LDFLAGS="-Wl,-z,relro"
44728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44729 $as_echo "$ac_ld_relro" >&6; }
44732 # Set linker optimization flags.
44733 if test x"$with_gnu_ld" = x"yes"; then
44734 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44741 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44742 ac_save_CXXFLAGS="$CXXFLAGS"
44743 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44746 $as_echo_n "checking for sin in -lm... " >&6; }
44747 if test "${ac_cv_lib_m_sin+set}" = set; then :
44748 $as_echo_n "(cached) " >&6
44750 ac_check_lib_save_LIBS=$LIBS
44752 if test x$gcc_no_link = xyes; then
44753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44756 /* end confdefs.h. */
44758 /* Override any GCC internal prototype to avoid an error.
44759 Use char because int might match the return type of a GCC
44760 builtin and then its argument prototype would still apply. */
44773 if ac_fn_c_try_link "$LINENO"; then :
44774 ac_cv_lib_m_sin=yes
44778 rm -f core conftest.err conftest.$ac_objext \
44779 conftest$ac_exeext conftest.$ac_ext
44780 LIBS=$ac_check_lib_save_LIBS
44782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44783 $as_echo "$ac_cv_lib_m_sin" >&6; }
44784 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44788 ac_save_LIBS="$LIBS"
44793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44794 $as_echo_n "checking for isinf declaration... " >&6; }
44795 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44796 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44797 $as_echo_n "(cached) " >&6
44802 ac_cpp='$CXXCPP $CPPFLAGS'
44803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44808 /* end confdefs.h. */
44810 #ifdef HAVE_IEEEFP_H
44811 #include <ieeefp.h>
44822 if ac_fn_cxx_try_compile "$LINENO"; then :
44823 glibcxx_cv_func_isinf_use=yes
44825 glibcxx_cv_func_isinf_use=no
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44829 ac_cpp='$CPP $CPPFLAGS'
44830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44839 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44841 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44842 for ac_func in isinf
44844 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44845 if test "x$ac_cv_func_isinf" = x""yes; then :
44846 cat >>confdefs.h <<_ACEOF
44847 #define HAVE_ISINF 1
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44856 $as_echo_n "checking for _isinf declaration... " >&6; }
44857 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44858 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44859 $as_echo_n "(cached) " >&6
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44870 /* end confdefs.h. */
44872 #ifdef HAVE_IEEEFP_H
44873 #include <ieeefp.h>
44884 if ac_fn_cxx_try_compile "$LINENO"; then :
44885 glibcxx_cv_func__isinf_use=yes
44887 glibcxx_cv_func__isinf_use=no
44889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44891 ac_cpp='$CPP $CPPFLAGS'
44892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44901 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44903 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44904 for ac_func in _isinf
44906 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44907 if test "x$ac_cv_func__isinf" = x""yes; then :
44908 cat >>confdefs.h <<_ACEOF
44909 #define HAVE__ISINF 1
44922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44923 $as_echo_n "checking for isnan declaration... " >&6; }
44924 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44925 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44926 $as_echo_n "(cached) " >&6
44931 ac_cpp='$CXXCPP $CPPFLAGS'
44932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44937 /* end confdefs.h. */
44939 #ifdef HAVE_IEEEFP_H
44940 #include <ieeefp.h>
44951 if ac_fn_cxx_try_compile "$LINENO"; then :
44952 glibcxx_cv_func_isnan_use=yes
44954 glibcxx_cv_func_isnan_use=no
44956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44958 ac_cpp='$CPP $CPPFLAGS'
44959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44968 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44970 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44971 for ac_func in isnan
44973 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44974 if test "x$ac_cv_func_isnan" = x""yes; then :
44975 cat >>confdefs.h <<_ACEOF
44976 #define HAVE_ISNAN 1
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44985 $as_echo_n "checking for _isnan declaration... " >&6; }
44986 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44987 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44988 $as_echo_n "(cached) " >&6
44993 ac_cpp='$CXXCPP $CPPFLAGS'
44994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44999 /* end confdefs.h. */
45001 #ifdef HAVE_IEEEFP_H
45002 #include <ieeefp.h>
45013 if ac_fn_cxx_try_compile "$LINENO"; then :
45014 glibcxx_cv_func__isnan_use=yes
45016 glibcxx_cv_func__isnan_use=no
45018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45020 ac_cpp='$CPP $CPPFLAGS'
45021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45030 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45032 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45033 for ac_func in _isnan
45035 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45036 if test "x$ac_cv_func__isnan" = x""yes; then :
45037 cat >>confdefs.h <<_ACEOF
45038 #define HAVE__ISNAN 1
45051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45052 $as_echo_n "checking for finite declaration... " >&6; }
45053 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45054 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45055 $as_echo_n "(cached) " >&6
45060 ac_cpp='$CXXCPP $CPPFLAGS'
45061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45066 /* end confdefs.h. */
45068 #ifdef HAVE_IEEEFP_H
45069 #include <ieeefp.h>
45080 if ac_fn_cxx_try_compile "$LINENO"; then :
45081 glibcxx_cv_func_finite_use=yes
45083 glibcxx_cv_func_finite_use=no
45085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45087 ac_cpp='$CPP $CPPFLAGS'
45088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45097 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45099 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45100 for ac_func in finite
45102 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45103 if test "x$ac_cv_func_finite" = x""yes; then :
45104 cat >>confdefs.h <<_ACEOF
45105 #define HAVE_FINITE 1
45113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45114 $as_echo_n "checking for _finite declaration... " >&6; }
45115 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45116 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45117 $as_echo_n "(cached) " >&6
45122 ac_cpp='$CXXCPP $CPPFLAGS'
45123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45128 /* end confdefs.h. */
45130 #ifdef HAVE_IEEEFP_H
45131 #include <ieeefp.h>
45142 if ac_fn_cxx_try_compile "$LINENO"; then :
45143 glibcxx_cv_func__finite_use=yes
45145 glibcxx_cv_func__finite_use=no
45147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45149 ac_cpp='$CPP $CPPFLAGS'
45150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45159 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45161 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45162 for ac_func in _finite
45164 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45165 if test "x$ac_cv_func__finite" = x""yes; then :
45166 cat >>confdefs.h <<_ACEOF
45167 #define HAVE__FINITE 1
45180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45181 $as_echo_n "checking for sincos declaration... " >&6; }
45182 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45183 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45184 $as_echo_n "(cached) " >&6
45189 ac_cpp='$CXXCPP $CPPFLAGS'
45190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45195 /* end confdefs.h. */
45205 if ac_fn_cxx_try_compile "$LINENO"; then :
45206 glibcxx_cv_func_sincos_use=yes
45208 glibcxx_cv_func_sincos_use=no
45210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45212 ac_cpp='$CPP $CPPFLAGS'
45213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45222 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45224 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45225 for ac_func in sincos
45227 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45228 if test "x$ac_cv_func_sincos" = x""yes; then :
45229 cat >>confdefs.h <<_ACEOF
45230 #define HAVE_SINCOS 1
45238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45239 $as_echo_n "checking for _sincos declaration... " >&6; }
45240 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45241 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45242 $as_echo_n "(cached) " >&6
45247 ac_cpp='$CXXCPP $CPPFLAGS'
45248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45253 /* end confdefs.h. */
45263 if ac_fn_cxx_try_compile "$LINENO"; then :
45264 glibcxx_cv_func__sincos_use=yes
45266 glibcxx_cv_func__sincos_use=no
45268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45270 ac_cpp='$CPP $CPPFLAGS'
45271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45280 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45282 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45283 for ac_func in _sincos
45285 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45286 if test "x$ac_cv_func__sincos" = x""yes; then :
45287 cat >>confdefs.h <<_ACEOF
45288 #define HAVE__SINCOS 1
45301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45302 $as_echo_n "checking for fpclass declaration... " >&6; }
45303 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45304 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45305 $as_echo_n "(cached) " >&6
45310 ac_cpp='$CXXCPP $CPPFLAGS'
45311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45316 /* end confdefs.h. */
45318 #ifdef HAVE_IEEEFP_H
45319 #include <ieeefp.h>
45330 if ac_fn_cxx_try_compile "$LINENO"; then :
45331 glibcxx_cv_func_fpclass_use=yes
45333 glibcxx_cv_func_fpclass_use=no
45335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45337 ac_cpp='$CPP $CPPFLAGS'
45338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45347 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45349 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45350 for ac_func in fpclass
45352 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45353 if test "x$ac_cv_func_fpclass" = x""yes; then :
45354 cat >>confdefs.h <<_ACEOF
45355 #define HAVE_FPCLASS 1
45363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45364 $as_echo_n "checking for _fpclass declaration... " >&6; }
45365 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45366 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45367 $as_echo_n "(cached) " >&6
45372 ac_cpp='$CXXCPP $CPPFLAGS'
45373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45378 /* end confdefs.h. */
45380 #ifdef HAVE_IEEEFP_H
45381 #include <ieeefp.h>
45392 if ac_fn_cxx_try_compile "$LINENO"; then :
45393 glibcxx_cv_func__fpclass_use=yes
45395 glibcxx_cv_func__fpclass_use=no
45397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45399 ac_cpp='$CPP $CPPFLAGS'
45400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45409 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45411 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45412 for ac_func in _fpclass
45414 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45415 if test "x$ac_cv_func__fpclass" = x""yes; then :
45416 cat >>confdefs.h <<_ACEOF
45417 #define HAVE__FPCLASS 1
45430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45431 $as_echo_n "checking for qfpclass declaration... " >&6; }
45432 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45433 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45434 $as_echo_n "(cached) " >&6
45439 ac_cpp='$CXXCPP $CPPFLAGS'
45440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45445 /* end confdefs.h. */
45447 #ifdef HAVE_IEEEFP_H
45448 #include <ieeefp.h>
45459 if ac_fn_cxx_try_compile "$LINENO"; then :
45460 glibcxx_cv_func_qfpclass_use=yes
45462 glibcxx_cv_func_qfpclass_use=no
45464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45466 ac_cpp='$CPP $CPPFLAGS'
45467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45476 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45478 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45479 for ac_func in qfpclass
45481 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45482 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45483 cat >>confdefs.h <<_ACEOF
45484 #define HAVE_QFPCLASS 1
45492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45493 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45494 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45495 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45496 $as_echo_n "(cached) " >&6
45501 ac_cpp='$CXXCPP $CPPFLAGS'
45502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45507 /* end confdefs.h. */
45509 #ifdef HAVE_IEEEFP_H
45510 #include <ieeefp.h>
45521 if ac_fn_cxx_try_compile "$LINENO"; then :
45522 glibcxx_cv_func__qfpclass_use=yes
45524 glibcxx_cv_func__qfpclass_use=no
45526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45528 ac_cpp='$CPP $CPPFLAGS'
45529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45538 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45540 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45541 for ac_func in _qfpclass
45543 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45544 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45545 cat >>confdefs.h <<_ACEOF
45546 #define HAVE__QFPCLASS 1
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45560 $as_echo_n "checking for hypot declaration... " >&6; }
45561 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45562 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45563 $as_echo_n "(cached) " >&6
45568 ac_cpp='$CXXCPP $CPPFLAGS'
45569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45574 /* end confdefs.h. */
45584 if ac_fn_cxx_try_compile "$LINENO"; then :
45585 glibcxx_cv_func_hypot_use=yes
45587 glibcxx_cv_func_hypot_use=no
45589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45591 ac_cpp='$CPP $CPPFLAGS'
45592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45601 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45603 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45604 for ac_func in hypot
45606 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45607 if test "x$ac_cv_func_hypot" = x""yes; then :
45608 cat >>confdefs.h <<_ACEOF
45609 #define HAVE_HYPOT 1
45617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45618 $as_echo_n "checking for _hypot declaration... " >&6; }
45619 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45620 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45621 $as_echo_n "(cached) " >&6
45626 ac_cpp='$CXXCPP $CPPFLAGS'
45627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45632 /* end confdefs.h. */
45642 if ac_fn_cxx_try_compile "$LINENO"; then :
45643 glibcxx_cv_func__hypot_use=yes
45645 glibcxx_cv_func__hypot_use=no
45647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45649 ac_cpp='$CPP $CPPFLAGS'
45650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45659 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45661 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45662 for ac_func in _hypot
45664 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45665 if test "x$ac_cv_func__hypot" = x""yes; then :
45666 cat >>confdefs.h <<_ACEOF
45667 #define HAVE__HYPOT 1
45680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45681 $as_echo_n "checking for float trig functions... " >&6; }
45682 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45683 $as_echo_n "(cached) " >&6
45688 ac_cpp='$CXXCPP $CPPFLAGS'
45689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45694 /* end confdefs.h. */
45699 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45704 if ac_fn_cxx_try_compile "$LINENO"; then :
45705 glibcxx_cv_func_float_trig_use=yes
45707 glibcxx_cv_func_float_trig_use=no
45709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45711 ac_cpp='$CPP $CPPFLAGS'
45712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45719 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45720 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45721 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45725 eval as_val=\$$as_ac_var
45726 if test "x$as_val" = x""yes; then :
45727 cat >>confdefs.h <<_ACEOF
45728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45736 $as_echo_n "checking for _float trig functions... " >&6; }
45737 if test "${glibcxx_cv_func__float_trig_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. */
45754 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45759 if ac_fn_cxx_try_compile "$LINENO"; then :
45760 glibcxx_cv_func__float_trig_use=yes
45762 glibcxx_cv_func__float_trig_use=no
45764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45766 ac_cpp='$CPP $CPPFLAGS'
45767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45774 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45775 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45776 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45780 eval as_val=\$$as_ac_var
45781 if test "x$as_val" = x""yes; then :
45782 cat >>confdefs.h <<_ACEOF
45783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45797 $as_echo_n "checking for float round functions... " >&6; }
45798 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45799 $as_echo_n "(cached) " >&6
45804 ac_cpp='$CXXCPP $CPPFLAGS'
45805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45810 /* end confdefs.h. */
45815 ceilf (0); floorf (0);
45820 if ac_fn_cxx_try_compile "$LINENO"; then :
45821 glibcxx_cv_func_float_round_use=yes
45823 glibcxx_cv_func_float_round_use=no
45825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45827 ac_cpp='$CPP $CPPFLAGS'
45828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45835 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45836 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45837 for ac_func in ceilf floorf
45839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45841 eval as_val=\$$as_ac_var
45842 if test "x$as_val" = x""yes; then :
45843 cat >>confdefs.h <<_ACEOF
45844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45852 $as_echo_n "checking for _float round functions... " >&6; }
45853 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45854 $as_echo_n "(cached) " >&6
45859 ac_cpp='$CXXCPP $CPPFLAGS'
45860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45865 /* end confdefs.h. */
45870 _ceilf (0); _floorf (0);
45875 if ac_fn_cxx_try_compile "$LINENO"; then :
45876 glibcxx_cv_func__float_round_use=yes
45878 glibcxx_cv_func__float_round_use=no
45880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882 ac_cpp='$CPP $CPPFLAGS'
45883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45890 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45891 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45892 for ac_func in _ceilf _floorf
45894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45896 eval as_val=\$$as_ac_var
45897 if test "x$as_val" = x""yes; then :
45898 cat >>confdefs.h <<_ACEOF
45899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45914 $as_echo_n "checking for expf declaration... " >&6; }
45915 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45916 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45917 $as_echo_n "(cached) " >&6
45922 ac_cpp='$CXXCPP $CPPFLAGS'
45923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45928 /* end confdefs.h. */
45930 #ifdef HAVE_IEEEFP_H
45931 #include <ieeefp.h>
45942 if ac_fn_cxx_try_compile "$LINENO"; then :
45943 glibcxx_cv_func_expf_use=yes
45945 glibcxx_cv_func_expf_use=no
45947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45949 ac_cpp='$CPP $CPPFLAGS'
45950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45959 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45961 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45962 for ac_func in expf
45964 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45965 if test "x$ac_cv_func_expf" = x""yes; then :
45966 cat >>confdefs.h <<_ACEOF
45967 #define HAVE_EXPF 1
45975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45976 $as_echo_n "checking for _expf declaration... " >&6; }
45977 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45978 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45979 $as_echo_n "(cached) " >&6
45984 ac_cpp='$CXXCPP $CPPFLAGS'
45985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45990 /* end confdefs.h. */
45992 #ifdef HAVE_IEEEFP_H
45993 #include <ieeefp.h>
46004 if ac_fn_cxx_try_compile "$LINENO"; then :
46005 glibcxx_cv_func__expf_use=yes
46007 glibcxx_cv_func__expf_use=no
46009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46011 ac_cpp='$CPP $CPPFLAGS'
46012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46021 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46023 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46024 for ac_func in _expf
46026 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46027 if test "x$ac_cv_func__expf" = x""yes; then :
46028 cat >>confdefs.h <<_ACEOF
46029 #define HAVE__EXPF 1
46042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46043 $as_echo_n "checking for isnanf declaration... " >&6; }
46044 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46045 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46046 $as_echo_n "(cached) " >&6
46051 ac_cpp='$CXXCPP $CPPFLAGS'
46052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46057 /* end confdefs.h. */
46059 #ifdef HAVE_IEEEFP_H
46060 #include <ieeefp.h>
46071 if ac_fn_cxx_try_compile "$LINENO"; then :
46072 glibcxx_cv_func_isnanf_use=yes
46074 glibcxx_cv_func_isnanf_use=no
46076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46078 ac_cpp='$CPP $CPPFLAGS'
46079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46088 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46090 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46091 for ac_func in isnanf
46093 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46094 if test "x$ac_cv_func_isnanf" = x""yes; then :
46095 cat >>confdefs.h <<_ACEOF
46096 #define HAVE_ISNANF 1
46104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46105 $as_echo_n "checking for _isnanf declaration... " >&6; }
46106 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46107 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46108 $as_echo_n "(cached) " >&6
46113 ac_cpp='$CXXCPP $CPPFLAGS'
46114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46119 /* end confdefs.h. */
46121 #ifdef HAVE_IEEEFP_H
46122 #include <ieeefp.h>
46133 if ac_fn_cxx_try_compile "$LINENO"; then :
46134 glibcxx_cv_func__isnanf_use=yes
46136 glibcxx_cv_func__isnanf_use=no
46138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46140 ac_cpp='$CPP $CPPFLAGS'
46141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46150 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46152 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46153 for ac_func in _isnanf
46155 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46156 if test "x$ac_cv_func__isnanf" = x""yes; then :
46157 cat >>confdefs.h <<_ACEOF
46158 #define HAVE__ISNANF 1
46171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46172 $as_echo_n "checking for isinff declaration... " >&6; }
46173 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46174 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46175 $as_echo_n "(cached) " >&6
46180 ac_cpp='$CXXCPP $CPPFLAGS'
46181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46186 /* end confdefs.h. */
46188 #ifdef HAVE_IEEEFP_H
46189 #include <ieeefp.h>
46200 if ac_fn_cxx_try_compile "$LINENO"; then :
46201 glibcxx_cv_func_isinff_use=yes
46203 glibcxx_cv_func_isinff_use=no
46205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46207 ac_cpp='$CPP $CPPFLAGS'
46208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46217 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46219 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46220 for ac_func in isinff
46222 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46223 if test "x$ac_cv_func_isinff" = x""yes; then :
46224 cat >>confdefs.h <<_ACEOF
46225 #define HAVE_ISINFF 1
46233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46234 $as_echo_n "checking for _isinff declaration... " >&6; }
46235 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46236 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46237 $as_echo_n "(cached) " >&6
46242 ac_cpp='$CXXCPP $CPPFLAGS'
46243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46248 /* end confdefs.h. */
46250 #ifdef HAVE_IEEEFP_H
46251 #include <ieeefp.h>
46262 if ac_fn_cxx_try_compile "$LINENO"; then :
46263 glibcxx_cv_func__isinff_use=yes
46265 glibcxx_cv_func__isinff_use=no
46267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46269 ac_cpp='$CPP $CPPFLAGS'
46270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46279 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46281 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46282 for ac_func in _isinff
46284 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46285 if test "x$ac_cv_func__isinff" = x""yes; then :
46286 cat >>confdefs.h <<_ACEOF
46287 #define HAVE__ISINFF 1
46300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46301 $as_echo_n "checking for atan2f declaration... " >&6; }
46302 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46303 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46304 $as_echo_n "(cached) " >&6
46309 ac_cpp='$CXXCPP $CPPFLAGS'
46310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46315 /* end confdefs.h. */
46325 if ac_fn_cxx_try_compile "$LINENO"; then :
46326 glibcxx_cv_func_atan2f_use=yes
46328 glibcxx_cv_func_atan2f_use=no
46330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46332 ac_cpp='$CPP $CPPFLAGS'
46333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46342 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46344 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46345 for ac_func in atan2f
46347 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46348 if test "x$ac_cv_func_atan2f" = x""yes; then :
46349 cat >>confdefs.h <<_ACEOF
46350 #define HAVE_ATAN2F 1
46358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46359 $as_echo_n "checking for _atan2f declaration... " >&6; }
46360 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46361 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46362 $as_echo_n "(cached) " >&6
46367 ac_cpp='$CXXCPP $CPPFLAGS'
46368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46373 /* end confdefs.h. */
46383 if ac_fn_cxx_try_compile "$LINENO"; then :
46384 glibcxx_cv_func__atan2f_use=yes
46386 glibcxx_cv_func__atan2f_use=no
46388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46390 ac_cpp='$CPP $CPPFLAGS'
46391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46400 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46402 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46403 for ac_func in _atan2f
46405 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46406 if test "x$ac_cv_func__atan2f" = x""yes; then :
46407 cat >>confdefs.h <<_ACEOF
46408 #define HAVE__ATAN2F 1
46421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46422 $as_echo_n "checking for fabsf declaration... " >&6; }
46423 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46424 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46425 $as_echo_n "(cached) " >&6
46430 ac_cpp='$CXXCPP $CPPFLAGS'
46431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46436 /* end confdefs.h. */
46438 #ifdef HAVE_IEEEFP_H
46439 #include <ieeefp.h>
46450 if ac_fn_cxx_try_compile "$LINENO"; then :
46451 glibcxx_cv_func_fabsf_use=yes
46453 glibcxx_cv_func_fabsf_use=no
46455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46457 ac_cpp='$CPP $CPPFLAGS'
46458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46467 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46469 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46470 for ac_func in fabsf
46472 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46473 if test "x$ac_cv_func_fabsf" = x""yes; then :
46474 cat >>confdefs.h <<_ACEOF
46475 #define HAVE_FABSF 1
46483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46484 $as_echo_n "checking for _fabsf declaration... " >&6; }
46485 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46486 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46487 $as_echo_n "(cached) " >&6
46492 ac_cpp='$CXXCPP $CPPFLAGS'
46493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46498 /* end confdefs.h. */
46500 #ifdef HAVE_IEEEFP_H
46501 #include <ieeefp.h>
46512 if ac_fn_cxx_try_compile "$LINENO"; then :
46513 glibcxx_cv_func__fabsf_use=yes
46515 glibcxx_cv_func__fabsf_use=no
46517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46519 ac_cpp='$CPP $CPPFLAGS'
46520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46529 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46531 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46532 for ac_func in _fabsf
46534 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46535 if test "x$ac_cv_func__fabsf" = x""yes; then :
46536 cat >>confdefs.h <<_ACEOF
46537 #define HAVE__FABSF 1
46550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46551 $as_echo_n "checking for fmodf declaration... " >&6; }
46552 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46553 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46554 $as_echo_n "(cached) " >&6
46559 ac_cpp='$CXXCPP $CPPFLAGS'
46560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46565 /* end confdefs.h. */
46575 if ac_fn_cxx_try_compile "$LINENO"; then :
46576 glibcxx_cv_func_fmodf_use=yes
46578 glibcxx_cv_func_fmodf_use=no
46580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46582 ac_cpp='$CPP $CPPFLAGS'
46583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46592 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46594 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46595 for ac_func in fmodf
46597 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46598 if test "x$ac_cv_func_fmodf" = x""yes; then :
46599 cat >>confdefs.h <<_ACEOF
46600 #define HAVE_FMODF 1
46608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46609 $as_echo_n "checking for _fmodf declaration... " >&6; }
46610 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46611 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46612 $as_echo_n "(cached) " >&6
46617 ac_cpp='$CXXCPP $CPPFLAGS'
46618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46623 /* end confdefs.h. */
46633 if ac_fn_cxx_try_compile "$LINENO"; then :
46634 glibcxx_cv_func__fmodf_use=yes
46636 glibcxx_cv_func__fmodf_use=no
46638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46640 ac_cpp='$CPP $CPPFLAGS'
46641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46650 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46652 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46653 for ac_func in _fmodf
46655 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46656 if test "x$ac_cv_func__fmodf" = x""yes; then :
46657 cat >>confdefs.h <<_ACEOF
46658 #define HAVE__FMODF 1
46671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46672 $as_echo_n "checking for frexpf declaration... " >&6; }
46673 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46674 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46675 $as_echo_n "(cached) " >&6
46680 ac_cpp='$CXXCPP $CPPFLAGS'
46681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46686 /* end confdefs.h. */
46696 if ac_fn_cxx_try_compile "$LINENO"; then :
46697 glibcxx_cv_func_frexpf_use=yes
46699 glibcxx_cv_func_frexpf_use=no
46701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46703 ac_cpp='$CPP $CPPFLAGS'
46704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46713 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46715 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46716 for ac_func in frexpf
46718 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46719 if test "x$ac_cv_func_frexpf" = x""yes; then :
46720 cat >>confdefs.h <<_ACEOF
46721 #define HAVE_FREXPF 1
46729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46730 $as_echo_n "checking for _frexpf declaration... " >&6; }
46731 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46732 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46733 $as_echo_n "(cached) " >&6
46738 ac_cpp='$CXXCPP $CPPFLAGS'
46739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46744 /* end confdefs.h. */
46754 if ac_fn_cxx_try_compile "$LINENO"; then :
46755 glibcxx_cv_func__frexpf_use=yes
46757 glibcxx_cv_func__frexpf_use=no
46759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46761 ac_cpp='$CPP $CPPFLAGS'
46762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46771 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46773 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46774 for ac_func in _frexpf
46776 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46777 if test "x$ac_cv_func__frexpf" = x""yes; then :
46778 cat >>confdefs.h <<_ACEOF
46779 #define HAVE__FREXPF 1
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46793 $as_echo_n "checking for hypotf declaration... " >&6; }
46794 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46795 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46796 $as_echo_n "(cached) " >&6
46801 ac_cpp='$CXXCPP $CPPFLAGS'
46802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46807 /* end confdefs.h. */
46817 if ac_fn_cxx_try_compile "$LINENO"; then :
46818 glibcxx_cv_func_hypotf_use=yes
46820 glibcxx_cv_func_hypotf_use=no
46822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46824 ac_cpp='$CPP $CPPFLAGS'
46825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46834 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46836 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46837 for ac_func in hypotf
46839 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46840 if test "x$ac_cv_func_hypotf" = x""yes; then :
46841 cat >>confdefs.h <<_ACEOF
46842 #define HAVE_HYPOTF 1
46850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46851 $as_echo_n "checking for _hypotf declaration... " >&6; }
46852 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46853 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46854 $as_echo_n "(cached) " >&6
46859 ac_cpp='$CXXCPP $CPPFLAGS'
46860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46865 /* end confdefs.h. */
46875 if ac_fn_cxx_try_compile "$LINENO"; then :
46876 glibcxx_cv_func__hypotf_use=yes
46878 glibcxx_cv_func__hypotf_use=no
46880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46882 ac_cpp='$CPP $CPPFLAGS'
46883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46892 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46894 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46895 for ac_func in _hypotf
46897 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46898 if test "x$ac_cv_func__hypotf" = x""yes; then :
46899 cat >>confdefs.h <<_ACEOF
46900 #define HAVE__HYPOTF 1
46913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46914 $as_echo_n "checking for ldexpf declaration... " >&6; }
46915 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46916 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46917 $as_echo_n "(cached) " >&6
46922 ac_cpp='$CXXCPP $CPPFLAGS'
46923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46928 /* end confdefs.h. */
46938 if ac_fn_cxx_try_compile "$LINENO"; then :
46939 glibcxx_cv_func_ldexpf_use=yes
46941 glibcxx_cv_func_ldexpf_use=no
46943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46945 ac_cpp='$CPP $CPPFLAGS'
46946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46955 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46957 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46958 for ac_func in ldexpf
46960 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46961 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46962 cat >>confdefs.h <<_ACEOF
46963 #define HAVE_LDEXPF 1
46971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46972 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46973 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46974 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46975 $as_echo_n "(cached) " >&6
46980 ac_cpp='$CXXCPP $CPPFLAGS'
46981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46986 /* end confdefs.h. */
46996 if ac_fn_cxx_try_compile "$LINENO"; then :
46997 glibcxx_cv_func__ldexpf_use=yes
46999 glibcxx_cv_func__ldexpf_use=no
47001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47003 ac_cpp='$CPP $CPPFLAGS'
47004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47013 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47015 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47016 for ac_func in _ldexpf
47018 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47019 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47020 cat >>confdefs.h <<_ACEOF
47021 #define HAVE__LDEXPF 1
47034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47035 $as_echo_n "checking for logf declaration... " >&6; }
47036 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47037 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47038 $as_echo_n "(cached) " >&6
47043 ac_cpp='$CXXCPP $CPPFLAGS'
47044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47049 /* end confdefs.h. */
47051 #ifdef HAVE_IEEEFP_H
47052 #include <ieeefp.h>
47063 if ac_fn_cxx_try_compile "$LINENO"; then :
47064 glibcxx_cv_func_logf_use=yes
47066 glibcxx_cv_func_logf_use=no
47068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47070 ac_cpp='$CPP $CPPFLAGS'
47071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47080 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47082 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47083 for ac_func in logf
47085 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47086 if test "x$ac_cv_func_logf" = x""yes; then :
47087 cat >>confdefs.h <<_ACEOF
47088 #define HAVE_LOGF 1
47096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47097 $as_echo_n "checking for _logf declaration... " >&6; }
47098 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47099 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47100 $as_echo_n "(cached) " >&6
47105 ac_cpp='$CXXCPP $CPPFLAGS'
47106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47111 /* end confdefs.h. */
47113 #ifdef HAVE_IEEEFP_H
47114 #include <ieeefp.h>
47125 if ac_fn_cxx_try_compile "$LINENO"; then :
47126 glibcxx_cv_func__logf_use=yes
47128 glibcxx_cv_func__logf_use=no
47130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47132 ac_cpp='$CPP $CPPFLAGS'
47133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47142 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47144 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47145 for ac_func in _logf
47147 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47148 if test "x$ac_cv_func__logf" = x""yes; then :
47149 cat >>confdefs.h <<_ACEOF
47150 #define HAVE__LOGF 1
47163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47164 $as_echo_n "checking for log10f declaration... " >&6; }
47165 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47166 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47167 $as_echo_n "(cached) " >&6
47172 ac_cpp='$CXXCPP $CPPFLAGS'
47173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47178 /* end confdefs.h. */
47180 #ifdef HAVE_IEEEFP_H
47181 #include <ieeefp.h>
47192 if ac_fn_cxx_try_compile "$LINENO"; then :
47193 glibcxx_cv_func_log10f_use=yes
47195 glibcxx_cv_func_log10f_use=no
47197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47199 ac_cpp='$CPP $CPPFLAGS'
47200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47209 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47211 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47212 for ac_func in log10f
47214 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47215 if test "x$ac_cv_func_log10f" = x""yes; then :
47216 cat >>confdefs.h <<_ACEOF
47217 #define HAVE_LOG10F 1
47225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47226 $as_echo_n "checking for _log10f declaration... " >&6; }
47227 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47228 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47229 $as_echo_n "(cached) " >&6
47234 ac_cpp='$CXXCPP $CPPFLAGS'
47235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47240 /* end confdefs.h. */
47242 #ifdef HAVE_IEEEFP_H
47243 #include <ieeefp.h>
47254 if ac_fn_cxx_try_compile "$LINENO"; then :
47255 glibcxx_cv_func__log10f_use=yes
47257 glibcxx_cv_func__log10f_use=no
47259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47261 ac_cpp='$CPP $CPPFLAGS'
47262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47271 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47273 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47274 for ac_func in _log10f
47276 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47277 if test "x$ac_cv_func__log10f" = x""yes; then :
47278 cat >>confdefs.h <<_ACEOF
47279 #define HAVE__LOG10F 1
47292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47293 $as_echo_n "checking for modff declaration... " >&6; }
47294 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47295 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47296 $as_echo_n "(cached) " >&6
47301 ac_cpp='$CXXCPP $CPPFLAGS'
47302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47307 /* end confdefs.h. */
47317 if ac_fn_cxx_try_compile "$LINENO"; then :
47318 glibcxx_cv_func_modff_use=yes
47320 glibcxx_cv_func_modff_use=no
47322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47324 ac_cpp='$CPP $CPPFLAGS'
47325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47334 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47336 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47337 for ac_func in modff
47339 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47340 if test "x$ac_cv_func_modff" = x""yes; then :
47341 cat >>confdefs.h <<_ACEOF
47342 #define HAVE_MODFF 1
47350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47351 $as_echo_n "checking for _modff declaration... " >&6; }
47352 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47353 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47354 $as_echo_n "(cached) " >&6
47359 ac_cpp='$CXXCPP $CPPFLAGS'
47360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47365 /* end confdefs.h. */
47375 if ac_fn_cxx_try_compile "$LINENO"; then :
47376 glibcxx_cv_func__modff_use=yes
47378 glibcxx_cv_func__modff_use=no
47380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47382 ac_cpp='$CPP $CPPFLAGS'
47383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47392 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47394 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47395 for ac_func in _modff
47397 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47398 if test "x$ac_cv_func__modff" = x""yes; then :
47399 cat >>confdefs.h <<_ACEOF
47400 #define HAVE__MODFF 1
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47414 $as_echo_n "checking for modf declaration... " >&6; }
47415 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47416 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47417 $as_echo_n "(cached) " >&6
47422 ac_cpp='$CXXCPP $CPPFLAGS'
47423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47428 /* end confdefs.h. */
47438 if ac_fn_cxx_try_compile "$LINENO"; then :
47439 glibcxx_cv_func_modf_use=yes
47441 glibcxx_cv_func_modf_use=no
47443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47445 ac_cpp='$CPP $CPPFLAGS'
47446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47455 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47457 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47458 for ac_func in modf
47460 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47461 if test "x$ac_cv_func_modf" = x""yes; then :
47462 cat >>confdefs.h <<_ACEOF
47463 #define HAVE_MODF 1
47471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47472 $as_echo_n "checking for _modf declaration... " >&6; }
47473 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47474 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47475 $as_echo_n "(cached) " >&6
47480 ac_cpp='$CXXCPP $CPPFLAGS'
47481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47486 /* end confdefs.h. */
47496 if ac_fn_cxx_try_compile "$LINENO"; then :
47497 glibcxx_cv_func__modf_use=yes
47499 glibcxx_cv_func__modf_use=no
47501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47503 ac_cpp='$CPP $CPPFLAGS'
47504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47513 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47515 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47516 for ac_func in _modf
47518 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47519 if test "x$ac_cv_func__modf" = x""yes; then :
47520 cat >>confdefs.h <<_ACEOF
47521 #define HAVE__MODF 1
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47535 $as_echo_n "checking for powf declaration... " >&6; }
47536 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47537 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47538 $as_echo_n "(cached) " >&6
47543 ac_cpp='$CXXCPP $CPPFLAGS'
47544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47549 /* end confdefs.h. */
47559 if ac_fn_cxx_try_compile "$LINENO"; then :
47560 glibcxx_cv_func_powf_use=yes
47562 glibcxx_cv_func_powf_use=no
47564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47566 ac_cpp='$CPP $CPPFLAGS'
47567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47576 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47578 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47579 for ac_func in powf
47581 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47582 if test "x$ac_cv_func_powf" = x""yes; then :
47583 cat >>confdefs.h <<_ACEOF
47584 #define HAVE_POWF 1
47592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47593 $as_echo_n "checking for _powf declaration... " >&6; }
47594 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47595 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47596 $as_echo_n "(cached) " >&6
47601 ac_cpp='$CXXCPP $CPPFLAGS'
47602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47607 /* end confdefs.h. */
47617 if ac_fn_cxx_try_compile "$LINENO"; then :
47618 glibcxx_cv_func__powf_use=yes
47620 glibcxx_cv_func__powf_use=no
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47624 ac_cpp='$CPP $CPPFLAGS'
47625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47634 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47636 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47637 for ac_func in _powf
47639 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47640 if test "x$ac_cv_func__powf" = x""yes; then :
47641 cat >>confdefs.h <<_ACEOF
47642 #define HAVE__POWF 1
47655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47656 $as_echo_n "checking for sqrtf declaration... " >&6; }
47657 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47658 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47659 $as_echo_n "(cached) " >&6
47664 ac_cpp='$CXXCPP $CPPFLAGS'
47665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47670 /* end confdefs.h. */
47672 #ifdef HAVE_IEEEFP_H
47673 #include <ieeefp.h>
47684 if ac_fn_cxx_try_compile "$LINENO"; then :
47685 glibcxx_cv_func_sqrtf_use=yes
47687 glibcxx_cv_func_sqrtf_use=no
47689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47691 ac_cpp='$CPP $CPPFLAGS'
47692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47701 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47703 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47704 for ac_func in sqrtf
47706 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47707 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47708 cat >>confdefs.h <<_ACEOF
47709 #define HAVE_SQRTF 1
47717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47718 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47719 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47720 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47721 $as_echo_n "(cached) " >&6
47726 ac_cpp='$CXXCPP $CPPFLAGS'
47727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47732 /* end confdefs.h. */
47734 #ifdef HAVE_IEEEFP_H
47735 #include <ieeefp.h>
47746 if ac_fn_cxx_try_compile "$LINENO"; then :
47747 glibcxx_cv_func__sqrtf_use=yes
47749 glibcxx_cv_func__sqrtf_use=no
47751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47753 ac_cpp='$CPP $CPPFLAGS'
47754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47763 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47765 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47766 for ac_func in _sqrtf
47768 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47769 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47770 cat >>confdefs.h <<_ACEOF
47771 #define HAVE__SQRTF 1
47784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47785 $as_echo_n "checking for sincosf declaration... " >&6; }
47786 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47787 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47788 $as_echo_n "(cached) " >&6
47793 ac_cpp='$CXXCPP $CPPFLAGS'
47794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47799 /* end confdefs.h. */
47809 if ac_fn_cxx_try_compile "$LINENO"; then :
47810 glibcxx_cv_func_sincosf_use=yes
47812 glibcxx_cv_func_sincosf_use=no
47814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47816 ac_cpp='$CPP $CPPFLAGS'
47817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47826 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47828 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47829 for ac_func in sincosf
47831 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47832 if test "x$ac_cv_func_sincosf" = x""yes; then :
47833 cat >>confdefs.h <<_ACEOF
47834 #define HAVE_SINCOSF 1
47842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47843 $as_echo_n "checking for _sincosf declaration... " >&6; }
47844 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47845 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47846 $as_echo_n "(cached) " >&6
47851 ac_cpp='$CXXCPP $CPPFLAGS'
47852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47857 /* end confdefs.h. */
47867 if ac_fn_cxx_try_compile "$LINENO"; then :
47868 glibcxx_cv_func__sincosf_use=yes
47870 glibcxx_cv_func__sincosf_use=no
47872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47874 ac_cpp='$CPP $CPPFLAGS'
47875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47884 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47886 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47887 for ac_func in _sincosf
47889 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47890 if test "x$ac_cv_func__sincosf" = x""yes; then :
47891 cat >>confdefs.h <<_ACEOF
47892 #define HAVE__SINCOSF 1
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47906 $as_echo_n "checking for finitef declaration... " >&6; }
47907 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47908 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47909 $as_echo_n "(cached) " >&6
47914 ac_cpp='$CXXCPP $CPPFLAGS'
47915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47920 /* end confdefs.h. */
47922 #ifdef HAVE_IEEEFP_H
47923 #include <ieeefp.h>
47934 if ac_fn_cxx_try_compile "$LINENO"; then :
47935 glibcxx_cv_func_finitef_use=yes
47937 glibcxx_cv_func_finitef_use=no
47939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47941 ac_cpp='$CPP $CPPFLAGS'
47942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47951 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47953 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47954 for ac_func in finitef
47956 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47957 if test "x$ac_cv_func_finitef" = x""yes; then :
47958 cat >>confdefs.h <<_ACEOF
47959 #define HAVE_FINITEF 1
47967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47968 $as_echo_n "checking for _finitef declaration... " >&6; }
47969 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47970 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47971 $as_echo_n "(cached) " >&6
47976 ac_cpp='$CXXCPP $CPPFLAGS'
47977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47982 /* end confdefs.h. */
47984 #ifdef HAVE_IEEEFP_H
47985 #include <ieeefp.h>
47996 if ac_fn_cxx_try_compile "$LINENO"; then :
47997 glibcxx_cv_func__finitef_use=yes
47999 glibcxx_cv_func__finitef_use=no
48001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48003 ac_cpp='$CPP $CPPFLAGS'
48004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48013 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48015 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48016 for ac_func in _finitef
48018 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48019 if test "x$ac_cv_func__finitef" = x""yes; then :
48020 cat >>confdefs.h <<_ACEOF
48021 #define HAVE__FINITEF 1
48034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48035 $as_echo_n "checking for long double trig functions... " >&6; }
48036 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48037 $as_echo_n "(cached) " >&6
48042 ac_cpp='$CXXCPP $CPPFLAGS'
48043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48048 /* end confdefs.h. */
48053 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48058 if ac_fn_cxx_try_compile "$LINENO"; then :
48059 glibcxx_cv_func_long_double_trig_use=yes
48061 glibcxx_cv_func_long_double_trig_use=no
48063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065 ac_cpp='$CPP $CPPFLAGS'
48066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48073 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48074 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48075 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48079 eval as_val=\$$as_ac_var
48080 if test "x$as_val" = x""yes; then :
48081 cat >>confdefs.h <<_ACEOF
48082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48090 $as_echo_n "checking for _long double trig functions... " >&6; }
48091 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48092 $as_echo_n "(cached) " >&6
48097 ac_cpp='$CXXCPP $CPPFLAGS'
48098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48103 /* end confdefs.h. */
48108 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48113 if ac_fn_cxx_try_compile "$LINENO"; then :
48114 glibcxx_cv_func__long_double_trig_use=yes
48116 glibcxx_cv_func__long_double_trig_use=no
48118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48120 ac_cpp='$CPP $CPPFLAGS'
48121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48128 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48129 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48130 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48134 eval as_val=\$$as_ac_var
48135 if test "x$as_val" = x""yes; then :
48136 cat >>confdefs.h <<_ACEOF
48137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48151 $as_echo_n "checking for long double round functions... " >&6; }
48152 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48153 $as_echo_n "(cached) " >&6
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h. */
48169 ceill (0); floorl (0);
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175 glibcxx_cv_func_long_double_round_use=yes
48177 glibcxx_cv_func_long_double_round_use=no
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48189 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48190 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48191 for ac_func in ceill floorl
48193 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48194 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48195 eval as_val=\$$as_ac_var
48196 if test "x$as_val" = x""yes; then :
48197 cat >>confdefs.h <<_ACEOF
48198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48206 $as_echo_n "checking for _long double round functions... " >&6; }
48207 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48208 $as_echo_n "(cached) " >&6
48213 ac_cpp='$CXXCPP $CPPFLAGS'
48214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48219 /* end confdefs.h. */
48224 _ceill (0); _floorl (0);
48229 if ac_fn_cxx_try_compile "$LINENO"; then :
48230 glibcxx_cv_func__long_double_round_use=yes
48232 glibcxx_cv_func__long_double_round_use=no
48234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48236 ac_cpp='$CPP $CPPFLAGS'
48237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48244 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48245 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48246 for ac_func in _ceill _floorl
48248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48250 eval as_val=\$$as_ac_var
48251 if test "x$as_val" = x""yes; then :
48252 cat >>confdefs.h <<_ACEOF
48253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48268 $as_echo_n "checking for isnanl declaration... " >&6; }
48269 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48270 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48271 $as_echo_n "(cached) " >&6
48276 ac_cpp='$CXXCPP $CPPFLAGS'
48277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48282 /* end confdefs.h. */
48284 #ifdef HAVE_IEEEFP_H
48285 #include <ieeefp.h>
48296 if ac_fn_cxx_try_compile "$LINENO"; then :
48297 glibcxx_cv_func_isnanl_use=yes
48299 glibcxx_cv_func_isnanl_use=no
48301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48303 ac_cpp='$CPP $CPPFLAGS'
48304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48313 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48315 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48316 for ac_func in isnanl
48318 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48319 if test "x$ac_cv_func_isnanl" = x""yes; then :
48320 cat >>confdefs.h <<_ACEOF
48321 #define HAVE_ISNANL 1
48329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48330 $as_echo_n "checking for _isnanl declaration... " >&6; }
48331 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48332 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48333 $as_echo_n "(cached) " >&6
48338 ac_cpp='$CXXCPP $CPPFLAGS'
48339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48344 /* end confdefs.h. */
48346 #ifdef HAVE_IEEEFP_H
48347 #include <ieeefp.h>
48358 if ac_fn_cxx_try_compile "$LINENO"; then :
48359 glibcxx_cv_func__isnanl_use=yes
48361 glibcxx_cv_func__isnanl_use=no
48363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365 ac_cpp='$CPP $CPPFLAGS'
48366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48375 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48377 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48378 for ac_func in _isnanl
48380 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48381 if test "x$ac_cv_func__isnanl" = x""yes; then :
48382 cat >>confdefs.h <<_ACEOF
48383 #define HAVE__ISNANL 1
48396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48397 $as_echo_n "checking for isinfl declaration... " >&6; }
48398 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48399 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48400 $as_echo_n "(cached) " >&6
48405 ac_cpp='$CXXCPP $CPPFLAGS'
48406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48411 /* end confdefs.h. */
48413 #ifdef HAVE_IEEEFP_H
48414 #include <ieeefp.h>
48425 if ac_fn_cxx_try_compile "$LINENO"; then :
48426 glibcxx_cv_func_isinfl_use=yes
48428 glibcxx_cv_func_isinfl_use=no
48430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48432 ac_cpp='$CPP $CPPFLAGS'
48433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48442 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48444 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48445 for ac_func in isinfl
48447 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48448 if test "x$ac_cv_func_isinfl" = x""yes; then :
48449 cat >>confdefs.h <<_ACEOF
48450 #define HAVE_ISINFL 1
48458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48459 $as_echo_n "checking for _isinfl declaration... " >&6; }
48460 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48461 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48462 $as_echo_n "(cached) " >&6
48467 ac_cpp='$CXXCPP $CPPFLAGS'
48468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48473 /* end confdefs.h. */
48475 #ifdef HAVE_IEEEFP_H
48476 #include <ieeefp.h>
48487 if ac_fn_cxx_try_compile "$LINENO"; then :
48488 glibcxx_cv_func__isinfl_use=yes
48490 glibcxx_cv_func__isinfl_use=no
48492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48494 ac_cpp='$CPP $CPPFLAGS'
48495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48504 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48506 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48507 for ac_func in _isinfl
48509 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48510 if test "x$ac_cv_func__isinfl" = x""yes; then :
48511 cat >>confdefs.h <<_ACEOF
48512 #define HAVE__ISINFL 1
48525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48526 $as_echo_n "checking for atan2l declaration... " >&6; }
48527 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48528 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48529 $as_echo_n "(cached) " >&6
48534 ac_cpp='$CXXCPP $CPPFLAGS'
48535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48540 /* end confdefs.h. */
48550 if ac_fn_cxx_try_compile "$LINENO"; then :
48551 glibcxx_cv_func_atan2l_use=yes
48553 glibcxx_cv_func_atan2l_use=no
48555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48557 ac_cpp='$CPP $CPPFLAGS'
48558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48567 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48569 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48570 for ac_func in atan2l
48572 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48573 if test "x$ac_cv_func_atan2l" = x""yes; then :
48574 cat >>confdefs.h <<_ACEOF
48575 #define HAVE_ATAN2L 1
48583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48584 $as_echo_n "checking for _atan2l declaration... " >&6; }
48585 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48586 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48587 $as_echo_n "(cached) " >&6
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h. */
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609 glibcxx_cv_func__atan2l_use=yes
48611 glibcxx_cv_func__atan2l_use=no
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48625 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48627 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48628 for ac_func in _atan2l
48630 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48631 if test "x$ac_cv_func__atan2l" = x""yes; then :
48632 cat >>confdefs.h <<_ACEOF
48633 #define HAVE__ATAN2L 1
48646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48647 $as_echo_n "checking for expl declaration... " >&6; }
48648 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48649 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48650 $as_echo_n "(cached) " >&6
48655 ac_cpp='$CXXCPP $CPPFLAGS'
48656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48661 /* end confdefs.h. */
48663 #ifdef HAVE_IEEEFP_H
48664 #include <ieeefp.h>
48675 if ac_fn_cxx_try_compile "$LINENO"; then :
48676 glibcxx_cv_func_expl_use=yes
48678 glibcxx_cv_func_expl_use=no
48680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48682 ac_cpp='$CPP $CPPFLAGS'
48683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48692 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48694 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48695 for ac_func in expl
48697 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48698 if test "x$ac_cv_func_expl" = x""yes; then :
48699 cat >>confdefs.h <<_ACEOF
48700 #define HAVE_EXPL 1
48708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48709 $as_echo_n "checking for _expl declaration... " >&6; }
48710 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48711 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48712 $as_echo_n "(cached) " >&6
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48723 /* end confdefs.h. */
48725 #ifdef HAVE_IEEEFP_H
48726 #include <ieeefp.h>
48737 if ac_fn_cxx_try_compile "$LINENO"; then :
48738 glibcxx_cv_func__expl_use=yes
48740 glibcxx_cv_func__expl_use=no
48742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48744 ac_cpp='$CPP $CPPFLAGS'
48745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48754 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48756 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48757 for ac_func in _expl
48759 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48760 if test "x$ac_cv_func__expl" = x""yes; then :
48761 cat >>confdefs.h <<_ACEOF
48762 #define HAVE__EXPL 1
48775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48776 $as_echo_n "checking for fabsl declaration... " >&6; }
48777 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48778 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48779 $as_echo_n "(cached) " >&6
48784 ac_cpp='$CXXCPP $CPPFLAGS'
48785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48790 /* end confdefs.h. */
48792 #ifdef HAVE_IEEEFP_H
48793 #include <ieeefp.h>
48804 if ac_fn_cxx_try_compile "$LINENO"; then :
48805 glibcxx_cv_func_fabsl_use=yes
48807 glibcxx_cv_func_fabsl_use=no
48809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48811 ac_cpp='$CPP $CPPFLAGS'
48812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48821 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48823 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48824 for ac_func in fabsl
48826 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48827 if test "x$ac_cv_func_fabsl" = x""yes; then :
48828 cat >>confdefs.h <<_ACEOF
48829 #define HAVE_FABSL 1
48837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48838 $as_echo_n "checking for _fabsl declaration... " >&6; }
48839 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48840 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48841 $as_echo_n "(cached) " >&6
48846 ac_cpp='$CXXCPP $CPPFLAGS'
48847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48852 /* end confdefs.h. */
48854 #ifdef HAVE_IEEEFP_H
48855 #include <ieeefp.h>
48866 if ac_fn_cxx_try_compile "$LINENO"; then :
48867 glibcxx_cv_func__fabsl_use=yes
48869 glibcxx_cv_func__fabsl_use=no
48871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48873 ac_cpp='$CPP $CPPFLAGS'
48874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48883 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48885 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48886 for ac_func in _fabsl
48888 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48889 if test "x$ac_cv_func__fabsl" = x""yes; then :
48890 cat >>confdefs.h <<_ACEOF
48891 #define HAVE__FABSL 1
48904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48905 $as_echo_n "checking for fmodl declaration... " >&6; }
48906 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48907 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48908 $as_echo_n "(cached) " >&6
48913 ac_cpp='$CXXCPP $CPPFLAGS'
48914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48919 /* end confdefs.h. */
48929 if ac_fn_cxx_try_compile "$LINENO"; then :
48930 glibcxx_cv_func_fmodl_use=yes
48932 glibcxx_cv_func_fmodl_use=no
48934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48936 ac_cpp='$CPP $CPPFLAGS'
48937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48946 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48948 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48949 for ac_func in fmodl
48951 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48952 if test "x$ac_cv_func_fmodl" = x""yes; then :
48953 cat >>confdefs.h <<_ACEOF
48954 #define HAVE_FMODL 1
48962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48963 $as_echo_n "checking for _fmodl declaration... " >&6; }
48964 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48965 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48966 $as_echo_n "(cached) " >&6
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48977 /* end confdefs.h. */
48987 if ac_fn_cxx_try_compile "$LINENO"; then :
48988 glibcxx_cv_func__fmodl_use=yes
48990 glibcxx_cv_func__fmodl_use=no
48992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48994 ac_cpp='$CPP $CPPFLAGS'
48995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49004 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49006 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49007 for ac_func in _fmodl
49009 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49010 if test "x$ac_cv_func__fmodl" = x""yes; then :
49011 cat >>confdefs.h <<_ACEOF
49012 #define HAVE__FMODL 1
49025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49026 $as_echo_n "checking for frexpl declaration... " >&6; }
49027 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49028 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49029 $as_echo_n "(cached) " >&6
49034 ac_cpp='$CXXCPP $CPPFLAGS'
49035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49040 /* end confdefs.h. */
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051 glibcxx_cv_func_frexpl_use=yes
49053 glibcxx_cv_func_frexpl_use=no
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49067 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49069 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49070 for ac_func in frexpl
49072 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49073 if test "x$ac_cv_func_frexpl" = x""yes; then :
49074 cat >>confdefs.h <<_ACEOF
49075 #define HAVE_FREXPL 1
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49084 $as_echo_n "checking for _frexpl declaration... " >&6; }
49085 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49086 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49108 if ac_fn_cxx_try_compile "$LINENO"; then :
49109 glibcxx_cv_func__frexpl_use=yes
49111 glibcxx_cv_func__frexpl_use=no
49113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49115 ac_cpp='$CPP $CPPFLAGS'
49116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49125 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49127 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49128 for ac_func in _frexpl
49130 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49131 if test "x$ac_cv_func__frexpl" = x""yes; then :
49132 cat >>confdefs.h <<_ACEOF
49133 #define HAVE__FREXPL 1
49146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49147 $as_echo_n "checking for hypotl declaration... " >&6; }
49148 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49149 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49150 $as_echo_n "(cached) " >&6
49155 ac_cpp='$CXXCPP $CPPFLAGS'
49156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49161 /* end confdefs.h. */
49171 if ac_fn_cxx_try_compile "$LINENO"; then :
49172 glibcxx_cv_func_hypotl_use=yes
49174 glibcxx_cv_func_hypotl_use=no
49176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49178 ac_cpp='$CPP $CPPFLAGS'
49179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49188 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49190 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49191 for ac_func in hypotl
49193 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49194 if test "x$ac_cv_func_hypotl" = x""yes; then :
49195 cat >>confdefs.h <<_ACEOF
49196 #define HAVE_HYPOTL 1
49204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49205 $as_echo_n "checking for _hypotl declaration... " >&6; }
49206 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49207 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49208 $as_echo_n "(cached) " >&6
49213 ac_cpp='$CXXCPP $CPPFLAGS'
49214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49219 /* end confdefs.h. */
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230 glibcxx_cv_func__hypotl_use=yes
49232 glibcxx_cv_func__hypotl_use=no
49234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49236 ac_cpp='$CPP $CPPFLAGS'
49237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49246 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49248 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49249 for ac_func in _hypotl
49251 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49252 if test "x$ac_cv_func__hypotl" = x""yes; then :
49253 cat >>confdefs.h <<_ACEOF
49254 #define HAVE__HYPOTL 1
49267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49268 $as_echo_n "checking for ldexpl declaration... " >&6; }
49269 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49270 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49271 $as_echo_n "(cached) " >&6
49276 ac_cpp='$CXXCPP $CPPFLAGS'
49277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49282 /* end confdefs.h. */
49292 if ac_fn_cxx_try_compile "$LINENO"; then :
49293 glibcxx_cv_func_ldexpl_use=yes
49295 glibcxx_cv_func_ldexpl_use=no
49297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49299 ac_cpp='$CPP $CPPFLAGS'
49300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49309 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49311 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49312 for ac_func in ldexpl
49314 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49315 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49316 cat >>confdefs.h <<_ACEOF
49317 #define HAVE_LDEXPL 1
49325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49326 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49327 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49328 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49329 $as_echo_n "(cached) " >&6
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h. */
49350 if ac_fn_cxx_try_compile "$LINENO"; then :
49351 glibcxx_cv_func__ldexpl_use=yes
49353 glibcxx_cv_func__ldexpl_use=no
49355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49357 ac_cpp='$CPP $CPPFLAGS'
49358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49367 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49369 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49370 for ac_func in _ldexpl
49372 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49373 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49374 cat >>confdefs.h <<_ACEOF
49375 #define HAVE__LDEXPL 1
49388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49389 $as_echo_n "checking for logl declaration... " >&6; }
49390 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49391 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49392 $as_echo_n "(cached) " >&6
49397 ac_cpp='$CXXCPP $CPPFLAGS'
49398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49403 /* end confdefs.h. */
49405 #ifdef HAVE_IEEEFP_H
49406 #include <ieeefp.h>
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418 glibcxx_cv_func_logl_use=yes
49420 glibcxx_cv_func_logl_use=no
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49434 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49436 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49437 for ac_func in logl
49439 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49440 if test "x$ac_cv_func_logl" = x""yes; then :
49441 cat >>confdefs.h <<_ACEOF
49442 #define HAVE_LOGL 1
49450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49451 $as_echo_n "checking for _logl declaration... " >&6; }
49452 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49453 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49454 $as_echo_n "(cached) " >&6
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h. */
49467 #ifdef HAVE_IEEEFP_H
49468 #include <ieeefp.h>
49479 if ac_fn_cxx_try_compile "$LINENO"; then :
49480 glibcxx_cv_func__logl_use=yes
49482 glibcxx_cv_func__logl_use=no
49484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49486 ac_cpp='$CPP $CPPFLAGS'
49487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49496 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49498 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49499 for ac_func in _logl
49501 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49502 if test "x$ac_cv_func__logl" = x""yes; then :
49503 cat >>confdefs.h <<_ACEOF
49504 #define HAVE__LOGL 1
49517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49518 $as_echo_n "checking for log10l declaration... " >&6; }
49519 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49520 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49521 $as_echo_n "(cached) " >&6
49526 ac_cpp='$CXXCPP $CPPFLAGS'
49527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49532 /* end confdefs.h. */
49534 #ifdef HAVE_IEEEFP_H
49535 #include <ieeefp.h>
49546 if ac_fn_cxx_try_compile "$LINENO"; then :
49547 glibcxx_cv_func_log10l_use=yes
49549 glibcxx_cv_func_log10l_use=no
49551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49553 ac_cpp='$CPP $CPPFLAGS'
49554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49563 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49565 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49566 for ac_func in log10l
49568 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49569 if test "x$ac_cv_func_log10l" = x""yes; then :
49570 cat >>confdefs.h <<_ACEOF
49571 #define HAVE_LOG10L 1
49579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49580 $as_echo_n "checking for _log10l declaration... " >&6; }
49581 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49582 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49583 $as_echo_n "(cached) " >&6
49588 ac_cpp='$CXXCPP $CPPFLAGS'
49589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49594 /* end confdefs.h. */
49596 #ifdef HAVE_IEEEFP_H
49597 #include <ieeefp.h>
49608 if ac_fn_cxx_try_compile "$LINENO"; then :
49609 glibcxx_cv_func__log10l_use=yes
49611 glibcxx_cv_func__log10l_use=no
49613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49615 ac_cpp='$CPP $CPPFLAGS'
49616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49625 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49627 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49628 for ac_func in _log10l
49630 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49631 if test "x$ac_cv_func__log10l" = x""yes; then :
49632 cat >>confdefs.h <<_ACEOF
49633 #define HAVE__LOG10L 1
49646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49647 $as_echo_n "checking for modfl declaration... " >&6; }
49648 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49649 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49650 $as_echo_n "(cached) " >&6
49655 ac_cpp='$CXXCPP $CPPFLAGS'
49656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49661 /* end confdefs.h. */
49671 if ac_fn_cxx_try_compile "$LINENO"; then :
49672 glibcxx_cv_func_modfl_use=yes
49674 glibcxx_cv_func_modfl_use=no
49676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49678 ac_cpp='$CPP $CPPFLAGS'
49679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49688 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49690 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49691 for ac_func in modfl
49693 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49694 if test "x$ac_cv_func_modfl" = x""yes; then :
49695 cat >>confdefs.h <<_ACEOF
49696 #define HAVE_MODFL 1
49704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49705 $as_echo_n "checking for _modfl declaration... " >&6; }
49706 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49707 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49708 $as_echo_n "(cached) " >&6
49713 ac_cpp='$CXXCPP $CPPFLAGS'
49714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49719 /* end confdefs.h. */
49729 if ac_fn_cxx_try_compile "$LINENO"; then :
49730 glibcxx_cv_func__modfl_use=yes
49732 glibcxx_cv_func__modfl_use=no
49734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49736 ac_cpp='$CPP $CPPFLAGS'
49737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49746 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49748 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49749 for ac_func in _modfl
49751 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49752 if test "x$ac_cv_func__modfl" = x""yes; then :
49753 cat >>confdefs.h <<_ACEOF
49754 #define HAVE__MODFL 1
49767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49768 $as_echo_n "checking for powl declaration... " >&6; }
49769 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49770 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49771 $as_echo_n "(cached) " >&6
49776 ac_cpp='$CXXCPP $CPPFLAGS'
49777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49782 /* end confdefs.h. */
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793 glibcxx_cv_func_powl_use=yes
49795 glibcxx_cv_func_powl_use=no
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49809 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49811 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49812 for ac_func in powl
49814 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49815 if test "x$ac_cv_func_powl" = x""yes; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define HAVE_POWL 1
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49826 $as_echo_n "checking for _powl declaration... " >&6; }
49827 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49828 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49829 $as_echo_n "(cached) " >&6
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h. */
49850 if ac_fn_cxx_try_compile "$LINENO"; then :
49851 glibcxx_cv_func__powl_use=yes
49853 glibcxx_cv_func__powl_use=no
49855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49857 ac_cpp='$CPP $CPPFLAGS'
49858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49867 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49869 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49870 for ac_func in _powl
49872 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49873 if test "x$ac_cv_func__powl" = x""yes; then :
49874 cat >>confdefs.h <<_ACEOF
49875 #define HAVE__POWL 1
49888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49889 $as_echo_n "checking for sqrtl declaration... " >&6; }
49890 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49891 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49892 $as_echo_n "(cached) " >&6
49897 ac_cpp='$CXXCPP $CPPFLAGS'
49898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49903 /* end confdefs.h. */
49905 #ifdef HAVE_IEEEFP_H
49906 #include <ieeefp.h>
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918 glibcxx_cv_func_sqrtl_use=yes
49920 glibcxx_cv_func_sqrtl_use=no
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49934 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49936 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49937 for ac_func in sqrtl
49939 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49940 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define HAVE_SQRTL 1
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49951 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49952 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49953 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49954 $as_echo_n "(cached) " >&6
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h. */
49967 #ifdef HAVE_IEEEFP_H
49968 #include <ieeefp.h>
49979 if ac_fn_cxx_try_compile "$LINENO"; then :
49980 glibcxx_cv_func__sqrtl_use=yes
49982 glibcxx_cv_func__sqrtl_use=no
49984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49986 ac_cpp='$CPP $CPPFLAGS'
49987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49996 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49998 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49999 for ac_func in _sqrtl
50001 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50002 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50003 cat >>confdefs.h <<_ACEOF
50004 #define HAVE__SQRTL 1
50017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50018 $as_echo_n "checking for sincosl declaration... " >&6; }
50019 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50020 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50021 $as_echo_n "(cached) " >&6
50026 ac_cpp='$CXXCPP $CPPFLAGS'
50027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50032 /* end confdefs.h. */
50042 if ac_fn_cxx_try_compile "$LINENO"; then :
50043 glibcxx_cv_func_sincosl_use=yes
50045 glibcxx_cv_func_sincosl_use=no
50047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50049 ac_cpp='$CPP $CPPFLAGS'
50050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50059 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50061 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50062 for ac_func in sincosl
50064 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50065 if test "x$ac_cv_func_sincosl" = x""yes; then :
50066 cat >>confdefs.h <<_ACEOF
50067 #define HAVE_SINCOSL 1
50075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50076 $as_echo_n "checking for _sincosl declaration... " >&6; }
50077 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50078 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50079 $as_echo_n "(cached) " >&6
50084 ac_cpp='$CXXCPP $CPPFLAGS'
50085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50090 /* end confdefs.h. */
50100 if ac_fn_cxx_try_compile "$LINENO"; then :
50101 glibcxx_cv_func__sincosl_use=yes
50103 glibcxx_cv_func__sincosl_use=no
50105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50107 ac_cpp='$CPP $CPPFLAGS'
50108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50117 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50119 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50120 for ac_func in _sincosl
50122 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50123 if test "x$ac_cv_func__sincosl" = x""yes; then :
50124 cat >>confdefs.h <<_ACEOF
50125 #define HAVE__SINCOSL 1
50138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50139 $as_echo_n "checking for finitel declaration... " >&6; }
50140 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50141 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50142 $as_echo_n "(cached) " >&6
50147 ac_cpp='$CXXCPP $CPPFLAGS'
50148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50153 /* end confdefs.h. */
50155 #ifdef HAVE_IEEEFP_H
50156 #include <ieeefp.h>
50167 if ac_fn_cxx_try_compile "$LINENO"; then :
50168 glibcxx_cv_func_finitel_use=yes
50170 glibcxx_cv_func_finitel_use=no
50172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50174 ac_cpp='$CPP $CPPFLAGS'
50175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50184 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50186 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50187 for ac_func in finitel
50189 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50190 if test "x$ac_cv_func_finitel" = x""yes; then :
50191 cat >>confdefs.h <<_ACEOF
50192 #define HAVE_FINITEL 1
50200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50201 $as_echo_n "checking for _finitel declaration... " >&6; }
50202 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50203 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50204 $as_echo_n "(cached) " >&6
50209 ac_cpp='$CXXCPP $CPPFLAGS'
50210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50215 /* end confdefs.h. */
50217 #ifdef HAVE_IEEEFP_H
50218 #include <ieeefp.h>
50229 if ac_fn_cxx_try_compile "$LINENO"; then :
50230 glibcxx_cv_func__finitel_use=yes
50232 glibcxx_cv_func__finitel_use=no
50234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50236 ac_cpp='$CPP $CPPFLAGS'
50237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50246 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50248 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50249 for ac_func in _finitel
50251 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50252 if test "x$ac_cv_func__finitel" = x""yes; then :
50253 cat >>confdefs.h <<_ACEOF
50254 #define HAVE__FINITEL 1
50266 LIBS="$ac_save_LIBS"
50267 CXXFLAGS="$ac_save_CXXFLAGS"
50270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50271 ac_save_CXXFLAGS="$CXXFLAGS"
50272 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50276 $as_echo_n "checking for strtold declaration... " >&6; }
50277 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50278 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50279 $as_echo_n "(cached) " >&6
50284 ac_cpp='$CXXCPP $CPPFLAGS'
50285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50290 /* end confdefs.h. */
50291 #include <stdlib.h>
50300 if ac_fn_cxx_try_compile "$LINENO"; then :
50301 glibcxx_cv_func_strtold_use=yes
50303 glibcxx_cv_func_strtold_use=no
50305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50307 ac_cpp='$CPP $CPPFLAGS'
50308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50317 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50318 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50319 for ac_func in strtold
50321 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50322 if test "x$ac_cv_func_strtold" = x""yes; then :
50323 cat >>confdefs.h <<_ACEOF
50324 #define HAVE_STRTOLD 1
50335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50336 $as_echo_n "checking for strtof declaration... " >&6; }
50337 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50338 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50339 $as_echo_n "(cached) " >&6
50344 ac_cpp='$CXXCPP $CPPFLAGS'
50345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50350 /* end confdefs.h. */
50351 #include <stdlib.h>
50360 if ac_fn_cxx_try_compile "$LINENO"; then :
50361 glibcxx_cv_func_strtof_use=yes
50363 glibcxx_cv_func_strtof_use=no
50365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50367 ac_cpp='$CPP $CPPFLAGS'
50368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50377 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50378 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50379 for ac_func in strtof
50381 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50382 if test "x$ac_cv_func_strtof" = x""yes; then :
50383 cat >>confdefs.h <<_ACEOF
50384 #define HAVE_STRTOF 1
50395 CXXFLAGS="$ac_save_CXXFLAGS"
50397 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50401 # Check whether --enable-tls was given.
50402 if test "${enable_tls+set}" = set; then :
50403 enableval=$enable_tls;
50404 case "$enableval" in
50406 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50415 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50416 if test "${gcc_cv_have_tls+set}" = set; then :
50417 $as_echo_n "(cached) " >&6
50420 if test "$cross_compiling" = yes; then :
50421 if test x$gcc_no_link = xyes; then
50422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50425 /* end confdefs.h. */
50426 __thread int a; int b; int main() { return a = b; }
50428 if ac_fn_c_try_link "$LINENO"; then :
50429 chktls_save_LDFLAGS="$LDFLAGS"
50432 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50435 chktls_save_CFLAGS="$CFLAGS"
50436 CFLAGS="-fPIC $CFLAGS"
50437 if test x$gcc_no_link = xyes; then
50438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50441 /* end confdefs.h. */
50442 int f() { return 0; }
50444 if ac_fn_c_try_link "$LINENO"; then :
50445 if test x$gcc_no_link = xyes; then
50446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50449 /* end confdefs.h. */
50450 __thread int a; int b; int f() { return a = b; }
50452 if ac_fn_c_try_link "$LINENO"; then :
50453 gcc_cv_have_tls=yes
50457 rm -f core conftest.err conftest.$ac_objext \
50458 conftest$ac_exeext conftest.$ac_ext
50460 gcc_cv_have_tls=yes
50462 rm -f core conftest.err conftest.$ac_objext \
50463 conftest$ac_exeext conftest.$ac_ext
50464 CFLAGS="$chktls_save_CFLAGS"
50465 LDFLAGS="$chktls_save_LDFLAGS"
50469 rm -f core conftest.err conftest.$ac_objext \
50470 conftest$ac_exeext conftest.$ac_ext
50474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50475 /* end confdefs.h. */
50476 __thread int a; int b; int main() { return a = b; }
50478 if ac_fn_c_try_run "$LINENO"; then :
50479 chktls_save_LDFLAGS="$LDFLAGS"
50480 LDFLAGS="-static $LDFLAGS"
50481 if test x$gcc_no_link = xyes; then
50482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50485 /* end confdefs.h. */
50486 int main() { return 0; }
50488 if ac_fn_c_try_link "$LINENO"; then :
50489 if test "$cross_compiling" = yes; then :
50490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50492 as_fn_error "cannot run test program while cross compiling
50493 See \`config.log' for more details." "$LINENO" 5; }
50495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h. */
50497 __thread int a; int b; int main() { return a = b; }
50499 if ac_fn_c_try_run "$LINENO"; then :
50500 gcc_cv_have_tls=yes
50504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50505 conftest.$ac_objext conftest.beam conftest.$ac_ext
50509 gcc_cv_have_tls=yes
50511 rm -f core conftest.err conftest.$ac_objext \
50512 conftest$ac_exeext conftest.$ac_ext
50513 LDFLAGS="$chktls_save_LDFLAGS"
50514 if test $gcc_cv_have_tls = yes; then
50515 chktls_save_CFLAGS="$CFLAGS"
50516 thread_CFLAGS=failed
50517 for flag in '' '-pthread' '-lpthread'; do
50518 CFLAGS="$flag $chktls_save_CFLAGS"
50519 if test x$gcc_no_link = xyes; then
50520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50523 /* end confdefs.h. */
50524 #include <pthread.h>
50525 void *g(void *d) { return NULL; }
50529 pthread_t t; pthread_create(&t,NULL,g,NULL);
50534 if ac_fn_c_try_link "$LINENO"; then :
50535 thread_CFLAGS="$flag"
50537 rm -f core conftest.err conftest.$ac_objext \
50538 conftest$ac_exeext conftest.$ac_ext
50539 if test "X$thread_CFLAGS" != Xfailed; then
50543 CFLAGS="$chktls_save_CFLAGS"
50544 if test "X$thread_CFLAGS" != Xfailed; then
50545 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50546 if test "$cross_compiling" = yes; then :
50547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50549 as_fn_error "cannot run test program while cross compiling
50550 See \`config.log' for more details." "$LINENO" 5; }
50552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50553 /* end confdefs.h. */
50554 #include <pthread.h>
50556 static int *a_in_other_thread;
50558 thread_func (void *arg)
50560 a_in_other_thread = &a;
50567 void *thread_retval;
50568 int *a_in_main_thread;
50569 if (pthread_create (&thread, (pthread_attr_t *)0,
50570 thread_func, (void *)0))
50572 a_in_main_thread = &a;
50573 if (pthread_join (thread, &thread_retval))
50575 return (a_in_other_thread == a_in_main_thread);
50580 if ac_fn_c_try_run "$LINENO"; then :
50581 gcc_cv_have_tls=yes
50585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50586 conftest.$ac_objext conftest.beam conftest.$ac_ext
50589 CFLAGS="$chktls_save_CFLAGS"
50595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50596 conftest.$ac_objext conftest.beam conftest.$ac_ext
50600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50601 $as_echo "$gcc_cv_have_tls" >&6; }
50602 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50604 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50612 am_save_CPPFLAGS="$CPPFLAGS"
50614 for element in $INCICONV; do
50616 for x in $CPPFLAGS; do
50618 acl_save_prefix="$prefix"
50619 prefix="$acl_final_prefix"
50620 acl_save_exec_prefix="$exec_prefix"
50621 exec_prefix="$acl_final_exec_prefix"
50623 exec_prefix="$acl_save_exec_prefix"
50624 prefix="$acl_save_prefix"
50626 if test "X$x" = "X$element"; then
50631 if test -z "$haveit"; then
50632 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50638 $as_echo_n "checking for iconv... " >&6; }
50639 if test "${am_cv_func_iconv+set}" = set; then :
50640 $as_echo_n "(cached) " >&6
50643 am_cv_func_iconv="no, consider installing GNU libiconv"
50645 if test x$gcc_no_link = xyes; then
50646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50649 /* end confdefs.h. */
50650 #include <stdlib.h>
50655 iconv_t cd = iconv_open("","");
50656 iconv(cd,NULL,NULL,NULL,NULL);
50662 if ac_fn_c_try_link "$LINENO"; then :
50663 am_cv_func_iconv=yes
50665 rm -f core conftest.err conftest.$ac_objext \
50666 conftest$ac_exeext conftest.$ac_ext
50667 if test "$am_cv_func_iconv" != yes; then
50668 am_save_LIBS="$LIBS"
50669 LIBS="$LIBS $LIBICONV"
50670 if test x$gcc_no_link = xyes; then
50671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50674 /* end confdefs.h. */
50675 #include <stdlib.h>
50680 iconv_t cd = iconv_open("","");
50681 iconv(cd,NULL,NULL,NULL,NULL);
50687 if ac_fn_c_try_link "$LINENO"; then :
50688 am_cv_lib_iconv=yes
50689 am_cv_func_iconv=yes
50691 rm -f core conftest.err conftest.$ac_objext \
50692 conftest$ac_exeext conftest.$ac_ext
50693 LIBS="$am_save_LIBS"
50697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50698 $as_echo "$am_cv_func_iconv" >&6; }
50699 if test "$am_cv_func_iconv" = yes; then
50701 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50704 if test "$am_cv_lib_iconv" = yes; then
50705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50706 $as_echo_n "checking how to link with libiconv... " >&6; }
50707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50708 $as_echo "$LIBICONV" >&6; }
50710 CPPFLAGS="$am_save_CPPFLAGS"
50717 if test "$am_cv_func_iconv" = yes; then
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50719 $as_echo_n "checking for iconv declaration... " >&6; }
50720 if test "${am_cv_proto_iconv+set}" = set; then :
50721 $as_echo_n "(cached) " >&6
50724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50725 /* end confdefs.h. */
50727 #include <stdlib.h>
50733 #if defined(__STDC__) || defined(__cplusplus)
50734 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50747 if ac_fn_c_try_compile "$LINENO"; then :
50748 am_cv_proto_iconv_arg1=""
50750 am_cv_proto_iconv_arg1="const"
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753 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);"
50756 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50758 }$am_cv_proto_iconv" >&5
50760 }$am_cv_proto_iconv" >&6; }
50762 cat >>confdefs.h <<_ACEOF
50763 #define ICONV_CONST $am_cv_proto_iconv_arg1
50771 # If we're not using GNU ld, then there's no point in even trying these
50772 # tests. Check for that first. We should have already tested for gld
50773 # by now (in libtool), but require it now just to be safe...
50774 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50775 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50779 # The name set by libtool depends on the version of libtool. Shame on us
50780 # for depending on an impl detail, but c'est la vie. Older versions used
50781 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50782 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50783 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50784 # set (hence we're using an older libtool), then set it.
50785 if test x${with_gnu_ld+set} != xset; then
50786 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50787 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50790 with_gnu_ld=$ac_cv_prog_gnu_ld
50794 # Start by getting the version number. I think the libtool test already
50795 # does some of this, but throws away the result.
50796 glibcxx_ld_is_gold=no
50797 if test x"$with_gnu_ld" = x"yes"; then
50798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50799 $as_echo_n "checking for ld version... " >&6; }
50801 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50802 glibcxx_ld_is_gold=yes
50804 ldver=`$LD --version 2>/dev/null |
50805 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'`
50807 glibcxx_gnu_ld_version=`echo $ldver | \
50808 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50810 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50813 # Set --gc-sections.
50814 glibcxx_have_gc_sections=no
50815 if test "$glibcxx_ld_is_gold" = "yes"; then
50816 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50817 glibcxx_have_gc_sections=yes
50820 glibcxx_gcsections_min_ld=21602
50821 if test x"$with_gnu_ld" = x"yes" &&
50822 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50823 glibcxx_have_gc_sections=yes
50826 if test "$glibcxx_have_gc_sections" = "yes"; then
50827 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50828 # NB: This flag only works reliably after 2.16.1. Configure tests
50829 # for this are difficult, so hard wire a value that should work.
50831 ac_test_CFLAGS="${CFLAGS+set}"
50832 ac_save_CFLAGS="$CFLAGS"
50833 CFLAGS='-Wl,--gc-sections'
50835 # Check for -Wl,--gc-sections
50836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50837 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50838 if test x$gcc_no_link = xyes; then
50839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50842 /* end confdefs.h. */
50843 int one(void) { return 1; }
50844 int two(void) { return 2; }
50854 if ac_fn_c_try_link "$LINENO"; then :
50859 rm -f core conftest.err conftest.$ac_objext \
50860 conftest$ac_exeext conftest.$ac_ext
50861 if test "$ac_gcsections" = "yes"; then
50864 if $CC -c conftest.c; then
50865 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50866 grep "Warning: gc-sections option ignored" > /dev/null; then
50870 rm -f conftest.c conftest.o conftest
50872 if test "$ac_gcsections" = "yes"; then
50873 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50876 $as_echo "$ac_gcsections" >&6; }
50878 if test "$ac_test_CFLAGS" = set; then
50879 CFLAGS="$ac_save_CFLAGS"
50881 # this is the suspicious part
50887 # Note this is only for shared objects.
50889 if test x"$with_gnu_ld" = x"yes"; then
50890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50891 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50892 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50893 if test -n "$cxx_z_relo"; then
50894 OPT_LDFLAGS="-Wl,-z,relro"
50897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50898 $as_echo "$ac_ld_relro" >&6; }
50901 # Set linker optimization flags.
50902 if test x"$with_gnu_ld" = x"yes"; then
50903 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50910 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50911 ac_save_CXXFLAGS="$CXXFLAGS"
50912 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50915 $as_echo_n "checking for sin in -lm... " >&6; }
50916 if test "${ac_cv_lib_m_sin+set}" = set; then :
50917 $as_echo_n "(cached) " >&6
50919 ac_check_lib_save_LIBS=$LIBS
50921 if test x$gcc_no_link = xyes; then
50922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50925 /* end confdefs.h. */
50927 /* Override any GCC internal prototype to avoid an error.
50928 Use char because int might match the return type of a GCC
50929 builtin and then its argument prototype would still apply. */
50942 if ac_fn_c_try_link "$LINENO"; then :
50943 ac_cv_lib_m_sin=yes
50947 rm -f core conftest.err conftest.$ac_objext \
50948 conftest$ac_exeext conftest.$ac_ext
50949 LIBS=$ac_check_lib_save_LIBS
50951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50952 $as_echo "$ac_cv_lib_m_sin" >&6; }
50953 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50957 ac_save_LIBS="$LIBS"
50962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50963 $as_echo_n "checking for isinf declaration... " >&6; }
50964 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50965 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50966 $as_echo_n "(cached) " >&6
50971 ac_cpp='$CXXCPP $CPPFLAGS'
50972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50977 /* end confdefs.h. */
50979 #ifdef HAVE_IEEEFP_H
50980 #include <ieeefp.h>
50991 if ac_fn_cxx_try_compile "$LINENO"; then :
50992 glibcxx_cv_func_isinf_use=yes
50994 glibcxx_cv_func_isinf_use=no
50996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50998 ac_cpp='$CPP $CPPFLAGS'
50999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51008 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51010 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51011 for ac_func in isinf
51013 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51014 if test "x$ac_cv_func_isinf" = x""yes; then :
51015 cat >>confdefs.h <<_ACEOF
51016 #define HAVE_ISINF 1
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51025 $as_echo_n "checking for _isinf declaration... " >&6; }
51026 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51027 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51028 $as_echo_n "(cached) " >&6
51033 ac_cpp='$CXXCPP $CPPFLAGS'
51034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51039 /* end confdefs.h. */
51041 #ifdef HAVE_IEEEFP_H
51042 #include <ieeefp.h>
51053 if ac_fn_cxx_try_compile "$LINENO"; then :
51054 glibcxx_cv_func__isinf_use=yes
51056 glibcxx_cv_func__isinf_use=no
51058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51060 ac_cpp='$CPP $CPPFLAGS'
51061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51070 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51072 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51073 for ac_func in _isinf
51075 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51076 if test "x$ac_cv_func__isinf" = x""yes; then :
51077 cat >>confdefs.h <<_ACEOF
51078 #define HAVE__ISINF 1
51091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51092 $as_echo_n "checking for isnan declaration... " >&6; }
51093 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51094 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51095 $as_echo_n "(cached) " >&6
51100 ac_cpp='$CXXCPP $CPPFLAGS'
51101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51106 /* end confdefs.h. */
51108 #ifdef HAVE_IEEEFP_H
51109 #include <ieeefp.h>
51120 if ac_fn_cxx_try_compile "$LINENO"; then :
51121 glibcxx_cv_func_isnan_use=yes
51123 glibcxx_cv_func_isnan_use=no
51125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51127 ac_cpp='$CPP $CPPFLAGS'
51128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51137 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51139 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51140 for ac_func in isnan
51142 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51143 if test "x$ac_cv_func_isnan" = x""yes; then :
51144 cat >>confdefs.h <<_ACEOF
51145 #define HAVE_ISNAN 1
51153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51154 $as_echo_n "checking for _isnan declaration... " >&6; }
51155 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51156 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51157 $as_echo_n "(cached) " >&6
51162 ac_cpp='$CXXCPP $CPPFLAGS'
51163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51168 /* end confdefs.h. */
51170 #ifdef HAVE_IEEEFP_H
51171 #include <ieeefp.h>
51182 if ac_fn_cxx_try_compile "$LINENO"; then :
51183 glibcxx_cv_func__isnan_use=yes
51185 glibcxx_cv_func__isnan_use=no
51187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51189 ac_cpp='$CPP $CPPFLAGS'
51190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51199 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51201 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51202 for ac_func in _isnan
51204 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51205 if test "x$ac_cv_func__isnan" = x""yes; then :
51206 cat >>confdefs.h <<_ACEOF
51207 #define HAVE__ISNAN 1
51220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51221 $as_echo_n "checking for finite declaration... " >&6; }
51222 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51223 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51224 $as_echo_n "(cached) " >&6
51229 ac_cpp='$CXXCPP $CPPFLAGS'
51230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51235 /* end confdefs.h. */
51237 #ifdef HAVE_IEEEFP_H
51238 #include <ieeefp.h>
51249 if ac_fn_cxx_try_compile "$LINENO"; then :
51250 glibcxx_cv_func_finite_use=yes
51252 glibcxx_cv_func_finite_use=no
51254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51256 ac_cpp='$CPP $CPPFLAGS'
51257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51266 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51268 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51269 for ac_func in finite
51271 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51272 if test "x$ac_cv_func_finite" = x""yes; then :
51273 cat >>confdefs.h <<_ACEOF
51274 #define HAVE_FINITE 1
51282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51283 $as_echo_n "checking for _finite declaration... " >&6; }
51284 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51285 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51286 $as_echo_n "(cached) " >&6
51291 ac_cpp='$CXXCPP $CPPFLAGS'
51292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51297 /* end confdefs.h. */
51299 #ifdef HAVE_IEEEFP_H
51300 #include <ieeefp.h>
51311 if ac_fn_cxx_try_compile "$LINENO"; then :
51312 glibcxx_cv_func__finite_use=yes
51314 glibcxx_cv_func__finite_use=no
51316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51318 ac_cpp='$CPP $CPPFLAGS'
51319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51328 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51330 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51331 for ac_func in _finite
51333 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51334 if test "x$ac_cv_func__finite" = x""yes; then :
51335 cat >>confdefs.h <<_ACEOF
51336 #define HAVE__FINITE 1
51349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51350 $as_echo_n "checking for sincos declaration... " >&6; }
51351 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51352 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51353 $as_echo_n "(cached) " >&6
51358 ac_cpp='$CXXCPP $CPPFLAGS'
51359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51364 /* end confdefs.h. */
51374 if ac_fn_cxx_try_compile "$LINENO"; then :
51375 glibcxx_cv_func_sincos_use=yes
51377 glibcxx_cv_func_sincos_use=no
51379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51381 ac_cpp='$CPP $CPPFLAGS'
51382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51391 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51393 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51394 for ac_func in sincos
51396 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51397 if test "x$ac_cv_func_sincos" = x""yes; then :
51398 cat >>confdefs.h <<_ACEOF
51399 #define HAVE_SINCOS 1
51407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51408 $as_echo_n "checking for _sincos declaration... " >&6; }
51409 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51410 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51411 $as_echo_n "(cached) " >&6
51416 ac_cpp='$CXXCPP $CPPFLAGS'
51417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422 /* end confdefs.h. */
51432 if ac_fn_cxx_try_compile "$LINENO"; then :
51433 glibcxx_cv_func__sincos_use=yes
51435 glibcxx_cv_func__sincos_use=no
51437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51439 ac_cpp='$CPP $CPPFLAGS'
51440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51449 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51451 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51452 for ac_func in _sincos
51454 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51455 if test "x$ac_cv_func__sincos" = x""yes; then :
51456 cat >>confdefs.h <<_ACEOF
51457 #define HAVE__SINCOS 1
51470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51471 $as_echo_n "checking for fpclass declaration... " >&6; }
51472 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51473 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51474 $as_echo_n "(cached) " >&6
51479 ac_cpp='$CXXCPP $CPPFLAGS'
51480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51485 /* end confdefs.h. */
51487 #ifdef HAVE_IEEEFP_H
51488 #include <ieeefp.h>
51499 if ac_fn_cxx_try_compile "$LINENO"; then :
51500 glibcxx_cv_func_fpclass_use=yes
51502 glibcxx_cv_func_fpclass_use=no
51504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51506 ac_cpp='$CPP $CPPFLAGS'
51507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51516 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51518 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51519 for ac_func in fpclass
51521 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51522 if test "x$ac_cv_func_fpclass" = x""yes; then :
51523 cat >>confdefs.h <<_ACEOF
51524 #define HAVE_FPCLASS 1
51532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51533 $as_echo_n "checking for _fpclass declaration... " >&6; }
51534 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51535 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51536 $as_echo_n "(cached) " >&6
51541 ac_cpp='$CXXCPP $CPPFLAGS'
51542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51547 /* end confdefs.h. */
51549 #ifdef HAVE_IEEEFP_H
51550 #include <ieeefp.h>
51561 if ac_fn_cxx_try_compile "$LINENO"; then :
51562 glibcxx_cv_func__fpclass_use=yes
51564 glibcxx_cv_func__fpclass_use=no
51566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51568 ac_cpp='$CPP $CPPFLAGS'
51569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51578 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51580 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51581 for ac_func in _fpclass
51583 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51584 if test "x$ac_cv_func__fpclass" = x""yes; then :
51585 cat >>confdefs.h <<_ACEOF
51586 #define HAVE__FPCLASS 1
51599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51600 $as_echo_n "checking for qfpclass declaration... " >&6; }
51601 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51602 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51603 $as_echo_n "(cached) " >&6
51608 ac_cpp='$CXXCPP $CPPFLAGS'
51609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51614 /* end confdefs.h. */
51616 #ifdef HAVE_IEEEFP_H
51617 #include <ieeefp.h>
51628 if ac_fn_cxx_try_compile "$LINENO"; then :
51629 glibcxx_cv_func_qfpclass_use=yes
51631 glibcxx_cv_func_qfpclass_use=no
51633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51635 ac_cpp='$CPP $CPPFLAGS'
51636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51645 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51647 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51648 for ac_func in qfpclass
51650 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51651 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51652 cat >>confdefs.h <<_ACEOF
51653 #define HAVE_QFPCLASS 1
51661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51662 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51663 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51664 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51665 $as_echo_n "(cached) " >&6
51670 ac_cpp='$CXXCPP $CPPFLAGS'
51671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51676 /* end confdefs.h. */
51678 #ifdef HAVE_IEEEFP_H
51679 #include <ieeefp.h>
51690 if ac_fn_cxx_try_compile "$LINENO"; then :
51691 glibcxx_cv_func__qfpclass_use=yes
51693 glibcxx_cv_func__qfpclass_use=no
51695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51697 ac_cpp='$CPP $CPPFLAGS'
51698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51707 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51709 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51710 for ac_func in _qfpclass
51712 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51713 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51714 cat >>confdefs.h <<_ACEOF
51715 #define HAVE__QFPCLASS 1
51728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51729 $as_echo_n "checking for hypot declaration... " >&6; }
51730 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51731 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51732 $as_echo_n "(cached) " >&6
51737 ac_cpp='$CXXCPP $CPPFLAGS'
51738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51743 /* end confdefs.h. */
51753 if ac_fn_cxx_try_compile "$LINENO"; then :
51754 glibcxx_cv_func_hypot_use=yes
51756 glibcxx_cv_func_hypot_use=no
51758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51760 ac_cpp='$CPP $CPPFLAGS'
51761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51770 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51772 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51773 for ac_func in hypot
51775 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51776 if test "x$ac_cv_func_hypot" = x""yes; then :
51777 cat >>confdefs.h <<_ACEOF
51778 #define HAVE_HYPOT 1
51786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51787 $as_echo_n "checking for _hypot declaration... " >&6; }
51788 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51789 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51790 $as_echo_n "(cached) " >&6
51795 ac_cpp='$CXXCPP $CPPFLAGS'
51796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51801 /* end confdefs.h. */
51811 if ac_fn_cxx_try_compile "$LINENO"; then :
51812 glibcxx_cv_func__hypot_use=yes
51814 glibcxx_cv_func__hypot_use=no
51816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51818 ac_cpp='$CPP $CPPFLAGS'
51819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51828 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51830 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51831 for ac_func in _hypot
51833 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51834 if test "x$ac_cv_func__hypot" = x""yes; then :
51835 cat >>confdefs.h <<_ACEOF
51836 #define HAVE__HYPOT 1
51849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51850 $as_echo_n "checking for float trig functions... " >&6; }
51851 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51852 $as_echo_n "(cached) " >&6
51857 ac_cpp='$CXXCPP $CPPFLAGS'
51858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51863 /* end confdefs.h. */
51868 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51873 if ac_fn_cxx_try_compile "$LINENO"; then :
51874 glibcxx_cv_func_float_trig_use=yes
51876 glibcxx_cv_func_float_trig_use=no
51878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51880 ac_cpp='$CPP $CPPFLAGS'
51881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51888 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51889 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51890 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51894 eval as_val=\$$as_ac_var
51895 if test "x$as_val" = x""yes; then :
51896 cat >>confdefs.h <<_ACEOF
51897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51905 $as_echo_n "checking for _float trig functions... " >&6; }
51906 if test "${glibcxx_cv_func__float_trig_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. */
51923 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51928 if ac_fn_cxx_try_compile "$LINENO"; then :
51929 glibcxx_cv_func__float_trig_use=yes
51931 glibcxx_cv_func__float_trig_use=no
51933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51935 ac_cpp='$CPP $CPPFLAGS'
51936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51943 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51944 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51945 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51949 eval as_val=\$$as_ac_var
51950 if test "x$as_val" = x""yes; then :
51951 cat >>confdefs.h <<_ACEOF
51952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51966 $as_echo_n "checking for float round functions... " >&6; }
51967 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51968 $as_echo_n "(cached) " >&6
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h. */
51984 ceilf (0); floorf (0);
51989 if ac_fn_cxx_try_compile "$LINENO"; then :
51990 glibcxx_cv_func_float_round_use=yes
51992 glibcxx_cv_func_float_round_use=no
51994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51996 ac_cpp='$CPP $CPPFLAGS'
51997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52004 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52005 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52006 for ac_func in ceilf floorf
52008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52010 eval as_val=\$$as_ac_var
52011 if test "x$as_val" = x""yes; then :
52012 cat >>confdefs.h <<_ACEOF
52013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52021 $as_echo_n "checking for _float round functions... " >&6; }
52022 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52023 $as_echo_n "(cached) " >&6
52028 ac_cpp='$CXXCPP $CPPFLAGS'
52029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52034 /* end confdefs.h. */
52039 _ceilf (0); _floorf (0);
52044 if ac_fn_cxx_try_compile "$LINENO"; then :
52045 glibcxx_cv_func__float_round_use=yes
52047 glibcxx_cv_func__float_round_use=no
52049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52051 ac_cpp='$CPP $CPPFLAGS'
52052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52059 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52060 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52061 for ac_func in _ceilf _floorf
52063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52065 eval as_val=\$$as_ac_var
52066 if test "x$as_val" = x""yes; then :
52067 cat >>confdefs.h <<_ACEOF
52068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52083 $as_echo_n "checking for expf declaration... " >&6; }
52084 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52085 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52086 $as_echo_n "(cached) " >&6
52091 ac_cpp='$CXXCPP $CPPFLAGS'
52092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52097 /* end confdefs.h. */
52099 #ifdef HAVE_IEEEFP_H
52100 #include <ieeefp.h>
52111 if ac_fn_cxx_try_compile "$LINENO"; then :
52112 glibcxx_cv_func_expf_use=yes
52114 glibcxx_cv_func_expf_use=no
52116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52118 ac_cpp='$CPP $CPPFLAGS'
52119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52128 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52130 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52131 for ac_func in expf
52133 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52134 if test "x$ac_cv_func_expf" = x""yes; then :
52135 cat >>confdefs.h <<_ACEOF
52136 #define HAVE_EXPF 1
52144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52145 $as_echo_n "checking for _expf declaration... " >&6; }
52146 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52147 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52148 $as_echo_n "(cached) " >&6
52153 ac_cpp='$CXXCPP $CPPFLAGS'
52154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52159 /* end confdefs.h. */
52161 #ifdef HAVE_IEEEFP_H
52162 #include <ieeefp.h>
52173 if ac_fn_cxx_try_compile "$LINENO"; then :
52174 glibcxx_cv_func__expf_use=yes
52176 glibcxx_cv_func__expf_use=no
52178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52180 ac_cpp='$CPP $CPPFLAGS'
52181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52190 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52192 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52193 for ac_func in _expf
52195 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52196 if test "x$ac_cv_func__expf" = x""yes; then :
52197 cat >>confdefs.h <<_ACEOF
52198 #define HAVE__EXPF 1
52211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52212 $as_echo_n "checking for isnanf declaration... " >&6; }
52213 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52214 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52215 $as_echo_n "(cached) " >&6
52220 ac_cpp='$CXXCPP $CPPFLAGS'
52221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52226 /* end confdefs.h. */
52228 #ifdef HAVE_IEEEFP_H
52229 #include <ieeefp.h>
52240 if ac_fn_cxx_try_compile "$LINENO"; then :
52241 glibcxx_cv_func_isnanf_use=yes
52243 glibcxx_cv_func_isnanf_use=no
52245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52247 ac_cpp='$CPP $CPPFLAGS'
52248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52257 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52259 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52260 for ac_func in isnanf
52262 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52263 if test "x$ac_cv_func_isnanf" = x""yes; then :
52264 cat >>confdefs.h <<_ACEOF
52265 #define HAVE_ISNANF 1
52273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52274 $as_echo_n "checking for _isnanf declaration... " >&6; }
52275 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52276 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52277 $as_echo_n "(cached) " >&6
52282 ac_cpp='$CXXCPP $CPPFLAGS'
52283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52288 /* end confdefs.h. */
52290 #ifdef HAVE_IEEEFP_H
52291 #include <ieeefp.h>
52302 if ac_fn_cxx_try_compile "$LINENO"; then :
52303 glibcxx_cv_func__isnanf_use=yes
52305 glibcxx_cv_func__isnanf_use=no
52307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52309 ac_cpp='$CPP $CPPFLAGS'
52310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52319 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52321 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52322 for ac_func in _isnanf
52324 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52325 if test "x$ac_cv_func__isnanf" = x""yes; then :
52326 cat >>confdefs.h <<_ACEOF
52327 #define HAVE__ISNANF 1
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52341 $as_echo_n "checking for isinff declaration... " >&6; }
52342 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52343 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52344 $as_echo_n "(cached) " >&6
52349 ac_cpp='$CXXCPP $CPPFLAGS'
52350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52355 /* end confdefs.h. */
52357 #ifdef HAVE_IEEEFP_H
52358 #include <ieeefp.h>
52369 if ac_fn_cxx_try_compile "$LINENO"; then :
52370 glibcxx_cv_func_isinff_use=yes
52372 glibcxx_cv_func_isinff_use=no
52374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52376 ac_cpp='$CPP $CPPFLAGS'
52377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52386 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52388 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52389 for ac_func in isinff
52391 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52392 if test "x$ac_cv_func_isinff" = x""yes; then :
52393 cat >>confdefs.h <<_ACEOF
52394 #define HAVE_ISINFF 1
52402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52403 $as_echo_n "checking for _isinff declaration... " >&6; }
52404 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52405 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52406 $as_echo_n "(cached) " >&6
52411 ac_cpp='$CXXCPP $CPPFLAGS'
52412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52417 /* end confdefs.h. */
52419 #ifdef HAVE_IEEEFP_H
52420 #include <ieeefp.h>
52431 if ac_fn_cxx_try_compile "$LINENO"; then :
52432 glibcxx_cv_func__isinff_use=yes
52434 glibcxx_cv_func__isinff_use=no
52436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52438 ac_cpp='$CPP $CPPFLAGS'
52439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52448 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52450 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52451 for ac_func in _isinff
52453 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52454 if test "x$ac_cv_func__isinff" = x""yes; then :
52455 cat >>confdefs.h <<_ACEOF
52456 #define HAVE__ISINFF 1
52469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52470 $as_echo_n "checking for atan2f declaration... " >&6; }
52471 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52472 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52473 $as_echo_n "(cached) " >&6
52478 ac_cpp='$CXXCPP $CPPFLAGS'
52479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52484 /* end confdefs.h. */
52494 if ac_fn_cxx_try_compile "$LINENO"; then :
52495 glibcxx_cv_func_atan2f_use=yes
52497 glibcxx_cv_func_atan2f_use=no
52499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52501 ac_cpp='$CPP $CPPFLAGS'
52502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52511 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52513 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52514 for ac_func in atan2f
52516 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52517 if test "x$ac_cv_func_atan2f" = x""yes; then :
52518 cat >>confdefs.h <<_ACEOF
52519 #define HAVE_ATAN2F 1
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52528 $as_echo_n "checking for _atan2f declaration... " >&6; }
52529 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52530 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52531 $as_echo_n "(cached) " >&6
52536 ac_cpp='$CXXCPP $CPPFLAGS'
52537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542 /* end confdefs.h. */
52552 if ac_fn_cxx_try_compile "$LINENO"; then :
52553 glibcxx_cv_func__atan2f_use=yes
52555 glibcxx_cv_func__atan2f_use=no
52557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52559 ac_cpp='$CPP $CPPFLAGS'
52560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52569 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52571 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52572 for ac_func in _atan2f
52574 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52575 if test "x$ac_cv_func__atan2f" = x""yes; then :
52576 cat >>confdefs.h <<_ACEOF
52577 #define HAVE__ATAN2F 1
52590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52591 $as_echo_n "checking for fabsf declaration... " >&6; }
52592 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52593 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52594 $as_echo_n "(cached) " >&6
52599 ac_cpp='$CXXCPP $CPPFLAGS'
52600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52605 /* end confdefs.h. */
52607 #ifdef HAVE_IEEEFP_H
52608 #include <ieeefp.h>
52619 if ac_fn_cxx_try_compile "$LINENO"; then :
52620 glibcxx_cv_func_fabsf_use=yes
52622 glibcxx_cv_func_fabsf_use=no
52624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52626 ac_cpp='$CPP $CPPFLAGS'
52627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52636 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52638 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52639 for ac_func in fabsf
52641 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52642 if test "x$ac_cv_func_fabsf" = x""yes; then :
52643 cat >>confdefs.h <<_ACEOF
52644 #define HAVE_FABSF 1
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52653 $as_echo_n "checking for _fabsf declaration... " >&6; }
52654 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52655 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52656 $as_echo_n "(cached) " >&6
52661 ac_cpp='$CXXCPP $CPPFLAGS'
52662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52667 /* end confdefs.h. */
52669 #ifdef HAVE_IEEEFP_H
52670 #include <ieeefp.h>
52681 if ac_fn_cxx_try_compile "$LINENO"; then :
52682 glibcxx_cv_func__fabsf_use=yes
52684 glibcxx_cv_func__fabsf_use=no
52686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52688 ac_cpp='$CPP $CPPFLAGS'
52689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52698 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52700 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52701 for ac_func in _fabsf
52703 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52704 if test "x$ac_cv_func__fabsf" = x""yes; then :
52705 cat >>confdefs.h <<_ACEOF
52706 #define HAVE__FABSF 1
52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52720 $as_echo_n "checking for fmodf declaration... " >&6; }
52721 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52722 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52723 $as_echo_n "(cached) " >&6
52728 ac_cpp='$CXXCPP $CPPFLAGS'
52729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52734 /* end confdefs.h. */
52744 if ac_fn_cxx_try_compile "$LINENO"; then :
52745 glibcxx_cv_func_fmodf_use=yes
52747 glibcxx_cv_func_fmodf_use=no
52749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52751 ac_cpp='$CPP $CPPFLAGS'
52752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52761 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52763 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52764 for ac_func in fmodf
52766 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52767 if test "x$ac_cv_func_fmodf" = x""yes; then :
52768 cat >>confdefs.h <<_ACEOF
52769 #define HAVE_FMODF 1
52777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52778 $as_echo_n "checking for _fmodf declaration... " >&6; }
52779 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52780 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52781 $as_echo_n "(cached) " >&6
52786 ac_cpp='$CXXCPP $CPPFLAGS'
52787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52792 /* end confdefs.h. */
52802 if ac_fn_cxx_try_compile "$LINENO"; then :
52803 glibcxx_cv_func__fmodf_use=yes
52805 glibcxx_cv_func__fmodf_use=no
52807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52809 ac_cpp='$CPP $CPPFLAGS'
52810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52819 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52821 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52822 for ac_func in _fmodf
52824 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52825 if test "x$ac_cv_func__fmodf" = x""yes; then :
52826 cat >>confdefs.h <<_ACEOF
52827 #define HAVE__FMODF 1
52840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52841 $as_echo_n "checking for frexpf declaration... " >&6; }
52842 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52843 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52844 $as_echo_n "(cached) " >&6
52849 ac_cpp='$CXXCPP $CPPFLAGS'
52850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52855 /* end confdefs.h. */
52865 if ac_fn_cxx_try_compile "$LINENO"; then :
52866 glibcxx_cv_func_frexpf_use=yes
52868 glibcxx_cv_func_frexpf_use=no
52870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52872 ac_cpp='$CPP $CPPFLAGS'
52873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52882 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52884 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52885 for ac_func in frexpf
52887 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52888 if test "x$ac_cv_func_frexpf" = x""yes; then :
52889 cat >>confdefs.h <<_ACEOF
52890 #define HAVE_FREXPF 1
52898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52899 $as_echo_n "checking for _frexpf declaration... " >&6; }
52900 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52901 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52902 $as_echo_n "(cached) " >&6
52907 ac_cpp='$CXXCPP $CPPFLAGS'
52908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52913 /* end confdefs.h. */
52923 if ac_fn_cxx_try_compile "$LINENO"; then :
52924 glibcxx_cv_func__frexpf_use=yes
52926 glibcxx_cv_func__frexpf_use=no
52928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52930 ac_cpp='$CPP $CPPFLAGS'
52931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52940 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52942 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52943 for ac_func in _frexpf
52945 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52946 if test "x$ac_cv_func__frexpf" = x""yes; then :
52947 cat >>confdefs.h <<_ACEOF
52948 #define HAVE__FREXPF 1
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52962 $as_echo_n "checking for hypotf declaration... " >&6; }
52963 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52964 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52965 $as_echo_n "(cached) " >&6
52970 ac_cpp='$CXXCPP $CPPFLAGS'
52971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52976 /* end confdefs.h. */
52986 if ac_fn_cxx_try_compile "$LINENO"; then :
52987 glibcxx_cv_func_hypotf_use=yes
52989 glibcxx_cv_func_hypotf_use=no
52991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52993 ac_cpp='$CPP $CPPFLAGS'
52994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53003 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53005 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53006 for ac_func in hypotf
53008 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53009 if test "x$ac_cv_func_hypotf" = x""yes; then :
53010 cat >>confdefs.h <<_ACEOF
53011 #define HAVE_HYPOTF 1
53019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53020 $as_echo_n "checking for _hypotf declaration... " >&6; }
53021 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53022 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53023 $as_echo_n "(cached) " >&6
53028 ac_cpp='$CXXCPP $CPPFLAGS'
53029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53034 /* end confdefs.h. */
53044 if ac_fn_cxx_try_compile "$LINENO"; then :
53045 glibcxx_cv_func__hypotf_use=yes
53047 glibcxx_cv_func__hypotf_use=no
53049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53051 ac_cpp='$CPP $CPPFLAGS'
53052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53061 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53063 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53064 for ac_func in _hypotf
53066 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53067 if test "x$ac_cv_func__hypotf" = x""yes; then :
53068 cat >>confdefs.h <<_ACEOF
53069 #define HAVE__HYPOTF 1
53082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53083 $as_echo_n "checking for ldexpf declaration... " >&6; }
53084 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53085 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53086 $as_echo_n "(cached) " >&6
53091 ac_cpp='$CXXCPP $CPPFLAGS'
53092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53097 /* end confdefs.h. */
53107 if ac_fn_cxx_try_compile "$LINENO"; then :
53108 glibcxx_cv_func_ldexpf_use=yes
53110 glibcxx_cv_func_ldexpf_use=no
53112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53114 ac_cpp='$CPP $CPPFLAGS'
53115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53124 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53126 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53127 for ac_func in ldexpf
53129 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53130 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53131 cat >>confdefs.h <<_ACEOF
53132 #define HAVE_LDEXPF 1
53140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53141 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53142 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53143 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53144 $as_echo_n "(cached) " >&6
53149 ac_cpp='$CXXCPP $CPPFLAGS'
53150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53155 /* end confdefs.h. */
53165 if ac_fn_cxx_try_compile "$LINENO"; then :
53166 glibcxx_cv_func__ldexpf_use=yes
53168 glibcxx_cv_func__ldexpf_use=no
53170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53172 ac_cpp='$CPP $CPPFLAGS'
53173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53182 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53184 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53185 for ac_func in _ldexpf
53187 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53188 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53189 cat >>confdefs.h <<_ACEOF
53190 #define HAVE__LDEXPF 1
53203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53204 $as_echo_n "checking for logf declaration... " >&6; }
53205 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53206 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53207 $as_echo_n "(cached) " >&6
53212 ac_cpp='$CXXCPP $CPPFLAGS'
53213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53218 /* end confdefs.h. */
53220 #ifdef HAVE_IEEEFP_H
53221 #include <ieeefp.h>
53232 if ac_fn_cxx_try_compile "$LINENO"; then :
53233 glibcxx_cv_func_logf_use=yes
53235 glibcxx_cv_func_logf_use=no
53237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53239 ac_cpp='$CPP $CPPFLAGS'
53240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53249 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53251 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53252 for ac_func in logf
53254 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53255 if test "x$ac_cv_func_logf" = x""yes; then :
53256 cat >>confdefs.h <<_ACEOF
53257 #define HAVE_LOGF 1
53265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53266 $as_echo_n "checking for _logf declaration... " >&6; }
53267 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53268 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53269 $as_echo_n "(cached) " >&6
53274 ac_cpp='$CXXCPP $CPPFLAGS'
53275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53280 /* end confdefs.h. */
53282 #ifdef HAVE_IEEEFP_H
53283 #include <ieeefp.h>
53294 if ac_fn_cxx_try_compile "$LINENO"; then :
53295 glibcxx_cv_func__logf_use=yes
53297 glibcxx_cv_func__logf_use=no
53299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53301 ac_cpp='$CPP $CPPFLAGS'
53302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53311 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53313 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53314 for ac_func in _logf
53316 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53317 if test "x$ac_cv_func__logf" = x""yes; then :
53318 cat >>confdefs.h <<_ACEOF
53319 #define HAVE__LOGF 1
53332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53333 $as_echo_n "checking for log10f declaration... " >&6; }
53334 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53335 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53336 $as_echo_n "(cached) " >&6
53341 ac_cpp='$CXXCPP $CPPFLAGS'
53342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53347 /* end confdefs.h. */
53349 #ifdef HAVE_IEEEFP_H
53350 #include <ieeefp.h>
53361 if ac_fn_cxx_try_compile "$LINENO"; then :
53362 glibcxx_cv_func_log10f_use=yes
53364 glibcxx_cv_func_log10f_use=no
53366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53368 ac_cpp='$CPP $CPPFLAGS'
53369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53378 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53380 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53381 for ac_func in log10f
53383 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53384 if test "x$ac_cv_func_log10f" = x""yes; then :
53385 cat >>confdefs.h <<_ACEOF
53386 #define HAVE_LOG10F 1
53394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53395 $as_echo_n "checking for _log10f declaration... " >&6; }
53396 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53397 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53398 $as_echo_n "(cached) " >&6
53403 ac_cpp='$CXXCPP $CPPFLAGS'
53404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53409 /* end confdefs.h. */
53411 #ifdef HAVE_IEEEFP_H
53412 #include <ieeefp.h>
53423 if ac_fn_cxx_try_compile "$LINENO"; then :
53424 glibcxx_cv_func__log10f_use=yes
53426 glibcxx_cv_func__log10f_use=no
53428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53430 ac_cpp='$CPP $CPPFLAGS'
53431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53440 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53442 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53443 for ac_func in _log10f
53445 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53446 if test "x$ac_cv_func__log10f" = x""yes; then :
53447 cat >>confdefs.h <<_ACEOF
53448 #define HAVE__LOG10F 1
53461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53462 $as_echo_n "checking for modff declaration... " >&6; }
53463 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53464 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53465 $as_echo_n "(cached) " >&6
53470 ac_cpp='$CXXCPP $CPPFLAGS'
53471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53476 /* end confdefs.h. */
53486 if ac_fn_cxx_try_compile "$LINENO"; then :
53487 glibcxx_cv_func_modff_use=yes
53489 glibcxx_cv_func_modff_use=no
53491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53493 ac_cpp='$CPP $CPPFLAGS'
53494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53503 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53505 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53506 for ac_func in modff
53508 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53509 if test "x$ac_cv_func_modff" = x""yes; then :
53510 cat >>confdefs.h <<_ACEOF
53511 #define HAVE_MODFF 1
53519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53520 $as_echo_n "checking for _modff declaration... " >&6; }
53521 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53522 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53523 $as_echo_n "(cached) " >&6
53528 ac_cpp='$CXXCPP $CPPFLAGS'
53529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53534 /* end confdefs.h. */
53544 if ac_fn_cxx_try_compile "$LINENO"; then :
53545 glibcxx_cv_func__modff_use=yes
53547 glibcxx_cv_func__modff_use=no
53549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53551 ac_cpp='$CPP $CPPFLAGS'
53552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53561 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53563 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53564 for ac_func in _modff
53566 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53567 if test "x$ac_cv_func__modff" = x""yes; then :
53568 cat >>confdefs.h <<_ACEOF
53569 #define HAVE__MODFF 1
53582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53583 $as_echo_n "checking for modf declaration... " >&6; }
53584 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53585 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53586 $as_echo_n "(cached) " >&6
53591 ac_cpp='$CXXCPP $CPPFLAGS'
53592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53597 /* end confdefs.h. */
53607 if ac_fn_cxx_try_compile "$LINENO"; then :
53608 glibcxx_cv_func_modf_use=yes
53610 glibcxx_cv_func_modf_use=no
53612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53614 ac_cpp='$CPP $CPPFLAGS'
53615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53624 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53626 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53627 for ac_func in modf
53629 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53630 if test "x$ac_cv_func_modf" = x""yes; then :
53631 cat >>confdefs.h <<_ACEOF
53632 #define HAVE_MODF 1
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53641 $as_echo_n "checking for _modf declaration... " >&6; }
53642 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53643 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53644 $as_echo_n "(cached) " >&6
53649 ac_cpp='$CXXCPP $CPPFLAGS'
53650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53655 /* end confdefs.h. */
53665 if ac_fn_cxx_try_compile "$LINENO"; then :
53666 glibcxx_cv_func__modf_use=yes
53668 glibcxx_cv_func__modf_use=no
53670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53672 ac_cpp='$CPP $CPPFLAGS'
53673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53682 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53684 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53685 for ac_func in _modf
53687 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53688 if test "x$ac_cv_func__modf" = x""yes; then :
53689 cat >>confdefs.h <<_ACEOF
53690 #define HAVE__MODF 1
53703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53704 $as_echo_n "checking for powf declaration... " >&6; }
53705 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53706 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53707 $as_echo_n "(cached) " >&6
53712 ac_cpp='$CXXCPP $CPPFLAGS'
53713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53718 /* end confdefs.h. */
53728 if ac_fn_cxx_try_compile "$LINENO"; then :
53729 glibcxx_cv_func_powf_use=yes
53731 glibcxx_cv_func_powf_use=no
53733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53735 ac_cpp='$CPP $CPPFLAGS'
53736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53745 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53747 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53748 for ac_func in powf
53750 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53751 if test "x$ac_cv_func_powf" = x""yes; then :
53752 cat >>confdefs.h <<_ACEOF
53753 #define HAVE_POWF 1
53761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53762 $as_echo_n "checking for _powf declaration... " >&6; }
53763 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53764 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53765 $as_echo_n "(cached) " >&6
53770 ac_cpp='$CXXCPP $CPPFLAGS'
53771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53776 /* end confdefs.h. */
53786 if ac_fn_cxx_try_compile "$LINENO"; then :
53787 glibcxx_cv_func__powf_use=yes
53789 glibcxx_cv_func__powf_use=no
53791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53793 ac_cpp='$CPP $CPPFLAGS'
53794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53803 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53805 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53806 for ac_func in _powf
53808 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53809 if test "x$ac_cv_func__powf" = x""yes; then :
53810 cat >>confdefs.h <<_ACEOF
53811 #define HAVE__POWF 1
53824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53825 $as_echo_n "checking for sqrtf declaration... " >&6; }
53826 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53827 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53828 $as_echo_n "(cached) " >&6
53833 ac_cpp='$CXXCPP $CPPFLAGS'
53834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839 /* end confdefs.h. */
53841 #ifdef HAVE_IEEEFP_H
53842 #include <ieeefp.h>
53853 if ac_fn_cxx_try_compile "$LINENO"; then :
53854 glibcxx_cv_func_sqrtf_use=yes
53856 glibcxx_cv_func_sqrtf_use=no
53858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53860 ac_cpp='$CPP $CPPFLAGS'
53861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53870 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53872 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53873 for ac_func in sqrtf
53875 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53876 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53877 cat >>confdefs.h <<_ACEOF
53878 #define HAVE_SQRTF 1
53886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53887 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53888 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53889 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53890 $as_echo_n "(cached) " >&6
53895 ac_cpp='$CXXCPP $CPPFLAGS'
53896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53901 /* end confdefs.h. */
53903 #ifdef HAVE_IEEEFP_H
53904 #include <ieeefp.h>
53915 if ac_fn_cxx_try_compile "$LINENO"; then :
53916 glibcxx_cv_func__sqrtf_use=yes
53918 glibcxx_cv_func__sqrtf_use=no
53920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53922 ac_cpp='$CPP $CPPFLAGS'
53923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53932 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53934 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53935 for ac_func in _sqrtf
53937 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53938 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53939 cat >>confdefs.h <<_ACEOF
53940 #define HAVE__SQRTF 1
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53954 $as_echo_n "checking for sincosf declaration... " >&6; }
53955 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53956 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53957 $as_echo_n "(cached) " >&6
53962 ac_cpp='$CXXCPP $CPPFLAGS'
53963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53968 /* end confdefs.h. */
53978 if ac_fn_cxx_try_compile "$LINENO"; then :
53979 glibcxx_cv_func_sincosf_use=yes
53981 glibcxx_cv_func_sincosf_use=no
53983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53985 ac_cpp='$CPP $CPPFLAGS'
53986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53995 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53997 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53998 for ac_func in sincosf
54000 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54001 if test "x$ac_cv_func_sincosf" = x""yes; then :
54002 cat >>confdefs.h <<_ACEOF
54003 #define HAVE_SINCOSF 1
54011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54012 $as_echo_n "checking for _sincosf declaration... " >&6; }
54013 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54014 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54015 $as_echo_n "(cached) " >&6
54020 ac_cpp='$CXXCPP $CPPFLAGS'
54021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54026 /* end confdefs.h. */
54036 if ac_fn_cxx_try_compile "$LINENO"; then :
54037 glibcxx_cv_func__sincosf_use=yes
54039 glibcxx_cv_func__sincosf_use=no
54041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54043 ac_cpp='$CPP $CPPFLAGS'
54044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54053 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54055 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54056 for ac_func in _sincosf
54058 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54059 if test "x$ac_cv_func__sincosf" = x""yes; then :
54060 cat >>confdefs.h <<_ACEOF
54061 #define HAVE__SINCOSF 1
54074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54075 $as_echo_n "checking for finitef declaration... " >&6; }
54076 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54077 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54078 $as_echo_n "(cached) " >&6
54083 ac_cpp='$CXXCPP $CPPFLAGS'
54084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54089 /* end confdefs.h. */
54091 #ifdef HAVE_IEEEFP_H
54092 #include <ieeefp.h>
54103 if ac_fn_cxx_try_compile "$LINENO"; then :
54104 glibcxx_cv_func_finitef_use=yes
54106 glibcxx_cv_func_finitef_use=no
54108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54110 ac_cpp='$CPP $CPPFLAGS'
54111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54120 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54122 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54123 for ac_func in finitef
54125 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54126 if test "x$ac_cv_func_finitef" = x""yes; then :
54127 cat >>confdefs.h <<_ACEOF
54128 #define HAVE_FINITEF 1
54136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54137 $as_echo_n "checking for _finitef declaration... " >&6; }
54138 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54139 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54140 $as_echo_n "(cached) " >&6
54145 ac_cpp='$CXXCPP $CPPFLAGS'
54146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54151 /* end confdefs.h. */
54153 #ifdef HAVE_IEEEFP_H
54154 #include <ieeefp.h>
54165 if ac_fn_cxx_try_compile "$LINENO"; then :
54166 glibcxx_cv_func__finitef_use=yes
54168 glibcxx_cv_func__finitef_use=no
54170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54172 ac_cpp='$CPP $CPPFLAGS'
54173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54182 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54184 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54185 for ac_func in _finitef
54187 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54188 if test "x$ac_cv_func__finitef" = x""yes; then :
54189 cat >>confdefs.h <<_ACEOF
54190 #define HAVE__FINITEF 1
54203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54204 $as_echo_n "checking for long double trig functions... " >&6; }
54205 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54206 $as_echo_n "(cached) " >&6
54211 ac_cpp='$CXXCPP $CPPFLAGS'
54212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54217 /* end confdefs.h. */
54222 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54227 if ac_fn_cxx_try_compile "$LINENO"; then :
54228 glibcxx_cv_func_long_double_trig_use=yes
54230 glibcxx_cv_func_long_double_trig_use=no
54232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54234 ac_cpp='$CPP $CPPFLAGS'
54235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54242 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54243 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54244 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54248 eval as_val=\$$as_ac_var
54249 if test "x$as_val" = x""yes; then :
54250 cat >>confdefs.h <<_ACEOF
54251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54259 $as_echo_n "checking for _long double trig functions... " >&6; }
54260 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54261 $as_echo_n "(cached) " >&6
54266 ac_cpp='$CXXCPP $CPPFLAGS'
54267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54272 /* end confdefs.h. */
54277 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54282 if ac_fn_cxx_try_compile "$LINENO"; then :
54283 glibcxx_cv_func__long_double_trig_use=yes
54285 glibcxx_cv_func__long_double_trig_use=no
54287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54289 ac_cpp='$CPP $CPPFLAGS'
54290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54297 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54298 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54299 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54303 eval as_val=\$$as_ac_var
54304 if test "x$as_val" = x""yes; then :
54305 cat >>confdefs.h <<_ACEOF
54306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54320 $as_echo_n "checking for long double round functions... " >&6; }
54321 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54322 $as_echo_n "(cached) " >&6
54327 ac_cpp='$CXXCPP $CPPFLAGS'
54328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54333 /* end confdefs.h. */
54338 ceill (0); floorl (0);
54343 if ac_fn_cxx_try_compile "$LINENO"; then :
54344 glibcxx_cv_func_long_double_round_use=yes
54346 glibcxx_cv_func_long_double_round_use=no
54348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54350 ac_cpp='$CPP $CPPFLAGS'
54351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54358 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54359 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54360 for ac_func in ceill floorl
54362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54364 eval as_val=\$$as_ac_var
54365 if test "x$as_val" = x""yes; then :
54366 cat >>confdefs.h <<_ACEOF
54367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54375 $as_echo_n "checking for _long double round functions... " >&6; }
54376 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54377 $as_echo_n "(cached) " >&6
54382 ac_cpp='$CXXCPP $CPPFLAGS'
54383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54388 /* end confdefs.h. */
54393 _ceill (0); _floorl (0);
54398 if ac_fn_cxx_try_compile "$LINENO"; then :
54399 glibcxx_cv_func__long_double_round_use=yes
54401 glibcxx_cv_func__long_double_round_use=no
54403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54405 ac_cpp='$CPP $CPPFLAGS'
54406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54413 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54414 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54415 for ac_func in _ceill _floorl
54417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54419 eval as_val=\$$as_ac_var
54420 if test "x$as_val" = x""yes; then :
54421 cat >>confdefs.h <<_ACEOF
54422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54437 $as_echo_n "checking for isnanl declaration... " >&6; }
54438 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54439 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54440 $as_echo_n "(cached) " >&6
54445 ac_cpp='$CXXCPP $CPPFLAGS'
54446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54451 /* end confdefs.h. */
54453 #ifdef HAVE_IEEEFP_H
54454 #include <ieeefp.h>
54465 if ac_fn_cxx_try_compile "$LINENO"; then :
54466 glibcxx_cv_func_isnanl_use=yes
54468 glibcxx_cv_func_isnanl_use=no
54470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54472 ac_cpp='$CPP $CPPFLAGS'
54473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54482 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54484 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54485 for ac_func in isnanl
54487 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54488 if test "x$ac_cv_func_isnanl" = x""yes; then :
54489 cat >>confdefs.h <<_ACEOF
54490 #define HAVE_ISNANL 1
54498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54499 $as_echo_n "checking for _isnanl declaration... " >&6; }
54500 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54501 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54502 $as_echo_n "(cached) " >&6
54507 ac_cpp='$CXXCPP $CPPFLAGS'
54508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54513 /* end confdefs.h. */
54515 #ifdef HAVE_IEEEFP_H
54516 #include <ieeefp.h>
54527 if ac_fn_cxx_try_compile "$LINENO"; then :
54528 glibcxx_cv_func__isnanl_use=yes
54530 glibcxx_cv_func__isnanl_use=no
54532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54534 ac_cpp='$CPP $CPPFLAGS'
54535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54544 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54546 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54547 for ac_func in _isnanl
54549 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54550 if test "x$ac_cv_func__isnanl" = x""yes; then :
54551 cat >>confdefs.h <<_ACEOF
54552 #define HAVE__ISNANL 1
54565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54566 $as_echo_n "checking for isinfl declaration... " >&6; }
54567 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54568 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54569 $as_echo_n "(cached) " >&6
54574 ac_cpp='$CXXCPP $CPPFLAGS'
54575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54580 /* end confdefs.h. */
54582 #ifdef HAVE_IEEEFP_H
54583 #include <ieeefp.h>
54594 if ac_fn_cxx_try_compile "$LINENO"; then :
54595 glibcxx_cv_func_isinfl_use=yes
54597 glibcxx_cv_func_isinfl_use=no
54599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54601 ac_cpp='$CPP $CPPFLAGS'
54602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54611 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54613 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54614 for ac_func in isinfl
54616 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54617 if test "x$ac_cv_func_isinfl" = x""yes; then :
54618 cat >>confdefs.h <<_ACEOF
54619 #define HAVE_ISINFL 1
54627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54628 $as_echo_n "checking for _isinfl declaration... " >&6; }
54629 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54630 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54631 $as_echo_n "(cached) " >&6
54636 ac_cpp='$CXXCPP $CPPFLAGS'
54637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54642 /* end confdefs.h. */
54644 #ifdef HAVE_IEEEFP_H
54645 #include <ieeefp.h>
54656 if ac_fn_cxx_try_compile "$LINENO"; then :
54657 glibcxx_cv_func__isinfl_use=yes
54659 glibcxx_cv_func__isinfl_use=no
54661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54663 ac_cpp='$CPP $CPPFLAGS'
54664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54673 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54675 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54676 for ac_func in _isinfl
54678 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54679 if test "x$ac_cv_func__isinfl" = x""yes; then :
54680 cat >>confdefs.h <<_ACEOF
54681 #define HAVE__ISINFL 1
54694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54695 $as_echo_n "checking for atan2l declaration... " >&6; }
54696 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54697 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54698 $as_echo_n "(cached) " >&6
54703 ac_cpp='$CXXCPP $CPPFLAGS'
54704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54709 /* end confdefs.h. */
54719 if ac_fn_cxx_try_compile "$LINENO"; then :
54720 glibcxx_cv_func_atan2l_use=yes
54722 glibcxx_cv_func_atan2l_use=no
54724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54726 ac_cpp='$CPP $CPPFLAGS'
54727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54736 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54738 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54739 for ac_func in atan2l
54741 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54742 if test "x$ac_cv_func_atan2l" = x""yes; then :
54743 cat >>confdefs.h <<_ACEOF
54744 #define HAVE_ATAN2L 1
54752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54753 $as_echo_n "checking for _atan2l declaration... " >&6; }
54754 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54755 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54756 $as_echo_n "(cached) " >&6
54761 ac_cpp='$CXXCPP $CPPFLAGS'
54762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54767 /* end confdefs.h. */
54777 if ac_fn_cxx_try_compile "$LINENO"; then :
54778 glibcxx_cv_func__atan2l_use=yes
54780 glibcxx_cv_func__atan2l_use=no
54782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54784 ac_cpp='$CPP $CPPFLAGS'
54785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54794 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54796 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54797 for ac_func in _atan2l
54799 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54800 if test "x$ac_cv_func__atan2l" = x""yes; then :
54801 cat >>confdefs.h <<_ACEOF
54802 #define HAVE__ATAN2L 1
54815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54816 $as_echo_n "checking for expl declaration... " >&6; }
54817 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54818 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54819 $as_echo_n "(cached) " >&6
54824 ac_cpp='$CXXCPP $CPPFLAGS'
54825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54830 /* end confdefs.h. */
54832 #ifdef HAVE_IEEEFP_H
54833 #include <ieeefp.h>
54844 if ac_fn_cxx_try_compile "$LINENO"; then :
54845 glibcxx_cv_func_expl_use=yes
54847 glibcxx_cv_func_expl_use=no
54849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54851 ac_cpp='$CPP $CPPFLAGS'
54852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54861 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54863 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54864 for ac_func in expl
54866 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54867 if test "x$ac_cv_func_expl" = x""yes; then :
54868 cat >>confdefs.h <<_ACEOF
54869 #define HAVE_EXPL 1
54877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54878 $as_echo_n "checking for _expl declaration... " >&6; }
54879 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54880 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54881 $as_echo_n "(cached) " >&6
54886 ac_cpp='$CXXCPP $CPPFLAGS'
54887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54892 /* end confdefs.h. */
54894 #ifdef HAVE_IEEEFP_H
54895 #include <ieeefp.h>
54906 if ac_fn_cxx_try_compile "$LINENO"; then :
54907 glibcxx_cv_func__expl_use=yes
54909 glibcxx_cv_func__expl_use=no
54911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54913 ac_cpp='$CPP $CPPFLAGS'
54914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54923 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54925 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54926 for ac_func in _expl
54928 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54929 if test "x$ac_cv_func__expl" = x""yes; then :
54930 cat >>confdefs.h <<_ACEOF
54931 #define HAVE__EXPL 1
54944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54945 $as_echo_n "checking for fabsl declaration... " >&6; }
54946 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54947 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54948 $as_echo_n "(cached) " >&6
54953 ac_cpp='$CXXCPP $CPPFLAGS'
54954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54959 /* end confdefs.h. */
54961 #ifdef HAVE_IEEEFP_H
54962 #include <ieeefp.h>
54973 if ac_fn_cxx_try_compile "$LINENO"; then :
54974 glibcxx_cv_func_fabsl_use=yes
54976 glibcxx_cv_func_fabsl_use=no
54978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54980 ac_cpp='$CPP $CPPFLAGS'
54981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54990 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54992 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54993 for ac_func in fabsl
54995 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54996 if test "x$ac_cv_func_fabsl" = x""yes; then :
54997 cat >>confdefs.h <<_ACEOF
54998 #define HAVE_FABSL 1
55006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55007 $as_echo_n "checking for _fabsl declaration... " >&6; }
55008 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55009 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55010 $as_echo_n "(cached) " >&6
55015 ac_cpp='$CXXCPP $CPPFLAGS'
55016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55021 /* end confdefs.h. */
55023 #ifdef HAVE_IEEEFP_H
55024 #include <ieeefp.h>
55035 if ac_fn_cxx_try_compile "$LINENO"; then :
55036 glibcxx_cv_func__fabsl_use=yes
55038 glibcxx_cv_func__fabsl_use=no
55040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55042 ac_cpp='$CPP $CPPFLAGS'
55043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55052 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55054 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55055 for ac_func in _fabsl
55057 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55058 if test "x$ac_cv_func__fabsl" = x""yes; then :
55059 cat >>confdefs.h <<_ACEOF
55060 #define HAVE__FABSL 1
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55074 $as_echo_n "checking for fmodl declaration... " >&6; }
55075 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55076 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55077 $as_echo_n "(cached) " >&6
55082 ac_cpp='$CXXCPP $CPPFLAGS'
55083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h. */
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099 glibcxx_cv_func_fmodl_use=yes
55101 glibcxx_cv_func_fmodl_use=no
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55115 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55117 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55118 for ac_func in fmodl
55120 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55121 if test "x$ac_cv_func_fmodl" = x""yes; then :
55122 cat >>confdefs.h <<_ACEOF
55123 #define HAVE_FMODL 1
55131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55132 $as_echo_n "checking for _fmodl declaration... " >&6; }
55133 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55134 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55135 $as_echo_n "(cached) " >&6
55140 ac_cpp='$CXXCPP $CPPFLAGS'
55141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55146 /* end confdefs.h. */
55156 if ac_fn_cxx_try_compile "$LINENO"; then :
55157 glibcxx_cv_func__fmodl_use=yes
55159 glibcxx_cv_func__fmodl_use=no
55161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55163 ac_cpp='$CPP $CPPFLAGS'
55164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55173 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55175 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55176 for ac_func in _fmodl
55178 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55179 if test "x$ac_cv_func__fmodl" = x""yes; then :
55180 cat >>confdefs.h <<_ACEOF
55181 #define HAVE__FMODL 1
55194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55195 $as_echo_n "checking for frexpl declaration... " >&6; }
55196 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55197 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55198 $as_echo_n "(cached) " >&6
55203 ac_cpp='$CXXCPP $CPPFLAGS'
55204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55209 /* end confdefs.h. */
55219 if ac_fn_cxx_try_compile "$LINENO"; then :
55220 glibcxx_cv_func_frexpl_use=yes
55222 glibcxx_cv_func_frexpl_use=no
55224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55226 ac_cpp='$CPP $CPPFLAGS'
55227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55236 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55238 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55239 for ac_func in frexpl
55241 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55242 if test "x$ac_cv_func_frexpl" = x""yes; then :
55243 cat >>confdefs.h <<_ACEOF
55244 #define HAVE_FREXPL 1
55252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55253 $as_echo_n "checking for _frexpl declaration... " >&6; }
55254 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55255 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55256 $as_echo_n "(cached) " >&6
55261 ac_cpp='$CXXCPP $CPPFLAGS'
55262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55267 /* end confdefs.h. */
55277 if ac_fn_cxx_try_compile "$LINENO"; then :
55278 glibcxx_cv_func__frexpl_use=yes
55280 glibcxx_cv_func__frexpl_use=no
55282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55284 ac_cpp='$CPP $CPPFLAGS'
55285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55294 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55296 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55297 for ac_func in _frexpl
55299 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55300 if test "x$ac_cv_func__frexpl" = x""yes; then :
55301 cat >>confdefs.h <<_ACEOF
55302 #define HAVE__FREXPL 1
55315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55316 $as_echo_n "checking for hypotl declaration... " >&6; }
55317 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55318 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55319 $as_echo_n "(cached) " >&6
55324 ac_cpp='$CXXCPP $CPPFLAGS'
55325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55330 /* end confdefs.h. */
55340 if ac_fn_cxx_try_compile "$LINENO"; then :
55341 glibcxx_cv_func_hypotl_use=yes
55343 glibcxx_cv_func_hypotl_use=no
55345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55347 ac_cpp='$CPP $CPPFLAGS'
55348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55357 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55359 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55360 for ac_func in hypotl
55362 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55363 if test "x$ac_cv_func_hypotl" = x""yes; then :
55364 cat >>confdefs.h <<_ACEOF
55365 #define HAVE_HYPOTL 1
55373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55374 $as_echo_n "checking for _hypotl declaration... " >&6; }
55375 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55376 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55377 $as_echo_n "(cached) " >&6
55382 ac_cpp='$CXXCPP $CPPFLAGS'
55383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55388 /* end confdefs.h. */
55398 if ac_fn_cxx_try_compile "$LINENO"; then :
55399 glibcxx_cv_func__hypotl_use=yes
55401 glibcxx_cv_func__hypotl_use=no
55403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55405 ac_cpp='$CPP $CPPFLAGS'
55406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55415 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55417 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55418 for ac_func in _hypotl
55420 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55421 if test "x$ac_cv_func__hypotl" = x""yes; then :
55422 cat >>confdefs.h <<_ACEOF
55423 #define HAVE__HYPOTL 1
55436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55437 $as_echo_n "checking for ldexpl declaration... " >&6; }
55438 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55439 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55440 $as_echo_n "(cached) " >&6
55445 ac_cpp='$CXXCPP $CPPFLAGS'
55446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55451 /* end confdefs.h. */
55461 if ac_fn_cxx_try_compile "$LINENO"; then :
55462 glibcxx_cv_func_ldexpl_use=yes
55464 glibcxx_cv_func_ldexpl_use=no
55466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55468 ac_cpp='$CPP $CPPFLAGS'
55469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55478 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55480 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55481 for ac_func in ldexpl
55483 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55484 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55485 cat >>confdefs.h <<_ACEOF
55486 #define HAVE_LDEXPL 1
55494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55495 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55496 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55497 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55498 $as_echo_n "(cached) " >&6
55503 ac_cpp='$CXXCPP $CPPFLAGS'
55504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55509 /* end confdefs.h. */
55519 if ac_fn_cxx_try_compile "$LINENO"; then :
55520 glibcxx_cv_func__ldexpl_use=yes
55522 glibcxx_cv_func__ldexpl_use=no
55524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55536 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55538 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55539 for ac_func in _ldexpl
55541 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55542 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55543 cat >>confdefs.h <<_ACEOF
55544 #define HAVE__LDEXPL 1
55557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55558 $as_echo_n "checking for logl declaration... " >&6; }
55559 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55560 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55561 $as_echo_n "(cached) " >&6
55566 ac_cpp='$CXXCPP $CPPFLAGS'
55567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55572 /* end confdefs.h. */
55574 #ifdef HAVE_IEEEFP_H
55575 #include <ieeefp.h>
55586 if ac_fn_cxx_try_compile "$LINENO"; then :
55587 glibcxx_cv_func_logl_use=yes
55589 glibcxx_cv_func_logl_use=no
55591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55593 ac_cpp='$CPP $CPPFLAGS'
55594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55603 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55605 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55606 for ac_func in logl
55608 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55609 if test "x$ac_cv_func_logl" = x""yes; then :
55610 cat >>confdefs.h <<_ACEOF
55611 #define HAVE_LOGL 1
55619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55620 $as_echo_n "checking for _logl declaration... " >&6; }
55621 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55622 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55623 $as_echo_n "(cached) " >&6
55628 ac_cpp='$CXXCPP $CPPFLAGS'
55629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55634 /* end confdefs.h. */
55636 #ifdef HAVE_IEEEFP_H
55637 #include <ieeefp.h>
55648 if ac_fn_cxx_try_compile "$LINENO"; then :
55649 glibcxx_cv_func__logl_use=yes
55651 glibcxx_cv_func__logl_use=no
55653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55655 ac_cpp='$CPP $CPPFLAGS'
55656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55665 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55667 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55668 for ac_func in _logl
55670 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55671 if test "x$ac_cv_func__logl" = x""yes; then :
55672 cat >>confdefs.h <<_ACEOF
55673 #define HAVE__LOGL 1
55686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55687 $as_echo_n "checking for log10l declaration... " >&6; }
55688 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55689 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55690 $as_echo_n "(cached) " >&6
55695 ac_cpp='$CXXCPP $CPPFLAGS'
55696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55701 /* end confdefs.h. */
55703 #ifdef HAVE_IEEEFP_H
55704 #include <ieeefp.h>
55715 if ac_fn_cxx_try_compile "$LINENO"; then :
55716 glibcxx_cv_func_log10l_use=yes
55718 glibcxx_cv_func_log10l_use=no
55720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55722 ac_cpp='$CPP $CPPFLAGS'
55723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55732 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55734 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55735 for ac_func in log10l
55737 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55738 if test "x$ac_cv_func_log10l" = x""yes; then :
55739 cat >>confdefs.h <<_ACEOF
55740 #define HAVE_LOG10L 1
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55749 $as_echo_n "checking for _log10l declaration... " >&6; }
55750 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55751 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55752 $as_echo_n "(cached) " >&6
55757 ac_cpp='$CXXCPP $CPPFLAGS'
55758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55763 /* end confdefs.h. */
55765 #ifdef HAVE_IEEEFP_H
55766 #include <ieeefp.h>
55777 if ac_fn_cxx_try_compile "$LINENO"; then :
55778 glibcxx_cv_func__log10l_use=yes
55780 glibcxx_cv_func__log10l_use=no
55782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55784 ac_cpp='$CPP $CPPFLAGS'
55785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55794 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55796 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55797 for ac_func in _log10l
55799 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55800 if test "x$ac_cv_func__log10l" = x""yes; then :
55801 cat >>confdefs.h <<_ACEOF
55802 #define HAVE__LOG10L 1
55815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55816 $as_echo_n "checking for modfl declaration... " >&6; }
55817 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55818 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55819 $as_echo_n "(cached) " >&6
55824 ac_cpp='$CXXCPP $CPPFLAGS'
55825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55830 /* end confdefs.h. */
55840 if ac_fn_cxx_try_compile "$LINENO"; then :
55841 glibcxx_cv_func_modfl_use=yes
55843 glibcxx_cv_func_modfl_use=no
55845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_cpp='$CPP $CPPFLAGS'
55848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55857 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55859 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55860 for ac_func in modfl
55862 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55863 if test "x$ac_cv_func_modfl" = x""yes; then :
55864 cat >>confdefs.h <<_ACEOF
55865 #define HAVE_MODFL 1
55873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55874 $as_echo_n "checking for _modfl declaration... " >&6; }
55875 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55876 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55877 $as_echo_n "(cached) " >&6
55882 ac_cpp='$CXXCPP $CPPFLAGS'
55883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55888 /* end confdefs.h. */
55898 if ac_fn_cxx_try_compile "$LINENO"; then :
55899 glibcxx_cv_func__modfl_use=yes
55901 glibcxx_cv_func__modfl_use=no
55903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55905 ac_cpp='$CPP $CPPFLAGS'
55906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55915 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55917 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55918 for ac_func in _modfl
55920 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55921 if test "x$ac_cv_func__modfl" = x""yes; then :
55922 cat >>confdefs.h <<_ACEOF
55923 #define HAVE__MODFL 1
55936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55937 $as_echo_n "checking for powl declaration... " >&6; }
55938 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55939 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55940 $as_echo_n "(cached) " >&6
55945 ac_cpp='$CXXCPP $CPPFLAGS'
55946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55951 /* end confdefs.h. */
55961 if ac_fn_cxx_try_compile "$LINENO"; then :
55962 glibcxx_cv_func_powl_use=yes
55964 glibcxx_cv_func_powl_use=no
55966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55968 ac_cpp='$CPP $CPPFLAGS'
55969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55978 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55980 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55981 for ac_func in powl
55983 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55984 if test "x$ac_cv_func_powl" = x""yes; then :
55985 cat >>confdefs.h <<_ACEOF
55986 #define HAVE_POWL 1
55994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55995 $as_echo_n "checking for _powl declaration... " >&6; }
55996 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55997 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55998 $as_echo_n "(cached) " >&6
56003 ac_cpp='$CXXCPP $CPPFLAGS'
56004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56009 /* end confdefs.h. */
56019 if ac_fn_cxx_try_compile "$LINENO"; then :
56020 glibcxx_cv_func__powl_use=yes
56022 glibcxx_cv_func__powl_use=no
56024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56026 ac_cpp='$CPP $CPPFLAGS'
56027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56036 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56038 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56039 for ac_func in _powl
56041 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56042 if test "x$ac_cv_func__powl" = x""yes; then :
56043 cat >>confdefs.h <<_ACEOF
56044 #define HAVE__POWL 1
56057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56058 $as_echo_n "checking for sqrtl declaration... " >&6; }
56059 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56060 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56061 $as_echo_n "(cached) " >&6
56066 ac_cpp='$CXXCPP $CPPFLAGS'
56067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56072 /* end confdefs.h. */
56074 #ifdef HAVE_IEEEFP_H
56075 #include <ieeefp.h>
56086 if ac_fn_cxx_try_compile "$LINENO"; then :
56087 glibcxx_cv_func_sqrtl_use=yes
56089 glibcxx_cv_func_sqrtl_use=no
56091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56093 ac_cpp='$CPP $CPPFLAGS'
56094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56103 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56105 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56106 for ac_func in sqrtl
56108 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56109 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56110 cat >>confdefs.h <<_ACEOF
56111 #define HAVE_SQRTL 1
56119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56120 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56121 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56122 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56123 $as_echo_n "(cached) " >&6
56128 ac_cpp='$CXXCPP $CPPFLAGS'
56129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56134 /* end confdefs.h. */
56136 #ifdef HAVE_IEEEFP_H
56137 #include <ieeefp.h>
56148 if ac_fn_cxx_try_compile "$LINENO"; then :
56149 glibcxx_cv_func__sqrtl_use=yes
56151 glibcxx_cv_func__sqrtl_use=no
56153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56155 ac_cpp='$CPP $CPPFLAGS'
56156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56165 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56167 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56168 for ac_func in _sqrtl
56170 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56171 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56172 cat >>confdefs.h <<_ACEOF
56173 #define HAVE__SQRTL 1
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56187 $as_echo_n "checking for sincosl declaration... " >&6; }
56188 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56189 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56190 $as_echo_n "(cached) " >&6
56195 ac_cpp='$CXXCPP $CPPFLAGS'
56196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56201 /* end confdefs.h. */
56211 if ac_fn_cxx_try_compile "$LINENO"; then :
56212 glibcxx_cv_func_sincosl_use=yes
56214 glibcxx_cv_func_sincosl_use=no
56216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56218 ac_cpp='$CPP $CPPFLAGS'
56219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56228 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56230 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56231 for ac_func in sincosl
56233 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56234 if test "x$ac_cv_func_sincosl" = x""yes; then :
56235 cat >>confdefs.h <<_ACEOF
56236 #define HAVE_SINCOSL 1
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56245 $as_echo_n "checking for _sincosl declaration... " >&6; }
56246 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56247 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56248 $as_echo_n "(cached) " >&6
56253 ac_cpp='$CXXCPP $CPPFLAGS'
56254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56259 /* end confdefs.h. */
56269 if ac_fn_cxx_try_compile "$LINENO"; then :
56270 glibcxx_cv_func__sincosl_use=yes
56272 glibcxx_cv_func__sincosl_use=no
56274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56276 ac_cpp='$CPP $CPPFLAGS'
56277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56286 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56288 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56289 for ac_func in _sincosl
56291 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56292 if test "x$ac_cv_func__sincosl" = x""yes; then :
56293 cat >>confdefs.h <<_ACEOF
56294 #define HAVE__SINCOSL 1
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56308 $as_echo_n "checking for finitel declaration... " >&6; }
56309 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56310 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56311 $as_echo_n "(cached) " >&6
56316 ac_cpp='$CXXCPP $CPPFLAGS'
56317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56322 /* end confdefs.h. */
56324 #ifdef HAVE_IEEEFP_H
56325 #include <ieeefp.h>
56336 if ac_fn_cxx_try_compile "$LINENO"; then :
56337 glibcxx_cv_func_finitel_use=yes
56339 glibcxx_cv_func_finitel_use=no
56341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56343 ac_cpp='$CPP $CPPFLAGS'
56344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56353 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56355 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56356 for ac_func in finitel
56358 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56359 if test "x$ac_cv_func_finitel" = x""yes; then :
56360 cat >>confdefs.h <<_ACEOF
56361 #define HAVE_FINITEL 1
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56370 $as_echo_n "checking for _finitel declaration... " >&6; }
56371 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56372 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56373 $as_echo_n "(cached) " >&6
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56384 /* end confdefs.h. */
56386 #ifdef HAVE_IEEEFP_H
56387 #include <ieeefp.h>
56398 if ac_fn_cxx_try_compile "$LINENO"; then :
56399 glibcxx_cv_func__finitel_use=yes
56401 glibcxx_cv_func__finitel_use=no
56403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56405 ac_cpp='$CPP $CPPFLAGS'
56406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56415 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56417 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56418 for ac_func in _finitel
56420 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56421 if test "x$ac_cv_func__finitel" = x""yes; then :
56422 cat >>confdefs.h <<_ACEOF
56423 #define HAVE__FINITEL 1
56435 LIBS="$ac_save_LIBS"
56436 CXXFLAGS="$ac_save_CXXFLAGS"
56439 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56440 ac_save_CXXFLAGS="$CXXFLAGS"
56441 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56445 $as_echo_n "checking for strtold declaration... " >&6; }
56446 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56447 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56448 $as_echo_n "(cached) " >&6
56453 ac_cpp='$CXXCPP $CPPFLAGS'
56454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56459 /* end confdefs.h. */
56460 #include <stdlib.h>
56469 if ac_fn_cxx_try_compile "$LINENO"; then :
56470 glibcxx_cv_func_strtold_use=yes
56472 glibcxx_cv_func_strtold_use=no
56474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56476 ac_cpp='$CPP $CPPFLAGS'
56477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56486 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56487 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56488 for ac_func in strtold
56490 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56491 if test "x$ac_cv_func_strtold" = x""yes; then :
56492 cat >>confdefs.h <<_ACEOF
56493 #define HAVE_STRTOLD 1
56504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56505 $as_echo_n "checking for strtof declaration... " >&6; }
56506 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56507 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56508 $as_echo_n "(cached) " >&6
56513 ac_cpp='$CXXCPP $CPPFLAGS'
56514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56519 /* end confdefs.h. */
56520 #include <stdlib.h>
56529 if ac_fn_cxx_try_compile "$LINENO"; then :
56530 glibcxx_cv_func_strtof_use=yes
56532 glibcxx_cv_func_strtof_use=no
56534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56536 ac_cpp='$CPP $CPPFLAGS'
56537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56546 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56547 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56548 for ac_func in strtof
56550 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56551 if test "x$ac_cv_func_strtof" = x""yes; then :
56552 cat >>confdefs.h <<_ACEOF
56553 #define HAVE_STRTOF 1
56564 CXXFLAGS="$ac_save_CXXFLAGS"
56568 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56571 # If we're not using GNU ld, then there's no point in even trying these
56572 # tests. Check for that first. We should have already tested for gld
56573 # by now (in libtool), but require it now just to be safe...
56574 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56575 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56579 # The name set by libtool depends on the version of libtool. Shame on us
56580 # for depending on an impl detail, but c'est la vie. Older versions used
56581 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56582 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56583 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56584 # set (hence we're using an older libtool), then set it.
56585 if test x${with_gnu_ld+set} != xset; then
56586 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56587 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56590 with_gnu_ld=$ac_cv_prog_gnu_ld
56594 # Start by getting the version number. I think the libtool test already
56595 # does some of this, but throws away the result.
56596 glibcxx_ld_is_gold=no
56597 if test x"$with_gnu_ld" = x"yes"; then
56598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56599 $as_echo_n "checking for ld version... " >&6; }
56601 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56602 glibcxx_ld_is_gold=yes
56604 ldver=`$LD --version 2>/dev/null |
56605 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'`
56607 glibcxx_gnu_ld_version=`echo $ldver | \
56608 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56610 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56613 # Set --gc-sections.
56614 glibcxx_have_gc_sections=no
56615 if test "$glibcxx_ld_is_gold" = "yes"; then
56616 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56617 glibcxx_have_gc_sections=yes
56620 glibcxx_gcsections_min_ld=21602
56621 if test x"$with_gnu_ld" = x"yes" &&
56622 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56623 glibcxx_have_gc_sections=yes
56626 if test "$glibcxx_have_gc_sections" = "yes"; then
56627 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56628 # NB: This flag only works reliably after 2.16.1. Configure tests
56629 # for this are difficult, so hard wire a value that should work.
56631 ac_test_CFLAGS="${CFLAGS+set}"
56632 ac_save_CFLAGS="$CFLAGS"
56633 CFLAGS='-Wl,--gc-sections'
56635 # Check for -Wl,--gc-sections
56636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56637 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56638 if test x$gcc_no_link = xyes; then
56639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h. */
56643 int one(void) { return 1; }
56644 int two(void) { return 2; }
56654 if ac_fn_c_try_link "$LINENO"; then :
56659 rm -f core conftest.err conftest.$ac_objext \
56660 conftest$ac_exeext conftest.$ac_ext
56661 if test "$ac_gcsections" = "yes"; then
56664 if $CC -c conftest.c; then
56665 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56666 grep "Warning: gc-sections option ignored" > /dev/null; then
56670 rm -f conftest.c conftest.o conftest
56672 if test "$ac_gcsections" = "yes"; then
56673 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56676 $as_echo "$ac_gcsections" >&6; }
56678 if test "$ac_test_CFLAGS" = set; then
56679 CFLAGS="$ac_save_CFLAGS"
56681 # this is the suspicious part
56687 # Note this is only for shared objects.
56689 if test x"$with_gnu_ld" = x"yes"; then
56690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56691 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56692 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56693 if test -n "$cxx_z_relo"; then
56694 OPT_LDFLAGS="-Wl,-z,relro"
56697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56698 $as_echo "$ac_ld_relro" >&6; }
56701 # Set linker optimization flags.
56702 if test x"$with_gnu_ld" = x"yes"; then
56703 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56709 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56711 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56713 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56715 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56717 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56719 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56721 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56723 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56725 if test x"long_double_math_on_this_cpu" = x"yes"; then
56726 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56728 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56730 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56735 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56738 # If we're not using GNU ld, then there's no point in even trying these
56739 # tests. Check for that first. We should have already tested for gld
56740 # by now (in libtool), but require it now just to be safe...
56741 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56742 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56746 # The name set by libtool depends on the version of libtool. Shame on us
56747 # for depending on an impl detail, but c'est la vie. Older versions used
56748 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56749 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56750 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56751 # set (hence we're using an older libtool), then set it.
56752 if test x${with_gnu_ld+set} != xset; then
56753 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56754 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56757 with_gnu_ld=$ac_cv_prog_gnu_ld
56761 # Start by getting the version number. I think the libtool test already
56762 # does some of this, but throws away the result.
56763 glibcxx_ld_is_gold=no
56764 if test x"$with_gnu_ld" = x"yes"; then
56765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56766 $as_echo_n "checking for ld version... " >&6; }
56768 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56769 glibcxx_ld_is_gold=yes
56771 ldver=`$LD --version 2>/dev/null |
56772 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'`
56774 glibcxx_gnu_ld_version=`echo $ldver | \
56775 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56777 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56780 # Set --gc-sections.
56781 glibcxx_have_gc_sections=no
56782 if test "$glibcxx_ld_is_gold" = "yes"; then
56783 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56784 glibcxx_have_gc_sections=yes
56787 glibcxx_gcsections_min_ld=21602
56788 if test x"$with_gnu_ld" = x"yes" &&
56789 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56790 glibcxx_have_gc_sections=yes
56793 if test "$glibcxx_have_gc_sections" = "yes"; then
56794 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56795 # NB: This flag only works reliably after 2.16.1. Configure tests
56796 # for this are difficult, so hard wire a value that should work.
56798 ac_test_CFLAGS="${CFLAGS+set}"
56799 ac_save_CFLAGS="$CFLAGS"
56800 CFLAGS='-Wl,--gc-sections'
56802 # Check for -Wl,--gc-sections
56803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56804 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56805 if test x$gcc_no_link = xyes; then
56806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56809 /* end confdefs.h. */
56810 int one(void) { return 1; }
56811 int two(void) { return 2; }
56821 if ac_fn_c_try_link "$LINENO"; then :
56826 rm -f core conftest.err conftest.$ac_objext \
56827 conftest$ac_exeext conftest.$ac_ext
56828 if test "$ac_gcsections" = "yes"; then
56831 if $CC -c conftest.c; then
56832 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56833 grep "Warning: gc-sections option ignored" > /dev/null; then
56837 rm -f conftest.c conftest.o conftest
56839 if test "$ac_gcsections" = "yes"; then
56840 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56843 $as_echo "$ac_gcsections" >&6; }
56845 if test "$ac_test_CFLAGS" = set; then
56846 CFLAGS="$ac_save_CFLAGS"
56848 # this is the suspicious part
56854 # Note this is only for shared objects.
56856 if test x"$with_gnu_ld" = x"yes"; then
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56858 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56859 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56860 if test -n "$cxx_z_relo"; then
56861 OPT_LDFLAGS="-Wl,-z,relro"
56864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56865 $as_echo "$ac_ld_relro" >&6; }
56868 # Set linker optimization flags.
56869 if test x"$with_gnu_ld" = x"yes"; then
56870 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56876 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56878 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56880 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56883 *-qnx6.1* | *-qnx6.2*)
56884 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56887 # If we're not using GNU ld, then there's no point in even trying these
56888 # tests. Check for that first. We should have already tested for gld
56889 # by now (in libtool), but require it now just to be safe...
56890 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56891 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56895 # The name set by libtool depends on the version of libtool. Shame on us
56896 # for depending on an impl detail, but c'est la vie. Older versions used
56897 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56898 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56899 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56900 # set (hence we're using an older libtool), then set it.
56901 if test x${with_gnu_ld+set} != xset; then
56902 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56903 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56906 with_gnu_ld=$ac_cv_prog_gnu_ld
56910 # Start by getting the version number. I think the libtool test already
56911 # does some of this, but throws away the result.
56912 glibcxx_ld_is_gold=no
56913 if test x"$with_gnu_ld" = x"yes"; then
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56915 $as_echo_n "checking for ld version... " >&6; }
56917 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56918 glibcxx_ld_is_gold=yes
56920 ldver=`$LD --version 2>/dev/null |
56921 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'`
56923 glibcxx_gnu_ld_version=`echo $ldver | \
56924 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56926 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56929 # Set --gc-sections.
56930 glibcxx_have_gc_sections=no
56931 if test "$glibcxx_ld_is_gold" = "yes"; then
56932 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56933 glibcxx_have_gc_sections=yes
56936 glibcxx_gcsections_min_ld=21602
56937 if test x"$with_gnu_ld" = x"yes" &&
56938 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56939 glibcxx_have_gc_sections=yes
56942 if test "$glibcxx_have_gc_sections" = "yes"; then
56943 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56944 # NB: This flag only works reliably after 2.16.1. Configure tests
56945 # for this are difficult, so hard wire a value that should work.
56947 ac_test_CFLAGS="${CFLAGS+set}"
56948 ac_save_CFLAGS="$CFLAGS"
56949 CFLAGS='-Wl,--gc-sections'
56951 # Check for -Wl,--gc-sections
56952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56953 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56954 if test x$gcc_no_link = xyes; then
56955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56958 /* end confdefs.h. */
56959 int one(void) { return 1; }
56960 int two(void) { return 2; }
56970 if ac_fn_c_try_link "$LINENO"; then :
56975 rm -f core conftest.err conftest.$ac_objext \
56976 conftest$ac_exeext conftest.$ac_ext
56977 if test "$ac_gcsections" = "yes"; then
56980 if $CC -c conftest.c; then
56981 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56982 grep "Warning: gc-sections option ignored" > /dev/null; then
56986 rm -f conftest.c conftest.o conftest
56988 if test "$ac_gcsections" = "yes"; then
56989 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56992 $as_echo "$ac_gcsections" >&6; }
56994 if test "$ac_test_CFLAGS" = set; then
56995 CFLAGS="$ac_save_CFLAGS"
56997 # this is the suspicious part
57003 # Note this is only for shared objects.
57005 if test x"$with_gnu_ld" = x"yes"; then
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57007 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57008 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57009 if test -n "$cxx_z_relo"; then
57010 OPT_LDFLAGS="-Wl,-z,relro"
57013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57014 $as_echo "$ac_ld_relro" >&6; }
57017 # Set linker optimization flags.
57018 if test x"$with_gnu_ld" = x"yes"; then
57019 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57025 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57027 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57029 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57031 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57033 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57035 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57037 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57039 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57041 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57043 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57045 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57047 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57052 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57054 # If we're not using GNU ld, then there's no point in even trying these
57055 # tests. Check for that first. We should have already tested for gld
57056 # by now (in libtool), but require it now just to be safe...
57057 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57058 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57062 # The name set by libtool depends on the version of libtool. Shame on us
57063 # for depending on an impl detail, but c'est la vie. Older versions used
57064 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57065 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57066 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57067 # set (hence we're using an older libtool), then set it.
57068 if test x${with_gnu_ld+set} != xset; then
57069 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57070 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57073 with_gnu_ld=$ac_cv_prog_gnu_ld
57077 # Start by getting the version number. I think the libtool test already
57078 # does some of this, but throws away the result.
57079 glibcxx_ld_is_gold=no
57080 if test x"$with_gnu_ld" = x"yes"; then
57081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57082 $as_echo_n "checking for ld version... " >&6; }
57084 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57085 glibcxx_ld_is_gold=yes
57087 ldver=`$LD --version 2>/dev/null |
57088 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'`
57090 glibcxx_gnu_ld_version=`echo $ldver | \
57091 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57093 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57096 # Set --gc-sections.
57097 glibcxx_have_gc_sections=no
57098 if test "$glibcxx_ld_is_gold" = "yes"; then
57099 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57100 glibcxx_have_gc_sections=yes
57103 glibcxx_gcsections_min_ld=21602
57104 if test x"$with_gnu_ld" = x"yes" &&
57105 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57106 glibcxx_have_gc_sections=yes
57109 if test "$glibcxx_have_gc_sections" = "yes"; then
57110 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57111 # NB: This flag only works reliably after 2.16.1. Configure tests
57112 # for this are difficult, so hard wire a value that should work.
57114 ac_test_CFLAGS="${CFLAGS+set}"
57115 ac_save_CFLAGS="$CFLAGS"
57116 CFLAGS='-Wl,--gc-sections'
57118 # Check for -Wl,--gc-sections
57119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57120 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57121 if test x$gcc_no_link = xyes; then
57122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57125 /* end confdefs.h. */
57126 int one(void) { return 1; }
57127 int two(void) { return 2; }
57137 if ac_fn_c_try_link "$LINENO"; then :
57142 rm -f core conftest.err conftest.$ac_objext \
57143 conftest$ac_exeext conftest.$ac_ext
57144 if test "$ac_gcsections" = "yes"; then
57147 if $CC -c conftest.c; then
57148 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57149 grep "Warning: gc-sections option ignored" > /dev/null; then
57153 rm -f conftest.c conftest.o conftest
57155 if test "$ac_gcsections" = "yes"; then
57156 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57159 $as_echo "$ac_gcsections" >&6; }
57161 if test "$ac_test_CFLAGS" = set; then
57162 CFLAGS="$ac_save_CFLAGS"
57164 # this is the suspicious part
57170 # Note this is only for shared objects.
57172 if test x"$with_gnu_ld" = x"yes"; then
57173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57174 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57175 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57176 if test -n "$cxx_z_relo"; then
57177 OPT_LDFLAGS="-Wl,-z,relro"
57180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57181 $as_echo "$ac_ld_relro" >&6; }
57184 # Set linker optimization flags.
57185 if test x"$with_gnu_ld" = x"yes"; then
57186 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57192 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57194 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57196 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57198 # All of the dependencies for wide character support are here, so
57200 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57206 # These two C99 functions are present only in Solaris >= 10
57207 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57209 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57213 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57215 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57217 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57219 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57223 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57226 # If we're not using GNU ld, then there's no point in even trying these
57227 # tests. Check for that first. We should have already tested for gld
57228 # by now (in libtool), but require it now just to be safe...
57229 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57230 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57234 # The name set by libtool depends on the version of libtool. Shame on us
57235 # for depending on an impl detail, but c'est la vie. Older versions used
57236 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57237 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57238 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57239 # set (hence we're using an older libtool), then set it.
57240 if test x${with_gnu_ld+set} != xset; then
57241 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57242 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57245 with_gnu_ld=$ac_cv_prog_gnu_ld
57249 # Start by getting the version number. I think the libtool test already
57250 # does some of this, but throws away the result.
57251 glibcxx_ld_is_gold=no
57252 if test x"$with_gnu_ld" = x"yes"; then
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57254 $as_echo_n "checking for ld version... " >&6; }
57256 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57257 glibcxx_ld_is_gold=yes
57259 ldver=`$LD --version 2>/dev/null |
57260 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'`
57262 glibcxx_gnu_ld_version=`echo $ldver | \
57263 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57265 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57268 # Set --gc-sections.
57269 glibcxx_have_gc_sections=no
57270 if test "$glibcxx_ld_is_gold" = "yes"; then
57271 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57272 glibcxx_have_gc_sections=yes
57275 glibcxx_gcsections_min_ld=21602
57276 if test x"$with_gnu_ld" = x"yes" &&
57277 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57278 glibcxx_have_gc_sections=yes
57281 if test "$glibcxx_have_gc_sections" = "yes"; then
57282 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57283 # NB: This flag only works reliably after 2.16.1. Configure tests
57284 # for this are difficult, so hard wire a value that should work.
57286 ac_test_CFLAGS="${CFLAGS+set}"
57287 ac_save_CFLAGS="$CFLAGS"
57288 CFLAGS='-Wl,--gc-sections'
57290 # Check for -Wl,--gc-sections
57291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57292 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57293 if test x$gcc_no_link = xyes; then
57294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57297 /* end confdefs.h. */
57298 int one(void) { return 1; }
57299 int two(void) { return 2; }
57309 if ac_fn_c_try_link "$LINENO"; then :
57314 rm -f core conftest.err conftest.$ac_objext \
57315 conftest$ac_exeext conftest.$ac_ext
57316 if test "$ac_gcsections" = "yes"; then
57319 if $CC -c conftest.c; then
57320 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57321 grep "Warning: gc-sections option ignored" > /dev/null; then
57325 rm -f conftest.c conftest.o conftest
57327 if test "$ac_gcsections" = "yes"; then
57328 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57331 $as_echo "$ac_gcsections" >&6; }
57333 if test "$ac_test_CFLAGS" = set; then
57334 CFLAGS="$ac_save_CFLAGS"
57336 # this is the suspicious part
57342 # Note this is only for shared objects.
57344 if test x"$with_gnu_ld" = x"yes"; then
57345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57346 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57347 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57348 if test -n "$cxx_z_relo"; then
57349 OPT_LDFLAGS="-Wl,-z,relro"
57352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57353 $as_echo "$ac_ld_relro" >&6; }
57356 # Set linker optimization flags.
57357 if test x"$with_gnu_ld" = x"yes"; then
57358 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57364 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57366 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57368 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57370 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57372 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57374 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57376 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57378 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57380 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57382 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57384 if test x"long_double_math_on_this_cpu" = x"yes"; then
57385 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57387 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57389 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57391 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57396 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57398 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57400 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57402 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57404 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57406 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57408 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57410 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57412 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57414 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57416 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57418 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57420 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57422 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57424 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57426 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57428 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57430 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57432 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57434 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57438 as_fn_error "No support for this host/target combination." "$LINENO" 5
57444 # At some point, we should differentiate between architectures
57445 # like x86, which have long double versions, and alpha/powerpc/etc.,
57446 # which don't. For the time being, punt.
57447 if test x"long_double_math_on_this_cpu" = x"yes"; then
57448 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57450 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57452 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57454 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57456 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57458 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57460 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57462 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57464 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57466 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57468 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57470 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57472 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57474 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57476 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57478 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57480 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57482 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57484 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57486 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57488 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57490 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57492 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57497 # Check for _Unwind_GetIPInfo.
57500 # Check whether --with-system-libunwind was given.
57501 if test "${with_system_libunwind+set}" = set; then :
57502 withval=$with_system_libunwind;
57505 # If system-libunwind was not specifically set, pick a default setting.
57506 if test x$with_system_libunwind = x; then
57508 ia64-*-hpux*) with_system_libunwind=yes ;;
57509 *) with_system_libunwind=no ;;
57512 # Based on system-libunwind and target, do we have ipinfo?
57513 if test x$with_system_libunwind = xyes; then
57515 ia64-*-*) have_unwind_getipinfo=no ;;
57516 *) have_unwind_getipinfo=yes ;;
57519 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57522 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57523 *) have_unwind_getipinfo=yes ;;
57528 if test x$have_unwind_getipinfo = xyes; then
57530 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57536 # Check whether --enable-linux-futex was given.
57537 if test "${enable_linux_futex+set}" = set; then :
57538 enableval=$enable_linux_futex;
57539 case "$enableval" in
57541 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57545 enable_linux_futex=default
57551 case "$enable_linux_futex" in
57553 # If headers don't have gettid/futex syscalls definition, then
57554 # default to no, otherwise there will be compile time failures.
57555 # Otherwise, default to yes. If we don't detect we are
57556 # compiled/linked against NPTL and not cross-compiling, check
57557 # if programs are run by default against NPTL and if not, issue
57559 enable_linux_futex=no
57560 if test x$gcc_no_link = xyes; then
57561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57564 /* end confdefs.h. */
57565 #include <sys/syscall.h>
57570 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57575 if ac_fn_c_try_link "$LINENO"; then :
57577 LIBS="-lpthread $LIBS"
57578 if test x$gcc_no_link = xyes; then
57579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h. */
57583 #ifndef _GNU_SOURCE
57584 #define _GNU_SOURCE 1
57586 #include <pthread.h>
57587 pthread_t th; void *status;
57591 pthread_tryjoin_np (th, &status);
57596 if ac_fn_c_try_link "$LINENO"; then :
57597 enable_linux_futex=yes
57599 if test x$cross_compiling = xno; then
57600 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57601 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57603 If so, please configure with --disable-linux-futex" >&5
57604 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57605 If so, please configure with --disable-linux-futex" >&2;}
57608 enable_linux_futex=yes
57610 rm -f core conftest.err conftest.$ac_objext \
57611 conftest$ac_exeext conftest.$ac_ext
57614 rm -f core conftest.err conftest.$ac_objext \
57615 conftest$ac_exeext conftest.$ac_ext
57618 if test x$gcc_no_link = xyes; then
57619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57622 /* end confdefs.h. */
57623 #include <sys/syscall.h>
57628 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57633 if ac_fn_c_try_link "$LINENO"; then :
57636 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57638 rm -f core conftest.err conftest.$ac_objext \
57639 conftest$ac_exeext conftest.$ac_ext
57644 enable_linux_futex=no
57647 if test x$enable_linux_futex = xyes; then
57649 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57656 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57658 acx_cv_header_stdint=stddef.h
57659 acx_cv_header_stdint_kind="(already complete)"
57660 for i in stdint.h $inttype_headers; do
57661 unset ac_cv_type_uintptr_t
57662 unset ac_cv_type_uintmax_t
57663 unset ac_cv_type_int_least32_t
57664 unset ac_cv_type_int_fast32_t
57665 unset ac_cv_type_uint64_t
57666 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57667 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57670 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57671 acx_cv_header_stdint=$i
57676 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57679 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57682 acx_cv_header_stdint_kind="(mostly complete)"
57685 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57688 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57691 acx_cv_header_stdint_kind="(mostly complete)"
57694 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57697 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57700 acx_cv_header_stdint_kind="(mostly complete)"
57703 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57706 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57709 acx_cv_header_stdint_kind="(lacks uint64_t)"
57714 if test "$acx_cv_header_stdint" = stddef.h; then
57715 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57716 for i in stdint.h $inttype_headers; do
57717 unset ac_cv_type_uintptr_t
57718 unset ac_cv_type_uint32_t
57719 unset ac_cv_type_uint64_t
57720 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57721 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57724 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57725 acx_cv_header_stdint=$i
57730 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57733 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57737 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57740 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57747 if test "$acx_cv_header_stdint" = stddef.h; then
57748 acx_cv_header_stdint_kind="(u_intXX_t style)"
57749 for i in sys/types.h $inttype_headers; do
57750 unset ac_cv_type_u_int32_t
57751 unset ac_cv_type_u_int64_t
57752 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57753 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57756 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57757 acx_cv_header_stdint=$i
57762 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57765 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57772 if test "$acx_cv_header_stdint" = stddef.h; then
57773 acx_cv_header_stdint_kind="(using manual detection)"
57776 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57777 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57778 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57779 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57780 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57782 # ----------------- Summarize what we found so far
57784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57785 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57787 case `$as_basename -- include/gstdint.h ||
57788 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57789 Xinclude/gstdint.h : 'X\(//\)$' \| \
57790 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57791 $as_echo X/include/gstdint.h |
57792 sed '/^.*\/\([^/][^/]*\)\/*$/{
57805 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57806 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57807 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57808 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57813 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57815 # ----------------- done included file, check C basic types --------
57817 # Lacking an uintptr_t? Test size of void *
57818 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57819 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57822 # This bug is HP SR number 8606223364.
57823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57824 $as_echo_n "checking size of void *... " >&6; }
57825 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57826 $as_echo_n "(cached) " >&6
57828 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57831 if test "$ac_cv_type_void_p" = yes; then
57832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57834 { as_fn_set_status 77
57835 as_fn_error "cannot compute sizeof (void *)
57836 See \`config.log' for more details." "$LINENO" 5; }; }
57838 ac_cv_sizeof_void_p=0
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57844 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57848 cat >>confdefs.h <<_ACEOF
57849 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57855 # Lacking an uint64_t? Test size of long
57856 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57857 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57860 # This bug is HP SR number 8606223364.
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57862 $as_echo_n "checking size of long... " >&6; }
57863 if test "${ac_cv_sizeof_long+set}" = set; then :
57864 $as_echo_n "(cached) " >&6
57866 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57869 if test "$ac_cv_type_long" = yes; then
57870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57872 { as_fn_set_status 77
57873 as_fn_error "cannot compute sizeof (long)
57874 See \`config.log' for more details." "$LINENO" 5; }; }
57876 ac_cv_sizeof_long=0
57881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57882 $as_echo "$ac_cv_sizeof_long" >&6; }
57886 cat >>confdefs.h <<_ACEOF
57887 #define SIZEOF_LONG $ac_cv_sizeof_long
57893 if test $acx_cv_header_stdint = stddef.h; then
57894 # Lacking a good header? Test size of everything and deduce all types.
57895 # The cast to long int works around a bug in the HP C Compiler
57896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57898 # This bug is HP SR number 8606223364.
57899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57900 $as_echo_n "checking size of int... " >&6; }
57901 if test "${ac_cv_sizeof_int+set}" = set; then :
57902 $as_echo_n "(cached) " >&6
57904 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57907 if test "$ac_cv_type_int" = yes; then
57908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57910 { as_fn_set_status 77
57911 as_fn_error "cannot compute sizeof (int)
57912 See \`config.log' for more details." "$LINENO" 5; }; }
57919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57920 $as_echo "$ac_cv_sizeof_int" >&6; }
57924 cat >>confdefs.h <<_ACEOF
57925 #define SIZEOF_INT $ac_cv_sizeof_int
57929 # The cast to long int works around a bug in the HP C Compiler
57930 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57931 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57932 # This bug is HP SR number 8606223364.
57933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57934 $as_echo_n "checking size of short... " >&6; }
57935 if test "${ac_cv_sizeof_short+set}" = set; then :
57936 $as_echo_n "(cached) " >&6
57938 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57941 if test "$ac_cv_type_short" = yes; then
57942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57944 { as_fn_set_status 77
57945 as_fn_error "cannot compute sizeof (short)
57946 See \`config.log' for more details." "$LINENO" 5; }; }
57948 ac_cv_sizeof_short=0
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57954 $as_echo "$ac_cv_sizeof_short" >&6; }
57958 cat >>confdefs.h <<_ACEOF
57959 #define SIZEOF_SHORT $ac_cv_sizeof_short
57963 # The cast to long int works around a bug in the HP C Compiler
57964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57966 # This bug is HP SR number 8606223364.
57967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57968 $as_echo_n "checking size of char... " >&6; }
57969 if test "${ac_cv_sizeof_char+set}" = set; then :
57970 $as_echo_n "(cached) " >&6
57972 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
57975 if test "$ac_cv_type_char" = yes; then
57976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57978 { as_fn_set_status 77
57979 as_fn_error "cannot compute sizeof (char)
57980 See \`config.log' for more details." "$LINENO" 5; }; }
57982 ac_cv_sizeof_char=0
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57988 $as_echo "$ac_cv_sizeof_char" >&6; }
57992 cat >>confdefs.h <<_ACEOF
57993 #define SIZEOF_CHAR $ac_cv_sizeof_char
57998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57999 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58000 case "$ac_cv_sizeof_char" in
58001 1) acx_cv_type_int8_t=char ;;
58002 *) { as_fn_set_status please report a bug
58003 as_fn_error "no 8-bit type" "$LINENO" 5; }
58005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58006 $as_echo "$acx_cv_type_int8_t" >&6; }
58008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58009 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58010 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58011 2:*) acx_cv_type_int16_t=int ;;
58012 *:2) acx_cv_type_int16_t=short ;;
58013 *) { as_fn_set_status please report a bug
58014 as_fn_error "no 16-bit type" "$LINENO" 5; }
58016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58017 $as_echo "$acx_cv_type_int16_t" >&6; }
58019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58020 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58021 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58022 4:*) acx_cv_type_int32_t=int ;;
58023 *:4) acx_cv_type_int32_t=long ;;
58024 *) { as_fn_set_status please report a bug
58025 as_fn_error "no 32-bit type" "$LINENO" 5; }
58027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58028 $as_echo "$acx_cv_type_int32_t" >&6; }
58031 # These tests are here to make the output prettier
58033 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58034 case "$ac_cv_sizeof_long" in
58035 8) acx_cv_type_int64_t=long ;;
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58038 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58040 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58043 # Now we can use the above types
58045 if test "$ac_cv_type_uintptr_t" != yes; then
58046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58047 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58048 case $ac_cv_sizeof_void_p in
58049 2) acx_cv_type_intptr_t=int16_t ;;
58050 4) acx_cv_type_intptr_t=int32_t ;;
58051 8) acx_cv_type_intptr_t=int64_t ;;
58052 *) { as_fn_set_status please report a bug
58053 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58056 $as_echo "$acx_cv_type_intptr_t" >&6; }
58059 # ----------------- done all checks, emit header -------------
58060 ac_config_commands="$ac_config_commands include/gstdint.h"
58065 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58068 # Check whether --enable-symvers was given.
58069 if test "${enable_symvers+set}" = set; then :
58070 enableval=$enable_symvers;
58071 case "$enableval" in
58072 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58073 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58082 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58083 # don't know enough about $LD to do tricks...
58086 # Turn a 'yes' into a suitable default.
58087 if test x$enable_symvers = xyes ; then
58088 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58091 if test $with_gnu_ld = yes ; then
58092 case ${target_os} in
58094 enable_symvers=no ;;
58096 enable_symvers=gnu ;;
58099 case ${target_os} in
58101 enable_symvers=darwin ;;
58103 enable_symvers=no ;;
58109 # Check to see if 'darwin' or 'darwin-export' can win.
58110 if test x$enable_symvers = xdarwin-export ; then
58111 enable_symvers=darwin
58114 # Check to see if 'gnu' can win.
58115 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58116 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58118 $as_echo_n "checking for shared libgcc... " >&6; }
58119 ac_save_CFLAGS="$CFLAGS"
58121 if test x$gcc_no_link = xyes; then
58122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58125 /* end confdefs.h. */
58135 if ac_fn_c_try_link "$LINENO"; then :
58136 glibcxx_shared_libgcc=yes
58138 glibcxx_shared_libgcc=no
58140 rm -f core conftest.err conftest.$ac_objext \
58141 conftest$ac_exeext conftest.$ac_ext
58142 CFLAGS="$ac_save_CFLAGS"
58143 if test $glibcxx_shared_libgcc = no; then
58144 cat > conftest.c <<EOF
58145 int main (void) { return 0; }
58147 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58148 -shared -shared-libgcc -o conftest.so \
58149 conftest.c -v 2>&1 >/dev/null \
58150 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58151 rm -f conftest.c conftest.so
58152 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58153 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58154 if test x$gcc_no_link = xyes; then
58155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58158 /* end confdefs.h. */
58168 if ac_fn_c_try_link "$LINENO"; then :
58169 glibcxx_shared_libgcc=yes
58171 rm -f core conftest.err conftest.$ac_objext \
58172 conftest$ac_exeext conftest.$ac_ext
58173 CFLAGS="$ac_save_CFLAGS"
58176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58177 $as_echo "$glibcxx_shared_libgcc" >&6; }
58179 # For GNU ld, we need at least this version. The format is described in
58180 # GLIBCXX_CHECK_LINKER_FEATURES above.
58181 glibcxx_min_gnu_ld_version=21400
58183 # If no shared libgcc, can't win.
58184 if test $glibcxx_shared_libgcc != yes; then
58185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58186 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58188 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58190 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58192 elif test $with_gnu_ld != yes ; then
58193 # just fail for now
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58195 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58197 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58199 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58201 elif test $glibcxx_ld_is_gold = yes ; then
58202 : All versions of gold support symbol versioning.
58203 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58204 # The right tools, the right setup, but too old. Fallbacks?
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58206 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58208 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58210 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58212 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58214 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58219 # Everything parsed; figure out what file to use.
58220 case $enable_symvers in
58222 SYMVER_FILE=config/abi/pre/none.ver
58225 SYMVER_FILE=config/abi/pre/gnu.ver
58227 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58230 gnu-versioned-namespace)
58231 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58233 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58237 SYMVER_FILE=config/abi/pre/gnu.ver
58239 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58244 if test x$enable_symvers != xno ; then
58246 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58251 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58252 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58253 $as_echo_n "(cached) " >&6
58256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58257 /* end confdefs.h. */
58258 void foo (void); __asm (".symver foo, bar@SYMVER");
58267 if ac_fn_c_try_compile "$LINENO"; then :
58268 glibcxx_cv_have_as_symver_directive=yes
58270 glibcxx_cv_have_as_symver_directive=no
58272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58275 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58276 if test $glibcxx_cv_have_as_symver_directive = yes; then
58278 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58288 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58289 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58291 # Now, set up compatibility support, if any.
58292 # In addition, need this to deal with std::size_t mangling in
58293 # src/compatibility.cc. In a perfect world, could use
58294 # typeid(std::size_t).name()[0] to do direct substitution.
58295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58296 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58297 ac_save_CFLAGS="$CFLAGS"
58299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58300 /* end confdefs.h. */
58305 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58310 if ac_fn_c_try_compile "$LINENO"; then :
58311 glibcxx_size_t_is_i=yes
58313 glibcxx_size_t_is_i=no
58315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58316 CFLAGS=$ac_save_CFLAGS
58317 if test "$glibcxx_size_t_is_i" = yes; then
58319 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58323 $as_echo "$glibcxx_size_t_is_i" >&6; }
58325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58326 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58327 ac_save_CFLAGS="$CFLAGS"
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58335 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58340 if ac_fn_c_try_compile "$LINENO"; then :
58341 glibcxx_ptrdiff_t_is_i=yes
58343 glibcxx_ptrdiff_t_is_i=no
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 CFLAGS=$ac_save_CFLAGS
58347 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58349 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58353 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58356 # Check whether --enable-visibility was given.
58357 if test "${enable_visibility+set}" = set; then :
58358 enableval=$enable_visibility;
58359 case "$enableval" in
58361 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58365 enable_visibility=yes
58370 if test x$enable_visibility = xyes ; then
58371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58372 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58373 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58374 $as_echo_n "(cached) " >&6
58377 save_CFLAGS="$CFLAGS"
58378 CFLAGS="$CFLAGS -Werror"
58379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58380 /* end confdefs.h. */
58381 void __attribute__((visibility("hidden"))) foo(void) { }
58390 if ac_fn_c_try_compile "$LINENO"; then :
58391 glibcxx_cv_have_attribute_visibility=yes
58393 glibcxx_cv_have_attribute_visibility=no
58395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58396 CFLAGS="$save_CFLAGS"
58398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58399 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58400 if test $glibcxx_cv_have_attribute_visibility = no; then
58401 enable_visibility=no
58406 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58407 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58412 powerpc*-*-linux* | \
58413 powerpc*-*-gnu* | \
58414 sparc*-*-linux* | \
58417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58418 /* end confdefs.h. */
58424 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58425 #error no need for long double compatibility
58432 if ac_fn_c_try_compile "$LINENO"; then :
58437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58438 if test "$ac_ldbl_compat" = yes; then
58440 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58442 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58447 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58449 if $GLIBCXX_IS_NATIVE ; then
58450 # Do checks for resource limit functions.
58452 setrlimit_have_headers=yes
58453 for ac_header in unistd.h sys/time.h sys/resource.h
58455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58456 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58457 eval as_val=\$$as_ac_Header
58458 if test "x$as_val" = x""yes; then :
58459 cat >>confdefs.h <<_ACEOF
58460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58464 setrlimit_have_headers=no
58469 # If don't have the headers, then we can't run the tests now, and we
58470 # won't be seeing any of these during testsuite compilation.
58471 if test $setrlimit_have_headers = yes; then
58472 # Can't do these in a loop, else the resulting syntax is wrong.
58474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58475 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58477 /* end confdefs.h. */
58478 #include <unistd.h>
58479 #include <sys/time.h>
58480 #include <sys/resource.h>
58485 int f = RLIMIT_DATA ;
58490 if ac_fn_c_try_compile "$LINENO"; then :
58495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58497 cat >>confdefs.h <<_ACEOF
58498 #define HAVE_LIMIT_DATA $glibcxx_mresult
58501 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58503 $as_echo "$res" >&6; }
58506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58507 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h. */
58510 #include <unistd.h>
58511 #include <sys/time.h>
58512 #include <sys/resource.h>
58517 int f = RLIMIT_RSS ;
58522 if ac_fn_c_try_compile "$LINENO"; then :
58527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58529 cat >>confdefs.h <<_ACEOF
58530 #define HAVE_LIMIT_RSS $glibcxx_mresult
58533 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58535 $as_echo "$res" >&6; }
58538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58539 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58541 /* end confdefs.h. */
58542 #include <unistd.h>
58543 #include <sys/time.h>
58544 #include <sys/resource.h>
58549 int f = RLIMIT_VMEM ;
58554 if ac_fn_c_try_compile "$LINENO"; then :
58559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58561 cat >>confdefs.h <<_ACEOF
58562 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58565 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58567 $as_echo "$res" >&6; }
58570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58571 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58573 /* end confdefs.h. */
58574 #include <unistd.h>
58575 #include <sys/time.h>
58576 #include <sys/resource.h>
58581 int f = RLIMIT_AS ;
58586 if ac_fn_c_try_compile "$LINENO"; then :
58591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58593 cat >>confdefs.h <<_ACEOF
58594 #define HAVE_LIMIT_AS $glibcxx_mresult
58597 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58599 $as_echo "$res" >&6; }
58602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58603 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58605 /* end confdefs.h. */
58606 #include <unistd.h>
58607 #include <sys/time.h>
58608 #include <sys/resource.h>
58613 int f = RLIMIT_FSIZE ;
58618 if ac_fn_c_try_compile "$LINENO"; then :
58623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58625 cat >>confdefs.h <<_ACEOF
58626 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58629 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58631 $as_echo "$res" >&6; }
58634 # Check for rlimit, setrlimit.
58635 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58636 $as_echo_n "(cached) " >&6
58639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58640 /* end confdefs.h. */
58641 #include <unistd.h>
58642 #include <sys/time.h>
58643 #include <sys/resource.h>
58654 if ac_fn_c_try_compile "$LINENO"; then :
58655 glibcxx_cv_setrlimit=yes
58657 glibcxx_cv_setrlimit=no
58659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58666 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58667 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58670 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58676 $as_echo "$ac_res_limits" >&6; }
58679 # Look for setenv, so that extended locale tests can be performed.
58681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58682 $as_echo_n "checking for setenv declaration... " >&6; }
58683 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58684 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58685 $as_echo_n "(cached) " >&6
58690 ac_cpp='$CXXCPP $CPPFLAGS'
58691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58696 /* end confdefs.h. */
58697 #include <stdlib.h>
58706 if ac_fn_cxx_try_compile "$LINENO"; then :
58707 glibcxx_cv_func_setenv_use=yes
58709 glibcxx_cv_func_setenv_use=no
58711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58713 ac_cpp='$CPP $CPPFLAGS'
58714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58723 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58724 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58725 for ac_func in setenv
58727 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58728 if test "x$ac_cv_func_setenv" = x""yes; then :
58729 cat >>confdefs.h <<_ACEOF
58730 #define HAVE_SETENV 1
58740 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58741 test $enable_symvers != no; then
58744 enable_abi_check=no ;;
58746 enable_abi_check=yes ;;
58749 # Only build this as native, since automake does not understand
58751 enable_abi_check=no
58754 # Export file names for ABI checking.
58755 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58759 # Propagate the target-specific source directories through the build chain.
58760 ATOMICITY_SRCDIR=config/${atomicity_dir}
58761 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58762 ATOMIC_FLAGS=${atomic_flags}
58763 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58764 OS_INC_SRCDIR=config/${os_include_dir}
58765 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58766 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58776 # Determine cross-compile flags and AM_CONDITIONALs.
58777 #AC_SUBST(GLIBCXX_IS_NATIVE)
58778 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58779 if test $is_hosted = yes; then
58780 GLIBCXX_HOSTED_TRUE=
58781 GLIBCXX_HOSTED_FALSE='#'
58783 GLIBCXX_HOSTED_TRUE='#'
58784 GLIBCXX_HOSTED_FALSE=
58788 if test $enable_libstdcxx_pch = yes; then
58789 GLIBCXX_BUILD_PCH_TRUE=
58790 GLIBCXX_BUILD_PCH_FALSE='#'
58792 GLIBCXX_BUILD_PCH_TRUE='#'
58793 GLIBCXX_BUILD_PCH_FALSE=
58797 if test $enable_cheaders = c; then
58798 GLIBCXX_C_HEADERS_C_TRUE=
58799 GLIBCXX_C_HEADERS_C_FALSE='#'
58801 GLIBCXX_C_HEADERS_C_TRUE='#'
58802 GLIBCXX_C_HEADERS_C_FALSE=
58806 if test $enable_cheaders = c_std; then
58807 GLIBCXX_C_HEADERS_C_STD_TRUE=
58808 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58810 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58811 GLIBCXX_C_HEADERS_C_STD_FALSE=
58815 if test $enable_cheaders = c_global; then
58816 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58817 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58819 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58820 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58824 if test $c_compatibility = yes; then
58825 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58826 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58828 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58829 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58833 if test $c_extra = yes; then
58834 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58835 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58837 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58838 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58842 if test $enable_libstdcxx_debug = yes; then
58843 GLIBCXX_BUILD_DEBUG_TRUE=
58844 GLIBCXX_BUILD_DEBUG_FALSE='#'
58846 GLIBCXX_BUILD_DEBUG_TRUE='#'
58847 GLIBCXX_BUILD_DEBUG_FALSE=
58851 if test $enable_parallel = yes; then
58852 ENABLE_PARALLEL_TRUE=
58853 ENABLE_PARALLEL_FALSE='#'
58855 ENABLE_PARALLEL_TRUE='#'
58856 ENABLE_PARALLEL_FALSE=
58860 if test $enable_symvers != no; then
58861 ENABLE_SYMVERS_TRUE=
58862 ENABLE_SYMVERS_FALSE='#'
58864 ENABLE_SYMVERS_TRUE='#'
58865 ENABLE_SYMVERS_FALSE=
58869 if test $enable_symvers = gnu; then
58870 ENABLE_SYMVERS_GNU_TRUE=
58871 ENABLE_SYMVERS_GNU_FALSE='#'
58873 ENABLE_SYMVERS_GNU_TRUE='#'
58874 ENABLE_SYMVERS_GNU_FALSE=
58878 if test $enable_symvers = gnu-versioned-namespace; then
58879 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58880 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58882 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58883 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58887 if test $enable_symvers = darwin; then
58888 ENABLE_SYMVERS_DARWIN_TRUE=
58889 ENABLE_SYMVERS_DARWIN_FALSE='#'
58891 ENABLE_SYMVERS_DARWIN_TRUE='#'
58892 ENABLE_SYMVERS_DARWIN_FALSE=
58896 if test $enable_visibility = yes; then
58897 ENABLE_VISIBILITY_TRUE=
58898 ENABLE_VISIBILITY_FALSE='#'
58900 ENABLE_VISIBILITY_TRUE='#'
58901 ENABLE_VISIBILITY_FALSE=
58905 if test $ac_ldbl_compat = yes; then
58906 GLIBCXX_LDBL_COMPAT_TRUE=
58907 GLIBCXX_LDBL_COMPAT_FALSE='#'
58909 GLIBCXX_LDBL_COMPAT_TRUE='#'
58910 GLIBCXX_LDBL_COMPAT_FALSE=
58916 cat >confcache <<\_ACEOF
58917 # This file is a shell script that caches the results of configure
58918 # tests run on this system so they can be shared between configure
58919 # scripts and configure runs, see configure's option --config-cache.
58920 # It is not useful on other systems. If it contains results you don't
58921 # want to keep, you may remove or edit it.
58923 # config.status only pays attention to the cache file if you give it
58924 # the --recheck option to rerun configure.
58926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58928 # following values.
58932 # The following way of writing the cache mishandles newlines in values,
58933 # but we know of no workaround that is simple, portable, and efficient.
58934 # So, we kill variables containing newlines.
58935 # Ultrix sh set writes to stderr and can't be redirected directly,
58936 # and sets the high bit in the cache file unless we assign to the vars.
58938 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58939 eval ac_val=\$$ac_var
58943 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58947 _ | IFS | as_nl) ;; #(
58948 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58949 *) { eval $ac_var=; unset $ac_var;} ;;
58955 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58956 *${as_nl}ac_space=\ *)
58957 # `set' does not quote correctly, so add quotes: double-quote
58958 # substitution turns \\\\ into \\, and sed turns \\ into \.
58961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58964 # `set' quotes correctly as required by POSIX, so do not add quotes.
58965 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58974 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58976 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58978 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58979 if test -w "$cache_file"; then
58980 test "x$cache_file" != "x/dev/null" &&
58981 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58982 $as_echo "$as_me: updating cache $cache_file" >&6;}
58983 cat confcache >$cache_file
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58986 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58991 if test ${multilib} = yes; then
58992 multilib_arg="--enable-multilib"
58997 # Export all the install information.
58999 glibcxx_toolexecdir=no
59000 glibcxx_toolexeclibdir=no
59001 glibcxx_prefixdir=$prefix
59003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59004 $as_echo_n "checking for gxx-include-dir... " >&6; }
59006 # Check whether --with-gxx-include-dir was given.
59007 if test "${with_gxx_include_dir+set}" = set; then :
59008 withval=$with_gxx_include_dir; case "$withval" in
59009 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59010 no) gxx_include_dir=no ;;
59011 *) gxx_include_dir=$withval ;;
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59018 $as_echo "$gxx_include_dir" >&6; }
59020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59021 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59022 # Check whether --enable-version-specific-runtime-libs was given.
59023 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59024 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59025 yes) version_specific_libs=yes ;;
59026 no) version_specific_libs=no ;;
59027 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59030 version_specific_libs=no
59033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59034 $as_echo "$version_specific_libs" >&6; }
59036 # Default case for install directory for include files.
59037 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59038 gxx_include_dir='include/c++/${gcc_version}'
59039 if test -n "$with_cross_host" &&
59040 test x"$with_cross_host" != x"no"; then
59041 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59043 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59047 # Version-specific runtime libs processing.
59048 if test $version_specific_libs = yes; then
59049 # Need the gcc compiler version to know where to install libraries
59050 # and header files if --enable-version-specific-runtime-libs option
59051 # is selected. FIXME: these variables are misnamed, there are
59052 # no executables installed in _toolexecdir or _toolexeclibdir.
59053 if test x"$gxx_include_dir" = x"no"; then
59054 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59056 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59057 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59060 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59061 # Install a library built with a cross compiler in tooldir, not libdir.
59062 if test x"$glibcxx_toolexecdir" = x"no"; then
59063 if test -n "$with_cross_host" &&
59064 test x"$with_cross_host" != x"no"; then
59065 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59066 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59068 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59069 glibcxx_toolexeclibdir='${libdir}'
59071 multi_os_directory=`$CXX -print-multi-os-directory`
59072 case $multi_os_directory in
59073 .) ;; # Avoid trailing /.
59074 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59079 $as_echo_n "checking for install location... " >&6; }
59080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59081 $as_echo "$gxx_include_dir" >&6; }
59089 # Export all the include and flag information to Makefiles.
59091 # Used for every C++ compile we perform.
59092 GLIBCXX_INCLUDES="\
59093 -I$glibcxx_builddir/include/$host_alias \
59094 -I$glibcxx_builddir/include \
59095 -I$glibcxx_srcdir/libsupc++"
59097 # For Canadian crosses, pick this up too.
59098 if test $CANADIAN = yes; then
59099 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59102 # Stuff in the actual top level. Currently only used by libsupc++ to
59103 # get unwind* headers from the gcc dir.
59104 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59105 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59107 # Now, export this to all the little Makefiles....
59112 # Optimization flags that are probably a good idea for thrill-seekers. Just
59113 # uncomment the lines below and make, everything else is ready to go...
59114 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59115 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59118 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59122 if test "$enable_shared" = yes; then
59123 LIBSUPCXX_PICFLAGS="-prefer-pic"
59125 LIBSUPCXX_PICFLAGS=
59129 ac_config_files="$ac_config_files Makefile"
59131 ac_config_files="$ac_config_files scripts/testsuite_flags"
59134 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59135 # that multilib installs will end up installed in the correct place.
59136 # The testsuite needs it for multilib-aware ABI baseline files.
59137 # To work around this not being passed down from config-ml.in ->
59138 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59139 # append it here. Only modify Makefiles that have just been created.
59141 # Also, get rid of this simulated-VPATH thing that automake does.
59142 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59145 ac_config_commands="$ac_config_commands generate-headers"
59148 cat >confcache <<\_ACEOF
59149 # This file is a shell script that caches the results of configure
59150 # tests run on this system so they can be shared between configure
59151 # scripts and configure runs, see configure's option --config-cache.
59152 # It is not useful on other systems. If it contains results you don't
59153 # want to keep, you may remove or edit it.
59155 # config.status only pays attention to the cache file if you give it
59156 # the --recheck option to rerun configure.
59158 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59159 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59160 # following values.
59164 # The following way of writing the cache mishandles newlines in values,
59165 # but we know of no workaround that is simple, portable, and efficient.
59166 # So, we kill variables containing newlines.
59167 # Ultrix sh set writes to stderr and can't be redirected directly,
59168 # and sets the high bit in the cache file unless we assign to the vars.
59170 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59171 eval ac_val=\$$ac_var
59175 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59176 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59179 _ | IFS | as_nl) ;; #(
59180 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59181 *) { eval $ac_var=; unset $ac_var;} ;;
59187 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59188 *${as_nl}ac_space=\ *)
59189 # `set' does not quote correctly, so add quotes: double-quote
59190 # substitution turns \\\\ into \\, and sed turns \\ into \.
59193 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59196 # `set' quotes correctly as required by POSIX, so do not add quotes.
59197 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59206 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59208 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59210 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59211 if test -w "$cache_file"; then
59212 test "x$cache_file" != "x/dev/null" &&
59213 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59214 $as_echo "$as_me: updating cache $cache_file" >&6;}
59215 cat confcache >$cache_file
59217 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59218 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59223 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59224 # Let make expand exec_prefix.
59225 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59227 DEFS=-DHAVE_CONFIG_H
59231 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59232 # 1. Remove the extension, and $U if already installed.
59233 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59234 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59235 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59236 # will be set to the directory where LIBOBJS objects are built.
59237 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59238 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59240 LIBOBJS=$ac_libobjs
59242 LTLIBOBJS=$ac_ltlibobjs
59245 if test -n "$EXEEXT"; then
59247 am__EXEEXT_FALSE='#'
59249 am__EXEEXT_TRUE='#'
59253 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59254 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59257 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59258 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59261 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59262 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59265 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59266 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59269 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59270 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59273 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59274 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59277 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59278 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59281 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59282 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59285 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59286 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59289 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59290 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59293 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59294 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59297 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59298 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59301 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59302 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59305 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59306 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59309 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59310 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59313 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59314 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59318 : ${CONFIG_STATUS=./config.status}
59320 ac_clean_files_save=$ac_clean_files
59321 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59322 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59323 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59325 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59327 # Generated by $as_me.
59328 # Run this file to recreate the current configuration.
59329 # Compiler output produced by configure, useful for debugging
59330 # configure, is in config.log if it exists.
59333 ac_cs_recheck=false
59336 SHELL=\${CONFIG_SHELL-$SHELL}
59339 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59340 ## -------------------- ##
59341 ## M4sh Initialization. ##
59342 ## -------------------- ##
59344 # Be more Bourne compatible
59345 DUALCASE=1; export DUALCASE # for MKS sh
59346 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59349 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59350 # is contrary to our usage. Disable this feature.
59351 alias -g '${1+"$@"}'='"$@"'
59352 setopt NO_GLOB_SUBST
59354 case `(set -o) 2>/dev/null` in #(
59366 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59367 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59368 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59369 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59370 # Prefer a ksh shell builtin over an external printf program on Solaris,
59371 # but without wasting forks for bash or zsh.
59372 if test -z "$BASH_VERSION$ZSH_VERSION" \
59373 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59374 as_echo='print -r --'
59375 as_echo_n='print -rn --'
59376 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59377 as_echo='printf %s\n'
59378 as_echo_n='printf %s'
59380 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59381 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59382 as_echo_n='/usr/ucb/echo -n'
59384 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59385 as_echo_n_body='eval
59389 expr "X$arg" : "X\\(.*\\)$as_nl";
59390 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59392 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59394 export as_echo_n_body
59395 as_echo_n='sh -c $as_echo_n_body as_echo'
59397 export as_echo_body
59398 as_echo='sh -c $as_echo_body as_echo'
59401 # The user is always right.
59402 if test "${PATH_SEPARATOR+set}" != set; then
59404 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59405 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59412 # We need space, tab and new line, in precisely that order. Quoting is
59413 # there to prevent editors from complaining about space-tab.
59414 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59415 # splitting by setting IFS to empty value.)
59418 # Find who we are. Look in the path if we contain no directory separator.
59420 *[\\/]* ) as_myself=$0 ;;
59421 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59422 for as_dir in $PATH
59425 test -z "$as_dir" && as_dir=.
59426 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59432 # We did not find ourselves, most probably we were run as `sh COMMAND'
59433 # in which case we are not to be found in the path.
59434 if test "x$as_myself" = x; then
59437 if test ! -f "$as_myself"; then
59438 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59442 # Unset variables that we do not need and which cause bugs (e.g. in
59443 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59444 # suppresses any "Segmentation fault" message there. '((' could
59445 # trigger a bug in pdksh 5.2.14.
59446 for as_var in BASH_ENV ENV MAIL MAILPATH
59447 do eval test x\${$as_var+set} = xset \
59448 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59461 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59464 # as_fn_error ERROR [LINENO LOG_FD]
59465 # ---------------------------------
59466 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59467 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59468 # script with status $?, using 1 if that was 0.
59471 as_status=$?; test $as_status -eq 0 && as_status=1
59473 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59474 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59476 $as_echo "$as_me: error: $1" >&2
59477 as_fn_exit $as_status
59481 # as_fn_set_status STATUS
59482 # -----------------------
59483 # Set $? to STATUS, without forking.
59484 as_fn_set_status ()
59487 } # as_fn_set_status
59489 # as_fn_exit STATUS
59490 # -----------------
59491 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59495 as_fn_set_status $1
59501 # Portably unset VAR.
59504 { eval $1=; unset $1;}
59506 as_unset=as_fn_unset
59507 # as_fn_append VAR VALUE
59508 # ----------------------
59509 # Append the text in VALUE to the end of the definition contained in VAR. Take
59510 # advantage of any shell optimizations that allow amortized linear growth over
59511 # repeated appends, instead of the typical quadratic growth present in naive
59513 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59514 eval 'as_fn_append ()
59525 # as_fn_arith ARG...
59526 # ------------------
59527 # Perform arithmetic evaluation on the ARGs, and store the result in the
59528 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59529 # must be portable across $(()) and expr.
59530 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59531 eval 'as_fn_arith ()
59538 as_val=`expr "$@" || test $? -eq 1`
59543 if expr a : '\(a\)' >/dev/null 2>&1 &&
59544 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59550 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59551 as_basename=basename
59556 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59562 as_me=`$as_basename -- "$0" ||
59563 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59564 X"$0" : 'X\(//\)$' \| \
59565 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59567 sed '/^.*\/\([^/][^/]*\)\/*$/{
59581 # Avoid depending upon Character Ranges.
59582 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59583 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59584 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59585 as_cr_digits='0123456789'
59586 as_cr_alnum=$as_cr_Letters$as_cr_digits
59588 ECHO_C= ECHO_N= ECHO_T=
59589 case `echo -n x` in #(((((
59591 case `echo 'xy\c'` in
59592 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59594 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59601 rm -f conf$$ conf$$.exe conf$$.file
59602 if test -d conf$$.dir; then
59603 rm -f conf$$.dir/conf$$.file
59606 mkdir conf$$.dir 2>/dev/null
59608 if (echo >conf$$.file) 2>/dev/null; then
59609 if ln -s conf$$.file conf$$ 2>/dev/null; then
59611 # ... but there are two gotchas:
59612 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59613 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59614 # In both cases, we have to default to `cp -p'.
59615 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59617 elif ln conf$$.file conf$$ 2>/dev/null; then
59625 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59626 rmdir conf$$.dir 2>/dev/null
59631 # Create "$as_dir" as a directory, including parents if necessary.
59636 -*) as_dir=./$as_dir;;
59638 test -d "$as_dir" || eval $as_mkdir_p || {
59642 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59643 *) as_qdir=$as_dir;;
59645 as_dirs="'$as_qdir' $as_dirs"
59646 as_dir=`$as_dirname -- "$as_dir" ||
59647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59648 X"$as_dir" : 'X\(//\)[^/]' \| \
59649 X"$as_dir" : 'X\(//\)$' \| \
59650 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59651 $as_echo X"$as_dir" |
59652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59656 /^X\(\/\/\)[^/].*/{
59669 test -d "$as_dir" && break
59671 test -z "$as_dirs" || eval "mkdir $as_dirs"
59672 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59676 if mkdir -p . 2>/dev/null; then
59677 as_mkdir_p='mkdir -p "$as_dir"'
59679 test -d ./-p && rmdir ./-p
59683 if test -x / >/dev/null 2>&1; then
59684 as_test_x='test -x'
59686 if ls -dL / >/dev/null 2>&1; then
59693 if test -d "$1"; then
59699 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59700 ???[sx]*):;;*)false;;esac;fi
59704 as_executable_p=$as_test_x
59706 # Sed expression to map a string onto a valid CPP name.
59707 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59709 # Sed expression to map a string onto a valid variable name.
59710 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59714 ## ----------------------------------- ##
59715 ## Main body of $CONFIG_STATUS script. ##
59716 ## ----------------------------------- ##
59718 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59721 # Save the log message, to keep $0 and so on meaningful, and to
59722 # report actual input values of CONFIG_FILES etc. instead of their
59723 # values after options handling.
59725 This file was extended by package-unused $as_me version-unused, which was
59726 generated by GNU Autoconf 2.64. Invocation command line was
59728 CONFIG_FILES = $CONFIG_FILES
59729 CONFIG_HEADERS = $CONFIG_HEADERS
59730 CONFIG_LINKS = $CONFIG_LINKS
59731 CONFIG_COMMANDS = $CONFIG_COMMANDS
59734 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59739 case $ac_config_files in *"
59740 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59743 case $ac_config_headers in *"
59744 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59749 # Files that config.status was made for.
59750 config_files="$ac_config_files"
59751 config_headers="$ac_config_headers"
59752 config_commands="$ac_config_commands"
59756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59758 \`$as_me' instantiates files and other configuration actions
59759 from templates according to the current configuration. Unless the files
59760 and actions are specified as TAGs, all are instantiated by default.
59762 Usage: $0 [OPTION]... [TAG]...
59764 -h, --help print this help, then exit
59765 -V, --version print version number and configuration settings, then exit
59766 -q, --quiet, --silent
59767 do not print progress messages
59768 -d, --debug don't remove temporary files
59769 --recheck update $as_me by reconfiguring in the same conditions
59770 --file=FILE[:TEMPLATE]
59771 instantiate the configuration file FILE
59772 --header=FILE[:TEMPLATE]
59773 instantiate the configuration header FILE
59775 Configuration files:
59778 Configuration headers:
59781 Configuration commands:
59784 Report bugs to the package provider."
59787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59789 package-unused config.status version-unused
59790 configured by $0, generated by GNU Autoconf 2.64,
59791 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59793 Copyright (C) 2009 Free Software Foundation, Inc.
59794 This config.status script is free software; the Free Software Foundation
59795 gives unlimited permission to copy, distribute and modify it."
59802 test -n "\$AWK" || AWK=awk
59805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59806 # The default lists apply if the user does not specify any file.
59812 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59813 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59824 # Handling of the options.
59825 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59827 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59828 $as_echo "$ac_cs_version"; exit ;;
59829 --debug | --debu | --deb | --de | --d | -d )
59831 --file | --fil | --fi | --f )
59834 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59836 as_fn_append CONFIG_FILES " '$ac_optarg'"
59837 ac_need_defaults=false;;
59838 --header | --heade | --head | --hea )
59841 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59843 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59844 ac_need_defaults=false;;
59846 # Conflict between --help and --header
59847 as_fn_error "ambiguous option: \`$1'
59848 Try \`$0 --help' for more information.";;
59849 --help | --hel | -h )
59850 $as_echo "$ac_cs_usage"; exit ;;
59851 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59852 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59855 # This is an error.
59856 -*) as_fn_error "unrecognized option: \`$1'
59857 Try \`$0 --help' for more information." ;;
59859 *) as_fn_append ac_config_targets " $1"
59860 ac_need_defaults=false ;;
59866 ac_configure_extra_args=
59868 if $ac_cs_silent; then
59870 ac_configure_extra_args="$ac_configure_extra_args --silent"
59874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59875 if \$ac_cs_recheck; then
59876 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59878 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59879 CONFIG_SHELL='$SHELL'
59880 export CONFIG_SHELL
59885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59889 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59890 ## Running $as_me. ##
59896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59904 with_multisubdir="$with_multisubdir"
59905 with_multisrctop="$with_multisrctop"
59906 with_target_subdir="$with_target_subdir"
59907 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59908 multi_basedir="$multi_basedir"
59909 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59912 GFORTRAN="$GFORTRAN"
59916 # The HP-UX ksh and POSIX shell print the target directory to stdout
59917 # if CDPATH is set.
59918 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59920 sed_quote_subst='$sed_quote_subst'
59921 double_quote_subst='$double_quote_subst'
59922 delay_variable_subst='$delay_variable_subst'
59923 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59924 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59925 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59926 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59927 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59928 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59929 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59930 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59931 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59932 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59933 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59934 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59935 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59936 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59937 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59938 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59939 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59940 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59941 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59942 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59943 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59944 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59945 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59946 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59947 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59948 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59949 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59950 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59951 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59952 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59953 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59954 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59955 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59956 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59957 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59958 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59959 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59960 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59961 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59962 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
59963 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
59964 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
59965 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
59966 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
59967 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
59968 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
59969 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
59970 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
59971 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"`'
59972 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
59973 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
59974 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
59975 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
59976 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
59977 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
59978 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
59979 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
59980 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
59981 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
59982 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
59983 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
59984 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
59985 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
59986 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
59987 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59988 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
59989 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
59990 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
59991 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
59992 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
59993 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
59994 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59995 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
59996 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59997 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
59998 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59999 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60000 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60001 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60002 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60003 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60004 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60005 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60006 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60007 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60008 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60009 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60010 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60011 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60012 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60013 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60014 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60015 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60016 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60017 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60018 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60019 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60020 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60021 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60022 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60023 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60024 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60025 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60026 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60027 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60028 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60029 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60030 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60031 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60032 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60033 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60034 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60035 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60036 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60037 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60038 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60039 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60040 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60041 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60042 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60043 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60044 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60045 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60046 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60047 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60048 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60049 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60050 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60051 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60052 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60053 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60054 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60055 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60056 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60057 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60058 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60059 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60060 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60061 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60062 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60063 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60064 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60065 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60066 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60067 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60068 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60069 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60070 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60071 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60072 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60073 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60074 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60075 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60076 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60077 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60078 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60079 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60080 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60081 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60082 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60083 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60084 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60085 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60086 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60087 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60088 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60089 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60090 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60091 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60092 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60093 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60094 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60095 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60096 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60097 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60100 LTCFLAGS='$LTCFLAGS'
60101 compiler='$compiler_DEFAULT'
60103 # A function that is used when there is no print builtin or printf.
60104 func_fallback_echo ()
60106 eval 'cat <<_LTECHO_EOF
60111 # Quote evaled strings.
60125 deplibs_check_method \
60134 lt_cv_sys_global_symbol_pipe \
60135 lt_cv_sys_global_symbol_to_cdecl \
60136 lt_cv_sys_global_symbol_to_c_name_address \
60137 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60138 lt_prog_compiler_no_builtin_flag \
60139 lt_prog_compiler_wl \
60140 lt_prog_compiler_pic \
60141 lt_prog_compiler_static \
60142 lt_cv_prog_compiler_c_o \
60150 export_dynamic_flag_spec \
60151 whole_archive_flag_spec \
60152 compiler_needs_object \
60154 allow_undefined_flag \
60155 no_undefined_flag \
60156 hardcode_libdir_flag_spec \
60157 hardcode_libdir_flag_spec_ld \
60158 hardcode_libdir_separator \
60163 variables_saved_for_relink \
60165 library_names_spec \
60167 install_override_mode \
60171 compiler_lib_search_dirs \
60176 compiler_lib_search_path \
60180 lt_prog_compiler_no_builtin_flag_CXX \
60181 lt_prog_compiler_wl_CXX \
60182 lt_prog_compiler_pic_CXX \
60183 lt_prog_compiler_static_CXX \
60184 lt_cv_prog_compiler_c_o_CXX \
60185 export_dynamic_flag_spec_CXX \
60186 whole_archive_flag_spec_CXX \
60187 compiler_needs_object_CXX \
60189 allow_undefined_flag_CXX \
60190 no_undefined_flag_CXX \
60191 hardcode_libdir_flag_spec_CXX \
60192 hardcode_libdir_flag_spec_ld_CXX \
60193 hardcode_libdir_separator_CXX \
60194 fix_srcfile_path_CXX \
60195 exclude_expsyms_CXX \
60196 include_expsyms_CXX \
60197 file_list_spec_CXX \
60198 compiler_lib_search_dirs_CXX \
60199 predep_objects_CXX \
60200 postdep_objects_CXX \
60203 compiler_lib_search_path_CXX; do
60204 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60205 *[\\\\\\\`\\"\\\$]*)
60206 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60209 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60214 # Double-quote double-evaled strings.
60215 for var in reload_cmds \
60216 old_postinstall_cmds \
60217 old_postuninstall_cmds \
60219 extract_expsyms_cmds \
60220 old_archive_from_new_cmds \
60221 old_archive_from_expsyms_cmds \
60223 archive_expsym_cmds \
60225 module_expsym_cmds \
60226 export_symbols_cmds \
60229 postuninstall_cmds \
60231 sys_lib_search_path_spec \
60232 sys_lib_dlsearch_path_spec \
60234 old_archive_cmds_CXX \
60235 old_archive_from_new_cmds_CXX \
60236 old_archive_from_expsyms_cmds_CXX \
60238 archive_expsym_cmds_CXX \
60240 module_expsym_cmds_CXX \
60241 export_symbols_cmds_CXX \
60242 prelink_cmds_CXX; do
60243 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60244 *[\\\\\\\`\\"\\\$]*)
60245 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60248 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60253 ac_aux_dir='$ac_aux_dir'
60254 xsi_shell='$xsi_shell'
60255 lt_shell_append='$lt_shell_append'
60257 # See if we are running on zsh, and set the options which allow our
60258 # commands through without removal of \ escapes INIT.
60259 if test -n "\${ZSH_VERSION+set}" ; then
60260 setopt NO_GLOB_SUBST
60266 TIMESTAMP='$TIMESTAMP'
60277 acx_cv_header_stdint="$acx_cv_header_stdint"
60278 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60279 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60280 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60281 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60282 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60283 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60284 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60285 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60286 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60287 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60288 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60289 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60290 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60297 # Handling of arguments.
60298 for ac_config_target in $ac_config_targets
60300 case $ac_config_target in
60301 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60302 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60303 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60304 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60305 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60306 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60307 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60308 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60309 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60310 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60311 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60312 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60313 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60314 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60316 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60321 # If the user did not use the arguments to specify the items to instantiate,
60322 # then the envvar interface is used. Set only those that are not.
60323 # We use the long form for the default assignment because of an extremely
60324 # bizarre bug on SunOS 4.1.3.
60325 if $ac_need_defaults; then
60326 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60327 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60328 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60331 # Have a temporary directory for convenience. Make it in the build tree
60332 # simply because there is no reason against having it here, and in addition,
60333 # creating and moving files from /tmp can sometimes cause problems.
60334 # Hook for its removal unless debugging.
60335 # Note that there is a small window in which the directory will not be cleaned:
60336 # after its creation but before its name has been assigned to `$tmp'.
60340 trap 'exit_status=$?
60341 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60343 trap 'as_fn_exit 1' 1 2 13 15
60345 # Create a (secure) tmp directory for tmp files.
60348 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60349 test -n "$tmp" && test -d "$tmp"
60352 tmp=./conf$$-$RANDOM
60353 (umask 077 && mkdir "$tmp")
60354 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60356 # Set up the scripts for CONFIG_FILES section.
60357 # No need to generate them if there are no CONFIG_FILES.
60358 # This happens for instance with `./config.status config.h'.
60359 if test -n "$CONFIG_FILES"; then
60362 ac_cr=`echo X | tr X '\015'`
60363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60364 # But we know of no other shell where ac_cr would be empty at this
60365 # point, so we can use a bashism as a fallback.
60366 if test "x$ac_cr" = x; then
60367 eval ac_cr=\$\'\\r\'
60369 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60373 ac_cs_awk_cr=$ac_cr
60376 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60381 echo "cat >conf$$subs.awk <<_ACEOF" &&
60382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60384 } >conf$$subs.sh ||
60385 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60388 for ac_last_try in false false false false false :; do
60389 . ./conf$$subs.sh ||
60390 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60392 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60393 if test $ac_delim_n = $ac_delim_num; then
60395 elif $ac_last_try; then
60396 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60401 rm -f conf$$subs.sh
60403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60404 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60408 s/^/S["/; s/!.*/"]=/
60418 s/\(.\{148\}\).*/\1/
60420 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60425 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60432 s/\(.\{148\}\).*/\1/
60434 s/["\\]/\\&/g; s/^/"/; s/$/"/
60438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60443 ' <conf$$subs.awk | sed '
60448 ' >>$CONFIG_STATUS || ac_write_fail=1
60449 rm -f conf$$subs.awk
60450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60452 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60453 for (key in S) S_is_set[key] = 1
60459 nfields = split(line, field, "@")
60461 len = length(field[1])
60462 for (i = 2; i < nfields; i++) {
60464 keylen = length(key)
60465 if (S_is_set[key]) {
60467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60468 len += length(value) + length(field[++i])
60479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60480 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60481 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60484 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60485 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60488 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60489 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60490 # trailing colons and then remove the whole line if VPATH becomes empty
60491 # (actually we leave an empty line to preserve line numbers).
60492 if test "x$srcdir" = x.; then
60493 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60494 s/:*\$(srcdir):*/:/
60495 s/:*\${srcdir}:*/:/
60497 s/^\([^=]*=[ ]*\):*/\1/
60503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60504 fi # test -n "$CONFIG_FILES"
60506 # Set up the scripts for CONFIG_HEADERS section.
60507 # No need to generate them if there are no CONFIG_HEADERS.
60508 # This happens for instance with `./config.status Makefile'.
60509 if test -n "$CONFIG_HEADERS"; then
60510 cat >"$tmp/defines.awk" <<\_ACAWK ||
60514 # Transform confdefs.h into an awk script `defines.awk', embedded as
60515 # here-document in config.status, that substitutes the proper values into
60516 # config.h.in to produce config.h.
60518 # Create a delimiter string that does not exist in confdefs.h, to ease
60519 # handling of long lines.
60521 for ac_last_try in false false :; do
60522 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60523 if test -z "$ac_t"; then
60525 elif $ac_last_try; then
60526 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60532 # For the awk script, D is an array of macro values keyed by name,
60533 # likewise P contains macro parameters if any. Preserve backslash
60534 # newline sequences.
60536 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60538 s/.\{148\}/&'"$ac_delim"'/g
60541 s/^[ ]*#[ ]*define[ ][ ]*/ /
60548 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60550 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60554 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60555 D["\1"]=" \3\\\\\\n"\\/p
60557 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60562 s/.\{148\}/&'"$ac_delim"'/g
60567 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60570 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60572 ' <confdefs.h | sed '
60573 s/'"$ac_delim"'/"\\\
60574 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60577 for (key in D) D_is_set[key] = 1
60580 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60582 split(line, arg, " ")
60583 if (arg[1] == "#") {
60587 defundef = substr(arg[1], 2)
60590 split(mac1, mac2, "(") #)
60592 prefix = substr(line, 1, index(line, defundef) - 1)
60593 if (D_is_set[macro]) {
60594 # Preserve the white space surrounding the "#".
60595 print prefix "define", macro P[macro] D[macro]
60598 # Replace #undef with comments. This is necessary, for example,
60599 # in the case of _POSIX_SOURCE, which is predefined and required
60600 # on some systems where configure will not decide to define it.
60601 if (defundef == "undef") {
60602 print "/*", prefix defundef, macro, "*/"
60610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60611 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60612 fi # test -n "$CONFIG_HEADERS"
60615 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60620 :[FHLC]) ac_mode=$ac_tag; continue;;
60622 case $ac_mode$ac_tag in
60624 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60625 :[FH]-) ac_tag=-:-;;
60626 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60643 -) ac_f="$tmp/stdin";;
60644 *) # Look for the file first in the build tree, then in the source tree
60645 # (if the path is not absolute). The absolute path cannot be DOS-style,
60646 # because $ac_f cannot contain `:'.
60650 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60652 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60654 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60655 as_fn_append ac_file_inputs " '$ac_f'"
60658 # Let's still pretend it is `configure' which instantiates (i.e., don't
60659 # use $as_me), people would be surprised to read:
60660 # /* config.h. Generated by config.status. */
60661 configure_input='Generated from '`
60662 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60664 if test x"$ac_file" != x-; then
60665 configure_input="$ac_file. $configure_input"
60666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60667 $as_echo "$as_me: creating $ac_file" >&6;}
60669 # Neutralize special characters interpreted by sed in replacement strings.
60670 case $configure_input in #(
60671 *\&* | *\|* | *\\* )
60672 ac_sed_conf_input=`$as_echo "$configure_input" |
60673 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60674 *) ac_sed_conf_input=$configure_input;;
60678 *:-:* | *:-) cat >"$tmp/stdin" \
60679 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60684 ac_dir=`$as_dirname -- "$ac_file" ||
60685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60686 X"$ac_file" : 'X\(//\)[^/]' \| \
60687 X"$ac_file" : 'X\(//\)$' \| \
60688 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60689 $as_echo X"$ac_file" |
60690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60694 /^X\(\/\/\)[^/].*/{
60707 as_dir="$ac_dir"; as_fn_mkdir_p
60711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60713 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60714 # A ".." for each directory in $ac_dir_suffix.
60715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60716 case $ac_top_builddir_sub in
60717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60721 ac_abs_top_builddir=$ac_pwd
60722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60723 # for backward compatibility:
60724 ac_top_builddir=$ac_top_build_prefix
60727 .) # We are building in place.
60729 ac_top_srcdir=$ac_top_builddir_sub
60730 ac_abs_top_srcdir=$ac_pwd ;;
60731 [\\/]* | ?:[\\/]* ) # Absolute name.
60732 ac_srcdir=$srcdir$ac_dir_suffix;
60733 ac_top_srcdir=$srcdir
60734 ac_abs_top_srcdir=$srcdir ;;
60735 *) # Relative name.
60736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60737 ac_top_srcdir=$ac_top_build_prefix$srcdir
60738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60750 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60751 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60753 ac_MKDIR_P=$MKDIR_P
60755 [\\/$]* | ?:[\\/]* ) ;;
60756 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60761 # If the template does not know about datarootdir, expand it.
60762 # FIXME: This hack should be removed a few years after 2.60.
60763 ac_datarootdir_hack=; ac_datarootdir_seen=
60774 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60775 *datarootdir*) ac_datarootdir_seen=yes;;
60776 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60778 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60781 ac_datarootdir_hack='
60782 s&@datadir@&$datadir&g
60783 s&@docdir@&$docdir&g
60784 s&@infodir@&$infodir&g
60785 s&@localedir@&$localedir&g
60786 s&@mandir@&$mandir&g
60787 s&\\\${datarootdir}&$datarootdir&g' ;;
60791 # Neutralize VPATH when `$srcdir' = `.'.
60792 # Shell code in configure.ac might set extrasub.
60793 # FIXME: do we really want to maintain this feature?
60794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60795 ac_sed_extra="$ac_vpsub
60798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60800 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60801 s|@configure_input@|$ac_sed_conf_input|;t t
60802 s&@top_builddir@&$ac_top_builddir_sub&;t t
60803 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60804 s&@srcdir@&$ac_srcdir&;t t
60805 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60806 s&@top_srcdir@&$ac_top_srcdir&;t t
60807 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60808 s&@builddir@&$ac_builddir&;t t
60809 s&@abs_builddir@&$ac_abs_builddir&;t t
60810 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60811 s&@INSTALL@&$ac_INSTALL&;t t
60812 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60813 $ac_datarootdir_hack
60815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60816 || as_fn_error "could not create $ac_file" "$LINENO" 5
60818 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60819 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60820 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60822 which seems to be undefined. Please make sure it is defined." >&5
60823 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60824 which seems to be undefined. Please make sure it is defined." >&2;}
60828 -) cat "$tmp/out" && rm -f "$tmp/out";;
60829 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60831 || as_fn_error "could not create $ac_file" "$LINENO" 5
60837 if test x"$ac_file" != x-; then
60839 $as_echo "/* $configure_input */" \
60840 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60841 } >"$tmp/config.h" \
60842 || as_fn_error "could not create $ac_file" "$LINENO" 5
60843 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60844 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60845 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60848 mv "$tmp/config.h" "$ac_file" \
60849 || as_fn_error "could not create $ac_file" "$LINENO" 5
60852 $as_echo "/* $configure_input */" \
60853 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60854 || as_fn_error "could not create -" "$LINENO" 5
60856 # Compute "$ac_file"'s index in $config_headers.
60859 for _am_header in $config_headers :; do
60860 case $_am_header in
60861 $_am_arg | $_am_arg:* )
60864 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60867 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60868 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60869 X"$_am_arg" : 'X\(//\)[^/]' \| \
60870 X"$_am_arg" : 'X\(//\)$' \| \
60871 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60872 $as_echo X"$_am_arg" |
60873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60877 /^X\(\/\/\)[^/].*/{
60889 s/.*/./; q'`/stamp-h$_am_stamp_count
60892 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60893 $as_echo "$as_me: executing $ac_file commands" >&6;}
60898 case $ac_file$ac_mode in
60900 # Only add multilib support code if we just rebuilt the top-level
60902 case " $CONFIG_FILES " in
60904 ac_file=Makefile . ${multi_basedir}/config-ml.in
60909 # See if we are running on zsh, and set the options which allow our
60910 # commands through without removal of \ escapes.
60911 if test -n "${ZSH_VERSION+set}" ; then
60912 setopt NO_GLOB_SUBST
60915 cfgfile="${ofile}T"
60916 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60919 cat <<_LT_EOF >> "$cfgfile"
60922 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60923 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60924 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60925 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60927 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60928 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60929 # Written by Gordon Matzigkeit, 1996
60931 # This file is part of GNU Libtool.
60933 # GNU Libtool is free software; you can redistribute it and/or
60934 # modify it under the terms of the GNU General Public License as
60935 # published by the Free Software Foundation; either version 2 of
60936 # the License, or (at your option) any later version.
60938 # As a special exception to the GNU General Public License,
60939 # if you distribute this file as part of a program or library that
60940 # is built using GNU Libtool, you may include this file under the
60941 # same distribution terms that you use for the rest of that program.
60943 # GNU Libtool is distributed in the hope that it will be useful,
60944 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60945 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60946 # GNU General Public License for more details.
60948 # You should have received a copy of the GNU General Public License
60949 # along with GNU Libtool; see the file COPYING. If not, a copy
60950 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60951 # obtained by writing to the Free Software Foundation, Inc.,
60952 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60955 # The names of the tagged configurations supported by this script.
60956 available_tags="CXX "
60958 # ### BEGIN LIBTOOL CONFIG
60960 # Which release of libtool.m4 was used?
60961 macro_version=$macro_version
60962 macro_revision=$macro_revision
60964 # Whether or not to build shared libraries.
60965 build_libtool_libs=$enable_shared
60967 # Whether or not to build static libraries.
60968 build_old_libs=$enable_static
60970 # What type of objects to build.
60973 # Whether or not to optimize for fast installation.
60974 fast_install=$enable_fast_install
60976 # Shell to use when invoking shell scripts.
60979 # An echo program that protects backslashes.
60983 host_alias=$host_alias
60987 # The build system.
60988 build_alias=$build_alias
60992 # A sed program that does not truncate output.
60995 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60996 Xsed="\$SED -e 1s/^X//"
60998 # A grep program that handles long lines.
61004 # A literal string matcher.
61007 # A BSD- or MS-compatible name lister.
61010 # Whether we need soft or hard links.
61013 # What is the maximum length of a command?
61014 max_cmd_len=$max_cmd_len
61016 # Object file suffix (normally "o").
61019 # Executable file suffix (normally "").
61022 # whether the shell understands "unset".
61025 # turn spaces into newlines.
61028 # turn newlines into spaces.
61031 # An object symbol dumper.
61032 OBJDUMP=$lt_OBJDUMP
61034 # Method to check whether dependent libraries are shared objects.
61035 deplibs_check_method=$lt_deplibs_check_method
61037 # Command to use when deplibs_check_method == "file_magic".
61038 file_magic_cmd=$lt_file_magic_cmd
61042 AR_FLAGS=$lt_AR_FLAGS
61044 # A symbol stripping program.
61047 # Commands used to install an old-style archive.
61049 old_postinstall_cmds=$lt_old_postinstall_cmds
61050 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61052 # Whether to use a lock for old archive extraction.
61053 lock_old_archive_extraction=$lock_old_archive_extraction
61058 # LTCC compiler flags.
61059 LTCFLAGS=$lt_CFLAGS
61061 # Take the output of nm and produce a listing of raw symbols and C names.
61062 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61064 # Transform the output of nm in a proper C declaration.
61065 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61067 # Transform the output of nm in a C name address pair.
61068 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61070 # Transform the output of nm in a C name address pair when lib prefix is needed.
61071 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61073 # The name of the directory that contains temporary libtool files.
61076 # Used to examine libraries when file_magic_cmd begins with "file".
61077 MAGIC_CMD=$MAGIC_CMD
61079 # Must we lock files when doing compilation?
61080 need_locks=$lt_need_locks
61082 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61083 DSYMUTIL=$lt_DSYMUTIL
61085 # Tool to change global to local symbols on Mac OS X.
61088 # Tool to manipulate fat objects and archives on Mac OS X.
61091 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61094 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61095 OTOOL64=$lt_OTOOL64
61097 # Old archive suffix (normally "a").
61100 # Shared library suffix (normally ".so").
61101 shrext_cmds=$lt_shrext_cmds
61103 # The commands to extract the exported symbol list from a shared archive.
61104 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61106 # Variables whose values should be saved in libtool wrapper scripts and
61107 # restored at link time.
61108 variables_saved_for_relink=$lt_variables_saved_for_relink
61110 # Do we need the "lib" prefix for modules?
61111 need_lib_prefix=$need_lib_prefix
61113 # Do we need a version for libraries?
61114 need_version=$need_version
61116 # Library versioning type.
61117 version_type=$version_type
61119 # Shared library runtime path variable.
61120 runpath_var=$runpath_var
61122 # Shared library path variable.
61123 shlibpath_var=$shlibpath_var
61125 # Is shlibpath searched before the hard-coded library search path?
61126 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61128 # Format of library name prefix.
61129 libname_spec=$lt_libname_spec
61131 # List of archive names. First name is the real one, the rest are links.
61132 # The last name is the one that the linker finds with -lNAME
61133 library_names_spec=$lt_library_names_spec
61135 # The coded name of the library, if different from the real name.
61136 soname_spec=$lt_soname_spec
61138 # Permission mode override for installation of shared libraries.
61139 install_override_mode=$lt_install_override_mode
61141 # Command to use after installation of a shared archive.
61142 postinstall_cmds=$lt_postinstall_cmds
61144 # Command to use after uninstallation of a shared archive.
61145 postuninstall_cmds=$lt_postuninstall_cmds
61147 # Commands used to finish a libtool library installation in a directory.
61148 finish_cmds=$lt_finish_cmds
61150 # As "finish_cmds", except a single script fragment to be evaled but
61152 finish_eval=$lt_finish_eval
61154 # Whether we should hardcode library paths into libraries.
61155 hardcode_into_libs=$hardcode_into_libs
61157 # Compile-time system search path for libraries.
61158 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61160 # Run-time system search path for libraries.
61161 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61163 # Whether dlopen is supported.
61164 dlopen_support=$enable_dlopen
61166 # Whether dlopen of programs is supported.
61167 dlopen_self=$enable_dlopen_self
61169 # Whether dlopen of statically linked programs is supported.
61170 dlopen_self_static=$enable_dlopen_self_static
61172 # Commands to strip libraries.
61173 old_striplib=$lt_old_striplib
61174 striplib=$lt_striplib
61177 # The linker used to build libraries.
61180 # How to create reloadable object files.
61181 reload_flag=$lt_reload_flag
61182 reload_cmds=$lt_reload_cmds
61184 # Commands used to build an old-style archive.
61185 old_archive_cmds=$lt_old_archive_cmds
61187 # A language specific compiler.
61190 # Is the compiler the GNU compiler?
61193 # Compiler flag to turn off builtin functions.
61194 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61196 # How to pass a linker flag through the compiler.
61197 wl=$lt_lt_prog_compiler_wl
61199 # Additional compiler flags for building library objects.
61200 pic_flag=$lt_lt_prog_compiler_pic
61202 # Compiler flag to prevent dynamic linking.
61203 link_static_flag=$lt_lt_prog_compiler_static
61205 # Does compiler simultaneously support -c and -o options?
61206 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61208 # Whether or not to add -lc for building shared libraries.
61209 build_libtool_need_lc=$archive_cmds_need_lc
61211 # Whether or not to disallow shared libs when runtime libs are static.
61212 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61214 # Compiler flag to allow reflexive dlopens.
61215 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61217 # Compiler flag to generate shared objects directly from archives.
61218 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61220 # Whether the compiler copes with passing no objects directly.
61221 compiler_needs_object=$lt_compiler_needs_object
61223 # Create an old-style archive from a shared archive.
61224 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61226 # Create a temporary old-style archive to link instead of a shared archive.
61227 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61229 # Commands used to build a shared archive.
61230 archive_cmds=$lt_archive_cmds
61231 archive_expsym_cmds=$lt_archive_expsym_cmds
61233 # Commands used to build a loadable module if different from building
61234 # a shared archive.
61235 module_cmds=$lt_module_cmds
61236 module_expsym_cmds=$lt_module_expsym_cmds
61238 # Whether we are building with GNU ld or not.
61239 with_gnu_ld=$lt_with_gnu_ld
61241 # Flag that allows shared libraries with undefined symbols to be built.
61242 allow_undefined_flag=$lt_allow_undefined_flag
61244 # Flag that enforces no undefined symbols.
61245 no_undefined_flag=$lt_no_undefined_flag
61247 # Flag to hardcode \$libdir into a binary during linking.
61248 # This must work even if \$libdir does not exist
61249 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61251 # If ld is used when linking, flag to hardcode \$libdir into a binary
61252 # during linking. This must work even if \$libdir does not exist.
61253 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61255 # Whether we need a single "-rpath" flag with a separated argument.
61256 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61258 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61259 # DIR into the resulting binary.
61260 hardcode_direct=$hardcode_direct
61262 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61263 # DIR into the resulting binary and the resulting library dependency is
61264 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61265 # library is relocated.
61266 hardcode_direct_absolute=$hardcode_direct_absolute
61268 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61269 # into the resulting binary.
61270 hardcode_minus_L=$hardcode_minus_L
61272 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61273 # into the resulting binary.
61274 hardcode_shlibpath_var=$hardcode_shlibpath_var
61276 # Set to "yes" if building a shared library automatically hardcodes DIR
61277 # into the library and all subsequent libraries and executables linked
61279 hardcode_automatic=$hardcode_automatic
61281 # Set to yes if linker adds runtime paths of dependent libraries
61282 # to runtime path list.
61283 inherit_rpath=$inherit_rpath
61285 # Whether libtool must link a program against all its dependency libraries.
61286 link_all_deplibs=$link_all_deplibs
61288 # Fix the shell variable \$srcfile for the compiler.
61289 fix_srcfile_path=$lt_fix_srcfile_path
61291 # Set to "yes" if exported symbols are required.
61292 always_export_symbols=$always_export_symbols
61294 # The commands to list exported symbols.
61295 export_symbols_cmds=$lt_export_symbols_cmds
61297 # Symbols that should not be listed in the preloaded symbols.
61298 exclude_expsyms=$lt_exclude_expsyms
61300 # Symbols that must always be exported.
61301 include_expsyms=$lt_include_expsyms
61303 # Commands necessary for linking programs (against libraries) with templates.
61304 prelink_cmds=$lt_prelink_cmds
61306 # Specify filename containing input files.
61307 file_list_spec=$lt_file_list_spec
61309 # How to hardcode a shared library path into an executable.
61310 hardcode_action=$hardcode_action
61312 # The directories searched by this compiler when creating a shared library.
61313 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61315 # Dependencies to place before and after the objects being linked to
61316 # create a shared library.
61317 predep_objects=$lt_predep_objects
61318 postdep_objects=$lt_postdep_objects
61319 predeps=$lt_predeps
61320 postdeps=$lt_postdeps
61322 # The library search path used internally by the compiler when linking
61323 # a shared library.
61324 compiler_lib_search_path=$lt_compiler_lib_search_path
61326 # ### END LIBTOOL CONFIG
61332 cat <<\_LT_EOF >> "$cfgfile"
61333 # AIX sometimes has problems with the GCC collect2 program. For some
61334 # reason, if we set the COLLECT_NAMES environment variable, the problems
61335 # vanish in a puff of smoke.
61336 if test "X${COLLECT_NAMES+set}" != Xset; then
61338 export COLLECT_NAMES
61345 ltmain="$ac_aux_dir/ltmain.sh"
61348 # We use sed instead of cat because bash on DJGPP gets confused if
61349 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61350 # text mode, it properly converts lines to CR/LF. This bash problem
61351 # is reportedly fixed, but why not run on old versions too?
61352 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61353 || (rm -f "$cfgfile"; exit 1)
61357 cat << \_LT_EOF >> "$cfgfile"
61359 # func_dirname file append nondir_replacement
61360 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61361 # otherwise set result to NONDIR_REPLACEMENT.
61365 */*) func_dirname_result="${1%/*}${2}" ;;
61366 * ) func_dirname_result="${3}" ;;
61370 # func_basename file
61373 func_basename_result="${1##*/}"
61376 # func_dirname_and_basename file append nondir_replacement
61377 # perform func_basename and func_dirname in a single function
61379 # dirname: Compute the dirname of FILE. If nonempty,
61380 # add APPEND to the result, otherwise set result
61381 # to NONDIR_REPLACEMENT.
61382 # value returned in "$func_dirname_result"
61383 # basename: Compute filename of FILE.
61384 # value retuned in "$func_basename_result"
61385 # Implementation must be kept synchronized with func_dirname
61386 # and func_basename. For efficiency, we do not delegate to
61387 # those functions but instead duplicate the functionality here.
61388 func_dirname_and_basename ()
61391 */*) func_dirname_result="${1%/*}${2}" ;;
61392 * ) func_dirname_result="${3}" ;;
61394 func_basename_result="${1##*/}"
61397 # func_stripname prefix suffix name
61398 # strip PREFIX and SUFFIX off of NAME.
61399 # PREFIX and SUFFIX must not contain globbing or regex special
61400 # characters, hashes, percent signs, but SUFFIX may contain a leading
61401 # dot (in which case that matches only a dot).
61404 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61405 # positional parameters, so assign one to ordinary parameter first.
61406 func_stripname_result=${3}
61407 func_stripname_result=${func_stripname_result#"${1}"}
61408 func_stripname_result=${func_stripname_result%"${2}"}
61414 func_opt_split_opt=${1%%=*}
61415 func_opt_split_arg=${1#*=}
61422 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61423 *) func_lo2o_result=${1} ;;
61427 # func_xform libobj-or-source
61430 func_xform_result=${1%.*}.lo
61433 # func_arith arithmetic-term...
61436 func_arith_result=$(( $* ))
61440 # STRING may not start with a hyphen.
61443 func_len_result=${#1}
61448 *) # Bourne compatible functions.
61449 cat << \_LT_EOF >> "$cfgfile"
61451 # func_dirname file append nondir_replacement
61452 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61453 # otherwise set result to NONDIR_REPLACEMENT.
61456 # Extract subdirectory from the argument.
61457 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61458 if test "X$func_dirname_result" = "X${1}"; then
61459 func_dirname_result="${3}"
61461 func_dirname_result="$func_dirname_result${2}"
61465 # func_basename file
61468 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61472 # func_stripname prefix suffix name
61473 # strip PREFIX and SUFFIX off of NAME.
61474 # PREFIX and SUFFIX must not contain globbing or regex special
61475 # characters, hashes, percent signs, but SUFFIX may contain a leading
61476 # dot (in which case that matches only a dot).
61477 # func_strip_suffix prefix name
61481 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61482 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61487 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61488 my_sed_long_arg='1s/^-[^=]*=//'
61493 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61494 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61500 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61503 # func_xform libobj-or-source
61506 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61509 # func_arith arithmetic-term...
61512 func_arith_result=`expr "$@"`
61516 # STRING may not start with a hyphen.
61519 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61525 case $lt_shell_append in
61527 cat << \_LT_EOF >> "$cfgfile"
61529 # func_append var value
61530 # Append VALUE to the end of shell variable VAR.
61538 cat << \_LT_EOF >> "$cfgfile"
61540 # func_append var value
61541 # Append VALUE to the end of shell variable VAR.
61552 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61553 || (rm -f "$cfgfile"; exit 1)
61555 mv -f "$cfgfile" "$ofile" ||
61556 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61560 cat <<_LT_EOF >> "$ofile"
61562 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61564 # The linker used to build libraries.
61567 # How to create reloadable object files.
61568 reload_flag=$lt_reload_flag_CXX
61569 reload_cmds=$lt_reload_cmds_CXX
61571 # Commands used to build an old-style archive.
61572 old_archive_cmds=$lt_old_archive_cmds_CXX
61574 # A language specific compiler.
61575 CC=$lt_compiler_CXX
61577 # Is the compiler the GNU compiler?
61580 # Compiler flag to turn off builtin functions.
61581 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61583 # How to pass a linker flag through the compiler.
61584 wl=$lt_lt_prog_compiler_wl_CXX
61586 # Additional compiler flags for building library objects.
61587 pic_flag=$lt_lt_prog_compiler_pic_CXX
61589 # Compiler flag to prevent dynamic linking.
61590 link_static_flag=$lt_lt_prog_compiler_static_CXX
61592 # Does compiler simultaneously support -c and -o options?
61593 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61595 # Whether or not to add -lc for building shared libraries.
61596 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61598 # Whether or not to disallow shared libs when runtime libs are static.
61599 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61601 # Compiler flag to allow reflexive dlopens.
61602 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61604 # Compiler flag to generate shared objects directly from archives.
61605 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61607 # Whether the compiler copes with passing no objects directly.
61608 compiler_needs_object=$lt_compiler_needs_object_CXX
61610 # Create an old-style archive from a shared archive.
61611 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61613 # Create a temporary old-style archive to link instead of a shared archive.
61614 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61616 # Commands used to build a shared archive.
61617 archive_cmds=$lt_archive_cmds_CXX
61618 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61620 # Commands used to build a loadable module if different from building
61621 # a shared archive.
61622 module_cmds=$lt_module_cmds_CXX
61623 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61625 # Whether we are building with GNU ld or not.
61626 with_gnu_ld=$lt_with_gnu_ld_CXX
61628 # Flag that allows shared libraries with undefined symbols to be built.
61629 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61631 # Flag that enforces no undefined symbols.
61632 no_undefined_flag=$lt_no_undefined_flag_CXX
61634 # Flag to hardcode \$libdir into a binary during linking.
61635 # This must work even if \$libdir does not exist
61636 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61638 # If ld is used when linking, flag to hardcode \$libdir into a binary
61639 # during linking. This must work even if \$libdir does not exist.
61640 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61642 # Whether we need a single "-rpath" flag with a separated argument.
61643 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61645 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61646 # DIR into the resulting binary.
61647 hardcode_direct=$hardcode_direct_CXX
61649 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61650 # DIR into the resulting binary and the resulting library dependency is
61651 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61652 # library is relocated.
61653 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61655 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61656 # into the resulting binary.
61657 hardcode_minus_L=$hardcode_minus_L_CXX
61659 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61660 # into the resulting binary.
61661 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61663 # Set to "yes" if building a shared library automatically hardcodes DIR
61664 # into the library and all subsequent libraries and executables linked
61666 hardcode_automatic=$hardcode_automatic_CXX
61668 # Set to yes if linker adds runtime paths of dependent libraries
61669 # to runtime path list.
61670 inherit_rpath=$inherit_rpath_CXX
61672 # Whether libtool must link a program against all its dependency libraries.
61673 link_all_deplibs=$link_all_deplibs_CXX
61675 # Fix the shell variable \$srcfile for the compiler.
61676 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61678 # Set to "yes" if exported symbols are required.
61679 always_export_symbols=$always_export_symbols_CXX
61681 # The commands to list exported symbols.
61682 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61684 # Symbols that should not be listed in the preloaded symbols.
61685 exclude_expsyms=$lt_exclude_expsyms_CXX
61687 # Symbols that must always be exported.
61688 include_expsyms=$lt_include_expsyms_CXX
61690 # Commands necessary for linking programs (against libraries) with templates.
61691 prelink_cmds=$lt_prelink_cmds_CXX
61693 # Specify filename containing input files.
61694 file_list_spec=$lt_file_list_spec_CXX
61696 # How to hardcode a shared library path into an executable.
61697 hardcode_action=$hardcode_action_CXX
61699 # The directories searched by this compiler when creating a shared library.
61700 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61702 # Dependencies to place before and after the objects being linked to
61703 # create a shared library.
61704 predep_objects=$lt_predep_objects_CXX
61705 postdep_objects=$lt_postdep_objects_CXX
61706 predeps=$lt_predeps_CXX
61707 postdeps=$lt_postdeps_CXX
61709 # The library search path used internally by the compiler when linking
61710 # a shared library.
61711 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61713 # ### END LIBTOOL TAG CONFIG: CXX
61717 "include/gstdint.h":C)
61718 if test "$GCC" = yes; then
61719 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61721 echo "/* generated for $CC */" > tmp-stdint.h
61724 sed 's/^ *//' >> tmp-stdint.h <<EOF
61726 #ifndef GCC_GENERATED_STDINT_H
61727 #define GCC_GENERATED_STDINT_H 1
61729 #include <sys/types.h>
61732 if test "$acx_cv_header_stdint" != stdint.h; then
61733 echo "#include <stddef.h>" >> tmp-stdint.h
61735 if test "$acx_cv_header_stdint" != stddef.h; then
61736 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61739 sed 's/^ *//' >> tmp-stdint.h <<EOF
61740 /* glibc uses these symbols as guards to prevent redefinitions. */
61741 #ifdef __int8_t_defined
61746 #ifdef __uint32_t_defined
61752 # ----------------- done header, emit basic int types -------------
61753 if test "$acx_cv_header_stdint" = stddef.h; then
61754 sed 's/^ *//' >> tmp-stdint.h <<EOF
61758 #ifndef __uint8_t_defined
61759 #define __uint8_t_defined
61761 typedef unsigned $acx_cv_type_int8_t uint8_t;
61768 #ifndef __uint16_t_defined
61769 #define __uint16_t_defined
61771 typedef unsigned $acx_cv_type_int16_t uint16_t;
61778 #ifndef __uint32_t_defined
61779 #define __uint32_t_defined
61781 typedef unsigned $acx_cv_type_int32_t uint32_t;
61788 #ifndef __int8_t_defined
61789 #define __int8_t_defined
61791 typedef $acx_cv_type_int8_t int8_t;
61798 #ifndef __int16_t_defined
61799 #define __int16_t_defined
61801 typedef $acx_cv_type_int16_t int16_t;
61808 #ifndef __int32_t_defined
61809 #define __int32_t_defined
61811 typedef $acx_cv_type_int32_t int32_t;
61816 elif test "$ac_cv_type_u_int32_t" = yes; then
61817 sed 's/^ *//' >> tmp-stdint.h <<EOF
61819 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61832 #ifndef __uint8_t_defined
61833 #define __uint8_t_defined
61835 typedef u_int8_t uint8_t;
61842 #ifndef __uint16_t_defined
61843 #define __uint16_t_defined
61845 typedef u_int16_t uint16_t;
61852 #ifndef __uint32_t_defined
61853 #define __uint32_t_defined
61855 typedef u_int32_t uint32_t;
61861 sed 's/^ *//' >> tmp-stdint.h <<EOF
61863 /* Some systems have guard macros to prevent redefinitions, define them. */
61885 # ------------- done basic int types, emit int64_t types ------------
61886 if test "$ac_cv_type_uint64_t" = yes; then
61887 sed 's/^ *//' >> tmp-stdint.h <<EOF
61889 /* system headers have good uint64_t and int64_t */
61897 elif test "$ac_cv_type_u_int64_t" = yes; then
61898 sed 's/^ *//' >> tmp-stdint.h <<EOF
61900 /* system headers have an u_int64_t (and int64_t) */
61906 #ifndef __uint64_t_defined
61907 #define __uint64_t_defined
61909 typedef u_int64_t uint64_t;
61914 elif test -n "$acx_cv_type_int64_t"; then
61915 sed 's/^ *//' >> tmp-stdint.h <<EOF
61917 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61921 typedef $acx_cv_type_int64_t int64_t;
61926 #ifndef __uint64_t_defined
61927 #define __uint64_t_defined
61929 typedef unsigned $acx_cv_type_int64_t uint64_t;
61935 sed 's/^ *//' >> tmp-stdint.h <<EOF
61937 /* some common heuristics for int64_t, using compiler-specific tests */
61938 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61941 #ifndef __int64_t_defined
61943 typedef long long int64_t;
61950 typedef unsigned long long uint64_t;
61954 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61955 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61956 does not implement __extension__. But that compiler doesn't define
61958 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61959 # define __extension__
61965 __extension__ typedef long long int64_t;
61971 __extension__ typedef unsigned long long uint64_t;
61975 #elif !defined __STRICT_ANSI__
61976 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61981 typedef __int64 int64_t;
61987 typedef unsigned __int64 uint64_t;
61990 # endif /* compiler */
61992 #endif /* ANSI version */
61996 # ------------- done int64_t types, emit intptr types ------------
61997 if test "$ac_cv_type_uintptr_t" != yes; then
61998 sed 's/^ *//' >> tmp-stdint.h <<EOF
62000 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62001 #ifndef __uintptr_t_defined
62003 typedef u$acx_cv_type_intptr_t uintptr_t;
62006 #ifndef __intptr_t_defined
62008 typedef $acx_cv_type_intptr_t intptr_t;
62014 # ------------- done intptr types, emit int_least types ------------
62015 if test "$ac_cv_type_int_least32_t" != yes; then
62016 sed 's/^ *//' >> tmp-stdint.h <<EOF
62018 /* Define int_least types */
62019 typedef int8_t int_least8_t;
62020 typedef int16_t int_least16_t;
62021 typedef int32_t int_least32_t;
62023 typedef int64_t int_least64_t;
62026 typedef uint8_t uint_least8_t;
62027 typedef uint16_t uint_least16_t;
62028 typedef uint32_t uint_least32_t;
62030 typedef uint64_t uint_least64_t;
62035 # ------------- done intptr types, emit int_fast types ------------
62036 if test "$ac_cv_type_int_fast32_t" != yes; then
62037 sed 's/^ *//' >> tmp-stdint.h <<EOF
62039 /* Define int_fast types. short is often slow */
62040 typedef int8_t int_fast8_t;
62041 typedef int int_fast16_t;
62042 typedef int32_t int_fast32_t;
62044 typedef int64_t int_fast64_t;
62047 typedef uint8_t uint_fast8_t;
62048 typedef unsigned int uint_fast16_t;
62049 typedef uint32_t uint_fast32_t;
62051 typedef uint64_t uint_fast64_t;
62056 if test "$ac_cv_type_uintmax_t" != yes; then
62057 sed 's/^ *//' >> tmp-stdint.h <<EOF
62059 /* Define intmax based on what we found */
62062 typedef int64_t intmax_t;
62064 typedef long intmax_t;
62069 typedef uint64_t uintmax_t;
62071 typedef unsigned long uintmax_t;
62077 sed 's/^ *//' >> tmp-stdint.h <<EOF
62079 #endif /* GCC_GENERATED_STDINT_H */
62082 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62085 mv -f tmp-stdint.h include/gstdint.h
62089 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62090 "include/Makefile":F) cat > vpsed$$ << \_EOF
62091 s!`test -f '$<' || echo '$(srcdir)/'`!!
62093 sed -f vpsed$$ $ac_file > tmp$$
62096 echo 'MULTISUBDIR =' >> $ac_file
62098 . ${multi_basedir}/config-ml.in
62099 { ml_norecursion=; unset ml_norecursion;}
62101 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62102 s!`test -f '$<' || echo '$(srcdir)/'`!!
62104 sed -f vpsed$$ $ac_file > tmp$$
62107 echo 'MULTISUBDIR =' >> $ac_file
62109 . ${multi_basedir}/config-ml.in
62110 { ml_norecursion=; unset ml_norecursion;}
62112 "python/Makefile":F) cat > vpsed$$ << \_EOF
62113 s!`test -f '$<' || echo '$(srcdir)/'`!!
62115 sed -f vpsed$$ $ac_file > tmp$$
62118 echo 'MULTISUBDIR =' >> $ac_file
62120 . ${multi_basedir}/config-ml.in
62121 { ml_norecursion=; unset ml_norecursion;}
62123 "src/Makefile":F) cat > vpsed$$ << \_EOF
62124 s!`test -f '$<' || echo '$(srcdir)/'`!!
62126 sed -f vpsed$$ $ac_file > tmp$$
62129 echo 'MULTISUBDIR =' >> $ac_file
62131 . ${multi_basedir}/config-ml.in
62132 { ml_norecursion=; unset ml_norecursion;}
62134 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62135 s!`test -f '$<' || echo '$(srcdir)/'`!!
62137 sed -f vpsed$$ $ac_file > tmp$$
62140 echo 'MULTISUBDIR =' >> $ac_file
62142 . ${multi_basedir}/config-ml.in
62143 { ml_norecursion=; unset ml_norecursion;}
62145 "po/Makefile":F) cat > vpsed$$ << \_EOF
62146 s!`test -f '$<' || echo '$(srcdir)/'`!!
62148 sed -f vpsed$$ $ac_file > tmp$$
62151 echo 'MULTISUBDIR =' >> $ac_file
62153 . ${multi_basedir}/config-ml.in
62154 { ml_norecursion=; unset ml_norecursion;}
62156 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62157 s!`test -f '$<' || echo '$(srcdir)/'`!!
62159 sed -f vpsed$$ $ac_file > tmp$$
62162 echo 'MULTISUBDIR =' >> $ac_file
62164 . ${multi_basedir}/config-ml.in
62165 { ml_norecursion=; unset ml_norecursion;}
62167 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62175 ac_clean_files=$ac_clean_files_save
62177 test $ac_write_fail = 0 ||
62178 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62181 # configure is writing to config.log, and then calls config.status.
62182 # config.status does its own redirection, appending to config.log.
62183 # Unfortunately, on DOS this fails, as config.log is still kept open
62184 # by configure, so config.status won't be able to write to it; its
62185 # output is simply discarded. So we exec the FD to /dev/null,
62186 # effectively closing config.log, so it can be properly (re)opened and
62187 # appended to by config.status. When coming back to configure, we
62188 # need to make the FD available again.
62189 if test "$no_create" != yes; then
62191 ac_config_status_args=
62192 test "$silent" = yes &&
62193 ac_config_status_args="$ac_config_status_args --quiet"
62195 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62197 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62198 # would make configure fail if this is the last instruction.
62199 $ac_cs_success || as_fn_exit $?
62201 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62203 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}