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__ >= 2)
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 if test $enable_clocale = auto; then
15646 # Test for bugs early in glibc-2.2.x series
15647 if test "$cross_compiling" = yes; then :
15648 enable_clocale_flag=generic
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 #define _GNU_SOURCE 1
15654 #include <locale.h>
15655 #include <string.h>
15656 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15657 extern __typeof(newlocale) __newlocale;
15658 extern __typeof(duplocale) __duplocale;
15659 extern __typeof(strcoll_l) __strcoll_l;
15663 const char __one[] = "Äuglein Augmen";
15664 const char __two[] = "Äuglein";
15668 __locale_t loc_dup;
15669 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15670 loc_dup = __duplocale(loc);
15671 i = __strcoll_l(__one, __two, loc);
15672 j = __strcoll_l(__one, __two, loc_dup);
15677 if ac_fn_c_try_run "$LINENO"; then :
15678 enable_clocale_flag=gnu
15680 enable_clocale_flag=generic
15682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15683 conftest.$ac_objext conftest.beam conftest.$ac_ext
15688 # Set it to scream when it hurts.
15689 ac_save_CFLAGS="$CFLAGS"
15690 CFLAGS="-Wimplicit-function-declaration -Werror"
15692 # Use strxfrm_l if available.
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15695 #define _GNU_SOURCE 1
15696 #include <string.h>
15697 #include <locale.h>
15701 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15706 if ac_fn_c_try_compile "$LINENO"; then :
15708 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15713 # Use strerror_l if available.
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 #define _GNU_SOURCE 1
15717 #include <string.h>
15718 #include <locale.h>
15722 __locale_t loc; strerror_l(5, loc);
15727 if ac_fn_c_try_compile "$LINENO"; then :
15729 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15734 CFLAGS="$ac_save_CFLAGS"
15737 # Perhaps use strerror_r if available, and strerror_l isn't.
15738 ac_save_CFLAGS="$CFLAGS"
15739 CFLAGS="-Wimplicit-function-declaration -Werror"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 #define _GNU_SOURCE 1
15743 #include <string.h>
15744 #include <locale.h>
15748 char s[128]; strerror_r(5, s, 128);
15753 if ac_fn_c_try_compile "$LINENO"; then :
15755 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 CFLAGS="$ac_save_CFLAGS"
15761 # Set configure bits for specified locale package
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15763 $as_echo_n "checking for C locale to use... " >&6; }
15764 case ${enable_clocale_flag} in
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15767 $as_echo "generic" >&6; }
15769 CLOCALE_H=config/locale/generic/c_locale.h
15770 CLOCALE_CC=config/locale/generic/c_locale.cc
15771 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15772 CCOLLATE_CC=config/locale/generic/collate_members.cc
15773 CCTYPE_CC=config/locale/generic/ctype_members.cc
15774 CMESSAGES_H=config/locale/generic/messages_members.h
15775 CMESSAGES_CC=config/locale/generic/messages_members.cc
15776 CMONEY_CC=config/locale/generic/monetary_members.cc
15777 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15778 CTIME_H=config/locale/generic/time_members.h
15779 CTIME_CC=config/locale/generic/time_members.cc
15780 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15784 $as_echo "darwin or freebsd" >&6; }
15786 CLOCALE_H=config/locale/generic/c_locale.h
15787 CLOCALE_CC=config/locale/generic/c_locale.cc
15788 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15789 CCOLLATE_CC=config/locale/generic/collate_members.cc
15790 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15791 CMESSAGES_H=config/locale/generic/messages_members.h
15792 CMESSAGES_CC=config/locale/generic/messages_members.cc
15793 CMONEY_CC=config/locale/generic/monetary_members.cc
15794 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15795 CTIME_H=config/locale/generic/time_members.h
15796 CTIME_CC=config/locale/generic/time_members.cc
15797 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15802 $as_echo "gnu" >&6; }
15804 # Declare intention to use gettext, and add support for specific
15806 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15807 ALL_LINGUAS="de fr"
15809 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15810 # Extract the first word of "msgfmt", so it can be a program name with args.
15811 set dummy msgfmt; ac_word=$2
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15813 $as_echo_n "checking for $ac_word... " >&6; }
15814 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15815 $as_echo_n "(cached) " >&6
15817 if test -n "$check_msgfmt"; then
15818 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15824 test -z "$as_dir" && as_dir=.
15825 for ac_exec_ext in '' $ac_executable_extensions; do
15826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15827 ac_cv_prog_check_msgfmt="yes"
15828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15835 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15838 check_msgfmt=$ac_cv_prog_check_msgfmt
15839 if test -n "$check_msgfmt"; then
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15841 $as_echo "$check_msgfmt" >&6; }
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15844 $as_echo "no" >&6; }
15848 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15851 # Export the build objects.
15852 for ling in $ALL_LINGUAS; do \
15853 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15854 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15859 CLOCALE_H=config/locale/gnu/c_locale.h
15860 CLOCALE_CC=config/locale/gnu/c_locale.cc
15861 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15862 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15863 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15864 CMESSAGES_H=config/locale/gnu/messages_members.h
15865 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15866 CMONEY_CC=config/locale/gnu/monetary_members.cc
15867 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15868 CTIME_H=config/locale/gnu/time_members.h
15869 CTIME_CC=config/locale/gnu/time_members.cc
15870 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15874 $as_echo "IEEE 1003.1" >&6; }
15876 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15877 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15878 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15879 CCOLLATE_CC=config/locale/generic/collate_members.cc
15880 CCTYPE_CC=config/locale/generic/ctype_members.cc
15881 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15882 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15883 CMONEY_CC=config/locale/generic/monetary_members.cc
15884 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15885 CTIME_H=config/locale/generic/time_members.h
15886 CTIME_CC=config/locale/generic/time_members.cc
15887 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15891 # This is where the testsuite looks for locale catalogs, using the
15892 # -DLOCALEDIR define during testsuite compilation.
15893 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15896 # A standalone libintl (e.g., GNU libintl) may be in use.
15897 if test $USE_NLS = yes; then
15898 for ac_header in libintl.h
15900 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15901 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_LIBINTL_H 1
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15913 $as_echo_n "checking for library containing gettext... " >&6; }
15914 if test "${ac_cv_search_gettext+set}" = set; then :
15915 $as_echo_n "(cached) " >&6
15917 ac_func_search_save_LIBS=$LIBS
15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15921 /* Override any GCC internal prototype to avoid an error.
15922 Use char because int might match the return type of a GCC
15923 builtin and then its argument prototype would still apply. */
15936 for ac_lib in '' intl; do
15937 if test -z "$ac_lib"; then
15938 ac_res="none required"
15941 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15943 if test x$gcc_no_link = xyes; then
15944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15946 if ac_fn_c_try_link "$LINENO"; then :
15947 ac_cv_search_gettext=$ac_res
15949 rm -f core conftest.err conftest.$ac_objext \
15951 if test "${ac_cv_search_gettext+set}" = set; then :
15955 if test "${ac_cv_search_gettext+set}" = set; then :
15958 ac_cv_search_gettext=no
15960 rm conftest.$ac_ext
15961 LIBS=$ac_func_search_save_LIBS
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15964 $as_echo "$ac_cv_search_gettext" >&6; }
15965 ac_res=$ac_cv_search_gettext
15966 if test "$ac_res" != no; then :
15967 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15974 if test $USE_NLS = yes; then
15976 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15996 $as_echo_n "checking for std::allocator base class... " >&6; }
15997 # Check whether --enable-libstdcxx-allocator was given.
15998 if test "${enable_libstdcxx_allocator+set}" = set; then :
15999 enableval=$enable_libstdcxx_allocator;
16000 case "$enableval" in
16001 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16002 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16006 enable_libstdcxx_allocator=auto
16011 # If they didn't use this option switch, or if they specified --enable
16012 # with no specific model, we'll have to look for one. If they
16013 # specified --disable (???), do likewise.
16014 if test $enable_libstdcxx_allocator = no ||
16015 test $enable_libstdcxx_allocator = yes;
16017 enable_libstdcxx_allocator=auto
16020 # Either a known package, or "auto". Auto implies the default choice
16021 # for a particular platform.
16022 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16024 # Probe for host-specific support if no specific model is specified.
16025 # Default to "new".
16026 if test $enable_libstdcxx_allocator_flag = auto; then
16027 case ${target_os} in
16028 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16029 enable_libstdcxx_allocator_flag=new
16032 enable_libstdcxx_allocator_flag=new
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16037 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16040 # Set configure bits for specified locale package
16041 case ${enable_libstdcxx_allocator_flag} in
16043 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16044 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16047 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16048 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16051 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16052 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16055 ALLOCATOR_H=config/allocator/new_allocator_base.h
16056 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16059 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16060 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16068 # Check whether --enable-cheaders was given.
16069 if test "${enable_cheaders+set}" = set; then :
16070 enableval=$enable_cheaders;
16071 case "$enableval" in
16072 c|c_std|c_global) ;;
16073 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16077 enable_cheaders=$c_model
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16082 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16084 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16086 # Allow overrides to configure.host here.
16087 if test $enable_cheaders = c_global; then
16088 c_compatibility=yes
16091 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16102 # Check whether --enable-long-long was given.
16103 if test "${enable_long_long+set}" = set; then :
16104 enableval=$enable_long_long;
16105 case "$enableval" in
16107 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16111 enable_long_long=yes
16115 if test $enable_long_long = yes; then
16117 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16121 $as_echo_n "checking for enabled long long specializations... " >&6; }
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16123 $as_echo "$enable_long_long" >&6; }
16126 # Check whether --enable-wchar_t was given.
16127 if test "${enable_wchar_t+set}" = set; then :
16128 enableval=$enable_wchar_t;
16129 case "$enableval" in
16131 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16140 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16141 for ac_header in wchar.h
16143 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16144 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_WCHAR_H 1
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16156 $as_echo_n "checking for mbstate_t... " >&6; }
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16163 mbstate_t teststate;
16168 if ac_fn_c_try_compile "$LINENO"; then :
16173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16175 $as_echo "$have_mbstate_t" >&6; }
16176 if test x"$have_mbstate_t" = xyes; then
16178 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16182 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16184 for ac_header in wctype.h
16186 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16187 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_WCTYPE_H 1
16191 ac_has_wctype_h=yes
16199 if test x"$enable_wchar_t" = x"yes"; then
16203 ac_cpp='$CXXCPP $CPPFLAGS'
16204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16209 if test x"$ac_has_wchar_h" = xyes &&
16210 test x"$ac_has_wctype_h" = xyes; then
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 #include <stddef.h>
16217 long j = WCHAR_MIN;
16218 long k = WCHAR_MAX;
16283 if ac_fn_cxx_try_compile "$LINENO"; then :
16288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16294 ac_cpp='$CPP $CPPFLAGS'
16295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16301 if test x"$enable_wchar_t" = x"yes"; then
16303 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16308 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16310 $as_echo "$enable_wchar_t" >&6; }
16314 # Check whether --enable-c99 was given.
16315 if test "${enable_c99+set}" = set; then :
16316 enableval=$enable_c99;
16317 case "$enableval" in
16319 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16328 if test x"$enable_c99" = x"yes"; then
16332 ac_cpp='$CXXCPP $CPPFLAGS'
16333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16338 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16339 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16340 # spuriously enabled.
16341 # Long term, -std=c++0x could be even better, could manage to explicitely
16342 # request C99 facilities to the underlying C headers.
16343 ac_save_CXXFLAGS="$CXXFLAGS"
16344 CXXFLAGS="$CXXFLAGS -std=c++98"
16345 ac_save_LIBS="$LIBS"
16346 ac_save_gcc_no_link="$gcc_no_link"
16348 if test x$gcc_no_link != xyes; then
16349 # Use -fno-exceptions to that the C driver can link these tests without
16350 # hitting undefined references to personality routines.
16351 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16353 $as_echo_n "checking for sin in -lm... " >&6; }
16354 if test "${ac_cv_lib_m_sin+set}" = set; then :
16355 $as_echo_n "(cached) " >&6
16357 ac_check_lib_save_LIBS=$LIBS
16359 if test x$gcc_no_link = xyes; then
16360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16365 /* Override any GCC internal prototype to avoid an error.
16366 Use char because int might match the return type of a GCC
16367 builtin and then its argument prototype would still apply. */
16380 if ac_fn_cxx_try_link "$LINENO"; then :
16381 ac_cv_lib_m_sin=yes
16385 rm -f core conftest.err conftest.$ac_objext \
16386 conftest$ac_exeext conftest.$ac_ext
16387 LIBS=$ac_check_lib_save_LIBS
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16390 $as_echo "$ac_cv_lib_m_sin" >&6; }
16391 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16397 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16404 # Check for the existence of <math.h> functions used if C99 is enabled.
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16406 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16407 if test "${glibcxx_cv_c99_math+set}" = set; then :
16408 $as_echo_n "(cached) " >&6
16411 if test x$gcc_no_link = xyes; then
16412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16415 volatile double d1, d2;
16420 i = fpclassify(d1);
16426 i = isgreater(d1, d2);
16427 i = isgreaterequal(d1, d2);
16428 i = isless(d1, d2);
16429 i = islessequal(d1, d2);
16430 i = islessgreater(d1, d2);
16431 i = islessgreater(d1, d2);
16432 i = isunordered(d1, d2);
16438 if ac_fn_cxx_try_compile "$LINENO"; then :
16439 glibcxx_cv_c99_math=yes
16441 glibcxx_cv_c99_math=no
16443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16445 if test x$gcc_no_link = xyes; then
16446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16451 volatile double d1, d2;
16456 i = fpclassify(d1);
16462 i = isgreater(d1, d2);
16463 i = isgreaterequal(d1, d2);
16464 i = isless(d1, d2);
16465 i = islessequal(d1, d2);
16466 i = islessgreater(d1, d2);
16467 i = islessgreater(d1, d2);
16468 i = isunordered(d1, d2);
16474 if ac_fn_cxx_try_link "$LINENO"; then :
16475 glibcxx_cv_c99_math=yes
16477 glibcxx_cv_c99_math=no
16479 rm -f core conftest.err conftest.$ac_objext \
16480 conftest$ac_exeext conftest.$ac_ext
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16486 $as_echo "$glibcxx_cv_c99_math" >&6; }
16487 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16489 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16493 # Check for the existence of <complex.h> complex math functions.
16494 # This is necessary even though libstdc++ uses the builtin versions
16495 # of these functions, because if the builtin cannot be used, a reference
16496 # to the library function is emitted.
16497 for ac_header in tgmath.h
16499 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16500 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_TGMATH_H 1
16504 ac_has_tgmath_h=yes
16511 for ac_header in complex.h
16513 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16514 if test "x$ac_cv_header_complex_h" = x""yes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_COMPLEX_H 1
16518 ac_has_complex_h=yes
16520 ac_has_complex_h=no
16525 glibcxx_cv_c99_complex=no;
16526 if test x"$ac_has_complex_h" = x"yes"; then
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16528 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16529 if test x$gcc_no_link = xyes; then
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 #include <complex.h>
16533 typedef __complex__ float float_type;
16534 typedef __complex__ double double_type;
16535 typedef __complex__ long double ld_type;
16536 volatile float_type tmpf;
16537 volatile double_type tmpd;
16538 volatile ld_type tmpld;
16541 volatile long double ld;
16547 tmpf = ccosf(tmpf);
16548 tmpf = ccoshf(tmpf);
16549 tmpf = cexpf(tmpf);
16550 tmpf = clogf(tmpf);
16551 tmpf = csinf(tmpf);
16552 tmpf = csinhf(tmpf);
16553 tmpf = csqrtf(tmpf);
16554 tmpf = ctanf(tmpf);
16555 tmpf = ctanhf(tmpf);
16556 tmpf = cpowf(tmpf, tmpf);
16557 tmpf = cprojf(tmpf);
16561 tmpd = ccosh(tmpd);
16565 tmpd = csinh(tmpd);
16566 tmpd = csqrt(tmpd);
16568 tmpd = ctanh(tmpd);
16569 tmpd = cpow(tmpd, tmpd);
16570 tmpd = cproj(tmpd);
16573 tmpld = ccosl(tmpld);
16574 tmpld = ccoshl(tmpld);
16575 tmpld = cexpl(tmpld);
16576 tmpld = clogl(tmpld);
16577 tmpld = csinl(tmpld);
16578 tmpld = csinhl(tmpld);
16579 tmpld = csqrtl(tmpld);
16580 tmpld = ctanl(tmpld);
16581 tmpld = ctanhl(tmpld);
16582 tmpld = cpowl(tmpld, tmpld);
16583 tmpld = cprojl(tmpld);
16589 if ac_fn_cxx_try_compile "$LINENO"; then :
16590 glibcxx_cv_c99_complex=yes
16592 glibcxx_cv_c99_complex=no
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596 if test x$gcc_no_link = xyes; then
16597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #include <complex.h>
16602 typedef __complex__ float float_type;
16603 typedef __complex__ double double_type;
16604 typedef __complex__ long double ld_type;
16605 volatile float_type tmpf;
16606 volatile double_type tmpd;
16607 volatile ld_type tmpld;
16610 volatile long double ld;
16616 tmpf = ccosf(tmpf);
16617 tmpf = ccoshf(tmpf);
16618 tmpf = cexpf(tmpf);
16619 tmpf = clogf(tmpf);
16620 tmpf = csinf(tmpf);
16621 tmpf = csinhf(tmpf);
16622 tmpf = csqrtf(tmpf);
16623 tmpf = ctanf(tmpf);
16624 tmpf = ctanhf(tmpf);
16625 tmpf = cpowf(tmpf, tmpf);
16626 tmpf = cprojf(tmpf);
16630 tmpd = ccosh(tmpd);
16634 tmpd = csinh(tmpd);
16635 tmpd = csqrt(tmpd);
16637 tmpd = ctanh(tmpd);
16638 tmpd = cpow(tmpd, tmpd);
16639 tmpd = cproj(tmpd);
16642 tmpld = ccosl(tmpld);
16643 tmpld = ccoshl(tmpld);
16644 tmpld = cexpl(tmpld);
16645 tmpld = clogl(tmpld);
16646 tmpld = csinl(tmpld);
16647 tmpld = csinhl(tmpld);
16648 tmpld = csqrtl(tmpld);
16649 tmpld = ctanl(tmpld);
16650 tmpld = ctanhl(tmpld);
16651 tmpld = cpowl(tmpld, tmpld);
16652 tmpld = cprojl(tmpld);
16658 if ac_fn_cxx_try_link "$LINENO"; then :
16659 glibcxx_cv_c99_complex=yes
16661 glibcxx_cv_c99_complex=no
16663 rm -f core conftest.err conftest.$ac_objext \
16664 conftest$ac_exeext conftest.$ac_ext
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16668 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16669 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16671 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16675 # Check for the existence in <stdio.h> of vscanf, et. al.
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16677 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16678 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16679 $as_echo_n "(cached) " >&6
16682 if test x$gcc_no_link = xyes; then
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16686 #include <stdarg.h>
16687 void foo(char* fmt, ...)
16689 va_list args; va_start(args, fmt);
16690 vfscanf(stderr, "%i", args);
16691 vscanf("%i", args);
16692 vsnprintf(fmt, 0, "%i", args);
16693 vsscanf(fmt, "%i", args);
16698 snprintf("12", 0, "%i");
16703 if ac_fn_cxx_try_compile "$LINENO"; then :
16704 glibcxx_cv_c99_stdio=yes
16706 glibcxx_cv_c99_stdio=no
16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16710 if test x$gcc_no_link = xyes; then
16711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 #include <stdarg.h>
16717 void foo(char* fmt, ...)
16719 va_list args; va_start(args, fmt);
16720 vfscanf(stderr, "%i", args);
16721 vscanf("%i", args);
16722 vsnprintf(fmt, 0, "%i", args);
16723 vsscanf(fmt, "%i", args);
16728 snprintf("12", 0, "%i");
16733 if ac_fn_cxx_try_link "$LINENO"; then :
16734 glibcxx_cv_c99_stdio=yes
16736 glibcxx_cv_c99_stdio=no
16738 rm -f core conftest.err conftest.$ac_objext \
16739 conftest$ac_exeext conftest.$ac_ext
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16745 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16747 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16749 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16750 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16751 $as_echo_n "(cached) " >&6
16754 if test x$gcc_no_link = xyes; then
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #include <stdlib.h>
16759 volatile long double ld;
16760 volatile unsigned long long ll;
16766 f = strtof("gnu", &tmp);
16767 ld = strtold("gnu", &tmp);
16768 ll = strtoll("gnu", &tmp, 10);
16769 ll = strtoull("gnu", &tmp, 10);
16771 mydivt = lldiv(10,1);
16781 if ac_fn_cxx_try_compile "$LINENO"; then :
16782 glibcxx_cv_c99_stdlib=yes
16784 glibcxx_cv_c99_stdlib=no
16786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16788 if test x$gcc_no_link = xyes; then
16789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792 /* end confdefs.h. */
16793 #include <stdlib.h>
16795 volatile long double ld;
16796 volatile unsigned long long ll;
16802 f = strtof("gnu", &tmp);
16803 ld = strtold("gnu", &tmp);
16804 ll = strtoll("gnu", &tmp, 10);
16805 ll = strtoull("gnu", &tmp, 10);
16807 mydivt = lldiv(10,1);
16817 if ac_fn_cxx_try_link "$LINENO"; then :
16818 glibcxx_cv_c99_stdlib=yes
16820 glibcxx_cv_c99_stdlib=no
16822 rm -f core conftest.err conftest.$ac_objext \
16823 conftest$ac_exeext conftest.$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16829 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16831 # Check for the existence in <wchar.h> of wcstold, etc.
16832 glibcxx_cv_c99_wchar=no;
16833 if test x"$ac_has_wchar_h" = xyes &&
16834 test x"$ac_has_wctype_h" = xyes; then
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16836 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16855 if ac_fn_cxx_try_compile "$LINENO"; then :
16856 glibcxx_cv_c99_wchar=yes
16858 glibcxx_cv_c99_wchar=no
16860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16862 # Checks for wide character functions that may not be present.
16863 # Injection of these is wrapped with guard macros.
16864 # NB: only put functions here, instead of immediately above, if
16865 # absolutely necessary.
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16869 namespace test { using ::vfwscanf; }
16878 if ac_fn_cxx_try_compile "$LINENO"; then :
16880 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16888 namespace test { using ::vswscanf; }
16897 if ac_fn_cxx_try_compile "$LINENO"; then :
16899 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16907 namespace test { using ::vwscanf; }
16916 if ac_fn_cxx_try_compile "$LINENO"; then :
16918 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16926 namespace test { using ::wcstof; }
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16937 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <wctype.h>
16948 wint_t t; int i = iswblank(t);
16953 if ac_fn_cxx_try_compile "$LINENO"; then :
16955 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16961 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16964 # Option parsed, now set things appropriately.
16965 if test x"$glibcxx_cv_c99_math" = x"no" ||
16966 test x"$glibcxx_cv_c99_complex" = x"no" ||
16967 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16968 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16969 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16973 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16977 gcc_no_link="$ac_save_gcc_no_link"
16978 LIBS="$ac_save_LIBS"
16979 CXXFLAGS="$ac_save_CXXFLAGS"
16981 ac_cpp='$CPP $CPPFLAGS'
16982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16989 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16991 $as_echo "$enable_c99" >&6; }
16994 # Check whether --enable-concept-checks was given.
16995 if test "${enable_concept_checks+set}" = set; then :
16996 enableval=$enable_concept_checks;
16997 case "$enableval" in
16999 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17003 enable_concept_checks=no
17007 if test $enable_concept_checks = yes; then
17009 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17014 # Check whether --enable-libstdcxx-debug-flags was given.
17015 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17016 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17017 xno | x) enable_libstdcxx_debug_flags= ;;
17019 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17022 enable_libstdcxx_debug_flags="-g3 -O0"
17027 # Option parsed, now set things appropriately
17028 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17032 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17036 $as_echo_n "checking for additional debug build... " >&6; }
17037 # Check whether --enable-libstdcxx-debug was given.
17038 if test "${enable_libstdcxx_debug+set}" = set; then :
17039 enableval=$enable_libstdcxx_debug;
17040 case "$enableval" in
17042 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17046 enable_libstdcxx_debug=no
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17051 $as_echo "$enable_libstdcxx_debug" >&6; }
17056 enable_parallel=no;
17058 # See if configured libgomp/omp.h exists. (libgomp may be in
17059 # noconfigdirs but not explicitly disabled.)
17060 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17061 enable_parallel=yes;
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17064 $as_echo "$as_me: target-libgomp not built" >&6;}
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17068 $as_echo_n "checking for parallel mode support... " >&6; }
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17070 $as_echo "$enable_parallel" >&6; }
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17074 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17075 # Check whether --enable-cxx-flags was given.
17076 if test "${enable_cxx_flags+set}" = set; then :
17077 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17078 xno | x) enable_cxx_flags= ;;
17080 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17088 # Run through flags (either default or command-line) and set anything
17089 # extra (e.g., #defines) that must accompany particular g++ options.
17090 if test -n "$enable_cxx_flags"; then
17091 for f in $enable_cxx_flags; do
17095 *) # and we're trying to pass /what/ exactly?
17096 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17101 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17103 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17107 # Check whether --enable-fully-dynamic-string was given.
17108 if test "${enable_fully_dynamic_string+set}" = set; then :
17109 enableval=$enable_fully_dynamic_string;
17110 case "$enableval" in
17112 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17116 enable_fully_dynamic_string=no
17120 if test $enable_fully_dynamic_string = yes; then
17122 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17127 # Checks for operating systems support that doesn't require linking.
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17131 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17132 if test "${glibcxx_cv_system_error1+set}" = set; then :
17133 $as_echo_n "(cached) " >&6
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17142 int i = EOWNERDEAD;
17147 if ac_fn_c_try_compile "$LINENO"; then :
17148 glibcxx_cv_system_error1=yes
17150 glibcxx_cv_system_error1=no
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17157 $as_echo "$glibcxx_cv_system_error1" >&6; }
17158 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17160 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17164 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17165 if test "${glibcxx_cv_system_error2+set}" = set; then :
17166 $as_echo_n "(cached) " >&6
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17175 int i = ENOTRECOVERABLE;
17180 if ac_fn_c_try_compile "$LINENO"; then :
17181 glibcxx_cv_system_error2=yes
17183 glibcxx_cv_system_error2=no
17185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17190 $as_echo "$glibcxx_cv_system_error2" >&6; }
17191 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17193 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17197 $as_echo_n "checking for ENOLINK... " >&6; }
17198 if test "${glibcxx_cv_system_error3+set}" = set; then :
17199 $as_echo_n "(cached) " >&6
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17213 if ac_fn_c_try_compile "$LINENO"; then :
17214 glibcxx_cv_system_error3=yes
17216 glibcxx_cv_system_error3=no
17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17223 $as_echo "$glibcxx_cv_system_error3" >&6; }
17224 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17226 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17230 $as_echo_n "checking for EPROTO... " >&6; }
17231 if test "${glibcxx_cv_system_error4+set}" = set; then :
17232 $as_echo_n "(cached) " >&6
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17246 if ac_fn_c_try_compile "$LINENO"; then :
17247 glibcxx_cv_system_error4=yes
17249 glibcxx_cv_system_error4=no
17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17256 $as_echo "$glibcxx_cv_system_error4" >&6; }
17257 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17259 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17263 $as_echo_n "checking for ENODATA... " >&6; }
17264 if test "${glibcxx_cv_system_error5+set}" = set; then :
17265 $as_echo_n "(cached) " >&6
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17279 if ac_fn_c_try_compile "$LINENO"; then :
17280 glibcxx_cv_system_error5=yes
17282 glibcxx_cv_system_error5=no
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17289 $as_echo "$glibcxx_cv_system_error5" >&6; }
17290 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17292 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17296 $as_echo_n "checking for ENOSR... " >&6; }
17297 if test "${glibcxx_cv_system_error6+set}" = set; then :
17298 $as_echo_n "(cached) " >&6
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17312 if ac_fn_c_try_compile "$LINENO"; then :
17313 glibcxx_cv_system_error6=yes
17315 glibcxx_cv_system_error6=no
17317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17322 $as_echo "$glibcxx_cv_system_error6" >&6; }
17323 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17325 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17329 $as_echo_n "checking for ENOSTR... " >&6; }
17330 if test "${glibcxx_cv_system_error7+set}" = set; then :
17331 $as_echo_n "(cached) " >&6
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17345 if ac_fn_c_try_compile "$LINENO"; then :
17346 glibcxx_cv_system_error7=yes
17348 glibcxx_cv_system_error7=no
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17355 $as_echo "$glibcxx_cv_system_error7" >&6; }
17356 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17358 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17362 $as_echo_n "checking for ETIME... " >&6; }
17363 if test "${glibcxx_cv_system_error8+set}" = set; then :
17364 $as_echo_n "(cached) " >&6
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17378 if ac_fn_c_try_compile "$LINENO"; then :
17379 glibcxx_cv_system_error8=yes
17381 glibcxx_cv_system_error8=no
17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17388 $as_echo "$glibcxx_cv_system_error8" >&6; }
17389 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17391 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17395 $as_echo_n "checking for EBADMSG... " >&6; }
17396 if test "${glibcxx_cv_system_error9+set}" = set; then :
17397 $as_echo_n "(cached) " >&6
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17411 if ac_fn_c_try_compile "$LINENO"; then :
17412 glibcxx_cv_system_error9=yes
17414 glibcxx_cv_system_error9=no
17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17421 $as_echo "$glibcxx_cv_system_error9" >&6; }
17422 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17424 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17428 $as_echo_n "checking for ECANCELED... " >&6; }
17429 if test "${glibcxx_cv_system_error10+set}" = set; then :
17430 $as_echo_n "(cached) " >&6
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17444 if ac_fn_c_try_compile "$LINENO"; then :
17445 glibcxx_cv_system_error10=yes
17447 glibcxx_cv_system_error10=no
17449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17454 $as_echo "$glibcxx_cv_system_error10" >&6; }
17455 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17457 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17461 $as_echo_n "checking for EOVERFLOW... " >&6; }
17462 if test "${glibcxx_cv_system_error11+set}" = set; then :
17463 $as_echo_n "(cached) " >&6
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17477 if ac_fn_c_try_compile "$LINENO"; then :
17478 glibcxx_cv_system_error11=yes
17480 glibcxx_cv_system_error11=no
17482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17487 $as_echo "$glibcxx_cv_system_error11" >&6; }
17488 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17490 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17494 $as_echo_n "checking for ENOTSUP... " >&6; }
17495 if test "${glibcxx_cv_system_error12+set}" = set; then :
17496 $as_echo_n "(cached) " >&6
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17510 if ac_fn_c_try_compile "$LINENO"; then :
17511 glibcxx_cv_system_error12=yes
17513 glibcxx_cv_system_error12=no
17515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17520 $as_echo "$glibcxx_cv_system_error12" >&6; }
17521 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17523 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17527 $as_echo_n "checking for EIDRM... " >&6; }
17528 if test "${glibcxx_cv_system_error13+set}" = set; then :
17529 $as_echo_n "(cached) " >&6
17532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17533 /* end confdefs.h. */
17543 if ac_fn_c_try_compile "$LINENO"; then :
17544 glibcxx_cv_system_error13=yes
17546 glibcxx_cv_system_error13=no
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17553 $as_echo "$glibcxx_cv_system_error13" >&6; }
17554 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17556 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17560 $as_echo_n "checking for ETXTBSY... " >&6; }
17561 if test "${glibcxx_cv_system_error14+set}" = set; then :
17562 $as_echo_n "(cached) " >&6
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17576 if ac_fn_c_try_compile "$LINENO"; then :
17577 glibcxx_cv_system_error14=yes
17579 glibcxx_cv_system_error14=no
17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17586 $as_echo "$glibcxx_cv_system_error14" >&6; }
17587 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17589 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17595 # For the streamoff typedef.
17600 ac_cpp='$CXXCPP $CPPFLAGS'
17601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17607 $as_echo_n "checking for int64_t... " >&6; }
17608 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17609 $as_echo_n "(cached) " >&6
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 #include <stdint.h>
17623 if ac_fn_cxx_try_compile "$LINENO"; then :
17624 glibcxx_cv_INT64_T=yes
17626 glibcxx_cv_INT64_T=no
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633 if test $glibcxx_cv_INT64_T = yes; then
17635 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17638 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17641 $as_echo_n "checking for int64_t as long... " >&6; }
17642 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17643 $as_echo_n "(cached) " >&6
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 #include <stdint.h>
17649 template<typename, typename> struct same { enum { value = -1 }; };
17650 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17651 int array[same<int64_t, long>::value];
17660 if ac_fn_cxx_try_compile "$LINENO"; then :
17661 glibcxx_cv_int64_t_long=yes
17663 glibcxx_cv_int64_t_long=no
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17670 if test $glibcxx_cv_int64_t_long = yes; then
17672 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17675 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17679 $as_echo_n "checking for int64_t as long long... " >&6; }
17680 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17681 $as_echo_n "(cached) " >&6
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17686 #include <stdint.h>
17687 template<typename, typename> struct same { enum { value = -1 }; };
17688 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17689 int array[same<int64_t, long long>::value];
17698 if ac_fn_cxx_try_compile "$LINENO"; then :
17699 glibcxx_cv_int64_t_long_long=yes
17701 glibcxx_cv_int64_t_long_long=no
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708 if test $glibcxx_cv_int64_t_long_long = yes; then
17710 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17713 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17729 ac_cpp='$CXXCPP $CPPFLAGS'
17730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17734 ac_save_CXXFLAGS="$CXXFLAGS"
17735 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17737 $as_echo_n "checking for LFS support... " >&6; }
17738 if test "${glibcxx_cv_LFS+set}" = set; then :
17739 $as_echo_n "(cached) " >&6
17742 if test x$gcc_no_link = xyes; then
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17745 #include <unistd.h>
17747 #include <sys/stat.h>
17754 fseeko64(fp, 0, SEEK_CUR);
17756 lseek64(1, 0, SEEK_CUR);
17763 if ac_fn_cxx_try_compile "$LINENO"; then :
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17770 if test x$gcc_no_link = xyes; then
17771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 #include <unistd.h>
17777 #include <sys/stat.h>
17784 fseeko64(fp, 0, SEEK_CUR);
17786 lseek64(1, 0, SEEK_CUR);
17793 if ac_fn_cxx_try_link "$LINENO"; then :
17798 rm -f core conftest.err conftest.$ac_objext \
17799 conftest$ac_exeext conftest.$ac_ext
17804 if test $glibcxx_cv_LFS = yes; then
17806 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17810 $as_echo "$glibcxx_cv_LFS" >&6; }
17811 CXXFLAGS="$ac_save_CXXFLAGS"
17813 ac_cpp='$CPP $CPPFLAGS'
17814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17820 # For showmanyc_helper().
17821 for ac_header in sys/ioctl.h sys/filio.h
17823 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17824 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17825 eval as_val=\$$as_ac_Header
17826 if test "x$as_val" = x""yes; then :
17827 cat >>confdefs.h <<_ACEOF
17828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17839 ac_cpp='$CXXCPP $CPPFLAGS'
17840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17844 ac_save_CXXFLAGS="$CXXFLAGS"
17845 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17848 $as_echo_n "checking for poll... " >&6; }
17849 if test "${glibcxx_cv_POLL+set}" = set; then :
17850 $as_echo_n "(cached) " >&6
17853 if test x$gcc_no_link = xyes; then
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17860 struct pollfd pfd[1];
17861 pfd[0].events = POLLIN;
17867 if ac_fn_cxx_try_compile "$LINENO"; then :
17868 glibcxx_cv_POLL=yes
17872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17874 if test x$gcc_no_link = xyes; then
17875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17883 struct pollfd pfd[1];
17884 pfd[0].events = POLLIN;
17890 if ac_fn_cxx_try_link "$LINENO"; then :
17891 glibcxx_cv_POLL=yes
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext conftest.$ac_ext
17901 if test $glibcxx_cv_POLL = yes; then
17903 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17907 $as_echo "$glibcxx_cv_POLL" >&6; }
17909 CXXFLAGS="$ac_save_CXXFLAGS"
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17921 ac_cpp='$CXXCPP $CPPFLAGS'
17922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17926 ac_save_CXXFLAGS="$CXXFLAGS"
17927 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17930 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17931 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17935 if test x$gcc_no_link = xyes; then
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <sys/stat.h>
17942 struct stat buffer;
17944 S_ISREG(buffer.st_mode);
17949 if ac_fn_cxx_try_compile "$LINENO"; then :
17950 glibcxx_cv_S_ISREG=yes
17952 glibcxx_cv_S_ISREG=no
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 if test x$gcc_no_link = xyes; then
17957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17961 #include <sys/stat.h>
17965 struct stat buffer;
17967 S_ISREG(buffer.st_mode);
17972 if ac_fn_cxx_try_link "$LINENO"; then :
17973 glibcxx_cv_S_ISREG=yes
17975 glibcxx_cv_S_ISREG=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17983 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17984 $as_echo_n "(cached) " >&6
17987 if test x$gcc_no_link = xyes; then
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #include <sys/stat.h>
17994 struct stat buffer;
17996 S_IFREG & buffer.st_mode;
18001 if ac_fn_cxx_try_compile "$LINENO"; then :
18002 glibcxx_cv_S_IFREG=yes
18004 glibcxx_cv_S_IFREG=no
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18008 if test x$gcc_no_link = xyes; then
18009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #include <sys/stat.h>
18017 struct stat buffer;
18019 S_IFREG & buffer.st_mode;
18024 if ac_fn_cxx_try_link "$LINENO"; then :
18025 glibcxx_cv_S_IFREG=yes
18027 glibcxx_cv_S_IFREG=no
18029 rm -f core conftest.err conftest.$ac_objext \
18030 conftest$ac_exeext conftest.$ac_ext
18036 if test $glibcxx_cv_S_ISREG = yes; then
18038 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18041 elif test $glibcxx_cv_S_IFREG = yes; then
18043 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18048 $as_echo "$res" >&6; }
18050 CXXFLAGS="$ac_save_CXXFLAGS"
18052 ac_cpp='$CPP $CPPFLAGS'
18053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18060 for ac_header in sys/uio.h
18062 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18063 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18064 cat >>confdefs.h <<_ACEOF
18065 #define HAVE_SYS_UIO_H 1
18076 ac_cpp='$CXXCPP $CPPFLAGS'
18077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18081 ac_save_CXXFLAGS="$CXXFLAGS"
18082 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18085 $as_echo_n "checking for writev... " >&6; }
18086 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18087 $as_echo_n "(cached) " >&6
18090 if test x$gcc_no_link = xyes; then
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18093 #include <sys/uio.h>
18097 struct iovec iov[2];
18103 if ac_fn_cxx_try_compile "$LINENO"; then :
18104 glibcxx_cv_WRITEV=yes
18106 glibcxx_cv_WRITEV=no
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18110 if test x$gcc_no_link = xyes; then
18111 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18114 /* end confdefs.h. */
18115 #include <sys/uio.h>
18119 struct iovec iov[2];
18125 if ac_fn_cxx_try_link "$LINENO"; then :
18126 glibcxx_cv_WRITEV=yes
18128 glibcxx_cv_WRITEV=no
18130 rm -f core conftest.err conftest.$ac_objext \
18131 conftest$ac_exeext conftest.$ac_ext
18136 if test $glibcxx_cv_WRITEV = yes; then
18138 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18142 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18144 CXXFLAGS="$ac_save_CXXFLAGS"
18146 ac_cpp='$CPP $CPPFLAGS'
18147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18153 # For C99 support to TR1.
18158 ac_cpp='$CXXCPP $CPPFLAGS'
18159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18164 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18165 # undefined and fake C99 facilities may be spuriously enabled.
18166 ac_save_CXXFLAGS="$CXXFLAGS"
18167 CXXFLAGS="$CXXFLAGS -std=c++98"
18169 # Check for the existence of <complex.h> complex math functions used
18171 for ac_header in complex.h
18173 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18174 if test "x$ac_cv_header_complex_h" = x""yes; then :
18175 cat >>confdefs.h <<_ACEOF
18176 #define HAVE_COMPLEX_H 1
18178 ac_has_complex_h=yes
18180 ac_has_complex_h=no
18185 ac_c99_complex_tr1=no;
18186 if test x"$ac_has_complex_h" = x"yes"; then
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18188 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18191 #include <complex.h>
18195 typedef __complex__ float float_type; float_type tmpf;
18202 typedef __complex__ double double_type; double_type tmpd;
18209 typedef __complex__ long double ld_type; ld_type tmpld;
18221 if ac_fn_cxx_try_compile "$LINENO"; then :
18222 ac_c99_complex_tr1=yes
18224 ac_c99_complex_tr1=no
18226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18229 $as_echo "$ac_c99_complex_tr1" >&6; }
18230 if test x"$ac_c99_complex_tr1" = x"yes"; then
18232 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18236 # Check for the existence of <ctype.h> functions.
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18238 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18239 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18240 $as_echo_n "(cached) " >&6
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_c99_ctype_tr1=yes
18260 glibcxx_cv_c99_ctype_tr1=no
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18267 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18268 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18270 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18274 # Check for the existence of <fenv.h> functions.
18275 for ac_header in fenv.h
18277 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18278 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18279 cat >>confdefs.h <<_ACEOF
18280 #define HAVE_FENV_H 1
18289 ac_c99_fenv_tr1=no;
18290 if test x"$ac_has_fenv_h" = x"yes"; then
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18292 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18303 ret = feclearexcept(except);
18304 ret = fegetexceptflag(pflag, except);
18305 ret = feraiseexcept(except);
18306 ret = fesetexceptflag(pflag, except);
18307 ret = fetestexcept(except);
18308 ret = fegetround();
18309 ret = fesetround(mode);
18310 ret = fegetenv(penv);
18311 ret = feholdexcept(penv);
18312 ret = fesetenv(penv);
18313 ret = feupdateenv(penv);
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 ac_c99_fenv_tr1=yes
18324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18327 $as_echo "$ac_c99_fenv_tr1" >&6; }
18328 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18330 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18334 # Check for the existence of <stdint.h> types.
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18336 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18337 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18338 $as_echo_n "(cached) " >&6
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18343 #define __STDC_LIMIT_MACROS
18344 #define __STDC_CONSTANT_MACROS
18345 #include <stdint.h>
18349 typedef int8_t my_int8_t;
18350 my_int8_t i8 = INT8_MIN;
18352 typedef int16_t my_int16_t;
18353 my_int16_t i16 = INT16_MIN;
18355 typedef int32_t my_int32_t;
18356 my_int32_t i32 = INT32_MIN;
18358 typedef int64_t my_int64_t;
18359 my_int64_t i64 = INT64_MIN;
18361 typedef int_fast8_t my_int_fast8_t;
18362 my_int_fast8_t if8 = INT_FAST8_MIN;
18363 if8 = INT_FAST8_MAX;
18364 typedef int_fast16_t my_int_fast16_t;
18365 my_int_fast16_t if16 = INT_FAST16_MIN;
18366 if16 = INT_FAST16_MAX;
18367 typedef int_fast32_t my_int_fast32_t;
18368 my_int_fast32_t if32 = INT_FAST32_MIN;
18369 if32 = INT_FAST32_MAX;
18370 typedef int_fast64_t my_int_fast64_t;
18371 my_int_fast64_t if64 = INT_FAST64_MIN;
18372 if64 = INT_FAST64_MAX;
18373 typedef int_least8_t my_int_least8_t;
18374 my_int_least8_t il8 = INT_LEAST8_MIN;
18375 il8 = INT_LEAST8_MAX;
18376 typedef int_least16_t my_int_least16_t;
18377 my_int_least16_t il16 = INT_LEAST16_MIN;
18378 il16 = INT_LEAST16_MAX;
18379 typedef int_least32_t my_int_least32_t;
18380 my_int_least32_t il32 = INT_LEAST32_MIN;
18381 il32 = INT_LEAST32_MAX;
18382 typedef int_least64_t my_int_least64_t;
18383 my_int_least64_t il64 = INT_LEAST64_MIN;
18384 il64 = INT_LEAST64_MAX;
18385 typedef intmax_t my_intmax_t;
18386 my_intmax_t im = INTMAX_MAX;
18388 typedef intptr_t my_intptr_t;
18389 my_intptr_t ip = INTPTR_MAX;
18391 typedef uint8_t my_uint8_t;
18392 my_uint8_t ui8 = UINT8_MAX;
18394 typedef uint16_t my_uint16_t;
18395 my_uint16_t ui16 = UINT16_MAX;
18397 typedef uint32_t my_uint32_t;
18398 my_uint32_t ui32 = UINT32_MAX;
18400 typedef uint64_t my_uint64_t;
18401 my_uint64_t ui64 = UINT64_MAX;
18403 typedef uint_fast8_t my_uint_fast8_t;
18404 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18405 uif8 = UINT_FAST8_MAX;
18406 typedef uint_fast16_t my_uint_fast16_t;
18407 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18408 uif16 = UINT_FAST16_MAX;
18409 typedef uint_fast32_t my_uint_fast32_t;
18410 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18411 uif32 = UINT_FAST32_MAX;
18412 typedef uint_fast64_t my_uint_fast64_t;
18413 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18414 uif64 = UINT_FAST64_MAX;
18415 typedef uint_least8_t my_uint_least8_t;
18416 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18417 uil8 = UINT_LEAST8_MAX;
18418 typedef uint_least16_t my_uint_least16_t;
18419 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18420 uil16 = UINT_LEAST16_MAX;
18421 typedef uint_least32_t my_uint_least32_t;
18422 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18423 uil32 = UINT_LEAST32_MAX;
18424 typedef uint_least64_t my_uint_least64_t;
18425 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18426 uil64 = UINT_LEAST64_MAX;
18427 typedef uintmax_t my_uintmax_t;
18428 my_uintmax_t uim = UINTMAX_MAX;
18430 typedef uintptr_t my_uintptr_t;
18431 my_uintptr_t uip = UINTPTR_MAX;
18438 if ac_fn_cxx_try_compile "$LINENO"; then :
18439 glibcxx_cv_c99_stdint_tr1=yes
18441 glibcxx_cv_c99_stdint_tr1=no
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18448 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18449 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18451 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18455 # Check for the existence of <math.h> functions.
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18457 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18458 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18459 $as_echo_n "(cached) " >&6
18462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h. */
18468 typedef double_t my_double_t;
18469 typedef float_t my_float_t;
18482 copysign(0.0, 0.0);
18483 copysignf(0.0f, 0.0f);
18484 copysignl(0.0l, 0.0l);
18500 fma(0.0, 0.0, 0.0);
18501 fmaf(0.0f, 0.0f, 0.0f);
18502 fmal(0.0l, 0.0l, 0.0l);
18510 hypotf(0.0f, 0.0f);
18511 hypotl(0.0l, 0.0l);
18545 nextafter(0.0, 0.0);
18546 nextafterf(0.0f, 0.0f);
18547 nextafterl(0.0l, 0.0l);
18548 nexttoward(0.0, 0.0);
18549 nexttowardf(0.0f, 0.0f);
18550 nexttowardl(0.0l, 0.0l);
18551 remainder(0.0, 0.0);
18552 remainderf(0.0f, 0.0f);
18553 remainderl(0.0l, 0.0l);
18554 remquo(0.0, 0.0, 0);
18555 remquof(0.0f, 0.0f, 0);
18556 remquol(0.0l, 0.0l, 0);
18564 scalblnf(0.0f, 0l);
18565 scalblnl(0.0l, 0l);
18580 if ac_fn_cxx_try_compile "$LINENO"; then :
18581 glibcxx_cv_c99_math_tr1=yes
18583 glibcxx_cv_c99_math_tr1=no
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18590 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18591 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18593 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18597 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18598 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18599 ac_c99_inttypes_tr1=no;
18600 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18602 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 #include <inttypes.h>
18609 intmax_t i, numer, denom, base;
18612 intmax_t ret = imaxabs(i);
18613 imaxdiv_t dret = imaxdiv(numer, denom);
18614 ret = strtoimax(s, endptr, base);
18615 uintmax_t uret = strtoumax(s, endptr, base);
18621 if ac_fn_cxx_try_compile "$LINENO"; then :
18622 ac_c99_inttypes_tr1=yes
18624 ac_c99_inttypes_tr1=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18629 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18630 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18632 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18636 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18637 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18638 ac_c99_inttypes_wchar_t_tr1=no;
18639 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18641 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <inttypes.h>
18651 intmax_t ret = wcstoimax(s, endptr, base);
18652 uintmax_t uret = wcstoumax(s, endptr, base);
18658 if ac_fn_cxx_try_compile "$LINENO"; then :
18659 ac_c99_inttypes_wchar_t_tr1=yes
18661 ac_c99_inttypes_wchar_t_tr1=no
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18666 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18667 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18669 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18673 # Check for the existence of the <stdbool.h> header.
18674 for ac_header in stdbool.h
18676 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18677 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_STDBOOL_H 1
18687 CXXFLAGS="$ac_save_CXXFLAGS"
18689 ac_cpp='$CPP $CPPFLAGS'
18690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18696 # For common values of EOF, SEEK_CUR, SEEK_END.
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18700 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18701 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18702 $as_echo_n "(cached) " >&6
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18711 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18719 if ac_fn_c_try_compile "$LINENO"; then :
18720 glibcxx_cv_stdio_macros=yes
18722 glibcxx_cv_stdio_macros=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18729 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18730 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18732 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18738 # For gettimeofday support.
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18742 $as_echo_n "checking for gettimeofday... " >&6; }
18746 ac_cpp='$CXXCPP $CPPFLAGS'
18747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18751 ac_save_CXXFLAGS="$CXXFLAGS"
18752 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18754 ac_has_gettimeofday=no;
18755 for ac_header in sys/time.h
18757 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18758 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_SYS_TIME_H 1
18762 ac_has_sys_time_h=yes
18764 ac_has_sys_time_h=no
18769 if test x"$ac_has_sys_time_h" = x"yes"; then
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18771 $as_echo_n "checking for gettimeofday... " >&6; }
18772 if test x$gcc_no_link = xyes; then
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 #include <sys/time.h>
18779 timeval tv; gettimeofday(&tv, 0);
18784 if ac_fn_cxx_try_compile "$LINENO"; then :
18785 ac_has_gettimeofday=yes
18787 ac_has_gettimeofday=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 if test x$gcc_no_link = xyes; then
18792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #include <sys/time.h>
18800 timeval tv; gettimeofday(&tv, 0);
18805 if ac_fn_cxx_try_link "$LINENO"; then :
18806 ac_has_gettimeofday=yes
18808 ac_has_gettimeofday=no
18810 rm -f core conftest.err conftest.$ac_objext \
18811 conftest$ac_exeext conftest.$ac_ext
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18815 $as_echo "$ac_has_gettimeofday" >&6; }
18818 if test x"$ac_has_gettimeofday" = x"yes"; then
18820 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18824 CXXFLAGS="$ac_save_CXXFLAGS"
18826 ac_cpp='$CPP $CPPFLAGS'
18827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18833 # For clock_gettime, nanosleep and sched_yield support.
18834 # NB: The default is [no], because otherwise it requires linking.
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18838 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18839 # Check whether --enable-libstdcxx-time was given.
18840 if test "${enable_libstdcxx_time+set}" = set; then :
18841 enableval=$enable_libstdcxx_time;
18842 case "$enableval" in
18844 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18848 enable_libstdcxx_time=no
18855 ac_cpp='$CXXCPP $CPPFLAGS'
18856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18860 ac_save_CXXFLAGS="$CXXFLAGS"
18861 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18862 ac_save_LIBS="$LIBS"
18864 ac_has_clock_monotonic=no
18865 ac_has_clock_realtime=no
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18867 $as_echo "$enable_libstdcxx_time" >&6; }
18869 if test x"$enable_libstdcxx_time" != x"no"; then
18871 if test x"$enable_libstdcxx_time" = x"rt"; then
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18873 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18874 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18875 $as_echo_n "(cached) " >&6
18877 ac_func_search_save_LIBS=$LIBS
18878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18879 /* end confdefs.h. */
18881 /* Override any GCC internal prototype to avoid an error.
18882 Use char because int might match the return type of a GCC
18883 builtin and then its argument prototype would still apply. */
18887 char clock_gettime ();
18891 return clock_gettime ();
18896 for ac_lib in '' rt posix4; do
18897 if test -z "$ac_lib"; then
18898 ac_res="none required"
18901 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18903 if test x$gcc_no_link = xyes; then
18904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18906 if ac_fn_cxx_try_link "$LINENO"; then :
18907 ac_cv_search_clock_gettime=$ac_res
18909 rm -f core conftest.err conftest.$ac_objext \
18911 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18915 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18918 ac_cv_search_clock_gettime=no
18920 rm conftest.$ac_ext
18921 LIBS=$ac_func_search_save_LIBS
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18924 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18925 ac_res=$ac_cv_search_clock_gettime
18926 if test "$ac_res" != no; then :
18927 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18932 $as_echo_n "checking for library containing nanosleep... " >&6; }
18933 if test "${ac_cv_search_nanosleep+set}" = set; then :
18934 $as_echo_n "(cached) " >&6
18936 ac_func_search_save_LIBS=$LIBS
18937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18938 /* end confdefs.h. */
18940 /* Override any GCC internal prototype to avoid an error.
18941 Use char because int might match the return type of a GCC
18942 builtin and then its argument prototype would still apply. */
18950 return nanosleep ();
18955 for ac_lib in '' rt posix4; do
18956 if test -z "$ac_lib"; then
18957 ac_res="none required"
18960 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18962 if test x$gcc_no_link = xyes; then
18963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18965 if ac_fn_cxx_try_link "$LINENO"; then :
18966 ac_cv_search_nanosleep=$ac_res
18968 rm -f core conftest.err conftest.$ac_objext \
18970 if test "${ac_cv_search_nanosleep+set}" = set; then :
18974 if test "${ac_cv_search_nanosleep+set}" = set; then :
18977 ac_cv_search_nanosleep=no
18979 rm conftest.$ac_ext
18980 LIBS=$ac_func_search_save_LIBS
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18983 $as_echo "$ac_cv_search_nanosleep" >&6; }
18984 ac_res=$ac_cv_search_nanosleep
18985 if test "$ac_res" != no; then :
18986 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18992 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18993 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18996 ac_func_search_save_LIBS=$LIBS
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
19000 /* Override any GCC internal prototype to avoid an error.
19001 Use char because int might match the return type of a GCC
19002 builtin and then its argument prototype would still apply. */
19006 char clock_gettime ();
19010 return clock_gettime ();
19015 for ac_lib in '' posix4; do
19016 if test -z "$ac_lib"; then
19017 ac_res="none required"
19020 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19022 if test x$gcc_no_link = xyes; then
19023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19025 if ac_fn_cxx_try_link "$LINENO"; then :
19026 ac_cv_search_clock_gettime=$ac_res
19028 rm -f core conftest.err conftest.$ac_objext \
19030 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19034 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19037 ac_cv_search_clock_gettime=no
19039 rm conftest.$ac_ext
19040 LIBS=$ac_func_search_save_LIBS
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19043 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19044 ac_res=$ac_cv_search_clock_gettime
19045 if test "$ac_res" != no; then :
19046 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19051 $as_echo_n "checking for library containing nanosleep... " >&6; }
19052 if test "${ac_cv_search_nanosleep+set}" = set; then :
19053 $as_echo_n "(cached) " >&6
19055 ac_func_search_save_LIBS=$LIBS
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19059 /* Override any GCC internal prototype to avoid an error.
19060 Use char because int might match the return type of a GCC
19061 builtin and then its argument prototype would still apply. */
19069 return nanosleep ();
19074 for ac_lib in '' posix4; do
19075 if test -z "$ac_lib"; then
19076 ac_res="none required"
19079 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19081 if test x$gcc_no_link = xyes; then
19082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19084 if ac_fn_cxx_try_link "$LINENO"; then :
19085 ac_cv_search_nanosleep=$ac_res
19087 rm -f core conftest.err conftest.$ac_objext \
19089 if test "${ac_cv_search_nanosleep+set}" = set; then :
19093 if test "${ac_cv_search_nanosleep+set}" = set; then :
19096 ac_cv_search_nanosleep=no
19098 rm conftest.$ac_ext
19099 LIBS=$ac_func_search_save_LIBS
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19102 $as_echo "$ac_cv_search_nanosleep" >&6; }
19103 ac_res=$ac_cv_search_nanosleep
19104 if test "$ac_res" != no; then :
19105 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19111 case "$ac_cv_search_clock_gettime" in
19112 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19115 case "$ac_cv_search_nanosleep" in
19116 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19121 $as_echo_n "checking for library containing sched_yield... " >&6; }
19122 if test "${ac_cv_search_sched_yield+set}" = set; then :
19123 $as_echo_n "(cached) " >&6
19125 ac_func_search_save_LIBS=$LIBS
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19129 /* Override any GCC internal prototype to avoid an error.
19130 Use char because int might match the return type of a GCC
19131 builtin and then its argument prototype would still apply. */
19135 char sched_yield ();
19139 return sched_yield ();
19144 for ac_lib in '' rt posix4; do
19145 if test -z "$ac_lib"; then
19146 ac_res="none required"
19149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19151 if test x$gcc_no_link = xyes; then
19152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19154 if ac_fn_cxx_try_link "$LINENO"; then :
19155 ac_cv_search_sched_yield=$ac_res
19157 rm -f core conftest.err conftest.$ac_objext \
19159 if test "${ac_cv_search_sched_yield+set}" = set; then :
19163 if test "${ac_cv_search_sched_yield+set}" = set; then :
19166 ac_cv_search_sched_yield=no
19168 rm conftest.$ac_ext
19169 LIBS=$ac_func_search_save_LIBS
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19172 $as_echo "$ac_cv_search_sched_yield" >&6; }
19173 ac_res=$ac_cv_search_sched_yield
19174 if test "$ac_res" != no; then :
19175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19180 case "$ac_cv_search_sched_yield" in
19182 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19184 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19188 if test x"$enable_libstdcxx_time" = x"rt"; then
19189 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19191 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19197 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19202 for ac_header in unistd.h
19204 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19205 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19206 cat >>confdefs.h <<_ACEOF
19207 #define HAVE_UNISTD_H 1
19209 ac_has_unistd_h=yes
19217 if test x"$ac_has_unistd_h" = x"yes"; then
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19219 $as_echo_n "checking for monotonic clock... " >&6; }
19220 if test x$gcc_no_link = xyes; then
19221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 #include <unistd.h>
19231 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19234 clock_gettime(CLOCK_MONOTONIC, &tp);
19240 if ac_fn_cxx_try_link "$LINENO"; then :
19241 ac_has_clock_monotonic=yes
19243 ac_has_clock_monotonic=no
19245 rm -f core conftest.err conftest.$ac_objext \
19246 conftest$ac_exeext conftest.$ac_ext
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19249 $as_echo "$ac_has_clock_monotonic" >&6; }
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19252 $as_echo_n "checking for realtime clock... " >&6; }
19253 if test x$gcc_no_link = xyes; then
19254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 #include <unistd.h>
19264 #if _POSIX_TIMERS > 0
19267 clock_gettime(CLOCK_REALTIME, &tp);
19273 if ac_fn_cxx_try_link "$LINENO"; then :
19274 ac_has_clock_realtime=yes
19276 ac_has_clock_realtime=no
19278 rm -f core conftest.err conftest.$ac_objext \
19279 conftest$ac_exeext conftest.$ac_ext
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19282 $as_echo "$ac_has_clock_realtime" >&6; }
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19285 $as_echo_n "checking for nanosleep... " >&6; }
19286 if test x$gcc_no_link = xyes; then
19287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <unistd.h>
19297 #if _POSIX_TIMERS > 0
19306 if ac_fn_cxx_try_link "$LINENO"; then :
19307 ac_has_nanosleep=yes
19309 ac_has_nanosleep=no
19311 rm -f core conftest.err conftest.$ac_objext \
19312 conftest$ac_exeext conftest.$ac_ext
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19315 $as_echo "$ac_has_nanosleep" >&6; }
19319 if test x"$ac_has_clock_monotonic" = x"yes"; then
19321 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19325 if test x"$ac_has_clock_realtime" = x"yes"; then
19327 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19331 if test x"$ac_has_nanosleep" = x"yes"; then
19333 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19339 CXXFLAGS="$ac_save_CXXFLAGS"
19340 LIBS="$ac_save_LIBS"
19342 ac_cpp='$CPP $CPPFLAGS'
19343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19349 # For gthread support
19353 ac_cpp='$CXXCPP $CPPFLAGS'
19354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19359 ac_save_CXXFLAGS="$CXXFLAGS"
19360 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19362 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19363 case $target_thread_file in
19365 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19369 $as_echo_n "checking for gthreads library... " >&6; }
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19378 #ifndef __GTHREADS_CXX0X
19382 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19383 #if (defined(_PTHREADS) \
19384 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19392 if ac_fn_cxx_try_compile "$LINENO"; then :
19393 ac_has_gthreads=yes
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19400 $as_echo "$ac_has_gthreads" >&6; }
19402 if test x"$ac_has_gthreads" = x"yes"; then
19404 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19408 CXXFLAGS="$ac_save_CXXFLAGS"
19410 ac_cpp='$CPP $CPPFLAGS'
19411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19418 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19419 if test "x$ac_cv_header_locale_h" = x""yes; then :
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19422 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19423 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19424 $as_echo_n "(cached) " >&6
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 #include <locale.h>
19437 if ac_fn_c_try_compile "$LINENO"; then :
19438 ac_cv_val_LC_MESSAGES=yes
19440 ac_cv_val_LC_MESSAGES=no
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19445 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19446 if test $ac_cv_val_LC_MESSAGES = yes; then
19448 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19457 # Check for available headers.
19458 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19459 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19460 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19461 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19466 eval as_val=\$$as_ac_Header
19467 if test "x$as_val" = x""yes; then :
19468 cat >>confdefs.h <<_ACEOF
19469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19477 # Only do link tests if native. Else, hardcode.
19478 if $GLIBCXX_IS_NATIVE; then
19480 # We can do more elaborate tests that assume a working linker.
19485 # Check whether --with-gnu-ld was given.
19486 if test "${with_gnu_ld+set}" = set; then :
19487 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19493 if test "$GCC" = yes; then
19494 # Check if gcc -print-prog-name=ld gives a path.
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19496 $as_echo_n "checking for ld used by $CC... " >&6; }
19499 # gcc leaves a trailing carriage return which upsets mingw
19500 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19502 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19505 # Accept absolute paths.
19507 re_direlt='/[^/][^/]*/\.\./'
19508 # Canonicalize the pathname of ld
19509 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19510 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19511 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19513 test -z "$LD" && LD="$ac_prog"
19516 # If it fails, then pretend we aren't using GCC.
19520 # If it is relative, then search for the first ld in PATH.
19521 with_gnu_ld=unknown
19524 elif test "$with_gnu_ld" = yes; then
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19526 $as_echo_n "checking for GNU ld... " >&6; }
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19529 $as_echo_n "checking for non-GNU ld... " >&6; }
19531 if test "${lt_cv_path_LD+set}" = set; then :
19532 $as_echo_n "(cached) " >&6
19534 if test -z "$LD"; then
19535 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19536 for ac_dir in $PATH; do
19538 test -z "$ac_dir" && ac_dir=.
19539 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19540 lt_cv_path_LD="$ac_dir/$ac_prog"
19541 # Check to see if the program is GNU ld. I'd rather use --version,
19542 # but apparently some variants of GNU ld only accept -v.
19543 # Break only if it was the GNU/non-GNU ld that we prefer.
19544 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19545 *GNU* | *'with BFD'*)
19546 test "$with_gnu_ld" != no && break
19549 test "$with_gnu_ld" != yes && break
19556 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19560 LD="$lt_cv_path_LD"
19561 if test -n "$LD"; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19563 $as_echo "$LD" >&6; }
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19566 $as_echo "no" >&6; }
19568 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19570 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19571 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19572 $as_echo_n "(cached) " >&6
19574 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19575 case `$LD -v 2>&1 </dev/null` in
19576 *GNU* | *'with BFD'*)
19577 lt_cv_prog_gnu_ld=yes
19580 lt_cv_prog_gnu_ld=no
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19585 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19586 with_gnu_ld=$lt_cv_prog_gnu_ld
19594 # If we're not using GNU ld, then there's no point in even trying these
19595 # tests. Check for that first. We should have already tested for gld
19596 # by now (in libtool), but require it now just to be safe...
19597 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19598 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19602 # The name set by libtool depends on the version of libtool. Shame on us
19603 # for depending on an impl detail, but c'est la vie. Older versions used
19604 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19605 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19606 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19607 # set (hence we're using an older libtool), then set it.
19608 if test x${with_gnu_ld+set} != xset; then
19609 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19610 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19613 with_gnu_ld=$ac_cv_prog_gnu_ld
19617 # Start by getting the version number. I think the libtool test already
19618 # does some of this, but throws away the result.
19619 glibcxx_ld_is_gold=no
19620 if test x"$with_gnu_ld" = x"yes"; then
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19622 $as_echo_n "checking for ld version... " >&6; }
19624 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19625 glibcxx_ld_is_gold=yes
19627 ldver=`$LD --version 2>/dev/null |
19628 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'`
19630 glibcxx_gnu_ld_version=`echo $ldver | \
19631 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19633 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19636 # Set --gc-sections.
19637 glibcxx_have_gc_sections=no
19638 if test "$glibcxx_ld_is_gold" = "yes"; then
19639 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19640 glibcxx_have_gc_sections=yes
19643 glibcxx_gcsections_min_ld=21602
19644 if test x"$with_gnu_ld" = x"yes" &&
19645 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19646 glibcxx_have_gc_sections=yes
19649 if test "$glibcxx_have_gc_sections" = "yes"; then
19650 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19651 # NB: This flag only works reliably after 2.16.1. Configure tests
19652 # for this are difficult, so hard wire a value that should work.
19654 ac_test_CFLAGS="${CFLAGS+set}"
19655 ac_save_CFLAGS="$CFLAGS"
19656 CFLAGS='-Wl,--gc-sections'
19658 # Check for -Wl,--gc-sections
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19660 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19661 if test x$gcc_no_link = xyes; then
19662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19666 int one(void) { return 1; }
19667 int two(void) { return 2; }
19677 if ac_fn_c_try_link "$LINENO"; then :
19682 rm -f core conftest.err conftest.$ac_objext \
19683 conftest$ac_exeext conftest.$ac_ext
19684 if test "$ac_gcsections" = "yes"; then
19687 if $CC -c conftest.c; then
19688 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19689 grep "Warning: gc-sections option ignored" > /dev/null; then
19693 rm -f conftest.c conftest.o conftest
19695 if test "$ac_gcsections" = "yes"; then
19696 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19699 $as_echo "$ac_gcsections" >&6; }
19701 if test "$ac_test_CFLAGS" = set; then
19702 CFLAGS="$ac_save_CFLAGS"
19704 # this is the suspicious part
19710 # Note this is only for shared objects.
19712 if test x"$with_gnu_ld" = x"yes"; then
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19714 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19715 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19716 if test -n "$cxx_z_relo"; then
19717 OPT_LDFLAGS="-Wl,-z,relro"
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19721 $as_echo "$ac_ld_relro" >&6; }
19724 # Set linker optimization flags.
19725 if test x"$with_gnu_ld" = x"yes"; then
19726 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19733 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19734 ac_save_CXXFLAGS="$CXXFLAGS"
19735 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19738 $as_echo_n "checking for sin in -lm... " >&6; }
19739 if test "${ac_cv_lib_m_sin+set}" = set; then :
19740 $as_echo_n "(cached) " >&6
19742 ac_check_lib_save_LIBS=$LIBS
19744 if test x$gcc_no_link = xyes; then
19745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19750 /* Override any GCC internal prototype to avoid an error.
19751 Use char because int might match the return type of a GCC
19752 builtin and then its argument prototype would still apply. */
19765 if ac_fn_c_try_link "$LINENO"; then :
19766 ac_cv_lib_m_sin=yes
19770 rm -f core conftest.err conftest.$ac_objext \
19771 conftest$ac_exeext conftest.$ac_ext
19772 LIBS=$ac_check_lib_save_LIBS
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19775 $as_echo "$ac_cv_lib_m_sin" >&6; }
19776 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19780 ac_save_LIBS="$LIBS"
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19786 $as_echo_n "checking for isinf declaration... " >&6; }
19787 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19788 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19789 $as_echo_n "(cached) " >&6
19794 ac_cpp='$CXXCPP $CPPFLAGS'
19795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 #ifdef HAVE_IEEEFP_H
19803 #include <ieeefp.h>
19814 if ac_fn_cxx_try_compile "$LINENO"; then :
19815 glibcxx_cv_func_isinf_use=yes
19817 glibcxx_cv_func_isinf_use=no
19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 ac_cpp='$CPP $CPPFLAGS'
19822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19831 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19833 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19834 for ac_func in isinf
19836 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19837 if test "x$ac_cv_func_isinf" = x""yes; then :
19838 cat >>confdefs.h <<_ACEOF
19839 #define HAVE_ISINF 1
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19848 $as_echo_n "checking for _isinf declaration... " >&6; }
19849 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19850 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19851 $as_echo_n "(cached) " >&6
19856 ac_cpp='$CXXCPP $CPPFLAGS'
19857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19864 #ifdef HAVE_IEEEFP_H
19865 #include <ieeefp.h>
19876 if ac_fn_cxx_try_compile "$LINENO"; then :
19877 glibcxx_cv_func__isinf_use=yes
19879 glibcxx_cv_func__isinf_use=no
19881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19883 ac_cpp='$CPP $CPPFLAGS'
19884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19893 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19895 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19896 for ac_func in _isinf
19898 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19899 if test "x$ac_cv_func__isinf" = x""yes; then :
19900 cat >>confdefs.h <<_ACEOF
19901 #define HAVE__ISINF 1
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19915 $as_echo_n "checking for isnan declaration... " >&6; }
19916 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19917 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19918 $as_echo_n "(cached) " >&6
19923 ac_cpp='$CXXCPP $CPPFLAGS'
19924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19931 #ifdef HAVE_IEEEFP_H
19932 #include <ieeefp.h>
19943 if ac_fn_cxx_try_compile "$LINENO"; then :
19944 glibcxx_cv_func_isnan_use=yes
19946 glibcxx_cv_func_isnan_use=no
19948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19950 ac_cpp='$CPP $CPPFLAGS'
19951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19960 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19962 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19963 for ac_func in isnan
19965 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19966 if test "x$ac_cv_func_isnan" = x""yes; then :
19967 cat >>confdefs.h <<_ACEOF
19968 #define HAVE_ISNAN 1
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19977 $as_echo_n "checking for _isnan declaration... " >&6; }
19978 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19979 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19980 $as_echo_n "(cached) " >&6
19985 ac_cpp='$CXXCPP $CPPFLAGS'
19986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19991 /* end confdefs.h. */
19993 #ifdef HAVE_IEEEFP_H
19994 #include <ieeefp.h>
20005 if ac_fn_cxx_try_compile "$LINENO"; then :
20006 glibcxx_cv_func__isnan_use=yes
20008 glibcxx_cv_func__isnan_use=no
20010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 ac_cpp='$CPP $CPPFLAGS'
20013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20022 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20024 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20025 for ac_func in _isnan
20027 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20028 if test "x$ac_cv_func__isnan" = x""yes; then :
20029 cat >>confdefs.h <<_ACEOF
20030 #define HAVE__ISNAN 1
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20044 $as_echo_n "checking for finite declaration... " >&6; }
20045 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20046 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20047 $as_echo_n "(cached) " >&6
20052 ac_cpp='$CXXCPP $CPPFLAGS'
20053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20060 #ifdef HAVE_IEEEFP_H
20061 #include <ieeefp.h>
20072 if ac_fn_cxx_try_compile "$LINENO"; then :
20073 glibcxx_cv_func_finite_use=yes
20075 glibcxx_cv_func_finite_use=no
20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20079 ac_cpp='$CPP $CPPFLAGS'
20080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20089 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20091 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20092 for ac_func in finite
20094 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20095 if test "x$ac_cv_func_finite" = x""yes; then :
20096 cat >>confdefs.h <<_ACEOF
20097 #define HAVE_FINITE 1
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20106 $as_echo_n "checking for _finite declaration... " >&6; }
20107 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20108 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20109 $as_echo_n "(cached) " >&6
20114 ac_cpp='$CXXCPP $CPPFLAGS'
20115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20120 /* end confdefs.h. */
20122 #ifdef HAVE_IEEEFP_H
20123 #include <ieeefp.h>
20134 if ac_fn_cxx_try_compile "$LINENO"; then :
20135 glibcxx_cv_func__finite_use=yes
20137 glibcxx_cv_func__finite_use=no
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20141 ac_cpp='$CPP $CPPFLAGS'
20142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20151 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20153 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20154 for ac_func in _finite
20156 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20157 if test "x$ac_cv_func__finite" = x""yes; then :
20158 cat >>confdefs.h <<_ACEOF
20159 #define HAVE__FINITE 1
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20173 $as_echo_n "checking for sincos declaration... " >&6; }
20174 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20175 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20176 $as_echo_n "(cached) " >&6
20181 ac_cpp='$CXXCPP $CPPFLAGS'
20182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 glibcxx_cv_func_sincos_use=yes
20200 glibcxx_cv_func_sincos_use=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20204 ac_cpp='$CPP $CPPFLAGS'
20205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20214 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20216 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20217 for ac_func in sincos
20219 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20220 if test "x$ac_cv_func_sincos" = x""yes; then :
20221 cat >>confdefs.h <<_ACEOF
20222 #define HAVE_SINCOS 1
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20231 $as_echo_n "checking for _sincos declaration... " >&6; }
20232 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20233 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20239 ac_cpp='$CXXCPP $CPPFLAGS'
20240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20245 /* end confdefs.h. */
20255 if ac_fn_cxx_try_compile "$LINENO"; then :
20256 glibcxx_cv_func__sincos_use=yes
20258 glibcxx_cv_func__sincos_use=no
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262 ac_cpp='$CPP $CPPFLAGS'
20263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20272 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20274 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20275 for ac_func in _sincos
20277 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20278 if test "x$ac_cv_func__sincos" = x""yes; then :
20279 cat >>confdefs.h <<_ACEOF
20280 #define HAVE__SINCOS 1
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20294 $as_echo_n "checking for fpclass declaration... " >&6; }
20295 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20296 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20297 $as_echo_n "(cached) " >&6
20302 ac_cpp='$CXXCPP $CPPFLAGS'
20303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20308 /* end confdefs.h. */
20310 #ifdef HAVE_IEEEFP_H
20311 #include <ieeefp.h>
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323 glibcxx_cv_func_fpclass_use=yes
20325 glibcxx_cv_func_fpclass_use=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20329 ac_cpp='$CPP $CPPFLAGS'
20330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20339 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20341 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20342 for ac_func in fpclass
20344 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20345 if test "x$ac_cv_func_fpclass" = x""yes; then :
20346 cat >>confdefs.h <<_ACEOF
20347 #define HAVE_FPCLASS 1
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20356 $as_echo_n "checking for _fpclass declaration... " >&6; }
20357 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20358 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20364 ac_cpp='$CXXCPP $CPPFLAGS'
20365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h. */
20372 #ifdef HAVE_IEEEFP_H
20373 #include <ieeefp.h>
20384 if ac_fn_cxx_try_compile "$LINENO"; then :
20385 glibcxx_cv_func__fpclass_use=yes
20387 glibcxx_cv_func__fpclass_use=no
20389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20391 ac_cpp='$CPP $CPPFLAGS'
20392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20401 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20403 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20404 for ac_func in _fpclass
20406 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20407 if test "x$ac_cv_func__fpclass" = x""yes; then :
20408 cat >>confdefs.h <<_ACEOF
20409 #define HAVE__FPCLASS 1
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20423 $as_echo_n "checking for qfpclass declaration... " >&6; }
20424 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20425 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20431 ac_cpp='$CXXCPP $CPPFLAGS'
20432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20439 #ifdef HAVE_IEEEFP_H
20440 #include <ieeefp.h>
20451 if ac_fn_cxx_try_compile "$LINENO"; then :
20452 glibcxx_cv_func_qfpclass_use=yes
20454 glibcxx_cv_func_qfpclass_use=no
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20458 ac_cpp='$CPP $CPPFLAGS'
20459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20468 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20470 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20471 for ac_func in qfpclass
20473 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20474 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20475 cat >>confdefs.h <<_ACEOF
20476 #define HAVE_QFPCLASS 1
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20485 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20486 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20487 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20488 $as_echo_n "(cached) " >&6
20493 ac_cpp='$CXXCPP $CPPFLAGS'
20494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499 /* end confdefs.h. */
20501 #ifdef HAVE_IEEEFP_H
20502 #include <ieeefp.h>
20513 if ac_fn_cxx_try_compile "$LINENO"; then :
20514 glibcxx_cv_func__qfpclass_use=yes
20516 glibcxx_cv_func__qfpclass_use=no
20518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20520 ac_cpp='$CPP $CPPFLAGS'
20521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20530 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20532 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20533 for ac_func in _qfpclass
20535 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20536 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20537 cat >>confdefs.h <<_ACEOF
20538 #define HAVE__QFPCLASS 1
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20552 $as_echo_n "checking for hypot declaration... " >&6; }
20553 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20554 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20555 $as_echo_n "(cached) " >&6
20560 ac_cpp='$CXXCPP $CPPFLAGS'
20561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20576 if ac_fn_cxx_try_compile "$LINENO"; then :
20577 glibcxx_cv_func_hypot_use=yes
20579 glibcxx_cv_func_hypot_use=no
20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20583 ac_cpp='$CPP $CPPFLAGS'
20584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20593 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20595 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20596 for ac_func in hypot
20598 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20599 if test "x$ac_cv_func_hypot" = x""yes; then :
20600 cat >>confdefs.h <<_ACEOF
20601 #define HAVE_HYPOT 1
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20610 $as_echo_n "checking for _hypot declaration... " >&6; }
20611 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20612 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20613 $as_echo_n "(cached) " >&6
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20634 if ac_fn_cxx_try_compile "$LINENO"; then :
20635 glibcxx_cv_func__hypot_use=yes
20637 glibcxx_cv_func__hypot_use=no
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20641 ac_cpp='$CPP $CPPFLAGS'
20642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20651 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20653 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20654 for ac_func in _hypot
20656 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20657 if test "x$ac_cv_func__hypot" = x""yes; then :
20658 cat >>confdefs.h <<_ACEOF
20659 #define HAVE__HYPOT 1
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20673 $as_echo_n "checking for float trig functions... " >&6; }
20674 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20675 $as_echo_n "(cached) " >&6
20680 ac_cpp='$CXXCPP $CPPFLAGS'
20681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20686 /* end confdefs.h. */
20691 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20696 if ac_fn_cxx_try_compile "$LINENO"; then :
20697 glibcxx_cv_func_float_trig_use=yes
20699 glibcxx_cv_func_float_trig_use=no
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20703 ac_cpp='$CPP $CPPFLAGS'
20704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20711 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20712 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20713 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20717 eval as_val=\$$as_ac_var
20718 if test "x$as_val" = x""yes; then :
20719 cat >>confdefs.h <<_ACEOF
20720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20728 $as_echo_n "checking for _float trig functions... " >&6; }
20729 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20730 $as_echo_n "(cached) " >&6
20735 ac_cpp='$CXXCPP $CPPFLAGS'
20736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20741 /* end confdefs.h. */
20746 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20751 if ac_fn_cxx_try_compile "$LINENO"; then :
20752 glibcxx_cv_func__float_trig_use=yes
20754 glibcxx_cv_func__float_trig_use=no
20756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20758 ac_cpp='$CPP $CPPFLAGS'
20759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20766 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20767 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20768 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20772 eval as_val=\$$as_ac_var
20773 if test "x$as_val" = x""yes; then :
20774 cat >>confdefs.h <<_ACEOF
20775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20789 $as_echo_n "checking for float round functions... " >&6; }
20790 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20791 $as_echo_n "(cached) " >&6
20796 ac_cpp='$CXXCPP $CPPFLAGS'
20797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20807 ceilf (0); floorf (0);
20812 if ac_fn_cxx_try_compile "$LINENO"; then :
20813 glibcxx_cv_func_float_round_use=yes
20815 glibcxx_cv_func_float_round_use=no
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20819 ac_cpp='$CPP $CPPFLAGS'
20820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20827 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20828 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20829 for ac_func in ceilf floorf
20831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20833 eval as_val=\$$as_ac_var
20834 if test "x$as_val" = x""yes; then :
20835 cat >>confdefs.h <<_ACEOF
20836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20844 $as_echo_n "checking for _float round functions... " >&6; }
20845 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20846 $as_echo_n "(cached) " >&6
20851 ac_cpp='$CXXCPP $CPPFLAGS'
20852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20862 _ceilf (0); _floorf (0);
20867 if ac_fn_cxx_try_compile "$LINENO"; then :
20868 glibcxx_cv_func__float_round_use=yes
20870 glibcxx_cv_func__float_round_use=no
20872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20874 ac_cpp='$CPP $CPPFLAGS'
20875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20882 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20883 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20884 for ac_func in _ceilf _floorf
20886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20888 eval as_val=\$$as_ac_var
20889 if test "x$as_val" = x""yes; then :
20890 cat >>confdefs.h <<_ACEOF
20891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20906 $as_echo_n "checking for expf declaration... " >&6; }
20907 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20908 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20909 $as_echo_n "(cached) " >&6
20914 ac_cpp='$CXXCPP $CPPFLAGS'
20915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20922 #ifdef HAVE_IEEEFP_H
20923 #include <ieeefp.h>
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 glibcxx_cv_func_expf_use=yes
20937 glibcxx_cv_func_expf_use=no
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941 ac_cpp='$CPP $CPPFLAGS'
20942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20951 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20953 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20954 for ac_func in expf
20956 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20957 if test "x$ac_cv_func_expf" = x""yes; then :
20958 cat >>confdefs.h <<_ACEOF
20959 #define HAVE_EXPF 1
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20968 $as_echo_n "checking for _expf declaration... " >&6; }
20969 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20970 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20971 $as_echo_n "(cached) " >&6
20976 ac_cpp='$CXXCPP $CPPFLAGS'
20977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20984 #ifdef HAVE_IEEEFP_H
20985 #include <ieeefp.h>
20996 if ac_fn_cxx_try_compile "$LINENO"; then :
20997 glibcxx_cv_func__expf_use=yes
20999 glibcxx_cv_func__expf_use=no
21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003 ac_cpp='$CPP $CPPFLAGS'
21004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21013 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21015 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21016 for ac_func in _expf
21018 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21019 if test "x$ac_cv_func__expf" = x""yes; then :
21020 cat >>confdefs.h <<_ACEOF
21021 #define HAVE__EXPF 1
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21035 $as_echo_n "checking for isnanf declaration... " >&6; }
21036 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21037 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21051 #ifdef HAVE_IEEEFP_H
21052 #include <ieeefp.h>
21063 if ac_fn_cxx_try_compile "$LINENO"; then :
21064 glibcxx_cv_func_isnanf_use=yes
21066 glibcxx_cv_func_isnanf_use=no
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21080 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21082 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21083 for ac_func in isnanf
21085 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21086 if test "x$ac_cv_func_isnanf" = x""yes; then :
21087 cat >>confdefs.h <<_ACEOF
21088 #define HAVE_ISNANF 1
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21097 $as_echo_n "checking for _isnanf declaration... " >&6; }
21098 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21099 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21100 $as_echo_n "(cached) " >&6
21105 ac_cpp='$CXXCPP $CPPFLAGS'
21106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h. */
21113 #ifdef HAVE_IEEEFP_H
21114 #include <ieeefp.h>
21125 if ac_fn_cxx_try_compile "$LINENO"; then :
21126 glibcxx_cv_func__isnanf_use=yes
21128 glibcxx_cv_func__isnanf_use=no
21130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 ac_cpp='$CPP $CPPFLAGS'
21133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21142 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21144 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21145 for ac_func in _isnanf
21147 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21148 if test "x$ac_cv_func__isnanf" = x""yes; then :
21149 cat >>confdefs.h <<_ACEOF
21150 #define HAVE__ISNANF 1
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21164 $as_echo_n "checking for isinff declaration... " >&6; }
21165 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21166 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21167 $as_echo_n "(cached) " >&6
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21180 #ifdef HAVE_IEEEFP_H
21181 #include <ieeefp.h>
21192 if ac_fn_cxx_try_compile "$LINENO"; then :
21193 glibcxx_cv_func_isinff_use=yes
21195 glibcxx_cv_func_isinff_use=no
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21209 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21211 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21212 for ac_func in isinff
21214 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21215 if test "x$ac_cv_func_isinff" = x""yes; then :
21216 cat >>confdefs.h <<_ACEOF
21217 #define HAVE_ISINFF 1
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21226 $as_echo_n "checking for _isinff declaration... " >&6; }
21227 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21228 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21229 $as_echo_n "(cached) " >&6
21234 ac_cpp='$CXXCPP $CPPFLAGS'
21235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21242 #ifdef HAVE_IEEEFP_H
21243 #include <ieeefp.h>
21254 if ac_fn_cxx_try_compile "$LINENO"; then :
21255 glibcxx_cv_func__isinff_use=yes
21257 glibcxx_cv_func__isinff_use=no
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21271 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21273 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21274 for ac_func in _isinff
21276 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21277 if test "x$ac_cv_func__isinff" = x""yes; then :
21278 cat >>confdefs.h <<_ACEOF
21279 #define HAVE__ISINFF 1
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21293 $as_echo_n "checking for atan2f declaration... " >&6; }
21294 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21295 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21296 $as_echo_n "(cached) " >&6
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21317 if ac_fn_cxx_try_compile "$LINENO"; then :
21318 glibcxx_cv_func_atan2f_use=yes
21320 glibcxx_cv_func_atan2f_use=no
21322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324 ac_cpp='$CPP $CPPFLAGS'
21325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21334 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21336 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21337 for ac_func in atan2f
21339 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21340 if test "x$ac_cv_func_atan2f" = x""yes; then :
21341 cat >>confdefs.h <<_ACEOF
21342 #define HAVE_ATAN2F 1
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21351 $as_echo_n "checking for _atan2f declaration... " >&6; }
21352 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21353 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21354 $as_echo_n "(cached) " >&6
21359 ac_cpp='$CXXCPP $CPPFLAGS'
21360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21375 if ac_fn_cxx_try_compile "$LINENO"; then :
21376 glibcxx_cv_func__atan2f_use=yes
21378 glibcxx_cv_func__atan2f_use=no
21380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21382 ac_cpp='$CPP $CPPFLAGS'
21383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21392 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21394 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21395 for ac_func in _atan2f
21397 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21398 if test "x$ac_cv_func__atan2f" = x""yes; then :
21399 cat >>confdefs.h <<_ACEOF
21400 #define HAVE__ATAN2F 1
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21414 $as_echo_n "checking for fabsf declaration... " >&6; }
21415 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21416 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21417 $as_echo_n "(cached) " >&6
21422 ac_cpp='$CXXCPP $CPPFLAGS'
21423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h. */
21430 #ifdef HAVE_IEEEFP_H
21431 #include <ieeefp.h>
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 glibcxx_cv_func_fabsf_use=yes
21445 glibcxx_cv_func_fabsf_use=no
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 ac_cpp='$CPP $CPPFLAGS'
21450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21459 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21461 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21462 for ac_func in fabsf
21464 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21465 if test "x$ac_cv_func_fabsf" = x""yes; then :
21466 cat >>confdefs.h <<_ACEOF
21467 #define HAVE_FABSF 1
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21476 $as_echo_n "checking for _fabsf declaration... " >&6; }
21477 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21478 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21479 $as_echo_n "(cached) " >&6
21484 ac_cpp='$CXXCPP $CPPFLAGS'
21485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21492 #ifdef HAVE_IEEEFP_H
21493 #include <ieeefp.h>
21504 if ac_fn_cxx_try_compile "$LINENO"; then :
21505 glibcxx_cv_func__fabsf_use=yes
21507 glibcxx_cv_func__fabsf_use=no
21509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21511 ac_cpp='$CPP $CPPFLAGS'
21512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21521 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21523 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21524 for ac_func in _fabsf
21526 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21527 if test "x$ac_cv_func__fabsf" = x""yes; then :
21528 cat >>confdefs.h <<_ACEOF
21529 #define HAVE__FABSF 1
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21543 $as_echo_n "checking for fmodf declaration... " >&6; }
21544 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21545 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21546 $as_echo_n "(cached) " >&6
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h. */
21567 if ac_fn_cxx_try_compile "$LINENO"; then :
21568 glibcxx_cv_func_fmodf_use=yes
21570 glibcxx_cv_func_fmodf_use=no
21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574 ac_cpp='$CPP $CPPFLAGS'
21575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21584 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21586 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21587 for ac_func in fmodf
21589 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21590 if test "x$ac_cv_func_fmodf" = x""yes; then :
21591 cat >>confdefs.h <<_ACEOF
21592 #define HAVE_FMODF 1
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21601 $as_echo_n "checking for _fmodf declaration... " >&6; }
21602 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21603 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21604 $as_echo_n "(cached) " >&6
21609 ac_cpp='$CXXCPP $CPPFLAGS'
21610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21625 if ac_fn_cxx_try_compile "$LINENO"; then :
21626 glibcxx_cv_func__fmodf_use=yes
21628 glibcxx_cv_func__fmodf_use=no
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 ac_cpp='$CPP $CPPFLAGS'
21633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21642 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21644 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21645 for ac_func in _fmodf
21647 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21648 if test "x$ac_cv_func__fmodf" = x""yes; then :
21649 cat >>confdefs.h <<_ACEOF
21650 #define HAVE__FMODF 1
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21664 $as_echo_n "checking for frexpf declaration... " >&6; }
21665 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21666 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21667 $as_echo_n "(cached) " >&6
21672 ac_cpp='$CXXCPP $CPPFLAGS'
21673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_func_frexpf_use=yes
21691 glibcxx_cv_func_frexpf_use=no
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21705 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21707 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21708 for ac_func in frexpf
21710 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21711 if test "x$ac_cv_func_frexpf" = x""yes; then :
21712 cat >>confdefs.h <<_ACEOF
21713 #define HAVE_FREXPF 1
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21722 $as_echo_n "checking for _frexpf declaration... " >&6; }
21723 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21724 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21725 $as_echo_n "(cached) " >&6
21730 ac_cpp='$CXXCPP $CPPFLAGS'
21731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21736 /* end confdefs.h. */
21746 if ac_fn_cxx_try_compile "$LINENO"; then :
21747 glibcxx_cv_func__frexpf_use=yes
21749 glibcxx_cv_func__frexpf_use=no
21751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 ac_cpp='$CPP $CPPFLAGS'
21754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21763 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21765 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21766 for ac_func in _frexpf
21768 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21769 if test "x$ac_cv_func__frexpf" = x""yes; then :
21770 cat >>confdefs.h <<_ACEOF
21771 #define HAVE__FREXPF 1
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21785 $as_echo_n "checking for hypotf declaration... " >&6; }
21786 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21787 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21788 $as_echo_n "(cached) " >&6
21793 ac_cpp='$CXXCPP $CPPFLAGS'
21794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21799 /* end confdefs.h. */
21809 if ac_fn_cxx_try_compile "$LINENO"; then :
21810 glibcxx_cv_func_hypotf_use=yes
21812 glibcxx_cv_func_hypotf_use=no
21814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 ac_cpp='$CPP $CPPFLAGS'
21817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21826 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21828 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21829 for ac_func in hypotf
21831 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21832 if test "x$ac_cv_func_hypotf" = x""yes; then :
21833 cat >>confdefs.h <<_ACEOF
21834 #define HAVE_HYPOTF 1
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21843 $as_echo_n "checking for _hypotf declaration... " >&6; }
21844 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21845 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21846 $as_echo_n "(cached) " >&6
21851 ac_cpp='$CXXCPP $CPPFLAGS'
21852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h. */
21867 if ac_fn_cxx_try_compile "$LINENO"; then :
21868 glibcxx_cv_func__hypotf_use=yes
21870 glibcxx_cv_func__hypotf_use=no
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 ac_cpp='$CPP $CPPFLAGS'
21875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21884 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21886 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21887 for ac_func in _hypotf
21889 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21890 if test "x$ac_cv_func__hypotf" = x""yes; then :
21891 cat >>confdefs.h <<_ACEOF
21892 #define HAVE__HYPOTF 1
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21906 $as_echo_n "checking for ldexpf declaration... " >&6; }
21907 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21908 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21909 $as_echo_n "(cached) " >&6
21914 ac_cpp='$CXXCPP $CPPFLAGS'
21915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21920 /* end confdefs.h. */
21930 if ac_fn_cxx_try_compile "$LINENO"; then :
21931 glibcxx_cv_func_ldexpf_use=yes
21933 glibcxx_cv_func_ldexpf_use=no
21935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 ac_cpp='$CPP $CPPFLAGS'
21938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21947 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21949 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21950 for ac_func in ldexpf
21952 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21953 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21954 cat >>confdefs.h <<_ACEOF
21955 #define HAVE_LDEXPF 1
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21964 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21965 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21966 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21967 $as_echo_n "(cached) " >&6
21972 ac_cpp='$CXXCPP $CPPFLAGS'
21973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21978 /* end confdefs.h. */
21988 if ac_fn_cxx_try_compile "$LINENO"; then :
21989 glibcxx_cv_func__ldexpf_use=yes
21991 glibcxx_cv_func__ldexpf_use=no
21993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21995 ac_cpp='$CPP $CPPFLAGS'
21996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22005 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22007 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22008 for ac_func in _ldexpf
22010 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22011 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22012 cat >>confdefs.h <<_ACEOF
22013 #define HAVE__LDEXPF 1
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22027 $as_echo_n "checking for logf declaration... " >&6; }
22028 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22029 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22030 $as_echo_n "(cached) " >&6
22035 ac_cpp='$CXXCPP $CPPFLAGS'
22036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22041 /* end confdefs.h. */
22043 #ifdef HAVE_IEEEFP_H
22044 #include <ieeefp.h>
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056 glibcxx_cv_func_logf_use=yes
22058 glibcxx_cv_func_logf_use=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22072 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22074 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22075 for ac_func in logf
22077 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22078 if test "x$ac_cv_func_logf" = x""yes; then :
22079 cat >>confdefs.h <<_ACEOF
22080 #define HAVE_LOGF 1
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22089 $as_echo_n "checking for _logf declaration... " >&6; }
22090 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22091 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22092 $as_echo_n "(cached) " >&6
22097 ac_cpp='$CXXCPP $CPPFLAGS'
22098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22103 /* end confdefs.h. */
22105 #ifdef HAVE_IEEEFP_H
22106 #include <ieeefp.h>
22117 if ac_fn_cxx_try_compile "$LINENO"; then :
22118 glibcxx_cv_func__logf_use=yes
22120 glibcxx_cv_func__logf_use=no
22122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22124 ac_cpp='$CPP $CPPFLAGS'
22125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22134 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22136 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22137 for ac_func in _logf
22139 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22140 if test "x$ac_cv_func__logf" = x""yes; then :
22141 cat >>confdefs.h <<_ACEOF
22142 #define HAVE__LOGF 1
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22156 $as_echo_n "checking for log10f declaration... " >&6; }
22157 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22158 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22159 $as_echo_n "(cached) " >&6
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170 /* end confdefs.h. */
22172 #ifdef HAVE_IEEEFP_H
22173 #include <ieeefp.h>
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185 glibcxx_cv_func_log10f_use=yes
22187 glibcxx_cv_func_log10f_use=no
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22201 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22203 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22204 for ac_func in log10f
22206 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22207 if test "x$ac_cv_func_log10f" = x""yes; then :
22208 cat >>confdefs.h <<_ACEOF
22209 #define HAVE_LOG10F 1
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22218 $as_echo_n "checking for _log10f declaration... " >&6; }
22219 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22220 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22221 $as_echo_n "(cached) " >&6
22226 ac_cpp='$CXXCPP $CPPFLAGS'
22227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22232 /* end confdefs.h. */
22234 #ifdef HAVE_IEEEFP_H
22235 #include <ieeefp.h>
22246 if ac_fn_cxx_try_compile "$LINENO"; then :
22247 glibcxx_cv_func__log10f_use=yes
22249 glibcxx_cv_func__log10f_use=no
22251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22263 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22265 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22266 for ac_func in _log10f
22268 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22269 if test "x$ac_cv_func__log10f" = x""yes; then :
22270 cat >>confdefs.h <<_ACEOF
22271 #define HAVE__LOG10F 1
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22285 $as_echo_n "checking for modff declaration... " >&6; }
22286 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22287 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22288 $as_echo_n "(cached) " >&6
22293 ac_cpp='$CXXCPP $CPPFLAGS'
22294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22309 if ac_fn_cxx_try_compile "$LINENO"; then :
22310 glibcxx_cv_func_modff_use=yes
22312 glibcxx_cv_func_modff_use=no
22314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22316 ac_cpp='$CPP $CPPFLAGS'
22317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22326 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22328 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22329 for ac_func in modff
22331 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22332 if test "x$ac_cv_func_modff" = x""yes; then :
22333 cat >>confdefs.h <<_ACEOF
22334 #define HAVE_MODFF 1
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22343 $as_echo_n "checking for _modff declaration... " >&6; }
22344 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22345 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22346 $as_echo_n "(cached) " >&6
22351 ac_cpp='$CXXCPP $CPPFLAGS'
22352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22357 /* end confdefs.h. */
22367 if ac_fn_cxx_try_compile "$LINENO"; then :
22368 glibcxx_cv_func__modff_use=yes
22370 glibcxx_cv_func__modff_use=no
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22374 ac_cpp='$CPP $CPPFLAGS'
22375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22384 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22386 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22387 for ac_func in _modff
22389 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22390 if test "x$ac_cv_func__modff" = x""yes; then :
22391 cat >>confdefs.h <<_ACEOF
22392 #define HAVE__MODFF 1
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22406 $as_echo_n "checking for modf declaration... " >&6; }
22407 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22408 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22409 $as_echo_n "(cached) " >&6
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22430 if ac_fn_cxx_try_compile "$LINENO"; then :
22431 glibcxx_cv_func_modf_use=yes
22433 glibcxx_cv_func_modf_use=no
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 ac_cpp='$CPP $CPPFLAGS'
22438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22447 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22449 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22450 for ac_func in modf
22452 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22453 if test "x$ac_cv_func_modf" = x""yes; then :
22454 cat >>confdefs.h <<_ACEOF
22455 #define HAVE_MODF 1
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22464 $as_echo_n "checking for _modf declaration... " >&6; }
22465 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22466 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22467 $as_echo_n "(cached) " >&6
22472 ac_cpp='$CXXCPP $CPPFLAGS'
22473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22488 if ac_fn_cxx_try_compile "$LINENO"; then :
22489 glibcxx_cv_func__modf_use=yes
22491 glibcxx_cv_func__modf_use=no
22493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22495 ac_cpp='$CPP $CPPFLAGS'
22496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22505 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22507 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22508 for ac_func in _modf
22510 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22511 if test "x$ac_cv_func__modf" = x""yes; then :
22512 cat >>confdefs.h <<_ACEOF
22513 #define HAVE__MODF 1
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22527 $as_echo_n "checking for powf declaration... " >&6; }
22528 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22529 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22530 $as_echo_n "(cached) " >&6
22535 ac_cpp='$CXXCPP $CPPFLAGS'
22536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22541 /* end confdefs.h. */
22551 if ac_fn_cxx_try_compile "$LINENO"; then :
22552 glibcxx_cv_func_powf_use=yes
22554 glibcxx_cv_func_powf_use=no
22556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22558 ac_cpp='$CPP $CPPFLAGS'
22559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22568 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22570 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22571 for ac_func in powf
22573 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22574 if test "x$ac_cv_func_powf" = x""yes; then :
22575 cat >>confdefs.h <<_ACEOF
22576 #define HAVE_POWF 1
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22585 $as_echo_n "checking for _powf declaration... " >&6; }
22586 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22587 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22593 ac_cpp='$CXXCPP $CPPFLAGS'
22594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22599 /* end confdefs.h. */
22609 if ac_fn_cxx_try_compile "$LINENO"; then :
22610 glibcxx_cv_func__powf_use=yes
22612 glibcxx_cv_func__powf_use=no
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 ac_cpp='$CPP $CPPFLAGS'
22617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22626 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22628 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22629 for ac_func in _powf
22631 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22632 if test "x$ac_cv_func__powf" = x""yes; then :
22633 cat >>confdefs.h <<_ACEOF
22634 #define HAVE__POWF 1
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22648 $as_echo_n "checking for sqrtf declaration... " >&6; }
22649 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22650 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22662 /* end confdefs.h. */
22664 #ifdef HAVE_IEEEFP_H
22665 #include <ieeefp.h>
22676 if ac_fn_cxx_try_compile "$LINENO"; then :
22677 glibcxx_cv_func_sqrtf_use=yes
22679 glibcxx_cv_func_sqrtf_use=no
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22693 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22695 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22696 for ac_func in sqrtf
22698 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22699 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22700 cat >>confdefs.h <<_ACEOF
22701 #define HAVE_SQRTF 1
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22710 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22711 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22712 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22713 $as_echo_n "(cached) " >&6
22718 ac_cpp='$CXXCPP $CPPFLAGS'
22719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22724 /* end confdefs.h. */
22726 #ifdef HAVE_IEEEFP_H
22727 #include <ieeefp.h>
22738 if ac_fn_cxx_try_compile "$LINENO"; then :
22739 glibcxx_cv_func__sqrtf_use=yes
22741 glibcxx_cv_func__sqrtf_use=no
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745 ac_cpp='$CPP $CPPFLAGS'
22746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22755 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22757 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22758 for ac_func in _sqrtf
22760 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22761 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22762 cat >>confdefs.h <<_ACEOF
22763 #define HAVE__SQRTF 1
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22777 $as_echo_n "checking for sincosf declaration... " >&6; }
22778 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22779 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22785 ac_cpp='$CXXCPP $CPPFLAGS'
22786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h. */
22801 if ac_fn_cxx_try_compile "$LINENO"; then :
22802 glibcxx_cv_func_sincosf_use=yes
22804 glibcxx_cv_func_sincosf_use=no
22806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22808 ac_cpp='$CPP $CPPFLAGS'
22809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22818 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22820 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22821 for ac_func in sincosf
22823 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22824 if test "x$ac_cv_func_sincosf" = x""yes; then :
22825 cat >>confdefs.h <<_ACEOF
22826 #define HAVE_SINCOSF 1
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22835 $as_echo_n "checking for _sincosf declaration... " >&6; }
22836 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22837 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22838 $as_echo_n "(cached) " >&6
22843 ac_cpp='$CXXCPP $CPPFLAGS'
22844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22859 if ac_fn_cxx_try_compile "$LINENO"; then :
22860 glibcxx_cv_func__sincosf_use=yes
22862 glibcxx_cv_func__sincosf_use=no
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22866 ac_cpp='$CPP $CPPFLAGS'
22867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22876 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22878 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22879 for ac_func in _sincosf
22881 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22882 if test "x$ac_cv_func__sincosf" = x""yes; then :
22883 cat >>confdefs.h <<_ACEOF
22884 #define HAVE__SINCOSF 1
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22898 $as_echo_n "checking for finitef declaration... " >&6; }
22899 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22900 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22901 $as_echo_n "(cached) " >&6
22906 ac_cpp='$CXXCPP $CPPFLAGS'
22907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22914 #ifdef HAVE_IEEEFP_H
22915 #include <ieeefp.h>
22926 if ac_fn_cxx_try_compile "$LINENO"; then :
22927 glibcxx_cv_func_finitef_use=yes
22929 glibcxx_cv_func_finitef_use=no
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22933 ac_cpp='$CPP $CPPFLAGS'
22934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22943 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22945 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22946 for ac_func in finitef
22948 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22949 if test "x$ac_cv_func_finitef" = x""yes; then :
22950 cat >>confdefs.h <<_ACEOF
22951 #define HAVE_FINITEF 1
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22960 $as_echo_n "checking for _finitef declaration... " >&6; }
22961 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22962 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22963 $as_echo_n "(cached) " >&6
22968 ac_cpp='$CXXCPP $CPPFLAGS'
22969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22974 /* end confdefs.h. */
22976 #ifdef HAVE_IEEEFP_H
22977 #include <ieeefp.h>
22988 if ac_fn_cxx_try_compile "$LINENO"; then :
22989 glibcxx_cv_func__finitef_use=yes
22991 glibcxx_cv_func__finitef_use=no
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22995 ac_cpp='$CPP $CPPFLAGS'
22996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23005 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23007 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23008 for ac_func in _finitef
23010 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23011 if test "x$ac_cv_func__finitef" = x""yes; then :
23012 cat >>confdefs.h <<_ACEOF
23013 #define HAVE__FINITEF 1
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23027 $as_echo_n "checking for long double trig functions... " >&6; }
23028 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23029 $as_echo_n "(cached) " >&6
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23045 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23050 if ac_fn_cxx_try_compile "$LINENO"; then :
23051 glibcxx_cv_func_long_double_trig_use=yes
23053 glibcxx_cv_func_long_double_trig_use=no
23055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23057 ac_cpp='$CPP $CPPFLAGS'
23058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23065 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23066 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23067 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23071 eval as_val=\$$as_ac_var
23072 if test "x$as_val" = x""yes; then :
23073 cat >>confdefs.h <<_ACEOF
23074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23082 $as_echo_n "checking for _long double trig functions... " >&6; }
23083 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23084 $as_echo_n "(cached) " >&6
23089 ac_cpp='$CXXCPP $CPPFLAGS'
23090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23095 /* end confdefs.h. */
23100 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23105 if ac_fn_cxx_try_compile "$LINENO"; then :
23106 glibcxx_cv_func__long_double_trig_use=yes
23108 glibcxx_cv_func__long_double_trig_use=no
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_cpp='$CPP $CPPFLAGS'
23113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23120 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23121 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23122 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23126 eval as_val=\$$as_ac_var
23127 if test "x$as_val" = x""yes; then :
23128 cat >>confdefs.h <<_ACEOF
23129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23143 $as_echo_n "checking for long double round functions... " >&6; }
23144 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23161 ceill (0); floorl (0);
23166 if ac_fn_cxx_try_compile "$LINENO"; then :
23167 glibcxx_cv_func_long_double_round_use=yes
23169 glibcxx_cv_func_long_double_round_use=no
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23173 ac_cpp='$CPP $CPPFLAGS'
23174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23181 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23182 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23183 for ac_func in ceill floorl
23185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23187 eval as_val=\$$as_ac_var
23188 if test "x$as_val" = x""yes; then :
23189 cat >>confdefs.h <<_ACEOF
23190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23198 $as_echo_n "checking for _long double round functions... " >&6; }
23199 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23200 $as_echo_n "(cached) " >&6
23205 ac_cpp='$CXXCPP $CPPFLAGS'
23206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23211 /* end confdefs.h. */
23216 _ceill (0); _floorl (0);
23221 if ac_fn_cxx_try_compile "$LINENO"; then :
23222 glibcxx_cv_func__long_double_round_use=yes
23224 glibcxx_cv_func__long_double_round_use=no
23226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23228 ac_cpp='$CPP $CPPFLAGS'
23229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23236 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23237 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23238 for ac_func in _ceill _floorl
23240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23242 eval as_val=\$$as_ac_var
23243 if test "x$as_val" = x""yes; then :
23244 cat >>confdefs.h <<_ACEOF
23245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23260 $as_echo_n "checking for isnanl declaration... " >&6; }
23261 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23262 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23263 $as_echo_n "(cached) " >&6
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23274 /* end confdefs.h. */
23276 #ifdef HAVE_IEEEFP_H
23277 #include <ieeefp.h>
23288 if ac_fn_cxx_try_compile "$LINENO"; then :
23289 glibcxx_cv_func_isnanl_use=yes
23291 glibcxx_cv_func_isnanl_use=no
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23295 ac_cpp='$CPP $CPPFLAGS'
23296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23305 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23307 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23308 for ac_func in isnanl
23310 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23311 if test "x$ac_cv_func_isnanl" = x""yes; then :
23312 cat >>confdefs.h <<_ACEOF
23313 #define HAVE_ISNANL 1
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23322 $as_echo_n "checking for _isnanl declaration... " >&6; }
23323 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23324 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23325 $as_echo_n "(cached) " >&6
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23336 /* end confdefs.h. */
23338 #ifdef HAVE_IEEEFP_H
23339 #include <ieeefp.h>
23350 if ac_fn_cxx_try_compile "$LINENO"; then :
23351 glibcxx_cv_func__isnanl_use=yes
23353 glibcxx_cv_func__isnanl_use=no
23355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23357 ac_cpp='$CPP $CPPFLAGS'
23358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23367 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23369 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23370 for ac_func in _isnanl
23372 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23373 if test "x$ac_cv_func__isnanl" = x""yes; then :
23374 cat >>confdefs.h <<_ACEOF
23375 #define HAVE__ISNANL 1
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23389 $as_echo_n "checking for isinfl declaration... " >&6; }
23390 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23391 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23392 $as_echo_n "(cached) " >&6
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23405 #ifdef HAVE_IEEEFP_H
23406 #include <ieeefp.h>
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func_isinfl_use=yes
23420 glibcxx_cv_func_isinfl_use=no
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23434 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23436 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23437 for ac_func in isinfl
23439 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23440 if test "x$ac_cv_func_isinfl" = x""yes; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define HAVE_ISINFL 1
23450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23451 $as_echo_n "checking for _isinfl declaration... " >&6; }
23452 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23453 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23454 $as_echo_n "(cached) " >&6
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23465 /* end confdefs.h. */
23467 #ifdef HAVE_IEEEFP_H
23468 #include <ieeefp.h>
23479 if ac_fn_cxx_try_compile "$LINENO"; then :
23480 glibcxx_cv_func__isinfl_use=yes
23482 glibcxx_cv_func__isinfl_use=no
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23486 ac_cpp='$CPP $CPPFLAGS'
23487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23496 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23498 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23499 for ac_func in _isinfl
23501 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23502 if test "x$ac_cv_func__isinfl" = x""yes; then :
23503 cat >>confdefs.h <<_ACEOF
23504 #define HAVE__ISINFL 1
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23518 $as_echo_n "checking for atan2l declaration... " >&6; }
23519 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23520 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23521 $as_echo_n "(cached) " >&6
23526 ac_cpp='$CXXCPP $CPPFLAGS'
23527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23532 /* end confdefs.h. */
23542 if ac_fn_cxx_try_compile "$LINENO"; then :
23543 glibcxx_cv_func_atan2l_use=yes
23545 glibcxx_cv_func_atan2l_use=no
23547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23549 ac_cpp='$CPP $CPPFLAGS'
23550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23559 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23561 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23562 for ac_func in atan2l
23564 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23565 if test "x$ac_cv_func_atan2l" = x""yes; then :
23566 cat >>confdefs.h <<_ACEOF
23567 #define HAVE_ATAN2L 1
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23576 $as_echo_n "checking for _atan2l declaration... " >&6; }
23577 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23578 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23579 $as_echo_n "(cached) " >&6
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23590 /* end confdefs.h. */
23600 if ac_fn_cxx_try_compile "$LINENO"; then :
23601 glibcxx_cv_func__atan2l_use=yes
23603 glibcxx_cv_func__atan2l_use=no
23605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23607 ac_cpp='$CPP $CPPFLAGS'
23608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23617 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23619 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23620 for ac_func in _atan2l
23622 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23623 if test "x$ac_cv_func__atan2l" = x""yes; then :
23624 cat >>confdefs.h <<_ACEOF
23625 #define HAVE__ATAN2L 1
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23639 $as_echo_n "checking for expl declaration... " >&6; }
23640 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23641 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23642 $as_echo_n "(cached) " >&6
23647 ac_cpp='$CXXCPP $CPPFLAGS'
23648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23653 /* end confdefs.h. */
23655 #ifdef HAVE_IEEEFP_H
23656 #include <ieeefp.h>
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func_expl_use=yes
23670 glibcxx_cv_func_expl_use=no
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23684 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23686 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23687 for ac_func in expl
23689 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23690 if test "x$ac_cv_func_expl" = x""yes; then :
23691 cat >>confdefs.h <<_ACEOF
23692 #define HAVE_EXPL 1
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23701 $as_echo_n "checking for _expl declaration... " >&6; }
23702 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23703 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23704 $as_echo_n "(cached) " >&6
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23717 #ifdef HAVE_IEEEFP_H
23718 #include <ieeefp.h>
23729 if ac_fn_cxx_try_compile "$LINENO"; then :
23730 glibcxx_cv_func__expl_use=yes
23732 glibcxx_cv_func__expl_use=no
23734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23736 ac_cpp='$CPP $CPPFLAGS'
23737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23746 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23748 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23749 for ac_func in _expl
23751 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23752 if test "x$ac_cv_func__expl" = x""yes; then :
23753 cat >>confdefs.h <<_ACEOF
23754 #define HAVE__EXPL 1
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23768 $as_echo_n "checking for fabsl declaration... " >&6; }
23769 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23770 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23771 $as_echo_n "(cached) " >&6
23776 ac_cpp='$CXXCPP $CPPFLAGS'
23777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23784 #ifdef HAVE_IEEEFP_H
23785 #include <ieeefp.h>
23796 if ac_fn_cxx_try_compile "$LINENO"; then :
23797 glibcxx_cv_func_fabsl_use=yes
23799 glibcxx_cv_func_fabsl_use=no
23801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23803 ac_cpp='$CPP $CPPFLAGS'
23804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23813 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23815 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23816 for ac_func in fabsl
23818 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23819 if test "x$ac_cv_func_fabsl" = x""yes; then :
23820 cat >>confdefs.h <<_ACEOF
23821 #define HAVE_FABSL 1
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23830 $as_echo_n "checking for _fabsl declaration... " >&6; }
23831 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23832 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23833 $as_echo_n "(cached) " >&6
23838 ac_cpp='$CXXCPP $CPPFLAGS'
23839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23844 /* end confdefs.h. */
23846 #ifdef HAVE_IEEEFP_H
23847 #include <ieeefp.h>
23858 if ac_fn_cxx_try_compile "$LINENO"; then :
23859 glibcxx_cv_func__fabsl_use=yes
23861 glibcxx_cv_func__fabsl_use=no
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23865 ac_cpp='$CPP $CPPFLAGS'
23866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23875 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23877 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23878 for ac_func in _fabsl
23880 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23881 if test "x$ac_cv_func__fabsl" = x""yes; then :
23882 cat >>confdefs.h <<_ACEOF
23883 #define HAVE__FABSL 1
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23897 $as_echo_n "checking for fmodl declaration... " >&6; }
23898 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23899 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23900 $as_echo_n "(cached) " >&6
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23911 /* end confdefs.h. */
23921 if ac_fn_cxx_try_compile "$LINENO"; then :
23922 glibcxx_cv_func_fmodl_use=yes
23924 glibcxx_cv_func_fmodl_use=no
23926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23928 ac_cpp='$CPP $CPPFLAGS'
23929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23938 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23940 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23941 for ac_func in fmodl
23943 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23944 if test "x$ac_cv_func_fmodl" = x""yes; then :
23945 cat >>confdefs.h <<_ACEOF
23946 #define HAVE_FMODL 1
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23955 $as_echo_n "checking for _fmodl declaration... " >&6; }
23956 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23957 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23958 $as_echo_n "(cached) " >&6
23963 ac_cpp='$CXXCPP $CPPFLAGS'
23964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23969 /* end confdefs.h. */
23979 if ac_fn_cxx_try_compile "$LINENO"; then :
23980 glibcxx_cv_func__fmodl_use=yes
23982 glibcxx_cv_func__fmodl_use=no
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23996 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23998 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23999 for ac_func in _fmodl
24001 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24002 if test "x$ac_cv_func__fmodl" = x""yes; then :
24003 cat >>confdefs.h <<_ACEOF
24004 #define HAVE__FMODL 1
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24018 $as_echo_n "checking for frexpl declaration... " >&6; }
24019 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24020 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24021 $as_echo_n "(cached) " >&6
24026 ac_cpp='$CXXCPP $CPPFLAGS'
24027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func_frexpl_use=yes
24045 glibcxx_cv_func_frexpl_use=no
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24059 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24061 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24062 for ac_func in frexpl
24064 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24065 if test "x$ac_cv_func_frexpl" = x""yes; then :
24066 cat >>confdefs.h <<_ACEOF
24067 #define HAVE_FREXPL 1
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24076 $as_echo_n "checking for _frexpl declaration... " >&6; }
24077 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24078 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24079 $as_echo_n "(cached) " >&6
24084 ac_cpp='$CXXCPP $CPPFLAGS'
24085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24090 /* end confdefs.h. */
24100 if ac_fn_cxx_try_compile "$LINENO"; then :
24101 glibcxx_cv_func__frexpl_use=yes
24103 glibcxx_cv_func__frexpl_use=no
24105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24107 ac_cpp='$CPP $CPPFLAGS'
24108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24117 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24119 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24120 for ac_func in _frexpl
24122 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24123 if test "x$ac_cv_func__frexpl" = x""yes; then :
24124 cat >>confdefs.h <<_ACEOF
24125 #define HAVE__FREXPL 1
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24139 $as_echo_n "checking for hypotl declaration... " >&6; }
24140 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24141 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24142 $as_echo_n "(cached) " >&6
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24163 if ac_fn_cxx_try_compile "$LINENO"; then :
24164 glibcxx_cv_func_hypotl_use=yes
24166 glibcxx_cv_func_hypotl_use=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24180 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24182 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24183 for ac_func in hypotl
24185 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24186 if test "x$ac_cv_func_hypotl" = x""yes; then :
24187 cat >>confdefs.h <<_ACEOF
24188 #define HAVE_HYPOTL 1
24196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24197 $as_echo_n "checking for _hypotl declaration... " >&6; }
24198 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24199 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24200 $as_echo_n "(cached) " >&6
24205 ac_cpp='$CXXCPP $CPPFLAGS'
24206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24211 /* end confdefs.h. */
24221 if ac_fn_cxx_try_compile "$LINENO"; then :
24222 glibcxx_cv_func__hypotl_use=yes
24224 glibcxx_cv_func__hypotl_use=no
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24238 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24240 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24241 for ac_func in _hypotl
24243 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24244 if test "x$ac_cv_func__hypotl" = x""yes; then :
24245 cat >>confdefs.h <<_ACEOF
24246 #define HAVE__HYPOTL 1
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24260 $as_echo_n "checking for ldexpl declaration... " >&6; }
24261 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24262 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24263 $as_echo_n "(cached) " >&6
24268 ac_cpp='$CXXCPP $CPPFLAGS'
24269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24274 /* end confdefs.h. */
24284 if ac_fn_cxx_try_compile "$LINENO"; then :
24285 glibcxx_cv_func_ldexpl_use=yes
24287 glibcxx_cv_func_ldexpl_use=no
24289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291 ac_cpp='$CPP $CPPFLAGS'
24292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24301 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24303 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24304 for ac_func in ldexpl
24306 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24307 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24308 cat >>confdefs.h <<_ACEOF
24309 #define HAVE_LDEXPL 1
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24318 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24319 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24320 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24321 $as_echo_n "(cached) " >&6
24326 ac_cpp='$CXXCPP $CPPFLAGS'
24327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24332 /* end confdefs.h. */
24342 if ac_fn_cxx_try_compile "$LINENO"; then :
24343 glibcxx_cv_func__ldexpl_use=yes
24345 glibcxx_cv_func__ldexpl_use=no
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24359 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24361 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24362 for ac_func in _ldexpl
24364 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24365 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24366 cat >>confdefs.h <<_ACEOF
24367 #define HAVE__LDEXPL 1
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24381 $as_echo_n "checking for logl declaration... " >&6; }
24382 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24383 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24384 $as_echo_n "(cached) " >&6
24389 ac_cpp='$CXXCPP $CPPFLAGS'
24390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24395 /* end confdefs.h. */
24397 #ifdef HAVE_IEEEFP_H
24398 #include <ieeefp.h>
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410 glibcxx_cv_func_logl_use=yes
24412 glibcxx_cv_func_logl_use=no
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24426 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24428 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24429 for ac_func in logl
24431 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24432 if test "x$ac_cv_func_logl" = x""yes; then :
24433 cat >>confdefs.h <<_ACEOF
24434 #define HAVE_LOGL 1
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24443 $as_echo_n "checking for _logl declaration... " >&6; }
24444 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24445 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24446 $as_echo_n "(cached) " >&6
24451 ac_cpp='$CXXCPP $CPPFLAGS'
24452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24457 /* end confdefs.h. */
24459 #ifdef HAVE_IEEEFP_H
24460 #include <ieeefp.h>
24471 if ac_fn_cxx_try_compile "$LINENO"; then :
24472 glibcxx_cv_func__logl_use=yes
24474 glibcxx_cv_func__logl_use=no
24476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24478 ac_cpp='$CPP $CPPFLAGS'
24479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24488 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24490 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24491 for ac_func in _logl
24493 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24494 if test "x$ac_cv_func__logl" = x""yes; then :
24495 cat >>confdefs.h <<_ACEOF
24496 #define HAVE__LOGL 1
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24510 $as_echo_n "checking for log10l declaration... " >&6; }
24511 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24512 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24513 $as_echo_n "(cached) " >&6
24518 ac_cpp='$CXXCPP $CPPFLAGS'
24519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24524 /* end confdefs.h. */
24526 #ifdef HAVE_IEEEFP_H
24527 #include <ieeefp.h>
24538 if ac_fn_cxx_try_compile "$LINENO"; then :
24539 glibcxx_cv_func_log10l_use=yes
24541 glibcxx_cv_func_log10l_use=no
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24545 ac_cpp='$CPP $CPPFLAGS'
24546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24555 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24557 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24558 for ac_func in log10l
24560 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24561 if test "x$ac_cv_func_log10l" = x""yes; then :
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE_LOG10L 1
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24572 $as_echo_n "checking for _log10l declaration... " >&6; }
24573 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24574 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24575 $as_echo_n "(cached) " >&6
24580 ac_cpp='$CXXCPP $CPPFLAGS'
24581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24586 /* end confdefs.h. */
24588 #ifdef HAVE_IEEEFP_H
24589 #include <ieeefp.h>
24600 if ac_fn_cxx_try_compile "$LINENO"; then :
24601 glibcxx_cv_func__log10l_use=yes
24603 glibcxx_cv_func__log10l_use=no
24605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24607 ac_cpp='$CPP $CPPFLAGS'
24608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24617 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24619 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24620 for ac_func in _log10l
24622 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24623 if test "x$ac_cv_func__log10l" = x""yes; then :
24624 cat >>confdefs.h <<_ACEOF
24625 #define HAVE__LOG10L 1
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24639 $as_echo_n "checking for modfl declaration... " >&6; }
24640 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24641 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24642 $as_echo_n "(cached) " >&6
24647 ac_cpp='$CXXCPP $CPPFLAGS'
24648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24653 /* end confdefs.h. */
24663 if ac_fn_cxx_try_compile "$LINENO"; then :
24664 glibcxx_cv_func_modfl_use=yes
24666 glibcxx_cv_func_modfl_use=no
24668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24670 ac_cpp='$CPP $CPPFLAGS'
24671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24680 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24682 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24683 for ac_func in modfl
24685 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24686 if test "x$ac_cv_func_modfl" = x""yes; then :
24687 cat >>confdefs.h <<_ACEOF
24688 #define HAVE_MODFL 1
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24697 $as_echo_n "checking for _modfl declaration... " >&6; }
24698 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24699 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24700 $as_echo_n "(cached) " >&6
24705 ac_cpp='$CXXCPP $CPPFLAGS'
24706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24711 /* end confdefs.h. */
24721 if ac_fn_cxx_try_compile "$LINENO"; then :
24722 glibcxx_cv_func__modfl_use=yes
24724 glibcxx_cv_func__modfl_use=no
24726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24728 ac_cpp='$CPP $CPPFLAGS'
24729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24738 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24740 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24741 for ac_func in _modfl
24743 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24744 if test "x$ac_cv_func__modfl" = x""yes; then :
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE__MODFL 1
24759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24760 $as_echo_n "checking for powl declaration... " >&6; }
24761 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24762 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24763 $as_echo_n "(cached) " >&6
24768 ac_cpp='$CXXCPP $CPPFLAGS'
24769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24774 /* end confdefs.h. */
24784 if ac_fn_cxx_try_compile "$LINENO"; then :
24785 glibcxx_cv_func_powl_use=yes
24787 glibcxx_cv_func_powl_use=no
24789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24791 ac_cpp='$CPP $CPPFLAGS'
24792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24801 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24803 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24804 for ac_func in powl
24806 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24807 if test "x$ac_cv_func_powl" = x""yes; then :
24808 cat >>confdefs.h <<_ACEOF
24809 #define HAVE_POWL 1
24817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24818 $as_echo_n "checking for _powl declaration... " >&6; }
24819 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24820 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24821 $as_echo_n "(cached) " >&6
24826 ac_cpp='$CXXCPP $CPPFLAGS'
24827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24832 /* end confdefs.h. */
24842 if ac_fn_cxx_try_compile "$LINENO"; then :
24843 glibcxx_cv_func__powl_use=yes
24845 glibcxx_cv_func__powl_use=no
24847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24849 ac_cpp='$CPP $CPPFLAGS'
24850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24859 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24861 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24862 for ac_func in _powl
24864 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24865 if test "x$ac_cv_func__powl" = x""yes; then :
24866 cat >>confdefs.h <<_ACEOF
24867 #define HAVE__POWL 1
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24881 $as_echo_n "checking for sqrtl declaration... " >&6; }
24882 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24883 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24884 $as_echo_n "(cached) " >&6
24889 ac_cpp='$CXXCPP $CPPFLAGS'
24890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24895 /* end confdefs.h. */
24897 #ifdef HAVE_IEEEFP_H
24898 #include <ieeefp.h>
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func_sqrtl_use=yes
24912 glibcxx_cv_func_sqrtl_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24926 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24928 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24929 for ac_func in sqrtl
24931 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24932 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE_SQRTL 1
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24943 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24944 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24945 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24959 #ifdef HAVE_IEEEFP_H
24960 #include <ieeefp.h>
24971 if ac_fn_cxx_try_compile "$LINENO"; then :
24972 glibcxx_cv_func__sqrtl_use=yes
24974 glibcxx_cv_func__sqrtl_use=no
24976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24978 ac_cpp='$CPP $CPPFLAGS'
24979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24988 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24990 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24991 for ac_func in _sqrtl
24993 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24994 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24995 cat >>confdefs.h <<_ACEOF
24996 #define HAVE__SQRTL 1
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25010 $as_echo_n "checking for sincosl declaration... " >&6; }
25011 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25012 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25013 $as_echo_n "(cached) " >&6
25018 ac_cpp='$CXXCPP $CPPFLAGS'
25019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25024 /* end confdefs.h. */
25034 if ac_fn_cxx_try_compile "$LINENO"; then :
25035 glibcxx_cv_func_sincosl_use=yes
25037 glibcxx_cv_func_sincosl_use=no
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 ac_cpp='$CPP $CPPFLAGS'
25042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25051 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25053 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25054 for ac_func in sincosl
25056 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25057 if test "x$ac_cv_func_sincosl" = x""yes; then :
25058 cat >>confdefs.h <<_ACEOF
25059 #define HAVE_SINCOSL 1
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25068 $as_echo_n "checking for _sincosl declaration... " >&6; }
25069 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25070 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25092 if ac_fn_cxx_try_compile "$LINENO"; then :
25093 glibcxx_cv_func__sincosl_use=yes
25095 glibcxx_cv_func__sincosl_use=no
25097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25099 ac_cpp='$CPP $CPPFLAGS'
25100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25109 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25111 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25112 for ac_func in _sincosl
25114 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25115 if test "x$ac_cv_func__sincosl" = x""yes; then :
25116 cat >>confdefs.h <<_ACEOF
25117 #define HAVE__SINCOSL 1
25130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25131 $as_echo_n "checking for finitel declaration... " >&6; }
25132 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25133 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25134 $as_echo_n "(cached) " >&6
25139 ac_cpp='$CXXCPP $CPPFLAGS'
25140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145 /* end confdefs.h. */
25147 #ifdef HAVE_IEEEFP_H
25148 #include <ieeefp.h>
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func_finitel_use=yes
25162 glibcxx_cv_func_finitel_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25176 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25178 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25179 for ac_func in finitel
25181 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25182 if test "x$ac_cv_func_finitel" = x""yes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE_FINITEL 1
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25193 $as_echo_n "checking for _finitel declaration... " >&6; }
25194 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25195 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25196 $as_echo_n "(cached) " >&6
25201 ac_cpp='$CXXCPP $CPPFLAGS'
25202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25209 #ifdef HAVE_IEEEFP_H
25210 #include <ieeefp.h>
25221 if ac_fn_cxx_try_compile "$LINENO"; then :
25222 glibcxx_cv_func__finitel_use=yes
25224 glibcxx_cv_func__finitel_use=no
25226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25228 ac_cpp='$CPP $CPPFLAGS'
25229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25238 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25240 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25241 for ac_func in _finitel
25243 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25244 if test "x$ac_cv_func__finitel" = x""yes; then :
25245 cat >>confdefs.h <<_ACEOF
25246 #define HAVE__FINITEL 1
25258 LIBS="$ac_save_LIBS"
25259 CXXFLAGS="$ac_save_CXXFLAGS"
25262 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25263 ac_save_CXXFLAGS="$CXXFLAGS"
25264 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25268 $as_echo_n "checking for strtold declaration... " >&6; }
25269 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25270 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25271 $as_echo_n "(cached) " >&6
25276 ac_cpp='$CXXCPP $CPPFLAGS'
25277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25283 #include <stdlib.h>
25292 if ac_fn_cxx_try_compile "$LINENO"; then :
25293 glibcxx_cv_func_strtold_use=yes
25295 glibcxx_cv_func_strtold_use=no
25297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25299 ac_cpp='$CPP $CPPFLAGS'
25300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25309 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25310 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25311 for ac_func in strtold
25313 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25314 if test "x$ac_cv_func_strtold" = x""yes; then :
25315 cat >>confdefs.h <<_ACEOF
25316 #define HAVE_STRTOLD 1
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25328 $as_echo_n "checking for strtof declaration... " >&6; }
25329 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25330 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25331 $as_echo_n "(cached) " >&6
25336 ac_cpp='$CXXCPP $CPPFLAGS'
25337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25342 /* end confdefs.h. */
25343 #include <stdlib.h>
25352 if ac_fn_cxx_try_compile "$LINENO"; then :
25353 glibcxx_cv_func_strtof_use=yes
25355 glibcxx_cv_func_strtof_use=no
25357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25359 ac_cpp='$CPP $CPPFLAGS'
25360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25369 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25370 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25371 for ac_func in strtof
25373 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25374 if test "x$ac_cv_func_strtof" = x""yes; then :
25375 cat >>confdefs.h <<_ACEOF
25376 #define HAVE_STRTOF 1
25387 CXXFLAGS="$ac_save_CXXFLAGS"
25390 # For /dev/random and /dev/urandom for TR1.
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25394 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25395 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25396 $as_echo_n "(cached) " >&6
25399 if test -r /dev/random && test -r /dev/urandom; then
25400 glibcxx_cv_random_tr1=yes;
25402 glibcxx_cv_random_tr1=no;
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25408 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25410 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25412 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25421 # Check whether --enable-tls was given.
25422 if test "${enable_tls+set}" = set; then :
25423 enableval=$enable_tls;
25424 case "$enableval" in
25426 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25435 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25436 if test "${gcc_cv_have_tls+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25440 if test "$cross_compiling" = yes; then :
25441 if test x$gcc_no_link = xyes; then
25442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25446 __thread int a; int b; int main() { return a = b; }
25448 if ac_fn_c_try_link "$LINENO"; then :
25449 chktls_save_LDFLAGS="$LDFLAGS"
25452 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25455 chktls_save_CFLAGS="$CFLAGS"
25456 CFLAGS="-fPIC $CFLAGS"
25457 if test x$gcc_no_link = xyes; then
25458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25461 /* end confdefs.h. */
25462 int f() { return 0; }
25464 if ac_fn_c_try_link "$LINENO"; then :
25465 if test x$gcc_no_link = xyes; then
25466 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h. */
25470 __thread int a; int b; int f() { return a = b; }
25472 if ac_fn_c_try_link "$LINENO"; then :
25473 gcc_cv_have_tls=yes
25477 rm -f core conftest.err conftest.$ac_objext \
25478 conftest$ac_exeext conftest.$ac_ext
25480 gcc_cv_have_tls=yes
25482 rm -f core conftest.err conftest.$ac_objext \
25483 conftest$ac_exeext conftest.$ac_ext
25484 CFLAGS="$chktls_save_CFLAGS"
25485 LDFLAGS="$chktls_save_LDFLAGS"
25489 rm -f core conftest.err conftest.$ac_objext \
25490 conftest$ac_exeext conftest.$ac_ext
25494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25495 /* end confdefs.h. */
25496 __thread int a; int b; int main() { return a = b; }
25498 if ac_fn_c_try_run "$LINENO"; then :
25499 chktls_save_LDFLAGS="$LDFLAGS"
25500 LDFLAGS="-static $LDFLAGS"
25501 if test x$gcc_no_link = xyes; then
25502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 int main() { return 0; }
25508 if ac_fn_c_try_link "$LINENO"; then :
25509 if test "$cross_compiling" = yes; then :
25510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25512 as_fn_error "cannot run test program while cross compiling
25513 See \`config.log' for more details." "$LINENO" 5; }
25515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25516 /* end confdefs.h. */
25517 __thread int a; int b; int main() { return a = b; }
25519 if ac_fn_c_try_run "$LINENO"; then :
25520 gcc_cv_have_tls=yes
25524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25525 conftest.$ac_objext conftest.beam conftest.$ac_ext
25529 gcc_cv_have_tls=yes
25531 rm -f core conftest.err conftest.$ac_objext \
25532 conftest$ac_exeext conftest.$ac_ext
25533 LDFLAGS="$chktls_save_LDFLAGS"
25534 if test $gcc_cv_have_tls = yes; then
25535 chktls_save_CFLAGS="$CFLAGS"
25536 thread_CFLAGS=failed
25537 for flag in '' '-pthread' '-lpthread'; do
25538 CFLAGS="$flag $chktls_save_CFLAGS"
25539 if test x$gcc_no_link = xyes; then
25540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25543 /* end confdefs.h. */
25544 #include <pthread.h>
25545 void *g(void *d) { return NULL; }
25549 pthread_t t; pthread_create(&t,NULL,g,NULL);
25554 if ac_fn_c_try_link "$LINENO"; then :
25555 thread_CFLAGS="$flag"
25557 rm -f core conftest.err conftest.$ac_objext \
25558 conftest$ac_exeext conftest.$ac_ext
25559 if test "X$thread_CFLAGS" != Xfailed; then
25563 CFLAGS="$chktls_save_CFLAGS"
25564 if test "X$thread_CFLAGS" != Xfailed; then
25565 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25566 if test "$cross_compiling" = yes; then :
25567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25569 as_fn_error "cannot run test program while cross compiling
25570 See \`config.log' for more details." "$LINENO" 5; }
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <pthread.h>
25576 static int *a_in_other_thread;
25578 thread_func (void *arg)
25580 a_in_other_thread = &a;
25587 void *thread_retval;
25588 int *a_in_main_thread;
25589 if (pthread_create (&thread, (pthread_attr_t *)0,
25590 thread_func, (void *)0))
25592 a_in_main_thread = &a;
25593 if (pthread_join (thread, &thread_retval))
25595 return (a_in_other_thread == a_in_main_thread);
25600 if ac_fn_c_try_run "$LINENO"; then :
25601 gcc_cv_have_tls=yes
25605 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25606 conftest.$ac_objext conftest.beam conftest.$ac_ext
25609 CFLAGS="$chktls_save_CFLAGS"
25615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25616 conftest.$ac_objext conftest.beam conftest.$ac_ext
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25621 $as_echo "$gcc_cv_have_tls" >&6; }
25622 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25624 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25628 # For iconv support.
25630 if test "X$prefix" = "XNONE"; then
25631 acl_final_prefix="$ac_default_prefix"
25633 acl_final_prefix="$prefix"
25635 if test "X$exec_prefix" = "XNONE"; then
25636 acl_final_exec_prefix='${prefix}'
25638 acl_final_exec_prefix="$exec_prefix"
25640 acl_save_prefix="$prefix"
25641 prefix="$acl_final_prefix"
25642 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25643 prefix="$acl_save_prefix"
25646 # Check whether --with-gnu-ld was given.
25647 if test "${with_gnu_ld+set}" = set; then :
25648 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25653 # Prepare PATH_SEPARATOR.
25654 # The user is always right.
25655 if test "${PATH_SEPARATOR+set}" != set; then
25656 echo "#! /bin/sh" >conf$$.sh
25657 echo "exit 0" >>conf$$.sh
25659 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25667 if test "$GCC" = yes; then
25668 # Check if gcc -print-prog-name=ld gives a path.
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25670 $as_echo_n "checking for ld used by GCC... " >&6; }
25673 # gcc leaves a trailing carriage return which upsets mingw
25674 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25676 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25679 # Accept absolute paths.
25680 [\\/]* | [A-Za-z]:[\\/]*)
25681 re_direlt='/[^/][^/]*/\.\./'
25682 # Canonicalize the path of ld
25683 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25684 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25685 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25687 test -z "$LD" && LD="$ac_prog"
25690 # If it fails, then pretend we aren't using GCC.
25694 # If it is relative, then search for the first ld in PATH.
25695 with_gnu_ld=unknown
25698 elif test "$with_gnu_ld" = yes; then
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25700 $as_echo_n "checking for GNU ld... " >&6; }
25702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25703 $as_echo_n "checking for non-GNU ld... " >&6; }
25705 if test "${acl_cv_path_LD+set}" = set; then :
25706 $as_echo_n "(cached) " >&6
25708 if test -z "$LD"; then
25709 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25710 for ac_dir in $PATH; do
25711 test -z "$ac_dir" && ac_dir=.
25712 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25713 acl_cv_path_LD="$ac_dir/$ac_prog"
25714 # Check to see if the program is GNU ld. I'd rather use --version,
25715 # but apparently some GNU ld's only accept -v.
25716 # Break only if it was the GNU/non-GNU ld that we prefer.
25717 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25718 test "$with_gnu_ld" != no && break
25720 test "$with_gnu_ld" != yes && break
25726 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25730 LD="$acl_cv_path_LD"
25731 if test -n "$LD"; then
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25733 $as_echo "$LD" >&6; }
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25736 $as_echo "no" >&6; }
25738 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25740 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25741 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25742 $as_echo_n "(cached) " >&6
25744 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25745 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25746 acl_cv_prog_gnu_ld=yes
25748 acl_cv_prog_gnu_ld=no
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25752 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25753 with_gnu_ld=$acl_cv_prog_gnu_ld
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25758 $as_echo_n "checking for shared library run path origin... " >&6; }
25759 if test "${acl_cv_rpath+set}" = set; then :
25760 $as_echo_n "(cached) " >&6
25763 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25764 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25766 rm -f ./conftest.sh
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25771 $as_echo "$acl_cv_rpath" >&6; }
25773 libext="$acl_cv_libext"
25774 shlibext="$acl_cv_shlibext"
25775 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25776 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25777 hardcode_direct="$acl_cv_hardcode_direct"
25778 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25779 # Check whether --enable-rpath was given.
25780 if test "${enable_rpath+set}" = set; then :
25781 enableval=$enable_rpath; :
25795 acl_save_prefix="$prefix"
25796 prefix="$acl_final_prefix"
25797 acl_save_exec_prefix="$exec_prefix"
25798 exec_prefix="$acl_final_exec_prefix"
25800 eval additional_includedir=\"$includedir\"
25801 eval additional_libdir=\"$libdir\"
25803 exec_prefix="$acl_save_exec_prefix"
25804 prefix="$acl_save_prefix"
25807 # Check whether --with-libiconv-prefix was given.
25808 if test "${with_libiconv_prefix+set}" = set; then :
25809 withval=$with_libiconv_prefix;
25810 if test "X$withval" = "Xno"; then
25813 if test "X$withval" = "X"; then
25815 acl_save_prefix="$prefix"
25816 prefix="$acl_final_prefix"
25817 acl_save_exec_prefix="$exec_prefix"
25818 exec_prefix="$acl_final_exec_prefix"
25820 eval additional_includedir=\"$includedir\"
25821 eval additional_libdir=\"$libdir\"
25823 exec_prefix="$acl_save_exec_prefix"
25824 prefix="$acl_save_prefix"
25827 additional_includedir="$withval/include"
25828 additional_libdir="$withval/lib"
25839 names_already_handled=
25840 names_next_round='iconv '
25841 while test -n "$names_next_round"; do
25842 names_this_round="$names_next_round"
25844 for name in $names_this_round; do
25846 for n in $names_already_handled; do
25847 if test "$n" = "$name"; then
25848 already_handled=yes
25852 if test -z "$already_handled"; then
25853 names_already_handled="$names_already_handled $name"
25854 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25855 eval value=\"\$HAVE_LIB$uppername\"
25856 if test -n "$value"; then
25857 if test "$value" = yes; then
25858 eval value=\"\$LIB$uppername\"
25859 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25860 eval value=\"\$LTLIB$uppername\"
25861 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25870 if test $use_additional = yes; then
25871 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25872 found_dir="$additional_libdir"
25873 found_so="$additional_libdir/lib$name.$shlibext"
25874 if test -f "$additional_libdir/lib$name.la"; then
25875 found_la="$additional_libdir/lib$name.la"
25878 if test -f "$additional_libdir/lib$name.$libext"; then
25879 found_dir="$additional_libdir"
25880 found_a="$additional_libdir/lib$name.$libext"
25881 if test -f "$additional_libdir/lib$name.la"; then
25882 found_la="$additional_libdir/lib$name.la"
25887 if test "X$found_dir" = "X"; then
25888 for x in $LDFLAGS $LTLIBICONV; do
25890 acl_save_prefix="$prefix"
25891 prefix="$acl_final_prefix"
25892 acl_save_exec_prefix="$exec_prefix"
25893 exec_prefix="$acl_final_exec_prefix"
25895 exec_prefix="$acl_save_exec_prefix"
25896 prefix="$acl_save_prefix"
25900 dir=`echo "X$x" | sed -e 's/^X-L//'`
25901 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25903 found_so="$dir/lib$name.$shlibext"
25904 if test -f "$dir/lib$name.la"; then
25905 found_la="$dir/lib$name.la"
25908 if test -f "$dir/lib$name.$libext"; then
25910 found_a="$dir/lib$name.$libext"
25911 if test -f "$dir/lib$name.la"; then
25912 found_la="$dir/lib$name.la"
25918 if test "X$found_dir" != "X"; then
25923 if test "X$found_dir" != "X"; then
25924 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25925 if test "X$found_so" != "X"; then
25926 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25927 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25930 for x in $ltrpathdirs; do
25931 if test "X$x" = "X$found_dir"; then
25936 if test -z "$haveit"; then
25937 ltrpathdirs="$ltrpathdirs $found_dir"
25939 if test "$hardcode_direct" = yes; then
25940 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25942 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25943 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25945 for x in $rpathdirs; do
25946 if test "X$x" = "X$found_dir"; then
25951 if test -z "$haveit"; then
25952 rpathdirs="$rpathdirs $found_dir"
25956 for x in $LDFLAGS $LIBICONV; do
25958 acl_save_prefix="$prefix"
25959 prefix="$acl_final_prefix"
25960 acl_save_exec_prefix="$exec_prefix"
25961 exec_prefix="$acl_final_exec_prefix"
25963 exec_prefix="$acl_save_exec_prefix"
25964 prefix="$acl_save_prefix"
25966 if test "X$x" = "X-L$found_dir"; then
25971 if test -z "$haveit"; then
25972 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25974 if test "$hardcode_minus_L" != no; then
25975 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25977 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25983 if test "X$found_a" != "X"; then
25984 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25986 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25989 additional_includedir=
25990 case "$found_dir" in
25992 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25993 additional_includedir="$basedir/include"
25996 if test "X$additional_includedir" != "X"; then
25997 if test "X$additional_includedir" != "X/usr/include"; then
25999 if test "X$additional_includedir" = "X/usr/local/include"; then
26000 if test -n "$GCC"; then
26002 linux*) haveit=yes;;
26006 if test -z "$haveit"; then
26007 for x in $CPPFLAGS $INCICONV; do
26009 acl_save_prefix="$prefix"
26010 prefix="$acl_final_prefix"
26011 acl_save_exec_prefix="$exec_prefix"
26012 exec_prefix="$acl_final_exec_prefix"
26014 exec_prefix="$acl_save_exec_prefix"
26015 prefix="$acl_save_prefix"
26017 if test "X$x" = "X-I$additional_includedir"; then
26022 if test -z "$haveit"; then
26023 if test -d "$additional_includedir"; then
26024 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26030 if test -n "$found_la"; then
26031 save_libdir="$libdir"
26032 case "$found_la" in
26033 */* | *\\*) . "$found_la" ;;
26034 *) . "./$found_la" ;;
26036 libdir="$save_libdir"
26037 for dep in $dependency_libs; do
26040 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26041 if test "X$additional_libdir" != "X/usr/lib"; then
26043 if test "X$additional_libdir" = "X/usr/local/lib"; then
26044 if test -n "$GCC"; then
26046 linux*) haveit=yes;;
26050 if test -z "$haveit"; then
26052 for x in $LDFLAGS $LIBICONV; do
26054 acl_save_prefix="$prefix"
26055 prefix="$acl_final_prefix"
26056 acl_save_exec_prefix="$exec_prefix"
26057 exec_prefix="$acl_final_exec_prefix"
26059 exec_prefix="$acl_save_exec_prefix"
26060 prefix="$acl_save_prefix"
26062 if test "X$x" = "X-L$additional_libdir"; then
26067 if test -z "$haveit"; then
26068 if test -d "$additional_libdir"; then
26069 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26073 for x in $LDFLAGS $LTLIBICONV; do
26075 acl_save_prefix="$prefix"
26076 prefix="$acl_final_prefix"
26077 acl_save_exec_prefix="$exec_prefix"
26078 exec_prefix="$acl_final_exec_prefix"
26080 exec_prefix="$acl_save_exec_prefix"
26081 prefix="$acl_save_prefix"
26083 if test "X$x" = "X-L$additional_libdir"; then
26088 if test -z "$haveit"; then
26089 if test -d "$additional_libdir"; then
26090 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26097 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26098 if test "$enable_rpath" != no; then
26100 for x in $rpathdirs; do
26101 if test "X$x" = "X$dir"; then
26106 if test -z "$haveit"; then
26107 rpathdirs="$rpathdirs $dir"
26110 for x in $ltrpathdirs; do
26111 if test "X$x" = "X$dir"; then
26116 if test -z "$haveit"; then
26117 ltrpathdirs="$ltrpathdirs $dir"
26122 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26125 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26128 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26129 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26135 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26136 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26142 if test "X$rpathdirs" != "X"; then
26143 if test -n "$hardcode_libdir_separator"; then
26145 for found_dir in $rpathdirs; do
26146 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26148 acl_save_libdir="$libdir"
26150 eval flag=\"$hardcode_libdir_flag_spec\"
26151 libdir="$acl_save_libdir"
26152 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26154 for found_dir in $rpathdirs; do
26155 acl_save_libdir="$libdir"
26156 libdir="$found_dir"
26157 eval flag=\"$hardcode_libdir_flag_spec\"
26158 libdir="$acl_save_libdir"
26159 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26163 if test "X$ltrpathdirs" != "X"; then
26164 for found_dir in $ltrpathdirs; do
26165 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26175 am_save_CPPFLAGS="$CPPFLAGS"
26177 for element in $INCICONV; do
26179 for x in $CPPFLAGS; do
26181 acl_save_prefix="$prefix"
26182 prefix="$acl_final_prefix"
26183 acl_save_exec_prefix="$exec_prefix"
26184 exec_prefix="$acl_final_exec_prefix"
26186 exec_prefix="$acl_save_exec_prefix"
26187 prefix="$acl_save_prefix"
26189 if test "X$x" = "X$element"; then
26194 if test -z "$haveit"; then
26195 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26201 $as_echo_n "checking for iconv... " >&6; }
26202 if test "${am_cv_func_iconv+set}" = set; then :
26203 $as_echo_n "(cached) " >&6
26206 am_cv_func_iconv="no, consider installing GNU libiconv"
26208 if test x$gcc_no_link = xyes; then
26209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26213 #include <stdlib.h>
26218 iconv_t cd = iconv_open("","");
26219 iconv(cd,NULL,NULL,NULL,NULL);
26225 if ac_fn_c_try_link "$LINENO"; then :
26226 am_cv_func_iconv=yes
26228 rm -f core conftest.err conftest.$ac_objext \
26229 conftest$ac_exeext conftest.$ac_ext
26230 if test "$am_cv_func_iconv" != yes; then
26231 am_save_LIBS="$LIBS"
26232 LIBS="$LIBS $LIBICONV"
26233 if test x$gcc_no_link = xyes; then
26234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26237 /* end confdefs.h. */
26238 #include <stdlib.h>
26243 iconv_t cd = iconv_open("","");
26244 iconv(cd,NULL,NULL,NULL,NULL);
26250 if ac_fn_c_try_link "$LINENO"; then :
26251 am_cv_lib_iconv=yes
26252 am_cv_func_iconv=yes
26254 rm -f core conftest.err conftest.$ac_objext \
26255 conftest$ac_exeext conftest.$ac_ext
26256 LIBS="$am_save_LIBS"
26260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26261 $as_echo "$am_cv_func_iconv" >&6; }
26262 if test "$am_cv_func_iconv" = yes; then
26264 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26267 if test "$am_cv_lib_iconv" = yes; then
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26269 $as_echo_n "checking how to link with libiconv... " >&6; }
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26271 $as_echo "$LIBICONV" >&6; }
26273 CPPFLAGS="$am_save_CPPFLAGS"
26280 if test "$am_cv_func_iconv" = yes; then
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26282 $as_echo_n "checking for iconv declaration... " >&6; }
26283 if test "${am_cv_proto_iconv+set}" = set; then :
26284 $as_echo_n "(cached) " >&6
26287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h. */
26290 #include <stdlib.h>
26296 #if defined(__STDC__) || defined(__cplusplus)
26297 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26310 if ac_fn_c_try_compile "$LINENO"; then :
26311 am_cv_proto_iconv_arg1=""
26313 am_cv_proto_iconv_arg1="const"
26315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26316 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);"
26319 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26321 }$am_cv_proto_iconv" >&5
26323 }$am_cv_proto_iconv" >&6; }
26325 cat >>confdefs.h <<_ACEOF
26326 #define ICONV_CONST $am_cv_proto_iconv_arg1
26334 # This lets us hard-code the functionality we know we'll have in the cross
26335 # target environment. "Let" is a sugar-coated word placed on an especially
26336 # dull and tedious hack, actually.
26338 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26339 # that involve linking, can't be used:
26340 # "cannot open sim-crt0.o"
26341 # "cannot open crt0.o"
26342 # etc. All this is because there currently exists no unified, consistent
26343 # way for top level CC information to be passed down to target directories:
26344 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26345 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26346 # crosses can be removed.
26348 # If Canadian cross, then don't pick up tools from the build directory.
26349 # Used only in GLIBCXX_EXPORT_INCLUDES.
26350 if test -n "$with_cross_host" &&
26351 test x"$build_alias" != x"$with_cross_host" &&
26352 test x"$build" != x"$target";
26359 # Construct crosses by hand, eliminating bits that need ld...
26360 # GLIBCXX_CHECK_MATH_SUPPORT
26362 # First, test for "known" system libraries. We may be using newlib even
26363 # on a hosted environment.
26364 if test "x${with_newlib}" = "xyes"; then
26365 os_include_dir="os/newlib"
26366 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26369 # GLIBCXX_CHECK_STDLIB_SUPPORT
26370 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26373 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26375 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26377 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26379 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26381 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26383 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26385 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26387 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26389 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26391 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26393 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26395 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26397 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26399 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26401 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26403 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26405 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26407 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26409 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26411 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26413 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26415 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26418 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26422 # Base decisions on target environment.
26424 arm*-*-symbianelf*)
26425 # This is a freestanding configuration; there is nothing to do here.
26429 # These definitions are for the SDE C library rather than newlib.
26430 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26433 # All these tests are for C++; save the language and the compiler flags.
26434 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26435 # found in GLIBCXX_CONFIGURE.
26438 ac_cpp='$CXXCPP $CPPFLAGS'
26439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26443 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26444 ac_save_CXXFLAGS="$CXXFLAGS"
26446 # Check for maintainer-mode bits.
26447 if test x"$USE_MAINTAINER_MODE" = xno; then
26453 # Check for -ffunction-sections -fdata-sections
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26455 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26456 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26458 /* end confdefs.h. */
26459 int foo; void bar() { };
26468 if ac_fn_cxx_try_compile "$LINENO"; then :
26473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26474 if test "$ac_test_CXXFLAGS" = set; then
26475 CXXFLAGS="$ac_save_CXXFLAGS"
26477 # this is the suspicious part
26480 if test x"$ac_fdsections" = x"yes"; then
26481 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26484 $as_echo "$ac_fdsections" >&6; }
26487 ac_cpp='$CPP $CPPFLAGS'
26488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26496 # If we're not using GNU ld, then there's no point in even trying these
26497 # tests. Check for that first. We should have already tested for gld
26498 # by now (in libtool), but require it now just to be safe...
26499 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26500 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26504 # The name set by libtool depends on the version of libtool. Shame on us
26505 # for depending on an impl detail, but c'est la vie. Older versions used
26506 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26507 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26508 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26509 # set (hence we're using an older libtool), then set it.
26510 if test x${with_gnu_ld+set} != xset; then
26511 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26512 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26515 with_gnu_ld=$ac_cv_prog_gnu_ld
26519 # Start by getting the version number. I think the libtool test already
26520 # does some of this, but throws away the result.
26521 glibcxx_ld_is_gold=no
26522 if test x"$with_gnu_ld" = x"yes"; then
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26524 $as_echo_n "checking for ld version... " >&6; }
26526 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26527 glibcxx_ld_is_gold=yes
26529 ldver=`$LD --version 2>/dev/null |
26530 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'`
26532 glibcxx_gnu_ld_version=`echo $ldver | \
26533 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26535 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26538 # Set --gc-sections.
26539 glibcxx_have_gc_sections=no
26540 if test "$glibcxx_ld_is_gold" = "yes"; then
26541 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26542 glibcxx_have_gc_sections=yes
26545 glibcxx_gcsections_min_ld=21602
26546 if test x"$with_gnu_ld" = x"yes" &&
26547 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26548 glibcxx_have_gc_sections=yes
26551 if test "$glibcxx_have_gc_sections" = "yes"; then
26552 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26553 # NB: This flag only works reliably after 2.16.1. Configure tests
26554 # for this are difficult, so hard wire a value that should work.
26556 ac_test_CFLAGS="${CFLAGS+set}"
26557 ac_save_CFLAGS="$CFLAGS"
26558 CFLAGS='-Wl,--gc-sections'
26560 # Check for -Wl,--gc-sections
26561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26562 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26563 if test x$gcc_no_link = xyes; then
26564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26567 /* end confdefs.h. */
26568 int one(void) { return 1; }
26569 int two(void) { return 2; }
26579 if ac_fn_c_try_link "$LINENO"; then :
26584 rm -f core conftest.err conftest.$ac_objext \
26585 conftest$ac_exeext conftest.$ac_ext
26586 if test "$ac_gcsections" = "yes"; then
26589 if $CC -c conftest.c; then
26590 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26591 grep "Warning: gc-sections option ignored" > /dev/null; then
26595 rm -f conftest.c conftest.o conftest
26597 if test "$ac_gcsections" = "yes"; then
26598 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26601 $as_echo "$ac_gcsections" >&6; }
26603 if test "$ac_test_CFLAGS" = set; then
26604 CFLAGS="$ac_save_CFLAGS"
26606 # this is the suspicious part
26612 # Note this is only for shared objects.
26614 if test x"$with_gnu_ld" = x"yes"; then
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26616 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26617 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26618 if test -n "$cxx_z_relo"; then
26619 OPT_LDFLAGS="-Wl,-z,relro"
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26623 $as_echo "$ac_ld_relro" >&6; }
26626 # Set linker optimization flags.
26627 if test x"$with_gnu_ld" = x"yes"; then
26628 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26635 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26636 ac_save_CXXFLAGS="$CXXFLAGS"
26637 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26640 $as_echo_n "checking for sin in -lm... " >&6; }
26641 if test "${ac_cv_lib_m_sin+set}" = set; then :
26642 $as_echo_n "(cached) " >&6
26644 ac_check_lib_save_LIBS=$LIBS
26646 if test x$gcc_no_link = xyes; then
26647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26650 /* end confdefs.h. */
26652 /* Override any GCC internal prototype to avoid an error.
26653 Use char because int might match the return type of a GCC
26654 builtin and then its argument prototype would still apply. */
26667 if ac_fn_c_try_link "$LINENO"; then :
26668 ac_cv_lib_m_sin=yes
26672 rm -f core conftest.err conftest.$ac_objext \
26673 conftest$ac_exeext conftest.$ac_ext
26674 LIBS=$ac_check_lib_save_LIBS
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26677 $as_echo "$ac_cv_lib_m_sin" >&6; }
26678 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26682 ac_save_LIBS="$LIBS"
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26688 $as_echo_n "checking for isinf declaration... " >&6; }
26689 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26690 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26691 $as_echo_n "(cached) " >&6
26696 ac_cpp='$CXXCPP $CPPFLAGS'
26697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26702 /* end confdefs.h. */
26704 #ifdef HAVE_IEEEFP_H
26705 #include <ieeefp.h>
26716 if ac_fn_cxx_try_compile "$LINENO"; then :
26717 glibcxx_cv_func_isinf_use=yes
26719 glibcxx_cv_func_isinf_use=no
26721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26723 ac_cpp='$CPP $CPPFLAGS'
26724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26733 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26735 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26736 for ac_func in isinf
26738 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26739 if test "x$ac_cv_func_isinf" = x""yes; then :
26740 cat >>confdefs.h <<_ACEOF
26741 #define HAVE_ISINF 1
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26750 $as_echo_n "checking for _isinf declaration... " >&6; }
26751 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26752 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26753 $as_echo_n "(cached) " >&6
26758 ac_cpp='$CXXCPP $CPPFLAGS'
26759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26764 /* end confdefs.h. */
26766 #ifdef HAVE_IEEEFP_H
26767 #include <ieeefp.h>
26778 if ac_fn_cxx_try_compile "$LINENO"; then :
26779 glibcxx_cv_func__isinf_use=yes
26781 glibcxx_cv_func__isinf_use=no
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26785 ac_cpp='$CPP $CPPFLAGS'
26786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26795 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26797 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26798 for ac_func in _isinf
26800 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26801 if test "x$ac_cv_func__isinf" = x""yes; then :
26802 cat >>confdefs.h <<_ACEOF
26803 #define HAVE__ISINF 1
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26817 $as_echo_n "checking for isnan declaration... " >&6; }
26818 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26819 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26820 $as_echo_n "(cached) " >&6
26825 ac_cpp='$CXXCPP $CPPFLAGS'
26826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h. */
26833 #ifdef HAVE_IEEEFP_H
26834 #include <ieeefp.h>
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846 glibcxx_cv_func_isnan_use=yes
26848 glibcxx_cv_func_isnan_use=no
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26862 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26864 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26865 for ac_func in isnan
26867 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26868 if test "x$ac_cv_func_isnan" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE_ISNAN 1
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26879 $as_echo_n "checking for _isnan declaration... " >&6; }
26880 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26881 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26882 $as_echo_n "(cached) " >&6
26887 ac_cpp='$CXXCPP $CPPFLAGS'
26888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893 /* end confdefs.h. */
26895 #ifdef HAVE_IEEEFP_H
26896 #include <ieeefp.h>
26907 if ac_fn_cxx_try_compile "$LINENO"; then :
26908 glibcxx_cv_func__isnan_use=yes
26910 glibcxx_cv_func__isnan_use=no
26912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26914 ac_cpp='$CPP $CPPFLAGS'
26915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26924 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26926 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26927 for ac_func in _isnan
26929 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26930 if test "x$ac_cv_func__isnan" = x""yes; then :
26931 cat >>confdefs.h <<_ACEOF
26932 #define HAVE__ISNAN 1
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26946 $as_echo_n "checking for finite declaration... " >&6; }
26947 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26948 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26949 $as_echo_n "(cached) " >&6
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26962 #ifdef HAVE_IEEEFP_H
26963 #include <ieeefp.h>
26974 if ac_fn_cxx_try_compile "$LINENO"; then :
26975 glibcxx_cv_func_finite_use=yes
26977 glibcxx_cv_func_finite_use=no
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26991 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26993 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26994 for ac_func in finite
26996 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26997 if test "x$ac_cv_func_finite" = x""yes; then :
26998 cat >>confdefs.h <<_ACEOF
26999 #define HAVE_FINITE 1
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27008 $as_echo_n "checking for _finite declaration... " >&6; }
27009 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27010 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27011 $as_echo_n "(cached) " >&6
27016 ac_cpp='$CXXCPP $CPPFLAGS'
27017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27022 /* end confdefs.h. */
27024 #ifdef HAVE_IEEEFP_H
27025 #include <ieeefp.h>
27036 if ac_fn_cxx_try_compile "$LINENO"; then :
27037 glibcxx_cv_func__finite_use=yes
27039 glibcxx_cv_func__finite_use=no
27041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27043 ac_cpp='$CPP $CPPFLAGS'
27044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27053 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27055 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27056 for ac_func in _finite
27058 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27059 if test "x$ac_cv_func__finite" = x""yes; then :
27060 cat >>confdefs.h <<_ACEOF
27061 #define HAVE__FINITE 1
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27075 $as_echo_n "checking for sincos declaration... " >&6; }
27076 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27077 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27078 $as_echo_n "(cached) " >&6
27083 ac_cpp='$CXXCPP $CPPFLAGS'
27084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27089 /* end confdefs.h. */
27099 if ac_fn_cxx_try_compile "$LINENO"; then :
27100 glibcxx_cv_func_sincos_use=yes
27102 glibcxx_cv_func_sincos_use=no
27104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27106 ac_cpp='$CPP $CPPFLAGS'
27107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27116 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27118 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27119 for ac_func in sincos
27121 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27122 if test "x$ac_cv_func_sincos" = x""yes; then :
27123 cat >>confdefs.h <<_ACEOF
27124 #define HAVE_SINCOS 1
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27133 $as_echo_n "checking for _sincos declaration... " >&6; }
27134 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27135 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27136 $as_echo_n "(cached) " >&6
27141 ac_cpp='$CXXCPP $CPPFLAGS'
27142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h. */
27157 if ac_fn_cxx_try_compile "$LINENO"; then :
27158 glibcxx_cv_func__sincos_use=yes
27160 glibcxx_cv_func__sincos_use=no
27162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27164 ac_cpp='$CPP $CPPFLAGS'
27165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27174 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27176 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27177 for ac_func in _sincos
27179 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27180 if test "x$ac_cv_func__sincos" = x""yes; then :
27181 cat >>confdefs.h <<_ACEOF
27182 #define HAVE__SINCOS 1
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27196 $as_echo_n "checking for fpclass declaration... " >&6; }
27197 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27198 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27199 $as_echo_n "(cached) " >&6
27204 ac_cpp='$CXXCPP $CPPFLAGS'
27205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27210 /* end confdefs.h. */
27212 #ifdef HAVE_IEEEFP_H
27213 #include <ieeefp.h>
27224 if ac_fn_cxx_try_compile "$LINENO"; then :
27225 glibcxx_cv_func_fpclass_use=yes
27227 glibcxx_cv_func_fpclass_use=no
27229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27231 ac_cpp='$CPP $CPPFLAGS'
27232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27241 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27243 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27244 for ac_func in fpclass
27246 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27247 if test "x$ac_cv_func_fpclass" = x""yes; then :
27248 cat >>confdefs.h <<_ACEOF
27249 #define HAVE_FPCLASS 1
27257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27258 $as_echo_n "checking for _fpclass declaration... " >&6; }
27259 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27260 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27261 $as_echo_n "(cached) " >&6
27266 ac_cpp='$CXXCPP $CPPFLAGS'
27267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27272 /* end confdefs.h. */
27274 #ifdef HAVE_IEEEFP_H
27275 #include <ieeefp.h>
27286 if ac_fn_cxx_try_compile "$LINENO"; then :
27287 glibcxx_cv_func__fpclass_use=yes
27289 glibcxx_cv_func__fpclass_use=no
27291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27293 ac_cpp='$CPP $CPPFLAGS'
27294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27303 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27305 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27306 for ac_func in _fpclass
27308 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27309 if test "x$ac_cv_func__fpclass" = x""yes; then :
27310 cat >>confdefs.h <<_ACEOF
27311 #define HAVE__FPCLASS 1
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27325 $as_echo_n "checking for qfpclass declaration... " >&6; }
27326 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27327 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27328 $as_echo_n "(cached) " >&6
27333 ac_cpp='$CXXCPP $CPPFLAGS'
27334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27339 /* end confdefs.h. */
27341 #ifdef HAVE_IEEEFP_H
27342 #include <ieeefp.h>
27353 if ac_fn_cxx_try_compile "$LINENO"; then :
27354 glibcxx_cv_func_qfpclass_use=yes
27356 glibcxx_cv_func_qfpclass_use=no
27358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27370 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27372 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27373 for ac_func in qfpclass
27375 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27376 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27377 cat >>confdefs.h <<_ACEOF
27378 #define HAVE_QFPCLASS 1
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27387 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27388 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27389 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27390 $as_echo_n "(cached) " >&6
27395 ac_cpp='$CXXCPP $CPPFLAGS'
27396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27401 /* end confdefs.h. */
27403 #ifdef HAVE_IEEEFP_H
27404 #include <ieeefp.h>
27415 if ac_fn_cxx_try_compile "$LINENO"; then :
27416 glibcxx_cv_func__qfpclass_use=yes
27418 glibcxx_cv_func__qfpclass_use=no
27420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27422 ac_cpp='$CPP $CPPFLAGS'
27423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27432 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27434 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27435 for ac_func in _qfpclass
27437 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27438 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27439 cat >>confdefs.h <<_ACEOF
27440 #define HAVE__QFPCLASS 1
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27454 $as_echo_n "checking for hypot declaration... " >&6; }
27455 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27456 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27457 $as_echo_n "(cached) " >&6
27462 ac_cpp='$CXXCPP $CPPFLAGS'
27463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27468 /* end confdefs.h. */
27478 if ac_fn_cxx_try_compile "$LINENO"; then :
27479 glibcxx_cv_func_hypot_use=yes
27481 glibcxx_cv_func_hypot_use=no
27483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27485 ac_cpp='$CPP $CPPFLAGS'
27486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27495 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27497 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27498 for ac_func in hypot
27500 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27501 if test "x$ac_cv_func_hypot" = x""yes; then :
27502 cat >>confdefs.h <<_ACEOF
27503 #define HAVE_HYPOT 1
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27512 $as_echo_n "checking for _hypot declaration... " >&6; }
27513 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27514 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27515 $as_echo_n "(cached) " >&6
27520 ac_cpp='$CXXCPP $CPPFLAGS'
27521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h. */
27536 if ac_fn_cxx_try_compile "$LINENO"; then :
27537 glibcxx_cv_func__hypot_use=yes
27539 glibcxx_cv_func__hypot_use=no
27541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27553 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27555 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27556 for ac_func in _hypot
27558 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27559 if test "x$ac_cv_func__hypot" = x""yes; then :
27560 cat >>confdefs.h <<_ACEOF
27561 #define HAVE__HYPOT 1
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27575 $as_echo_n "checking for float trig functions... " >&6; }
27576 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27577 $as_echo_n "(cached) " >&6
27582 ac_cpp='$CXXCPP $CPPFLAGS'
27583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27588 /* end confdefs.h. */
27593 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27598 if ac_fn_cxx_try_compile "$LINENO"; then :
27599 glibcxx_cv_func_float_trig_use=yes
27601 glibcxx_cv_func_float_trig_use=no
27603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27605 ac_cpp='$CPP $CPPFLAGS'
27606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27613 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27614 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27615 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27619 eval as_val=\$$as_ac_var
27620 if test "x$as_val" = x""yes; then :
27621 cat >>confdefs.h <<_ACEOF
27622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27630 $as_echo_n "checking for _float trig functions... " >&6; }
27631 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27632 $as_echo_n "(cached) " >&6
27637 ac_cpp='$CXXCPP $CPPFLAGS'
27638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27643 /* end confdefs.h. */
27648 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27653 if ac_fn_cxx_try_compile "$LINENO"; then :
27654 glibcxx_cv_func__float_trig_use=yes
27656 glibcxx_cv_func__float_trig_use=no
27658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27660 ac_cpp='$CPP $CPPFLAGS'
27661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27668 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27669 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27670 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27674 eval as_val=\$$as_ac_var
27675 if test "x$as_val" = x""yes; then :
27676 cat >>confdefs.h <<_ACEOF
27677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27691 $as_echo_n "checking for float round functions... " >&6; }
27692 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27693 $as_echo_n "(cached) " >&6
27698 ac_cpp='$CXXCPP $CPPFLAGS'
27699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27704 /* end confdefs.h. */
27709 ceilf (0); floorf (0);
27714 if ac_fn_cxx_try_compile "$LINENO"; then :
27715 glibcxx_cv_func_float_round_use=yes
27717 glibcxx_cv_func_float_round_use=no
27719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27729 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27730 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27731 for ac_func in ceilf floorf
27733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27735 eval as_val=\$$as_ac_var
27736 if test "x$as_val" = x""yes; then :
27737 cat >>confdefs.h <<_ACEOF
27738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27746 $as_echo_n "checking for _float round functions... " >&6; }
27747 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27748 $as_echo_n "(cached) " >&6
27753 ac_cpp='$CXXCPP $CPPFLAGS'
27754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27759 /* end confdefs.h. */
27764 _ceilf (0); _floorf (0);
27769 if ac_fn_cxx_try_compile "$LINENO"; then :
27770 glibcxx_cv_func__float_round_use=yes
27772 glibcxx_cv_func__float_round_use=no
27774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27776 ac_cpp='$CPP $CPPFLAGS'
27777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27784 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27785 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27786 for ac_func in _ceilf _floorf
27788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27790 eval as_val=\$$as_ac_var
27791 if test "x$as_val" = x""yes; then :
27792 cat >>confdefs.h <<_ACEOF
27793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27808 $as_echo_n "checking for expf declaration... " >&6; }
27809 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27810 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27811 $as_echo_n "(cached) " >&6
27816 ac_cpp='$CXXCPP $CPPFLAGS'
27817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27822 /* end confdefs.h. */
27824 #ifdef HAVE_IEEEFP_H
27825 #include <ieeefp.h>
27836 if ac_fn_cxx_try_compile "$LINENO"; then :
27837 glibcxx_cv_func_expf_use=yes
27839 glibcxx_cv_func_expf_use=no
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27853 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27855 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27856 for ac_func in expf
27858 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27859 if test "x$ac_cv_func_expf" = x""yes; then :
27860 cat >>confdefs.h <<_ACEOF
27861 #define HAVE_EXPF 1
27869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27870 $as_echo_n "checking for _expf declaration... " >&6; }
27871 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27872 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27873 $as_echo_n "(cached) " >&6
27878 ac_cpp='$CXXCPP $CPPFLAGS'
27879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27884 /* end confdefs.h. */
27886 #ifdef HAVE_IEEEFP_H
27887 #include <ieeefp.h>
27898 if ac_fn_cxx_try_compile "$LINENO"; then :
27899 glibcxx_cv_func__expf_use=yes
27901 glibcxx_cv_func__expf_use=no
27903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905 ac_cpp='$CPP $CPPFLAGS'
27906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27915 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27917 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27918 for ac_func in _expf
27920 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27921 if test "x$ac_cv_func__expf" = x""yes; then :
27922 cat >>confdefs.h <<_ACEOF
27923 #define HAVE__EXPF 1
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27937 $as_echo_n "checking for isnanf declaration... " >&6; }
27938 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27939 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func_isnanf_use=yes
27968 glibcxx_cv_func_isnanf_use=no
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27982 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27984 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27985 for ac_func in isnanf
27987 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27988 if test "x$ac_cv_func_isnanf" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE_ISNANF 1
27998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27999 $as_echo_n "checking for _isnanf declaration... " >&6; }
28000 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28001 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28002 $as_echo_n "(cached) " >&6
28007 ac_cpp='$CXXCPP $CPPFLAGS'
28008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28015 #ifdef HAVE_IEEEFP_H
28016 #include <ieeefp.h>
28027 if ac_fn_cxx_try_compile "$LINENO"; then :
28028 glibcxx_cv_func__isnanf_use=yes
28030 glibcxx_cv_func__isnanf_use=no
28032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28034 ac_cpp='$CPP $CPPFLAGS'
28035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28044 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28046 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28047 for ac_func in _isnanf
28049 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28050 if test "x$ac_cv_func__isnanf" = x""yes; then :
28051 cat >>confdefs.h <<_ACEOF
28052 #define HAVE__ISNANF 1
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28066 $as_echo_n "checking for isinff declaration... " >&6; }
28067 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28068 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28069 $as_echo_n "(cached) " >&6
28074 ac_cpp='$CXXCPP $CPPFLAGS'
28075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28080 /* end confdefs.h. */
28082 #ifdef HAVE_IEEEFP_H
28083 #include <ieeefp.h>
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095 glibcxx_cv_func_isinff_use=yes
28097 glibcxx_cv_func_isinff_use=no
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28111 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28113 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28114 for ac_func in isinff
28116 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28117 if test "x$ac_cv_func_isinff" = x""yes; then :
28118 cat >>confdefs.h <<_ACEOF
28119 #define HAVE_ISINFF 1
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28128 $as_echo_n "checking for _isinff declaration... " >&6; }
28129 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28130 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28131 $as_echo_n "(cached) " >&6
28136 ac_cpp='$CXXCPP $CPPFLAGS'
28137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28144 #ifdef HAVE_IEEEFP_H
28145 #include <ieeefp.h>
28156 if ac_fn_cxx_try_compile "$LINENO"; then :
28157 glibcxx_cv_func__isinff_use=yes
28159 glibcxx_cv_func__isinff_use=no
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28163 ac_cpp='$CPP $CPPFLAGS'
28164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28173 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28175 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28176 for ac_func in _isinff
28178 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28179 if test "x$ac_cv_func__isinff" = x""yes; then :
28180 cat >>confdefs.h <<_ACEOF
28181 #define HAVE__ISINFF 1
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28195 $as_echo_n "checking for atan2f declaration... " >&6; }
28196 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28197 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28198 $as_echo_n "(cached) " >&6
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28219 if ac_fn_cxx_try_compile "$LINENO"; then :
28220 glibcxx_cv_func_atan2f_use=yes
28222 glibcxx_cv_func_atan2f_use=no
28224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28226 ac_cpp='$CPP $CPPFLAGS'
28227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28236 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28238 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28239 for ac_func in atan2f
28241 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28242 if test "x$ac_cv_func_atan2f" = x""yes; then :
28243 cat >>confdefs.h <<_ACEOF
28244 #define HAVE_ATAN2F 1
28252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28253 $as_echo_n "checking for _atan2f declaration... " >&6; }
28254 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28255 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28256 $as_echo_n "(cached) " >&6
28261 ac_cpp='$CXXCPP $CPPFLAGS'
28262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28267 /* end confdefs.h. */
28277 if ac_fn_cxx_try_compile "$LINENO"; then :
28278 glibcxx_cv_func__atan2f_use=yes
28280 glibcxx_cv_func__atan2f_use=no
28282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28284 ac_cpp='$CPP $CPPFLAGS'
28285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28294 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28296 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28297 for ac_func in _atan2f
28299 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28300 if test "x$ac_cv_func__atan2f" = x""yes; then :
28301 cat >>confdefs.h <<_ACEOF
28302 #define HAVE__ATAN2F 1
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28316 $as_echo_n "checking for fabsf declaration... " >&6; }
28317 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28318 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28319 $as_echo_n "(cached) " >&6
28324 ac_cpp='$CXXCPP $CPPFLAGS'
28325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28330 /* end confdefs.h. */
28332 #ifdef HAVE_IEEEFP_H
28333 #include <ieeefp.h>
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345 glibcxx_cv_func_fabsf_use=yes
28347 glibcxx_cv_func_fabsf_use=no
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28361 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28363 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28364 for ac_func in fabsf
28366 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28367 if test "x$ac_cv_func_fabsf" = x""yes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE_FABSF 1
28377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28378 $as_echo_n "checking for _fabsf declaration... " >&6; }
28379 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28380 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28381 $as_echo_n "(cached) " >&6
28386 ac_cpp='$CXXCPP $CPPFLAGS'
28387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28392 /* end confdefs.h. */
28394 #ifdef HAVE_IEEEFP_H
28395 #include <ieeefp.h>
28406 if ac_fn_cxx_try_compile "$LINENO"; then :
28407 glibcxx_cv_func__fabsf_use=yes
28409 glibcxx_cv_func__fabsf_use=no
28411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28413 ac_cpp='$CPP $CPPFLAGS'
28414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28423 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28425 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28426 for ac_func in _fabsf
28428 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28429 if test "x$ac_cv_func__fabsf" = x""yes; then :
28430 cat >>confdefs.h <<_ACEOF
28431 #define HAVE__FABSF 1
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28445 $as_echo_n "checking for fmodf declaration... " >&6; }
28446 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28447 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28469 if ac_fn_cxx_try_compile "$LINENO"; then :
28470 glibcxx_cv_func_fmodf_use=yes
28472 glibcxx_cv_func_fmodf_use=no
28474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476 ac_cpp='$CPP $CPPFLAGS'
28477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28486 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28488 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28489 for ac_func in fmodf
28491 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28492 if test "x$ac_cv_func_fmodf" = x""yes; then :
28493 cat >>confdefs.h <<_ACEOF
28494 #define HAVE_FMODF 1
28502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28503 $as_echo_n "checking for _fmodf declaration... " >&6; }
28504 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28505 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28506 $as_echo_n "(cached) " >&6
28511 ac_cpp='$CXXCPP $CPPFLAGS'
28512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28517 /* end confdefs.h. */
28527 if ac_fn_cxx_try_compile "$LINENO"; then :
28528 glibcxx_cv_func__fmodf_use=yes
28530 glibcxx_cv_func__fmodf_use=no
28532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28534 ac_cpp='$CPP $CPPFLAGS'
28535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28544 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28546 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28547 for ac_func in _fmodf
28549 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28550 if test "x$ac_cv_func__fmodf" = x""yes; then :
28551 cat >>confdefs.h <<_ACEOF
28552 #define HAVE__FMODF 1
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28566 $as_echo_n "checking for frexpf declaration... " >&6; }
28567 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28568 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28569 $as_echo_n "(cached) " >&6
28574 ac_cpp='$CXXCPP $CPPFLAGS'
28575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28580 /* end confdefs.h. */
28590 if ac_fn_cxx_try_compile "$LINENO"; then :
28591 glibcxx_cv_func_frexpf_use=yes
28593 glibcxx_cv_func_frexpf_use=no
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 ac_cpp='$CPP $CPPFLAGS'
28598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28607 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28609 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28610 for ac_func in frexpf
28612 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28613 if test "x$ac_cv_func_frexpf" = x""yes; then :
28614 cat >>confdefs.h <<_ACEOF
28615 #define HAVE_FREXPF 1
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28624 $as_echo_n "checking for _frexpf declaration... " >&6; }
28625 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28626 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28627 $as_echo_n "(cached) " >&6
28632 ac_cpp='$CXXCPP $CPPFLAGS'
28633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28638 /* end confdefs.h. */
28648 if ac_fn_cxx_try_compile "$LINENO"; then :
28649 glibcxx_cv_func__frexpf_use=yes
28651 glibcxx_cv_func__frexpf_use=no
28653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28655 ac_cpp='$CPP $CPPFLAGS'
28656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28665 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28667 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28668 for ac_func in _frexpf
28670 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28671 if test "x$ac_cv_func__frexpf" = x""yes; then :
28672 cat >>confdefs.h <<_ACEOF
28673 #define HAVE__FREXPF 1
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28687 $as_echo_n "checking for hypotf declaration... " >&6; }
28688 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28689 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28690 $as_echo_n "(cached) " >&6
28695 ac_cpp='$CXXCPP $CPPFLAGS'
28696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28701 /* end confdefs.h. */
28711 if ac_fn_cxx_try_compile "$LINENO"; then :
28712 glibcxx_cv_func_hypotf_use=yes
28714 glibcxx_cv_func_hypotf_use=no
28716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28718 ac_cpp='$CPP $CPPFLAGS'
28719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28728 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28730 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28731 for ac_func in hypotf
28733 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28734 if test "x$ac_cv_func_hypotf" = x""yes; then :
28735 cat >>confdefs.h <<_ACEOF
28736 #define HAVE_HYPOTF 1
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28745 $as_echo_n "checking for _hypotf declaration... " >&6; }
28746 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28747 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28748 $as_echo_n "(cached) " >&6
28753 ac_cpp='$CXXCPP $CPPFLAGS'
28754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28759 /* end confdefs.h. */
28769 if ac_fn_cxx_try_compile "$LINENO"; then :
28770 glibcxx_cv_func__hypotf_use=yes
28772 glibcxx_cv_func__hypotf_use=no
28774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28776 ac_cpp='$CPP $CPPFLAGS'
28777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28786 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28788 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28789 for ac_func in _hypotf
28791 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28792 if test "x$ac_cv_func__hypotf" = x""yes; then :
28793 cat >>confdefs.h <<_ACEOF
28794 #define HAVE__HYPOTF 1
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28808 $as_echo_n "checking for ldexpf declaration... " >&6; }
28809 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28810 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28811 $as_echo_n "(cached) " >&6
28816 ac_cpp='$CXXCPP $CPPFLAGS'
28817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28822 /* end confdefs.h. */
28832 if ac_fn_cxx_try_compile "$LINENO"; then :
28833 glibcxx_cv_func_ldexpf_use=yes
28835 glibcxx_cv_func_ldexpf_use=no
28837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28839 ac_cpp='$CPP $CPPFLAGS'
28840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28849 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28851 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28852 for ac_func in ldexpf
28854 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28855 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28856 cat >>confdefs.h <<_ACEOF
28857 #define HAVE_LDEXPF 1
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28866 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28867 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28868 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28869 $as_echo_n "(cached) " >&6
28874 ac_cpp='$CXXCPP $CPPFLAGS'
28875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28880 /* end confdefs.h. */
28890 if ac_fn_cxx_try_compile "$LINENO"; then :
28891 glibcxx_cv_func__ldexpf_use=yes
28893 glibcxx_cv_func__ldexpf_use=no
28895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28897 ac_cpp='$CPP $CPPFLAGS'
28898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28907 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28909 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28910 for ac_func in _ldexpf
28912 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28913 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28914 cat >>confdefs.h <<_ACEOF
28915 #define HAVE__LDEXPF 1
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28929 $as_echo_n "checking for logf declaration... " >&6; }
28930 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28931 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28932 $as_echo_n "(cached) " >&6
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28943 /* end confdefs.h. */
28945 #ifdef HAVE_IEEEFP_H
28946 #include <ieeefp.h>
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958 glibcxx_cv_func_logf_use=yes
28960 glibcxx_cv_func_logf_use=no
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28974 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28976 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28977 for ac_func in logf
28979 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28980 if test "x$ac_cv_func_logf" = x""yes; then :
28981 cat >>confdefs.h <<_ACEOF
28982 #define HAVE_LOGF 1
28990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28991 $as_echo_n "checking for _logf declaration... " >&6; }
28992 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28993 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28994 $as_echo_n "(cached) " >&6
28999 ac_cpp='$CXXCPP $CPPFLAGS'
29000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29005 /* end confdefs.h. */
29007 #ifdef HAVE_IEEEFP_H
29008 #include <ieeefp.h>
29019 if ac_fn_cxx_try_compile "$LINENO"; then :
29020 glibcxx_cv_func__logf_use=yes
29022 glibcxx_cv_func__logf_use=no
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026 ac_cpp='$CPP $CPPFLAGS'
29027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29036 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29038 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29039 for ac_func in _logf
29041 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29042 if test "x$ac_cv_func__logf" = x""yes; then :
29043 cat >>confdefs.h <<_ACEOF
29044 #define HAVE__LOGF 1
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29058 $as_echo_n "checking for log10f declaration... " >&6; }
29059 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29060 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29061 $as_echo_n "(cached) " >&6
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072 /* end confdefs.h. */
29074 #ifdef HAVE_IEEEFP_H
29075 #include <ieeefp.h>
29086 if ac_fn_cxx_try_compile "$LINENO"; then :
29087 glibcxx_cv_func_log10f_use=yes
29089 glibcxx_cv_func_log10f_use=no
29091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29103 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29105 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29106 for ac_func in log10f
29108 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29109 if test "x$ac_cv_func_log10f" = x""yes; then :
29110 cat >>confdefs.h <<_ACEOF
29111 #define HAVE_LOG10F 1
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29120 $as_echo_n "checking for _log10f declaration... " >&6; }
29121 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29122 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29123 $as_echo_n "(cached) " >&6
29128 ac_cpp='$CXXCPP $CPPFLAGS'
29129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29134 /* end confdefs.h. */
29136 #ifdef HAVE_IEEEFP_H
29137 #include <ieeefp.h>
29148 if ac_fn_cxx_try_compile "$LINENO"; then :
29149 glibcxx_cv_func__log10f_use=yes
29151 glibcxx_cv_func__log10f_use=no
29153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29155 ac_cpp='$CPP $CPPFLAGS'
29156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29165 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29167 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29168 for ac_func in _log10f
29170 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29171 if test "x$ac_cv_func__log10f" = x""yes; then :
29172 cat >>confdefs.h <<_ACEOF
29173 #define HAVE__LOG10F 1
29186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29187 $as_echo_n "checking for modff declaration... " >&6; }
29188 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29189 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29190 $as_echo_n "(cached) " >&6
29195 ac_cpp='$CXXCPP $CPPFLAGS'
29196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29201 /* end confdefs.h. */
29211 if ac_fn_cxx_try_compile "$LINENO"; then :
29212 glibcxx_cv_func_modff_use=yes
29214 glibcxx_cv_func_modff_use=no
29216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29218 ac_cpp='$CPP $CPPFLAGS'
29219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29228 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29230 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29231 for ac_func in modff
29233 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29234 if test "x$ac_cv_func_modff" = x""yes; then :
29235 cat >>confdefs.h <<_ACEOF
29236 #define HAVE_MODFF 1
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29245 $as_echo_n "checking for _modff declaration... " >&6; }
29246 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29247 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29248 $as_echo_n "(cached) " >&6
29253 ac_cpp='$CXXCPP $CPPFLAGS'
29254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29269 if ac_fn_cxx_try_compile "$LINENO"; then :
29270 glibcxx_cv_func__modff_use=yes
29272 glibcxx_cv_func__modff_use=no
29274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29276 ac_cpp='$CPP $CPPFLAGS'
29277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29286 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29288 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29289 for ac_func in _modff
29291 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29292 if test "x$ac_cv_func__modff" = x""yes; then :
29293 cat >>confdefs.h <<_ACEOF
29294 #define HAVE__MODFF 1
29307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29308 $as_echo_n "checking for modf declaration... " >&6; }
29309 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29310 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29311 $as_echo_n "(cached) " >&6
29316 ac_cpp='$CXXCPP $CPPFLAGS'
29317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29322 /* end confdefs.h. */
29332 if ac_fn_cxx_try_compile "$LINENO"; then :
29333 glibcxx_cv_func_modf_use=yes
29335 glibcxx_cv_func_modf_use=no
29337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29339 ac_cpp='$CPP $CPPFLAGS'
29340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29349 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29351 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29352 for ac_func in modf
29354 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29355 if test "x$ac_cv_func_modf" = x""yes; then :
29356 cat >>confdefs.h <<_ACEOF
29357 #define HAVE_MODF 1
29365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29366 $as_echo_n "checking for _modf declaration... " >&6; }
29367 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29368 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29369 $as_echo_n "(cached) " >&6
29374 ac_cpp='$CXXCPP $CPPFLAGS'
29375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29380 /* end confdefs.h. */
29390 if ac_fn_cxx_try_compile "$LINENO"; then :
29391 glibcxx_cv_func__modf_use=yes
29393 glibcxx_cv_func__modf_use=no
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29397 ac_cpp='$CPP $CPPFLAGS'
29398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29407 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29409 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29410 for ac_func in _modf
29412 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29413 if test "x$ac_cv_func__modf" = x""yes; then :
29414 cat >>confdefs.h <<_ACEOF
29415 #define HAVE__MODF 1
29428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29429 $as_echo_n "checking for powf declaration... " >&6; }
29430 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29431 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29432 $as_echo_n "(cached) " >&6
29437 ac_cpp='$CXXCPP $CPPFLAGS'
29438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29443 /* end confdefs.h. */
29453 if ac_fn_cxx_try_compile "$LINENO"; then :
29454 glibcxx_cv_func_powf_use=yes
29456 glibcxx_cv_func_powf_use=no
29458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29460 ac_cpp='$CPP $CPPFLAGS'
29461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29470 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29472 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29473 for ac_func in powf
29475 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29476 if test "x$ac_cv_func_powf" = x""yes; then :
29477 cat >>confdefs.h <<_ACEOF
29478 #define HAVE_POWF 1
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29487 $as_echo_n "checking for _powf declaration... " >&6; }
29488 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29489 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29490 $as_echo_n "(cached) " >&6
29495 ac_cpp='$CXXCPP $CPPFLAGS'
29496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29501 /* end confdefs.h. */
29511 if ac_fn_cxx_try_compile "$LINENO"; then :
29512 glibcxx_cv_func__powf_use=yes
29514 glibcxx_cv_func__powf_use=no
29516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29518 ac_cpp='$CPP $CPPFLAGS'
29519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29528 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29530 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29531 for ac_func in _powf
29533 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29534 if test "x$ac_cv_func__powf" = x""yes; then :
29535 cat >>confdefs.h <<_ACEOF
29536 #define HAVE__POWF 1
29549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29550 $as_echo_n "checking for sqrtf declaration... " >&6; }
29551 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29552 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29553 $as_echo_n "(cached) " >&6
29558 ac_cpp='$CXXCPP $CPPFLAGS'
29559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29564 /* end confdefs.h. */
29566 #ifdef HAVE_IEEEFP_H
29567 #include <ieeefp.h>
29578 if ac_fn_cxx_try_compile "$LINENO"; then :
29579 glibcxx_cv_func_sqrtf_use=yes
29581 glibcxx_cv_func_sqrtf_use=no
29583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29585 ac_cpp='$CPP $CPPFLAGS'
29586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29595 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29597 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29598 for ac_func in sqrtf
29600 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29601 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29602 cat >>confdefs.h <<_ACEOF
29603 #define HAVE_SQRTF 1
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29612 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29613 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29614 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29615 $as_echo_n "(cached) " >&6
29620 ac_cpp='$CXXCPP $CPPFLAGS'
29621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29626 /* end confdefs.h. */
29628 #ifdef HAVE_IEEEFP_H
29629 #include <ieeefp.h>
29640 if ac_fn_cxx_try_compile "$LINENO"; then :
29641 glibcxx_cv_func__sqrtf_use=yes
29643 glibcxx_cv_func__sqrtf_use=no
29645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29647 ac_cpp='$CPP $CPPFLAGS'
29648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29657 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29659 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29660 for ac_func in _sqrtf
29662 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29663 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29664 cat >>confdefs.h <<_ACEOF
29665 #define HAVE__SQRTF 1
29678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29679 $as_echo_n "checking for sincosf declaration... " >&6; }
29680 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29681 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29682 $as_echo_n "(cached) " >&6
29687 ac_cpp='$CXXCPP $CPPFLAGS'
29688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h. */
29703 if ac_fn_cxx_try_compile "$LINENO"; then :
29704 glibcxx_cv_func_sincosf_use=yes
29706 glibcxx_cv_func_sincosf_use=no
29708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29710 ac_cpp='$CPP $CPPFLAGS'
29711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29720 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29722 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29723 for ac_func in sincosf
29725 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29726 if test "x$ac_cv_func_sincosf" = x""yes; then :
29727 cat >>confdefs.h <<_ACEOF
29728 #define HAVE_SINCOSF 1
29736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29737 $as_echo_n "checking for _sincosf declaration... " >&6; }
29738 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29739 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29740 $as_echo_n "(cached) " >&6
29745 ac_cpp='$CXXCPP $CPPFLAGS'
29746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29751 /* end confdefs.h. */
29761 if ac_fn_cxx_try_compile "$LINENO"; then :
29762 glibcxx_cv_func__sincosf_use=yes
29764 glibcxx_cv_func__sincosf_use=no
29766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29768 ac_cpp='$CPP $CPPFLAGS'
29769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29778 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29780 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29781 for ac_func in _sincosf
29783 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29784 if test "x$ac_cv_func__sincosf" = x""yes; then :
29785 cat >>confdefs.h <<_ACEOF
29786 #define HAVE__SINCOSF 1
29799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29800 $as_echo_n "checking for finitef declaration... " >&6; }
29801 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29802 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29803 $as_echo_n "(cached) " >&6
29808 ac_cpp='$CXXCPP $CPPFLAGS'
29809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29814 /* end confdefs.h. */
29816 #ifdef HAVE_IEEEFP_H
29817 #include <ieeefp.h>
29828 if ac_fn_cxx_try_compile "$LINENO"; then :
29829 glibcxx_cv_func_finitef_use=yes
29831 glibcxx_cv_func_finitef_use=no
29833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29835 ac_cpp='$CPP $CPPFLAGS'
29836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29845 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29847 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29848 for ac_func in finitef
29850 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29851 if test "x$ac_cv_func_finitef" = x""yes; then :
29852 cat >>confdefs.h <<_ACEOF
29853 #define HAVE_FINITEF 1
29861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29862 $as_echo_n "checking for _finitef declaration... " >&6; }
29863 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29864 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29865 $as_echo_n "(cached) " >&6
29870 ac_cpp='$CXXCPP $CPPFLAGS'
29871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29876 /* end confdefs.h. */
29878 #ifdef HAVE_IEEEFP_H
29879 #include <ieeefp.h>
29890 if ac_fn_cxx_try_compile "$LINENO"; then :
29891 glibcxx_cv_func__finitef_use=yes
29893 glibcxx_cv_func__finitef_use=no
29895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29897 ac_cpp='$CPP $CPPFLAGS'
29898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29907 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29909 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29910 for ac_func in _finitef
29912 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29913 if test "x$ac_cv_func__finitef" = x""yes; then :
29914 cat >>confdefs.h <<_ACEOF
29915 #define HAVE__FINITEF 1
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29929 $as_echo_n "checking for long double trig functions... " >&6; }
29930 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29931 $as_echo_n "(cached) " >&6
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h. */
29947 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29952 if ac_fn_cxx_try_compile "$LINENO"; then :
29953 glibcxx_cv_func_long_double_trig_use=yes
29955 glibcxx_cv_func_long_double_trig_use=no
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29959 ac_cpp='$CPP $CPPFLAGS'
29960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29967 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29968 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29969 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29973 eval as_val=\$$as_ac_var
29974 if test "x$as_val" = x""yes; then :
29975 cat >>confdefs.h <<_ACEOF
29976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29984 $as_echo_n "checking for _long double trig functions... " >&6; }
29985 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29986 $as_echo_n "(cached) " >&6
29991 ac_cpp='$CXXCPP $CPPFLAGS'
29992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29997 /* end confdefs.h. */
30002 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30007 if ac_fn_cxx_try_compile "$LINENO"; then :
30008 glibcxx_cv_func__long_double_trig_use=yes
30010 glibcxx_cv_func__long_double_trig_use=no
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30014 ac_cpp='$CPP $CPPFLAGS'
30015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30022 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30023 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30024 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30028 eval as_val=\$$as_ac_var
30029 if test "x$as_val" = x""yes; then :
30030 cat >>confdefs.h <<_ACEOF
30031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30045 $as_echo_n "checking for long double round functions... " >&6; }
30046 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30047 $as_echo_n "(cached) " >&6
30052 ac_cpp='$CXXCPP $CPPFLAGS'
30053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30063 ceill (0); floorl (0);
30068 if ac_fn_cxx_try_compile "$LINENO"; then :
30069 glibcxx_cv_func_long_double_round_use=yes
30071 glibcxx_cv_func_long_double_round_use=no
30073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30075 ac_cpp='$CPP $CPPFLAGS'
30076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30083 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30084 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30085 for ac_func in ceill floorl
30087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30089 eval as_val=\$$as_ac_var
30090 if test "x$as_val" = x""yes; then :
30091 cat >>confdefs.h <<_ACEOF
30092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30100 $as_echo_n "checking for _long double round functions... " >&6; }
30101 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30102 $as_echo_n "(cached) " >&6
30107 ac_cpp='$CXXCPP $CPPFLAGS'
30108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30113 /* end confdefs.h. */
30118 _ceill (0); _floorl (0);
30123 if ac_fn_cxx_try_compile "$LINENO"; then :
30124 glibcxx_cv_func__long_double_round_use=yes
30126 glibcxx_cv_func__long_double_round_use=no
30128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30130 ac_cpp='$CPP $CPPFLAGS'
30131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30138 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30139 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30140 for ac_func in _ceill _floorl
30142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30144 eval as_val=\$$as_ac_var
30145 if test "x$as_val" = x""yes; then :
30146 cat >>confdefs.h <<_ACEOF
30147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30162 $as_echo_n "checking for isnanl declaration... " >&6; }
30163 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30164 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30165 $as_echo_n "(cached) " >&6
30170 ac_cpp='$CXXCPP $CPPFLAGS'
30171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30176 /* end confdefs.h. */
30178 #ifdef HAVE_IEEEFP_H
30179 #include <ieeefp.h>
30190 if ac_fn_cxx_try_compile "$LINENO"; then :
30191 glibcxx_cv_func_isnanl_use=yes
30193 glibcxx_cv_func_isnanl_use=no
30195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30197 ac_cpp='$CPP $CPPFLAGS'
30198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30207 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30209 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30210 for ac_func in isnanl
30212 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30213 if test "x$ac_cv_func_isnanl" = x""yes; then :
30214 cat >>confdefs.h <<_ACEOF
30215 #define HAVE_ISNANL 1
30223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30224 $as_echo_n "checking for _isnanl declaration... " >&6; }
30225 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30226 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30227 $as_echo_n "(cached) " >&6
30232 ac_cpp='$CXXCPP $CPPFLAGS'
30233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30238 /* end confdefs.h. */
30240 #ifdef HAVE_IEEEFP_H
30241 #include <ieeefp.h>
30252 if ac_fn_cxx_try_compile "$LINENO"; then :
30253 glibcxx_cv_func__isnanl_use=yes
30255 glibcxx_cv_func__isnanl_use=no
30257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30259 ac_cpp='$CPP $CPPFLAGS'
30260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30269 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30271 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30272 for ac_func in _isnanl
30274 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30275 if test "x$ac_cv_func__isnanl" = x""yes; then :
30276 cat >>confdefs.h <<_ACEOF
30277 #define HAVE__ISNANL 1
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30291 $as_echo_n "checking for isinfl declaration... " >&6; }
30292 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30293 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30307 #ifdef HAVE_IEEEFP_H
30308 #include <ieeefp.h>
30319 if ac_fn_cxx_try_compile "$LINENO"; then :
30320 glibcxx_cv_func_isinfl_use=yes
30322 glibcxx_cv_func_isinfl_use=no
30324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30326 ac_cpp='$CPP $CPPFLAGS'
30327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30336 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30338 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30339 for ac_func in isinfl
30341 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30342 if test "x$ac_cv_func_isinfl" = x""yes; then :
30343 cat >>confdefs.h <<_ACEOF
30344 #define HAVE_ISINFL 1
30352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30353 $as_echo_n "checking for _isinfl declaration... " >&6; }
30354 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30355 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30356 $as_echo_n "(cached) " >&6
30361 ac_cpp='$CXXCPP $CPPFLAGS'
30362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30367 /* end confdefs.h. */
30369 #ifdef HAVE_IEEEFP_H
30370 #include <ieeefp.h>
30381 if ac_fn_cxx_try_compile "$LINENO"; then :
30382 glibcxx_cv_func__isinfl_use=yes
30384 glibcxx_cv_func__isinfl_use=no
30386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30388 ac_cpp='$CPP $CPPFLAGS'
30389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30398 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30400 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30401 for ac_func in _isinfl
30403 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30404 if test "x$ac_cv_func__isinfl" = x""yes; then :
30405 cat >>confdefs.h <<_ACEOF
30406 #define HAVE__ISINFL 1
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30420 $as_echo_n "checking for atan2l declaration... " >&6; }
30421 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30422 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30423 $as_echo_n "(cached) " >&6
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30444 if ac_fn_cxx_try_compile "$LINENO"; then :
30445 glibcxx_cv_func_atan2l_use=yes
30447 glibcxx_cv_func_atan2l_use=no
30449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30451 ac_cpp='$CPP $CPPFLAGS'
30452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30461 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30463 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30464 for ac_func in atan2l
30466 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30467 if test "x$ac_cv_func_atan2l" = x""yes; then :
30468 cat >>confdefs.h <<_ACEOF
30469 #define HAVE_ATAN2L 1
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30478 $as_echo_n "checking for _atan2l declaration... " >&6; }
30479 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30480 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30481 $as_echo_n "(cached) " >&6
30486 ac_cpp='$CXXCPP $CPPFLAGS'
30487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30492 /* end confdefs.h. */
30502 if ac_fn_cxx_try_compile "$LINENO"; then :
30503 glibcxx_cv_func__atan2l_use=yes
30505 glibcxx_cv_func__atan2l_use=no
30507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30509 ac_cpp='$CPP $CPPFLAGS'
30510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30519 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30521 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30522 for ac_func in _atan2l
30524 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30525 if test "x$ac_cv_func__atan2l" = x""yes; then :
30526 cat >>confdefs.h <<_ACEOF
30527 #define HAVE__ATAN2L 1
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30541 $as_echo_n "checking for expl declaration... " >&6; }
30542 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30543 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30544 $as_echo_n "(cached) " >&6
30549 ac_cpp='$CXXCPP $CPPFLAGS'
30550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30557 #ifdef HAVE_IEEEFP_H
30558 #include <ieeefp.h>
30569 if ac_fn_cxx_try_compile "$LINENO"; then :
30570 glibcxx_cv_func_expl_use=yes
30572 glibcxx_cv_func_expl_use=no
30574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30576 ac_cpp='$CPP $CPPFLAGS'
30577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30586 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30588 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30589 for ac_func in expl
30591 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30592 if test "x$ac_cv_func_expl" = x""yes; then :
30593 cat >>confdefs.h <<_ACEOF
30594 #define HAVE_EXPL 1
30602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30603 $as_echo_n "checking for _expl declaration... " >&6; }
30604 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30605 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30606 $as_echo_n "(cached) " >&6
30611 ac_cpp='$CXXCPP $CPPFLAGS'
30612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30617 /* end confdefs.h. */
30619 #ifdef HAVE_IEEEFP_H
30620 #include <ieeefp.h>
30631 if ac_fn_cxx_try_compile "$LINENO"; then :
30632 glibcxx_cv_func__expl_use=yes
30634 glibcxx_cv_func__expl_use=no
30636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30638 ac_cpp='$CPP $CPPFLAGS'
30639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30648 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30650 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30651 for ac_func in _expl
30653 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30654 if test "x$ac_cv_func__expl" = x""yes; then :
30655 cat >>confdefs.h <<_ACEOF
30656 #define HAVE__EXPL 1
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30670 $as_echo_n "checking for fabsl declaration... " >&6; }
30671 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30672 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h. */
30686 #ifdef HAVE_IEEEFP_H
30687 #include <ieeefp.h>
30698 if ac_fn_cxx_try_compile "$LINENO"; then :
30699 glibcxx_cv_func_fabsl_use=yes
30701 glibcxx_cv_func_fabsl_use=no
30703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30705 ac_cpp='$CPP $CPPFLAGS'
30706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30715 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30717 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30718 for ac_func in fabsl
30720 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30721 if test "x$ac_cv_func_fabsl" = x""yes; then :
30722 cat >>confdefs.h <<_ACEOF
30723 #define HAVE_FABSL 1
30731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30732 $as_echo_n "checking for _fabsl declaration... " >&6; }
30733 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30734 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30735 $as_echo_n "(cached) " >&6
30740 ac_cpp='$CXXCPP $CPPFLAGS'
30741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30746 /* end confdefs.h. */
30748 #ifdef HAVE_IEEEFP_H
30749 #include <ieeefp.h>
30760 if ac_fn_cxx_try_compile "$LINENO"; then :
30761 glibcxx_cv_func__fabsl_use=yes
30763 glibcxx_cv_func__fabsl_use=no
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30777 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30779 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30780 for ac_func in _fabsl
30782 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30783 if test "x$ac_cv_func__fabsl" = x""yes; then :
30784 cat >>confdefs.h <<_ACEOF
30785 #define HAVE__FABSL 1
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30799 $as_echo_n "checking for fmodl declaration... " >&6; }
30800 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30801 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30802 $as_echo_n "(cached) " >&6
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 /* end confdefs.h. */
30823 if ac_fn_cxx_try_compile "$LINENO"; then :
30824 glibcxx_cv_func_fmodl_use=yes
30826 glibcxx_cv_func_fmodl_use=no
30828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30830 ac_cpp='$CPP $CPPFLAGS'
30831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30840 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30842 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30843 for ac_func in fmodl
30845 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30846 if test "x$ac_cv_func_fmodl" = x""yes; then :
30847 cat >>confdefs.h <<_ACEOF
30848 #define HAVE_FMODL 1
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30857 $as_echo_n "checking for _fmodl declaration... " >&6; }
30858 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30859 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30860 $as_echo_n "(cached) " >&6
30865 ac_cpp='$CXXCPP $CPPFLAGS'
30866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30871 /* end confdefs.h. */
30881 if ac_fn_cxx_try_compile "$LINENO"; then :
30882 glibcxx_cv_func__fmodl_use=yes
30884 glibcxx_cv_func__fmodl_use=no
30886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30888 ac_cpp='$CPP $CPPFLAGS'
30889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30898 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30900 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30901 for ac_func in _fmodl
30903 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30904 if test "x$ac_cv_func__fmodl" = x""yes; then :
30905 cat >>confdefs.h <<_ACEOF
30906 #define HAVE__FMODL 1
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30920 $as_echo_n "checking for frexpl declaration... " >&6; }
30921 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30922 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30923 $as_echo_n "(cached) " >&6
30928 ac_cpp='$CXXCPP $CPPFLAGS'
30929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30934 /* end confdefs.h. */
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_frexpl_use=yes
30947 glibcxx_cv_func_frexpl_use=no
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30961 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30963 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30964 for ac_func in frexpl
30966 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30967 if test "x$ac_cv_func_frexpl" = x""yes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE_FREXPL 1
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30978 $as_echo_n "checking for _frexpl declaration... " >&6; }
30979 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30980 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30981 $as_echo_n "(cached) " >&6
30986 ac_cpp='$CXXCPP $CPPFLAGS'
30987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992 /* end confdefs.h. */
31002 if ac_fn_cxx_try_compile "$LINENO"; then :
31003 glibcxx_cv_func__frexpl_use=yes
31005 glibcxx_cv_func__frexpl_use=no
31007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31009 ac_cpp='$CPP $CPPFLAGS'
31010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31019 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31021 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31022 for ac_func in _frexpl
31024 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31025 if test "x$ac_cv_func__frexpl" = x""yes; then :
31026 cat >>confdefs.h <<_ACEOF
31027 #define HAVE__FREXPL 1
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31041 $as_echo_n "checking for hypotl declaration... " >&6; }
31042 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31043 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31044 $as_echo_n "(cached) " >&6
31049 ac_cpp='$CXXCPP $CPPFLAGS'
31050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31055 /* end confdefs.h. */
31065 if ac_fn_cxx_try_compile "$LINENO"; then :
31066 glibcxx_cv_func_hypotl_use=yes
31068 glibcxx_cv_func_hypotl_use=no
31070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31072 ac_cpp='$CPP $CPPFLAGS'
31073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31082 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31084 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31085 for ac_func in hypotl
31087 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31088 if test "x$ac_cv_func_hypotl" = x""yes; then :
31089 cat >>confdefs.h <<_ACEOF
31090 #define HAVE_HYPOTL 1
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31099 $as_echo_n "checking for _hypotl declaration... " >&6; }
31100 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31101 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31102 $as_echo_n "(cached) " >&6
31107 ac_cpp='$CXXCPP $CPPFLAGS'
31108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31113 /* end confdefs.h. */
31123 if ac_fn_cxx_try_compile "$LINENO"; then :
31124 glibcxx_cv_func__hypotl_use=yes
31126 glibcxx_cv_func__hypotl_use=no
31128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31130 ac_cpp='$CPP $CPPFLAGS'
31131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31140 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31142 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31143 for ac_func in _hypotl
31145 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31146 if test "x$ac_cv_func__hypotl" = x""yes; then :
31147 cat >>confdefs.h <<_ACEOF
31148 #define HAVE__HYPOTL 1
31161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31162 $as_echo_n "checking for ldexpl declaration... " >&6; }
31163 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31164 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31165 $as_echo_n "(cached) " >&6
31170 ac_cpp='$CXXCPP $CPPFLAGS'
31171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31176 /* end confdefs.h. */
31186 if ac_fn_cxx_try_compile "$LINENO"; then :
31187 glibcxx_cv_func_ldexpl_use=yes
31189 glibcxx_cv_func_ldexpl_use=no
31191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31193 ac_cpp='$CPP $CPPFLAGS'
31194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31203 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31205 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31206 for ac_func in ldexpl
31208 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31209 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31210 cat >>confdefs.h <<_ACEOF
31211 #define HAVE_LDEXPL 1
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31220 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31221 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31222 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31223 $as_echo_n "(cached) " >&6
31228 ac_cpp='$CXXCPP $CPPFLAGS'
31229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31234 /* end confdefs.h. */
31244 if ac_fn_cxx_try_compile "$LINENO"; then :
31245 glibcxx_cv_func__ldexpl_use=yes
31247 glibcxx_cv_func__ldexpl_use=no
31249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31251 ac_cpp='$CPP $CPPFLAGS'
31252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31261 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31263 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31264 for ac_func in _ldexpl
31266 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31267 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31268 cat >>confdefs.h <<_ACEOF
31269 #define HAVE__LDEXPL 1
31282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31283 $as_echo_n "checking for logl declaration... " >&6; }
31284 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31285 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31286 $as_echo_n "(cached) " >&6
31291 ac_cpp='$CXXCPP $CPPFLAGS'
31292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31297 /* end confdefs.h. */
31299 #ifdef HAVE_IEEEFP_H
31300 #include <ieeefp.h>
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func_logl_use=yes
31314 glibcxx_cv_func_logl_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31328 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31330 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31331 for ac_func in logl
31333 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31334 if test "x$ac_cv_func_logl" = x""yes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE_LOGL 1
31344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31345 $as_echo_n "checking for _logl declaration... " >&6; }
31346 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31347 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31348 $as_echo_n "(cached) " >&6
31353 ac_cpp='$CXXCPP $CPPFLAGS'
31354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31359 /* end confdefs.h. */
31361 #ifdef HAVE_IEEEFP_H
31362 #include <ieeefp.h>
31373 if ac_fn_cxx_try_compile "$LINENO"; then :
31374 glibcxx_cv_func__logl_use=yes
31376 glibcxx_cv_func__logl_use=no
31378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31380 ac_cpp='$CPP $CPPFLAGS'
31381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31390 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31392 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31393 for ac_func in _logl
31395 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31396 if test "x$ac_cv_func__logl" = x""yes; then :
31397 cat >>confdefs.h <<_ACEOF
31398 #define HAVE__LOGL 1
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31412 $as_echo_n "checking for log10l declaration... " >&6; }
31413 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31414 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31415 $as_echo_n "(cached) " >&6
31420 ac_cpp='$CXXCPP $CPPFLAGS'
31421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426 /* end confdefs.h. */
31428 #ifdef HAVE_IEEEFP_H
31429 #include <ieeefp.h>
31440 if ac_fn_cxx_try_compile "$LINENO"; then :
31441 glibcxx_cv_func_log10l_use=yes
31443 glibcxx_cv_func_log10l_use=no
31445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31447 ac_cpp='$CPP $CPPFLAGS'
31448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31457 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31459 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31460 for ac_func in log10l
31462 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31463 if test "x$ac_cv_func_log10l" = x""yes; then :
31464 cat >>confdefs.h <<_ACEOF
31465 #define HAVE_LOG10L 1
31473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31474 $as_echo_n "checking for _log10l declaration... " >&6; }
31475 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31476 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31477 $as_echo_n "(cached) " >&6
31482 ac_cpp='$CXXCPP $CPPFLAGS'
31483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31488 /* end confdefs.h. */
31490 #ifdef HAVE_IEEEFP_H
31491 #include <ieeefp.h>
31502 if ac_fn_cxx_try_compile "$LINENO"; then :
31503 glibcxx_cv_func__log10l_use=yes
31505 glibcxx_cv_func__log10l_use=no
31507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31509 ac_cpp='$CPP $CPPFLAGS'
31510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31519 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31521 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31522 for ac_func in _log10l
31524 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31525 if test "x$ac_cv_func__log10l" = x""yes; then :
31526 cat >>confdefs.h <<_ACEOF
31527 #define HAVE__LOG10L 1
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31541 $as_echo_n "checking for modfl declaration... " >&6; }
31542 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31543 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31544 $as_echo_n "(cached) " >&6
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555 /* end confdefs.h. */
31565 if ac_fn_cxx_try_compile "$LINENO"; then :
31566 glibcxx_cv_func_modfl_use=yes
31568 glibcxx_cv_func_modfl_use=no
31570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31572 ac_cpp='$CPP $CPPFLAGS'
31573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31582 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31584 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31585 for ac_func in modfl
31587 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31588 if test "x$ac_cv_func_modfl" = x""yes; then :
31589 cat >>confdefs.h <<_ACEOF
31590 #define HAVE_MODFL 1
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31599 $as_echo_n "checking for _modfl declaration... " >&6; }
31600 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31601 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31602 $as_echo_n "(cached) " >&6
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31623 if ac_fn_cxx_try_compile "$LINENO"; then :
31624 glibcxx_cv_func__modfl_use=yes
31626 glibcxx_cv_func__modfl_use=no
31628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31630 ac_cpp='$CPP $CPPFLAGS'
31631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31640 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31642 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31643 for ac_func in _modfl
31645 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31646 if test "x$ac_cv_func__modfl" = x""yes; then :
31647 cat >>confdefs.h <<_ACEOF
31648 #define HAVE__MODFL 1
31661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31662 $as_echo_n "checking for powl declaration... " >&6; }
31663 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31664 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31665 $as_echo_n "(cached) " >&6
31670 ac_cpp='$CXXCPP $CPPFLAGS'
31671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31676 /* end confdefs.h. */
31686 if ac_fn_cxx_try_compile "$LINENO"; then :
31687 glibcxx_cv_func_powl_use=yes
31689 glibcxx_cv_func_powl_use=no
31691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31693 ac_cpp='$CPP $CPPFLAGS'
31694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31703 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31705 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31706 for ac_func in powl
31708 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31709 if test "x$ac_cv_func_powl" = x""yes; then :
31710 cat >>confdefs.h <<_ACEOF
31711 #define HAVE_POWL 1
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31720 $as_echo_n "checking for _powl declaration... " >&6; }
31721 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31722 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31723 $as_echo_n "(cached) " >&6
31728 ac_cpp='$CXXCPP $CPPFLAGS'
31729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31734 /* end confdefs.h. */
31744 if ac_fn_cxx_try_compile "$LINENO"; then :
31745 glibcxx_cv_func__powl_use=yes
31747 glibcxx_cv_func__powl_use=no
31749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31751 ac_cpp='$CPP $CPPFLAGS'
31752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31761 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31763 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31764 for ac_func in _powl
31766 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31767 if test "x$ac_cv_func__powl" = x""yes; then :
31768 cat >>confdefs.h <<_ACEOF
31769 #define HAVE__POWL 1
31782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31783 $as_echo_n "checking for sqrtl declaration... " >&6; }
31784 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31785 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31786 $as_echo_n "(cached) " >&6
31791 ac_cpp='$CXXCPP $CPPFLAGS'
31792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31797 /* end confdefs.h. */
31799 #ifdef HAVE_IEEEFP_H
31800 #include <ieeefp.h>
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812 glibcxx_cv_func_sqrtl_use=yes
31814 glibcxx_cv_func_sqrtl_use=no
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31828 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31830 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31831 for ac_func in sqrtl
31833 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31834 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31835 cat >>confdefs.h <<_ACEOF
31836 #define HAVE_SQRTL 1
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31845 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31846 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31847 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31848 $as_echo_n "(cached) " >&6
31853 ac_cpp='$CXXCPP $CPPFLAGS'
31854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31859 /* end confdefs.h. */
31861 #ifdef HAVE_IEEEFP_H
31862 #include <ieeefp.h>
31873 if ac_fn_cxx_try_compile "$LINENO"; then :
31874 glibcxx_cv_func__sqrtl_use=yes
31876 glibcxx_cv_func__sqrtl_use=no
31878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31880 ac_cpp='$CPP $CPPFLAGS'
31881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31890 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31892 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31893 for ac_func in _sqrtl
31895 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31896 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31897 cat >>confdefs.h <<_ACEOF
31898 #define HAVE__SQRTL 1
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31912 $as_echo_n "checking for sincosl declaration... " >&6; }
31913 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31914 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31915 $as_echo_n "(cached) " >&6
31920 ac_cpp='$CXXCPP $CPPFLAGS'
31921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31926 /* end confdefs.h. */
31936 if ac_fn_cxx_try_compile "$LINENO"; then :
31937 glibcxx_cv_func_sincosl_use=yes
31939 glibcxx_cv_func_sincosl_use=no
31941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31943 ac_cpp='$CPP $CPPFLAGS'
31944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31953 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31955 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31956 for ac_func in sincosl
31958 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31959 if test "x$ac_cv_func_sincosl" = x""yes; then :
31960 cat >>confdefs.h <<_ACEOF
31961 #define HAVE_SINCOSL 1
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31970 $as_echo_n "checking for _sincosl declaration... " >&6; }
31971 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31972 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31973 $as_echo_n "(cached) " >&6
31978 ac_cpp='$CXXCPP $CPPFLAGS'
31979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31984 /* end confdefs.h. */
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func__sincosl_use=yes
31997 glibcxx_cv_func__sincosl_use=no
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32011 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32013 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32014 for ac_func in _sincosl
32016 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32017 if test "x$ac_cv_func__sincosl" = x""yes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE__SINCOSL 1
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32033 $as_echo_n "checking for finitel declaration... " >&6; }
32034 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32035 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32036 $as_echo_n "(cached) " >&6
32041 ac_cpp='$CXXCPP $CPPFLAGS'
32042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32047 /* end confdefs.h. */
32049 #ifdef HAVE_IEEEFP_H
32050 #include <ieeefp.h>
32061 if ac_fn_cxx_try_compile "$LINENO"; then :
32062 glibcxx_cv_func_finitel_use=yes
32064 glibcxx_cv_func_finitel_use=no
32066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32068 ac_cpp='$CPP $CPPFLAGS'
32069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32078 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32080 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32081 for ac_func in finitel
32083 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32084 if test "x$ac_cv_func_finitel" = x""yes; then :
32085 cat >>confdefs.h <<_ACEOF
32086 #define HAVE_FINITEL 1
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32095 $as_echo_n "checking for _finitel declaration... " >&6; }
32096 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32097 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32098 $as_echo_n "(cached) " >&6
32103 ac_cpp='$CXXCPP $CPPFLAGS'
32104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32109 /* end confdefs.h. */
32111 #ifdef HAVE_IEEEFP_H
32112 #include <ieeefp.h>
32123 if ac_fn_cxx_try_compile "$LINENO"; then :
32124 glibcxx_cv_func__finitel_use=yes
32126 glibcxx_cv_func__finitel_use=no
32128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32130 ac_cpp='$CPP $CPPFLAGS'
32131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32140 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32142 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32143 for ac_func in _finitel
32145 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32146 if test "x$ac_cv_func__finitel" = x""yes; then :
32147 cat >>confdefs.h <<_ACEOF
32148 #define HAVE__FINITEL 1
32160 LIBS="$ac_save_LIBS"
32161 CXXFLAGS="$ac_save_CXXFLAGS"
32164 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32165 ac_save_CXXFLAGS="$CXXFLAGS"
32166 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32170 $as_echo_n "checking for strtold declaration... " >&6; }
32171 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32172 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32173 $as_echo_n "(cached) " >&6
32178 ac_cpp='$CXXCPP $CPPFLAGS'
32179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32184 /* end confdefs.h. */
32185 #include <stdlib.h>
32194 if ac_fn_cxx_try_compile "$LINENO"; then :
32195 glibcxx_cv_func_strtold_use=yes
32197 glibcxx_cv_func_strtold_use=no
32199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32201 ac_cpp='$CPP $CPPFLAGS'
32202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32211 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32212 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32213 for ac_func in strtold
32215 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32216 if test "x$ac_cv_func_strtold" = x""yes; then :
32217 cat >>confdefs.h <<_ACEOF
32218 #define HAVE_STRTOLD 1
32229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32230 $as_echo_n "checking for strtof declaration... " >&6; }
32231 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32232 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32233 $as_echo_n "(cached) " >&6
32238 ac_cpp='$CXXCPP $CPPFLAGS'
32239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32244 /* end confdefs.h. */
32245 #include <stdlib.h>
32254 if ac_fn_cxx_try_compile "$LINENO"; then :
32255 glibcxx_cv_func_strtof_use=yes
32257 glibcxx_cv_func_strtof_use=no
32259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32261 ac_cpp='$CPP $CPPFLAGS'
32262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32271 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32272 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32273 for ac_func in strtof
32275 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32276 if test "x$ac_cv_func_strtof" = x""yes; then :
32277 cat >>confdefs.h <<_ACEOF
32278 #define HAVE_STRTOF 1
32289 CXXFLAGS="$ac_save_CXXFLAGS"
32292 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32294 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32296 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32298 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32301 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32303 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32305 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32311 # If we're not using GNU ld, then there's no point in even trying these
32312 # tests. Check for that first. We should have already tested for gld
32313 # by now (in libtool), but require it now just to be safe...
32314 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32315 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32319 # The name set by libtool depends on the version of libtool. Shame on us
32320 # for depending on an impl detail, but c'est la vie. Older versions used
32321 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32322 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32323 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32324 # set (hence we're using an older libtool), then set it.
32325 if test x${with_gnu_ld+set} != xset; then
32326 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32327 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32330 with_gnu_ld=$ac_cv_prog_gnu_ld
32334 # Start by getting the version number. I think the libtool test already
32335 # does some of this, but throws away the result.
32336 glibcxx_ld_is_gold=no
32337 if test x"$with_gnu_ld" = x"yes"; then
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32339 $as_echo_n "checking for ld version... " >&6; }
32341 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32342 glibcxx_ld_is_gold=yes
32344 ldver=`$LD --version 2>/dev/null |
32345 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'`
32347 glibcxx_gnu_ld_version=`echo $ldver | \
32348 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32350 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32353 # Set --gc-sections.
32354 glibcxx_have_gc_sections=no
32355 if test "$glibcxx_ld_is_gold" = "yes"; then
32356 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32357 glibcxx_have_gc_sections=yes
32360 glibcxx_gcsections_min_ld=21602
32361 if test x"$with_gnu_ld" = x"yes" &&
32362 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32363 glibcxx_have_gc_sections=yes
32366 if test "$glibcxx_have_gc_sections" = "yes"; then
32367 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32368 # NB: This flag only works reliably after 2.16.1. Configure tests
32369 # for this are difficult, so hard wire a value that should work.
32371 ac_test_CFLAGS="${CFLAGS+set}"
32372 ac_save_CFLAGS="$CFLAGS"
32373 CFLAGS='-Wl,--gc-sections'
32375 # Check for -Wl,--gc-sections
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32377 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32378 if test x$gcc_no_link = xyes; then
32379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32382 /* end confdefs.h. */
32383 int one(void) { return 1; }
32384 int two(void) { return 2; }
32394 if ac_fn_c_try_link "$LINENO"; then :
32399 rm -f core conftest.err conftest.$ac_objext \
32400 conftest$ac_exeext conftest.$ac_ext
32401 if test "$ac_gcsections" = "yes"; then
32404 if $CC -c conftest.c; then
32405 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32406 grep "Warning: gc-sections option ignored" > /dev/null; then
32410 rm -f conftest.c conftest.o conftest
32412 if test "$ac_gcsections" = "yes"; then
32413 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32416 $as_echo "$ac_gcsections" >&6; }
32418 if test "$ac_test_CFLAGS" = set; then
32419 CFLAGS="$ac_save_CFLAGS"
32421 # this is the suspicious part
32427 # Note this is only for shared objects.
32429 if test x"$with_gnu_ld" = x"yes"; then
32430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32431 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32432 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32433 if test -n "$cxx_z_relo"; then
32434 OPT_LDFLAGS="-Wl,-z,relro"
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32438 $as_echo "$ac_ld_relro" >&6; }
32441 # Set linker optimization flags.
32442 if test x"$with_gnu_ld" = x"yes"; then
32443 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32450 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32451 ac_save_CXXFLAGS="$CXXFLAGS"
32452 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32455 $as_echo_n "checking for sin in -lm... " >&6; }
32456 if test "${ac_cv_lib_m_sin+set}" = set; then :
32457 $as_echo_n "(cached) " >&6
32459 ac_check_lib_save_LIBS=$LIBS
32461 if test x$gcc_no_link = xyes; then
32462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32465 /* end confdefs.h. */
32467 /* Override any GCC internal prototype to avoid an error.
32468 Use char because int might match the return type of a GCC
32469 builtin and then its argument prototype would still apply. */
32482 if ac_fn_c_try_link "$LINENO"; then :
32483 ac_cv_lib_m_sin=yes
32487 rm -f core conftest.err conftest.$ac_objext \
32488 conftest$ac_exeext conftest.$ac_ext
32489 LIBS=$ac_check_lib_save_LIBS
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32492 $as_echo "$ac_cv_lib_m_sin" >&6; }
32493 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32497 ac_save_LIBS="$LIBS"
32502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32503 $as_echo_n "checking for isinf declaration... " >&6; }
32504 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32505 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32506 $as_echo_n "(cached) " >&6
32511 ac_cpp='$CXXCPP $CPPFLAGS'
32512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32517 /* end confdefs.h. */
32519 #ifdef HAVE_IEEEFP_H
32520 #include <ieeefp.h>
32531 if ac_fn_cxx_try_compile "$LINENO"; then :
32532 glibcxx_cv_func_isinf_use=yes
32534 glibcxx_cv_func_isinf_use=no
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538 ac_cpp='$CPP $CPPFLAGS'
32539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32548 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32550 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32551 for ac_func in isinf
32553 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32554 if test "x$ac_cv_func_isinf" = x""yes; then :
32555 cat >>confdefs.h <<_ACEOF
32556 #define HAVE_ISINF 1
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32565 $as_echo_n "checking for _isinf declaration... " >&6; }
32566 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32567 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32568 $as_echo_n "(cached) " >&6
32573 ac_cpp='$CXXCPP $CPPFLAGS'
32574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32579 /* end confdefs.h. */
32581 #ifdef HAVE_IEEEFP_H
32582 #include <ieeefp.h>
32593 if ac_fn_cxx_try_compile "$LINENO"; then :
32594 glibcxx_cv_func__isinf_use=yes
32596 glibcxx_cv_func__isinf_use=no
32598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32600 ac_cpp='$CPP $CPPFLAGS'
32601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32610 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32612 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32613 for ac_func in _isinf
32615 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32616 if test "x$ac_cv_func__isinf" = x""yes; then :
32617 cat >>confdefs.h <<_ACEOF
32618 #define HAVE__ISINF 1
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32632 $as_echo_n "checking for isnan declaration... " >&6; }
32633 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32634 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32635 $as_echo_n "(cached) " >&6
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h. */
32648 #ifdef HAVE_IEEEFP_H
32649 #include <ieeefp.h>
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func_isnan_use=yes
32663 glibcxx_cv_func_isnan_use=no
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32677 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32679 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32680 for ac_func in isnan
32682 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32683 if test "x$ac_cv_func_isnan" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE_ISNAN 1
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32694 $as_echo_n "checking for _isnan declaration... " >&6; }
32695 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32696 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32708 /* end confdefs.h. */
32710 #ifdef HAVE_IEEEFP_H
32711 #include <ieeefp.h>
32722 if ac_fn_cxx_try_compile "$LINENO"; then :
32723 glibcxx_cv_func__isnan_use=yes
32725 glibcxx_cv_func__isnan_use=no
32727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32729 ac_cpp='$CPP $CPPFLAGS'
32730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32739 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32741 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32742 for ac_func in _isnan
32744 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32745 if test "x$ac_cv_func__isnan" = x""yes; then :
32746 cat >>confdefs.h <<_ACEOF
32747 #define HAVE__ISNAN 1
32760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32761 $as_echo_n "checking for finite declaration... " >&6; }
32762 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32763 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32764 $as_echo_n "(cached) " >&6
32769 ac_cpp='$CXXCPP $CPPFLAGS'
32770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32777 #ifdef HAVE_IEEEFP_H
32778 #include <ieeefp.h>
32789 if ac_fn_cxx_try_compile "$LINENO"; then :
32790 glibcxx_cv_func_finite_use=yes
32792 glibcxx_cv_func_finite_use=no
32794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796 ac_cpp='$CPP $CPPFLAGS'
32797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32806 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32808 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32809 for ac_func in finite
32811 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32812 if test "x$ac_cv_func_finite" = x""yes; then :
32813 cat >>confdefs.h <<_ACEOF
32814 #define HAVE_FINITE 1
32822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32823 $as_echo_n "checking for _finite declaration... " >&6; }
32824 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32825 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32826 $as_echo_n "(cached) " >&6
32831 ac_cpp='$CXXCPP $CPPFLAGS'
32832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32837 /* end confdefs.h. */
32839 #ifdef HAVE_IEEEFP_H
32840 #include <ieeefp.h>
32851 if ac_fn_cxx_try_compile "$LINENO"; then :
32852 glibcxx_cv_func__finite_use=yes
32854 glibcxx_cv_func__finite_use=no
32856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32858 ac_cpp='$CPP $CPPFLAGS'
32859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32868 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32870 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32871 for ac_func in _finite
32873 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32874 if test "x$ac_cv_func__finite" = x""yes; then :
32875 cat >>confdefs.h <<_ACEOF
32876 #define HAVE__FINITE 1
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32890 $as_echo_n "checking for sincos declaration... " >&6; }
32891 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32892 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32893 $as_echo_n "(cached) " >&6
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h. */
32914 if ac_fn_cxx_try_compile "$LINENO"; then :
32915 glibcxx_cv_func_sincos_use=yes
32917 glibcxx_cv_func_sincos_use=no
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32921 ac_cpp='$CPP $CPPFLAGS'
32922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32931 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32933 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32934 for ac_func in sincos
32936 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32937 if test "x$ac_cv_func_sincos" = x""yes; then :
32938 cat >>confdefs.h <<_ACEOF
32939 #define HAVE_SINCOS 1
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32948 $as_echo_n "checking for _sincos declaration... " >&6; }
32949 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32950 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32951 $as_echo_n "(cached) " >&6
32956 ac_cpp='$CXXCPP $CPPFLAGS'
32957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962 /* end confdefs.h. */
32972 if ac_fn_cxx_try_compile "$LINENO"; then :
32973 glibcxx_cv_func__sincos_use=yes
32975 glibcxx_cv_func__sincos_use=no
32977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32979 ac_cpp='$CPP $CPPFLAGS'
32980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32989 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32991 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32992 for ac_func in _sincos
32994 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32995 if test "x$ac_cv_func__sincos" = x""yes; then :
32996 cat >>confdefs.h <<_ACEOF
32997 #define HAVE__SINCOS 1
33010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33011 $as_echo_n "checking for fpclass declaration... " >&6; }
33012 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33013 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33014 $as_echo_n "(cached) " >&6
33019 ac_cpp='$CXXCPP $CPPFLAGS'
33020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33025 /* end confdefs.h. */
33027 #ifdef HAVE_IEEEFP_H
33028 #include <ieeefp.h>
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func_fpclass_use=yes
33042 glibcxx_cv_func_fpclass_use=no
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33056 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33058 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33059 for ac_func in fpclass
33061 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33062 if test "x$ac_cv_func_fpclass" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE_FPCLASS 1
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33073 $as_echo_n "checking for _fpclass declaration... " >&6; }
33074 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33075 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33076 $as_echo_n "(cached) " >&6
33081 ac_cpp='$CXXCPP $CPPFLAGS'
33082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33087 /* end confdefs.h. */
33089 #ifdef HAVE_IEEEFP_H
33090 #include <ieeefp.h>
33101 if ac_fn_cxx_try_compile "$LINENO"; then :
33102 glibcxx_cv_func__fpclass_use=yes
33104 glibcxx_cv_func__fpclass_use=no
33106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33108 ac_cpp='$CPP $CPPFLAGS'
33109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33118 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33120 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33121 for ac_func in _fpclass
33123 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33124 if test "x$ac_cv_func__fpclass" = x""yes; then :
33125 cat >>confdefs.h <<_ACEOF
33126 #define HAVE__FPCLASS 1
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33140 $as_echo_n "checking for qfpclass declaration... " >&6; }
33141 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33142 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33143 $as_echo_n "(cached) " >&6
33148 ac_cpp='$CXXCPP $CPPFLAGS'
33149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33154 /* end confdefs.h. */
33156 #ifdef HAVE_IEEEFP_H
33157 #include <ieeefp.h>
33168 if ac_fn_cxx_try_compile "$LINENO"; then :
33169 glibcxx_cv_func_qfpclass_use=yes
33171 glibcxx_cv_func_qfpclass_use=no
33173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 ac_cpp='$CPP $CPPFLAGS'
33176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33185 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33187 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33188 for ac_func in qfpclass
33190 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33191 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33192 cat >>confdefs.h <<_ACEOF
33193 #define HAVE_QFPCLASS 1
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33202 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33203 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33204 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33205 $as_echo_n "(cached) " >&6
33210 ac_cpp='$CXXCPP $CPPFLAGS'
33211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33216 /* end confdefs.h. */
33218 #ifdef HAVE_IEEEFP_H
33219 #include <ieeefp.h>
33230 if ac_fn_cxx_try_compile "$LINENO"; then :
33231 glibcxx_cv_func__qfpclass_use=yes
33233 glibcxx_cv_func__qfpclass_use=no
33235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33237 ac_cpp='$CPP $CPPFLAGS'
33238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33247 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33249 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33250 for ac_func in _qfpclass
33252 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33253 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33254 cat >>confdefs.h <<_ACEOF
33255 #define HAVE__QFPCLASS 1
33268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33269 $as_echo_n "checking for hypot declaration... " >&6; }
33270 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33271 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33272 $as_echo_n "(cached) " >&6
33277 ac_cpp='$CXXCPP $CPPFLAGS'
33278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33283 /* end confdefs.h. */
33293 if ac_fn_cxx_try_compile "$LINENO"; then :
33294 glibcxx_cv_func_hypot_use=yes
33296 glibcxx_cv_func_hypot_use=no
33298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33300 ac_cpp='$CPP $CPPFLAGS'
33301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33310 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33312 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33313 for ac_func in hypot
33315 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33316 if test "x$ac_cv_func_hypot" = x""yes; then :
33317 cat >>confdefs.h <<_ACEOF
33318 #define HAVE_HYPOT 1
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33327 $as_echo_n "checking for _hypot declaration... " >&6; }
33328 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33329 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33330 $as_echo_n "(cached) " >&6
33335 ac_cpp='$CXXCPP $CPPFLAGS'
33336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33351 if ac_fn_cxx_try_compile "$LINENO"; then :
33352 glibcxx_cv_func__hypot_use=yes
33354 glibcxx_cv_func__hypot_use=no
33356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33358 ac_cpp='$CPP $CPPFLAGS'
33359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33368 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33370 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33371 for ac_func in _hypot
33373 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33374 if test "x$ac_cv_func__hypot" = x""yes; then :
33375 cat >>confdefs.h <<_ACEOF
33376 #define HAVE__HYPOT 1
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33390 $as_echo_n "checking for float trig functions... " >&6; }
33391 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33392 $as_echo_n "(cached) " >&6
33397 ac_cpp='$CXXCPP $CPPFLAGS'
33398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33403 /* end confdefs.h. */
33408 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33413 if ac_fn_cxx_try_compile "$LINENO"; then :
33414 glibcxx_cv_func_float_trig_use=yes
33416 glibcxx_cv_func_float_trig_use=no
33418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33420 ac_cpp='$CPP $CPPFLAGS'
33421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33428 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33429 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33430 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33434 eval as_val=\$$as_ac_var
33435 if test "x$as_val" = x""yes; then :
33436 cat >>confdefs.h <<_ACEOF
33437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33445 $as_echo_n "checking for _float trig functions... " >&6; }
33446 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33447 $as_echo_n "(cached) " >&6
33452 ac_cpp='$CXXCPP $CPPFLAGS'
33453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33458 /* end confdefs.h. */
33463 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33468 if ac_fn_cxx_try_compile "$LINENO"; then :
33469 glibcxx_cv_func__float_trig_use=yes
33471 glibcxx_cv_func__float_trig_use=no
33473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_cpp='$CPP $CPPFLAGS'
33476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33483 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33484 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33485 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33489 eval as_val=\$$as_ac_var
33490 if test "x$as_val" = x""yes; then :
33491 cat >>confdefs.h <<_ACEOF
33492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33506 $as_echo_n "checking for float round functions... " >&6; }
33507 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33508 $as_echo_n "(cached) " >&6
33513 ac_cpp='$CXXCPP $CPPFLAGS'
33514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33519 /* end confdefs.h. */
33524 ceilf (0); floorf (0);
33529 if ac_fn_cxx_try_compile "$LINENO"; then :
33530 glibcxx_cv_func_float_round_use=yes
33532 glibcxx_cv_func_float_round_use=no
33534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33536 ac_cpp='$CPP $CPPFLAGS'
33537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33544 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33545 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33546 for ac_func in ceilf floorf
33548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33550 eval as_val=\$$as_ac_var
33551 if test "x$as_val" = x""yes; then :
33552 cat >>confdefs.h <<_ACEOF
33553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33561 $as_echo_n "checking for _float round functions... " >&6; }
33562 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33563 $as_echo_n "(cached) " >&6
33568 ac_cpp='$CXXCPP $CPPFLAGS'
33569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33574 /* end confdefs.h. */
33579 _ceilf (0); _floorf (0);
33584 if ac_fn_cxx_try_compile "$LINENO"; then :
33585 glibcxx_cv_func__float_round_use=yes
33587 glibcxx_cv_func__float_round_use=no
33589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33591 ac_cpp='$CPP $CPPFLAGS'
33592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33599 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33600 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33601 for ac_func in _ceilf _floorf
33603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33605 eval as_val=\$$as_ac_var
33606 if test "x$as_val" = x""yes; then :
33607 cat >>confdefs.h <<_ACEOF
33608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33623 $as_echo_n "checking for expf declaration... " >&6; }
33624 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33625 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33626 $as_echo_n "(cached) " >&6
33631 ac_cpp='$CXXCPP $CPPFLAGS'
33632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33637 /* end confdefs.h. */
33639 #ifdef HAVE_IEEEFP_H
33640 #include <ieeefp.h>
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652 glibcxx_cv_func_expf_use=yes
33654 glibcxx_cv_func_expf_use=no
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33668 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33670 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33671 for ac_func in expf
33673 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33674 if test "x$ac_cv_func_expf" = x""yes; then :
33675 cat >>confdefs.h <<_ACEOF
33676 #define HAVE_EXPF 1
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33685 $as_echo_n "checking for _expf declaration... " >&6; }
33686 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33687 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33688 $as_echo_n "(cached) " >&6
33693 ac_cpp='$CXXCPP $CPPFLAGS'
33694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33699 /* end confdefs.h. */
33701 #ifdef HAVE_IEEEFP_H
33702 #include <ieeefp.h>
33713 if ac_fn_cxx_try_compile "$LINENO"; then :
33714 glibcxx_cv_func__expf_use=yes
33716 glibcxx_cv_func__expf_use=no
33718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33720 ac_cpp='$CPP $CPPFLAGS'
33721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33730 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33732 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33733 for ac_func in _expf
33735 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33736 if test "x$ac_cv_func__expf" = x""yes; then :
33737 cat >>confdefs.h <<_ACEOF
33738 #define HAVE__EXPF 1
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33752 $as_echo_n "checking for isnanf declaration... " >&6; }
33753 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33754 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33755 $as_echo_n "(cached) " >&6
33760 ac_cpp='$CXXCPP $CPPFLAGS'
33761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33766 /* end confdefs.h. */
33768 #ifdef HAVE_IEEEFP_H
33769 #include <ieeefp.h>
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781 glibcxx_cv_func_isnanf_use=yes
33783 glibcxx_cv_func_isnanf_use=no
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33797 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33799 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33800 for ac_func in isnanf
33802 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33803 if test "x$ac_cv_func_isnanf" = x""yes; then :
33804 cat >>confdefs.h <<_ACEOF
33805 #define HAVE_ISNANF 1
33813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33814 $as_echo_n "checking for _isnanf declaration... " >&6; }
33815 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33816 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33817 $as_echo_n "(cached) " >&6
33822 ac_cpp='$CXXCPP $CPPFLAGS'
33823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33828 /* end confdefs.h. */
33830 #ifdef HAVE_IEEEFP_H
33831 #include <ieeefp.h>
33842 if ac_fn_cxx_try_compile "$LINENO"; then :
33843 glibcxx_cv_func__isnanf_use=yes
33845 glibcxx_cv_func__isnanf_use=no
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 ac_cpp='$CPP $CPPFLAGS'
33850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33859 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33861 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33862 for ac_func in _isnanf
33864 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33865 if test "x$ac_cv_func__isnanf" = x""yes; then :
33866 cat >>confdefs.h <<_ACEOF
33867 #define HAVE__ISNANF 1
33880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33881 $as_echo_n "checking for isinff declaration... " >&6; }
33882 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33883 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33884 $as_echo_n "(cached) " >&6
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895 /* end confdefs.h. */
33897 #ifdef HAVE_IEEEFP_H
33898 #include <ieeefp.h>
33909 if ac_fn_cxx_try_compile "$LINENO"; then :
33910 glibcxx_cv_func_isinff_use=yes
33912 glibcxx_cv_func_isinff_use=no
33914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33916 ac_cpp='$CPP $CPPFLAGS'
33917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33926 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33928 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33929 for ac_func in isinff
33931 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33932 if test "x$ac_cv_func_isinff" = x""yes; then :
33933 cat >>confdefs.h <<_ACEOF
33934 #define HAVE_ISINFF 1
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33943 $as_echo_n "checking for _isinff declaration... " >&6; }
33944 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33945 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33946 $as_echo_n "(cached) " >&6
33951 ac_cpp='$CXXCPP $CPPFLAGS'
33952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33957 /* end confdefs.h. */
33959 #ifdef HAVE_IEEEFP_H
33960 #include <ieeefp.h>
33971 if ac_fn_cxx_try_compile "$LINENO"; then :
33972 glibcxx_cv_func__isinff_use=yes
33974 glibcxx_cv_func__isinff_use=no
33976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33978 ac_cpp='$CPP $CPPFLAGS'
33979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33988 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33990 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33991 for ac_func in _isinff
33993 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33994 if test "x$ac_cv_func__isinff" = x""yes; then :
33995 cat >>confdefs.h <<_ACEOF
33996 #define HAVE__ISINFF 1
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34010 $as_echo_n "checking for atan2f declaration... " >&6; }
34011 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34012 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34013 $as_echo_n "(cached) " >&6
34018 ac_cpp='$CXXCPP $CPPFLAGS'
34019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34034 if ac_fn_cxx_try_compile "$LINENO"; then :
34035 glibcxx_cv_func_atan2f_use=yes
34037 glibcxx_cv_func_atan2f_use=no
34039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34041 ac_cpp='$CPP $CPPFLAGS'
34042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34051 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34053 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34054 for ac_func in atan2f
34056 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34057 if test "x$ac_cv_func_atan2f" = x""yes; then :
34058 cat >>confdefs.h <<_ACEOF
34059 #define HAVE_ATAN2F 1
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34068 $as_echo_n "checking for _atan2f declaration... " >&6; }
34069 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34070 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34071 $as_echo_n "(cached) " >&6
34076 ac_cpp='$CXXCPP $CPPFLAGS'
34077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34082 /* end confdefs.h. */
34092 if ac_fn_cxx_try_compile "$LINENO"; then :
34093 glibcxx_cv_func__atan2f_use=yes
34095 glibcxx_cv_func__atan2f_use=no
34097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34099 ac_cpp='$CPP $CPPFLAGS'
34100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34109 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34111 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34112 for ac_func in _atan2f
34114 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34115 if test "x$ac_cv_func__atan2f" = x""yes; then :
34116 cat >>confdefs.h <<_ACEOF
34117 #define HAVE__ATAN2F 1
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34131 $as_echo_n "checking for fabsf declaration... " >&6; }
34132 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34133 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34134 $as_echo_n "(cached) " >&6
34139 ac_cpp='$CXXCPP $CPPFLAGS'
34140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34145 /* end confdefs.h. */
34147 #ifdef HAVE_IEEEFP_H
34148 #include <ieeefp.h>
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160 glibcxx_cv_func_fabsf_use=yes
34162 glibcxx_cv_func_fabsf_use=no
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34176 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34178 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34179 for ac_func in fabsf
34181 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34182 if test "x$ac_cv_func_fabsf" = x""yes; then :
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE_FABSF 1
34192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34193 $as_echo_n "checking for _fabsf declaration... " >&6; }
34194 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34195 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34196 $as_echo_n "(cached) " >&6
34201 ac_cpp='$CXXCPP $CPPFLAGS'
34202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34207 /* end confdefs.h. */
34209 #ifdef HAVE_IEEEFP_H
34210 #include <ieeefp.h>
34221 if ac_fn_cxx_try_compile "$LINENO"; then :
34222 glibcxx_cv_func__fabsf_use=yes
34224 glibcxx_cv_func__fabsf_use=no
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34228 ac_cpp='$CPP $CPPFLAGS'
34229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34238 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34240 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34241 for ac_func in _fabsf
34243 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34244 if test "x$ac_cv_func__fabsf" = x""yes; then :
34245 cat >>confdefs.h <<_ACEOF
34246 #define HAVE__FABSF 1
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34260 $as_echo_n "checking for fmodf declaration... " >&6; }
34261 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34262 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34284 if ac_fn_cxx_try_compile "$LINENO"; then :
34285 glibcxx_cv_func_fmodf_use=yes
34287 glibcxx_cv_func_fmodf_use=no
34289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34291 ac_cpp='$CPP $CPPFLAGS'
34292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34301 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34303 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34304 for ac_func in fmodf
34306 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34307 if test "x$ac_cv_func_fmodf" = x""yes; then :
34308 cat >>confdefs.h <<_ACEOF
34309 #define HAVE_FMODF 1
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34318 $as_echo_n "checking for _fmodf declaration... " >&6; }
34319 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34320 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34321 $as_echo_n "(cached) " >&6
34326 ac_cpp='$CXXCPP $CPPFLAGS'
34327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34332 /* end confdefs.h. */
34342 if ac_fn_cxx_try_compile "$LINENO"; then :
34343 glibcxx_cv_func__fmodf_use=yes
34345 glibcxx_cv_func__fmodf_use=no
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34349 ac_cpp='$CPP $CPPFLAGS'
34350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34359 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34361 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34362 for ac_func in _fmodf
34364 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34365 if test "x$ac_cv_func__fmodf" = x""yes; then :
34366 cat >>confdefs.h <<_ACEOF
34367 #define HAVE__FMODF 1
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34381 $as_echo_n "checking for frexpf declaration... " >&6; }
34382 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34383 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34384 $as_echo_n "(cached) " >&6
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395 /* end confdefs.h. */
34405 if ac_fn_cxx_try_compile "$LINENO"; then :
34406 glibcxx_cv_func_frexpf_use=yes
34408 glibcxx_cv_func_frexpf_use=no
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34412 ac_cpp='$CPP $CPPFLAGS'
34413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34422 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34424 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34425 for ac_func in frexpf
34427 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34428 if test "x$ac_cv_func_frexpf" = x""yes; then :
34429 cat >>confdefs.h <<_ACEOF
34430 #define HAVE_FREXPF 1
34438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34439 $as_echo_n "checking for _frexpf declaration... " >&6; }
34440 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34441 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34442 $as_echo_n "(cached) " >&6
34447 ac_cpp='$CXXCPP $CPPFLAGS'
34448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34453 /* end confdefs.h. */
34463 if ac_fn_cxx_try_compile "$LINENO"; then :
34464 glibcxx_cv_func__frexpf_use=yes
34466 glibcxx_cv_func__frexpf_use=no
34468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34470 ac_cpp='$CPP $CPPFLAGS'
34471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34480 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34482 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34483 for ac_func in _frexpf
34485 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34486 if test "x$ac_cv_func__frexpf" = x""yes; then :
34487 cat >>confdefs.h <<_ACEOF
34488 #define HAVE__FREXPF 1
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34502 $as_echo_n "checking for hypotf declaration... " >&6; }
34503 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34504 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34505 $as_echo_n "(cached) " >&6
34510 ac_cpp='$CXXCPP $CPPFLAGS'
34511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34516 /* end confdefs.h. */
34526 if ac_fn_cxx_try_compile "$LINENO"; then :
34527 glibcxx_cv_func_hypotf_use=yes
34529 glibcxx_cv_func_hypotf_use=no
34531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 ac_cpp='$CPP $CPPFLAGS'
34534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34543 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34545 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34546 for ac_func in hypotf
34548 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34549 if test "x$ac_cv_func_hypotf" = x""yes; then :
34550 cat >>confdefs.h <<_ACEOF
34551 #define HAVE_HYPOTF 1
34559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34560 $as_echo_n "checking for _hypotf declaration... " >&6; }
34561 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34562 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34563 $as_echo_n "(cached) " >&6
34568 ac_cpp='$CXXCPP $CPPFLAGS'
34569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34574 /* end confdefs.h. */
34584 if ac_fn_cxx_try_compile "$LINENO"; then :
34585 glibcxx_cv_func__hypotf_use=yes
34587 glibcxx_cv_func__hypotf_use=no
34589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 ac_cpp='$CPP $CPPFLAGS'
34592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34601 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34603 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34604 for ac_func in _hypotf
34606 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34607 if test "x$ac_cv_func__hypotf" = x""yes; then :
34608 cat >>confdefs.h <<_ACEOF
34609 #define HAVE__HYPOTF 1
34622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34623 $as_echo_n "checking for ldexpf declaration... " >&6; }
34624 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34625 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34626 $as_echo_n "(cached) " >&6
34631 ac_cpp='$CXXCPP $CPPFLAGS'
34632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34637 /* end confdefs.h. */
34647 if ac_fn_cxx_try_compile "$LINENO"; then :
34648 glibcxx_cv_func_ldexpf_use=yes
34650 glibcxx_cv_func_ldexpf_use=no
34652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654 ac_cpp='$CPP $CPPFLAGS'
34655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34664 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34666 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34667 for ac_func in ldexpf
34669 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34670 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34671 cat >>confdefs.h <<_ACEOF
34672 #define HAVE_LDEXPF 1
34680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34681 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34682 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34683 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34684 $as_echo_n "(cached) " >&6
34689 ac_cpp='$CXXCPP $CPPFLAGS'
34690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34695 /* end confdefs.h. */
34705 if ac_fn_cxx_try_compile "$LINENO"; then :
34706 glibcxx_cv_func__ldexpf_use=yes
34708 glibcxx_cv_func__ldexpf_use=no
34710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34712 ac_cpp='$CPP $CPPFLAGS'
34713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34722 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34724 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34725 for ac_func in _ldexpf
34727 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34728 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34729 cat >>confdefs.h <<_ACEOF
34730 #define HAVE__LDEXPF 1
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34744 $as_echo_n "checking for logf declaration... " >&6; }
34745 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34746 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34747 $as_echo_n "(cached) " >&6
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h. */
34760 #ifdef HAVE_IEEEFP_H
34761 #include <ieeefp.h>
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func_logf_use=yes
34775 glibcxx_cv_func_logf_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34789 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34791 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34792 for ac_func in logf
34794 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34795 if test "x$ac_cv_func_logf" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE_LOGF 1
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34806 $as_echo_n "checking for _logf declaration... " >&6; }
34807 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34808 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34809 $as_echo_n "(cached) " >&6
34814 ac_cpp='$CXXCPP $CPPFLAGS'
34815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34820 /* end confdefs.h. */
34822 #ifdef HAVE_IEEEFP_H
34823 #include <ieeefp.h>
34834 if ac_fn_cxx_try_compile "$LINENO"; then :
34835 glibcxx_cv_func__logf_use=yes
34837 glibcxx_cv_func__logf_use=no
34839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34841 ac_cpp='$CPP $CPPFLAGS'
34842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34851 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34853 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34854 for ac_func in _logf
34856 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34857 if test "x$ac_cv_func__logf" = x""yes; then :
34858 cat >>confdefs.h <<_ACEOF
34859 #define HAVE__LOGF 1
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34873 $as_echo_n "checking for log10f declaration... " >&6; }
34874 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34875 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34876 $as_echo_n "(cached) " >&6
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h. */
34889 #ifdef HAVE_IEEEFP_H
34890 #include <ieeefp.h>
34901 if ac_fn_cxx_try_compile "$LINENO"; then :
34902 glibcxx_cv_func_log10f_use=yes
34904 glibcxx_cv_func_log10f_use=no
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34918 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34920 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34921 for ac_func in log10f
34923 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34924 if test "x$ac_cv_func_log10f" = x""yes; then :
34925 cat >>confdefs.h <<_ACEOF
34926 #define HAVE_LOG10F 1
34934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34935 $as_echo_n "checking for _log10f declaration... " >&6; }
34936 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34937 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34938 $as_echo_n "(cached) " >&6
34943 ac_cpp='$CXXCPP $CPPFLAGS'
34944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34949 /* end confdefs.h. */
34951 #ifdef HAVE_IEEEFP_H
34952 #include <ieeefp.h>
34963 if ac_fn_cxx_try_compile "$LINENO"; then :
34964 glibcxx_cv_func__log10f_use=yes
34966 glibcxx_cv_func__log10f_use=no
34968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34970 ac_cpp='$CPP $CPPFLAGS'
34971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34980 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34982 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34983 for ac_func in _log10f
34985 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34986 if test "x$ac_cv_func__log10f" = x""yes; then :
34987 cat >>confdefs.h <<_ACEOF
34988 #define HAVE__LOG10F 1
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35002 $as_echo_n "checking for modff declaration... " >&6; }
35003 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35004 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35005 $as_echo_n "(cached) " >&6
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35016 /* end confdefs.h. */
35026 if ac_fn_cxx_try_compile "$LINENO"; then :
35027 glibcxx_cv_func_modff_use=yes
35029 glibcxx_cv_func_modff_use=no
35031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35033 ac_cpp='$CPP $CPPFLAGS'
35034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35043 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35045 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35046 for ac_func in modff
35048 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35049 if test "x$ac_cv_func_modff" = x""yes; then :
35050 cat >>confdefs.h <<_ACEOF
35051 #define HAVE_MODFF 1
35059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35060 $as_echo_n "checking for _modff declaration... " >&6; }
35061 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35062 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35063 $as_echo_n "(cached) " >&6
35068 ac_cpp='$CXXCPP $CPPFLAGS'
35069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35074 /* end confdefs.h. */
35084 if ac_fn_cxx_try_compile "$LINENO"; then :
35085 glibcxx_cv_func__modff_use=yes
35087 glibcxx_cv_func__modff_use=no
35089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35091 ac_cpp='$CPP $CPPFLAGS'
35092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35101 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35103 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35104 for ac_func in _modff
35106 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35107 if test "x$ac_cv_func__modff" = x""yes; then :
35108 cat >>confdefs.h <<_ACEOF
35109 #define HAVE__MODFF 1
35122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35123 $as_echo_n "checking for modf declaration... " >&6; }
35124 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35125 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35126 $as_echo_n "(cached) " >&6
35131 ac_cpp='$CXXCPP $CPPFLAGS'
35132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h. */
35147 if ac_fn_cxx_try_compile "$LINENO"; then :
35148 glibcxx_cv_func_modf_use=yes
35150 glibcxx_cv_func_modf_use=no
35152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35154 ac_cpp='$CPP $CPPFLAGS'
35155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35164 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35166 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35167 for ac_func in modf
35169 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35170 if test "x$ac_cv_func_modf" = x""yes; then :
35171 cat >>confdefs.h <<_ACEOF
35172 #define HAVE_MODF 1
35180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35181 $as_echo_n "checking for _modf declaration... " >&6; }
35182 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35183 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35184 $as_echo_n "(cached) " >&6
35189 ac_cpp='$CXXCPP $CPPFLAGS'
35190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35195 /* end confdefs.h. */
35205 if ac_fn_cxx_try_compile "$LINENO"; then :
35206 glibcxx_cv_func__modf_use=yes
35208 glibcxx_cv_func__modf_use=no
35210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35212 ac_cpp='$CPP $CPPFLAGS'
35213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35222 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35224 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35225 for ac_func in _modf
35227 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35228 if test "x$ac_cv_func__modf" = x""yes; then :
35229 cat >>confdefs.h <<_ACEOF
35230 #define HAVE__MODF 1
35243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35244 $as_echo_n "checking for powf declaration... " >&6; }
35245 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35246 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35247 $as_echo_n "(cached) " >&6
35252 ac_cpp='$CXXCPP $CPPFLAGS'
35253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35258 /* end confdefs.h. */
35268 if ac_fn_cxx_try_compile "$LINENO"; then :
35269 glibcxx_cv_func_powf_use=yes
35271 glibcxx_cv_func_powf_use=no
35273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35275 ac_cpp='$CPP $CPPFLAGS'
35276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35285 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35287 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35288 for ac_func in powf
35290 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35291 if test "x$ac_cv_func_powf" = x""yes; then :
35292 cat >>confdefs.h <<_ACEOF
35293 #define HAVE_POWF 1
35301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35302 $as_echo_n "checking for _powf declaration... " >&6; }
35303 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35304 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35305 $as_echo_n "(cached) " >&6
35310 ac_cpp='$CXXCPP $CPPFLAGS'
35311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35316 /* end confdefs.h. */
35326 if ac_fn_cxx_try_compile "$LINENO"; then :
35327 glibcxx_cv_func__powf_use=yes
35329 glibcxx_cv_func__powf_use=no
35331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35333 ac_cpp='$CPP $CPPFLAGS'
35334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35343 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35345 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35346 for ac_func in _powf
35348 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35349 if test "x$ac_cv_func__powf" = x""yes; then :
35350 cat >>confdefs.h <<_ACEOF
35351 #define HAVE__POWF 1
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35365 $as_echo_n "checking for sqrtf declaration... " >&6; }
35366 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35367 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35368 $as_echo_n "(cached) " >&6
35373 ac_cpp='$CXXCPP $CPPFLAGS'
35374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35379 /* end confdefs.h. */
35381 #ifdef HAVE_IEEEFP_H
35382 #include <ieeefp.h>
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394 glibcxx_cv_func_sqrtf_use=yes
35396 glibcxx_cv_func_sqrtf_use=no
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35410 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35412 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35413 for ac_func in sqrtf
35415 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35416 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35417 cat >>confdefs.h <<_ACEOF
35418 #define HAVE_SQRTF 1
35426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35427 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35428 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35429 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35430 $as_echo_n "(cached) " >&6
35435 ac_cpp='$CXXCPP $CPPFLAGS'
35436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35441 /* end confdefs.h. */
35443 #ifdef HAVE_IEEEFP_H
35444 #include <ieeefp.h>
35455 if ac_fn_cxx_try_compile "$LINENO"; then :
35456 glibcxx_cv_func__sqrtf_use=yes
35458 glibcxx_cv_func__sqrtf_use=no
35460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35462 ac_cpp='$CPP $CPPFLAGS'
35463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35472 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35474 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35475 for ac_func in _sqrtf
35477 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35478 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35479 cat >>confdefs.h <<_ACEOF
35480 #define HAVE__SQRTF 1
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35494 $as_echo_n "checking for sincosf declaration... " >&6; }
35495 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35496 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35497 $as_echo_n "(cached) " >&6
35502 ac_cpp='$CXXCPP $CPPFLAGS'
35503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35508 /* end confdefs.h. */
35518 if ac_fn_cxx_try_compile "$LINENO"; then :
35519 glibcxx_cv_func_sincosf_use=yes
35521 glibcxx_cv_func_sincosf_use=no
35523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35525 ac_cpp='$CPP $CPPFLAGS'
35526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35535 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35537 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35538 for ac_func in sincosf
35540 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35541 if test "x$ac_cv_func_sincosf" = x""yes; then :
35542 cat >>confdefs.h <<_ACEOF
35543 #define HAVE_SINCOSF 1
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35552 $as_echo_n "checking for _sincosf declaration... " >&6; }
35553 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35554 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35555 $as_echo_n "(cached) " >&6
35560 ac_cpp='$CXXCPP $CPPFLAGS'
35561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35566 /* end confdefs.h. */
35576 if ac_fn_cxx_try_compile "$LINENO"; then :
35577 glibcxx_cv_func__sincosf_use=yes
35579 glibcxx_cv_func__sincosf_use=no
35581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35583 ac_cpp='$CPP $CPPFLAGS'
35584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35593 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35595 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35596 for ac_func in _sincosf
35598 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35599 if test "x$ac_cv_func__sincosf" = x""yes; then :
35600 cat >>confdefs.h <<_ACEOF
35601 #define HAVE__SINCOSF 1
35614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35615 $as_echo_n "checking for finitef declaration... " >&6; }
35616 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35617 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35618 $as_echo_n "(cached) " >&6
35623 ac_cpp='$CXXCPP $CPPFLAGS'
35624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35629 /* end confdefs.h. */
35631 #ifdef HAVE_IEEEFP_H
35632 #include <ieeefp.h>
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func_finitef_use=yes
35646 glibcxx_cv_func_finitef_use=no
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35660 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35662 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35663 for ac_func in finitef
35665 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35666 if test "x$ac_cv_func_finitef" = x""yes; then :
35667 cat >>confdefs.h <<_ACEOF
35668 #define HAVE_FINITEF 1
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35677 $as_echo_n "checking for _finitef declaration... " >&6; }
35678 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35679 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35680 $as_echo_n "(cached) " >&6
35685 ac_cpp='$CXXCPP $CPPFLAGS'
35686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35691 /* end confdefs.h. */
35693 #ifdef HAVE_IEEEFP_H
35694 #include <ieeefp.h>
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706 glibcxx_cv_func__finitef_use=yes
35708 glibcxx_cv_func__finitef_use=no
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35722 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35724 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35725 for ac_func in _finitef
35727 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35728 if test "x$ac_cv_func__finitef" = x""yes; then :
35729 cat >>confdefs.h <<_ACEOF
35730 #define HAVE__FINITEF 1
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35744 $as_echo_n "checking for long double trig functions... " >&6; }
35745 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35746 $as_echo_n "(cached) " >&6
35751 ac_cpp='$CXXCPP $CPPFLAGS'
35752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757 /* end confdefs.h. */
35762 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35767 if ac_fn_cxx_try_compile "$LINENO"; then :
35768 glibcxx_cv_func_long_double_trig_use=yes
35770 glibcxx_cv_func_long_double_trig_use=no
35772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35774 ac_cpp='$CPP $CPPFLAGS'
35775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35782 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35783 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35784 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35788 eval as_val=\$$as_ac_var
35789 if test "x$as_val" = x""yes; then :
35790 cat >>confdefs.h <<_ACEOF
35791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35799 $as_echo_n "checking for _long double trig functions... " >&6; }
35800 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35801 $as_echo_n "(cached) " >&6
35806 ac_cpp='$CXXCPP $CPPFLAGS'
35807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35812 /* end confdefs.h. */
35817 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35822 if ac_fn_cxx_try_compile "$LINENO"; then :
35823 glibcxx_cv_func__long_double_trig_use=yes
35825 glibcxx_cv_func__long_double_trig_use=no
35827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35829 ac_cpp='$CPP $CPPFLAGS'
35830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35837 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35838 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35839 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35843 eval as_val=\$$as_ac_var
35844 if test "x$as_val" = x""yes; then :
35845 cat >>confdefs.h <<_ACEOF
35846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35860 $as_echo_n "checking for long double round functions... " >&6; }
35861 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35862 $as_echo_n "(cached) " >&6
35867 ac_cpp='$CXXCPP $CPPFLAGS'
35868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35878 ceill (0); floorl (0);
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func_long_double_round_use=yes
35886 glibcxx_cv_func_long_double_round_use=no
35888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35890 ac_cpp='$CPP $CPPFLAGS'
35891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35898 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35899 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35900 for ac_func in ceill floorl
35902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35904 eval as_val=\$$as_ac_var
35905 if test "x$as_val" = x""yes; then :
35906 cat >>confdefs.h <<_ACEOF
35907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35915 $as_echo_n "checking for _long double round functions... " >&6; }
35916 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35917 $as_echo_n "(cached) " >&6
35922 ac_cpp='$CXXCPP $CPPFLAGS'
35923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35928 /* end confdefs.h. */
35933 _ceill (0); _floorl (0);
35938 if ac_fn_cxx_try_compile "$LINENO"; then :
35939 glibcxx_cv_func__long_double_round_use=yes
35941 glibcxx_cv_func__long_double_round_use=no
35943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35945 ac_cpp='$CPP $CPPFLAGS'
35946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35953 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35954 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35955 for ac_func in _ceill _floorl
35957 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35959 eval as_val=\$$as_ac_var
35960 if test "x$as_val" = x""yes; then :
35961 cat >>confdefs.h <<_ACEOF
35962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35977 $as_echo_n "checking for isnanl declaration... " >&6; }
35978 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35979 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35980 $as_echo_n "(cached) " >&6
35985 ac_cpp='$CXXCPP $CPPFLAGS'
35986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35991 /* end confdefs.h. */
35993 #ifdef HAVE_IEEEFP_H
35994 #include <ieeefp.h>
36005 if ac_fn_cxx_try_compile "$LINENO"; then :
36006 glibcxx_cv_func_isnanl_use=yes
36008 glibcxx_cv_func_isnanl_use=no
36010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36012 ac_cpp='$CPP $CPPFLAGS'
36013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36022 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36024 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36025 for ac_func in isnanl
36027 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36028 if test "x$ac_cv_func_isnanl" = x""yes; then :
36029 cat >>confdefs.h <<_ACEOF
36030 #define HAVE_ISNANL 1
36038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36039 $as_echo_n "checking for _isnanl declaration... " >&6; }
36040 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36041 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36042 $as_echo_n "(cached) " >&6
36047 ac_cpp='$CXXCPP $CPPFLAGS'
36048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36053 /* end confdefs.h. */
36055 #ifdef HAVE_IEEEFP_H
36056 #include <ieeefp.h>
36067 if ac_fn_cxx_try_compile "$LINENO"; then :
36068 glibcxx_cv_func__isnanl_use=yes
36070 glibcxx_cv_func__isnanl_use=no
36072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36074 ac_cpp='$CPP $CPPFLAGS'
36075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36084 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36086 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36087 for ac_func in _isnanl
36089 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36090 if test "x$ac_cv_func__isnanl" = x""yes; then :
36091 cat >>confdefs.h <<_ACEOF
36092 #define HAVE__ISNANL 1
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36106 $as_echo_n "checking for isinfl declaration... " >&6; }
36107 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36108 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36109 $as_echo_n "(cached) " >&6
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h. */
36122 #ifdef HAVE_IEEEFP_H
36123 #include <ieeefp.h>
36134 if ac_fn_cxx_try_compile "$LINENO"; then :
36135 glibcxx_cv_func_isinfl_use=yes
36137 glibcxx_cv_func_isinfl_use=no
36139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36151 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36153 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36154 for ac_func in isinfl
36156 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36157 if test "x$ac_cv_func_isinfl" = x""yes; then :
36158 cat >>confdefs.h <<_ACEOF
36159 #define HAVE_ISINFL 1
36167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36168 $as_echo_n "checking for _isinfl declaration... " >&6; }
36169 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36170 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36171 $as_echo_n "(cached) " >&6
36176 ac_cpp='$CXXCPP $CPPFLAGS'
36177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36182 /* end confdefs.h. */
36184 #ifdef HAVE_IEEEFP_H
36185 #include <ieeefp.h>
36196 if ac_fn_cxx_try_compile "$LINENO"; then :
36197 glibcxx_cv_func__isinfl_use=yes
36199 glibcxx_cv_func__isinfl_use=no
36201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36203 ac_cpp='$CPP $CPPFLAGS'
36204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36213 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36215 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36216 for ac_func in _isinfl
36218 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36219 if test "x$ac_cv_func__isinfl" = x""yes; then :
36220 cat >>confdefs.h <<_ACEOF
36221 #define HAVE__ISINFL 1
36234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36235 $as_echo_n "checking for atan2l declaration... " >&6; }
36236 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36237 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36238 $as_echo_n "(cached) " >&6
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36249 /* end confdefs.h. */
36259 if ac_fn_cxx_try_compile "$LINENO"; then :
36260 glibcxx_cv_func_atan2l_use=yes
36262 glibcxx_cv_func_atan2l_use=no
36264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36266 ac_cpp='$CPP $CPPFLAGS'
36267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36276 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36278 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36279 for ac_func in atan2l
36281 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36282 if test "x$ac_cv_func_atan2l" = x""yes; then :
36283 cat >>confdefs.h <<_ACEOF
36284 #define HAVE_ATAN2L 1
36292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36293 $as_echo_n "checking for _atan2l declaration... " >&6; }
36294 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36295 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36296 $as_echo_n "(cached) " >&6
36301 ac_cpp='$CXXCPP $CPPFLAGS'
36302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36307 /* end confdefs.h. */
36317 if ac_fn_cxx_try_compile "$LINENO"; then :
36318 glibcxx_cv_func__atan2l_use=yes
36320 glibcxx_cv_func__atan2l_use=no
36322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36324 ac_cpp='$CPP $CPPFLAGS'
36325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36334 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36336 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36337 for ac_func in _atan2l
36339 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36340 if test "x$ac_cv_func__atan2l" = x""yes; then :
36341 cat >>confdefs.h <<_ACEOF
36342 #define HAVE__ATAN2L 1
36355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36356 $as_echo_n "checking for expl declaration... " >&6; }
36357 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36358 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36359 $as_echo_n "(cached) " >&6
36364 ac_cpp='$CXXCPP $CPPFLAGS'
36365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36370 /* end confdefs.h. */
36372 #ifdef HAVE_IEEEFP_H
36373 #include <ieeefp.h>
36384 if ac_fn_cxx_try_compile "$LINENO"; then :
36385 glibcxx_cv_func_expl_use=yes
36387 glibcxx_cv_func_expl_use=no
36389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36401 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36403 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36404 for ac_func in expl
36406 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36407 if test "x$ac_cv_func_expl" = x""yes; then :
36408 cat >>confdefs.h <<_ACEOF
36409 #define HAVE_EXPL 1
36417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36418 $as_echo_n "checking for _expl declaration... " >&6; }
36419 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36420 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36421 $as_echo_n "(cached) " >&6
36426 ac_cpp='$CXXCPP $CPPFLAGS'
36427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36432 /* end confdefs.h. */
36434 #ifdef HAVE_IEEEFP_H
36435 #include <ieeefp.h>
36446 if ac_fn_cxx_try_compile "$LINENO"; then :
36447 glibcxx_cv_func__expl_use=yes
36449 glibcxx_cv_func__expl_use=no
36451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36453 ac_cpp='$CPP $CPPFLAGS'
36454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36463 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36465 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36466 for ac_func in _expl
36468 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36469 if test "x$ac_cv_func__expl" = x""yes; then :
36470 cat >>confdefs.h <<_ACEOF
36471 #define HAVE__EXPL 1
36484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36485 $as_echo_n "checking for fabsl declaration... " >&6; }
36486 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36487 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36488 $as_echo_n "(cached) " >&6
36493 ac_cpp='$CXXCPP $CPPFLAGS'
36494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36499 /* end confdefs.h. */
36501 #ifdef HAVE_IEEEFP_H
36502 #include <ieeefp.h>
36513 if ac_fn_cxx_try_compile "$LINENO"; then :
36514 glibcxx_cv_func_fabsl_use=yes
36516 glibcxx_cv_func_fabsl_use=no
36518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36520 ac_cpp='$CPP $CPPFLAGS'
36521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36530 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36532 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36533 for ac_func in fabsl
36535 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36536 if test "x$ac_cv_func_fabsl" = x""yes; then :
36537 cat >>confdefs.h <<_ACEOF
36538 #define HAVE_FABSL 1
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36547 $as_echo_n "checking for _fabsl declaration... " >&6; }
36548 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36549 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36550 $as_echo_n "(cached) " >&6
36555 ac_cpp='$CXXCPP $CPPFLAGS'
36556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36561 /* end confdefs.h. */
36563 #ifdef HAVE_IEEEFP_H
36564 #include <ieeefp.h>
36575 if ac_fn_cxx_try_compile "$LINENO"; then :
36576 glibcxx_cv_func__fabsl_use=yes
36578 glibcxx_cv_func__fabsl_use=no
36580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36582 ac_cpp='$CPP $CPPFLAGS'
36583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36592 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36594 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36595 for ac_func in _fabsl
36597 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36598 if test "x$ac_cv_func__fabsl" = x""yes; then :
36599 cat >>confdefs.h <<_ACEOF
36600 #define HAVE__FABSL 1
36613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36614 $as_echo_n "checking for fmodl declaration... " >&6; }
36615 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36616 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36617 $as_echo_n "(cached) " >&6
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36628 /* end confdefs.h. */
36638 if ac_fn_cxx_try_compile "$LINENO"; then :
36639 glibcxx_cv_func_fmodl_use=yes
36641 glibcxx_cv_func_fmodl_use=no
36643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36645 ac_cpp='$CPP $CPPFLAGS'
36646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36655 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36657 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36658 for ac_func in fmodl
36660 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36661 if test "x$ac_cv_func_fmodl" = x""yes; then :
36662 cat >>confdefs.h <<_ACEOF
36663 #define HAVE_FMODL 1
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36672 $as_echo_n "checking for _fmodl declaration... " >&6; }
36673 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36674 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36675 $as_echo_n "(cached) " >&6
36680 ac_cpp='$CXXCPP $CPPFLAGS'
36681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36686 /* end confdefs.h. */
36696 if ac_fn_cxx_try_compile "$LINENO"; then :
36697 glibcxx_cv_func__fmodl_use=yes
36699 glibcxx_cv_func__fmodl_use=no
36701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703 ac_cpp='$CPP $CPPFLAGS'
36704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36713 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36715 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36716 for ac_func in _fmodl
36718 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36719 if test "x$ac_cv_func__fmodl" = x""yes; then :
36720 cat >>confdefs.h <<_ACEOF
36721 #define HAVE__FMODL 1
36734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36735 $as_echo_n "checking for frexpl declaration... " >&6; }
36736 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36737 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36738 $as_echo_n "(cached) " >&6
36743 ac_cpp='$CXXCPP $CPPFLAGS'
36744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36749 /* end confdefs.h. */
36759 if ac_fn_cxx_try_compile "$LINENO"; then :
36760 glibcxx_cv_func_frexpl_use=yes
36762 glibcxx_cv_func_frexpl_use=no
36764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36766 ac_cpp='$CPP $CPPFLAGS'
36767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36776 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36778 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36779 for ac_func in frexpl
36781 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36782 if test "x$ac_cv_func_frexpl" = x""yes; then :
36783 cat >>confdefs.h <<_ACEOF
36784 #define HAVE_FREXPL 1
36792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36793 $as_echo_n "checking for _frexpl declaration... " >&6; }
36794 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36795 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36796 $as_echo_n "(cached) " >&6
36801 ac_cpp='$CXXCPP $CPPFLAGS'
36802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36807 /* end confdefs.h. */
36817 if ac_fn_cxx_try_compile "$LINENO"; then :
36818 glibcxx_cv_func__frexpl_use=yes
36820 glibcxx_cv_func__frexpl_use=no
36822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36824 ac_cpp='$CPP $CPPFLAGS'
36825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36834 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36836 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36837 for ac_func in _frexpl
36839 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36840 if test "x$ac_cv_func__frexpl" = x""yes; then :
36841 cat >>confdefs.h <<_ACEOF
36842 #define HAVE__FREXPL 1
36855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36856 $as_echo_n "checking for hypotl declaration... " >&6; }
36857 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36858 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36859 $as_echo_n "(cached) " >&6
36864 ac_cpp='$CXXCPP $CPPFLAGS'
36865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36870 /* end confdefs.h. */
36880 if ac_fn_cxx_try_compile "$LINENO"; then :
36881 glibcxx_cv_func_hypotl_use=yes
36883 glibcxx_cv_func_hypotl_use=no
36885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_cpp='$CPP $CPPFLAGS'
36888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36897 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36899 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36900 for ac_func in hypotl
36902 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36903 if test "x$ac_cv_func_hypotl" = x""yes; then :
36904 cat >>confdefs.h <<_ACEOF
36905 #define HAVE_HYPOTL 1
36913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36914 $as_echo_n "checking for _hypotl declaration... " >&6; }
36915 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36916 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36917 $as_echo_n "(cached) " >&6
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36928 /* end confdefs.h. */
36938 if ac_fn_cxx_try_compile "$LINENO"; then :
36939 glibcxx_cv_func__hypotl_use=yes
36941 glibcxx_cv_func__hypotl_use=no
36943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36945 ac_cpp='$CPP $CPPFLAGS'
36946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36955 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36957 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36958 for ac_func in _hypotl
36960 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36961 if test "x$ac_cv_func__hypotl" = x""yes; then :
36962 cat >>confdefs.h <<_ACEOF
36963 #define HAVE__HYPOTL 1
36976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36977 $as_echo_n "checking for ldexpl declaration... " >&6; }
36978 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36979 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36980 $as_echo_n "(cached) " >&6
36985 ac_cpp='$CXXCPP $CPPFLAGS'
36986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36991 /* end confdefs.h. */
37001 if ac_fn_cxx_try_compile "$LINENO"; then :
37002 glibcxx_cv_func_ldexpl_use=yes
37004 glibcxx_cv_func_ldexpl_use=no
37006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_cpp='$CPP $CPPFLAGS'
37009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37018 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37020 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37021 for ac_func in ldexpl
37023 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37024 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37025 cat >>confdefs.h <<_ACEOF
37026 #define HAVE_LDEXPL 1
37034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37035 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37036 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37037 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37038 $as_echo_n "(cached) " >&6
37043 ac_cpp='$CXXCPP $CPPFLAGS'
37044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37049 /* end confdefs.h. */
37059 if ac_fn_cxx_try_compile "$LINENO"; then :
37060 glibcxx_cv_func__ldexpl_use=yes
37062 glibcxx_cv_func__ldexpl_use=no
37064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37066 ac_cpp='$CPP $CPPFLAGS'
37067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37076 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37078 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37079 for ac_func in _ldexpl
37081 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37082 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37083 cat >>confdefs.h <<_ACEOF
37084 #define HAVE__LDEXPL 1
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37098 $as_echo_n "checking for logl declaration... " >&6; }
37099 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37100 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37101 $as_echo_n "(cached) " >&6
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h. */
37114 #ifdef HAVE_IEEEFP_H
37115 #include <ieeefp.h>
37126 if ac_fn_cxx_try_compile "$LINENO"; then :
37127 glibcxx_cv_func_logl_use=yes
37129 glibcxx_cv_func_logl_use=no
37131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37143 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37145 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37146 for ac_func in logl
37148 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37149 if test "x$ac_cv_func_logl" = x""yes; then :
37150 cat >>confdefs.h <<_ACEOF
37151 #define HAVE_LOGL 1
37159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37160 $as_echo_n "checking for _logl declaration... " >&6; }
37161 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37162 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37163 $as_echo_n "(cached) " >&6
37168 ac_cpp='$CXXCPP $CPPFLAGS'
37169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37174 /* end confdefs.h. */
37176 #ifdef HAVE_IEEEFP_H
37177 #include <ieeefp.h>
37188 if ac_fn_cxx_try_compile "$LINENO"; then :
37189 glibcxx_cv_func__logl_use=yes
37191 glibcxx_cv_func__logl_use=no
37193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37195 ac_cpp='$CPP $CPPFLAGS'
37196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37205 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37207 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37208 for ac_func in _logl
37210 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37211 if test "x$ac_cv_func__logl" = x""yes; then :
37212 cat >>confdefs.h <<_ACEOF
37213 #define HAVE__LOGL 1
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37227 $as_echo_n "checking for log10l declaration... " >&6; }
37228 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37229 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37230 $as_echo_n "(cached) " >&6
37235 ac_cpp='$CXXCPP $CPPFLAGS'
37236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37241 /* end confdefs.h. */
37243 #ifdef HAVE_IEEEFP_H
37244 #include <ieeefp.h>
37255 if ac_fn_cxx_try_compile "$LINENO"; then :
37256 glibcxx_cv_func_log10l_use=yes
37258 glibcxx_cv_func_log10l_use=no
37260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37262 ac_cpp='$CPP $CPPFLAGS'
37263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37272 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37274 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37275 for ac_func in log10l
37277 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37278 if test "x$ac_cv_func_log10l" = x""yes; then :
37279 cat >>confdefs.h <<_ACEOF
37280 #define HAVE_LOG10L 1
37288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37289 $as_echo_n "checking for _log10l declaration... " >&6; }
37290 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37291 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37292 $as_echo_n "(cached) " >&6
37297 ac_cpp='$CXXCPP $CPPFLAGS'
37298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37303 /* end confdefs.h. */
37305 #ifdef HAVE_IEEEFP_H
37306 #include <ieeefp.h>
37317 if ac_fn_cxx_try_compile "$LINENO"; then :
37318 glibcxx_cv_func__log10l_use=yes
37320 glibcxx_cv_func__log10l_use=no
37322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37324 ac_cpp='$CPP $CPPFLAGS'
37325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37334 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37336 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37337 for ac_func in _log10l
37339 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37340 if test "x$ac_cv_func__log10l" = x""yes; then :
37341 cat >>confdefs.h <<_ACEOF
37342 #define HAVE__LOG10L 1
37355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37356 $as_echo_n "checking for modfl declaration... " >&6; }
37357 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37358 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37359 $as_echo_n "(cached) " >&6
37364 ac_cpp='$CXXCPP $CPPFLAGS'
37365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37370 /* end confdefs.h. */
37380 if ac_fn_cxx_try_compile "$LINENO"; then :
37381 glibcxx_cv_func_modfl_use=yes
37383 glibcxx_cv_func_modfl_use=no
37385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37387 ac_cpp='$CPP $CPPFLAGS'
37388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37397 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37399 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37400 for ac_func in modfl
37402 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37403 if test "x$ac_cv_func_modfl" = x""yes; then :
37404 cat >>confdefs.h <<_ACEOF
37405 #define HAVE_MODFL 1
37413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37414 $as_echo_n "checking for _modfl declaration... " >&6; }
37415 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37416 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37417 $as_echo_n "(cached) " >&6
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37438 if ac_fn_cxx_try_compile "$LINENO"; then :
37439 glibcxx_cv_func__modfl_use=yes
37441 glibcxx_cv_func__modfl_use=no
37443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37445 ac_cpp='$CPP $CPPFLAGS'
37446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37455 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37457 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37458 for ac_func in _modfl
37460 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37461 if test "x$ac_cv_func__modfl" = x""yes; then :
37462 cat >>confdefs.h <<_ACEOF
37463 #define HAVE__MODFL 1
37476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37477 $as_echo_n "checking for powl declaration... " >&6; }
37478 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37479 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37480 $as_echo_n "(cached) " >&6
37485 ac_cpp='$CXXCPP $CPPFLAGS'
37486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37491 /* end confdefs.h. */
37501 if ac_fn_cxx_try_compile "$LINENO"; then :
37502 glibcxx_cv_func_powl_use=yes
37504 glibcxx_cv_func_powl_use=no
37506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37508 ac_cpp='$CPP $CPPFLAGS'
37509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37518 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37520 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37521 for ac_func in powl
37523 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37524 if test "x$ac_cv_func_powl" = x""yes; then :
37525 cat >>confdefs.h <<_ACEOF
37526 #define HAVE_POWL 1
37534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37535 $as_echo_n "checking for _powl declaration... " >&6; }
37536 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37537 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37538 $as_echo_n "(cached) " >&6
37543 ac_cpp='$CXXCPP $CPPFLAGS'
37544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37549 /* end confdefs.h. */
37559 if ac_fn_cxx_try_compile "$LINENO"; then :
37560 glibcxx_cv_func__powl_use=yes
37562 glibcxx_cv_func__powl_use=no
37564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37566 ac_cpp='$CPP $CPPFLAGS'
37567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37576 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37578 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37579 for ac_func in _powl
37581 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37582 if test "x$ac_cv_func__powl" = x""yes; then :
37583 cat >>confdefs.h <<_ACEOF
37584 #define HAVE__POWL 1
37597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37598 $as_echo_n "checking for sqrtl declaration... " >&6; }
37599 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37600 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37601 $as_echo_n "(cached) " >&6
37606 ac_cpp='$CXXCPP $CPPFLAGS'
37607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37612 /* end confdefs.h. */
37614 #ifdef HAVE_IEEEFP_H
37615 #include <ieeefp.h>
37626 if ac_fn_cxx_try_compile "$LINENO"; then :
37627 glibcxx_cv_func_sqrtl_use=yes
37629 glibcxx_cv_func_sqrtl_use=no
37631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37643 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37645 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37646 for ac_func in sqrtl
37648 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37649 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37650 cat >>confdefs.h <<_ACEOF
37651 #define HAVE_SQRTL 1
37659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37660 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37661 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37662 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37663 $as_echo_n "(cached) " >&6
37668 ac_cpp='$CXXCPP $CPPFLAGS'
37669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37674 /* end confdefs.h. */
37676 #ifdef HAVE_IEEEFP_H
37677 #include <ieeefp.h>
37688 if ac_fn_cxx_try_compile "$LINENO"; then :
37689 glibcxx_cv_func__sqrtl_use=yes
37691 glibcxx_cv_func__sqrtl_use=no
37693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37695 ac_cpp='$CPP $CPPFLAGS'
37696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37705 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37707 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37708 for ac_func in _sqrtl
37710 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37711 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37712 cat >>confdefs.h <<_ACEOF
37713 #define HAVE__SQRTL 1
37726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37727 $as_echo_n "checking for sincosl declaration... " >&6; }
37728 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37729 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37730 $as_echo_n "(cached) " >&6
37735 ac_cpp='$CXXCPP $CPPFLAGS'
37736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37741 /* end confdefs.h. */
37751 if ac_fn_cxx_try_compile "$LINENO"; then :
37752 glibcxx_cv_func_sincosl_use=yes
37754 glibcxx_cv_func_sincosl_use=no
37756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37758 ac_cpp='$CPP $CPPFLAGS'
37759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37768 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37770 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37771 for ac_func in sincosl
37773 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37774 if test "x$ac_cv_func_sincosl" = x""yes; then :
37775 cat >>confdefs.h <<_ACEOF
37776 #define HAVE_SINCOSL 1
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37785 $as_echo_n "checking for _sincosl declaration... " >&6; }
37786 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37787 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37788 $as_echo_n "(cached) " >&6
37793 ac_cpp='$CXXCPP $CPPFLAGS'
37794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37799 /* end confdefs.h. */
37809 if ac_fn_cxx_try_compile "$LINENO"; then :
37810 glibcxx_cv_func__sincosl_use=yes
37812 glibcxx_cv_func__sincosl_use=no
37814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37816 ac_cpp='$CPP $CPPFLAGS'
37817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37826 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37828 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37829 for ac_func in _sincosl
37831 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37832 if test "x$ac_cv_func__sincosl" = x""yes; then :
37833 cat >>confdefs.h <<_ACEOF
37834 #define HAVE__SINCOSL 1
37847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37848 $as_echo_n "checking for finitel declaration... " >&6; }
37849 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37850 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37851 $as_echo_n "(cached) " >&6
37856 ac_cpp='$CXXCPP $CPPFLAGS'
37857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37862 /* end confdefs.h. */
37864 #ifdef HAVE_IEEEFP_H
37865 #include <ieeefp.h>
37876 if ac_fn_cxx_try_compile "$LINENO"; then :
37877 glibcxx_cv_func_finitel_use=yes
37879 glibcxx_cv_func_finitel_use=no
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37893 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37895 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37896 for ac_func in finitel
37898 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37899 if test "x$ac_cv_func_finitel" = x""yes; then :
37900 cat >>confdefs.h <<_ACEOF
37901 #define HAVE_FINITEL 1
37909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37910 $as_echo_n "checking for _finitel declaration... " >&6; }
37911 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37912 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37913 $as_echo_n "(cached) " >&6
37918 ac_cpp='$CXXCPP $CPPFLAGS'
37919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37924 /* end confdefs.h. */
37926 #ifdef HAVE_IEEEFP_H
37927 #include <ieeefp.h>
37938 if ac_fn_cxx_try_compile "$LINENO"; then :
37939 glibcxx_cv_func__finitel_use=yes
37941 glibcxx_cv_func__finitel_use=no
37943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37945 ac_cpp='$CPP $CPPFLAGS'
37946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37955 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37957 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37958 for ac_func in _finitel
37960 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37961 if test "x$ac_cv_func__finitel" = x""yes; then :
37962 cat >>confdefs.h <<_ACEOF
37963 #define HAVE__FINITEL 1
37975 LIBS="$ac_save_LIBS"
37976 CXXFLAGS="$ac_save_CXXFLAGS"
37979 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37980 ac_save_CXXFLAGS="$CXXFLAGS"
37981 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37985 $as_echo_n "checking for strtold declaration... " >&6; }
37986 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37987 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37988 $as_echo_n "(cached) " >&6
37993 ac_cpp='$CXXCPP $CPPFLAGS'
37994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37999 /* end confdefs.h. */
38000 #include <stdlib.h>
38009 if ac_fn_cxx_try_compile "$LINENO"; then :
38010 glibcxx_cv_func_strtold_use=yes
38012 glibcxx_cv_func_strtold_use=no
38014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38016 ac_cpp='$CPP $CPPFLAGS'
38017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38026 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38027 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38028 for ac_func in strtold
38030 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38031 if test "x$ac_cv_func_strtold" = x""yes; then :
38032 cat >>confdefs.h <<_ACEOF
38033 #define HAVE_STRTOLD 1
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38045 $as_echo_n "checking for strtof declaration... " >&6; }
38046 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38047 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38048 $as_echo_n "(cached) " >&6
38053 ac_cpp='$CXXCPP $CPPFLAGS'
38054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38059 /* end confdefs.h. */
38060 #include <stdlib.h>
38069 if ac_fn_cxx_try_compile "$LINENO"; then :
38070 glibcxx_cv_func_strtof_use=yes
38072 glibcxx_cv_func_strtof_use=no
38074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38076 ac_cpp='$CPP $CPPFLAGS'
38077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38086 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38087 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38088 for ac_func in strtof
38090 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38091 if test "x$ac_cv_func_strtof" = x""yes; then :
38092 cat >>confdefs.h <<_ACEOF
38093 #define HAVE_STRTOF 1
38104 CXXFLAGS="$ac_save_CXXFLAGS"
38106 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38108 # We don't yet support AIX's TLS ABI.
38115 am_save_CPPFLAGS="$CPPFLAGS"
38117 for element in $INCICONV; do
38119 for x in $CPPFLAGS; do
38121 acl_save_prefix="$prefix"
38122 prefix="$acl_final_prefix"
38123 acl_save_exec_prefix="$exec_prefix"
38124 exec_prefix="$acl_final_exec_prefix"
38126 exec_prefix="$acl_save_exec_prefix"
38127 prefix="$acl_save_prefix"
38129 if test "X$x" = "X$element"; then
38134 if test -z "$haveit"; then
38135 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38141 $as_echo_n "checking for iconv... " >&6; }
38142 if test "${am_cv_func_iconv+set}" = set; then :
38143 $as_echo_n "(cached) " >&6
38146 am_cv_func_iconv="no, consider installing GNU libiconv"
38148 if test x$gcc_no_link = xyes; then
38149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38152 /* end confdefs.h. */
38153 #include <stdlib.h>
38158 iconv_t cd = iconv_open("","");
38159 iconv(cd,NULL,NULL,NULL,NULL);
38165 if ac_fn_c_try_link "$LINENO"; then :
38166 am_cv_func_iconv=yes
38168 rm -f core conftest.err conftest.$ac_objext \
38169 conftest$ac_exeext conftest.$ac_ext
38170 if test "$am_cv_func_iconv" != yes; then
38171 am_save_LIBS="$LIBS"
38172 LIBS="$LIBS $LIBICONV"
38173 if test x$gcc_no_link = xyes; then
38174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38177 /* end confdefs.h. */
38178 #include <stdlib.h>
38183 iconv_t cd = iconv_open("","");
38184 iconv(cd,NULL,NULL,NULL,NULL);
38190 if ac_fn_c_try_link "$LINENO"; then :
38191 am_cv_lib_iconv=yes
38192 am_cv_func_iconv=yes
38194 rm -f core conftest.err conftest.$ac_objext \
38195 conftest$ac_exeext conftest.$ac_ext
38196 LIBS="$am_save_LIBS"
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38201 $as_echo "$am_cv_func_iconv" >&6; }
38202 if test "$am_cv_func_iconv" = yes; then
38204 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38207 if test "$am_cv_lib_iconv" = yes; then
38208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38209 $as_echo_n "checking how to link with libiconv... " >&6; }
38210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38211 $as_echo "$LIBICONV" >&6; }
38213 CPPFLAGS="$am_save_CPPFLAGS"
38220 if test "$am_cv_func_iconv" = yes; then
38221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38222 $as_echo_n "checking for iconv declaration... " >&6; }
38223 if test "${am_cv_proto_iconv+set}" = set; then :
38224 $as_echo_n "(cached) " >&6
38227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38228 /* end confdefs.h. */
38230 #include <stdlib.h>
38236 #if defined(__STDC__) || defined(__cplusplus)
38237 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38250 if ac_fn_c_try_compile "$LINENO"; then :
38251 am_cv_proto_iconv_arg1=""
38253 am_cv_proto_iconv_arg1="const"
38255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38256 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);"
38259 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38261 }$am_cv_proto_iconv" >&5
38263 }$am_cv_proto_iconv" >&6; }
38265 cat >>confdefs.h <<_ACEOF
38266 #define ICONV_CONST $am_cv_proto_iconv_arg1
38274 # Darwin versions vary, but the linker should work in a cross environment,
38275 # so we just check for all the features here.
38276 # Check for available headers.
38278 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38281 ac_save_CXXFLAGS="$CXXFLAGS"
38282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38285 $as_echo_n "checking for sin in -lm... " >&6; }
38286 if test "${ac_cv_lib_m_sin+set}" = set; then :
38287 $as_echo_n "(cached) " >&6
38289 ac_check_lib_save_LIBS=$LIBS
38291 if test x$gcc_no_link = xyes; then
38292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295 /* end confdefs.h. */
38297 /* Override any GCC internal prototype to avoid an error.
38298 Use char because int might match the return type of a GCC
38299 builtin and then its argument prototype would still apply. */
38312 if ac_fn_c_try_link "$LINENO"; then :
38313 ac_cv_lib_m_sin=yes
38317 rm -f core conftest.err conftest.$ac_objext \
38318 conftest$ac_exeext conftest.$ac_ext
38319 LIBS=$ac_check_lib_save_LIBS
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38322 $as_echo "$ac_cv_lib_m_sin" >&6; }
38323 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38327 ac_save_LIBS="$LIBS"
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38333 $as_echo_n "checking for isinf declaration... " >&6; }
38334 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38335 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38336 $as_echo_n "(cached) " >&6
38341 ac_cpp='$CXXCPP $CPPFLAGS'
38342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38349 #ifdef HAVE_IEEEFP_H
38350 #include <ieeefp.h>
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func_isinf_use=yes
38364 glibcxx_cv_func_isinf_use=no
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38368 ac_cpp='$CPP $CPPFLAGS'
38369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38378 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38380 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38381 for ac_func in isinf
38383 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38384 if test "x$ac_cv_func_isinf" = x""yes; then :
38385 cat >>confdefs.h <<_ACEOF
38386 #define HAVE_ISINF 1
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38395 $as_echo_n "checking for _isinf declaration... " >&6; }
38396 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38397 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38398 $as_echo_n "(cached) " >&6
38403 ac_cpp='$CXXCPP $CPPFLAGS'
38404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38409 /* end confdefs.h. */
38411 #ifdef HAVE_IEEEFP_H
38412 #include <ieeefp.h>
38423 if ac_fn_cxx_try_compile "$LINENO"; then :
38424 glibcxx_cv_func__isinf_use=yes
38426 glibcxx_cv_func__isinf_use=no
38428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_cpp='$CPP $CPPFLAGS'
38431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38440 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38442 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38443 for ac_func in _isinf
38445 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38446 if test "x$ac_cv_func__isinf" = x""yes; then :
38447 cat >>confdefs.h <<_ACEOF
38448 #define HAVE__ISINF 1
38461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38462 $as_echo_n "checking for isnan declaration... " >&6; }
38463 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38464 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38465 $as_echo_n "(cached) " >&6
38470 ac_cpp='$CXXCPP $CPPFLAGS'
38471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38476 /* end confdefs.h. */
38478 #ifdef HAVE_IEEEFP_H
38479 #include <ieeefp.h>
38490 if ac_fn_cxx_try_compile "$LINENO"; then :
38491 glibcxx_cv_func_isnan_use=yes
38493 glibcxx_cv_func_isnan_use=no
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38507 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38509 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38510 for ac_func in isnan
38512 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38513 if test "x$ac_cv_func_isnan" = x""yes; then :
38514 cat >>confdefs.h <<_ACEOF
38515 #define HAVE_ISNAN 1
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38524 $as_echo_n "checking for _isnan declaration... " >&6; }
38525 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38526 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38527 $as_echo_n "(cached) " >&6
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38540 #ifdef HAVE_IEEEFP_H
38541 #include <ieeefp.h>
38552 if ac_fn_cxx_try_compile "$LINENO"; then :
38553 glibcxx_cv_func__isnan_use=yes
38555 glibcxx_cv_func__isnan_use=no
38557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38559 ac_cpp='$CPP $CPPFLAGS'
38560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38569 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38571 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38572 for ac_func in _isnan
38574 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38575 if test "x$ac_cv_func__isnan" = x""yes; then :
38576 cat >>confdefs.h <<_ACEOF
38577 #define HAVE__ISNAN 1
38590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38591 $as_echo_n "checking for finite declaration... " >&6; }
38592 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38593 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38594 $as_echo_n "(cached) " >&6
38599 ac_cpp='$CXXCPP $CPPFLAGS'
38600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38607 #ifdef HAVE_IEEEFP_H
38608 #include <ieeefp.h>
38619 if ac_fn_cxx_try_compile "$LINENO"; then :
38620 glibcxx_cv_func_finite_use=yes
38622 glibcxx_cv_func_finite_use=no
38624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38626 ac_cpp='$CPP $CPPFLAGS'
38627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38636 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38638 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38639 for ac_func in finite
38641 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38642 if test "x$ac_cv_func_finite" = x""yes; then :
38643 cat >>confdefs.h <<_ACEOF
38644 #define HAVE_FINITE 1
38652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38653 $as_echo_n "checking for _finite declaration... " >&6; }
38654 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38655 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38656 $as_echo_n "(cached) " >&6
38661 ac_cpp='$CXXCPP $CPPFLAGS'
38662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38667 /* end confdefs.h. */
38669 #ifdef HAVE_IEEEFP_H
38670 #include <ieeefp.h>
38681 if ac_fn_cxx_try_compile "$LINENO"; then :
38682 glibcxx_cv_func__finite_use=yes
38684 glibcxx_cv_func__finite_use=no
38686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38688 ac_cpp='$CPP $CPPFLAGS'
38689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38698 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38700 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38701 for ac_func in _finite
38703 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38704 if test "x$ac_cv_func__finite" = x""yes; then :
38705 cat >>confdefs.h <<_ACEOF
38706 #define HAVE__FINITE 1
38719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38720 $as_echo_n "checking for sincos declaration... " >&6; }
38721 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38722 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38723 $as_echo_n "(cached) " >&6
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38744 if ac_fn_cxx_try_compile "$LINENO"; then :
38745 glibcxx_cv_func_sincos_use=yes
38747 glibcxx_cv_func_sincos_use=no
38749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38751 ac_cpp='$CPP $CPPFLAGS'
38752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38761 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38763 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38764 for ac_func in sincos
38766 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38767 if test "x$ac_cv_func_sincos" = x""yes; then :
38768 cat >>confdefs.h <<_ACEOF
38769 #define HAVE_SINCOS 1
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38778 $as_echo_n "checking for _sincos declaration... " >&6; }
38779 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38780 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38781 $as_echo_n "(cached) " >&6
38786 ac_cpp='$CXXCPP $CPPFLAGS'
38787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38792 /* end confdefs.h. */
38802 if ac_fn_cxx_try_compile "$LINENO"; then :
38803 glibcxx_cv_func__sincos_use=yes
38805 glibcxx_cv_func__sincos_use=no
38807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38809 ac_cpp='$CPP $CPPFLAGS'
38810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38819 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38821 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38822 for ac_func in _sincos
38824 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38825 if test "x$ac_cv_func__sincos" = x""yes; then :
38826 cat >>confdefs.h <<_ACEOF
38827 #define HAVE__SINCOS 1
38840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38841 $as_echo_n "checking for fpclass declaration... " >&6; }
38842 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38843 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38844 $as_echo_n "(cached) " >&6
38849 ac_cpp='$CXXCPP $CPPFLAGS'
38850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38855 /* end confdefs.h. */
38857 #ifdef HAVE_IEEEFP_H
38858 #include <ieeefp.h>
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870 glibcxx_cv_func_fpclass_use=yes
38872 glibcxx_cv_func_fpclass_use=no
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38886 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38888 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38889 for ac_func in fpclass
38891 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38892 if test "x$ac_cv_func_fpclass" = x""yes; then :
38893 cat >>confdefs.h <<_ACEOF
38894 #define HAVE_FPCLASS 1
38902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38903 $as_echo_n "checking for _fpclass declaration... " >&6; }
38904 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38905 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38906 $as_echo_n "(cached) " >&6
38911 ac_cpp='$CXXCPP $CPPFLAGS'
38912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38917 /* end confdefs.h. */
38919 #ifdef HAVE_IEEEFP_H
38920 #include <ieeefp.h>
38931 if ac_fn_cxx_try_compile "$LINENO"; then :
38932 glibcxx_cv_func__fpclass_use=yes
38934 glibcxx_cv_func__fpclass_use=no
38936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38938 ac_cpp='$CPP $CPPFLAGS'
38939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38948 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38950 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38951 for ac_func in _fpclass
38953 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38954 if test "x$ac_cv_func__fpclass" = x""yes; then :
38955 cat >>confdefs.h <<_ACEOF
38956 #define HAVE__FPCLASS 1
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38970 $as_echo_n "checking for qfpclass declaration... " >&6; }
38971 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38972 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38973 $as_echo_n "(cached) " >&6
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38984 /* end confdefs.h. */
38986 #ifdef HAVE_IEEEFP_H
38987 #include <ieeefp.h>
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999 glibcxx_cv_func_qfpclass_use=yes
39001 glibcxx_cv_func_qfpclass_use=no
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39015 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39017 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39018 for ac_func in qfpclass
39020 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39021 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39022 cat >>confdefs.h <<_ACEOF
39023 #define HAVE_QFPCLASS 1
39031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39032 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39033 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39034 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39035 $as_echo_n "(cached) " >&6
39040 ac_cpp='$CXXCPP $CPPFLAGS'
39041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39046 /* end confdefs.h. */
39048 #ifdef HAVE_IEEEFP_H
39049 #include <ieeefp.h>
39060 if ac_fn_cxx_try_compile "$LINENO"; then :
39061 glibcxx_cv_func__qfpclass_use=yes
39063 glibcxx_cv_func__qfpclass_use=no
39065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39067 ac_cpp='$CPP $CPPFLAGS'
39068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39077 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39079 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39080 for ac_func in _qfpclass
39082 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39083 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39084 cat >>confdefs.h <<_ACEOF
39085 #define HAVE__QFPCLASS 1
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39099 $as_echo_n "checking for hypot declaration... " >&6; }
39100 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39101 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39102 $as_echo_n "(cached) " >&6
39107 ac_cpp='$CXXCPP $CPPFLAGS'
39108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39113 /* end confdefs.h. */
39123 if ac_fn_cxx_try_compile "$LINENO"; then :
39124 glibcxx_cv_func_hypot_use=yes
39126 glibcxx_cv_func_hypot_use=no
39128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39130 ac_cpp='$CPP $CPPFLAGS'
39131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39140 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39142 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39143 for ac_func in hypot
39145 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39146 if test "x$ac_cv_func_hypot" = x""yes; then :
39147 cat >>confdefs.h <<_ACEOF
39148 #define HAVE_HYPOT 1
39156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39157 $as_echo_n "checking for _hypot declaration... " >&6; }
39158 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39159 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39160 $as_echo_n "(cached) " >&6
39165 ac_cpp='$CXXCPP $CPPFLAGS'
39166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 /* end confdefs.h. */
39181 if ac_fn_cxx_try_compile "$LINENO"; then :
39182 glibcxx_cv_func__hypot_use=yes
39184 glibcxx_cv_func__hypot_use=no
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39198 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39200 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39201 for ac_func in _hypot
39203 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39204 if test "x$ac_cv_func__hypot" = x""yes; then :
39205 cat >>confdefs.h <<_ACEOF
39206 #define HAVE__HYPOT 1
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39220 $as_echo_n "checking for float trig functions... " >&6; }
39221 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39222 $as_echo_n "(cached) " >&6
39227 ac_cpp='$CXXCPP $CPPFLAGS'
39228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39233 /* end confdefs.h. */
39238 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39243 if ac_fn_cxx_try_compile "$LINENO"; then :
39244 glibcxx_cv_func_float_trig_use=yes
39246 glibcxx_cv_func_float_trig_use=no
39248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39250 ac_cpp='$CPP $CPPFLAGS'
39251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39258 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39259 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39260 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39264 eval as_val=\$$as_ac_var
39265 if test "x$as_val" = x""yes; then :
39266 cat >>confdefs.h <<_ACEOF
39267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39275 $as_echo_n "checking for _float trig functions... " >&6; }
39276 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39277 $as_echo_n "(cached) " >&6
39282 ac_cpp='$CXXCPP $CPPFLAGS'
39283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39288 /* end confdefs.h. */
39293 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39298 if ac_fn_cxx_try_compile "$LINENO"; then :
39299 glibcxx_cv_func__float_trig_use=yes
39301 glibcxx_cv_func__float_trig_use=no
39303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39305 ac_cpp='$CPP $CPPFLAGS'
39306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39313 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39314 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39315 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39319 eval as_val=\$$as_ac_var
39320 if test "x$as_val" = x""yes; then :
39321 cat >>confdefs.h <<_ACEOF
39322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39336 $as_echo_n "checking for float round functions... " >&6; }
39337 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39338 $as_echo_n "(cached) " >&6
39343 ac_cpp='$CXXCPP $CPPFLAGS'
39344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39349 /* end confdefs.h. */
39354 ceilf (0); floorf (0);
39359 if ac_fn_cxx_try_compile "$LINENO"; then :
39360 glibcxx_cv_func_float_round_use=yes
39362 glibcxx_cv_func_float_round_use=no
39364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39366 ac_cpp='$CPP $CPPFLAGS'
39367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39374 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39375 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39376 for ac_func in ceilf floorf
39378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39380 eval as_val=\$$as_ac_var
39381 if test "x$as_val" = x""yes; then :
39382 cat >>confdefs.h <<_ACEOF
39383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39391 $as_echo_n "checking for _float round functions... " >&6; }
39392 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39393 $as_echo_n "(cached) " >&6
39398 ac_cpp='$CXXCPP $CPPFLAGS'
39399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39404 /* end confdefs.h. */
39409 _ceilf (0); _floorf (0);
39414 if ac_fn_cxx_try_compile "$LINENO"; then :
39415 glibcxx_cv_func__float_round_use=yes
39417 glibcxx_cv_func__float_round_use=no
39419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39421 ac_cpp='$CPP $CPPFLAGS'
39422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39429 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39430 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39431 for ac_func in _ceilf _floorf
39433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39435 eval as_val=\$$as_ac_var
39436 if test "x$as_val" = x""yes; then :
39437 cat >>confdefs.h <<_ACEOF
39438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39453 $as_echo_n "checking for expf declaration... " >&6; }
39454 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39455 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39456 $as_echo_n "(cached) " >&6
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h. */
39469 #ifdef HAVE_IEEEFP_H
39470 #include <ieeefp.h>
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func_expf_use=yes
39484 glibcxx_cv_func_expf_use=no
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39498 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39500 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39501 for ac_func in expf
39503 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39504 if test "x$ac_cv_func_expf" = x""yes; then :
39505 cat >>confdefs.h <<_ACEOF
39506 #define HAVE_EXPF 1
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39515 $as_echo_n "checking for _expf declaration... " >&6; }
39516 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39517 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39518 $as_echo_n "(cached) " >&6
39523 ac_cpp='$CXXCPP $CPPFLAGS'
39524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39529 /* end confdefs.h. */
39531 #ifdef HAVE_IEEEFP_H
39532 #include <ieeefp.h>
39543 if ac_fn_cxx_try_compile "$LINENO"; then :
39544 glibcxx_cv_func__expf_use=yes
39546 glibcxx_cv_func__expf_use=no
39548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39550 ac_cpp='$CPP $CPPFLAGS'
39551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39560 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39562 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39563 for ac_func in _expf
39565 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39566 if test "x$ac_cv_func__expf" = x""yes; then :
39567 cat >>confdefs.h <<_ACEOF
39568 #define HAVE__EXPF 1
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39582 $as_echo_n "checking for isnanf declaration... " >&6; }
39583 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39584 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39585 $as_echo_n "(cached) " >&6
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func_isnanf_use=yes
39613 glibcxx_cv_func_isnanf_use=no
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39627 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39629 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39630 for ac_func in isnanf
39632 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39633 if test "x$ac_cv_func_isnanf" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE_ISNANF 1
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39644 $as_echo_n "checking for _isnanf declaration... " >&6; }
39645 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39646 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39647 $as_echo_n "(cached) " >&6
39652 ac_cpp='$CXXCPP $CPPFLAGS'
39653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39658 /* end confdefs.h. */
39660 #ifdef HAVE_IEEEFP_H
39661 #include <ieeefp.h>
39672 if ac_fn_cxx_try_compile "$LINENO"; then :
39673 glibcxx_cv_func__isnanf_use=yes
39675 glibcxx_cv_func__isnanf_use=no
39677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39679 ac_cpp='$CPP $CPPFLAGS'
39680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39689 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39691 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39692 for ac_func in _isnanf
39694 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39695 if test "x$ac_cv_func__isnanf" = x""yes; then :
39696 cat >>confdefs.h <<_ACEOF
39697 #define HAVE__ISNANF 1
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39711 $as_echo_n "checking for isinff declaration... " >&6; }
39712 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39713 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39714 $as_echo_n "(cached) " >&6
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h. */
39727 #ifdef HAVE_IEEEFP_H
39728 #include <ieeefp.h>
39739 if ac_fn_cxx_try_compile "$LINENO"; then :
39740 glibcxx_cv_func_isinff_use=yes
39742 glibcxx_cv_func_isinff_use=no
39744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39746 ac_cpp='$CPP $CPPFLAGS'
39747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39756 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39758 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39759 for ac_func in isinff
39761 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39762 if test "x$ac_cv_func_isinff" = x""yes; then :
39763 cat >>confdefs.h <<_ACEOF
39764 #define HAVE_ISINFF 1
39772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39773 $as_echo_n "checking for _isinff declaration... " >&6; }
39774 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39775 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39776 $as_echo_n "(cached) " >&6
39781 ac_cpp='$CXXCPP $CPPFLAGS'
39782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39787 /* end confdefs.h. */
39789 #ifdef HAVE_IEEEFP_H
39790 #include <ieeefp.h>
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func__isinff_use=yes
39804 glibcxx_cv_func__isinff_use=no
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39818 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39820 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39821 for ac_func in _isinff
39823 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39824 if test "x$ac_cv_func__isinff" = x""yes; then :
39825 cat >>confdefs.h <<_ACEOF
39826 #define HAVE__ISINFF 1
39839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39840 $as_echo_n "checking for atan2f declaration... " >&6; }
39841 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39842 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39843 $as_echo_n "(cached) " >&6
39848 ac_cpp='$CXXCPP $CPPFLAGS'
39849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39854 /* end confdefs.h. */
39864 if ac_fn_cxx_try_compile "$LINENO"; then :
39865 glibcxx_cv_func_atan2f_use=yes
39867 glibcxx_cv_func_atan2f_use=no
39869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39871 ac_cpp='$CPP $CPPFLAGS'
39872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39881 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39883 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39884 for ac_func in atan2f
39886 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39887 if test "x$ac_cv_func_atan2f" = x""yes; then :
39888 cat >>confdefs.h <<_ACEOF
39889 #define HAVE_ATAN2F 1
39897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39898 $as_echo_n "checking for _atan2f declaration... " >&6; }
39899 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39900 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39901 $as_echo_n "(cached) " >&6
39906 ac_cpp='$CXXCPP $CPPFLAGS'
39907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39912 /* end confdefs.h. */
39922 if ac_fn_cxx_try_compile "$LINENO"; then :
39923 glibcxx_cv_func__atan2f_use=yes
39925 glibcxx_cv_func__atan2f_use=no
39927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39929 ac_cpp='$CPP $CPPFLAGS'
39930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39939 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39941 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39942 for ac_func in _atan2f
39944 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39945 if test "x$ac_cv_func__atan2f" = x""yes; then :
39946 cat >>confdefs.h <<_ACEOF
39947 #define HAVE__ATAN2F 1
39960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39961 $as_echo_n "checking for fabsf declaration... " >&6; }
39962 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39963 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39964 $as_echo_n "(cached) " >&6
39969 ac_cpp='$CXXCPP $CPPFLAGS'
39970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39977 #ifdef HAVE_IEEEFP_H
39978 #include <ieeefp.h>
39989 if ac_fn_cxx_try_compile "$LINENO"; then :
39990 glibcxx_cv_func_fabsf_use=yes
39992 glibcxx_cv_func_fabsf_use=no
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39996 ac_cpp='$CPP $CPPFLAGS'
39997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40006 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40008 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40009 for ac_func in fabsf
40011 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40012 if test "x$ac_cv_func_fabsf" = x""yes; then :
40013 cat >>confdefs.h <<_ACEOF
40014 #define HAVE_FABSF 1
40022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40023 $as_echo_n "checking for _fabsf declaration... " >&6; }
40024 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40025 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40026 $as_echo_n "(cached) " >&6
40031 ac_cpp='$CXXCPP $CPPFLAGS'
40032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40037 /* end confdefs.h. */
40039 #ifdef HAVE_IEEEFP_H
40040 #include <ieeefp.h>
40051 if ac_fn_cxx_try_compile "$LINENO"; then :
40052 glibcxx_cv_func__fabsf_use=yes
40054 glibcxx_cv_func__fabsf_use=no
40056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40058 ac_cpp='$CPP $CPPFLAGS'
40059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40068 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40070 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40071 for ac_func in _fabsf
40073 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40074 if test "x$ac_cv_func__fabsf" = x""yes; then :
40075 cat >>confdefs.h <<_ACEOF
40076 #define HAVE__FABSF 1
40089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40090 $as_echo_n "checking for fmodf declaration... " >&6; }
40091 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40092 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40093 $as_echo_n "(cached) " >&6
40098 ac_cpp='$CXXCPP $CPPFLAGS'
40099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104 /* end confdefs.h. */
40114 if ac_fn_cxx_try_compile "$LINENO"; then :
40115 glibcxx_cv_func_fmodf_use=yes
40117 glibcxx_cv_func_fmodf_use=no
40119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40121 ac_cpp='$CPP $CPPFLAGS'
40122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40131 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40133 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40134 for ac_func in fmodf
40136 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40137 if test "x$ac_cv_func_fmodf" = x""yes; then :
40138 cat >>confdefs.h <<_ACEOF
40139 #define HAVE_FMODF 1
40147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40148 $as_echo_n "checking for _fmodf declaration... " >&6; }
40149 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40150 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40151 $as_echo_n "(cached) " >&6
40156 ac_cpp='$CXXCPP $CPPFLAGS'
40157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40162 /* end confdefs.h. */
40172 if ac_fn_cxx_try_compile "$LINENO"; then :
40173 glibcxx_cv_func__fmodf_use=yes
40175 glibcxx_cv_func__fmodf_use=no
40177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40179 ac_cpp='$CPP $CPPFLAGS'
40180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40189 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40191 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40192 for ac_func in _fmodf
40194 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40195 if test "x$ac_cv_func__fmodf" = x""yes; then :
40196 cat >>confdefs.h <<_ACEOF
40197 #define HAVE__FMODF 1
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40211 $as_echo_n "checking for frexpf declaration... " >&6; }
40212 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40213 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40214 $as_echo_n "(cached) " >&6
40219 ac_cpp='$CXXCPP $CPPFLAGS'
40220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40225 /* end confdefs.h. */
40235 if ac_fn_cxx_try_compile "$LINENO"; then :
40236 glibcxx_cv_func_frexpf_use=yes
40238 glibcxx_cv_func_frexpf_use=no
40240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40242 ac_cpp='$CPP $CPPFLAGS'
40243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40252 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40254 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40255 for ac_func in frexpf
40257 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40258 if test "x$ac_cv_func_frexpf" = x""yes; then :
40259 cat >>confdefs.h <<_ACEOF
40260 #define HAVE_FREXPF 1
40268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40269 $as_echo_n "checking for _frexpf declaration... " >&6; }
40270 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40271 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40272 $as_echo_n "(cached) " >&6
40277 ac_cpp='$CXXCPP $CPPFLAGS'
40278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40283 /* end confdefs.h. */
40293 if ac_fn_cxx_try_compile "$LINENO"; then :
40294 glibcxx_cv_func__frexpf_use=yes
40296 glibcxx_cv_func__frexpf_use=no
40298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40300 ac_cpp='$CPP $CPPFLAGS'
40301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40310 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40312 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40313 for ac_func in _frexpf
40315 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40316 if test "x$ac_cv_func__frexpf" = x""yes; then :
40317 cat >>confdefs.h <<_ACEOF
40318 #define HAVE__FREXPF 1
40331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40332 $as_echo_n "checking for hypotf declaration... " >&6; }
40333 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40334 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40335 $as_echo_n "(cached) " >&6
40340 ac_cpp='$CXXCPP $CPPFLAGS'
40341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40346 /* end confdefs.h. */
40356 if ac_fn_cxx_try_compile "$LINENO"; then :
40357 glibcxx_cv_func_hypotf_use=yes
40359 glibcxx_cv_func_hypotf_use=no
40361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363 ac_cpp='$CPP $CPPFLAGS'
40364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40373 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40375 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40376 for ac_func in hypotf
40378 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40379 if test "x$ac_cv_func_hypotf" = x""yes; then :
40380 cat >>confdefs.h <<_ACEOF
40381 #define HAVE_HYPOTF 1
40389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40390 $as_echo_n "checking for _hypotf declaration... " >&6; }
40391 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40392 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40393 $as_echo_n "(cached) " >&6
40398 ac_cpp='$CXXCPP $CPPFLAGS'
40399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40404 /* end confdefs.h. */
40414 if ac_fn_cxx_try_compile "$LINENO"; then :
40415 glibcxx_cv_func__hypotf_use=yes
40417 glibcxx_cv_func__hypotf_use=no
40419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40421 ac_cpp='$CPP $CPPFLAGS'
40422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40431 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40433 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40434 for ac_func in _hypotf
40436 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40437 if test "x$ac_cv_func__hypotf" = x""yes; then :
40438 cat >>confdefs.h <<_ACEOF
40439 #define HAVE__HYPOTF 1
40452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40453 $as_echo_n "checking for ldexpf declaration... " >&6; }
40454 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40455 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40456 $as_echo_n "(cached) " >&6
40461 ac_cpp='$CXXCPP $CPPFLAGS'
40462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40467 /* end confdefs.h. */
40477 if ac_fn_cxx_try_compile "$LINENO"; then :
40478 glibcxx_cv_func_ldexpf_use=yes
40480 glibcxx_cv_func_ldexpf_use=no
40482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40484 ac_cpp='$CPP $CPPFLAGS'
40485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40494 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40496 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40497 for ac_func in ldexpf
40499 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40500 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40501 cat >>confdefs.h <<_ACEOF
40502 #define HAVE_LDEXPF 1
40510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40511 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40512 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40513 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40514 $as_echo_n "(cached) " >&6
40519 ac_cpp='$CXXCPP $CPPFLAGS'
40520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40525 /* end confdefs.h. */
40535 if ac_fn_cxx_try_compile "$LINENO"; then :
40536 glibcxx_cv_func__ldexpf_use=yes
40538 glibcxx_cv_func__ldexpf_use=no
40540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40542 ac_cpp='$CPP $CPPFLAGS'
40543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40552 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40554 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40555 for ac_func in _ldexpf
40557 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40558 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40559 cat >>confdefs.h <<_ACEOF
40560 #define HAVE__LDEXPF 1
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40574 $as_echo_n "checking for logf declaration... " >&6; }
40575 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40576 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40577 $as_echo_n "(cached) " >&6
40582 ac_cpp='$CXXCPP $CPPFLAGS'
40583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40588 /* end confdefs.h. */
40590 #ifdef HAVE_IEEEFP_H
40591 #include <ieeefp.h>
40602 if ac_fn_cxx_try_compile "$LINENO"; then :
40603 glibcxx_cv_func_logf_use=yes
40605 glibcxx_cv_func_logf_use=no
40607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40609 ac_cpp='$CPP $CPPFLAGS'
40610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40619 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40621 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40622 for ac_func in logf
40624 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40625 if test "x$ac_cv_func_logf" = x""yes; then :
40626 cat >>confdefs.h <<_ACEOF
40627 #define HAVE_LOGF 1
40635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40636 $as_echo_n "checking for _logf declaration... " >&6; }
40637 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40638 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40639 $as_echo_n "(cached) " >&6
40644 ac_cpp='$CXXCPP $CPPFLAGS'
40645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40650 /* end confdefs.h. */
40652 #ifdef HAVE_IEEEFP_H
40653 #include <ieeefp.h>
40664 if ac_fn_cxx_try_compile "$LINENO"; then :
40665 glibcxx_cv_func__logf_use=yes
40667 glibcxx_cv_func__logf_use=no
40669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40671 ac_cpp='$CPP $CPPFLAGS'
40672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40681 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40683 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40684 for ac_func in _logf
40686 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40687 if test "x$ac_cv_func__logf" = x""yes; then :
40688 cat >>confdefs.h <<_ACEOF
40689 #define HAVE__LOGF 1
40702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40703 $as_echo_n "checking for log10f declaration... " >&6; }
40704 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40705 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40706 $as_echo_n "(cached) " >&6
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h. */
40719 #ifdef HAVE_IEEEFP_H
40720 #include <ieeefp.h>
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732 glibcxx_cv_func_log10f_use=yes
40734 glibcxx_cv_func_log10f_use=no
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40748 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40750 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40751 for ac_func in log10f
40753 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40754 if test "x$ac_cv_func_log10f" = x""yes; then :
40755 cat >>confdefs.h <<_ACEOF
40756 #define HAVE_LOG10F 1
40764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40765 $as_echo_n "checking for _log10f declaration... " >&6; }
40766 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40767 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40768 $as_echo_n "(cached) " >&6
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779 /* end confdefs.h. */
40781 #ifdef HAVE_IEEEFP_H
40782 #include <ieeefp.h>
40793 if ac_fn_cxx_try_compile "$LINENO"; then :
40794 glibcxx_cv_func__log10f_use=yes
40796 glibcxx_cv_func__log10f_use=no
40798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40800 ac_cpp='$CPP $CPPFLAGS'
40801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40810 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40812 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40813 for ac_func in _log10f
40815 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40816 if test "x$ac_cv_func__log10f" = x""yes; then :
40817 cat >>confdefs.h <<_ACEOF
40818 #define HAVE__LOG10F 1
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40832 $as_echo_n "checking for modff declaration... " >&6; }
40833 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40834 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40835 $as_echo_n "(cached) " >&6
40840 ac_cpp='$CXXCPP $CPPFLAGS'
40841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40846 /* end confdefs.h. */
40856 if ac_fn_cxx_try_compile "$LINENO"; then :
40857 glibcxx_cv_func_modff_use=yes
40859 glibcxx_cv_func_modff_use=no
40861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40863 ac_cpp='$CPP $CPPFLAGS'
40864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40873 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40875 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40876 for ac_func in modff
40878 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40879 if test "x$ac_cv_func_modff" = x""yes; then :
40880 cat >>confdefs.h <<_ACEOF
40881 #define HAVE_MODFF 1
40889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40890 $as_echo_n "checking for _modff declaration... " >&6; }
40891 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40892 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40893 $as_echo_n "(cached) " >&6
40898 ac_cpp='$CXXCPP $CPPFLAGS'
40899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40904 /* end confdefs.h. */
40914 if ac_fn_cxx_try_compile "$LINENO"; then :
40915 glibcxx_cv_func__modff_use=yes
40917 glibcxx_cv_func__modff_use=no
40919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40921 ac_cpp='$CPP $CPPFLAGS'
40922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40931 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40933 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40934 for ac_func in _modff
40936 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40937 if test "x$ac_cv_func__modff" = x""yes; then :
40938 cat >>confdefs.h <<_ACEOF
40939 #define HAVE__MODFF 1
40952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40953 $as_echo_n "checking for modf declaration... " >&6; }
40954 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40955 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40956 $as_echo_n "(cached) " >&6
40961 ac_cpp='$CXXCPP $CPPFLAGS'
40962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40967 /* end confdefs.h. */
40977 if ac_fn_cxx_try_compile "$LINENO"; then :
40978 glibcxx_cv_func_modf_use=yes
40980 glibcxx_cv_func_modf_use=no
40982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40984 ac_cpp='$CPP $CPPFLAGS'
40985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40994 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40996 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40997 for ac_func in modf
40999 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41000 if test "x$ac_cv_func_modf" = x""yes; then :
41001 cat >>confdefs.h <<_ACEOF
41002 #define HAVE_MODF 1
41010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41011 $as_echo_n "checking for _modf declaration... " >&6; }
41012 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41013 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41014 $as_echo_n "(cached) " >&6
41019 ac_cpp='$CXXCPP $CPPFLAGS'
41020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41025 /* end confdefs.h. */
41035 if ac_fn_cxx_try_compile "$LINENO"; then :
41036 glibcxx_cv_func__modf_use=yes
41038 glibcxx_cv_func__modf_use=no
41040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41042 ac_cpp='$CPP $CPPFLAGS'
41043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41052 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41054 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41055 for ac_func in _modf
41057 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41058 if test "x$ac_cv_func__modf" = x""yes; then :
41059 cat >>confdefs.h <<_ACEOF
41060 #define HAVE__MODF 1
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41074 $as_echo_n "checking for powf declaration... " >&6; }
41075 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41076 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41077 $as_echo_n "(cached) " >&6
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41088 /* end confdefs.h. */
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099 glibcxx_cv_func_powf_use=yes
41101 glibcxx_cv_func_powf_use=no
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41115 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41117 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41118 for ac_func in powf
41120 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41121 if test "x$ac_cv_func_powf" = x""yes; then :
41122 cat >>confdefs.h <<_ACEOF
41123 #define HAVE_POWF 1
41131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41132 $as_echo_n "checking for _powf declaration... " >&6; }
41133 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41134 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41135 $as_echo_n "(cached) " >&6
41140 ac_cpp='$CXXCPP $CPPFLAGS'
41141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41146 /* end confdefs.h. */
41156 if ac_fn_cxx_try_compile "$LINENO"; then :
41157 glibcxx_cv_func__powf_use=yes
41159 glibcxx_cv_func__powf_use=no
41161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41163 ac_cpp='$CPP $CPPFLAGS'
41164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41173 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41175 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41176 for ac_func in _powf
41178 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41179 if test "x$ac_cv_func__powf" = x""yes; then :
41180 cat >>confdefs.h <<_ACEOF
41181 #define HAVE__POWF 1
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41195 $as_echo_n "checking for sqrtf declaration... " >&6; }
41196 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41197 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41198 $as_echo_n "(cached) " >&6
41203 ac_cpp='$CXXCPP $CPPFLAGS'
41204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41209 /* end confdefs.h. */
41211 #ifdef HAVE_IEEEFP_H
41212 #include <ieeefp.h>
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224 glibcxx_cv_func_sqrtf_use=yes
41226 glibcxx_cv_func_sqrtf_use=no
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41240 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41242 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41243 for ac_func in sqrtf
41245 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41246 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41247 cat >>confdefs.h <<_ACEOF
41248 #define HAVE_SQRTF 1
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41257 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41258 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41259 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41260 $as_echo_n "(cached) " >&6
41265 ac_cpp='$CXXCPP $CPPFLAGS'
41266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41271 /* end confdefs.h. */
41273 #ifdef HAVE_IEEEFP_H
41274 #include <ieeefp.h>
41285 if ac_fn_cxx_try_compile "$LINENO"; then :
41286 glibcxx_cv_func__sqrtf_use=yes
41288 glibcxx_cv_func__sqrtf_use=no
41290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41292 ac_cpp='$CPP $CPPFLAGS'
41293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41302 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41304 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41305 for ac_func in _sqrtf
41307 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41308 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41309 cat >>confdefs.h <<_ACEOF
41310 #define HAVE__SQRTF 1
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41324 $as_echo_n "checking for sincosf declaration... " >&6; }
41325 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41326 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41327 $as_echo_n "(cached) " >&6
41332 ac_cpp='$CXXCPP $CPPFLAGS'
41333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h. */
41348 if ac_fn_cxx_try_compile "$LINENO"; then :
41349 glibcxx_cv_func_sincosf_use=yes
41351 glibcxx_cv_func_sincosf_use=no
41353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41355 ac_cpp='$CPP $CPPFLAGS'
41356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41365 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41367 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41368 for ac_func in sincosf
41370 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41371 if test "x$ac_cv_func_sincosf" = x""yes; then :
41372 cat >>confdefs.h <<_ACEOF
41373 #define HAVE_SINCOSF 1
41381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41382 $as_echo_n "checking for _sincosf declaration... " >&6; }
41383 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41384 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41385 $as_echo_n "(cached) " >&6
41390 ac_cpp='$CXXCPP $CPPFLAGS'
41391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41396 /* end confdefs.h. */
41406 if ac_fn_cxx_try_compile "$LINENO"; then :
41407 glibcxx_cv_func__sincosf_use=yes
41409 glibcxx_cv_func__sincosf_use=no
41411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41413 ac_cpp='$CPP $CPPFLAGS'
41414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41423 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41425 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41426 for ac_func in _sincosf
41428 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41429 if test "x$ac_cv_func__sincosf" = x""yes; then :
41430 cat >>confdefs.h <<_ACEOF
41431 #define HAVE__SINCOSF 1
41444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41445 $as_echo_n "checking for finitef declaration... " >&6; }
41446 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41447 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41448 $as_echo_n "(cached) " >&6
41453 ac_cpp='$CXXCPP $CPPFLAGS'
41454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41459 /* end confdefs.h. */
41461 #ifdef HAVE_IEEEFP_H
41462 #include <ieeefp.h>
41473 if ac_fn_cxx_try_compile "$LINENO"; then :
41474 glibcxx_cv_func_finitef_use=yes
41476 glibcxx_cv_func_finitef_use=no
41478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41480 ac_cpp='$CPP $CPPFLAGS'
41481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41490 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41492 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41493 for ac_func in finitef
41495 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41496 if test "x$ac_cv_func_finitef" = x""yes; then :
41497 cat >>confdefs.h <<_ACEOF
41498 #define HAVE_FINITEF 1
41506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41507 $as_echo_n "checking for _finitef declaration... " >&6; }
41508 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41509 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41510 $as_echo_n "(cached) " >&6
41515 ac_cpp='$CXXCPP $CPPFLAGS'
41516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41521 /* end confdefs.h. */
41523 #ifdef HAVE_IEEEFP_H
41524 #include <ieeefp.h>
41535 if ac_fn_cxx_try_compile "$LINENO"; then :
41536 glibcxx_cv_func__finitef_use=yes
41538 glibcxx_cv_func__finitef_use=no
41540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41542 ac_cpp='$CPP $CPPFLAGS'
41543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41552 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41554 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41555 for ac_func in _finitef
41557 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41558 if test "x$ac_cv_func__finitef" = x""yes; then :
41559 cat >>confdefs.h <<_ACEOF
41560 #define HAVE__FINITEF 1
41573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41574 $as_echo_n "checking for long double trig functions... " >&6; }
41575 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41576 $as_echo_n "(cached) " >&6
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41587 /* end confdefs.h. */
41592 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41597 if ac_fn_cxx_try_compile "$LINENO"; then :
41598 glibcxx_cv_func_long_double_trig_use=yes
41600 glibcxx_cv_func_long_double_trig_use=no
41602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41604 ac_cpp='$CPP $CPPFLAGS'
41605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41612 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41613 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41614 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41618 eval as_val=\$$as_ac_var
41619 if test "x$as_val" = x""yes; then :
41620 cat >>confdefs.h <<_ACEOF
41621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41629 $as_echo_n "checking for _long double trig functions... " >&6; }
41630 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41631 $as_echo_n "(cached) " >&6
41636 ac_cpp='$CXXCPP $CPPFLAGS'
41637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41642 /* end confdefs.h. */
41647 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41652 if ac_fn_cxx_try_compile "$LINENO"; then :
41653 glibcxx_cv_func__long_double_trig_use=yes
41655 glibcxx_cv_func__long_double_trig_use=no
41657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41659 ac_cpp='$CPP $CPPFLAGS'
41660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41667 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41669 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41673 eval as_val=\$$as_ac_var
41674 if test "x$as_val" = x""yes; then :
41675 cat >>confdefs.h <<_ACEOF
41676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41690 $as_echo_n "checking for long double round functions... " >&6; }
41691 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41692 $as_echo_n "(cached) " >&6
41697 ac_cpp='$CXXCPP $CPPFLAGS'
41698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703 /* end confdefs.h. */
41708 ceill (0); floorl (0);
41713 if ac_fn_cxx_try_compile "$LINENO"; then :
41714 glibcxx_cv_func_long_double_round_use=yes
41716 glibcxx_cv_func_long_double_round_use=no
41718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41720 ac_cpp='$CPP $CPPFLAGS'
41721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41728 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41729 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41730 for ac_func in ceill floorl
41732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41734 eval as_val=\$$as_ac_var
41735 if test "x$as_val" = x""yes; then :
41736 cat >>confdefs.h <<_ACEOF
41737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41745 $as_echo_n "checking for _long double round functions... " >&6; }
41746 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41747 $as_echo_n "(cached) " >&6
41752 ac_cpp='$CXXCPP $CPPFLAGS'
41753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41758 /* end confdefs.h. */
41763 _ceill (0); _floorl (0);
41768 if ac_fn_cxx_try_compile "$LINENO"; then :
41769 glibcxx_cv_func__long_double_round_use=yes
41771 glibcxx_cv_func__long_double_round_use=no
41773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41775 ac_cpp='$CPP $CPPFLAGS'
41776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41783 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41784 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41785 for ac_func in _ceill _floorl
41787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41789 eval as_val=\$$as_ac_var
41790 if test "x$as_val" = x""yes; then :
41791 cat >>confdefs.h <<_ACEOF
41792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41807 $as_echo_n "checking for isnanl declaration... " >&6; }
41808 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41809 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41810 $as_echo_n "(cached) " >&6
41815 ac_cpp='$CXXCPP $CPPFLAGS'
41816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41821 /* end confdefs.h. */
41823 #ifdef HAVE_IEEEFP_H
41824 #include <ieeefp.h>
41835 if ac_fn_cxx_try_compile "$LINENO"; then :
41836 glibcxx_cv_func_isnanl_use=yes
41838 glibcxx_cv_func_isnanl_use=no
41840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41842 ac_cpp='$CPP $CPPFLAGS'
41843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41852 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41854 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41855 for ac_func in isnanl
41857 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41858 if test "x$ac_cv_func_isnanl" = x""yes; then :
41859 cat >>confdefs.h <<_ACEOF
41860 #define HAVE_ISNANL 1
41868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41869 $as_echo_n "checking for _isnanl declaration... " >&6; }
41870 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41871 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41872 $as_echo_n "(cached) " >&6
41877 ac_cpp='$CXXCPP $CPPFLAGS'
41878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41883 /* end confdefs.h. */
41885 #ifdef HAVE_IEEEFP_H
41886 #include <ieeefp.h>
41897 if ac_fn_cxx_try_compile "$LINENO"; then :
41898 glibcxx_cv_func__isnanl_use=yes
41900 glibcxx_cv_func__isnanl_use=no
41902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41904 ac_cpp='$CPP $CPPFLAGS'
41905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41914 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41916 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41917 for ac_func in _isnanl
41919 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41920 if test "x$ac_cv_func__isnanl" = x""yes; then :
41921 cat >>confdefs.h <<_ACEOF
41922 #define HAVE__ISNANL 1
41935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41936 $as_echo_n "checking for isinfl declaration... " >&6; }
41937 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41938 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41939 $as_echo_n "(cached) " >&6
41944 ac_cpp='$CXXCPP $CPPFLAGS'
41945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41950 /* end confdefs.h. */
41952 #ifdef HAVE_IEEEFP_H
41953 #include <ieeefp.h>
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965 glibcxx_cv_func_isinfl_use=yes
41967 glibcxx_cv_func_isinfl_use=no
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41981 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41983 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41984 for ac_func in isinfl
41986 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41987 if test "x$ac_cv_func_isinfl" = x""yes; then :
41988 cat >>confdefs.h <<_ACEOF
41989 #define HAVE_ISINFL 1
41997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41998 $as_echo_n "checking for _isinfl declaration... " >&6; }
41999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42001 $as_echo_n "(cached) " >&6
42006 ac_cpp='$CXXCPP $CPPFLAGS'
42007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42012 /* end confdefs.h. */
42014 #ifdef HAVE_IEEEFP_H
42015 #include <ieeefp.h>
42026 if ac_fn_cxx_try_compile "$LINENO"; then :
42027 glibcxx_cv_func__isinfl_use=yes
42029 glibcxx_cv_func__isinfl_use=no
42031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42033 ac_cpp='$CPP $CPPFLAGS'
42034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42043 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42045 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42046 for ac_func in _isinfl
42048 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42049 if test "x$ac_cv_func__isinfl" = x""yes; then :
42050 cat >>confdefs.h <<_ACEOF
42051 #define HAVE__ISINFL 1
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42065 $as_echo_n "checking for atan2l declaration... " >&6; }
42066 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42067 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42068 $as_echo_n "(cached) " >&6
42073 ac_cpp='$CXXCPP $CPPFLAGS'
42074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 /* end confdefs.h. */
42089 if ac_fn_cxx_try_compile "$LINENO"; then :
42090 glibcxx_cv_func_atan2l_use=yes
42092 glibcxx_cv_func_atan2l_use=no
42094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42096 ac_cpp='$CPP $CPPFLAGS'
42097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42106 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42108 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42109 for ac_func in atan2l
42111 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42112 if test "x$ac_cv_func_atan2l" = x""yes; then :
42113 cat >>confdefs.h <<_ACEOF
42114 #define HAVE_ATAN2L 1
42122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42123 $as_echo_n "checking for _atan2l declaration... " >&6; }
42124 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42125 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42126 $as_echo_n "(cached) " >&6
42131 ac_cpp='$CXXCPP $CPPFLAGS'
42132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42137 /* end confdefs.h. */
42147 if ac_fn_cxx_try_compile "$LINENO"; then :
42148 glibcxx_cv_func__atan2l_use=yes
42150 glibcxx_cv_func__atan2l_use=no
42152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42154 ac_cpp='$CPP $CPPFLAGS'
42155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42164 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42166 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42167 for ac_func in _atan2l
42169 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42170 if test "x$ac_cv_func__atan2l" = x""yes; then :
42171 cat >>confdefs.h <<_ACEOF
42172 #define HAVE__ATAN2L 1
42185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42186 $as_echo_n "checking for expl declaration... " >&6; }
42187 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42188 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42189 $as_echo_n "(cached) " >&6
42194 ac_cpp='$CXXCPP $CPPFLAGS'
42195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42200 /* end confdefs.h. */
42202 #ifdef HAVE_IEEEFP_H
42203 #include <ieeefp.h>
42214 if ac_fn_cxx_try_compile "$LINENO"; then :
42215 glibcxx_cv_func_expl_use=yes
42217 glibcxx_cv_func_expl_use=no
42219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42231 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42233 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42234 for ac_func in expl
42236 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42237 if test "x$ac_cv_func_expl" = x""yes; then :
42238 cat >>confdefs.h <<_ACEOF
42239 #define HAVE_EXPL 1
42247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42248 $as_echo_n "checking for _expl declaration... " >&6; }
42249 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42250 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42251 $as_echo_n "(cached) " >&6
42256 ac_cpp='$CXXCPP $CPPFLAGS'
42257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42262 /* end confdefs.h. */
42264 #ifdef HAVE_IEEEFP_H
42265 #include <ieeefp.h>
42276 if ac_fn_cxx_try_compile "$LINENO"; then :
42277 glibcxx_cv_func__expl_use=yes
42279 glibcxx_cv_func__expl_use=no
42281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42283 ac_cpp='$CPP $CPPFLAGS'
42284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42293 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42295 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42296 for ac_func in _expl
42298 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42299 if test "x$ac_cv_func__expl" = x""yes; then :
42300 cat >>confdefs.h <<_ACEOF
42301 #define HAVE__EXPL 1
42314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42315 $as_echo_n "checking for fabsl declaration... " >&6; }
42316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42317 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42318 $as_echo_n "(cached) " >&6
42323 ac_cpp='$CXXCPP $CPPFLAGS'
42324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329 /* end confdefs.h. */
42331 #ifdef HAVE_IEEEFP_H
42332 #include <ieeefp.h>
42343 if ac_fn_cxx_try_compile "$LINENO"; then :
42344 glibcxx_cv_func_fabsl_use=yes
42346 glibcxx_cv_func_fabsl_use=no
42348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42350 ac_cpp='$CPP $CPPFLAGS'
42351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42360 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42362 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42363 for ac_func in fabsl
42365 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42366 if test "x$ac_cv_func_fabsl" = x""yes; then :
42367 cat >>confdefs.h <<_ACEOF
42368 #define HAVE_FABSL 1
42376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42377 $as_echo_n "checking for _fabsl declaration... " >&6; }
42378 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42379 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42380 $as_echo_n "(cached) " >&6
42385 ac_cpp='$CXXCPP $CPPFLAGS'
42386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42391 /* end confdefs.h. */
42393 #ifdef HAVE_IEEEFP_H
42394 #include <ieeefp.h>
42405 if ac_fn_cxx_try_compile "$LINENO"; then :
42406 glibcxx_cv_func__fabsl_use=yes
42408 glibcxx_cv_func__fabsl_use=no
42410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42412 ac_cpp='$CPP $CPPFLAGS'
42413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42422 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42424 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42425 for ac_func in _fabsl
42427 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42428 if test "x$ac_cv_func__fabsl" = x""yes; then :
42429 cat >>confdefs.h <<_ACEOF
42430 #define HAVE__FABSL 1
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42444 $as_echo_n "checking for fmodl declaration... " >&6; }
42445 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42446 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42447 $as_echo_n "(cached) " >&6
42452 ac_cpp='$CXXCPP $CPPFLAGS'
42453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42458 /* end confdefs.h. */
42468 if ac_fn_cxx_try_compile "$LINENO"; then :
42469 glibcxx_cv_func_fmodl_use=yes
42471 glibcxx_cv_func_fmodl_use=no
42473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42475 ac_cpp='$CPP $CPPFLAGS'
42476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42485 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42487 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42488 for ac_func in fmodl
42490 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42491 if test "x$ac_cv_func_fmodl" = x""yes; then :
42492 cat >>confdefs.h <<_ACEOF
42493 #define HAVE_FMODL 1
42501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42502 $as_echo_n "checking for _fmodl declaration... " >&6; }
42503 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42504 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42505 $as_echo_n "(cached) " >&6
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42516 /* end confdefs.h. */
42526 if ac_fn_cxx_try_compile "$LINENO"; then :
42527 glibcxx_cv_func__fmodl_use=yes
42529 glibcxx_cv_func__fmodl_use=no
42531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42533 ac_cpp='$CPP $CPPFLAGS'
42534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42543 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42545 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42546 for ac_func in _fmodl
42548 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42549 if test "x$ac_cv_func__fmodl" = x""yes; then :
42550 cat >>confdefs.h <<_ACEOF
42551 #define HAVE__FMODL 1
42564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42565 $as_echo_n "checking for frexpl declaration... " >&6; }
42566 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42567 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42568 $as_echo_n "(cached) " >&6
42573 ac_cpp='$CXXCPP $CPPFLAGS'
42574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42579 /* end confdefs.h. */
42589 if ac_fn_cxx_try_compile "$LINENO"; then :
42590 glibcxx_cv_func_frexpl_use=yes
42592 glibcxx_cv_func_frexpl_use=no
42594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42596 ac_cpp='$CPP $CPPFLAGS'
42597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42606 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42608 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42609 for ac_func in frexpl
42611 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42612 if test "x$ac_cv_func_frexpl" = x""yes; then :
42613 cat >>confdefs.h <<_ACEOF
42614 #define HAVE_FREXPL 1
42622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42623 $as_echo_n "checking for _frexpl declaration... " >&6; }
42624 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42625 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42626 $as_echo_n "(cached) " >&6
42631 ac_cpp='$CXXCPP $CPPFLAGS'
42632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42637 /* end confdefs.h. */
42647 if ac_fn_cxx_try_compile "$LINENO"; then :
42648 glibcxx_cv_func__frexpl_use=yes
42650 glibcxx_cv_func__frexpl_use=no
42652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42654 ac_cpp='$CPP $CPPFLAGS'
42655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42664 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42666 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42667 for ac_func in _frexpl
42669 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42670 if test "x$ac_cv_func__frexpl" = x""yes; then :
42671 cat >>confdefs.h <<_ACEOF
42672 #define HAVE__FREXPL 1
42685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42686 $as_echo_n "checking for hypotl declaration... " >&6; }
42687 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42688 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42689 $as_echo_n "(cached) " >&6
42694 ac_cpp='$CXXCPP $CPPFLAGS'
42695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42700 /* end confdefs.h. */
42710 if ac_fn_cxx_try_compile "$LINENO"; then :
42711 glibcxx_cv_func_hypotl_use=yes
42713 glibcxx_cv_func_hypotl_use=no
42715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717 ac_cpp='$CPP $CPPFLAGS'
42718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42727 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42729 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42730 for ac_func in hypotl
42732 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42733 if test "x$ac_cv_func_hypotl" = x""yes; then :
42734 cat >>confdefs.h <<_ACEOF
42735 #define HAVE_HYPOTL 1
42743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42744 $as_echo_n "checking for _hypotl declaration... " >&6; }
42745 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42746 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42747 $as_echo_n "(cached) " >&6
42752 ac_cpp='$CXXCPP $CPPFLAGS'
42753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42758 /* end confdefs.h. */
42768 if ac_fn_cxx_try_compile "$LINENO"; then :
42769 glibcxx_cv_func__hypotl_use=yes
42771 glibcxx_cv_func__hypotl_use=no
42773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42775 ac_cpp='$CPP $CPPFLAGS'
42776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42785 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42787 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42788 for ac_func in _hypotl
42790 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42791 if test "x$ac_cv_func__hypotl" = x""yes; then :
42792 cat >>confdefs.h <<_ACEOF
42793 #define HAVE__HYPOTL 1
42806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42807 $as_echo_n "checking for ldexpl declaration... " >&6; }
42808 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42809 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42810 $as_echo_n "(cached) " >&6
42815 ac_cpp='$CXXCPP $CPPFLAGS'
42816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42821 /* end confdefs.h. */
42831 if ac_fn_cxx_try_compile "$LINENO"; then :
42832 glibcxx_cv_func_ldexpl_use=yes
42834 glibcxx_cv_func_ldexpl_use=no
42836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42838 ac_cpp='$CPP $CPPFLAGS'
42839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42848 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42850 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42851 for ac_func in ldexpl
42853 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42854 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42855 cat >>confdefs.h <<_ACEOF
42856 #define HAVE_LDEXPL 1
42864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42865 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42866 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42867 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42868 $as_echo_n "(cached) " >&6
42873 ac_cpp='$CXXCPP $CPPFLAGS'
42874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42879 /* end confdefs.h. */
42889 if ac_fn_cxx_try_compile "$LINENO"; then :
42890 glibcxx_cv_func__ldexpl_use=yes
42892 glibcxx_cv_func__ldexpl_use=no
42894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42896 ac_cpp='$CPP $CPPFLAGS'
42897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42906 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42908 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42909 for ac_func in _ldexpl
42911 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42912 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42913 cat >>confdefs.h <<_ACEOF
42914 #define HAVE__LDEXPL 1
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42928 $as_echo_n "checking for logl declaration... " >&6; }
42929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42930 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42931 $as_echo_n "(cached) " >&6
42936 ac_cpp='$CXXCPP $CPPFLAGS'
42937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42942 /* end confdefs.h. */
42944 #ifdef HAVE_IEEEFP_H
42945 #include <ieeefp.h>
42956 if ac_fn_cxx_try_compile "$LINENO"; then :
42957 glibcxx_cv_func_logl_use=yes
42959 glibcxx_cv_func_logl_use=no
42961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42963 ac_cpp='$CPP $CPPFLAGS'
42964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42973 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42975 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42976 for ac_func in logl
42978 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42979 if test "x$ac_cv_func_logl" = x""yes; then :
42980 cat >>confdefs.h <<_ACEOF
42981 #define HAVE_LOGL 1
42989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42990 $as_echo_n "checking for _logl declaration... " >&6; }
42991 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42992 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42993 $as_echo_n "(cached) " >&6
42998 ac_cpp='$CXXCPP $CPPFLAGS'
42999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43004 /* end confdefs.h. */
43006 #ifdef HAVE_IEEEFP_H
43007 #include <ieeefp.h>
43018 if ac_fn_cxx_try_compile "$LINENO"; then :
43019 glibcxx_cv_func__logl_use=yes
43021 glibcxx_cv_func__logl_use=no
43023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43025 ac_cpp='$CPP $CPPFLAGS'
43026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43035 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43037 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43038 for ac_func in _logl
43040 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43041 if test "x$ac_cv_func__logl" = x""yes; then :
43042 cat >>confdefs.h <<_ACEOF
43043 #define HAVE__LOGL 1
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43057 $as_echo_n "checking for log10l declaration... " >&6; }
43058 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43059 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43060 $as_echo_n "(cached) " >&6
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43073 #ifdef HAVE_IEEEFP_H
43074 #include <ieeefp.h>
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func_log10l_use=yes
43088 glibcxx_cv_func_log10l_use=no
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43102 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43104 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43105 for ac_func in log10l
43107 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43108 if test "x$ac_cv_func_log10l" = x""yes; then :
43109 cat >>confdefs.h <<_ACEOF
43110 #define HAVE_LOG10L 1
43118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43119 $as_echo_n "checking for _log10l declaration... " >&6; }
43120 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43121 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43122 $as_echo_n "(cached) " >&6
43127 ac_cpp='$CXXCPP $CPPFLAGS'
43128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43133 /* end confdefs.h. */
43135 #ifdef HAVE_IEEEFP_H
43136 #include <ieeefp.h>
43147 if ac_fn_cxx_try_compile "$LINENO"; then :
43148 glibcxx_cv_func__log10l_use=yes
43150 glibcxx_cv_func__log10l_use=no
43152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43154 ac_cpp='$CPP $CPPFLAGS'
43155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43164 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43166 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43167 for ac_func in _log10l
43169 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43170 if test "x$ac_cv_func__log10l" = x""yes; then :
43171 cat >>confdefs.h <<_ACEOF
43172 #define HAVE__LOG10L 1
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43186 $as_echo_n "checking for modfl declaration... " >&6; }
43187 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43188 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43189 $as_echo_n "(cached) " >&6
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h. */
43210 if ac_fn_cxx_try_compile "$LINENO"; then :
43211 glibcxx_cv_func_modfl_use=yes
43213 glibcxx_cv_func_modfl_use=no
43215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217 ac_cpp='$CPP $CPPFLAGS'
43218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43227 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43229 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43230 for ac_func in modfl
43232 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43233 if test "x$ac_cv_func_modfl" = x""yes; then :
43234 cat >>confdefs.h <<_ACEOF
43235 #define HAVE_MODFL 1
43243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43244 $as_echo_n "checking for _modfl declaration... " >&6; }
43245 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43246 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43247 $as_echo_n "(cached) " >&6
43252 ac_cpp='$CXXCPP $CPPFLAGS'
43253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43258 /* end confdefs.h. */
43268 if ac_fn_cxx_try_compile "$LINENO"; then :
43269 glibcxx_cv_func__modfl_use=yes
43271 glibcxx_cv_func__modfl_use=no
43273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43275 ac_cpp='$CPP $CPPFLAGS'
43276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43285 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43288 for ac_func in _modfl
43290 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43291 if test "x$ac_cv_func__modfl" = x""yes; then :
43292 cat >>confdefs.h <<_ACEOF
43293 #define HAVE__MODFL 1
43306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43307 $as_echo_n "checking for powl declaration... " >&6; }
43308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43309 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43310 $as_echo_n "(cached) " >&6
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43321 /* end confdefs.h. */
43331 if ac_fn_cxx_try_compile "$LINENO"; then :
43332 glibcxx_cv_func_powl_use=yes
43334 glibcxx_cv_func_powl_use=no
43336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43338 ac_cpp='$CPP $CPPFLAGS'
43339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43348 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43350 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43351 for ac_func in powl
43353 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43354 if test "x$ac_cv_func_powl" = x""yes; then :
43355 cat >>confdefs.h <<_ACEOF
43356 #define HAVE_POWL 1
43364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43365 $as_echo_n "checking for _powl declaration... " >&6; }
43366 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43367 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43368 $as_echo_n "(cached) " >&6
43373 ac_cpp='$CXXCPP $CPPFLAGS'
43374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43379 /* end confdefs.h. */
43389 if ac_fn_cxx_try_compile "$LINENO"; then :
43390 glibcxx_cv_func__powl_use=yes
43392 glibcxx_cv_func__powl_use=no
43394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43396 ac_cpp='$CPP $CPPFLAGS'
43397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43406 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43408 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43409 for ac_func in _powl
43411 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43412 if test "x$ac_cv_func__powl" = x""yes; then :
43413 cat >>confdefs.h <<_ACEOF
43414 #define HAVE__POWL 1
43427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43428 $as_echo_n "checking for sqrtl declaration... " >&6; }
43429 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43430 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43431 $as_echo_n "(cached) " >&6
43436 ac_cpp='$CXXCPP $CPPFLAGS'
43437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43442 /* end confdefs.h. */
43444 #ifdef HAVE_IEEEFP_H
43445 #include <ieeefp.h>
43456 if ac_fn_cxx_try_compile "$LINENO"; then :
43457 glibcxx_cv_func_sqrtl_use=yes
43459 glibcxx_cv_func_sqrtl_use=no
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43463 ac_cpp='$CPP $CPPFLAGS'
43464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43473 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43475 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43476 for ac_func in sqrtl
43478 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43479 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43480 cat >>confdefs.h <<_ACEOF
43481 #define HAVE_SQRTL 1
43489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43490 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43491 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43492 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43493 $as_echo_n "(cached) " >&6
43498 ac_cpp='$CXXCPP $CPPFLAGS'
43499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43504 /* end confdefs.h. */
43506 #ifdef HAVE_IEEEFP_H
43507 #include <ieeefp.h>
43518 if ac_fn_cxx_try_compile "$LINENO"; then :
43519 glibcxx_cv_func__sqrtl_use=yes
43521 glibcxx_cv_func__sqrtl_use=no
43523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43525 ac_cpp='$CPP $CPPFLAGS'
43526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43535 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43538 for ac_func in _sqrtl
43540 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43541 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43542 cat >>confdefs.h <<_ACEOF
43543 #define HAVE__SQRTL 1
43556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43557 $as_echo_n "checking for sincosl declaration... " >&6; }
43558 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43559 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43560 $as_echo_n "(cached) " >&6
43565 ac_cpp='$CXXCPP $CPPFLAGS'
43566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43571 /* end confdefs.h. */
43581 if ac_fn_cxx_try_compile "$LINENO"; then :
43582 glibcxx_cv_func_sincosl_use=yes
43584 glibcxx_cv_func_sincosl_use=no
43586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43588 ac_cpp='$CPP $CPPFLAGS'
43589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43598 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43600 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43601 for ac_func in sincosl
43603 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43604 if test "x$ac_cv_func_sincosl" = x""yes; then :
43605 cat >>confdefs.h <<_ACEOF
43606 #define HAVE_SINCOSL 1
43614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43615 $as_echo_n "checking for _sincosl declaration... " >&6; }
43616 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43617 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43618 $as_echo_n "(cached) " >&6
43623 ac_cpp='$CXXCPP $CPPFLAGS'
43624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43629 /* end confdefs.h. */
43639 if ac_fn_cxx_try_compile "$LINENO"; then :
43640 glibcxx_cv_func__sincosl_use=yes
43642 glibcxx_cv_func__sincosl_use=no
43644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43646 ac_cpp='$CPP $CPPFLAGS'
43647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43656 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43658 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43659 for ac_func in _sincosl
43661 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43662 if test "x$ac_cv_func__sincosl" = x""yes; then :
43663 cat >>confdefs.h <<_ACEOF
43664 #define HAVE__SINCOSL 1
43677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43678 $as_echo_n "checking for finitel declaration... " >&6; }
43679 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43680 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43681 $as_echo_n "(cached) " >&6
43686 ac_cpp='$CXXCPP $CPPFLAGS'
43687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43692 /* end confdefs.h. */
43694 #ifdef HAVE_IEEEFP_H
43695 #include <ieeefp.h>
43706 if ac_fn_cxx_try_compile "$LINENO"; then :
43707 glibcxx_cv_func_finitel_use=yes
43709 glibcxx_cv_func_finitel_use=no
43711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43713 ac_cpp='$CPP $CPPFLAGS'
43714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43723 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43725 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43726 for ac_func in finitel
43728 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43729 if test "x$ac_cv_func_finitel" = x""yes; then :
43730 cat >>confdefs.h <<_ACEOF
43731 #define HAVE_FINITEL 1
43739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43740 $as_echo_n "checking for _finitel declaration... " >&6; }
43741 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43742 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43743 $as_echo_n "(cached) " >&6
43748 ac_cpp='$CXXCPP $CPPFLAGS'
43749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43754 /* end confdefs.h. */
43756 #ifdef HAVE_IEEEFP_H
43757 #include <ieeefp.h>
43768 if ac_fn_cxx_try_compile "$LINENO"; then :
43769 glibcxx_cv_func__finitel_use=yes
43771 glibcxx_cv_func__finitel_use=no
43773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43775 ac_cpp='$CPP $CPPFLAGS'
43776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43785 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43787 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43788 for ac_func in _finitel
43790 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43791 if test "x$ac_cv_func__finitel" = x""yes; then :
43792 cat >>confdefs.h <<_ACEOF
43793 #define HAVE__FINITEL 1
43805 LIBS="$ac_save_LIBS"
43806 CXXFLAGS="$ac_save_CXXFLAGS"
43809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43810 ac_save_CXXFLAGS="$CXXFLAGS"
43811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43815 $as_echo_n "checking for strtold declaration... " >&6; }
43816 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43817 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43818 $as_echo_n "(cached) " >&6
43823 ac_cpp='$CXXCPP $CPPFLAGS'
43824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43829 /* end confdefs.h. */
43830 #include <stdlib.h>
43839 if ac_fn_cxx_try_compile "$LINENO"; then :
43840 glibcxx_cv_func_strtold_use=yes
43842 glibcxx_cv_func_strtold_use=no
43844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43846 ac_cpp='$CPP $CPPFLAGS'
43847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43856 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43857 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43858 for ac_func in strtold
43860 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43861 if test "x$ac_cv_func_strtold" = x""yes; then :
43862 cat >>confdefs.h <<_ACEOF
43863 #define HAVE_STRTOLD 1
43874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43875 $as_echo_n "checking for strtof declaration... " >&6; }
43876 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43877 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43878 $as_echo_n "(cached) " >&6
43883 ac_cpp='$CXXCPP $CPPFLAGS'
43884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43889 /* end confdefs.h. */
43890 #include <stdlib.h>
43899 if ac_fn_cxx_try_compile "$LINENO"; then :
43900 glibcxx_cv_func_strtof_use=yes
43902 glibcxx_cv_func_strtof_use=no
43904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43916 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43917 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43918 for ac_func in strtof
43920 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43921 if test "x$ac_cv_func_strtof" = x""yes; then :
43922 cat >>confdefs.h <<_ACEOF
43923 #define HAVE_STRTOF 1
43934 CXXFLAGS="$ac_save_CXXFLAGS"
43939 # GLIBCXX_CHECK_MATH_SUPPORT
43940 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43942 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43944 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43946 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43948 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43953 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43956 # If we're not using GNU ld, then there's no point in even trying these
43957 # tests. Check for that first. We should have already tested for gld
43958 # by now (in libtool), but require it now just to be safe...
43959 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43960 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43964 # The name set by libtool depends on the version of libtool. Shame on us
43965 # for depending on an impl detail, but c'est la vie. Older versions used
43966 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43967 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43968 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43969 # set (hence we're using an older libtool), then set it.
43970 if test x${with_gnu_ld+set} != xset; then
43971 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43972 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43975 with_gnu_ld=$ac_cv_prog_gnu_ld
43979 # Start by getting the version number. I think the libtool test already
43980 # does some of this, but throws away the result.
43981 glibcxx_ld_is_gold=no
43982 if test x"$with_gnu_ld" = x"yes"; then
43983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43984 $as_echo_n "checking for ld version... " >&6; }
43986 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43987 glibcxx_ld_is_gold=yes
43989 ldver=`$LD --version 2>/dev/null |
43990 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'`
43992 glibcxx_gnu_ld_version=`echo $ldver | \
43993 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43995 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43998 # Set --gc-sections.
43999 glibcxx_have_gc_sections=no
44000 if test "$glibcxx_ld_is_gold" = "yes"; then
44001 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44002 glibcxx_have_gc_sections=yes
44005 glibcxx_gcsections_min_ld=21602
44006 if test x"$with_gnu_ld" = x"yes" &&
44007 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44008 glibcxx_have_gc_sections=yes
44011 if test "$glibcxx_have_gc_sections" = "yes"; then
44012 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44013 # NB: This flag only works reliably after 2.16.1. Configure tests
44014 # for this are difficult, so hard wire a value that should work.
44016 ac_test_CFLAGS="${CFLAGS+set}"
44017 ac_save_CFLAGS="$CFLAGS"
44018 CFLAGS='-Wl,--gc-sections'
44020 # Check for -Wl,--gc-sections
44021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44022 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44023 if test x$gcc_no_link = xyes; then
44024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44027 /* end confdefs.h. */
44028 int one(void) { return 1; }
44029 int two(void) { return 2; }
44039 if ac_fn_c_try_link "$LINENO"; then :
44044 rm -f core conftest.err conftest.$ac_objext \
44045 conftest$ac_exeext conftest.$ac_ext
44046 if test "$ac_gcsections" = "yes"; then
44049 if $CC -c conftest.c; then
44050 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44051 grep "Warning: gc-sections option ignored" > /dev/null; then
44055 rm -f conftest.c conftest.o conftest
44057 if test "$ac_gcsections" = "yes"; then
44058 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44061 $as_echo "$ac_gcsections" >&6; }
44063 if test "$ac_test_CFLAGS" = set; then
44064 CFLAGS="$ac_save_CFLAGS"
44066 # this is the suspicious part
44072 # Note this is only for shared objects.
44074 if test x"$with_gnu_ld" = x"yes"; then
44075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44076 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44077 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44078 if test -n "$cxx_z_relo"; then
44079 OPT_LDFLAGS="-Wl,-z,relro"
44082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44083 $as_echo "$ac_ld_relro" >&6; }
44086 # Set linker optimization flags.
44087 if test x"$with_gnu_ld" = x"yes"; then
44088 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44094 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44096 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44098 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44100 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44102 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44104 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44106 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44108 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44110 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44113 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44115 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44117 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44119 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44121 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44123 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44125 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44127 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44129 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44131 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44133 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44135 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44137 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44139 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44141 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44143 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44145 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44147 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44149 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44151 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44153 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44155 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44157 if test x"long_double_math_on_this_cpu" = x"yes"; then
44158 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44160 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44162 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44167 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44170 # If we're not using GNU ld, then there's no point in even trying these
44171 # tests. Check for that first. We should have already tested for gld
44172 # by now (in libtool), but require it now just to be safe...
44173 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44174 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44178 # The name set by libtool depends on the version of libtool. Shame on us
44179 # for depending on an impl detail, but c'est la vie. Older versions used
44180 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44181 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44182 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44183 # set (hence we're using an older libtool), then set it.
44184 if test x${with_gnu_ld+set} != xset; then
44185 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44186 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44189 with_gnu_ld=$ac_cv_prog_gnu_ld
44193 # Start by getting the version number. I think the libtool test already
44194 # does some of this, but throws away the result.
44195 glibcxx_ld_is_gold=no
44196 if test x"$with_gnu_ld" = x"yes"; then
44197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44198 $as_echo_n "checking for ld version... " >&6; }
44200 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44201 glibcxx_ld_is_gold=yes
44203 ldver=`$LD --version 2>/dev/null |
44204 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'`
44206 glibcxx_gnu_ld_version=`echo $ldver | \
44207 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44209 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44212 # Set --gc-sections.
44213 glibcxx_have_gc_sections=no
44214 if test "$glibcxx_ld_is_gold" = "yes"; then
44215 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44216 glibcxx_have_gc_sections=yes
44219 glibcxx_gcsections_min_ld=21602
44220 if test x"$with_gnu_ld" = x"yes" &&
44221 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44222 glibcxx_have_gc_sections=yes
44225 if test "$glibcxx_have_gc_sections" = "yes"; then
44226 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44227 # NB: This flag only works reliably after 2.16.1. Configure tests
44228 # for this are difficult, so hard wire a value that should work.
44230 ac_test_CFLAGS="${CFLAGS+set}"
44231 ac_save_CFLAGS="$CFLAGS"
44232 CFLAGS='-Wl,--gc-sections'
44234 # Check for -Wl,--gc-sections
44235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44236 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44237 if test x$gcc_no_link = xyes; then
44238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44241 /* end confdefs.h. */
44242 int one(void) { return 1; }
44243 int two(void) { return 2; }
44253 if ac_fn_c_try_link "$LINENO"; then :
44258 rm -f core conftest.err conftest.$ac_objext \
44259 conftest$ac_exeext conftest.$ac_ext
44260 if test "$ac_gcsections" = "yes"; then
44263 if $CC -c conftest.c; then
44264 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44265 grep "Warning: gc-sections option ignored" > /dev/null; then
44269 rm -f conftest.c conftest.o conftest
44271 if test "$ac_gcsections" = "yes"; then
44272 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44275 $as_echo "$ac_gcsections" >&6; }
44277 if test "$ac_test_CFLAGS" = set; then
44278 CFLAGS="$ac_save_CFLAGS"
44280 # this is the suspicious part
44286 # Note this is only for shared objects.
44288 if test x"$with_gnu_ld" = x"yes"; then
44289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44290 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44291 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44292 if test -n "$cxx_z_relo"; then
44293 OPT_LDFLAGS="-Wl,-z,relro"
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44297 $as_echo "$ac_ld_relro" >&6; }
44300 # Set linker optimization flags.
44301 if test x"$with_gnu_ld" = x"yes"; then
44302 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44309 # GLIBCXX_CHECK_MATH_SUPPORT
44310 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44312 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44314 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44316 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44318 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44320 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44322 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44324 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44326 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44328 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44330 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44332 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44334 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44336 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44338 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44340 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44342 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44344 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44346 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44348 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44350 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44353 # GLIBCXX_CHECK_STDLIB_SUPPORT
44354 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44359 # Check whether --enable-tls was given.
44360 if test "${enable_tls+set}" = set; then :
44361 enableval=$enable_tls;
44362 case "$enableval" in
44364 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44373 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44374 if test "${gcc_cv_have_tls+set}" = set; then :
44375 $as_echo_n "(cached) " >&6
44378 if test "$cross_compiling" = yes; then :
44379 if test x$gcc_no_link = xyes; then
44380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44383 /* end confdefs.h. */
44384 __thread int a; int b; int main() { return a = b; }
44386 if ac_fn_c_try_link "$LINENO"; then :
44387 chktls_save_LDFLAGS="$LDFLAGS"
44390 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44393 chktls_save_CFLAGS="$CFLAGS"
44394 CFLAGS="-fPIC $CFLAGS"
44395 if test x$gcc_no_link = xyes; then
44396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44399 /* end confdefs.h. */
44400 int f() { return 0; }
44402 if ac_fn_c_try_link "$LINENO"; then :
44403 if test x$gcc_no_link = xyes; then
44404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44407 /* end confdefs.h. */
44408 __thread int a; int b; int f() { return a = b; }
44410 if ac_fn_c_try_link "$LINENO"; then :
44411 gcc_cv_have_tls=yes
44415 rm -f core conftest.err conftest.$ac_objext \
44416 conftest$ac_exeext conftest.$ac_ext
44418 gcc_cv_have_tls=yes
44420 rm -f core conftest.err conftest.$ac_objext \
44421 conftest$ac_exeext conftest.$ac_ext
44422 CFLAGS="$chktls_save_CFLAGS"
44423 LDFLAGS="$chktls_save_LDFLAGS"
44427 rm -f core conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44433 /* end confdefs.h. */
44434 __thread int a; int b; int main() { return a = b; }
44436 if ac_fn_c_try_run "$LINENO"; then :
44437 chktls_save_LDFLAGS="$LDFLAGS"
44438 LDFLAGS="-static $LDFLAGS"
44439 if test x$gcc_no_link = xyes; then
44440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44443 /* end confdefs.h. */
44444 int main() { return 0; }
44446 if ac_fn_c_try_link "$LINENO"; then :
44447 if test "$cross_compiling" = yes; then :
44448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44450 as_fn_error "cannot run test program while cross compiling
44451 See \`config.log' for more details." "$LINENO" 5; }
44453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44454 /* end confdefs.h. */
44455 __thread int a; int b; int main() { return a = b; }
44457 if ac_fn_c_try_run "$LINENO"; then :
44458 gcc_cv_have_tls=yes
44462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44463 conftest.$ac_objext conftest.beam conftest.$ac_ext
44467 gcc_cv_have_tls=yes
44469 rm -f core conftest.err conftest.$ac_objext \
44470 conftest$ac_exeext conftest.$ac_ext
44471 LDFLAGS="$chktls_save_LDFLAGS"
44472 if test $gcc_cv_have_tls = yes; then
44473 chktls_save_CFLAGS="$CFLAGS"
44474 thread_CFLAGS=failed
44475 for flag in '' '-pthread' '-lpthread'; do
44476 CFLAGS="$flag $chktls_save_CFLAGS"
44477 if test x$gcc_no_link = xyes; then
44478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44481 /* end confdefs.h. */
44482 #include <pthread.h>
44483 void *g(void *d) { return NULL; }
44487 pthread_t t; pthread_create(&t,NULL,g,NULL);
44492 if ac_fn_c_try_link "$LINENO"; then :
44493 thread_CFLAGS="$flag"
44495 rm -f core conftest.err conftest.$ac_objext \
44496 conftest$ac_exeext conftest.$ac_ext
44497 if test "X$thread_CFLAGS" != Xfailed; then
44501 CFLAGS="$chktls_save_CFLAGS"
44502 if test "X$thread_CFLAGS" != Xfailed; then
44503 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44504 if test "$cross_compiling" = yes; then :
44505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44507 as_fn_error "cannot run test program while cross compiling
44508 See \`config.log' for more details." "$LINENO" 5; }
44510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511 /* end confdefs.h. */
44512 #include <pthread.h>
44514 static int *a_in_other_thread;
44516 thread_func (void *arg)
44518 a_in_other_thread = &a;
44525 void *thread_retval;
44526 int *a_in_main_thread;
44527 if (pthread_create (&thread, (pthread_attr_t *)0,
44528 thread_func, (void *)0))
44530 a_in_main_thread = &a;
44531 if (pthread_join (thread, &thread_retval))
44533 return (a_in_other_thread == a_in_main_thread);
44538 if ac_fn_c_try_run "$LINENO"; then :
44539 gcc_cv_have_tls=yes
44543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44544 conftest.$ac_objext conftest.beam conftest.$ac_ext
44547 CFLAGS="$chktls_save_CFLAGS"
44553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44554 conftest.$ac_objext conftest.beam conftest.$ac_ext
44558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44559 $as_echo "$gcc_cv_have_tls" >&6; }
44560 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44562 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44567 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44569 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44571 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44573 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44575 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44580 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44582 # All these tests are for C++; save the language and the compiler flags.
44583 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44584 # found in GLIBCXX_CONFIGURE.
44587 ac_cpp='$CXXCPP $CPPFLAGS'
44588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44593 ac_save_CXXFLAGS="$CXXFLAGS"
44595 # Check for maintainer-mode bits.
44596 if test x"$USE_MAINTAINER_MODE" = xno; then
44602 # Check for -ffunction-sections -fdata-sections
44603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44604 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44605 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44607 /* end confdefs.h. */
44608 int foo; void bar() { };
44617 if ac_fn_cxx_try_compile "$LINENO"; then :
44622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44623 if test "$ac_test_CXXFLAGS" = set; then
44624 CXXFLAGS="$ac_save_CXXFLAGS"
44626 # this is the suspicious part
44629 if test x"$ac_fdsections" = x"yes"; then
44630 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44633 $as_echo "$ac_fdsections" >&6; }
44636 ac_cpp='$CPP $CPPFLAGS'
44637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44645 # If we're not using GNU ld, then there's no point in even trying these
44646 # tests. Check for that first. We should have already tested for gld
44647 # by now (in libtool), but require it now just to be safe...
44648 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44649 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44653 # The name set by libtool depends on the version of libtool. Shame on us
44654 # for depending on an impl detail, but c'est la vie. Older versions used
44655 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44656 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44657 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44658 # set (hence we're using an older libtool), then set it.
44659 if test x${with_gnu_ld+set} != xset; then
44660 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44661 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44664 with_gnu_ld=$ac_cv_prog_gnu_ld
44668 # Start by getting the version number. I think the libtool test already
44669 # does some of this, but throws away the result.
44670 glibcxx_ld_is_gold=no
44671 if test x"$with_gnu_ld" = x"yes"; then
44672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44673 $as_echo_n "checking for ld version... " >&6; }
44675 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44676 glibcxx_ld_is_gold=yes
44678 ldver=`$LD --version 2>/dev/null |
44679 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'`
44681 glibcxx_gnu_ld_version=`echo $ldver | \
44682 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44684 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44687 # Set --gc-sections.
44688 glibcxx_have_gc_sections=no
44689 if test "$glibcxx_ld_is_gold" = "yes"; then
44690 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44691 glibcxx_have_gc_sections=yes
44694 glibcxx_gcsections_min_ld=21602
44695 if test x"$with_gnu_ld" = x"yes" &&
44696 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44697 glibcxx_have_gc_sections=yes
44700 if test "$glibcxx_have_gc_sections" = "yes"; then
44701 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44702 # NB: This flag only works reliably after 2.16.1. Configure tests
44703 # for this are difficult, so hard wire a value that should work.
44705 ac_test_CFLAGS="${CFLAGS+set}"
44706 ac_save_CFLAGS="$CFLAGS"
44707 CFLAGS='-Wl,--gc-sections'
44709 # Check for -Wl,--gc-sections
44710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44711 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44712 if test x$gcc_no_link = xyes; then
44713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44716 /* end confdefs.h. */
44717 int one(void) { return 1; }
44718 int two(void) { return 2; }
44728 if ac_fn_c_try_link "$LINENO"; then :
44733 rm -f core conftest.err conftest.$ac_objext \
44734 conftest$ac_exeext conftest.$ac_ext
44735 if test "$ac_gcsections" = "yes"; then
44738 if $CC -c conftest.c; then
44739 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44740 grep "Warning: gc-sections option ignored" > /dev/null; then
44744 rm -f conftest.c conftest.o conftest
44746 if test "$ac_gcsections" = "yes"; then
44747 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44750 $as_echo "$ac_gcsections" >&6; }
44752 if test "$ac_test_CFLAGS" = set; then
44753 CFLAGS="$ac_save_CFLAGS"
44755 # this is the suspicious part
44761 # Note this is only for shared objects.
44763 if test x"$with_gnu_ld" = x"yes"; then
44764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44765 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44766 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44767 if test -n "$cxx_z_relo"; then
44768 OPT_LDFLAGS="-Wl,-z,relro"
44771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44772 $as_echo "$ac_ld_relro" >&6; }
44775 # Set linker optimization flags.
44776 if test x"$with_gnu_ld" = x"yes"; then
44777 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44784 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44785 ac_save_CXXFLAGS="$CXXFLAGS"
44786 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44789 $as_echo_n "checking for sin in -lm... " >&6; }
44790 if test "${ac_cv_lib_m_sin+set}" = set; then :
44791 $as_echo_n "(cached) " >&6
44793 ac_check_lib_save_LIBS=$LIBS
44795 if test x$gcc_no_link = xyes; then
44796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44799 /* end confdefs.h. */
44801 /* Override any GCC internal prototype to avoid an error.
44802 Use char because int might match the return type of a GCC
44803 builtin and then its argument prototype would still apply. */
44816 if ac_fn_c_try_link "$LINENO"; then :
44817 ac_cv_lib_m_sin=yes
44821 rm -f core conftest.err conftest.$ac_objext \
44822 conftest$ac_exeext conftest.$ac_ext
44823 LIBS=$ac_check_lib_save_LIBS
44825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44826 $as_echo "$ac_cv_lib_m_sin" >&6; }
44827 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44831 ac_save_LIBS="$LIBS"
44836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44837 $as_echo_n "checking for isinf declaration... " >&6; }
44838 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44839 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44840 $as_echo_n "(cached) " >&6
44845 ac_cpp='$CXXCPP $CPPFLAGS'
44846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44851 /* end confdefs.h. */
44853 #ifdef HAVE_IEEEFP_H
44854 #include <ieeefp.h>
44865 if ac_fn_cxx_try_compile "$LINENO"; then :
44866 glibcxx_cv_func_isinf_use=yes
44868 glibcxx_cv_func_isinf_use=no
44870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44872 ac_cpp='$CPP $CPPFLAGS'
44873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44882 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44884 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44885 for ac_func in isinf
44887 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44888 if test "x$ac_cv_func_isinf" = x""yes; then :
44889 cat >>confdefs.h <<_ACEOF
44890 #define HAVE_ISINF 1
44898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44899 $as_echo_n "checking for _isinf declaration... " >&6; }
44900 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44901 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44902 $as_echo_n "(cached) " >&6
44907 ac_cpp='$CXXCPP $CPPFLAGS'
44908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44913 /* end confdefs.h. */
44915 #ifdef HAVE_IEEEFP_H
44916 #include <ieeefp.h>
44927 if ac_fn_cxx_try_compile "$LINENO"; then :
44928 glibcxx_cv_func__isinf_use=yes
44930 glibcxx_cv_func__isinf_use=no
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44934 ac_cpp='$CPP $CPPFLAGS'
44935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44944 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44946 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44947 for ac_func in _isinf
44949 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44950 if test "x$ac_cv_func__isinf" = x""yes; then :
44951 cat >>confdefs.h <<_ACEOF
44952 #define HAVE__ISINF 1
44965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44966 $as_echo_n "checking for isnan declaration... " >&6; }
44967 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44968 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44969 $as_echo_n "(cached) " >&6
44974 ac_cpp='$CXXCPP $CPPFLAGS'
44975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44980 /* end confdefs.h. */
44982 #ifdef HAVE_IEEEFP_H
44983 #include <ieeefp.h>
44994 if ac_fn_cxx_try_compile "$LINENO"; then :
44995 glibcxx_cv_func_isnan_use=yes
44997 glibcxx_cv_func_isnan_use=no
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45001 ac_cpp='$CPP $CPPFLAGS'
45002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45011 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45013 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45014 for ac_func in isnan
45016 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45017 if test "x$ac_cv_func_isnan" = x""yes; then :
45018 cat >>confdefs.h <<_ACEOF
45019 #define HAVE_ISNAN 1
45027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45028 $as_echo_n "checking for _isnan declaration... " >&6; }
45029 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45030 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45031 $as_echo_n "(cached) " >&6
45036 ac_cpp='$CXXCPP $CPPFLAGS'
45037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45042 /* end confdefs.h. */
45044 #ifdef HAVE_IEEEFP_H
45045 #include <ieeefp.h>
45056 if ac_fn_cxx_try_compile "$LINENO"; then :
45057 glibcxx_cv_func__isnan_use=yes
45059 glibcxx_cv_func__isnan_use=no
45061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45063 ac_cpp='$CPP $CPPFLAGS'
45064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45073 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45075 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45076 for ac_func in _isnan
45078 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45079 if test "x$ac_cv_func__isnan" = x""yes; then :
45080 cat >>confdefs.h <<_ACEOF
45081 #define HAVE__ISNAN 1
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45095 $as_echo_n "checking for finite declaration... " >&6; }
45096 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45097 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45098 $as_echo_n "(cached) " >&6
45103 ac_cpp='$CXXCPP $CPPFLAGS'
45104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h. */
45111 #ifdef HAVE_IEEEFP_H
45112 #include <ieeefp.h>
45123 if ac_fn_cxx_try_compile "$LINENO"; then :
45124 glibcxx_cv_func_finite_use=yes
45126 glibcxx_cv_func_finite_use=no
45128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45130 ac_cpp='$CPP $CPPFLAGS'
45131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45140 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45142 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45143 for ac_func in finite
45145 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45146 if test "x$ac_cv_func_finite" = x""yes; then :
45147 cat >>confdefs.h <<_ACEOF
45148 #define HAVE_FINITE 1
45156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45157 $as_echo_n "checking for _finite declaration... " >&6; }
45158 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45159 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45160 $as_echo_n "(cached) " >&6
45165 ac_cpp='$CXXCPP $CPPFLAGS'
45166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45171 /* end confdefs.h. */
45173 #ifdef HAVE_IEEEFP_H
45174 #include <ieeefp.h>
45185 if ac_fn_cxx_try_compile "$LINENO"; then :
45186 glibcxx_cv_func__finite_use=yes
45188 glibcxx_cv_func__finite_use=no
45190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45192 ac_cpp='$CPP $CPPFLAGS'
45193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45202 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45204 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45205 for ac_func in _finite
45207 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45208 if test "x$ac_cv_func__finite" = x""yes; then :
45209 cat >>confdefs.h <<_ACEOF
45210 #define HAVE__FINITE 1
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45224 $as_echo_n "checking for sincos declaration... " >&6; }
45225 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45226 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45227 $as_echo_n "(cached) " >&6
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238 /* end confdefs.h. */
45248 if ac_fn_cxx_try_compile "$LINENO"; then :
45249 glibcxx_cv_func_sincos_use=yes
45251 glibcxx_cv_func_sincos_use=no
45253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45255 ac_cpp='$CPP $CPPFLAGS'
45256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45265 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45267 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45268 for ac_func in sincos
45270 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45271 if test "x$ac_cv_func_sincos" = x""yes; then :
45272 cat >>confdefs.h <<_ACEOF
45273 #define HAVE_SINCOS 1
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45282 $as_echo_n "checking for _sincos declaration... " >&6; }
45283 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45284 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45285 $as_echo_n "(cached) " >&6
45290 ac_cpp='$CXXCPP $CPPFLAGS'
45291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45296 /* end confdefs.h. */
45306 if ac_fn_cxx_try_compile "$LINENO"; then :
45307 glibcxx_cv_func__sincos_use=yes
45309 glibcxx_cv_func__sincos_use=no
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45323 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45325 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45326 for ac_func in _sincos
45328 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45329 if test "x$ac_cv_func__sincos" = x""yes; then :
45330 cat >>confdefs.h <<_ACEOF
45331 #define HAVE__SINCOS 1
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45345 $as_echo_n "checking for fpclass declaration... " >&6; }
45346 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45347 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45348 $as_echo_n "(cached) " >&6
45353 ac_cpp='$CXXCPP $CPPFLAGS'
45354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359 /* end confdefs.h. */
45361 #ifdef HAVE_IEEEFP_H
45362 #include <ieeefp.h>
45373 if ac_fn_cxx_try_compile "$LINENO"; then :
45374 glibcxx_cv_func_fpclass_use=yes
45376 glibcxx_cv_func_fpclass_use=no
45378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45380 ac_cpp='$CPP $CPPFLAGS'
45381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45390 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45392 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45393 for ac_func in fpclass
45395 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45396 if test "x$ac_cv_func_fpclass" = x""yes; then :
45397 cat >>confdefs.h <<_ACEOF
45398 #define HAVE_FPCLASS 1
45406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45407 $as_echo_n "checking for _fpclass declaration... " >&6; }
45408 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45409 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45410 $as_echo_n "(cached) " >&6
45415 ac_cpp='$CXXCPP $CPPFLAGS'
45416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421 /* end confdefs.h. */
45423 #ifdef HAVE_IEEEFP_H
45424 #include <ieeefp.h>
45435 if ac_fn_cxx_try_compile "$LINENO"; then :
45436 glibcxx_cv_func__fpclass_use=yes
45438 glibcxx_cv_func__fpclass_use=no
45440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45442 ac_cpp='$CPP $CPPFLAGS'
45443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45452 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45454 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45455 for ac_func in _fpclass
45457 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45458 if test "x$ac_cv_func__fpclass" = x""yes; then :
45459 cat >>confdefs.h <<_ACEOF
45460 #define HAVE__FPCLASS 1
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45474 $as_echo_n "checking for qfpclass declaration... " >&6; }
45475 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45476 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45477 $as_echo_n "(cached) " >&6
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45488 /* end confdefs.h. */
45490 #ifdef HAVE_IEEEFP_H
45491 #include <ieeefp.h>
45502 if ac_fn_cxx_try_compile "$LINENO"; then :
45503 glibcxx_cv_func_qfpclass_use=yes
45505 glibcxx_cv_func_qfpclass_use=no
45507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45509 ac_cpp='$CPP $CPPFLAGS'
45510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45519 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45521 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45522 for ac_func in qfpclass
45524 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45525 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45526 cat >>confdefs.h <<_ACEOF
45527 #define HAVE_QFPCLASS 1
45535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45536 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45537 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45538 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45539 $as_echo_n "(cached) " >&6
45544 ac_cpp='$CXXCPP $CPPFLAGS'
45545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45550 /* end confdefs.h. */
45552 #ifdef HAVE_IEEEFP_H
45553 #include <ieeefp.h>
45564 if ac_fn_cxx_try_compile "$LINENO"; then :
45565 glibcxx_cv_func__qfpclass_use=yes
45567 glibcxx_cv_func__qfpclass_use=no
45569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45581 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45583 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45584 for ac_func in _qfpclass
45586 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45587 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45588 cat >>confdefs.h <<_ACEOF
45589 #define HAVE__QFPCLASS 1
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45603 $as_echo_n "checking for hypot declaration... " >&6; }
45604 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45605 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45606 $as_echo_n "(cached) " >&6
45611 ac_cpp='$CXXCPP $CPPFLAGS'
45612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45617 /* end confdefs.h. */
45627 if ac_fn_cxx_try_compile "$LINENO"; then :
45628 glibcxx_cv_func_hypot_use=yes
45630 glibcxx_cv_func_hypot_use=no
45632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45634 ac_cpp='$CPP $CPPFLAGS'
45635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45644 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45646 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45647 for ac_func in hypot
45649 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45650 if test "x$ac_cv_func_hypot" = x""yes; then :
45651 cat >>confdefs.h <<_ACEOF
45652 #define HAVE_HYPOT 1
45660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45661 $as_echo_n "checking for _hypot declaration... " >&6; }
45662 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45663 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45664 $as_echo_n "(cached) " >&6
45669 ac_cpp='$CXXCPP $CPPFLAGS'
45670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h. */
45685 if ac_fn_cxx_try_compile "$LINENO"; then :
45686 glibcxx_cv_func__hypot_use=yes
45688 glibcxx_cv_func__hypot_use=no
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45692 ac_cpp='$CPP $CPPFLAGS'
45693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45702 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45704 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45705 for ac_func in _hypot
45707 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45708 if test "x$ac_cv_func__hypot" = x""yes; then :
45709 cat >>confdefs.h <<_ACEOF
45710 #define HAVE__HYPOT 1
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45724 $as_echo_n "checking for float trig functions... " >&6; }
45725 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45726 $as_echo_n "(cached) " >&6
45731 ac_cpp='$CXXCPP $CPPFLAGS'
45732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45737 /* end confdefs.h. */
45742 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45747 if ac_fn_cxx_try_compile "$LINENO"; then :
45748 glibcxx_cv_func_float_trig_use=yes
45750 glibcxx_cv_func_float_trig_use=no
45752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45754 ac_cpp='$CPP $CPPFLAGS'
45755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45762 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45763 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45764 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45768 eval as_val=\$$as_ac_var
45769 if test "x$as_val" = x""yes; then :
45770 cat >>confdefs.h <<_ACEOF
45771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45779 $as_echo_n "checking for _float trig functions... " >&6; }
45780 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45781 $as_echo_n "(cached) " >&6
45786 ac_cpp='$CXXCPP $CPPFLAGS'
45787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45792 /* end confdefs.h. */
45797 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45802 if ac_fn_cxx_try_compile "$LINENO"; then :
45803 glibcxx_cv_func__float_trig_use=yes
45805 glibcxx_cv_func__float_trig_use=no
45807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45809 ac_cpp='$CPP $CPPFLAGS'
45810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45817 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45818 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45819 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45823 eval as_val=\$$as_ac_var
45824 if test "x$as_val" = x""yes; then :
45825 cat >>confdefs.h <<_ACEOF
45826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45840 $as_echo_n "checking for float round functions... " >&6; }
45841 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45842 $as_echo_n "(cached) " >&6
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45853 /* end confdefs.h. */
45858 ceilf (0); floorf (0);
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func_float_round_use=yes
45866 glibcxx_cv_func_float_round_use=no
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45878 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45879 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45880 for ac_func in ceilf floorf
45882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45884 eval as_val=\$$as_ac_var
45885 if test "x$as_val" = x""yes; then :
45886 cat >>confdefs.h <<_ACEOF
45887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45895 $as_echo_n "checking for _float round functions... " >&6; }
45896 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45897 $as_echo_n "(cached) " >&6
45902 ac_cpp='$CXXCPP $CPPFLAGS'
45903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45908 /* end confdefs.h. */
45913 _ceilf (0); _floorf (0);
45918 if ac_fn_cxx_try_compile "$LINENO"; then :
45919 glibcxx_cv_func__float_round_use=yes
45921 glibcxx_cv_func__float_round_use=no
45923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45925 ac_cpp='$CPP $CPPFLAGS'
45926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45933 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45934 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45935 for ac_func in _ceilf _floorf
45937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45939 eval as_val=\$$as_ac_var
45940 if test "x$as_val" = x""yes; then :
45941 cat >>confdefs.h <<_ACEOF
45942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45957 $as_echo_n "checking for expf declaration... " >&6; }
45958 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45959 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45960 $as_echo_n "(cached) " >&6
45965 ac_cpp='$CXXCPP $CPPFLAGS'
45966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45973 #ifdef HAVE_IEEEFP_H
45974 #include <ieeefp.h>
45985 if ac_fn_cxx_try_compile "$LINENO"; then :
45986 glibcxx_cv_func_expf_use=yes
45988 glibcxx_cv_func_expf_use=no
45990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45992 ac_cpp='$CPP $CPPFLAGS'
45993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46002 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46004 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46005 for ac_func in expf
46007 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46008 if test "x$ac_cv_func_expf" = x""yes; then :
46009 cat >>confdefs.h <<_ACEOF
46010 #define HAVE_EXPF 1
46018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46019 $as_echo_n "checking for _expf declaration... " >&6; }
46020 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46021 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46022 $as_echo_n "(cached) " >&6
46027 ac_cpp='$CXXCPP $CPPFLAGS'
46028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46033 /* end confdefs.h. */
46035 #ifdef HAVE_IEEEFP_H
46036 #include <ieeefp.h>
46047 if ac_fn_cxx_try_compile "$LINENO"; then :
46048 glibcxx_cv_func__expf_use=yes
46050 glibcxx_cv_func__expf_use=no
46052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46054 ac_cpp='$CPP $CPPFLAGS'
46055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46064 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46066 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46067 for ac_func in _expf
46069 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46070 if test "x$ac_cv_func__expf" = x""yes; then :
46071 cat >>confdefs.h <<_ACEOF
46072 #define HAVE__EXPF 1
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46086 $as_echo_n "checking for isnanf declaration... " >&6; }
46087 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46088 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46089 $as_echo_n "(cached) " >&6
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h. */
46102 #ifdef HAVE_IEEEFP_H
46103 #include <ieeefp.h>
46114 if ac_fn_cxx_try_compile "$LINENO"; then :
46115 glibcxx_cv_func_isnanf_use=yes
46117 glibcxx_cv_func_isnanf_use=no
46119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46121 ac_cpp='$CPP $CPPFLAGS'
46122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46131 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46133 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46134 for ac_func in isnanf
46136 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46137 if test "x$ac_cv_func_isnanf" = x""yes; then :
46138 cat >>confdefs.h <<_ACEOF
46139 #define HAVE_ISNANF 1
46147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46148 $as_echo_n "checking for _isnanf declaration... " >&6; }
46149 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46150 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46151 $as_echo_n "(cached) " >&6
46156 ac_cpp='$CXXCPP $CPPFLAGS'
46157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46162 /* end confdefs.h. */
46164 #ifdef HAVE_IEEEFP_H
46165 #include <ieeefp.h>
46176 if ac_fn_cxx_try_compile "$LINENO"; then :
46177 glibcxx_cv_func__isnanf_use=yes
46179 glibcxx_cv_func__isnanf_use=no
46181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46183 ac_cpp='$CPP $CPPFLAGS'
46184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46193 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46195 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46196 for ac_func in _isnanf
46198 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46199 if test "x$ac_cv_func__isnanf" = x""yes; then :
46200 cat >>confdefs.h <<_ACEOF
46201 #define HAVE__ISNANF 1
46214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46215 $as_echo_n "checking for isinff declaration... " >&6; }
46216 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46217 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46218 $as_echo_n "(cached) " >&6
46223 ac_cpp='$CXXCPP $CPPFLAGS'
46224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46229 /* end confdefs.h. */
46231 #ifdef HAVE_IEEEFP_H
46232 #include <ieeefp.h>
46243 if ac_fn_cxx_try_compile "$LINENO"; then :
46244 glibcxx_cv_func_isinff_use=yes
46246 glibcxx_cv_func_isinff_use=no
46248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46250 ac_cpp='$CPP $CPPFLAGS'
46251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46260 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46262 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46263 for ac_func in isinff
46265 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46266 if test "x$ac_cv_func_isinff" = x""yes; then :
46267 cat >>confdefs.h <<_ACEOF
46268 #define HAVE_ISINFF 1
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46277 $as_echo_n "checking for _isinff declaration... " >&6; }
46278 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46279 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46280 $as_echo_n "(cached) " >&6
46285 ac_cpp='$CXXCPP $CPPFLAGS'
46286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46291 /* end confdefs.h. */
46293 #ifdef HAVE_IEEEFP_H
46294 #include <ieeefp.h>
46305 if ac_fn_cxx_try_compile "$LINENO"; then :
46306 glibcxx_cv_func__isinff_use=yes
46308 glibcxx_cv_func__isinff_use=no
46310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46312 ac_cpp='$CPP $CPPFLAGS'
46313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46322 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46324 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46325 for ac_func in _isinff
46327 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46328 if test "x$ac_cv_func__isinff" = x""yes; then :
46329 cat >>confdefs.h <<_ACEOF
46330 #define HAVE__ISINFF 1
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46344 $as_echo_n "checking for atan2f declaration... " >&6; }
46345 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46346 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46347 $as_echo_n "(cached) " >&6
46352 ac_cpp='$CXXCPP $CPPFLAGS'
46353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46358 /* end confdefs.h. */
46368 if ac_fn_cxx_try_compile "$LINENO"; then :
46369 glibcxx_cv_func_atan2f_use=yes
46371 glibcxx_cv_func_atan2f_use=no
46373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46375 ac_cpp='$CPP $CPPFLAGS'
46376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46385 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46387 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46388 for ac_func in atan2f
46390 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46391 if test "x$ac_cv_func_atan2f" = x""yes; then :
46392 cat >>confdefs.h <<_ACEOF
46393 #define HAVE_ATAN2F 1
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46402 $as_echo_n "checking for _atan2f declaration... " >&6; }
46403 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46404 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46405 $as_echo_n "(cached) " >&6
46410 ac_cpp='$CXXCPP $CPPFLAGS'
46411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46416 /* end confdefs.h. */
46426 if ac_fn_cxx_try_compile "$LINENO"; then :
46427 glibcxx_cv_func__atan2f_use=yes
46429 glibcxx_cv_func__atan2f_use=no
46431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46433 ac_cpp='$CPP $CPPFLAGS'
46434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46443 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46445 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46446 for ac_func in _atan2f
46448 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46449 if test "x$ac_cv_func__atan2f" = x""yes; then :
46450 cat >>confdefs.h <<_ACEOF
46451 #define HAVE__ATAN2F 1
46464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46465 $as_echo_n "checking for fabsf declaration... " >&6; }
46466 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46467 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46468 $as_echo_n "(cached) " >&6
46473 ac_cpp='$CXXCPP $CPPFLAGS'
46474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46479 /* end confdefs.h. */
46481 #ifdef HAVE_IEEEFP_H
46482 #include <ieeefp.h>
46493 if ac_fn_cxx_try_compile "$LINENO"; then :
46494 glibcxx_cv_func_fabsf_use=yes
46496 glibcxx_cv_func_fabsf_use=no
46498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46500 ac_cpp='$CPP $CPPFLAGS'
46501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46510 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46512 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46513 for ac_func in fabsf
46515 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46516 if test "x$ac_cv_func_fabsf" = x""yes; then :
46517 cat >>confdefs.h <<_ACEOF
46518 #define HAVE_FABSF 1
46526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46527 $as_echo_n "checking for _fabsf declaration... " >&6; }
46528 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46529 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46530 $as_echo_n "(cached) " >&6
46535 ac_cpp='$CXXCPP $CPPFLAGS'
46536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46541 /* end confdefs.h. */
46543 #ifdef HAVE_IEEEFP_H
46544 #include <ieeefp.h>
46555 if ac_fn_cxx_try_compile "$LINENO"; then :
46556 glibcxx_cv_func__fabsf_use=yes
46558 glibcxx_cv_func__fabsf_use=no
46560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46562 ac_cpp='$CPP $CPPFLAGS'
46563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46572 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46574 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46575 for ac_func in _fabsf
46577 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46578 if test "x$ac_cv_func__fabsf" = x""yes; then :
46579 cat >>confdefs.h <<_ACEOF
46580 #define HAVE__FABSF 1
46593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46594 $as_echo_n "checking for fmodf declaration... " >&6; }
46595 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46596 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46597 $as_echo_n "(cached) " >&6
46602 ac_cpp='$CXXCPP $CPPFLAGS'
46603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46608 /* end confdefs.h. */
46618 if ac_fn_cxx_try_compile "$LINENO"; then :
46619 glibcxx_cv_func_fmodf_use=yes
46621 glibcxx_cv_func_fmodf_use=no
46623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46625 ac_cpp='$CPP $CPPFLAGS'
46626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46635 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46637 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46638 for ac_func in fmodf
46640 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46641 if test "x$ac_cv_func_fmodf" = x""yes; then :
46642 cat >>confdefs.h <<_ACEOF
46643 #define HAVE_FMODF 1
46651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46652 $as_echo_n "checking for _fmodf declaration... " >&6; }
46653 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46654 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46655 $as_echo_n "(cached) " >&6
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46666 /* end confdefs.h. */
46676 if ac_fn_cxx_try_compile "$LINENO"; then :
46677 glibcxx_cv_func__fmodf_use=yes
46679 glibcxx_cv_func__fmodf_use=no
46681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_cpp='$CPP $CPPFLAGS'
46684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46693 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46695 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46696 for ac_func in _fmodf
46698 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46699 if test "x$ac_cv_func__fmodf" = x""yes; then :
46700 cat >>confdefs.h <<_ACEOF
46701 #define HAVE__FMODF 1
46714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46715 $as_echo_n "checking for frexpf declaration... " >&6; }
46716 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46717 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46718 $as_echo_n "(cached) " >&6
46723 ac_cpp='$CXXCPP $CPPFLAGS'
46724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46729 /* end confdefs.h. */
46739 if ac_fn_cxx_try_compile "$LINENO"; then :
46740 glibcxx_cv_func_frexpf_use=yes
46742 glibcxx_cv_func_frexpf_use=no
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46756 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46758 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46759 for ac_func in frexpf
46761 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46762 if test "x$ac_cv_func_frexpf" = x""yes; then :
46763 cat >>confdefs.h <<_ACEOF
46764 #define HAVE_FREXPF 1
46772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46773 $as_echo_n "checking for _frexpf declaration... " >&6; }
46774 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46775 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46776 $as_echo_n "(cached) " >&6
46781 ac_cpp='$CXXCPP $CPPFLAGS'
46782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46787 /* end confdefs.h. */
46797 if ac_fn_cxx_try_compile "$LINENO"; then :
46798 glibcxx_cv_func__frexpf_use=yes
46800 glibcxx_cv_func__frexpf_use=no
46802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46804 ac_cpp='$CPP $CPPFLAGS'
46805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46814 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46816 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46817 for ac_func in _frexpf
46819 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46820 if test "x$ac_cv_func__frexpf" = x""yes; then :
46821 cat >>confdefs.h <<_ACEOF
46822 #define HAVE__FREXPF 1
46835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46836 $as_echo_n "checking for hypotf declaration... " >&6; }
46837 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46838 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46839 $as_echo_n "(cached) " >&6
46844 ac_cpp='$CXXCPP $CPPFLAGS'
46845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46850 /* end confdefs.h. */
46860 if ac_fn_cxx_try_compile "$LINENO"; then :
46861 glibcxx_cv_func_hypotf_use=yes
46863 glibcxx_cv_func_hypotf_use=no
46865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867 ac_cpp='$CPP $CPPFLAGS'
46868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46877 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46879 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46880 for ac_func in hypotf
46882 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46883 if test "x$ac_cv_func_hypotf" = x""yes; then :
46884 cat >>confdefs.h <<_ACEOF
46885 #define HAVE_HYPOTF 1
46893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46894 $as_echo_n "checking for _hypotf declaration... " >&6; }
46895 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46896 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46897 $as_echo_n "(cached) " >&6
46902 ac_cpp='$CXXCPP $CPPFLAGS'
46903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46908 /* end confdefs.h. */
46918 if ac_fn_cxx_try_compile "$LINENO"; then :
46919 glibcxx_cv_func__hypotf_use=yes
46921 glibcxx_cv_func__hypotf_use=no
46923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46925 ac_cpp='$CPP $CPPFLAGS'
46926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46935 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46937 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46938 for ac_func in _hypotf
46940 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46941 if test "x$ac_cv_func__hypotf" = x""yes; then :
46942 cat >>confdefs.h <<_ACEOF
46943 #define HAVE__HYPOTF 1
46956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46957 $as_echo_n "checking for ldexpf declaration... " >&6; }
46958 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46959 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46960 $as_echo_n "(cached) " >&6
46965 ac_cpp='$CXXCPP $CPPFLAGS'
46966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46971 /* end confdefs.h. */
46981 if ac_fn_cxx_try_compile "$LINENO"; then :
46982 glibcxx_cv_func_ldexpf_use=yes
46984 glibcxx_cv_func_ldexpf_use=no
46986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46988 ac_cpp='$CPP $CPPFLAGS'
46989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46998 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47000 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47001 for ac_func in ldexpf
47003 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47004 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47005 cat >>confdefs.h <<_ACEOF
47006 #define HAVE_LDEXPF 1
47014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47015 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47016 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47017 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47018 $as_echo_n "(cached) " >&6
47023 ac_cpp='$CXXCPP $CPPFLAGS'
47024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47029 /* end confdefs.h. */
47039 if ac_fn_cxx_try_compile "$LINENO"; then :
47040 glibcxx_cv_func__ldexpf_use=yes
47042 glibcxx_cv_func__ldexpf_use=no
47044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47056 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47058 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47059 for ac_func in _ldexpf
47061 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47062 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47063 cat >>confdefs.h <<_ACEOF
47064 #define HAVE__LDEXPF 1
47077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47078 $as_echo_n "checking for logf declaration... " >&6; }
47079 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47080 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47081 $as_echo_n "(cached) " >&6
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47092 /* end confdefs.h. */
47094 #ifdef HAVE_IEEEFP_H
47095 #include <ieeefp.h>
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func_logf_use=yes
47109 glibcxx_cv_func_logf_use=no
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47123 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47125 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47126 for ac_func in logf
47128 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47129 if test "x$ac_cv_func_logf" = x""yes; then :
47130 cat >>confdefs.h <<_ACEOF
47131 #define HAVE_LOGF 1
47139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47140 $as_echo_n "checking for _logf declaration... " >&6; }
47141 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47142 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47143 $as_echo_n "(cached) " >&6
47148 ac_cpp='$CXXCPP $CPPFLAGS'
47149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47154 /* end confdefs.h. */
47156 #ifdef HAVE_IEEEFP_H
47157 #include <ieeefp.h>
47168 if ac_fn_cxx_try_compile "$LINENO"; then :
47169 glibcxx_cv_func__logf_use=yes
47171 glibcxx_cv_func__logf_use=no
47173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47175 ac_cpp='$CPP $CPPFLAGS'
47176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47185 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47187 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47188 for ac_func in _logf
47190 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47191 if test "x$ac_cv_func__logf" = x""yes; then :
47192 cat >>confdefs.h <<_ACEOF
47193 #define HAVE__LOGF 1
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47207 $as_echo_n "checking for log10f declaration... " >&6; }
47208 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47209 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47223 #ifdef HAVE_IEEEFP_H
47224 #include <ieeefp.h>
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236 glibcxx_cv_func_log10f_use=yes
47238 glibcxx_cv_func_log10f_use=no
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47252 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47254 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47255 for ac_func in log10f
47257 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47258 if test "x$ac_cv_func_log10f" = x""yes; then :
47259 cat >>confdefs.h <<_ACEOF
47260 #define HAVE_LOG10F 1
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47269 $as_echo_n "checking for _log10f declaration... " >&6; }
47270 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47271 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47272 $as_echo_n "(cached) " >&6
47277 ac_cpp='$CXXCPP $CPPFLAGS'
47278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47283 /* end confdefs.h. */
47285 #ifdef HAVE_IEEEFP_H
47286 #include <ieeefp.h>
47297 if ac_fn_cxx_try_compile "$LINENO"; then :
47298 glibcxx_cv_func__log10f_use=yes
47300 glibcxx_cv_func__log10f_use=no
47302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47304 ac_cpp='$CPP $CPPFLAGS'
47305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47314 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47316 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47317 for ac_func in _log10f
47319 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47320 if test "x$ac_cv_func__log10f" = x""yes; then :
47321 cat >>confdefs.h <<_ACEOF
47322 #define HAVE__LOG10F 1
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47336 $as_echo_n "checking for modff declaration... " >&6; }
47337 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47338 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47339 $as_echo_n "(cached) " >&6
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47360 if ac_fn_cxx_try_compile "$LINENO"; then :
47361 glibcxx_cv_func_modff_use=yes
47363 glibcxx_cv_func_modff_use=no
47365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47367 ac_cpp='$CPP $CPPFLAGS'
47368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47377 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47379 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47380 for ac_func in modff
47382 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47383 if test "x$ac_cv_func_modff" = x""yes; then :
47384 cat >>confdefs.h <<_ACEOF
47385 #define HAVE_MODFF 1
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47394 $as_echo_n "checking for _modff declaration... " >&6; }
47395 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47396 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47397 $as_echo_n "(cached) " >&6
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47418 if ac_fn_cxx_try_compile "$LINENO"; then :
47419 glibcxx_cv_func__modff_use=yes
47421 glibcxx_cv_func__modff_use=no
47423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47425 ac_cpp='$CPP $CPPFLAGS'
47426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47435 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47437 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47438 for ac_func in _modff
47440 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47441 if test "x$ac_cv_func__modff" = x""yes; then :
47442 cat >>confdefs.h <<_ACEOF
47443 #define HAVE__MODFF 1
47456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47457 $as_echo_n "checking for modf declaration... " >&6; }
47458 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47459 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47460 $as_echo_n "(cached) " >&6
47465 ac_cpp='$CXXCPP $CPPFLAGS'
47466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47471 /* end confdefs.h. */
47481 if ac_fn_cxx_try_compile "$LINENO"; then :
47482 glibcxx_cv_func_modf_use=yes
47484 glibcxx_cv_func_modf_use=no
47486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47488 ac_cpp='$CPP $CPPFLAGS'
47489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47498 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47500 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47501 for ac_func in modf
47503 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47504 if test "x$ac_cv_func_modf" = x""yes; then :
47505 cat >>confdefs.h <<_ACEOF
47506 #define HAVE_MODF 1
47514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47515 $as_echo_n "checking for _modf declaration... " >&6; }
47516 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47517 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47518 $as_echo_n "(cached) " >&6
47523 ac_cpp='$CXXCPP $CPPFLAGS'
47524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47529 /* end confdefs.h. */
47539 if ac_fn_cxx_try_compile "$LINENO"; then :
47540 glibcxx_cv_func__modf_use=yes
47542 glibcxx_cv_func__modf_use=no
47544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47546 ac_cpp='$CPP $CPPFLAGS'
47547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47556 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47558 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47559 for ac_func in _modf
47561 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47562 if test "x$ac_cv_func__modf" = x""yes; then :
47563 cat >>confdefs.h <<_ACEOF
47564 #define HAVE__MODF 1
47577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47578 $as_echo_n "checking for powf declaration... " >&6; }
47579 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47580 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47581 $as_echo_n "(cached) " >&6
47586 ac_cpp='$CXXCPP $CPPFLAGS'
47587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47592 /* end confdefs.h. */
47602 if ac_fn_cxx_try_compile "$LINENO"; then :
47603 glibcxx_cv_func_powf_use=yes
47605 glibcxx_cv_func_powf_use=no
47607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47609 ac_cpp='$CPP $CPPFLAGS'
47610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47619 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47621 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47622 for ac_func in powf
47624 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47625 if test "x$ac_cv_func_powf" = x""yes; then :
47626 cat >>confdefs.h <<_ACEOF
47627 #define HAVE_POWF 1
47635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47636 $as_echo_n "checking for _powf declaration... " >&6; }
47637 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47638 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47639 $as_echo_n "(cached) " >&6
47644 ac_cpp='$CXXCPP $CPPFLAGS'
47645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47650 /* end confdefs.h. */
47660 if ac_fn_cxx_try_compile "$LINENO"; then :
47661 glibcxx_cv_func__powf_use=yes
47663 glibcxx_cv_func__powf_use=no
47665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47667 ac_cpp='$CPP $CPPFLAGS'
47668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47677 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47679 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47680 for ac_func in _powf
47682 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47683 if test "x$ac_cv_func__powf" = x""yes; then :
47684 cat >>confdefs.h <<_ACEOF
47685 #define HAVE__POWF 1
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47699 $as_echo_n "checking for sqrtf declaration... " >&6; }
47700 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47701 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47702 $as_echo_n "(cached) " >&6
47707 ac_cpp='$CXXCPP $CPPFLAGS'
47708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47713 /* end confdefs.h. */
47715 #ifdef HAVE_IEEEFP_H
47716 #include <ieeefp.h>
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func_sqrtf_use=yes
47730 glibcxx_cv_func_sqrtf_use=no
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47744 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47746 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47747 for ac_func in sqrtf
47749 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47750 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE_SQRTF 1
47760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47761 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47762 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47763 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47764 $as_echo_n "(cached) " >&6
47769 ac_cpp='$CXXCPP $CPPFLAGS'
47770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47775 /* end confdefs.h. */
47777 #ifdef HAVE_IEEEFP_H
47778 #include <ieeefp.h>
47789 if ac_fn_cxx_try_compile "$LINENO"; then :
47790 glibcxx_cv_func__sqrtf_use=yes
47792 glibcxx_cv_func__sqrtf_use=no
47794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47796 ac_cpp='$CPP $CPPFLAGS'
47797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47806 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47808 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47809 for ac_func in _sqrtf
47811 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47812 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47813 cat >>confdefs.h <<_ACEOF
47814 #define HAVE__SQRTF 1
47827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47828 $as_echo_n "checking for sincosf declaration... " >&6; }
47829 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47830 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47831 $as_echo_n "(cached) " >&6
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47842 /* end confdefs.h. */
47852 if ac_fn_cxx_try_compile "$LINENO"; then :
47853 glibcxx_cv_func_sincosf_use=yes
47855 glibcxx_cv_func_sincosf_use=no
47857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_cpp='$CPP $CPPFLAGS'
47860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47869 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47871 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47872 for ac_func in sincosf
47874 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47875 if test "x$ac_cv_func_sincosf" = x""yes; then :
47876 cat >>confdefs.h <<_ACEOF
47877 #define HAVE_SINCOSF 1
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47886 $as_echo_n "checking for _sincosf declaration... " >&6; }
47887 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47888 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47889 $as_echo_n "(cached) " >&6
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h. */
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func__sincosf_use=yes
47913 glibcxx_cv_func__sincosf_use=no
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47927 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47929 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47930 for ac_func in _sincosf
47932 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47933 if test "x$ac_cv_func__sincosf" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE__SINCOSF 1
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47949 $as_echo_n "checking for finitef declaration... " >&6; }
47950 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47951 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47952 $as_echo_n "(cached) " >&6
47957 ac_cpp='$CXXCPP $CPPFLAGS'
47958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47963 /* end confdefs.h. */
47965 #ifdef HAVE_IEEEFP_H
47966 #include <ieeefp.h>
47977 if ac_fn_cxx_try_compile "$LINENO"; then :
47978 glibcxx_cv_func_finitef_use=yes
47980 glibcxx_cv_func_finitef_use=no
47982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47984 ac_cpp='$CPP $CPPFLAGS'
47985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47994 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47996 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47997 for ac_func in finitef
47999 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48000 if test "x$ac_cv_func_finitef" = x""yes; then :
48001 cat >>confdefs.h <<_ACEOF
48002 #define HAVE_FINITEF 1
48010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48011 $as_echo_n "checking for _finitef declaration... " >&6; }
48012 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48013 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48014 $as_echo_n "(cached) " >&6
48019 ac_cpp='$CXXCPP $CPPFLAGS'
48020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48025 /* end confdefs.h. */
48027 #ifdef HAVE_IEEEFP_H
48028 #include <ieeefp.h>
48039 if ac_fn_cxx_try_compile "$LINENO"; then :
48040 glibcxx_cv_func__finitef_use=yes
48042 glibcxx_cv_func__finitef_use=no
48044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48046 ac_cpp='$CPP $CPPFLAGS'
48047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48056 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48058 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48059 for ac_func in _finitef
48061 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48062 if test "x$ac_cv_func__finitef" = x""yes; then :
48063 cat >>confdefs.h <<_ACEOF
48064 #define HAVE__FINITEF 1
48077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48078 $as_echo_n "checking for long double trig functions... " >&6; }
48079 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48080 $as_echo_n "(cached) " >&6
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h. */
48096 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48101 if ac_fn_cxx_try_compile "$LINENO"; then :
48102 glibcxx_cv_func_long_double_trig_use=yes
48104 glibcxx_cv_func_long_double_trig_use=no
48106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48108 ac_cpp='$CPP $CPPFLAGS'
48109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48116 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48117 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48118 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48122 eval as_val=\$$as_ac_var
48123 if test "x$as_val" = x""yes; then :
48124 cat >>confdefs.h <<_ACEOF
48125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48133 $as_echo_n "checking for _long double trig functions... " >&6; }
48134 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48135 $as_echo_n "(cached) " >&6
48140 ac_cpp='$CXXCPP $CPPFLAGS'
48141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48146 /* end confdefs.h. */
48151 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48156 if ac_fn_cxx_try_compile "$LINENO"; then :
48157 glibcxx_cv_func__long_double_trig_use=yes
48159 glibcxx_cv_func__long_double_trig_use=no
48161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48171 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48172 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48173 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48177 eval as_val=\$$as_ac_var
48178 if test "x$as_val" = x""yes; then :
48179 cat >>confdefs.h <<_ACEOF
48180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48194 $as_echo_n "checking for long double round functions... " >&6; }
48195 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48196 $as_echo_n "(cached) " >&6
48201 ac_cpp='$CXXCPP $CPPFLAGS'
48202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48207 /* end confdefs.h. */
48212 ceill (0); floorl (0);
48217 if ac_fn_cxx_try_compile "$LINENO"; then :
48218 glibcxx_cv_func_long_double_round_use=yes
48220 glibcxx_cv_func_long_double_round_use=no
48222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48224 ac_cpp='$CPP $CPPFLAGS'
48225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48232 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48233 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48234 for ac_func in ceill floorl
48236 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48238 eval as_val=\$$as_ac_var
48239 if test "x$as_val" = x""yes; then :
48240 cat >>confdefs.h <<_ACEOF
48241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48249 $as_echo_n "checking for _long double round functions... " >&6; }
48250 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48251 $as_echo_n "(cached) " >&6
48256 ac_cpp='$CXXCPP $CPPFLAGS'
48257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48262 /* end confdefs.h. */
48267 _ceill (0); _floorl (0);
48272 if ac_fn_cxx_try_compile "$LINENO"; then :
48273 glibcxx_cv_func__long_double_round_use=yes
48275 glibcxx_cv_func__long_double_round_use=no
48277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48279 ac_cpp='$CPP $CPPFLAGS'
48280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48287 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48288 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48289 for ac_func in _ceill _floorl
48291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48293 eval as_val=\$$as_ac_var
48294 if test "x$as_val" = x""yes; then :
48295 cat >>confdefs.h <<_ACEOF
48296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48311 $as_echo_n "checking for isnanl declaration... " >&6; }
48312 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48313 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48314 $as_echo_n "(cached) " >&6
48319 ac_cpp='$CXXCPP $CPPFLAGS'
48320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48325 /* end confdefs.h. */
48327 #ifdef HAVE_IEEEFP_H
48328 #include <ieeefp.h>
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340 glibcxx_cv_func_isnanl_use=yes
48342 glibcxx_cv_func_isnanl_use=no
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48356 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48358 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48359 for ac_func in isnanl
48361 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48362 if test "x$ac_cv_func_isnanl" = x""yes; then :
48363 cat >>confdefs.h <<_ACEOF
48364 #define HAVE_ISNANL 1
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48373 $as_echo_n "checking for _isnanl declaration... " >&6; }
48374 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48375 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48376 $as_echo_n "(cached) " >&6
48381 ac_cpp='$CXXCPP $CPPFLAGS'
48382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48387 /* end confdefs.h. */
48389 #ifdef HAVE_IEEEFP_H
48390 #include <ieeefp.h>
48401 if ac_fn_cxx_try_compile "$LINENO"; then :
48402 glibcxx_cv_func__isnanl_use=yes
48404 glibcxx_cv_func__isnanl_use=no
48406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48408 ac_cpp='$CPP $CPPFLAGS'
48409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48418 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48420 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48421 for ac_func in _isnanl
48423 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48424 if test "x$ac_cv_func__isnanl" = x""yes; then :
48425 cat >>confdefs.h <<_ACEOF
48426 #define HAVE__ISNANL 1
48439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48440 $as_echo_n "checking for isinfl declaration... " >&6; }
48441 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48442 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48443 $as_echo_n "(cached) " >&6
48448 ac_cpp='$CXXCPP $CPPFLAGS'
48449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48454 /* end confdefs.h. */
48456 #ifdef HAVE_IEEEFP_H
48457 #include <ieeefp.h>
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func_isinfl_use=yes
48471 glibcxx_cv_func_isinfl_use=no
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48485 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48487 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48488 for ac_func in isinfl
48490 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48491 if test "x$ac_cv_func_isinfl" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE_ISINFL 1
48501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48502 $as_echo_n "checking for _isinfl declaration... " >&6; }
48503 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48504 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48505 $as_echo_n "(cached) " >&6
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48516 /* end confdefs.h. */
48518 #ifdef HAVE_IEEEFP_H
48519 #include <ieeefp.h>
48530 if ac_fn_cxx_try_compile "$LINENO"; then :
48531 glibcxx_cv_func__isinfl_use=yes
48533 glibcxx_cv_func__isinfl_use=no
48535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48547 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48549 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48550 for ac_func in _isinfl
48552 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48553 if test "x$ac_cv_func__isinfl" = x""yes; then :
48554 cat >>confdefs.h <<_ACEOF
48555 #define HAVE__ISINFL 1
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48569 $as_echo_n "checking for atan2l declaration... " >&6; }
48570 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48571 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48572 $as_echo_n "(cached) " >&6
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h. */
48593 if ac_fn_cxx_try_compile "$LINENO"; then :
48594 glibcxx_cv_func_atan2l_use=yes
48596 glibcxx_cv_func_atan2l_use=no
48598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48600 ac_cpp='$CPP $CPPFLAGS'
48601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48610 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48612 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48613 for ac_func in atan2l
48615 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48616 if test "x$ac_cv_func_atan2l" = x""yes; then :
48617 cat >>confdefs.h <<_ACEOF
48618 #define HAVE_ATAN2L 1
48626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48627 $as_echo_n "checking for _atan2l declaration... " >&6; }
48628 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48629 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48630 $as_echo_n "(cached) " >&6
48635 ac_cpp='$CXXCPP $CPPFLAGS'
48636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48641 /* end confdefs.h. */
48651 if ac_fn_cxx_try_compile "$LINENO"; then :
48652 glibcxx_cv_func__atan2l_use=yes
48654 glibcxx_cv_func__atan2l_use=no
48656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48658 ac_cpp='$CPP $CPPFLAGS'
48659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48668 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48670 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48671 for ac_func in _atan2l
48673 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48674 if test "x$ac_cv_func__atan2l" = x""yes; then :
48675 cat >>confdefs.h <<_ACEOF
48676 #define HAVE__ATAN2L 1
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48690 $as_echo_n "checking for expl declaration... " >&6; }
48691 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48692 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48693 $as_echo_n "(cached) " >&6
48698 ac_cpp='$CXXCPP $CPPFLAGS'
48699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48704 /* end confdefs.h. */
48706 #ifdef HAVE_IEEEFP_H
48707 #include <ieeefp.h>
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func_expl_use=yes
48721 glibcxx_cv_func_expl_use=no
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48735 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48737 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48738 for ac_func in expl
48740 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48741 if test "x$ac_cv_func_expl" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE_EXPL 1
48751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48752 $as_echo_n "checking for _expl declaration... " >&6; }
48753 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48754 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48755 $as_echo_n "(cached) " >&6
48760 ac_cpp='$CXXCPP $CPPFLAGS'
48761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48766 /* end confdefs.h. */
48768 #ifdef HAVE_IEEEFP_H
48769 #include <ieeefp.h>
48780 if ac_fn_cxx_try_compile "$LINENO"; then :
48781 glibcxx_cv_func__expl_use=yes
48783 glibcxx_cv_func__expl_use=no
48785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48787 ac_cpp='$CPP $CPPFLAGS'
48788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48797 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48799 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48800 for ac_func in _expl
48802 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48803 if test "x$ac_cv_func__expl" = x""yes; then :
48804 cat >>confdefs.h <<_ACEOF
48805 #define HAVE__EXPL 1
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48819 $as_echo_n "checking for fabsl declaration... " >&6; }
48820 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48821 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48835 #ifdef HAVE_IEEEFP_H
48836 #include <ieeefp.h>
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func_fabsl_use=yes
48850 glibcxx_cv_func_fabsl_use=no
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48864 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48866 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48867 for ac_func in fabsl
48869 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48870 if test "x$ac_cv_func_fabsl" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE_FABSL 1
48880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48881 $as_echo_n "checking for _fabsl declaration... " >&6; }
48882 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48883 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48884 $as_echo_n "(cached) " >&6
48889 ac_cpp='$CXXCPP $CPPFLAGS'
48890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48895 /* end confdefs.h. */
48897 #ifdef HAVE_IEEEFP_H
48898 #include <ieeefp.h>
48909 if ac_fn_cxx_try_compile "$LINENO"; then :
48910 glibcxx_cv_func__fabsl_use=yes
48912 glibcxx_cv_func__fabsl_use=no
48914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48916 ac_cpp='$CPP $CPPFLAGS'
48917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48926 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48928 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48929 for ac_func in _fabsl
48931 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48932 if test "x$ac_cv_func__fabsl" = x""yes; then :
48933 cat >>confdefs.h <<_ACEOF
48934 #define HAVE__FABSL 1
48947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48948 $as_echo_n "checking for fmodl declaration... " >&6; }
48949 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48950 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48951 $as_echo_n "(cached) " >&6
48956 ac_cpp='$CXXCPP $CPPFLAGS'
48957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48962 /* end confdefs.h. */
48972 if ac_fn_cxx_try_compile "$LINENO"; then :
48973 glibcxx_cv_func_fmodl_use=yes
48975 glibcxx_cv_func_fmodl_use=no
48977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48979 ac_cpp='$CPP $CPPFLAGS'
48980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48989 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48991 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48992 for ac_func in fmodl
48994 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48995 if test "x$ac_cv_func_fmodl" = x""yes; then :
48996 cat >>confdefs.h <<_ACEOF
48997 #define HAVE_FMODL 1
49005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49006 $as_echo_n "checking for _fmodl declaration... " >&6; }
49007 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49008 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49009 $as_echo_n "(cached) " >&6
49014 ac_cpp='$CXXCPP $CPPFLAGS'
49015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49020 /* end confdefs.h. */
49030 if ac_fn_cxx_try_compile "$LINENO"; then :
49031 glibcxx_cv_func__fmodl_use=yes
49033 glibcxx_cv_func__fmodl_use=no
49035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_cpp='$CPP $CPPFLAGS'
49038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49047 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49049 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49050 for ac_func in _fmodl
49052 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49053 if test "x$ac_cv_func__fmodl" = x""yes; then :
49054 cat >>confdefs.h <<_ACEOF
49055 #define HAVE__FMODL 1
49068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49069 $as_echo_n "checking for frexpl declaration... " >&6; }
49070 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49071 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49072 $as_echo_n "(cached) " >&6
49077 ac_cpp='$CXXCPP $CPPFLAGS'
49078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49083 /* end confdefs.h. */
49093 if ac_fn_cxx_try_compile "$LINENO"; then :
49094 glibcxx_cv_func_frexpl_use=yes
49096 glibcxx_cv_func_frexpl_use=no
49098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49110 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49112 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49113 for ac_func in frexpl
49115 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49116 if test "x$ac_cv_func_frexpl" = x""yes; then :
49117 cat >>confdefs.h <<_ACEOF
49118 #define HAVE_FREXPL 1
49126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49127 $as_echo_n "checking for _frexpl declaration... " >&6; }
49128 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49129 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49130 $as_echo_n "(cached) " >&6
49135 ac_cpp='$CXXCPP $CPPFLAGS'
49136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49141 /* end confdefs.h. */
49151 if ac_fn_cxx_try_compile "$LINENO"; then :
49152 glibcxx_cv_func__frexpl_use=yes
49154 glibcxx_cv_func__frexpl_use=no
49156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49158 ac_cpp='$CPP $CPPFLAGS'
49159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49168 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49170 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49171 for ac_func in _frexpl
49173 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49174 if test "x$ac_cv_func__frexpl" = x""yes; then :
49175 cat >>confdefs.h <<_ACEOF
49176 #define HAVE__FREXPL 1
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49190 $as_echo_n "checking for hypotl declaration... " >&6; }
49191 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49192 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49193 $as_echo_n "(cached) " >&6
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49214 if ac_fn_cxx_try_compile "$LINENO"; then :
49215 glibcxx_cv_func_hypotl_use=yes
49217 glibcxx_cv_func_hypotl_use=no
49219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221 ac_cpp='$CPP $CPPFLAGS'
49222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49231 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49233 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49234 for ac_func in hypotl
49236 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49237 if test "x$ac_cv_func_hypotl" = x""yes; then :
49238 cat >>confdefs.h <<_ACEOF
49239 #define HAVE_HYPOTL 1
49247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49248 $as_echo_n "checking for _hypotl declaration... " >&6; }
49249 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49250 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49251 $as_echo_n "(cached) " >&6
49256 ac_cpp='$CXXCPP $CPPFLAGS'
49257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49262 /* end confdefs.h. */
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func__hypotl_use=yes
49275 glibcxx_cv_func__hypotl_use=no
49277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49279 ac_cpp='$CPP $CPPFLAGS'
49280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49289 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49291 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49292 for ac_func in _hypotl
49294 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49295 if test "x$ac_cv_func__hypotl" = x""yes; then :
49296 cat >>confdefs.h <<_ACEOF
49297 #define HAVE__HYPOTL 1
49310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49311 $as_echo_n "checking for ldexpl declaration... " >&6; }
49312 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49313 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49314 $as_echo_n "(cached) " >&6
49319 ac_cpp='$CXXCPP $CPPFLAGS'
49320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49325 /* end confdefs.h. */
49335 if ac_fn_cxx_try_compile "$LINENO"; then :
49336 glibcxx_cv_func_ldexpl_use=yes
49338 glibcxx_cv_func_ldexpl_use=no
49340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49342 ac_cpp='$CPP $CPPFLAGS'
49343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49352 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49354 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49355 for ac_func in ldexpl
49357 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49358 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49359 cat >>confdefs.h <<_ACEOF
49360 #define HAVE_LDEXPL 1
49368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49369 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49370 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49371 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49372 $as_echo_n "(cached) " >&6
49377 ac_cpp='$CXXCPP $CPPFLAGS'
49378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49383 /* end confdefs.h. */
49393 if ac_fn_cxx_try_compile "$LINENO"; then :
49394 glibcxx_cv_func__ldexpl_use=yes
49396 glibcxx_cv_func__ldexpl_use=no
49398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49410 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49412 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49413 for ac_func in _ldexpl
49415 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49416 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49417 cat >>confdefs.h <<_ACEOF
49418 #define HAVE__LDEXPL 1
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49432 $as_echo_n "checking for logl declaration... " >&6; }
49433 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49434 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49435 $as_echo_n "(cached) " >&6
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49446 /* end confdefs.h. */
49448 #ifdef HAVE_IEEEFP_H
49449 #include <ieeefp.h>
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func_logl_use=yes
49463 glibcxx_cv_func_logl_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49477 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49479 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49480 for ac_func in logl
49482 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49483 if test "x$ac_cv_func_logl" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE_LOGL 1
49493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49494 $as_echo_n "checking for _logl declaration... " >&6; }
49495 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49496 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49497 $as_echo_n "(cached) " >&6
49502 ac_cpp='$CXXCPP $CPPFLAGS'
49503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49508 /* end confdefs.h. */
49510 #ifdef HAVE_IEEEFP_H
49511 #include <ieeefp.h>
49522 if ac_fn_cxx_try_compile "$LINENO"; then :
49523 glibcxx_cv_func__logl_use=yes
49525 glibcxx_cv_func__logl_use=no
49527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49529 ac_cpp='$CPP $CPPFLAGS'
49530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49539 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49541 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49542 for ac_func in _logl
49544 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49545 if test "x$ac_cv_func__logl" = x""yes; then :
49546 cat >>confdefs.h <<_ACEOF
49547 #define HAVE__LOGL 1
49560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49561 $as_echo_n "checking for log10l declaration... " >&6; }
49562 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49563 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49564 $as_echo_n "(cached) " >&6
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h. */
49577 #ifdef HAVE_IEEEFP_H
49578 #include <ieeefp.h>
49589 if ac_fn_cxx_try_compile "$LINENO"; then :
49590 glibcxx_cv_func_log10l_use=yes
49592 glibcxx_cv_func_log10l_use=no
49594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49596 ac_cpp='$CPP $CPPFLAGS'
49597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49606 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49608 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49609 for ac_func in log10l
49611 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49612 if test "x$ac_cv_func_log10l" = x""yes; then :
49613 cat >>confdefs.h <<_ACEOF
49614 #define HAVE_LOG10L 1
49622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49623 $as_echo_n "checking for _log10l declaration... " >&6; }
49624 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49625 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49626 $as_echo_n "(cached) " >&6
49631 ac_cpp='$CXXCPP $CPPFLAGS'
49632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49637 /* end confdefs.h. */
49639 #ifdef HAVE_IEEEFP_H
49640 #include <ieeefp.h>
49651 if ac_fn_cxx_try_compile "$LINENO"; then :
49652 glibcxx_cv_func__log10l_use=yes
49654 glibcxx_cv_func__log10l_use=no
49656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49658 ac_cpp='$CPP $CPPFLAGS'
49659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49668 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49670 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49671 for ac_func in _log10l
49673 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49674 if test "x$ac_cv_func__log10l" = x""yes; then :
49675 cat >>confdefs.h <<_ACEOF
49676 #define HAVE__LOG10L 1
49689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49690 $as_echo_n "checking for modfl declaration... " >&6; }
49691 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49692 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49693 $as_echo_n "(cached) " >&6
49698 ac_cpp='$CXXCPP $CPPFLAGS'
49699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h. */
49714 if ac_fn_cxx_try_compile "$LINENO"; then :
49715 glibcxx_cv_func_modfl_use=yes
49717 glibcxx_cv_func_modfl_use=no
49719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49721 ac_cpp='$CPP $CPPFLAGS'
49722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49731 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49733 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49734 for ac_func in modfl
49736 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49737 if test "x$ac_cv_func_modfl" = x""yes; then :
49738 cat >>confdefs.h <<_ACEOF
49739 #define HAVE_MODFL 1
49747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49748 $as_echo_n "checking for _modfl declaration... " >&6; }
49749 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49750 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49751 $as_echo_n "(cached) " >&6
49756 ac_cpp='$CXXCPP $CPPFLAGS'
49757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49762 /* end confdefs.h. */
49772 if ac_fn_cxx_try_compile "$LINENO"; then :
49773 glibcxx_cv_func__modfl_use=yes
49775 glibcxx_cv_func__modfl_use=no
49777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49779 ac_cpp='$CPP $CPPFLAGS'
49780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49789 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49791 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49792 for ac_func in _modfl
49794 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49795 if test "x$ac_cv_func__modfl" = x""yes; then :
49796 cat >>confdefs.h <<_ACEOF
49797 #define HAVE__MODFL 1
49810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49811 $as_echo_n "checking for powl declaration... " >&6; }
49812 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49813 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49814 $as_echo_n "(cached) " >&6
49819 ac_cpp='$CXXCPP $CPPFLAGS'
49820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49825 /* end confdefs.h. */
49835 if ac_fn_cxx_try_compile "$LINENO"; then :
49836 glibcxx_cv_func_powl_use=yes
49838 glibcxx_cv_func_powl_use=no
49840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49842 ac_cpp='$CPP $CPPFLAGS'
49843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49852 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49854 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49855 for ac_func in powl
49857 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49858 if test "x$ac_cv_func_powl" = x""yes; then :
49859 cat >>confdefs.h <<_ACEOF
49860 #define HAVE_POWL 1
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49869 $as_echo_n "checking for _powl declaration... " >&6; }
49870 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49871 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49872 $as_echo_n "(cached) " >&6
49877 ac_cpp='$CXXCPP $CPPFLAGS'
49878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49883 /* end confdefs.h. */
49893 if ac_fn_cxx_try_compile "$LINENO"; then :
49894 glibcxx_cv_func__powl_use=yes
49896 glibcxx_cv_func__powl_use=no
49898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49900 ac_cpp='$CPP $CPPFLAGS'
49901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49910 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49912 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49913 for ac_func in _powl
49915 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49916 if test "x$ac_cv_func__powl" = x""yes; then :
49917 cat >>confdefs.h <<_ACEOF
49918 #define HAVE__POWL 1
49931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49932 $as_echo_n "checking for sqrtl declaration... " >&6; }
49933 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49934 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49935 $as_echo_n "(cached) " >&6
49940 ac_cpp='$CXXCPP $CPPFLAGS'
49941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49946 /* end confdefs.h. */
49948 #ifdef HAVE_IEEEFP_H
49949 #include <ieeefp.h>
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961 glibcxx_cv_func_sqrtl_use=yes
49963 glibcxx_cv_func_sqrtl_use=no
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49977 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49979 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49980 for ac_func in sqrtl
49982 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49983 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49984 cat >>confdefs.h <<_ACEOF
49985 #define HAVE_SQRTL 1
49993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49994 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49995 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49996 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49997 $as_echo_n "(cached) " >&6
50002 ac_cpp='$CXXCPP $CPPFLAGS'
50003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50008 /* end confdefs.h. */
50010 #ifdef HAVE_IEEEFP_H
50011 #include <ieeefp.h>
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func__sqrtl_use=yes
50025 glibcxx_cv_func__sqrtl_use=no
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50039 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50041 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50042 for ac_func in _sqrtl
50044 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50045 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE__SQRTL 1
50060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50061 $as_echo_n "checking for sincosl declaration... " >&6; }
50062 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50063 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50064 $as_echo_n "(cached) " >&6
50069 ac_cpp='$CXXCPP $CPPFLAGS'
50070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50075 /* end confdefs.h. */
50085 if ac_fn_cxx_try_compile "$LINENO"; then :
50086 glibcxx_cv_func_sincosl_use=yes
50088 glibcxx_cv_func_sincosl_use=no
50090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50092 ac_cpp='$CPP $CPPFLAGS'
50093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50102 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50104 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50105 for ac_func in sincosl
50107 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50108 if test "x$ac_cv_func_sincosl" = x""yes; then :
50109 cat >>confdefs.h <<_ACEOF
50110 #define HAVE_SINCOSL 1
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50119 $as_echo_n "checking for _sincosl declaration... " >&6; }
50120 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50121 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50122 $as_echo_n "(cached) " >&6
50127 ac_cpp='$CXXCPP $CPPFLAGS'
50128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50133 /* end confdefs.h. */
50143 if ac_fn_cxx_try_compile "$LINENO"; then :
50144 glibcxx_cv_func__sincosl_use=yes
50146 glibcxx_cv_func__sincosl_use=no
50148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50150 ac_cpp='$CPP $CPPFLAGS'
50151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50160 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50162 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50163 for ac_func in _sincosl
50165 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50166 if test "x$ac_cv_func__sincosl" = x""yes; then :
50167 cat >>confdefs.h <<_ACEOF
50168 #define HAVE__SINCOSL 1
50181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50182 $as_echo_n "checking for finitel declaration... " >&6; }
50183 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50184 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50185 $as_echo_n "(cached) " >&6
50190 ac_cpp='$CXXCPP $CPPFLAGS'
50191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50196 /* end confdefs.h. */
50198 #ifdef HAVE_IEEEFP_H
50199 #include <ieeefp.h>
50210 if ac_fn_cxx_try_compile "$LINENO"; then :
50211 glibcxx_cv_func_finitel_use=yes
50213 glibcxx_cv_func_finitel_use=no
50215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50217 ac_cpp='$CPP $CPPFLAGS'
50218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50227 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50229 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50230 for ac_func in finitel
50232 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50233 if test "x$ac_cv_func_finitel" = x""yes; then :
50234 cat >>confdefs.h <<_ACEOF
50235 #define HAVE_FINITEL 1
50243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50244 $as_echo_n "checking for _finitel declaration... " >&6; }
50245 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50246 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50247 $as_echo_n "(cached) " >&6
50252 ac_cpp='$CXXCPP $CPPFLAGS'
50253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50258 /* end confdefs.h. */
50260 #ifdef HAVE_IEEEFP_H
50261 #include <ieeefp.h>
50272 if ac_fn_cxx_try_compile "$LINENO"; then :
50273 glibcxx_cv_func__finitel_use=yes
50275 glibcxx_cv_func__finitel_use=no
50277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50279 ac_cpp='$CPP $CPPFLAGS'
50280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50289 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50291 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50292 for ac_func in _finitel
50294 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50295 if test "x$ac_cv_func__finitel" = x""yes; then :
50296 cat >>confdefs.h <<_ACEOF
50297 #define HAVE__FINITEL 1
50309 LIBS="$ac_save_LIBS"
50310 CXXFLAGS="$ac_save_CXXFLAGS"
50313 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50314 ac_save_CXXFLAGS="$CXXFLAGS"
50315 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50319 $as_echo_n "checking for strtold declaration... " >&6; }
50320 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50321 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50322 $as_echo_n "(cached) " >&6
50327 ac_cpp='$CXXCPP $CPPFLAGS'
50328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50333 /* end confdefs.h. */
50334 #include <stdlib.h>
50343 if ac_fn_cxx_try_compile "$LINENO"; then :
50344 glibcxx_cv_func_strtold_use=yes
50346 glibcxx_cv_func_strtold_use=no
50348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50350 ac_cpp='$CPP $CPPFLAGS'
50351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50360 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50361 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50362 for ac_func in strtold
50364 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50365 if test "x$ac_cv_func_strtold" = x""yes; then :
50366 cat >>confdefs.h <<_ACEOF
50367 #define HAVE_STRTOLD 1
50378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50379 $as_echo_n "checking for strtof declaration... " >&6; }
50380 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50381 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50382 $as_echo_n "(cached) " >&6
50387 ac_cpp='$CXXCPP $CPPFLAGS'
50388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50393 /* end confdefs.h. */
50394 #include <stdlib.h>
50403 if ac_fn_cxx_try_compile "$LINENO"; then :
50404 glibcxx_cv_func_strtof_use=yes
50406 glibcxx_cv_func_strtof_use=no
50408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50420 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50421 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50422 for ac_func in strtof
50424 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50425 if test "x$ac_cv_func_strtof" = x""yes; then :
50426 cat >>confdefs.h <<_ACEOF
50427 #define HAVE_STRTOF 1
50438 CXXFLAGS="$ac_save_CXXFLAGS"
50440 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50444 # Check whether --enable-tls was given.
50445 if test "${enable_tls+set}" = set; then :
50446 enableval=$enable_tls;
50447 case "$enableval" in
50449 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50458 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50459 if test "${gcc_cv_have_tls+set}" = set; then :
50460 $as_echo_n "(cached) " >&6
50463 if test "$cross_compiling" = yes; then :
50464 if test x$gcc_no_link = xyes; then
50465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50468 /* end confdefs.h. */
50469 __thread int a; int b; int main() { return a = b; }
50471 if ac_fn_c_try_link "$LINENO"; then :
50472 chktls_save_LDFLAGS="$LDFLAGS"
50475 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50478 chktls_save_CFLAGS="$CFLAGS"
50479 CFLAGS="-fPIC $CFLAGS"
50480 if test x$gcc_no_link = xyes; then
50481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50484 /* end confdefs.h. */
50485 int f() { return 0; }
50487 if ac_fn_c_try_link "$LINENO"; then :
50488 if test x$gcc_no_link = xyes; then
50489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 __thread int a; int b; int f() { return a = b; }
50495 if ac_fn_c_try_link "$LINENO"; then :
50496 gcc_cv_have_tls=yes
50500 rm -f core conftest.err conftest.$ac_objext \
50501 conftest$ac_exeext conftest.$ac_ext
50503 gcc_cv_have_tls=yes
50505 rm -f core conftest.err conftest.$ac_objext \
50506 conftest$ac_exeext conftest.$ac_ext
50507 CFLAGS="$chktls_save_CFLAGS"
50508 LDFLAGS="$chktls_save_LDFLAGS"
50512 rm -f core conftest.err conftest.$ac_objext \
50513 conftest$ac_exeext conftest.$ac_ext
50517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h. */
50519 __thread int a; int b; int main() { return a = b; }
50521 if ac_fn_c_try_run "$LINENO"; then :
50522 chktls_save_LDFLAGS="$LDFLAGS"
50523 LDFLAGS="-static $LDFLAGS"
50524 if test x$gcc_no_link = xyes; then
50525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50528 /* end confdefs.h. */
50529 int main() { return 0; }
50531 if ac_fn_c_try_link "$LINENO"; then :
50532 if test "$cross_compiling" = yes; then :
50533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50535 as_fn_error "cannot run test program while cross compiling
50536 See \`config.log' for more details." "$LINENO" 5; }
50538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50539 /* end confdefs.h. */
50540 __thread int a; int b; int main() { return a = b; }
50542 if ac_fn_c_try_run "$LINENO"; then :
50543 gcc_cv_have_tls=yes
50547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50548 conftest.$ac_objext conftest.beam conftest.$ac_ext
50552 gcc_cv_have_tls=yes
50554 rm -f core conftest.err conftest.$ac_objext \
50555 conftest$ac_exeext conftest.$ac_ext
50556 LDFLAGS="$chktls_save_LDFLAGS"
50557 if test $gcc_cv_have_tls = yes; then
50558 chktls_save_CFLAGS="$CFLAGS"
50559 thread_CFLAGS=failed
50560 for flag in '' '-pthread' '-lpthread'; do
50561 CFLAGS="$flag $chktls_save_CFLAGS"
50562 if test x$gcc_no_link = xyes; then
50563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50566 /* end confdefs.h. */
50567 #include <pthread.h>
50568 void *g(void *d) { return NULL; }
50572 pthread_t t; pthread_create(&t,NULL,g,NULL);
50577 if ac_fn_c_try_link "$LINENO"; then :
50578 thread_CFLAGS="$flag"
50580 rm -f core conftest.err conftest.$ac_objext \
50581 conftest$ac_exeext conftest.$ac_ext
50582 if test "X$thread_CFLAGS" != Xfailed; then
50586 CFLAGS="$chktls_save_CFLAGS"
50587 if test "X$thread_CFLAGS" != Xfailed; then
50588 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50589 if test "$cross_compiling" = yes; then :
50590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50592 as_fn_error "cannot run test program while cross compiling
50593 See \`config.log' for more details." "$LINENO" 5; }
50595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50596 /* end confdefs.h. */
50597 #include <pthread.h>
50599 static int *a_in_other_thread;
50601 thread_func (void *arg)
50603 a_in_other_thread = &a;
50610 void *thread_retval;
50611 int *a_in_main_thread;
50612 if (pthread_create (&thread, (pthread_attr_t *)0,
50613 thread_func, (void *)0))
50615 a_in_main_thread = &a;
50616 if (pthread_join (thread, &thread_retval))
50618 return (a_in_other_thread == a_in_main_thread);
50623 if ac_fn_c_try_run "$LINENO"; then :
50624 gcc_cv_have_tls=yes
50628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50629 conftest.$ac_objext conftest.beam conftest.$ac_ext
50632 CFLAGS="$chktls_save_CFLAGS"
50638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50639 conftest.$ac_objext conftest.beam conftest.$ac_ext
50643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50644 $as_echo "$gcc_cv_have_tls" >&6; }
50645 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50647 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50655 am_save_CPPFLAGS="$CPPFLAGS"
50657 for element in $INCICONV; do
50659 for x in $CPPFLAGS; do
50661 acl_save_prefix="$prefix"
50662 prefix="$acl_final_prefix"
50663 acl_save_exec_prefix="$exec_prefix"
50664 exec_prefix="$acl_final_exec_prefix"
50666 exec_prefix="$acl_save_exec_prefix"
50667 prefix="$acl_save_prefix"
50669 if test "X$x" = "X$element"; then
50674 if test -z "$haveit"; then
50675 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50681 $as_echo_n "checking for iconv... " >&6; }
50682 if test "${am_cv_func_iconv+set}" = set; then :
50683 $as_echo_n "(cached) " >&6
50686 am_cv_func_iconv="no, consider installing GNU libiconv"
50688 if test x$gcc_no_link = xyes; then
50689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50692 /* end confdefs.h. */
50693 #include <stdlib.h>
50698 iconv_t cd = iconv_open("","");
50699 iconv(cd,NULL,NULL,NULL,NULL);
50705 if ac_fn_c_try_link "$LINENO"; then :
50706 am_cv_func_iconv=yes
50708 rm -f core conftest.err conftest.$ac_objext \
50709 conftest$ac_exeext conftest.$ac_ext
50710 if test "$am_cv_func_iconv" != yes; then
50711 am_save_LIBS="$LIBS"
50712 LIBS="$LIBS $LIBICONV"
50713 if test x$gcc_no_link = xyes; then
50714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50717 /* end confdefs.h. */
50718 #include <stdlib.h>
50723 iconv_t cd = iconv_open("","");
50724 iconv(cd,NULL,NULL,NULL,NULL);
50730 if ac_fn_c_try_link "$LINENO"; then :
50731 am_cv_lib_iconv=yes
50732 am_cv_func_iconv=yes
50734 rm -f core conftest.err conftest.$ac_objext \
50735 conftest$ac_exeext conftest.$ac_ext
50736 LIBS="$am_save_LIBS"
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50741 $as_echo "$am_cv_func_iconv" >&6; }
50742 if test "$am_cv_func_iconv" = yes; then
50744 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50747 if test "$am_cv_lib_iconv" = yes; then
50748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50749 $as_echo_n "checking how to link with libiconv... " >&6; }
50750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50751 $as_echo "$LIBICONV" >&6; }
50753 CPPFLAGS="$am_save_CPPFLAGS"
50760 if test "$am_cv_func_iconv" = yes; then
50761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50762 $as_echo_n "checking for iconv declaration... " >&6; }
50763 if test "${am_cv_proto_iconv+set}" = set; then :
50764 $as_echo_n "(cached) " >&6
50767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h. */
50770 #include <stdlib.h>
50776 #if defined(__STDC__) || defined(__cplusplus)
50777 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50790 if ac_fn_c_try_compile "$LINENO"; then :
50791 am_cv_proto_iconv_arg1=""
50793 am_cv_proto_iconv_arg1="const"
50795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50796 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);"
50799 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50801 }$am_cv_proto_iconv" >&5
50803 }$am_cv_proto_iconv" >&6; }
50805 cat >>confdefs.h <<_ACEOF
50806 #define ICONV_CONST $am_cv_proto_iconv_arg1
50814 # If we're not using GNU ld, then there's no point in even trying these
50815 # tests. Check for that first. We should have already tested for gld
50816 # by now (in libtool), but require it now just to be safe...
50817 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50818 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50822 # The name set by libtool depends on the version of libtool. Shame on us
50823 # for depending on an impl detail, but c'est la vie. Older versions used
50824 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50825 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50826 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50827 # set (hence we're using an older libtool), then set it.
50828 if test x${with_gnu_ld+set} != xset; then
50829 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50830 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50833 with_gnu_ld=$ac_cv_prog_gnu_ld
50837 # Start by getting the version number. I think the libtool test already
50838 # does some of this, but throws away the result.
50839 glibcxx_ld_is_gold=no
50840 if test x"$with_gnu_ld" = x"yes"; then
50841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50842 $as_echo_n "checking for ld version... " >&6; }
50844 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50845 glibcxx_ld_is_gold=yes
50847 ldver=`$LD --version 2>/dev/null |
50848 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'`
50850 glibcxx_gnu_ld_version=`echo $ldver | \
50851 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50853 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50856 # Set --gc-sections.
50857 glibcxx_have_gc_sections=no
50858 if test "$glibcxx_ld_is_gold" = "yes"; then
50859 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50860 glibcxx_have_gc_sections=yes
50863 glibcxx_gcsections_min_ld=21602
50864 if test x"$with_gnu_ld" = x"yes" &&
50865 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50866 glibcxx_have_gc_sections=yes
50869 if test "$glibcxx_have_gc_sections" = "yes"; then
50870 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50871 # NB: This flag only works reliably after 2.16.1. Configure tests
50872 # for this are difficult, so hard wire a value that should work.
50874 ac_test_CFLAGS="${CFLAGS+set}"
50875 ac_save_CFLAGS="$CFLAGS"
50876 CFLAGS='-Wl,--gc-sections'
50878 # Check for -Wl,--gc-sections
50879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50880 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50881 if test x$gcc_no_link = xyes; then
50882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50886 int one(void) { return 1; }
50887 int two(void) { return 2; }
50897 if ac_fn_c_try_link "$LINENO"; then :
50902 rm -f core conftest.err conftest.$ac_objext \
50903 conftest$ac_exeext conftest.$ac_ext
50904 if test "$ac_gcsections" = "yes"; then
50907 if $CC -c conftest.c; then
50908 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50909 grep "Warning: gc-sections option ignored" > /dev/null; then
50913 rm -f conftest.c conftest.o conftest
50915 if test "$ac_gcsections" = "yes"; then
50916 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50919 $as_echo "$ac_gcsections" >&6; }
50921 if test "$ac_test_CFLAGS" = set; then
50922 CFLAGS="$ac_save_CFLAGS"
50924 # this is the suspicious part
50930 # Note this is only for shared objects.
50932 if test x"$with_gnu_ld" = x"yes"; then
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50934 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50935 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50936 if test -n "$cxx_z_relo"; then
50937 OPT_LDFLAGS="-Wl,-z,relro"
50940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50941 $as_echo "$ac_ld_relro" >&6; }
50944 # Set linker optimization flags.
50945 if test x"$with_gnu_ld" = x"yes"; then
50946 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50953 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50954 ac_save_CXXFLAGS="$CXXFLAGS"
50955 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50958 $as_echo_n "checking for sin in -lm... " >&6; }
50959 if test "${ac_cv_lib_m_sin+set}" = set; then :
50960 $as_echo_n "(cached) " >&6
50962 ac_check_lib_save_LIBS=$LIBS
50964 if test x$gcc_no_link = xyes; then
50965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50968 /* end confdefs.h. */
50970 /* Override any GCC internal prototype to avoid an error.
50971 Use char because int might match the return type of a GCC
50972 builtin and then its argument prototype would still apply. */
50985 if ac_fn_c_try_link "$LINENO"; then :
50986 ac_cv_lib_m_sin=yes
50990 rm -f core conftest.err conftest.$ac_objext \
50991 conftest$ac_exeext conftest.$ac_ext
50992 LIBS=$ac_check_lib_save_LIBS
50994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50995 $as_echo "$ac_cv_lib_m_sin" >&6; }
50996 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51000 ac_save_LIBS="$LIBS"
51005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51006 $as_echo_n "checking for isinf declaration... " >&6; }
51007 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51008 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51009 $as_echo_n "(cached) " >&6
51014 ac_cpp='$CXXCPP $CPPFLAGS'
51015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51020 /* end confdefs.h. */
51022 #ifdef HAVE_IEEEFP_H
51023 #include <ieeefp.h>
51034 if ac_fn_cxx_try_compile "$LINENO"; then :
51035 glibcxx_cv_func_isinf_use=yes
51037 glibcxx_cv_func_isinf_use=no
51039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51041 ac_cpp='$CPP $CPPFLAGS'
51042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51051 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51053 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51054 for ac_func in isinf
51056 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51057 if test "x$ac_cv_func_isinf" = x""yes; then :
51058 cat >>confdefs.h <<_ACEOF
51059 #define HAVE_ISINF 1
51067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51068 $as_echo_n "checking for _isinf declaration... " >&6; }
51069 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51070 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51071 $as_echo_n "(cached) " >&6
51076 ac_cpp='$CXXCPP $CPPFLAGS'
51077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51082 /* end confdefs.h. */
51084 #ifdef HAVE_IEEEFP_H
51085 #include <ieeefp.h>
51096 if ac_fn_cxx_try_compile "$LINENO"; then :
51097 glibcxx_cv_func__isinf_use=yes
51099 glibcxx_cv_func__isinf_use=no
51101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51103 ac_cpp='$CPP $CPPFLAGS'
51104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51113 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51115 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51116 for ac_func in _isinf
51118 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51119 if test "x$ac_cv_func__isinf" = x""yes; then :
51120 cat >>confdefs.h <<_ACEOF
51121 #define HAVE__ISINF 1
51134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51135 $as_echo_n "checking for isnan declaration... " >&6; }
51136 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51137 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51138 $as_echo_n "(cached) " >&6
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51149 /* end confdefs.h. */
51151 #ifdef HAVE_IEEEFP_H
51152 #include <ieeefp.h>
51163 if ac_fn_cxx_try_compile "$LINENO"; then :
51164 glibcxx_cv_func_isnan_use=yes
51166 glibcxx_cv_func_isnan_use=no
51168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51170 ac_cpp='$CPP $CPPFLAGS'
51171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51180 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51182 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51183 for ac_func in isnan
51185 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51186 if test "x$ac_cv_func_isnan" = x""yes; then :
51187 cat >>confdefs.h <<_ACEOF
51188 #define HAVE_ISNAN 1
51196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51197 $as_echo_n "checking for _isnan declaration... " >&6; }
51198 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51199 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51200 $as_echo_n "(cached) " >&6
51205 ac_cpp='$CXXCPP $CPPFLAGS'
51206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51211 /* end confdefs.h. */
51213 #ifdef HAVE_IEEEFP_H
51214 #include <ieeefp.h>
51225 if ac_fn_cxx_try_compile "$LINENO"; then :
51226 glibcxx_cv_func__isnan_use=yes
51228 glibcxx_cv_func__isnan_use=no
51230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51232 ac_cpp='$CPP $CPPFLAGS'
51233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51242 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51244 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51245 for ac_func in _isnan
51247 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51248 if test "x$ac_cv_func__isnan" = x""yes; then :
51249 cat >>confdefs.h <<_ACEOF
51250 #define HAVE__ISNAN 1
51263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51264 $as_echo_n "checking for finite declaration... " >&6; }
51265 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51266 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51267 $as_echo_n "(cached) " >&6
51272 ac_cpp='$CXXCPP $CPPFLAGS'
51273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51280 #ifdef HAVE_IEEEFP_H
51281 #include <ieeefp.h>
51292 if ac_fn_cxx_try_compile "$LINENO"; then :
51293 glibcxx_cv_func_finite_use=yes
51295 glibcxx_cv_func_finite_use=no
51297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51299 ac_cpp='$CPP $CPPFLAGS'
51300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51309 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51311 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51312 for ac_func in finite
51314 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51315 if test "x$ac_cv_func_finite" = x""yes; then :
51316 cat >>confdefs.h <<_ACEOF
51317 #define HAVE_FINITE 1
51325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51326 $as_echo_n "checking for _finite declaration... " >&6; }
51327 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51328 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51329 $as_echo_n "(cached) " >&6
51334 ac_cpp='$CXXCPP $CPPFLAGS'
51335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51340 /* end confdefs.h. */
51342 #ifdef HAVE_IEEEFP_H
51343 #include <ieeefp.h>
51354 if ac_fn_cxx_try_compile "$LINENO"; then :
51355 glibcxx_cv_func__finite_use=yes
51357 glibcxx_cv_func__finite_use=no
51359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51361 ac_cpp='$CPP $CPPFLAGS'
51362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51371 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51373 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51374 for ac_func in _finite
51376 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51377 if test "x$ac_cv_func__finite" = x""yes; then :
51378 cat >>confdefs.h <<_ACEOF
51379 #define HAVE__FINITE 1
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51393 $as_echo_n "checking for sincos declaration... " >&6; }
51394 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51395 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51396 $as_echo_n "(cached) " >&6
51401 ac_cpp='$CXXCPP $CPPFLAGS'
51402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51407 /* end confdefs.h. */
51417 if ac_fn_cxx_try_compile "$LINENO"; then :
51418 glibcxx_cv_func_sincos_use=yes
51420 glibcxx_cv_func_sincos_use=no
51422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51424 ac_cpp='$CPP $CPPFLAGS'
51425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51434 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51436 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51437 for ac_func in sincos
51439 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51440 if test "x$ac_cv_func_sincos" = x""yes; then :
51441 cat >>confdefs.h <<_ACEOF
51442 #define HAVE_SINCOS 1
51450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51451 $as_echo_n "checking for _sincos declaration... " >&6; }
51452 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51453 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51454 $as_echo_n "(cached) " >&6
51459 ac_cpp='$CXXCPP $CPPFLAGS'
51460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51465 /* end confdefs.h. */
51475 if ac_fn_cxx_try_compile "$LINENO"; then :
51476 glibcxx_cv_func__sincos_use=yes
51478 glibcxx_cv_func__sincos_use=no
51480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51482 ac_cpp='$CPP $CPPFLAGS'
51483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51492 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51494 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51495 for ac_func in _sincos
51497 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51498 if test "x$ac_cv_func__sincos" = x""yes; then :
51499 cat >>confdefs.h <<_ACEOF
51500 #define HAVE__SINCOS 1
51513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51514 $as_echo_n "checking for fpclass declaration... " >&6; }
51515 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51516 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51517 $as_echo_n "(cached) " >&6
51522 ac_cpp='$CXXCPP $CPPFLAGS'
51523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51528 /* end confdefs.h. */
51530 #ifdef HAVE_IEEEFP_H
51531 #include <ieeefp.h>
51542 if ac_fn_cxx_try_compile "$LINENO"; then :
51543 glibcxx_cv_func_fpclass_use=yes
51545 glibcxx_cv_func_fpclass_use=no
51547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51549 ac_cpp='$CPP $CPPFLAGS'
51550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51559 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51561 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51562 for ac_func in fpclass
51564 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51565 if test "x$ac_cv_func_fpclass" = x""yes; then :
51566 cat >>confdefs.h <<_ACEOF
51567 #define HAVE_FPCLASS 1
51575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51576 $as_echo_n "checking for _fpclass declaration... " >&6; }
51577 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51578 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51579 $as_echo_n "(cached) " >&6
51584 ac_cpp='$CXXCPP $CPPFLAGS'
51585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51590 /* end confdefs.h. */
51592 #ifdef HAVE_IEEEFP_H
51593 #include <ieeefp.h>
51604 if ac_fn_cxx_try_compile "$LINENO"; then :
51605 glibcxx_cv_func__fpclass_use=yes
51607 glibcxx_cv_func__fpclass_use=no
51609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51611 ac_cpp='$CPP $CPPFLAGS'
51612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51621 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51623 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51624 for ac_func in _fpclass
51626 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51627 if test "x$ac_cv_func__fpclass" = x""yes; then :
51628 cat >>confdefs.h <<_ACEOF
51629 #define HAVE__FPCLASS 1
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51643 $as_echo_n "checking for qfpclass declaration... " >&6; }
51644 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51645 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51646 $as_echo_n "(cached) " >&6
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51657 /* end confdefs.h. */
51659 #ifdef HAVE_IEEEFP_H
51660 #include <ieeefp.h>
51671 if ac_fn_cxx_try_compile "$LINENO"; then :
51672 glibcxx_cv_func_qfpclass_use=yes
51674 glibcxx_cv_func_qfpclass_use=no
51676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51678 ac_cpp='$CPP $CPPFLAGS'
51679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51688 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51690 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51691 for ac_func in qfpclass
51693 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51694 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51695 cat >>confdefs.h <<_ACEOF
51696 #define HAVE_QFPCLASS 1
51704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51705 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51706 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51707 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51708 $as_echo_n "(cached) " >&6
51713 ac_cpp='$CXXCPP $CPPFLAGS'
51714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51719 /* end confdefs.h. */
51721 #ifdef HAVE_IEEEFP_H
51722 #include <ieeefp.h>
51733 if ac_fn_cxx_try_compile "$LINENO"; then :
51734 glibcxx_cv_func__qfpclass_use=yes
51736 glibcxx_cv_func__qfpclass_use=no
51738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51740 ac_cpp='$CPP $CPPFLAGS'
51741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51750 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51752 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51753 for ac_func in _qfpclass
51755 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51756 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51757 cat >>confdefs.h <<_ACEOF
51758 #define HAVE__QFPCLASS 1
51771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51772 $as_echo_n "checking for hypot declaration... " >&6; }
51773 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51774 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51775 $as_echo_n "(cached) " >&6
51780 ac_cpp='$CXXCPP $CPPFLAGS'
51781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51786 /* end confdefs.h. */
51796 if ac_fn_cxx_try_compile "$LINENO"; then :
51797 glibcxx_cv_func_hypot_use=yes
51799 glibcxx_cv_func_hypot_use=no
51801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51803 ac_cpp='$CPP $CPPFLAGS'
51804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51813 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51815 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51816 for ac_func in hypot
51818 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51819 if test "x$ac_cv_func_hypot" = x""yes; then :
51820 cat >>confdefs.h <<_ACEOF
51821 #define HAVE_HYPOT 1
51829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51830 $as_echo_n "checking for _hypot declaration... " >&6; }
51831 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51832 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51833 $as_echo_n "(cached) " >&6
51838 ac_cpp='$CXXCPP $CPPFLAGS'
51839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h. */
51854 if ac_fn_cxx_try_compile "$LINENO"; then :
51855 glibcxx_cv_func__hypot_use=yes
51857 glibcxx_cv_func__hypot_use=no
51859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51861 ac_cpp='$CPP $CPPFLAGS'
51862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51871 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51873 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51874 for ac_func in _hypot
51876 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51877 if test "x$ac_cv_func__hypot" = x""yes; then :
51878 cat >>confdefs.h <<_ACEOF
51879 #define HAVE__HYPOT 1
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51893 $as_echo_n "checking for float trig functions... " >&6; }
51894 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51895 $as_echo_n "(cached) " >&6
51900 ac_cpp='$CXXCPP $CPPFLAGS'
51901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51906 /* end confdefs.h. */
51911 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51916 if ac_fn_cxx_try_compile "$LINENO"; then :
51917 glibcxx_cv_func_float_trig_use=yes
51919 glibcxx_cv_func_float_trig_use=no
51921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51923 ac_cpp='$CPP $CPPFLAGS'
51924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51931 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51932 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51933 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51937 eval as_val=\$$as_ac_var
51938 if test "x$as_val" = x""yes; then :
51939 cat >>confdefs.h <<_ACEOF
51940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51948 $as_echo_n "checking for _float trig functions... " >&6; }
51949 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51950 $as_echo_n "(cached) " >&6
51955 ac_cpp='$CXXCPP $CPPFLAGS'
51956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51961 /* end confdefs.h. */
51966 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51971 if ac_fn_cxx_try_compile "$LINENO"; then :
51972 glibcxx_cv_func__float_trig_use=yes
51974 glibcxx_cv_func__float_trig_use=no
51976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51978 ac_cpp='$CPP $CPPFLAGS'
51979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51986 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51987 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51988 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51992 eval as_val=\$$as_ac_var
51993 if test "x$as_val" = x""yes; then :
51994 cat >>confdefs.h <<_ACEOF
51995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52009 $as_echo_n "checking for float round functions... " >&6; }
52010 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52011 $as_echo_n "(cached) " >&6
52016 ac_cpp='$CXXCPP $CPPFLAGS'
52017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52022 /* end confdefs.h. */
52027 ceilf (0); floorf (0);
52032 if ac_fn_cxx_try_compile "$LINENO"; then :
52033 glibcxx_cv_func_float_round_use=yes
52035 glibcxx_cv_func_float_round_use=no
52037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52039 ac_cpp='$CPP $CPPFLAGS'
52040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52047 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52048 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52049 for ac_func in ceilf floorf
52051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52053 eval as_val=\$$as_ac_var
52054 if test "x$as_val" = x""yes; then :
52055 cat >>confdefs.h <<_ACEOF
52056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52064 $as_echo_n "checking for _float round functions... " >&6; }
52065 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52066 $as_echo_n "(cached) " >&6
52071 ac_cpp='$CXXCPP $CPPFLAGS'
52072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52077 /* end confdefs.h. */
52082 _ceilf (0); _floorf (0);
52087 if ac_fn_cxx_try_compile "$LINENO"; then :
52088 glibcxx_cv_func__float_round_use=yes
52090 glibcxx_cv_func__float_round_use=no
52092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52094 ac_cpp='$CPP $CPPFLAGS'
52095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52102 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52103 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52104 for ac_func in _ceilf _floorf
52106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52108 eval as_val=\$$as_ac_var
52109 if test "x$as_val" = x""yes; then :
52110 cat >>confdefs.h <<_ACEOF
52111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52126 $as_echo_n "checking for expf declaration... " >&6; }
52127 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52128 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52129 $as_echo_n "(cached) " >&6
52134 ac_cpp='$CXXCPP $CPPFLAGS'
52135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52140 /* end confdefs.h. */
52142 #ifdef HAVE_IEEEFP_H
52143 #include <ieeefp.h>
52154 if ac_fn_cxx_try_compile "$LINENO"; then :
52155 glibcxx_cv_func_expf_use=yes
52157 glibcxx_cv_func_expf_use=no
52159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52161 ac_cpp='$CPP $CPPFLAGS'
52162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52171 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52173 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52174 for ac_func in expf
52176 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52177 if test "x$ac_cv_func_expf" = x""yes; then :
52178 cat >>confdefs.h <<_ACEOF
52179 #define HAVE_EXPF 1
52187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52188 $as_echo_n "checking for _expf declaration... " >&6; }
52189 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52190 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52191 $as_echo_n "(cached) " >&6
52196 ac_cpp='$CXXCPP $CPPFLAGS'
52197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52202 /* end confdefs.h. */
52204 #ifdef HAVE_IEEEFP_H
52205 #include <ieeefp.h>
52216 if ac_fn_cxx_try_compile "$LINENO"; then :
52217 glibcxx_cv_func__expf_use=yes
52219 glibcxx_cv_func__expf_use=no
52221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52223 ac_cpp='$CPP $CPPFLAGS'
52224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52233 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52235 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52236 for ac_func in _expf
52238 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52239 if test "x$ac_cv_func__expf" = x""yes; then :
52240 cat >>confdefs.h <<_ACEOF
52241 #define HAVE__EXPF 1
52254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52255 $as_echo_n "checking for isnanf declaration... " >&6; }
52256 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52257 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52258 $as_echo_n "(cached) " >&6
52263 ac_cpp='$CXXCPP $CPPFLAGS'
52264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52269 /* end confdefs.h. */
52271 #ifdef HAVE_IEEEFP_H
52272 #include <ieeefp.h>
52283 if ac_fn_cxx_try_compile "$LINENO"; then :
52284 glibcxx_cv_func_isnanf_use=yes
52286 glibcxx_cv_func_isnanf_use=no
52288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52290 ac_cpp='$CPP $CPPFLAGS'
52291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52300 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52302 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52303 for ac_func in isnanf
52305 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52306 if test "x$ac_cv_func_isnanf" = x""yes; then :
52307 cat >>confdefs.h <<_ACEOF
52308 #define HAVE_ISNANF 1
52316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52317 $as_echo_n "checking for _isnanf declaration... " >&6; }
52318 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52319 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52320 $as_echo_n "(cached) " >&6
52325 ac_cpp='$CXXCPP $CPPFLAGS'
52326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52331 /* end confdefs.h. */
52333 #ifdef HAVE_IEEEFP_H
52334 #include <ieeefp.h>
52345 if ac_fn_cxx_try_compile "$LINENO"; then :
52346 glibcxx_cv_func__isnanf_use=yes
52348 glibcxx_cv_func__isnanf_use=no
52350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52352 ac_cpp='$CPP $CPPFLAGS'
52353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52362 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52364 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52365 for ac_func in _isnanf
52367 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52368 if test "x$ac_cv_func__isnanf" = x""yes; then :
52369 cat >>confdefs.h <<_ACEOF
52370 #define HAVE__ISNANF 1
52383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52384 $as_echo_n "checking for isinff declaration... " >&6; }
52385 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52386 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52387 $as_echo_n "(cached) " >&6
52392 ac_cpp='$CXXCPP $CPPFLAGS'
52393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398 /* end confdefs.h. */
52400 #ifdef HAVE_IEEEFP_H
52401 #include <ieeefp.h>
52412 if ac_fn_cxx_try_compile "$LINENO"; then :
52413 glibcxx_cv_func_isinff_use=yes
52415 glibcxx_cv_func_isinff_use=no
52417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52419 ac_cpp='$CPP $CPPFLAGS'
52420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52429 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52431 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52432 for ac_func in isinff
52434 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52435 if test "x$ac_cv_func_isinff" = x""yes; then :
52436 cat >>confdefs.h <<_ACEOF
52437 #define HAVE_ISINFF 1
52445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52446 $as_echo_n "checking for _isinff declaration... " >&6; }
52447 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52448 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52449 $as_echo_n "(cached) " >&6
52454 ac_cpp='$CXXCPP $CPPFLAGS'
52455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52460 /* end confdefs.h. */
52462 #ifdef HAVE_IEEEFP_H
52463 #include <ieeefp.h>
52474 if ac_fn_cxx_try_compile "$LINENO"; then :
52475 glibcxx_cv_func__isinff_use=yes
52477 glibcxx_cv_func__isinff_use=no
52479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52481 ac_cpp='$CPP $CPPFLAGS'
52482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52491 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52493 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52494 for ac_func in _isinff
52496 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52497 if test "x$ac_cv_func__isinff" = x""yes; then :
52498 cat >>confdefs.h <<_ACEOF
52499 #define HAVE__ISINFF 1
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52513 $as_echo_n "checking for atan2f declaration... " >&6; }
52514 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52515 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52516 $as_echo_n "(cached) " >&6
52521 ac_cpp='$CXXCPP $CPPFLAGS'
52522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52527 /* end confdefs.h. */
52537 if ac_fn_cxx_try_compile "$LINENO"; then :
52538 glibcxx_cv_func_atan2f_use=yes
52540 glibcxx_cv_func_atan2f_use=no
52542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52544 ac_cpp='$CPP $CPPFLAGS'
52545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52554 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52556 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52557 for ac_func in atan2f
52559 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52560 if test "x$ac_cv_func_atan2f" = x""yes; then :
52561 cat >>confdefs.h <<_ACEOF
52562 #define HAVE_ATAN2F 1
52570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52571 $as_echo_n "checking for _atan2f declaration... " >&6; }
52572 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52573 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52574 $as_echo_n "(cached) " >&6
52579 ac_cpp='$CXXCPP $CPPFLAGS'
52580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52585 /* end confdefs.h. */
52595 if ac_fn_cxx_try_compile "$LINENO"; then :
52596 glibcxx_cv_func__atan2f_use=yes
52598 glibcxx_cv_func__atan2f_use=no
52600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52602 ac_cpp='$CPP $CPPFLAGS'
52603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52612 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52614 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52615 for ac_func in _atan2f
52617 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52618 if test "x$ac_cv_func__atan2f" = x""yes; then :
52619 cat >>confdefs.h <<_ACEOF
52620 #define HAVE__ATAN2F 1
52633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52634 $as_echo_n "checking for fabsf declaration... " >&6; }
52635 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52636 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52637 $as_echo_n "(cached) " >&6
52642 ac_cpp='$CXXCPP $CPPFLAGS'
52643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52648 /* end confdefs.h. */
52650 #ifdef HAVE_IEEEFP_H
52651 #include <ieeefp.h>
52662 if ac_fn_cxx_try_compile "$LINENO"; then :
52663 glibcxx_cv_func_fabsf_use=yes
52665 glibcxx_cv_func_fabsf_use=no
52667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52669 ac_cpp='$CPP $CPPFLAGS'
52670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52679 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52681 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52682 for ac_func in fabsf
52684 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52685 if test "x$ac_cv_func_fabsf" = x""yes; then :
52686 cat >>confdefs.h <<_ACEOF
52687 #define HAVE_FABSF 1
52695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52696 $as_echo_n "checking for _fabsf declaration... " >&6; }
52697 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52698 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52699 $as_echo_n "(cached) " >&6
52704 ac_cpp='$CXXCPP $CPPFLAGS'
52705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52710 /* end confdefs.h. */
52712 #ifdef HAVE_IEEEFP_H
52713 #include <ieeefp.h>
52724 if ac_fn_cxx_try_compile "$LINENO"; then :
52725 glibcxx_cv_func__fabsf_use=yes
52727 glibcxx_cv_func__fabsf_use=no
52729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52731 ac_cpp='$CPP $CPPFLAGS'
52732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52741 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52743 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52744 for ac_func in _fabsf
52746 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52747 if test "x$ac_cv_func__fabsf" = x""yes; then :
52748 cat >>confdefs.h <<_ACEOF
52749 #define HAVE__FABSF 1
52762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52763 $as_echo_n "checking for fmodf declaration... " >&6; }
52764 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52765 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52766 $as_echo_n "(cached) " >&6
52771 ac_cpp='$CXXCPP $CPPFLAGS'
52772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52777 /* end confdefs.h. */
52787 if ac_fn_cxx_try_compile "$LINENO"; then :
52788 glibcxx_cv_func_fmodf_use=yes
52790 glibcxx_cv_func_fmodf_use=no
52792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52794 ac_cpp='$CPP $CPPFLAGS'
52795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52804 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52806 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52807 for ac_func in fmodf
52809 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52810 if test "x$ac_cv_func_fmodf" = x""yes; then :
52811 cat >>confdefs.h <<_ACEOF
52812 #define HAVE_FMODF 1
52820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52821 $as_echo_n "checking for _fmodf declaration... " >&6; }
52822 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52823 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52824 $as_echo_n "(cached) " >&6
52829 ac_cpp='$CXXCPP $CPPFLAGS'
52830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52835 /* end confdefs.h. */
52845 if ac_fn_cxx_try_compile "$LINENO"; then :
52846 glibcxx_cv_func__fmodf_use=yes
52848 glibcxx_cv_func__fmodf_use=no
52850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52852 ac_cpp='$CPP $CPPFLAGS'
52853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52862 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52864 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52865 for ac_func in _fmodf
52867 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52868 if test "x$ac_cv_func__fmodf" = x""yes; then :
52869 cat >>confdefs.h <<_ACEOF
52870 #define HAVE__FMODF 1
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52884 $as_echo_n "checking for frexpf declaration... " >&6; }
52885 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52886 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52887 $as_echo_n "(cached) " >&6
52892 ac_cpp='$CXXCPP $CPPFLAGS'
52893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52898 /* end confdefs.h. */
52908 if ac_fn_cxx_try_compile "$LINENO"; then :
52909 glibcxx_cv_func_frexpf_use=yes
52911 glibcxx_cv_func_frexpf_use=no
52913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52915 ac_cpp='$CPP $CPPFLAGS'
52916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52925 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52927 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52928 for ac_func in frexpf
52930 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52931 if test "x$ac_cv_func_frexpf" = x""yes; then :
52932 cat >>confdefs.h <<_ACEOF
52933 #define HAVE_FREXPF 1
52941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52942 $as_echo_n "checking for _frexpf declaration... " >&6; }
52943 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52944 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52945 $as_echo_n "(cached) " >&6
52950 ac_cpp='$CXXCPP $CPPFLAGS'
52951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52956 /* end confdefs.h. */
52966 if ac_fn_cxx_try_compile "$LINENO"; then :
52967 glibcxx_cv_func__frexpf_use=yes
52969 glibcxx_cv_func__frexpf_use=no
52971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52973 ac_cpp='$CPP $CPPFLAGS'
52974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52983 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52985 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52986 for ac_func in _frexpf
52988 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52989 if test "x$ac_cv_func__frexpf" = x""yes; then :
52990 cat >>confdefs.h <<_ACEOF
52991 #define HAVE__FREXPF 1
53004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53005 $as_echo_n "checking for hypotf declaration... " >&6; }
53006 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53007 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53008 $as_echo_n "(cached) " >&6
53013 ac_cpp='$CXXCPP $CPPFLAGS'
53014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53019 /* end confdefs.h. */
53029 if ac_fn_cxx_try_compile "$LINENO"; then :
53030 glibcxx_cv_func_hypotf_use=yes
53032 glibcxx_cv_func_hypotf_use=no
53034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53036 ac_cpp='$CPP $CPPFLAGS'
53037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53046 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53048 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53049 for ac_func in hypotf
53051 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53052 if test "x$ac_cv_func_hypotf" = x""yes; then :
53053 cat >>confdefs.h <<_ACEOF
53054 #define HAVE_HYPOTF 1
53062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53063 $as_echo_n "checking for _hypotf declaration... " >&6; }
53064 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53065 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53066 $as_echo_n "(cached) " >&6
53071 ac_cpp='$CXXCPP $CPPFLAGS'
53072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53077 /* end confdefs.h. */
53087 if ac_fn_cxx_try_compile "$LINENO"; then :
53088 glibcxx_cv_func__hypotf_use=yes
53090 glibcxx_cv_func__hypotf_use=no
53092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53094 ac_cpp='$CPP $CPPFLAGS'
53095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53104 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53106 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53107 for ac_func in _hypotf
53109 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53110 if test "x$ac_cv_func__hypotf" = x""yes; then :
53111 cat >>confdefs.h <<_ACEOF
53112 #define HAVE__HYPOTF 1
53125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53126 $as_echo_n "checking for ldexpf declaration... " >&6; }
53127 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53128 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53129 $as_echo_n "(cached) " >&6
53134 ac_cpp='$CXXCPP $CPPFLAGS'
53135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53140 /* end confdefs.h. */
53150 if ac_fn_cxx_try_compile "$LINENO"; then :
53151 glibcxx_cv_func_ldexpf_use=yes
53153 glibcxx_cv_func_ldexpf_use=no
53155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53157 ac_cpp='$CPP $CPPFLAGS'
53158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53167 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53169 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53170 for ac_func in ldexpf
53172 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53173 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53174 cat >>confdefs.h <<_ACEOF
53175 #define HAVE_LDEXPF 1
53183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53184 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53185 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53186 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53187 $as_echo_n "(cached) " >&6
53192 ac_cpp='$CXXCPP $CPPFLAGS'
53193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53198 /* end confdefs.h. */
53208 if ac_fn_cxx_try_compile "$LINENO"; then :
53209 glibcxx_cv_func__ldexpf_use=yes
53211 glibcxx_cv_func__ldexpf_use=no
53213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53215 ac_cpp='$CPP $CPPFLAGS'
53216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53225 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53227 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53228 for ac_func in _ldexpf
53230 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53231 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53232 cat >>confdefs.h <<_ACEOF
53233 #define HAVE__LDEXPF 1
53246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53247 $as_echo_n "checking for logf declaration... " >&6; }
53248 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53249 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53250 $as_echo_n "(cached) " >&6
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53261 /* end confdefs.h. */
53263 #ifdef HAVE_IEEEFP_H
53264 #include <ieeefp.h>
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276 glibcxx_cv_func_logf_use=yes
53278 glibcxx_cv_func_logf_use=no
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53292 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53294 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53295 for ac_func in logf
53297 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53298 if test "x$ac_cv_func_logf" = x""yes; then :
53299 cat >>confdefs.h <<_ACEOF
53300 #define HAVE_LOGF 1
53308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53309 $as_echo_n "checking for _logf declaration... " >&6; }
53310 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53311 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53312 $as_echo_n "(cached) " >&6
53317 ac_cpp='$CXXCPP $CPPFLAGS'
53318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53323 /* end confdefs.h. */
53325 #ifdef HAVE_IEEEFP_H
53326 #include <ieeefp.h>
53337 if ac_fn_cxx_try_compile "$LINENO"; then :
53338 glibcxx_cv_func__logf_use=yes
53340 glibcxx_cv_func__logf_use=no
53342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53344 ac_cpp='$CPP $CPPFLAGS'
53345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53354 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53356 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53357 for ac_func in _logf
53359 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53360 if test "x$ac_cv_func__logf" = x""yes; then :
53361 cat >>confdefs.h <<_ACEOF
53362 #define HAVE__LOGF 1
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53376 $as_echo_n "checking for log10f declaration... " >&6; }
53377 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53378 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53379 $as_echo_n "(cached) " >&6
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h. */
53392 #ifdef HAVE_IEEEFP_H
53393 #include <ieeefp.h>
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405 glibcxx_cv_func_log10f_use=yes
53407 glibcxx_cv_func_log10f_use=no
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53421 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53423 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53424 for ac_func in log10f
53426 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53427 if test "x$ac_cv_func_log10f" = x""yes; then :
53428 cat >>confdefs.h <<_ACEOF
53429 #define HAVE_LOG10F 1
53437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53438 $as_echo_n "checking for _log10f declaration... " >&6; }
53439 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53440 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53441 $as_echo_n "(cached) " >&6
53446 ac_cpp='$CXXCPP $CPPFLAGS'
53447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53452 /* end confdefs.h. */
53454 #ifdef HAVE_IEEEFP_H
53455 #include <ieeefp.h>
53466 if ac_fn_cxx_try_compile "$LINENO"; then :
53467 glibcxx_cv_func__log10f_use=yes
53469 glibcxx_cv_func__log10f_use=no
53471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53473 ac_cpp='$CPP $CPPFLAGS'
53474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53483 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53485 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53486 for ac_func in _log10f
53488 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53489 if test "x$ac_cv_func__log10f" = x""yes; then :
53490 cat >>confdefs.h <<_ACEOF
53491 #define HAVE__LOG10F 1
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53505 $as_echo_n "checking for modff declaration... " >&6; }
53506 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53507 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53508 $as_echo_n "(cached) " >&6
53513 ac_cpp='$CXXCPP $CPPFLAGS'
53514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53519 /* end confdefs.h. */
53529 if ac_fn_cxx_try_compile "$LINENO"; then :
53530 glibcxx_cv_func_modff_use=yes
53532 glibcxx_cv_func_modff_use=no
53534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53536 ac_cpp='$CPP $CPPFLAGS'
53537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53546 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53548 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53549 for ac_func in modff
53551 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53552 if test "x$ac_cv_func_modff" = x""yes; then :
53553 cat >>confdefs.h <<_ACEOF
53554 #define HAVE_MODFF 1
53562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53563 $as_echo_n "checking for _modff declaration... " >&6; }
53564 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53565 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53566 $as_echo_n "(cached) " >&6
53571 ac_cpp='$CXXCPP $CPPFLAGS'
53572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h. */
53587 if ac_fn_cxx_try_compile "$LINENO"; then :
53588 glibcxx_cv_func__modff_use=yes
53590 glibcxx_cv_func__modff_use=no
53592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53594 ac_cpp='$CPP $CPPFLAGS'
53595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53604 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53606 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53607 for ac_func in _modff
53609 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53610 if test "x$ac_cv_func__modff" = x""yes; then :
53611 cat >>confdefs.h <<_ACEOF
53612 #define HAVE__MODFF 1
53625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53626 $as_echo_n "checking for modf declaration... " >&6; }
53627 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53628 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53629 $as_echo_n "(cached) " >&6
53634 ac_cpp='$CXXCPP $CPPFLAGS'
53635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h. */
53650 if ac_fn_cxx_try_compile "$LINENO"; then :
53651 glibcxx_cv_func_modf_use=yes
53653 glibcxx_cv_func_modf_use=no
53655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53657 ac_cpp='$CPP $CPPFLAGS'
53658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53667 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53669 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53670 for ac_func in modf
53672 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53673 if test "x$ac_cv_func_modf" = x""yes; then :
53674 cat >>confdefs.h <<_ACEOF
53675 #define HAVE_MODF 1
53683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53684 $as_echo_n "checking for _modf declaration... " >&6; }
53685 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53686 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53687 $as_echo_n "(cached) " >&6
53692 ac_cpp='$CXXCPP $CPPFLAGS'
53693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53698 /* end confdefs.h. */
53708 if ac_fn_cxx_try_compile "$LINENO"; then :
53709 glibcxx_cv_func__modf_use=yes
53711 glibcxx_cv_func__modf_use=no
53713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53715 ac_cpp='$CPP $CPPFLAGS'
53716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53725 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53727 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53728 for ac_func in _modf
53730 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53731 if test "x$ac_cv_func__modf" = x""yes; then :
53732 cat >>confdefs.h <<_ACEOF
53733 #define HAVE__MODF 1
53746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53747 $as_echo_n "checking for powf declaration... " >&6; }
53748 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53749 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53750 $as_echo_n "(cached) " >&6
53755 ac_cpp='$CXXCPP $CPPFLAGS'
53756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53761 /* end confdefs.h. */
53771 if ac_fn_cxx_try_compile "$LINENO"; then :
53772 glibcxx_cv_func_powf_use=yes
53774 glibcxx_cv_func_powf_use=no
53776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53778 ac_cpp='$CPP $CPPFLAGS'
53779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53788 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53790 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53791 for ac_func in powf
53793 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53794 if test "x$ac_cv_func_powf" = x""yes; then :
53795 cat >>confdefs.h <<_ACEOF
53796 #define HAVE_POWF 1
53804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53805 $as_echo_n "checking for _powf declaration... " >&6; }
53806 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53807 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53808 $as_echo_n "(cached) " >&6
53813 ac_cpp='$CXXCPP $CPPFLAGS'
53814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53819 /* end confdefs.h. */
53829 if ac_fn_cxx_try_compile "$LINENO"; then :
53830 glibcxx_cv_func__powf_use=yes
53832 glibcxx_cv_func__powf_use=no
53834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53836 ac_cpp='$CPP $CPPFLAGS'
53837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53846 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53848 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53849 for ac_func in _powf
53851 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53852 if test "x$ac_cv_func__powf" = x""yes; then :
53853 cat >>confdefs.h <<_ACEOF
53854 #define HAVE__POWF 1
53867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53868 $as_echo_n "checking for sqrtf declaration... " >&6; }
53869 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53870 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53871 $as_echo_n "(cached) " >&6
53876 ac_cpp='$CXXCPP $CPPFLAGS'
53877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53882 /* end confdefs.h. */
53884 #ifdef HAVE_IEEEFP_H
53885 #include <ieeefp.h>
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897 glibcxx_cv_func_sqrtf_use=yes
53899 glibcxx_cv_func_sqrtf_use=no
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53913 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53915 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53916 for ac_func in sqrtf
53918 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53919 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53920 cat >>confdefs.h <<_ACEOF
53921 #define HAVE_SQRTF 1
53929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53930 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53931 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53932 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53933 $as_echo_n "(cached) " >&6
53938 ac_cpp='$CXXCPP $CPPFLAGS'
53939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53944 /* end confdefs.h. */
53946 #ifdef HAVE_IEEEFP_H
53947 #include <ieeefp.h>
53958 if ac_fn_cxx_try_compile "$LINENO"; then :
53959 glibcxx_cv_func__sqrtf_use=yes
53961 glibcxx_cv_func__sqrtf_use=no
53963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53965 ac_cpp='$CPP $CPPFLAGS'
53966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53975 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53977 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53978 for ac_func in _sqrtf
53980 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53981 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53982 cat >>confdefs.h <<_ACEOF
53983 #define HAVE__SQRTF 1
53996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53997 $as_echo_n "checking for sincosf declaration... " >&6; }
53998 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53999 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54000 $as_echo_n "(cached) " >&6
54005 ac_cpp='$CXXCPP $CPPFLAGS'
54006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54011 /* end confdefs.h. */
54021 if ac_fn_cxx_try_compile "$LINENO"; then :
54022 glibcxx_cv_func_sincosf_use=yes
54024 glibcxx_cv_func_sincosf_use=no
54026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54028 ac_cpp='$CPP $CPPFLAGS'
54029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54038 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54040 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54041 for ac_func in sincosf
54043 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54044 if test "x$ac_cv_func_sincosf" = x""yes; then :
54045 cat >>confdefs.h <<_ACEOF
54046 #define HAVE_SINCOSF 1
54054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54055 $as_echo_n "checking for _sincosf declaration... " >&6; }
54056 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54057 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54058 $as_echo_n "(cached) " >&6
54063 ac_cpp='$CXXCPP $CPPFLAGS'
54064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54069 /* end confdefs.h. */
54079 if ac_fn_cxx_try_compile "$LINENO"; then :
54080 glibcxx_cv_func__sincosf_use=yes
54082 glibcxx_cv_func__sincosf_use=no
54084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54086 ac_cpp='$CPP $CPPFLAGS'
54087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54096 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54098 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54099 for ac_func in _sincosf
54101 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54102 if test "x$ac_cv_func__sincosf" = x""yes; then :
54103 cat >>confdefs.h <<_ACEOF
54104 #define HAVE__SINCOSF 1
54117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54118 $as_echo_n "checking for finitef declaration... " >&6; }
54119 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54120 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54121 $as_echo_n "(cached) " >&6
54126 ac_cpp='$CXXCPP $CPPFLAGS'
54127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54132 /* end confdefs.h. */
54134 #ifdef HAVE_IEEEFP_H
54135 #include <ieeefp.h>
54146 if ac_fn_cxx_try_compile "$LINENO"; then :
54147 glibcxx_cv_func_finitef_use=yes
54149 glibcxx_cv_func_finitef_use=no
54151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54153 ac_cpp='$CPP $CPPFLAGS'
54154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54163 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54165 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54166 for ac_func in finitef
54168 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54169 if test "x$ac_cv_func_finitef" = x""yes; then :
54170 cat >>confdefs.h <<_ACEOF
54171 #define HAVE_FINITEF 1
54179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54180 $as_echo_n "checking for _finitef declaration... " >&6; }
54181 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54182 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54183 $as_echo_n "(cached) " >&6
54188 ac_cpp='$CXXCPP $CPPFLAGS'
54189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54194 /* end confdefs.h. */
54196 #ifdef HAVE_IEEEFP_H
54197 #include <ieeefp.h>
54208 if ac_fn_cxx_try_compile "$LINENO"; then :
54209 glibcxx_cv_func__finitef_use=yes
54211 glibcxx_cv_func__finitef_use=no
54213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54215 ac_cpp='$CPP $CPPFLAGS'
54216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54225 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54227 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54228 for ac_func in _finitef
54230 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54231 if test "x$ac_cv_func__finitef" = x""yes; then :
54232 cat >>confdefs.h <<_ACEOF
54233 #define HAVE__FINITEF 1
54246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54247 $as_echo_n "checking for long double trig functions... " >&6; }
54248 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54249 $as_echo_n "(cached) " >&6
54254 ac_cpp='$CXXCPP $CPPFLAGS'
54255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54260 /* end confdefs.h. */
54265 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54270 if ac_fn_cxx_try_compile "$LINENO"; then :
54271 glibcxx_cv_func_long_double_trig_use=yes
54273 glibcxx_cv_func_long_double_trig_use=no
54275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54277 ac_cpp='$CPP $CPPFLAGS'
54278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54285 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54286 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54287 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54291 eval as_val=\$$as_ac_var
54292 if test "x$as_val" = x""yes; then :
54293 cat >>confdefs.h <<_ACEOF
54294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54302 $as_echo_n "checking for _long double trig functions... " >&6; }
54303 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54304 $as_echo_n "(cached) " >&6
54309 ac_cpp='$CXXCPP $CPPFLAGS'
54310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54315 /* end confdefs.h. */
54320 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54325 if ac_fn_cxx_try_compile "$LINENO"; then :
54326 glibcxx_cv_func__long_double_trig_use=yes
54328 glibcxx_cv_func__long_double_trig_use=no
54330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54332 ac_cpp='$CPP $CPPFLAGS'
54333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54340 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54341 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54342 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54346 eval as_val=\$$as_ac_var
54347 if test "x$as_val" = x""yes; then :
54348 cat >>confdefs.h <<_ACEOF
54349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54363 $as_echo_n "checking for long double round functions... " >&6; }
54364 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54365 $as_echo_n "(cached) " >&6
54370 ac_cpp='$CXXCPP $CPPFLAGS'
54371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54376 /* end confdefs.h. */
54381 ceill (0); floorl (0);
54386 if ac_fn_cxx_try_compile "$LINENO"; then :
54387 glibcxx_cv_func_long_double_round_use=yes
54389 glibcxx_cv_func_long_double_round_use=no
54391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54401 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54402 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54403 for ac_func in ceill floorl
54405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54407 eval as_val=\$$as_ac_var
54408 if test "x$as_val" = x""yes; then :
54409 cat >>confdefs.h <<_ACEOF
54410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54418 $as_echo_n "checking for _long double round functions... " >&6; }
54419 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54420 $as_echo_n "(cached) " >&6
54425 ac_cpp='$CXXCPP $CPPFLAGS'
54426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54431 /* end confdefs.h. */
54436 _ceill (0); _floorl (0);
54441 if ac_fn_cxx_try_compile "$LINENO"; then :
54442 glibcxx_cv_func__long_double_round_use=yes
54444 glibcxx_cv_func__long_double_round_use=no
54446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54448 ac_cpp='$CPP $CPPFLAGS'
54449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54456 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54457 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54458 for ac_func in _ceill _floorl
54460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54462 eval as_val=\$$as_ac_var
54463 if test "x$as_val" = x""yes; then :
54464 cat >>confdefs.h <<_ACEOF
54465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54480 $as_echo_n "checking for isnanl declaration... " >&6; }
54481 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54482 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54483 $as_echo_n "(cached) " >&6
54488 ac_cpp='$CXXCPP $CPPFLAGS'
54489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54494 /* end confdefs.h. */
54496 #ifdef HAVE_IEEEFP_H
54497 #include <ieeefp.h>
54508 if ac_fn_cxx_try_compile "$LINENO"; then :
54509 glibcxx_cv_func_isnanl_use=yes
54511 glibcxx_cv_func_isnanl_use=no
54513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54515 ac_cpp='$CPP $CPPFLAGS'
54516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54525 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54527 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54528 for ac_func in isnanl
54530 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54531 if test "x$ac_cv_func_isnanl" = x""yes; then :
54532 cat >>confdefs.h <<_ACEOF
54533 #define HAVE_ISNANL 1
54541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54542 $as_echo_n "checking for _isnanl declaration... " >&6; }
54543 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54544 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54545 $as_echo_n "(cached) " >&6
54550 ac_cpp='$CXXCPP $CPPFLAGS'
54551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54556 /* end confdefs.h. */
54558 #ifdef HAVE_IEEEFP_H
54559 #include <ieeefp.h>
54570 if ac_fn_cxx_try_compile "$LINENO"; then :
54571 glibcxx_cv_func__isnanl_use=yes
54573 glibcxx_cv_func__isnanl_use=no
54575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54577 ac_cpp='$CPP $CPPFLAGS'
54578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54587 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54589 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54590 for ac_func in _isnanl
54592 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54593 if test "x$ac_cv_func__isnanl" = x""yes; then :
54594 cat >>confdefs.h <<_ACEOF
54595 #define HAVE__ISNANL 1
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54609 $as_echo_n "checking for isinfl declaration... " >&6; }
54610 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54611 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54612 $as_echo_n "(cached) " >&6
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func_isinfl_use=yes
54640 glibcxx_cv_func_isinfl_use=no
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54654 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54656 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54657 for ac_func in isinfl
54659 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54660 if test "x$ac_cv_func_isinfl" = x""yes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE_ISINFL 1
54670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54671 $as_echo_n "checking for _isinfl declaration... " >&6; }
54672 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54673 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54674 $as_echo_n "(cached) " >&6
54679 ac_cpp='$CXXCPP $CPPFLAGS'
54680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54685 /* end confdefs.h. */
54687 #ifdef HAVE_IEEEFP_H
54688 #include <ieeefp.h>
54699 if ac_fn_cxx_try_compile "$LINENO"; then :
54700 glibcxx_cv_func__isinfl_use=yes
54702 glibcxx_cv_func__isinfl_use=no
54704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54706 ac_cpp='$CPP $CPPFLAGS'
54707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54716 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54718 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54719 for ac_func in _isinfl
54721 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54722 if test "x$ac_cv_func__isinfl" = x""yes; then :
54723 cat >>confdefs.h <<_ACEOF
54724 #define HAVE__ISINFL 1
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54738 $as_echo_n "checking for atan2l declaration... " >&6; }
54739 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54740 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54741 $as_echo_n "(cached) " >&6
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h. */
54762 if ac_fn_cxx_try_compile "$LINENO"; then :
54763 glibcxx_cv_func_atan2l_use=yes
54765 glibcxx_cv_func_atan2l_use=no
54767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54769 ac_cpp='$CPP $CPPFLAGS'
54770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54779 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54781 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54782 for ac_func in atan2l
54784 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54785 if test "x$ac_cv_func_atan2l" = x""yes; then :
54786 cat >>confdefs.h <<_ACEOF
54787 #define HAVE_ATAN2L 1
54795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54796 $as_echo_n "checking for _atan2l declaration... " >&6; }
54797 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54798 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54799 $as_echo_n "(cached) " >&6
54804 ac_cpp='$CXXCPP $CPPFLAGS'
54805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54810 /* end confdefs.h. */
54820 if ac_fn_cxx_try_compile "$LINENO"; then :
54821 glibcxx_cv_func__atan2l_use=yes
54823 glibcxx_cv_func__atan2l_use=no
54825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54827 ac_cpp='$CPP $CPPFLAGS'
54828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54837 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54839 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54840 for ac_func in _atan2l
54842 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54843 if test "x$ac_cv_func__atan2l" = x""yes; then :
54844 cat >>confdefs.h <<_ACEOF
54845 #define HAVE__ATAN2L 1
54858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54859 $as_echo_n "checking for expl declaration... " >&6; }
54860 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54861 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54862 $as_echo_n "(cached) " >&6
54867 ac_cpp='$CXXCPP $CPPFLAGS'
54868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54873 /* end confdefs.h. */
54875 #ifdef HAVE_IEEEFP_H
54876 #include <ieeefp.h>
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888 glibcxx_cv_func_expl_use=yes
54890 glibcxx_cv_func_expl_use=no
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54904 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54906 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54907 for ac_func in expl
54909 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54910 if test "x$ac_cv_func_expl" = x""yes; then :
54911 cat >>confdefs.h <<_ACEOF
54912 #define HAVE_EXPL 1
54920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54921 $as_echo_n "checking for _expl declaration... " >&6; }
54922 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54923 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54924 $as_echo_n "(cached) " >&6
54929 ac_cpp='$CXXCPP $CPPFLAGS'
54930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54935 /* end confdefs.h. */
54937 #ifdef HAVE_IEEEFP_H
54938 #include <ieeefp.h>
54949 if ac_fn_cxx_try_compile "$LINENO"; then :
54950 glibcxx_cv_func__expl_use=yes
54952 glibcxx_cv_func__expl_use=no
54954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54956 ac_cpp='$CPP $CPPFLAGS'
54957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54966 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54968 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54969 for ac_func in _expl
54971 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54972 if test "x$ac_cv_func__expl" = x""yes; then :
54973 cat >>confdefs.h <<_ACEOF
54974 #define HAVE__EXPL 1
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54988 $as_echo_n "checking for fabsl declaration... " >&6; }
54989 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54990 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54991 $as_echo_n "(cached) " >&6
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func_fabsl_use=yes
55019 glibcxx_cv_func_fabsl_use=no
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55033 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55035 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55036 for ac_func in fabsl
55038 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55039 if test "x$ac_cv_func_fabsl" = x""yes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE_FABSL 1
55049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55050 $as_echo_n "checking for _fabsl declaration... " >&6; }
55051 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55052 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55053 $as_echo_n "(cached) " >&6
55058 ac_cpp='$CXXCPP $CPPFLAGS'
55059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55064 /* end confdefs.h. */
55066 #ifdef HAVE_IEEEFP_H
55067 #include <ieeefp.h>
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__fabsl_use=yes
55081 glibcxx_cv_func__fabsl_use=no
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55095 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55097 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55098 for ac_func in _fabsl
55100 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55101 if test "x$ac_cv_func__fabsl" = x""yes; then :
55102 cat >>confdefs.h <<_ACEOF
55103 #define HAVE__FABSL 1
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55117 $as_echo_n "checking for fmodl declaration... " >&6; }
55118 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55119 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55120 $as_echo_n "(cached) " >&6
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55141 if ac_fn_cxx_try_compile "$LINENO"; then :
55142 glibcxx_cv_func_fmodl_use=yes
55144 glibcxx_cv_func_fmodl_use=no
55146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55148 ac_cpp='$CPP $CPPFLAGS'
55149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55158 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55160 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55161 for ac_func in fmodl
55163 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55164 if test "x$ac_cv_func_fmodl" = x""yes; then :
55165 cat >>confdefs.h <<_ACEOF
55166 #define HAVE_FMODL 1
55174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55175 $as_echo_n "checking for _fmodl declaration... " >&6; }
55176 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55177 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55178 $as_echo_n "(cached) " >&6
55183 ac_cpp='$CXXCPP $CPPFLAGS'
55184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55189 /* end confdefs.h. */
55199 if ac_fn_cxx_try_compile "$LINENO"; then :
55200 glibcxx_cv_func__fmodl_use=yes
55202 glibcxx_cv_func__fmodl_use=no
55204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55206 ac_cpp='$CPP $CPPFLAGS'
55207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55216 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55218 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55219 for ac_func in _fmodl
55221 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55222 if test "x$ac_cv_func__fmodl" = x""yes; then :
55223 cat >>confdefs.h <<_ACEOF
55224 #define HAVE__FMODL 1
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55238 $as_echo_n "checking for frexpl declaration... " >&6; }
55239 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55240 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55241 $as_echo_n "(cached) " >&6
55246 ac_cpp='$CXXCPP $CPPFLAGS'
55247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55252 /* end confdefs.h. */
55262 if ac_fn_cxx_try_compile "$LINENO"; then :
55263 glibcxx_cv_func_frexpl_use=yes
55265 glibcxx_cv_func_frexpl_use=no
55267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55269 ac_cpp='$CPP $CPPFLAGS'
55270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55279 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55281 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55282 for ac_func in frexpl
55284 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55285 if test "x$ac_cv_func_frexpl" = x""yes; then :
55286 cat >>confdefs.h <<_ACEOF
55287 #define HAVE_FREXPL 1
55295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55296 $as_echo_n "checking for _frexpl declaration... " >&6; }
55297 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55298 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55299 $as_echo_n "(cached) " >&6
55304 ac_cpp='$CXXCPP $CPPFLAGS'
55305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55310 /* end confdefs.h. */
55320 if ac_fn_cxx_try_compile "$LINENO"; then :
55321 glibcxx_cv_func__frexpl_use=yes
55323 glibcxx_cv_func__frexpl_use=no
55325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55327 ac_cpp='$CPP $CPPFLAGS'
55328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55337 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55339 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55340 for ac_func in _frexpl
55342 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55343 if test "x$ac_cv_func__frexpl" = x""yes; then :
55344 cat >>confdefs.h <<_ACEOF
55345 #define HAVE__FREXPL 1
55358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55359 $as_echo_n "checking for hypotl declaration... " >&6; }
55360 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55361 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55362 $as_echo_n "(cached) " >&6
55367 ac_cpp='$CXXCPP $CPPFLAGS'
55368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55373 /* end confdefs.h. */
55383 if ac_fn_cxx_try_compile "$LINENO"; then :
55384 glibcxx_cv_func_hypotl_use=yes
55386 glibcxx_cv_func_hypotl_use=no
55388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55390 ac_cpp='$CPP $CPPFLAGS'
55391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55400 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55402 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55403 for ac_func in hypotl
55405 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55406 if test "x$ac_cv_func_hypotl" = x""yes; then :
55407 cat >>confdefs.h <<_ACEOF
55408 #define HAVE_HYPOTL 1
55416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55417 $as_echo_n "checking for _hypotl declaration... " >&6; }
55418 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55419 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55420 $as_echo_n "(cached) " >&6
55425 ac_cpp='$CXXCPP $CPPFLAGS'
55426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55431 /* end confdefs.h. */
55441 if ac_fn_cxx_try_compile "$LINENO"; then :
55442 glibcxx_cv_func__hypotl_use=yes
55444 glibcxx_cv_func__hypotl_use=no
55446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55448 ac_cpp='$CPP $CPPFLAGS'
55449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55458 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55460 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55461 for ac_func in _hypotl
55463 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55464 if test "x$ac_cv_func__hypotl" = x""yes; then :
55465 cat >>confdefs.h <<_ACEOF
55466 #define HAVE__HYPOTL 1
55479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55480 $as_echo_n "checking for ldexpl declaration... " >&6; }
55481 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55482 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55483 $as_echo_n "(cached) " >&6
55488 ac_cpp='$CXXCPP $CPPFLAGS'
55489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55494 /* end confdefs.h. */
55504 if ac_fn_cxx_try_compile "$LINENO"; then :
55505 glibcxx_cv_func_ldexpl_use=yes
55507 glibcxx_cv_func_ldexpl_use=no
55509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55511 ac_cpp='$CPP $CPPFLAGS'
55512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55521 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55523 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55524 for ac_func in ldexpl
55526 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55527 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55528 cat >>confdefs.h <<_ACEOF
55529 #define HAVE_LDEXPL 1
55537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55538 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55539 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55540 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55541 $as_echo_n "(cached) " >&6
55546 ac_cpp='$CXXCPP $CPPFLAGS'
55547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55552 /* end confdefs.h. */
55562 if ac_fn_cxx_try_compile "$LINENO"; then :
55563 glibcxx_cv_func__ldexpl_use=yes
55565 glibcxx_cv_func__ldexpl_use=no
55567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55569 ac_cpp='$CPP $CPPFLAGS'
55570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55579 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55581 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55582 for ac_func in _ldexpl
55584 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55585 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55586 cat >>confdefs.h <<_ACEOF
55587 #define HAVE__LDEXPL 1
55600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55601 $as_echo_n "checking for logl declaration... " >&6; }
55602 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55603 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55604 $as_echo_n "(cached) " >&6
55609 ac_cpp='$CXXCPP $CPPFLAGS'
55610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55615 /* end confdefs.h. */
55617 #ifdef HAVE_IEEEFP_H
55618 #include <ieeefp.h>
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630 glibcxx_cv_func_logl_use=yes
55632 glibcxx_cv_func_logl_use=no
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55646 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55648 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55649 for ac_func in logl
55651 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55652 if test "x$ac_cv_func_logl" = x""yes; then :
55653 cat >>confdefs.h <<_ACEOF
55654 #define HAVE_LOGL 1
55662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55663 $as_echo_n "checking for _logl declaration... " >&6; }
55664 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55665 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55666 $as_echo_n "(cached) " >&6
55671 ac_cpp='$CXXCPP $CPPFLAGS'
55672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55677 /* end confdefs.h. */
55679 #ifdef HAVE_IEEEFP_H
55680 #include <ieeefp.h>
55691 if ac_fn_cxx_try_compile "$LINENO"; then :
55692 glibcxx_cv_func__logl_use=yes
55694 glibcxx_cv_func__logl_use=no
55696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55698 ac_cpp='$CPP $CPPFLAGS'
55699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55708 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55710 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55711 for ac_func in _logl
55713 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55714 if test "x$ac_cv_func__logl" = x""yes; then :
55715 cat >>confdefs.h <<_ACEOF
55716 #define HAVE__LOGL 1
55729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55730 $as_echo_n "checking for log10l declaration... " >&6; }
55731 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55732 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55733 $as_echo_n "(cached) " >&6
55738 ac_cpp='$CXXCPP $CPPFLAGS'
55739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55744 /* end confdefs.h. */
55746 #ifdef HAVE_IEEEFP_H
55747 #include <ieeefp.h>
55758 if ac_fn_cxx_try_compile "$LINENO"; then :
55759 glibcxx_cv_func_log10l_use=yes
55761 glibcxx_cv_func_log10l_use=no
55763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55765 ac_cpp='$CPP $CPPFLAGS'
55766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55775 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55777 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55778 for ac_func in log10l
55780 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55781 if test "x$ac_cv_func_log10l" = x""yes; then :
55782 cat >>confdefs.h <<_ACEOF
55783 #define HAVE_LOG10L 1
55791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55792 $as_echo_n "checking for _log10l declaration... " >&6; }
55793 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55794 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55795 $as_echo_n "(cached) " >&6
55800 ac_cpp='$CXXCPP $CPPFLAGS'
55801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55806 /* end confdefs.h. */
55808 #ifdef HAVE_IEEEFP_H
55809 #include <ieeefp.h>
55820 if ac_fn_cxx_try_compile "$LINENO"; then :
55821 glibcxx_cv_func__log10l_use=yes
55823 glibcxx_cv_func__log10l_use=no
55825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55827 ac_cpp='$CPP $CPPFLAGS'
55828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55837 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55839 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55840 for ac_func in _log10l
55842 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55843 if test "x$ac_cv_func__log10l" = x""yes; then :
55844 cat >>confdefs.h <<_ACEOF
55845 #define HAVE__LOG10L 1
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55859 $as_echo_n "checking for modfl declaration... " >&6; }
55860 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55861 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55883 if ac_fn_cxx_try_compile "$LINENO"; then :
55884 glibcxx_cv_func_modfl_use=yes
55886 glibcxx_cv_func_modfl_use=no
55888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55890 ac_cpp='$CPP $CPPFLAGS'
55891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55900 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55902 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55903 for ac_func in modfl
55905 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55906 if test "x$ac_cv_func_modfl" = x""yes; then :
55907 cat >>confdefs.h <<_ACEOF
55908 #define HAVE_MODFL 1
55916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55917 $as_echo_n "checking for _modfl declaration... " >&6; }
55918 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55919 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55920 $as_echo_n "(cached) " >&6
55925 ac_cpp='$CXXCPP $CPPFLAGS'
55926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55931 /* end confdefs.h. */
55941 if ac_fn_cxx_try_compile "$LINENO"; then :
55942 glibcxx_cv_func__modfl_use=yes
55944 glibcxx_cv_func__modfl_use=no
55946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55958 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55960 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55961 for ac_func in _modfl
55963 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55964 if test "x$ac_cv_func__modfl" = x""yes; then :
55965 cat >>confdefs.h <<_ACEOF
55966 #define HAVE__MODFL 1
55979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55980 $as_echo_n "checking for powl declaration... " >&6; }
55981 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55982 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55983 $as_echo_n "(cached) " >&6
55988 ac_cpp='$CXXCPP $CPPFLAGS'
55989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994 /* end confdefs.h. */
56004 if ac_fn_cxx_try_compile "$LINENO"; then :
56005 glibcxx_cv_func_powl_use=yes
56007 glibcxx_cv_func_powl_use=no
56009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56011 ac_cpp='$CPP $CPPFLAGS'
56012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56021 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56023 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56024 for ac_func in powl
56026 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56027 if test "x$ac_cv_func_powl" = x""yes; then :
56028 cat >>confdefs.h <<_ACEOF
56029 #define HAVE_POWL 1
56037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56038 $as_echo_n "checking for _powl declaration... " >&6; }
56039 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56040 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56041 $as_echo_n "(cached) " >&6
56046 ac_cpp='$CXXCPP $CPPFLAGS'
56047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56052 /* end confdefs.h. */
56062 if ac_fn_cxx_try_compile "$LINENO"; then :
56063 glibcxx_cv_func__powl_use=yes
56065 glibcxx_cv_func__powl_use=no
56067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56069 ac_cpp='$CPP $CPPFLAGS'
56070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56079 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56081 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56082 for ac_func in _powl
56084 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56085 if test "x$ac_cv_func__powl" = x""yes; then :
56086 cat >>confdefs.h <<_ACEOF
56087 #define HAVE__POWL 1
56100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56101 $as_echo_n "checking for sqrtl declaration... " >&6; }
56102 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56103 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56104 $as_echo_n "(cached) " >&6
56109 ac_cpp='$CXXCPP $CPPFLAGS'
56110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56115 /* end confdefs.h. */
56117 #ifdef HAVE_IEEEFP_H
56118 #include <ieeefp.h>
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130 glibcxx_cv_func_sqrtl_use=yes
56132 glibcxx_cv_func_sqrtl_use=no
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56146 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56148 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56149 for ac_func in sqrtl
56151 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56152 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56153 cat >>confdefs.h <<_ACEOF
56154 #define HAVE_SQRTL 1
56162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56163 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56164 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56165 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56166 $as_echo_n "(cached) " >&6
56171 ac_cpp='$CXXCPP $CPPFLAGS'
56172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56177 /* end confdefs.h. */
56179 #ifdef HAVE_IEEEFP_H
56180 #include <ieeefp.h>
56191 if ac_fn_cxx_try_compile "$LINENO"; then :
56192 glibcxx_cv_func__sqrtl_use=yes
56194 glibcxx_cv_func__sqrtl_use=no
56196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56198 ac_cpp='$CPP $CPPFLAGS'
56199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56208 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56210 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56211 for ac_func in _sqrtl
56213 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56214 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56215 cat >>confdefs.h <<_ACEOF
56216 #define HAVE__SQRTL 1
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56230 $as_echo_n "checking for sincosl declaration... " >&6; }
56231 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56232 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56233 $as_echo_n "(cached) " >&6
56238 ac_cpp='$CXXCPP $CPPFLAGS'
56239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56244 /* end confdefs.h. */
56254 if ac_fn_cxx_try_compile "$LINENO"; then :
56255 glibcxx_cv_func_sincosl_use=yes
56257 glibcxx_cv_func_sincosl_use=no
56259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56271 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56273 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56274 for ac_func in sincosl
56276 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56277 if test "x$ac_cv_func_sincosl" = x""yes; then :
56278 cat >>confdefs.h <<_ACEOF
56279 #define HAVE_SINCOSL 1
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56288 $as_echo_n "checking for _sincosl declaration... " >&6; }
56289 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56290 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56291 $as_echo_n "(cached) " >&6
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56302 /* end confdefs.h. */
56312 if ac_fn_cxx_try_compile "$LINENO"; then :
56313 glibcxx_cv_func__sincosl_use=yes
56315 glibcxx_cv_func__sincosl_use=no
56317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56329 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56331 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56332 for ac_func in _sincosl
56334 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56335 if test "x$ac_cv_func__sincosl" = x""yes; then :
56336 cat >>confdefs.h <<_ACEOF
56337 #define HAVE__SINCOSL 1
56350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56351 $as_echo_n "checking for finitel declaration... " >&6; }
56352 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56353 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56354 $as_echo_n "(cached) " >&6
56359 ac_cpp='$CXXCPP $CPPFLAGS'
56360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56365 /* end confdefs.h. */
56367 #ifdef HAVE_IEEEFP_H
56368 #include <ieeefp.h>
56379 if ac_fn_cxx_try_compile "$LINENO"; then :
56380 glibcxx_cv_func_finitel_use=yes
56382 glibcxx_cv_func_finitel_use=no
56384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56386 ac_cpp='$CPP $CPPFLAGS'
56387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56396 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56398 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56399 for ac_func in finitel
56401 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56402 if test "x$ac_cv_func_finitel" = x""yes; then :
56403 cat >>confdefs.h <<_ACEOF
56404 #define HAVE_FINITEL 1
56412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56413 $as_echo_n "checking for _finitel declaration... " >&6; }
56414 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56415 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56416 $as_echo_n "(cached) " >&6
56421 ac_cpp='$CXXCPP $CPPFLAGS'
56422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56427 /* end confdefs.h. */
56429 #ifdef HAVE_IEEEFP_H
56430 #include <ieeefp.h>
56441 if ac_fn_cxx_try_compile "$LINENO"; then :
56442 glibcxx_cv_func__finitel_use=yes
56444 glibcxx_cv_func__finitel_use=no
56446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56448 ac_cpp='$CPP $CPPFLAGS'
56449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56458 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56460 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56461 for ac_func in _finitel
56463 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56464 if test "x$ac_cv_func__finitel" = x""yes; then :
56465 cat >>confdefs.h <<_ACEOF
56466 #define HAVE__FINITEL 1
56478 LIBS="$ac_save_LIBS"
56479 CXXFLAGS="$ac_save_CXXFLAGS"
56482 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56483 ac_save_CXXFLAGS="$CXXFLAGS"
56484 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56488 $as_echo_n "checking for strtold declaration... " >&6; }
56489 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56490 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56491 $as_echo_n "(cached) " >&6
56496 ac_cpp='$CXXCPP $CPPFLAGS'
56497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56502 /* end confdefs.h. */
56503 #include <stdlib.h>
56512 if ac_fn_cxx_try_compile "$LINENO"; then :
56513 glibcxx_cv_func_strtold_use=yes
56515 glibcxx_cv_func_strtold_use=no
56517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56519 ac_cpp='$CPP $CPPFLAGS'
56520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56529 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56530 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56531 for ac_func in strtold
56533 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56534 if test "x$ac_cv_func_strtold" = x""yes; then :
56535 cat >>confdefs.h <<_ACEOF
56536 #define HAVE_STRTOLD 1
56547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56548 $as_echo_n "checking for strtof declaration... " >&6; }
56549 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56550 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56551 $as_echo_n "(cached) " >&6
56556 ac_cpp='$CXXCPP $CPPFLAGS'
56557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56562 /* end confdefs.h. */
56563 #include <stdlib.h>
56572 if ac_fn_cxx_try_compile "$LINENO"; then :
56573 glibcxx_cv_func_strtof_use=yes
56575 glibcxx_cv_func_strtof_use=no
56577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56579 ac_cpp='$CPP $CPPFLAGS'
56580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56589 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56590 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56591 for ac_func in strtof
56593 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56594 if test "x$ac_cv_func_strtof" = x""yes; then :
56595 cat >>confdefs.h <<_ACEOF
56596 #define HAVE_STRTOF 1
56607 CXXFLAGS="$ac_save_CXXFLAGS"
56611 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56614 # If we're not using GNU ld, then there's no point in even trying these
56615 # tests. Check for that first. We should have already tested for gld
56616 # by now (in libtool), but require it now just to be safe...
56617 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56618 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56622 # The name set by libtool depends on the version of libtool. Shame on us
56623 # for depending on an impl detail, but c'est la vie. Older versions used
56624 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56625 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56626 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56627 # set (hence we're using an older libtool), then set it.
56628 if test x${with_gnu_ld+set} != xset; then
56629 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56630 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56633 with_gnu_ld=$ac_cv_prog_gnu_ld
56637 # Start by getting the version number. I think the libtool test already
56638 # does some of this, but throws away the result.
56639 glibcxx_ld_is_gold=no
56640 if test x"$with_gnu_ld" = x"yes"; then
56641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56642 $as_echo_n "checking for ld version... " >&6; }
56644 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56645 glibcxx_ld_is_gold=yes
56647 ldver=`$LD --version 2>/dev/null |
56648 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'`
56650 glibcxx_gnu_ld_version=`echo $ldver | \
56651 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56653 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56656 # Set --gc-sections.
56657 glibcxx_have_gc_sections=no
56658 if test "$glibcxx_ld_is_gold" = "yes"; then
56659 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56660 glibcxx_have_gc_sections=yes
56663 glibcxx_gcsections_min_ld=21602
56664 if test x"$with_gnu_ld" = x"yes" &&
56665 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56666 glibcxx_have_gc_sections=yes
56669 if test "$glibcxx_have_gc_sections" = "yes"; then
56670 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56671 # NB: This flag only works reliably after 2.16.1. Configure tests
56672 # for this are difficult, so hard wire a value that should work.
56674 ac_test_CFLAGS="${CFLAGS+set}"
56675 ac_save_CFLAGS="$CFLAGS"
56676 CFLAGS='-Wl,--gc-sections'
56678 # Check for -Wl,--gc-sections
56679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56680 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56681 if test x$gcc_no_link = xyes; then
56682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56685 /* end confdefs.h. */
56686 int one(void) { return 1; }
56687 int two(void) { return 2; }
56697 if ac_fn_c_try_link "$LINENO"; then :
56702 rm -f core conftest.err conftest.$ac_objext \
56703 conftest$ac_exeext conftest.$ac_ext
56704 if test "$ac_gcsections" = "yes"; then
56707 if $CC -c conftest.c; then
56708 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56709 grep "Warning: gc-sections option ignored" > /dev/null; then
56713 rm -f conftest.c conftest.o conftest
56715 if test "$ac_gcsections" = "yes"; then
56716 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56719 $as_echo "$ac_gcsections" >&6; }
56721 if test "$ac_test_CFLAGS" = set; then
56722 CFLAGS="$ac_save_CFLAGS"
56724 # this is the suspicious part
56730 # Note this is only for shared objects.
56732 if test x"$with_gnu_ld" = x"yes"; then
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56734 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56735 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56736 if test -n "$cxx_z_relo"; then
56737 OPT_LDFLAGS="-Wl,-z,relro"
56740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56741 $as_echo "$ac_ld_relro" >&6; }
56744 # Set linker optimization flags.
56745 if test x"$with_gnu_ld" = x"yes"; then
56746 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56752 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56754 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56756 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56758 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56760 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56762 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56764 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56766 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56768 if test x"long_double_math_on_this_cpu" = x"yes"; then
56769 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56771 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56773 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56778 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56781 # If we're not using GNU ld, then there's no point in even trying these
56782 # tests. Check for that first. We should have already tested for gld
56783 # by now (in libtool), but require it now just to be safe...
56784 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56785 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56789 # The name set by libtool depends on the version of libtool. Shame on us
56790 # for depending on an impl detail, but c'est la vie. Older versions used
56791 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56792 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56793 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56794 # set (hence we're using an older libtool), then set it.
56795 if test x${with_gnu_ld+set} != xset; then
56796 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56797 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56800 with_gnu_ld=$ac_cv_prog_gnu_ld
56804 # Start by getting the version number. I think the libtool test already
56805 # does some of this, but throws away the result.
56806 glibcxx_ld_is_gold=no
56807 if test x"$with_gnu_ld" = x"yes"; then
56808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56809 $as_echo_n "checking for ld version... " >&6; }
56811 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56812 glibcxx_ld_is_gold=yes
56814 ldver=`$LD --version 2>/dev/null |
56815 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'`
56817 glibcxx_gnu_ld_version=`echo $ldver | \
56818 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56820 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56823 # Set --gc-sections.
56824 glibcxx_have_gc_sections=no
56825 if test "$glibcxx_ld_is_gold" = "yes"; then
56826 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56827 glibcxx_have_gc_sections=yes
56830 glibcxx_gcsections_min_ld=21602
56831 if test x"$with_gnu_ld" = x"yes" &&
56832 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56833 glibcxx_have_gc_sections=yes
56836 if test "$glibcxx_have_gc_sections" = "yes"; then
56837 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56838 # NB: This flag only works reliably after 2.16.1. Configure tests
56839 # for this are difficult, so hard wire a value that should work.
56841 ac_test_CFLAGS="${CFLAGS+set}"
56842 ac_save_CFLAGS="$CFLAGS"
56843 CFLAGS='-Wl,--gc-sections'
56845 # Check for -Wl,--gc-sections
56846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56847 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56848 if test x$gcc_no_link = xyes; then
56849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56852 /* end confdefs.h. */
56853 int one(void) { return 1; }
56854 int two(void) { return 2; }
56864 if ac_fn_c_try_link "$LINENO"; then :
56869 rm -f core conftest.err conftest.$ac_objext \
56870 conftest$ac_exeext conftest.$ac_ext
56871 if test "$ac_gcsections" = "yes"; then
56874 if $CC -c conftest.c; then
56875 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56876 grep "Warning: gc-sections option ignored" > /dev/null; then
56880 rm -f conftest.c conftest.o conftest
56882 if test "$ac_gcsections" = "yes"; then
56883 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56886 $as_echo "$ac_gcsections" >&6; }
56888 if test "$ac_test_CFLAGS" = set; then
56889 CFLAGS="$ac_save_CFLAGS"
56891 # this is the suspicious part
56897 # Note this is only for shared objects.
56899 if test x"$with_gnu_ld" = x"yes"; then
56900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56901 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56902 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56903 if test -n "$cxx_z_relo"; then
56904 OPT_LDFLAGS="-Wl,-z,relro"
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56908 $as_echo "$ac_ld_relro" >&6; }
56911 # Set linker optimization flags.
56912 if test x"$with_gnu_ld" = x"yes"; then
56913 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56919 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56921 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56923 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56926 *-qnx6.1* | *-qnx6.2*)
56927 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56930 # If we're not using GNU ld, then there's no point in even trying these
56931 # tests. Check for that first. We should have already tested for gld
56932 # by now (in libtool), but require it now just to be safe...
56933 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56934 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56938 # The name set by libtool depends on the version of libtool. Shame on us
56939 # for depending on an impl detail, but c'est la vie. Older versions used
56940 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56941 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56942 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56943 # set (hence we're using an older libtool), then set it.
56944 if test x${with_gnu_ld+set} != xset; then
56945 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56946 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56949 with_gnu_ld=$ac_cv_prog_gnu_ld
56953 # Start by getting the version number. I think the libtool test already
56954 # does some of this, but throws away the result.
56955 glibcxx_ld_is_gold=no
56956 if test x"$with_gnu_ld" = x"yes"; then
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56958 $as_echo_n "checking for ld version... " >&6; }
56960 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56961 glibcxx_ld_is_gold=yes
56963 ldver=`$LD --version 2>/dev/null |
56964 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'`
56966 glibcxx_gnu_ld_version=`echo $ldver | \
56967 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56969 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56972 # Set --gc-sections.
56973 glibcxx_have_gc_sections=no
56974 if test "$glibcxx_ld_is_gold" = "yes"; then
56975 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56976 glibcxx_have_gc_sections=yes
56979 glibcxx_gcsections_min_ld=21602
56980 if test x"$with_gnu_ld" = x"yes" &&
56981 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56982 glibcxx_have_gc_sections=yes
56985 if test "$glibcxx_have_gc_sections" = "yes"; then
56986 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56987 # NB: This flag only works reliably after 2.16.1. Configure tests
56988 # for this are difficult, so hard wire a value that should work.
56990 ac_test_CFLAGS="${CFLAGS+set}"
56991 ac_save_CFLAGS="$CFLAGS"
56992 CFLAGS='-Wl,--gc-sections'
56994 # Check for -Wl,--gc-sections
56995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56996 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56997 if test x$gcc_no_link = xyes; then
56998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57001 /* end confdefs.h. */
57002 int one(void) { return 1; }
57003 int two(void) { return 2; }
57013 if ac_fn_c_try_link "$LINENO"; then :
57018 rm -f core conftest.err conftest.$ac_objext \
57019 conftest$ac_exeext conftest.$ac_ext
57020 if test "$ac_gcsections" = "yes"; then
57023 if $CC -c conftest.c; then
57024 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57025 grep "Warning: gc-sections option ignored" > /dev/null; then
57029 rm -f conftest.c conftest.o conftest
57031 if test "$ac_gcsections" = "yes"; then
57032 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57035 $as_echo "$ac_gcsections" >&6; }
57037 if test "$ac_test_CFLAGS" = set; then
57038 CFLAGS="$ac_save_CFLAGS"
57040 # this is the suspicious part
57046 # Note this is only for shared objects.
57048 if test x"$with_gnu_ld" = x"yes"; then
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57050 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57051 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57052 if test -n "$cxx_z_relo"; then
57053 OPT_LDFLAGS="-Wl,-z,relro"
57056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57057 $as_echo "$ac_ld_relro" >&6; }
57060 # Set linker optimization flags.
57061 if test x"$with_gnu_ld" = x"yes"; then
57062 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57068 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57070 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57072 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57074 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57076 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57078 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57080 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57082 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57084 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57086 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57088 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57090 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57095 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57097 # If we're not using GNU ld, then there's no point in even trying these
57098 # tests. Check for that first. We should have already tested for gld
57099 # by now (in libtool), but require it now just to be safe...
57100 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57101 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57105 # The name set by libtool depends on the version of libtool. Shame on us
57106 # for depending on an impl detail, but c'est la vie. Older versions used
57107 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57108 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57109 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57110 # set (hence we're using an older libtool), then set it.
57111 if test x${with_gnu_ld+set} != xset; then
57112 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57113 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57116 with_gnu_ld=$ac_cv_prog_gnu_ld
57120 # Start by getting the version number. I think the libtool test already
57121 # does some of this, but throws away the result.
57122 glibcxx_ld_is_gold=no
57123 if test x"$with_gnu_ld" = x"yes"; then
57124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57125 $as_echo_n "checking for ld version... " >&6; }
57127 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57128 glibcxx_ld_is_gold=yes
57130 ldver=`$LD --version 2>/dev/null |
57131 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'`
57133 glibcxx_gnu_ld_version=`echo $ldver | \
57134 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57136 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57139 # Set --gc-sections.
57140 glibcxx_have_gc_sections=no
57141 if test "$glibcxx_ld_is_gold" = "yes"; then
57142 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57143 glibcxx_have_gc_sections=yes
57146 glibcxx_gcsections_min_ld=21602
57147 if test x"$with_gnu_ld" = x"yes" &&
57148 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57149 glibcxx_have_gc_sections=yes
57152 if test "$glibcxx_have_gc_sections" = "yes"; then
57153 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57154 # NB: This flag only works reliably after 2.16.1. Configure tests
57155 # for this are difficult, so hard wire a value that should work.
57157 ac_test_CFLAGS="${CFLAGS+set}"
57158 ac_save_CFLAGS="$CFLAGS"
57159 CFLAGS='-Wl,--gc-sections'
57161 # Check for -Wl,--gc-sections
57162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57163 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57164 if test x$gcc_no_link = xyes; then
57165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57168 /* end confdefs.h. */
57169 int one(void) { return 1; }
57170 int two(void) { return 2; }
57180 if ac_fn_c_try_link "$LINENO"; then :
57185 rm -f core conftest.err conftest.$ac_objext \
57186 conftest$ac_exeext conftest.$ac_ext
57187 if test "$ac_gcsections" = "yes"; then
57190 if $CC -c conftest.c; then
57191 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57192 grep "Warning: gc-sections option ignored" > /dev/null; then
57196 rm -f conftest.c conftest.o conftest
57198 if test "$ac_gcsections" = "yes"; then
57199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57202 $as_echo "$ac_gcsections" >&6; }
57204 if test "$ac_test_CFLAGS" = set; then
57205 CFLAGS="$ac_save_CFLAGS"
57207 # this is the suspicious part
57213 # Note this is only for shared objects.
57215 if test x"$with_gnu_ld" = x"yes"; then
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57217 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57218 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57219 if test -n "$cxx_z_relo"; then
57220 OPT_LDFLAGS="-Wl,-z,relro"
57223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57224 $as_echo "$ac_ld_relro" >&6; }
57227 # Set linker optimization flags.
57228 if test x"$with_gnu_ld" = x"yes"; then
57229 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57235 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57237 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57239 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57241 # All of the dependencies for wide character support are here, so
57243 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57249 # These two C99 functions are present only in Solaris >= 10
57250 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57252 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57256 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57258 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57260 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57262 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57269 # If we're not using GNU ld, then there's no point in even trying these
57270 # tests. Check for that first. We should have already tested for gld
57271 # by now (in libtool), but require it now just to be safe...
57272 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57273 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57277 # The name set by libtool depends on the version of libtool. Shame on us
57278 # for depending on an impl detail, but c'est la vie. Older versions used
57279 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57280 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57281 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57282 # set (hence we're using an older libtool), then set it.
57283 if test x${with_gnu_ld+set} != xset; then
57284 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57285 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57288 with_gnu_ld=$ac_cv_prog_gnu_ld
57292 # Start by getting the version number. I think the libtool test already
57293 # does some of this, but throws away the result.
57294 glibcxx_ld_is_gold=no
57295 if test x"$with_gnu_ld" = x"yes"; then
57296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57297 $as_echo_n "checking for ld version... " >&6; }
57299 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57300 glibcxx_ld_is_gold=yes
57302 ldver=`$LD --version 2>/dev/null |
57303 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'`
57305 glibcxx_gnu_ld_version=`echo $ldver | \
57306 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57308 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57311 # Set --gc-sections.
57312 glibcxx_have_gc_sections=no
57313 if test "$glibcxx_ld_is_gold" = "yes"; then
57314 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57315 glibcxx_have_gc_sections=yes
57318 glibcxx_gcsections_min_ld=21602
57319 if test x"$with_gnu_ld" = x"yes" &&
57320 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57321 glibcxx_have_gc_sections=yes
57324 if test "$glibcxx_have_gc_sections" = "yes"; then
57325 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57326 # NB: This flag only works reliably after 2.16.1. Configure tests
57327 # for this are difficult, so hard wire a value that should work.
57329 ac_test_CFLAGS="${CFLAGS+set}"
57330 ac_save_CFLAGS="$CFLAGS"
57331 CFLAGS='-Wl,--gc-sections'
57333 # Check for -Wl,--gc-sections
57334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57335 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57336 if test x$gcc_no_link = xyes; then
57337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57340 /* end confdefs.h. */
57341 int one(void) { return 1; }
57342 int two(void) { return 2; }
57352 if ac_fn_c_try_link "$LINENO"; then :
57357 rm -f core conftest.err conftest.$ac_objext \
57358 conftest$ac_exeext conftest.$ac_ext
57359 if test "$ac_gcsections" = "yes"; then
57362 if $CC -c conftest.c; then
57363 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57364 grep "Warning: gc-sections option ignored" > /dev/null; then
57368 rm -f conftest.c conftest.o conftest
57370 if test "$ac_gcsections" = "yes"; then
57371 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57374 $as_echo "$ac_gcsections" >&6; }
57376 if test "$ac_test_CFLAGS" = set; then
57377 CFLAGS="$ac_save_CFLAGS"
57379 # this is the suspicious part
57385 # Note this is only for shared objects.
57387 if test x"$with_gnu_ld" = x"yes"; then
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57389 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57390 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57391 if test -n "$cxx_z_relo"; then
57392 OPT_LDFLAGS="-Wl,-z,relro"
57395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57396 $as_echo "$ac_ld_relro" >&6; }
57399 # Set linker optimization flags.
57400 if test x"$with_gnu_ld" = x"yes"; then
57401 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57407 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57409 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57411 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57413 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57415 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57417 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57419 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57421 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57423 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57425 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57427 if test x"long_double_math_on_this_cpu" = x"yes"; then
57428 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57430 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57432 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57434 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57439 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57441 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57443 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57445 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57447 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57449 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57451 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57453 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57455 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57457 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57459 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57461 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57463 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57465 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57467 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57469 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57471 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57473 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57475 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57477 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57481 as_fn_error "No support for this host/target combination." "$LINENO" 5
57487 # At some point, we should differentiate between architectures
57488 # like x86, which have long double versions, and alpha/powerpc/etc.,
57489 # which don't. For the time being, punt.
57490 if test x"long_double_math_on_this_cpu" = x"yes"; then
57491 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57493 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57495 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57497 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57499 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57501 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57503 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57505 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57507 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57509 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57511 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57513 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57515 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57517 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57519 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57521 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57523 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57525 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57527 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57529 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57531 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57533 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57535 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57540 # Check for _Unwind_GetIPInfo.
57543 # Check whether --with-system-libunwind was given.
57544 if test "${with_system_libunwind+set}" = set; then :
57545 withval=$with_system_libunwind;
57548 # If system-libunwind was not specifically set, pick a default setting.
57549 if test x$with_system_libunwind = x; then
57551 ia64-*-hpux*) with_system_libunwind=yes ;;
57552 *) with_system_libunwind=no ;;
57555 # Based on system-libunwind and target, do we have ipinfo?
57556 if test x$with_system_libunwind = xyes; then
57558 ia64-*-*) have_unwind_getipinfo=no ;;
57559 *) have_unwind_getipinfo=yes ;;
57562 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57565 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57566 *) have_unwind_getipinfo=yes ;;
57571 if test x$have_unwind_getipinfo = xyes; then
57573 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57579 # Check whether --enable-linux-futex was given.
57580 if test "${enable_linux_futex+set}" = set; then :
57581 enableval=$enable_linux_futex;
57582 case "$enableval" in
57584 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57588 enable_linux_futex=default
57594 case "$enable_linux_futex" in
57596 # If headers don't have gettid/futex syscalls definition, then
57597 # default to no, otherwise there will be compile time failures.
57598 # Otherwise, default to yes. If we don't detect we are
57599 # compiled/linked against NPTL and not cross-compiling, check
57600 # if programs are run by default against NPTL and if not, issue
57602 enable_linux_futex=no
57603 if test x$gcc_no_link = xyes; then
57604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57607 /* end confdefs.h. */
57608 #include <sys/syscall.h>
57613 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57618 if ac_fn_c_try_link "$LINENO"; then :
57620 LIBS="-lpthread $LIBS"
57621 if test x$gcc_no_link = xyes; then
57622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57625 /* end confdefs.h. */
57626 #ifndef _GNU_SOURCE
57627 #define _GNU_SOURCE 1
57629 #include <pthread.h>
57630 pthread_t th; void *status;
57634 pthread_tryjoin_np (th, &status);
57639 if ac_fn_c_try_link "$LINENO"; then :
57640 enable_linux_futex=yes
57642 if test x$cross_compiling = xno; then
57643 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57644 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57646 If so, please configure with --disable-linux-futex" >&5
57647 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57648 If so, please configure with --disable-linux-futex" >&2;}
57651 enable_linux_futex=yes
57653 rm -f core conftest.err conftest.$ac_objext \
57654 conftest$ac_exeext conftest.$ac_ext
57657 rm -f core conftest.err conftest.$ac_objext \
57658 conftest$ac_exeext conftest.$ac_ext
57661 if test x$gcc_no_link = xyes; then
57662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57665 /* end confdefs.h. */
57666 #include <sys/syscall.h>
57671 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57676 if ac_fn_c_try_link "$LINENO"; then :
57679 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57681 rm -f core conftest.err conftest.$ac_objext \
57682 conftest$ac_exeext conftest.$ac_ext
57687 enable_linux_futex=no
57690 if test x$enable_linux_futex = xyes; then
57692 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57699 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57701 acx_cv_header_stdint=stddef.h
57702 acx_cv_header_stdint_kind="(already complete)"
57703 for i in stdint.h $inttype_headers; do
57704 unset ac_cv_type_uintptr_t
57705 unset ac_cv_type_uintmax_t
57706 unset ac_cv_type_int_least32_t
57707 unset ac_cv_type_int_fast32_t
57708 unset ac_cv_type_uint64_t
57709 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57710 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57713 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57714 acx_cv_header_stdint=$i
57719 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57722 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57725 acx_cv_header_stdint_kind="(mostly complete)"
57728 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57731 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57734 acx_cv_header_stdint_kind="(mostly complete)"
57737 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57740 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57743 acx_cv_header_stdint_kind="(mostly complete)"
57746 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57749 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57752 acx_cv_header_stdint_kind="(lacks uint64_t)"
57757 if test "$acx_cv_header_stdint" = stddef.h; then
57758 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57759 for i in stdint.h $inttype_headers; do
57760 unset ac_cv_type_uintptr_t
57761 unset ac_cv_type_uint32_t
57762 unset ac_cv_type_uint64_t
57763 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57764 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57767 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57768 acx_cv_header_stdint=$i
57773 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57776 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57780 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57783 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57790 if test "$acx_cv_header_stdint" = stddef.h; then
57791 acx_cv_header_stdint_kind="(u_intXX_t style)"
57792 for i in sys/types.h $inttype_headers; do
57793 unset ac_cv_type_u_int32_t
57794 unset ac_cv_type_u_int64_t
57795 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57796 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57799 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57800 acx_cv_header_stdint=$i
57805 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57808 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57815 if test "$acx_cv_header_stdint" = stddef.h; then
57816 acx_cv_header_stdint_kind="(using manual detection)"
57819 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57820 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57821 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57822 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57823 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57825 # ----------------- Summarize what we found so far
57827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57828 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57830 case `$as_basename -- include/gstdint.h ||
57831 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57832 Xinclude/gstdint.h : 'X\(//\)$' \| \
57833 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57834 $as_echo X/include/gstdint.h |
57835 sed '/^.*\/\([^/][^/]*\)\/*$/{
57848 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57849 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57850 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57851 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57856 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57858 # ----------------- done included file, check C basic types --------
57860 # Lacking an uintptr_t? Test size of void *
57861 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57862 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57863 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57864 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57865 # This bug is HP SR number 8606223364.
57866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57867 $as_echo_n "checking size of void *... " >&6; }
57868 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57869 $as_echo_n "(cached) " >&6
57871 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57874 if test "$ac_cv_type_void_p" = yes; then
57875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57877 { as_fn_set_status 77
57878 as_fn_error "cannot compute sizeof (void *)
57879 See \`config.log' for more details." "$LINENO" 5; }; }
57881 ac_cv_sizeof_void_p=0
57886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57887 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57891 cat >>confdefs.h <<_ACEOF
57892 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57898 # Lacking an uint64_t? Test size of long
57899 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57900 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57903 # This bug is HP SR number 8606223364.
57904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57905 $as_echo_n "checking size of long... " >&6; }
57906 if test "${ac_cv_sizeof_long+set}" = set; then :
57907 $as_echo_n "(cached) " >&6
57909 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57912 if test "$ac_cv_type_long" = yes; then
57913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57915 { as_fn_set_status 77
57916 as_fn_error "cannot compute sizeof (long)
57917 See \`config.log' for more details." "$LINENO" 5; }; }
57919 ac_cv_sizeof_long=0
57924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57925 $as_echo "$ac_cv_sizeof_long" >&6; }
57929 cat >>confdefs.h <<_ACEOF
57930 #define SIZEOF_LONG $ac_cv_sizeof_long
57936 if test $acx_cv_header_stdint = stddef.h; then
57937 # Lacking a good header? Test size of everything and deduce all types.
57938 # The cast to long int works around a bug in the HP C Compiler
57939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57940 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57941 # This bug is HP SR number 8606223364.
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57943 $as_echo_n "checking size of int... " >&6; }
57944 if test "${ac_cv_sizeof_int+set}" = set; then :
57945 $as_echo_n "(cached) " >&6
57947 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57950 if test "$ac_cv_type_int" = yes; then
57951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57953 { as_fn_set_status 77
57954 as_fn_error "cannot compute sizeof (int)
57955 See \`config.log' for more details." "$LINENO" 5; }; }
57962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57963 $as_echo "$ac_cv_sizeof_int" >&6; }
57967 cat >>confdefs.h <<_ACEOF
57968 #define SIZEOF_INT $ac_cv_sizeof_int
57972 # The cast to long int works around a bug in the HP C Compiler
57973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57975 # This bug is HP SR number 8606223364.
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57977 $as_echo_n "checking size of short... " >&6; }
57978 if test "${ac_cv_sizeof_short+set}" = set; then :
57979 $as_echo_n "(cached) " >&6
57981 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57984 if test "$ac_cv_type_short" = yes; then
57985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57987 { as_fn_set_status 77
57988 as_fn_error "cannot compute sizeof (short)
57989 See \`config.log' for more details." "$LINENO" 5; }; }
57991 ac_cv_sizeof_short=0
57996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57997 $as_echo "$ac_cv_sizeof_short" >&6; }
58001 cat >>confdefs.h <<_ACEOF
58002 #define SIZEOF_SHORT $ac_cv_sizeof_short
58006 # The cast to long int works around a bug in the HP C Compiler
58007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58009 # This bug is HP SR number 8606223364.
58010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58011 $as_echo_n "checking size of char... " >&6; }
58012 if test "${ac_cv_sizeof_char+set}" = set; then :
58013 $as_echo_n "(cached) " >&6
58015 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
58018 if test "$ac_cv_type_char" = yes; then
58019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58021 { as_fn_set_status 77
58022 as_fn_error "cannot compute sizeof (char)
58023 See \`config.log' for more details." "$LINENO" 5; }; }
58025 ac_cv_sizeof_char=0
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58031 $as_echo "$ac_cv_sizeof_char" >&6; }
58035 cat >>confdefs.h <<_ACEOF
58036 #define SIZEOF_CHAR $ac_cv_sizeof_char
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58042 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58043 case "$ac_cv_sizeof_char" in
58044 1) acx_cv_type_int8_t=char ;;
58045 *) { as_fn_set_status please report a bug
58046 as_fn_error "no 8-bit type" "$LINENO" 5; }
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58049 $as_echo "$acx_cv_type_int8_t" >&6; }
58051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58052 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58053 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58054 2:*) acx_cv_type_int16_t=int ;;
58055 *:2) acx_cv_type_int16_t=short ;;
58056 *) { as_fn_set_status please report a bug
58057 as_fn_error "no 16-bit type" "$LINENO" 5; }
58059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58060 $as_echo "$acx_cv_type_int16_t" >&6; }
58062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58063 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58064 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58065 4:*) acx_cv_type_int32_t=int ;;
58066 *:4) acx_cv_type_int32_t=long ;;
58067 *) { as_fn_set_status please report a bug
58068 as_fn_error "no 32-bit type" "$LINENO" 5; }
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58071 $as_echo "$acx_cv_type_int32_t" >&6; }
58074 # These tests are here to make the output prettier
58076 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58077 case "$ac_cv_sizeof_long" in
58078 8) acx_cv_type_int64_t=long ;;
58080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58081 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58083 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58086 # Now we can use the above types
58088 if test "$ac_cv_type_uintptr_t" != yes; then
58089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58090 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58091 case $ac_cv_sizeof_void_p in
58092 2) acx_cv_type_intptr_t=int16_t ;;
58093 4) acx_cv_type_intptr_t=int32_t ;;
58094 8) acx_cv_type_intptr_t=int64_t ;;
58095 *) { as_fn_set_status please report a bug
58096 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58099 $as_echo "$acx_cv_type_intptr_t" >&6; }
58102 # ----------------- done all checks, emit header -------------
58103 ac_config_commands="$ac_config_commands include/gstdint.h"
58108 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58111 # Check whether --enable-symvers was given.
58112 if test "${enable_symvers+set}" = set; then :
58113 enableval=$enable_symvers;
58114 case "$enableval" in
58115 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58116 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58125 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58126 # don't know enough about $LD to do tricks...
58129 # Turn a 'yes' into a suitable default.
58130 if test x$enable_symvers = xyes ; then
58131 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58134 if test $with_gnu_ld = yes ; then
58135 case ${target_os} in
58137 enable_symvers=no ;;
58139 enable_symvers=gnu ;;
58142 case ${target_os} in
58144 enable_symvers=darwin ;;
58146 enable_symvers=no ;;
58152 # Check to see if 'darwin' or 'darwin-export' can win.
58153 if test x$enable_symvers = xdarwin-export ; then
58154 enable_symvers=darwin
58157 # Check to see if 'gnu' can win.
58158 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58159 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58161 $as_echo_n "checking for shared libgcc... " >&6; }
58162 ac_save_CFLAGS="$CFLAGS"
58164 if test x$gcc_no_link = xyes; then
58165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58168 /* end confdefs.h. */
58178 if ac_fn_c_try_link "$LINENO"; then :
58179 glibcxx_shared_libgcc=yes
58181 glibcxx_shared_libgcc=no
58183 rm -f core conftest.err conftest.$ac_objext \
58184 conftest$ac_exeext conftest.$ac_ext
58185 CFLAGS="$ac_save_CFLAGS"
58186 if test $glibcxx_shared_libgcc = no; then
58187 cat > conftest.c <<EOF
58188 int main (void) { return 0; }
58190 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58191 -shared -shared-libgcc -o conftest.so \
58192 conftest.c -v 2>&1 >/dev/null \
58193 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58194 rm -f conftest.c conftest.so
58195 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58196 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58197 if test x$gcc_no_link = xyes; then
58198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58211 if ac_fn_c_try_link "$LINENO"; then :
58212 glibcxx_shared_libgcc=yes
58214 rm -f core conftest.err conftest.$ac_objext \
58215 conftest$ac_exeext conftest.$ac_ext
58216 CFLAGS="$ac_save_CFLAGS"
58219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58220 $as_echo "$glibcxx_shared_libgcc" >&6; }
58222 # For GNU ld, we need at least this version. The format is described in
58223 # GLIBCXX_CHECK_LINKER_FEATURES above.
58224 glibcxx_min_gnu_ld_version=21400
58226 # If no shared libgcc, can't win.
58227 if test $glibcxx_shared_libgcc != yes; then
58228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58229 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58231 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58233 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58235 elif test $with_gnu_ld != yes ; then
58236 # just fail for now
58237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58238 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58240 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58242 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58244 elif test $glibcxx_ld_is_gold = yes ; then
58245 : All versions of gold support symbol versioning.
58246 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58247 # The right tools, the right setup, but too old. Fallbacks?
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58249 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58251 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58253 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58255 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58257 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58262 # Everything parsed; figure out what file to use.
58263 case $enable_symvers in
58265 SYMVER_FILE=config/abi/pre/none.ver
58268 SYMVER_FILE=config/abi/pre/gnu.ver
58270 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58273 gnu-versioned-namespace)
58274 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58276 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58280 SYMVER_FILE=config/abi/pre/gnu.ver
58282 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58287 if test x$enable_symvers != xno ; then
58289 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58294 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58295 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58296 $as_echo_n "(cached) " >&6
58299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58300 /* end confdefs.h. */
58301 void foo (void); __asm (".symver foo, bar@SYMVER");
58310 if ac_fn_c_try_compile "$LINENO"; then :
58311 glibcxx_cv_have_as_symver_directive=yes
58313 glibcxx_cv_have_as_symver_directive=no
58315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58318 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58319 if test $glibcxx_cv_have_as_symver_directive = yes; then
58321 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58331 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58332 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58334 # Now, set up compatibility support, if any.
58335 # In addition, need this to deal with std::size_t mangling in
58336 # src/compatibility.cc. In a perfect world, could use
58337 # typeid(std::size_t).name()[0] to do direct substitution.
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58339 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58340 ac_save_CFLAGS="$CFLAGS"
58342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58343 /* end confdefs.h. */
58348 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58353 if ac_fn_c_try_compile "$LINENO"; then :
58354 glibcxx_size_t_is_i=yes
58356 glibcxx_size_t_is_i=no
58358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58359 CFLAGS=$ac_save_CFLAGS
58360 if test "$glibcxx_size_t_is_i" = yes; then
58362 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58366 $as_echo "$glibcxx_size_t_is_i" >&6; }
58368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58369 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58370 ac_save_CFLAGS="$CFLAGS"
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58378 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58383 if ac_fn_c_try_compile "$LINENO"; then :
58384 glibcxx_ptrdiff_t_is_i=yes
58386 glibcxx_ptrdiff_t_is_i=no
58388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 CFLAGS=$ac_save_CFLAGS
58390 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58392 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58396 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58399 # Check whether --enable-visibility was given.
58400 if test "${enable_visibility+set}" = set; then :
58401 enableval=$enable_visibility;
58402 case "$enableval" in
58404 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58408 enable_visibility=yes
58413 if test x$enable_visibility = xyes ; then
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58415 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58416 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58417 $as_echo_n "(cached) " >&6
58420 save_CFLAGS="$CFLAGS"
58421 CFLAGS="$CFLAGS -Werror"
58422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58423 /* end confdefs.h. */
58424 void __attribute__((visibility("hidden"))) foo(void) { }
58433 if ac_fn_c_try_compile "$LINENO"; then :
58434 glibcxx_cv_have_attribute_visibility=yes
58436 glibcxx_cv_have_attribute_visibility=no
58438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58439 CFLAGS="$save_CFLAGS"
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58442 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58443 if test $glibcxx_cv_have_attribute_visibility = no; then
58444 enable_visibility=no
58449 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58450 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58455 powerpc*-*-linux* | \
58456 powerpc*-*-gnu* | \
58457 sparc*-*-linux* | \
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h. */
58467 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58468 #error no need for long double compatibility
58475 if ac_fn_c_try_compile "$LINENO"; then :
58480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58481 if test "$ac_ldbl_compat" = yes; then
58483 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58485 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58490 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58492 if $GLIBCXX_IS_NATIVE ; then
58493 # Do checks for resource limit functions.
58495 setrlimit_have_headers=yes
58496 for ac_header in unistd.h sys/time.h sys/resource.h
58498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58499 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58500 eval as_val=\$$as_ac_Header
58501 if test "x$as_val" = x""yes; then :
58502 cat >>confdefs.h <<_ACEOF
58503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58507 setrlimit_have_headers=no
58512 # If don't have the headers, then we can't run the tests now, and we
58513 # won't be seeing any of these during testsuite compilation.
58514 if test $setrlimit_have_headers = yes; then
58515 # Can't do these in a loop, else the resulting syntax is wrong.
58517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58518 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58520 /* end confdefs.h. */
58521 #include <unistd.h>
58522 #include <sys/time.h>
58523 #include <sys/resource.h>
58528 int f = RLIMIT_DATA ;
58533 if ac_fn_c_try_compile "$LINENO"; then :
58538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58540 cat >>confdefs.h <<_ACEOF
58541 #define HAVE_LIMIT_DATA $glibcxx_mresult
58544 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58546 $as_echo "$res" >&6; }
58549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58550 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58552 /* end confdefs.h. */
58553 #include <unistd.h>
58554 #include <sys/time.h>
58555 #include <sys/resource.h>
58560 int f = RLIMIT_RSS ;
58565 if ac_fn_c_try_compile "$LINENO"; then :
58570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58572 cat >>confdefs.h <<_ACEOF
58573 #define HAVE_LIMIT_RSS $glibcxx_mresult
58576 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58578 $as_echo "$res" >&6; }
58581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58582 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58584 /* end confdefs.h. */
58585 #include <unistd.h>
58586 #include <sys/time.h>
58587 #include <sys/resource.h>
58592 int f = RLIMIT_VMEM ;
58597 if ac_fn_c_try_compile "$LINENO"; then :
58602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58604 cat >>confdefs.h <<_ACEOF
58605 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58608 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58610 $as_echo "$res" >&6; }
58613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58614 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58616 /* end confdefs.h. */
58617 #include <unistd.h>
58618 #include <sys/time.h>
58619 #include <sys/resource.h>
58624 int f = RLIMIT_AS ;
58629 if ac_fn_c_try_compile "$LINENO"; then :
58634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58636 cat >>confdefs.h <<_ACEOF
58637 #define HAVE_LIMIT_AS $glibcxx_mresult
58640 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58642 $as_echo "$res" >&6; }
58645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58646 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58648 /* end confdefs.h. */
58649 #include <unistd.h>
58650 #include <sys/time.h>
58651 #include <sys/resource.h>
58656 int f = RLIMIT_FSIZE ;
58661 if ac_fn_c_try_compile "$LINENO"; then :
58666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58668 cat >>confdefs.h <<_ACEOF
58669 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58672 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58674 $as_echo "$res" >&6; }
58677 # Check for rlimit, setrlimit.
58678 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58679 $as_echo_n "(cached) " >&6
58682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58683 /* end confdefs.h. */
58684 #include <unistd.h>
58685 #include <sys/time.h>
58686 #include <sys/resource.h>
58697 if ac_fn_c_try_compile "$LINENO"; then :
58698 glibcxx_cv_setrlimit=yes
58700 glibcxx_cv_setrlimit=no
58702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58709 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58710 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58713 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58719 $as_echo "$ac_res_limits" >&6; }
58722 # Look for setenv, so that extended locale tests can be performed.
58724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58725 $as_echo_n "checking for setenv declaration... " >&6; }
58726 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58727 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58728 $as_echo_n "(cached) " >&6
58733 ac_cpp='$CXXCPP $CPPFLAGS'
58734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58739 /* end confdefs.h. */
58740 #include <stdlib.h>
58749 if ac_fn_cxx_try_compile "$LINENO"; then :
58750 glibcxx_cv_func_setenv_use=yes
58752 glibcxx_cv_func_setenv_use=no
58754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58756 ac_cpp='$CPP $CPPFLAGS'
58757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58766 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58767 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58768 for ac_func in setenv
58770 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58771 if test "x$ac_cv_func_setenv" = x""yes; then :
58772 cat >>confdefs.h <<_ACEOF
58773 #define HAVE_SETENV 1
58783 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58784 test $enable_symvers != no; then
58787 enable_abi_check=no ;;
58789 enable_abi_check=yes ;;
58792 # Only build this as native, since automake does not understand
58794 enable_abi_check=no
58797 # Export file names for ABI checking.
58798 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58802 # Propagate the target-specific source directories through the build chain.
58803 ATOMICITY_SRCDIR=config/${atomicity_dir}
58804 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58805 ATOMIC_FLAGS=${atomic_flags}
58806 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58807 OS_INC_SRCDIR=config/${os_include_dir}
58808 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58809 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58819 # Determine cross-compile flags and AM_CONDITIONALs.
58820 #AC_SUBST(GLIBCXX_IS_NATIVE)
58821 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58822 if test $is_hosted = yes; then
58823 GLIBCXX_HOSTED_TRUE=
58824 GLIBCXX_HOSTED_FALSE='#'
58826 GLIBCXX_HOSTED_TRUE='#'
58827 GLIBCXX_HOSTED_FALSE=
58831 if test $enable_libstdcxx_pch = yes; then
58832 GLIBCXX_BUILD_PCH_TRUE=
58833 GLIBCXX_BUILD_PCH_FALSE='#'
58835 GLIBCXX_BUILD_PCH_TRUE='#'
58836 GLIBCXX_BUILD_PCH_FALSE=
58840 if test $enable_cheaders = c; then
58841 GLIBCXX_C_HEADERS_C_TRUE=
58842 GLIBCXX_C_HEADERS_C_FALSE='#'
58844 GLIBCXX_C_HEADERS_C_TRUE='#'
58845 GLIBCXX_C_HEADERS_C_FALSE=
58849 if test $enable_cheaders = c_std; then
58850 GLIBCXX_C_HEADERS_C_STD_TRUE=
58851 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58853 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58854 GLIBCXX_C_HEADERS_C_STD_FALSE=
58858 if test $enable_cheaders = c_global; then
58859 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58860 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58862 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58863 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58867 if test $c_compatibility = yes; then
58868 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58869 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58871 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58872 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58876 if test $c_extra = yes; then
58877 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58878 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58880 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58881 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58885 if test $enable_libstdcxx_debug = yes; then
58886 GLIBCXX_BUILD_DEBUG_TRUE=
58887 GLIBCXX_BUILD_DEBUG_FALSE='#'
58889 GLIBCXX_BUILD_DEBUG_TRUE='#'
58890 GLIBCXX_BUILD_DEBUG_FALSE=
58894 if test $enable_parallel = yes; then
58895 ENABLE_PARALLEL_TRUE=
58896 ENABLE_PARALLEL_FALSE='#'
58898 ENABLE_PARALLEL_TRUE='#'
58899 ENABLE_PARALLEL_FALSE=
58903 if test $enable_symvers != no; then
58904 ENABLE_SYMVERS_TRUE=
58905 ENABLE_SYMVERS_FALSE='#'
58907 ENABLE_SYMVERS_TRUE='#'
58908 ENABLE_SYMVERS_FALSE=
58912 if test $enable_symvers = gnu; then
58913 ENABLE_SYMVERS_GNU_TRUE=
58914 ENABLE_SYMVERS_GNU_FALSE='#'
58916 ENABLE_SYMVERS_GNU_TRUE='#'
58917 ENABLE_SYMVERS_GNU_FALSE=
58921 if test $enable_symvers = gnu-versioned-namespace; then
58922 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58923 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58925 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58926 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58930 if test $enable_symvers = darwin; then
58931 ENABLE_SYMVERS_DARWIN_TRUE=
58932 ENABLE_SYMVERS_DARWIN_FALSE='#'
58934 ENABLE_SYMVERS_DARWIN_TRUE='#'
58935 ENABLE_SYMVERS_DARWIN_FALSE=
58939 if test $enable_visibility = yes; then
58940 ENABLE_VISIBILITY_TRUE=
58941 ENABLE_VISIBILITY_FALSE='#'
58943 ENABLE_VISIBILITY_TRUE='#'
58944 ENABLE_VISIBILITY_FALSE=
58948 if test $ac_ldbl_compat = yes; then
58949 GLIBCXX_LDBL_COMPAT_TRUE=
58950 GLIBCXX_LDBL_COMPAT_FALSE='#'
58952 GLIBCXX_LDBL_COMPAT_TRUE='#'
58953 GLIBCXX_LDBL_COMPAT_FALSE=
58959 cat >confcache <<\_ACEOF
58960 # This file is a shell script that caches the results of configure
58961 # tests run on this system so they can be shared between configure
58962 # scripts and configure runs, see configure's option --config-cache.
58963 # It is not useful on other systems. If it contains results you don't
58964 # want to keep, you may remove or edit it.
58966 # config.status only pays attention to the cache file if you give it
58967 # the --recheck option to rerun configure.
58969 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58970 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58971 # following values.
58975 # The following way of writing the cache mishandles newlines in values,
58976 # but we know of no workaround that is simple, portable, and efficient.
58977 # So, we kill variables containing newlines.
58978 # Ultrix sh set writes to stderr and can't be redirected directly,
58979 # and sets the high bit in the cache file unless we assign to the vars.
58981 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58982 eval ac_val=\$$ac_var
58986 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58987 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58990 _ | IFS | as_nl) ;; #(
58991 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58992 *) { eval $ac_var=; unset $ac_var;} ;;
58998 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58999 *${as_nl}ac_space=\ *)
59000 # `set' does not quote correctly, so add quotes: double-quote
59001 # substitution turns \\\\ into \\, and sed turns \\ into \.
59004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59007 # `set' quotes correctly as required by POSIX, so do not add quotes.
59008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59017 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59019 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59021 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59022 if test -w "$cache_file"; then
59023 test "x$cache_file" != "x/dev/null" &&
59024 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59025 $as_echo "$as_me: updating cache $cache_file" >&6;}
59026 cat confcache >$cache_file
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59029 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59034 if test ${multilib} = yes; then
59035 multilib_arg="--enable-multilib"
59040 # Export all the install information.
59042 glibcxx_toolexecdir=no
59043 glibcxx_toolexeclibdir=no
59044 glibcxx_prefixdir=$prefix
59046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59047 $as_echo_n "checking for gxx-include-dir... " >&6; }
59049 # Check whether --with-gxx-include-dir was given.
59050 if test "${with_gxx_include_dir+set}" = set; then :
59051 withval=$with_gxx_include_dir; case "$withval" in
59052 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59053 no) gxx_include_dir=no ;;
59054 *) gxx_include_dir=$withval ;;
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59061 $as_echo "$gxx_include_dir" >&6; }
59063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59064 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59065 # Check whether --enable-version-specific-runtime-libs was given.
59066 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59067 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59068 yes) version_specific_libs=yes ;;
59069 no) version_specific_libs=no ;;
59070 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59073 version_specific_libs=no
59076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59077 $as_echo "$version_specific_libs" >&6; }
59079 # Default case for install directory for include files.
59080 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59081 gxx_include_dir='include/c++/${gcc_version}'
59082 if test -n "$with_cross_host" &&
59083 test x"$with_cross_host" != x"no"; then
59084 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59086 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59090 # Version-specific runtime libs processing.
59091 if test $version_specific_libs = yes; then
59092 # Need the gcc compiler version to know where to install libraries
59093 # and header files if --enable-version-specific-runtime-libs option
59094 # is selected. FIXME: these variables are misnamed, there are
59095 # no executables installed in _toolexecdir or _toolexeclibdir.
59096 if test x"$gxx_include_dir" = x"no"; then
59097 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59099 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59100 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59103 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59104 # Install a library built with a cross compiler in tooldir, not libdir.
59105 if test x"$glibcxx_toolexecdir" = x"no"; then
59106 if test -n "$with_cross_host" &&
59107 test x"$with_cross_host" != x"no"; then
59108 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59109 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59111 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59112 glibcxx_toolexeclibdir='${libdir}'
59114 multi_os_directory=`$CXX -print-multi-os-directory`
59115 case $multi_os_directory in
59116 .) ;; # Avoid trailing /.
59117 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59122 $as_echo_n "checking for install location... " >&6; }
59123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59124 $as_echo "$gxx_include_dir" >&6; }
59132 # Export all the include and flag information to Makefiles.
59134 # Used for every C++ compile we perform.
59135 GLIBCXX_INCLUDES="\
59136 -I$glibcxx_builddir/include/$host_alias \
59137 -I$glibcxx_builddir/include \
59138 -I$glibcxx_srcdir/libsupc++"
59140 # For Canadian crosses, pick this up too.
59141 if test $CANADIAN = yes; then
59142 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59145 # Stuff in the actual top level. Currently only used by libsupc++ to
59146 # get unwind* headers from the gcc dir.
59147 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59148 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59150 # Now, export this to all the little Makefiles....
59155 # Optimization flags that are probably a good idea for thrill-seekers. Just
59156 # uncomment the lines below and make, everything else is ready to go...
59157 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59158 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59161 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59165 if test "$enable_shared" = yes; then
59166 LIBSUPCXX_PICFLAGS="-prefer-pic"
59168 LIBSUPCXX_PICFLAGS=
59172 ac_config_files="$ac_config_files Makefile"
59174 ac_config_files="$ac_config_files scripts/testsuite_flags"
59177 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59178 # that multilib installs will end up installed in the correct place.
59179 # The testsuite needs it for multilib-aware ABI baseline files.
59180 # To work around this not being passed down from config-ml.in ->
59181 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59182 # append it here. Only modify Makefiles that have just been created.
59184 # Also, get rid of this simulated-VPATH thing that automake does.
59185 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59188 ac_config_commands="$ac_config_commands generate-headers"
59191 cat >confcache <<\_ACEOF
59192 # This file is a shell script that caches the results of configure
59193 # tests run on this system so they can be shared between configure
59194 # scripts and configure runs, see configure's option --config-cache.
59195 # It is not useful on other systems. If it contains results you don't
59196 # want to keep, you may remove or edit it.
59198 # config.status only pays attention to the cache file if you give it
59199 # the --recheck option to rerun configure.
59201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59203 # following values.
59207 # The following way of writing the cache mishandles newlines in values,
59208 # but we know of no workaround that is simple, portable, and efficient.
59209 # So, we kill variables containing newlines.
59210 # Ultrix sh set writes to stderr and can't be redirected directly,
59211 # and sets the high bit in the cache file unless we assign to the vars.
59213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59214 eval ac_val=\$$ac_var
59218 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59222 _ | IFS | as_nl) ;; #(
59223 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59224 *) { eval $ac_var=; unset $ac_var;} ;;
59230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59231 *${as_nl}ac_space=\ *)
59232 # `set' does not quote correctly, so add quotes: double-quote
59233 # substitution turns \\\\ into \\, and sed turns \\ into \.
59236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59239 # `set' quotes correctly as required by POSIX, so do not add quotes.
59240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59254 if test -w "$cache_file"; then
59255 test "x$cache_file" != "x/dev/null" &&
59256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59257 $as_echo "$as_me: updating cache $cache_file" >&6;}
59258 cat confcache >$cache_file
59260 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59261 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59266 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59267 # Let make expand exec_prefix.
59268 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59270 DEFS=-DHAVE_CONFIG_H
59274 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59275 # 1. Remove the extension, and $U if already installed.
59276 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59277 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59278 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59279 # will be set to the directory where LIBOBJS objects are built.
59280 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59281 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59283 LIBOBJS=$ac_libobjs
59285 LTLIBOBJS=$ac_ltlibobjs
59288 if test -n "$EXEEXT"; then
59290 am__EXEEXT_FALSE='#'
59292 am__EXEEXT_TRUE='#'
59296 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59297 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59300 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59301 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59304 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59305 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59308 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59309 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59312 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59313 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59316 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59317 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59320 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59321 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59324 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59325 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59328 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59329 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59332 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59333 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59336 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59337 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59340 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59341 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59344 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59345 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59348 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59349 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59352 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59353 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59356 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59357 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59361 : ${CONFIG_STATUS=./config.status}
59363 ac_clean_files_save=$ac_clean_files
59364 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59366 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59368 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59370 # Generated by $as_me.
59371 # Run this file to recreate the current configuration.
59372 # Compiler output produced by configure, useful for debugging
59373 # configure, is in config.log if it exists.
59376 ac_cs_recheck=false
59379 SHELL=\${CONFIG_SHELL-$SHELL}
59382 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59383 ## -------------------- ##
59384 ## M4sh Initialization. ##
59385 ## -------------------- ##
59387 # Be more Bourne compatible
59388 DUALCASE=1; export DUALCASE # for MKS sh
59389 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59393 # is contrary to our usage. Disable this feature.
59394 alias -g '${1+"$@"}'='"$@"'
59395 setopt NO_GLOB_SUBST
59397 case `(set -o) 2>/dev/null` in #(
59409 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59410 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59411 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59412 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59413 # Prefer a ksh shell builtin over an external printf program on Solaris,
59414 # but without wasting forks for bash or zsh.
59415 if test -z "$BASH_VERSION$ZSH_VERSION" \
59416 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59417 as_echo='print -r --'
59418 as_echo_n='print -rn --'
59419 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59420 as_echo='printf %s\n'
59421 as_echo_n='printf %s'
59423 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59424 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59425 as_echo_n='/usr/ucb/echo -n'
59427 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59428 as_echo_n_body='eval
59432 expr "X$arg" : "X\\(.*\\)$as_nl";
59433 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59435 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59437 export as_echo_n_body
59438 as_echo_n='sh -c $as_echo_n_body as_echo'
59440 export as_echo_body
59441 as_echo='sh -c $as_echo_body as_echo'
59444 # The user is always right.
59445 if test "${PATH_SEPARATOR+set}" != set; then
59447 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59448 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59455 # We need space, tab and new line, in precisely that order. Quoting is
59456 # there to prevent editors from complaining about space-tab.
59457 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59458 # splitting by setting IFS to empty value.)
59461 # Find who we are. Look in the path if we contain no directory separator.
59463 *[\\/]* ) as_myself=$0 ;;
59464 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59465 for as_dir in $PATH
59468 test -z "$as_dir" && as_dir=.
59469 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59475 # We did not find ourselves, most probably we were run as `sh COMMAND'
59476 # in which case we are not to be found in the path.
59477 if test "x$as_myself" = x; then
59480 if test ! -f "$as_myself"; then
59481 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59485 # Unset variables that we do not need and which cause bugs (e.g. in
59486 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59487 # suppresses any "Segmentation fault" message there. '((' could
59488 # trigger a bug in pdksh 5.2.14.
59489 for as_var in BASH_ENV ENV MAIL MAILPATH
59490 do eval test x\${$as_var+set} = xset \
59491 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59507 # as_fn_error ERROR [LINENO LOG_FD]
59508 # ---------------------------------
59509 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59510 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59511 # script with status $?, using 1 if that was 0.
59514 as_status=$?; test $as_status -eq 0 && as_status=1
59516 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59517 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59519 $as_echo "$as_me: error: $1" >&2
59520 as_fn_exit $as_status
59524 # as_fn_set_status STATUS
59525 # -----------------------
59526 # Set $? to STATUS, without forking.
59527 as_fn_set_status ()
59530 } # as_fn_set_status
59532 # as_fn_exit STATUS
59533 # -----------------
59534 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59538 as_fn_set_status $1
59544 # Portably unset VAR.
59547 { eval $1=; unset $1;}
59549 as_unset=as_fn_unset
59550 # as_fn_append VAR VALUE
59551 # ----------------------
59552 # Append the text in VALUE to the end of the definition contained in VAR. Take
59553 # advantage of any shell optimizations that allow amortized linear growth over
59554 # repeated appends, instead of the typical quadratic growth present in naive
59556 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59557 eval 'as_fn_append ()
59568 # as_fn_arith ARG...
59569 # ------------------
59570 # Perform arithmetic evaluation on the ARGs, and store the result in the
59571 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59572 # must be portable across $(()) and expr.
59573 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59574 eval 'as_fn_arith ()
59581 as_val=`expr "$@" || test $? -eq 1`
59586 if expr a : '\(a\)' >/dev/null 2>&1 &&
59587 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59593 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59594 as_basename=basename
59599 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59605 as_me=`$as_basename -- "$0" ||
59606 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59607 X"$0" : 'X\(//\)$' \| \
59608 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59610 sed '/^.*\/\([^/][^/]*\)\/*$/{
59624 # Avoid depending upon Character Ranges.
59625 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59626 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59627 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59628 as_cr_digits='0123456789'
59629 as_cr_alnum=$as_cr_Letters$as_cr_digits
59631 ECHO_C= ECHO_N= ECHO_T=
59632 case `echo -n x` in #(((((
59634 case `echo 'xy\c'` in
59635 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59637 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59644 rm -f conf$$ conf$$.exe conf$$.file
59645 if test -d conf$$.dir; then
59646 rm -f conf$$.dir/conf$$.file
59649 mkdir conf$$.dir 2>/dev/null
59651 if (echo >conf$$.file) 2>/dev/null; then
59652 if ln -s conf$$.file conf$$ 2>/dev/null; then
59654 # ... but there are two gotchas:
59655 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59656 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59657 # In both cases, we have to default to `cp -p'.
59658 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59660 elif ln conf$$.file conf$$ 2>/dev/null; then
59668 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59669 rmdir conf$$.dir 2>/dev/null
59674 # Create "$as_dir" as a directory, including parents if necessary.
59679 -*) as_dir=./$as_dir;;
59681 test -d "$as_dir" || eval $as_mkdir_p || {
59685 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59686 *) as_qdir=$as_dir;;
59688 as_dirs="'$as_qdir' $as_dirs"
59689 as_dir=`$as_dirname -- "$as_dir" ||
59690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59691 X"$as_dir" : 'X\(//\)[^/]' \| \
59692 X"$as_dir" : 'X\(//\)$' \| \
59693 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59694 $as_echo X"$as_dir" |
59695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59699 /^X\(\/\/\)[^/].*/{
59712 test -d "$as_dir" && break
59714 test -z "$as_dirs" || eval "mkdir $as_dirs"
59715 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59719 if mkdir -p . 2>/dev/null; then
59720 as_mkdir_p='mkdir -p "$as_dir"'
59722 test -d ./-p && rmdir ./-p
59726 if test -x / >/dev/null 2>&1; then
59727 as_test_x='test -x'
59729 if ls -dL / >/dev/null 2>&1; then
59736 if test -d "$1"; then
59742 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59743 ???[sx]*):;;*)false;;esac;fi
59747 as_executable_p=$as_test_x
59749 # Sed expression to map a string onto a valid CPP name.
59750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59752 # Sed expression to map a string onto a valid variable name.
59753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59757 ## ----------------------------------- ##
59758 ## Main body of $CONFIG_STATUS script. ##
59759 ## ----------------------------------- ##
59761 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59764 # Save the log message, to keep $0 and so on meaningful, and to
59765 # report actual input values of CONFIG_FILES etc. instead of their
59766 # values after options handling.
59768 This file was extended by package-unused $as_me version-unused, which was
59769 generated by GNU Autoconf 2.64. Invocation command line was
59771 CONFIG_FILES = $CONFIG_FILES
59772 CONFIG_HEADERS = $CONFIG_HEADERS
59773 CONFIG_LINKS = $CONFIG_LINKS
59774 CONFIG_COMMANDS = $CONFIG_COMMANDS
59777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59782 case $ac_config_files in *"
59783 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59786 case $ac_config_headers in *"
59787 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59792 # Files that config.status was made for.
59793 config_files="$ac_config_files"
59794 config_headers="$ac_config_headers"
59795 config_commands="$ac_config_commands"
59799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59801 \`$as_me' instantiates files and other configuration actions
59802 from templates according to the current configuration. Unless the files
59803 and actions are specified as TAGs, all are instantiated by default.
59805 Usage: $0 [OPTION]... [TAG]...
59807 -h, --help print this help, then exit
59808 -V, --version print version number and configuration settings, then exit
59809 -q, --quiet, --silent
59810 do not print progress messages
59811 -d, --debug don't remove temporary files
59812 --recheck update $as_me by reconfiguring in the same conditions
59813 --file=FILE[:TEMPLATE]
59814 instantiate the configuration file FILE
59815 --header=FILE[:TEMPLATE]
59816 instantiate the configuration header FILE
59818 Configuration files:
59821 Configuration headers:
59824 Configuration commands:
59827 Report bugs to the package provider."
59830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59832 package-unused config.status version-unused
59833 configured by $0, generated by GNU Autoconf 2.64,
59834 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59836 Copyright (C) 2009 Free Software Foundation, Inc.
59837 This config.status script is free software; the Free Software Foundation
59838 gives unlimited permission to copy, distribute and modify it."
59845 test -n "\$AWK" || AWK=awk
59848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59849 # The default lists apply if the user does not specify any file.
59855 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59856 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59867 # Handling of the options.
59868 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59870 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59871 $as_echo "$ac_cs_version"; exit ;;
59872 --debug | --debu | --deb | --de | --d | -d )
59874 --file | --fil | --fi | --f )
59877 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59879 as_fn_append CONFIG_FILES " '$ac_optarg'"
59880 ac_need_defaults=false;;
59881 --header | --heade | --head | --hea )
59884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59886 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59887 ac_need_defaults=false;;
59889 # Conflict between --help and --header
59890 as_fn_error "ambiguous option: \`$1'
59891 Try \`$0 --help' for more information.";;
59892 --help | --hel | -h )
59893 $as_echo "$ac_cs_usage"; exit ;;
59894 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59895 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59898 # This is an error.
59899 -*) as_fn_error "unrecognized option: \`$1'
59900 Try \`$0 --help' for more information." ;;
59902 *) as_fn_append ac_config_targets " $1"
59903 ac_need_defaults=false ;;
59909 ac_configure_extra_args=
59911 if $ac_cs_silent; then
59913 ac_configure_extra_args="$ac_configure_extra_args --silent"
59917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59918 if \$ac_cs_recheck; then
59919 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59921 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59922 CONFIG_SHELL='$SHELL'
59923 export CONFIG_SHELL
59928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59933 ## Running $as_me. ##
59939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59947 with_multisubdir="$with_multisubdir"
59948 with_multisrctop="$with_multisrctop"
59949 with_target_subdir="$with_target_subdir"
59950 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59951 multi_basedir="$multi_basedir"
59952 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59955 GFORTRAN="$GFORTRAN"
59959 # The HP-UX ksh and POSIX shell print the target directory to stdout
59960 # if CDPATH is set.
59961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59963 sed_quote_subst='$sed_quote_subst'
59964 double_quote_subst='$double_quote_subst'
59965 delay_variable_subst='$delay_variable_subst'
59966 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59967 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59968 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59969 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59970 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59971 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59972 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59973 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59974 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59975 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59976 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59977 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59978 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59979 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59980 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59981 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59982 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59983 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59984 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59985 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59986 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59987 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59988 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59989 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59990 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59991 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59992 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59993 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59994 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59995 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59996 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59997 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59998 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59999 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60000 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60001 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60002 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60003 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60004 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60005 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60006 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60007 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60008 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60009 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60010 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60011 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60012 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60013 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60014 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"`'
60015 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60016 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60017 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60018 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60019 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60020 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60021 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60022 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60023 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60024 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60025 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60026 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60027 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60028 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60029 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60030 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60031 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60032 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60033 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60034 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60035 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60036 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60037 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60038 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60039 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60040 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60041 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60042 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60043 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60044 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60045 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60046 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60047 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60048 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60049 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60050 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60051 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60052 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60053 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60054 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60055 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60056 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60057 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60058 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60059 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60060 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60061 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60062 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60063 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60064 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60065 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60066 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60067 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60068 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60069 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60070 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60071 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60072 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60073 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60074 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60075 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60076 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60077 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60078 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60079 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60080 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60081 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60082 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60083 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60084 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60085 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60086 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60087 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60088 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60089 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60090 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60091 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60092 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60093 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60094 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60095 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60096 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60097 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60098 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60099 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60100 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60101 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60102 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60103 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60104 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60105 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60106 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60107 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60108 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60109 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60110 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60111 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60112 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60113 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60114 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60115 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60116 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60117 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60118 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60119 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60120 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60121 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60122 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60123 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60124 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60125 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60126 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60127 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60128 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60129 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60130 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60131 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60132 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60133 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60134 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60135 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60136 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60137 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60138 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60139 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60140 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60143 LTCFLAGS='$LTCFLAGS'
60144 compiler='$compiler_DEFAULT'
60146 # A function that is used when there is no print builtin or printf.
60147 func_fallback_echo ()
60149 eval 'cat <<_LTECHO_EOF
60154 # Quote evaled strings.
60168 deplibs_check_method \
60177 lt_cv_sys_global_symbol_pipe \
60178 lt_cv_sys_global_symbol_to_cdecl \
60179 lt_cv_sys_global_symbol_to_c_name_address \
60180 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60181 lt_prog_compiler_no_builtin_flag \
60182 lt_prog_compiler_wl \
60183 lt_prog_compiler_pic \
60184 lt_prog_compiler_static \
60185 lt_cv_prog_compiler_c_o \
60193 export_dynamic_flag_spec \
60194 whole_archive_flag_spec \
60195 compiler_needs_object \
60197 allow_undefined_flag \
60198 no_undefined_flag \
60199 hardcode_libdir_flag_spec \
60200 hardcode_libdir_flag_spec_ld \
60201 hardcode_libdir_separator \
60206 variables_saved_for_relink \
60208 library_names_spec \
60210 install_override_mode \
60214 compiler_lib_search_dirs \
60219 compiler_lib_search_path \
60223 lt_prog_compiler_no_builtin_flag_CXX \
60224 lt_prog_compiler_wl_CXX \
60225 lt_prog_compiler_pic_CXX \
60226 lt_prog_compiler_static_CXX \
60227 lt_cv_prog_compiler_c_o_CXX \
60228 export_dynamic_flag_spec_CXX \
60229 whole_archive_flag_spec_CXX \
60230 compiler_needs_object_CXX \
60232 allow_undefined_flag_CXX \
60233 no_undefined_flag_CXX \
60234 hardcode_libdir_flag_spec_CXX \
60235 hardcode_libdir_flag_spec_ld_CXX \
60236 hardcode_libdir_separator_CXX \
60237 fix_srcfile_path_CXX \
60238 exclude_expsyms_CXX \
60239 include_expsyms_CXX \
60240 file_list_spec_CXX \
60241 compiler_lib_search_dirs_CXX \
60242 predep_objects_CXX \
60243 postdep_objects_CXX \
60246 compiler_lib_search_path_CXX; do
60247 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60248 *[\\\\\\\`\\"\\\$]*)
60249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60257 # Double-quote double-evaled strings.
60258 for var in reload_cmds \
60259 old_postinstall_cmds \
60260 old_postuninstall_cmds \
60262 extract_expsyms_cmds \
60263 old_archive_from_new_cmds \
60264 old_archive_from_expsyms_cmds \
60266 archive_expsym_cmds \
60268 module_expsym_cmds \
60269 export_symbols_cmds \
60272 postuninstall_cmds \
60274 sys_lib_search_path_spec \
60275 sys_lib_dlsearch_path_spec \
60277 old_archive_cmds_CXX \
60278 old_archive_from_new_cmds_CXX \
60279 old_archive_from_expsyms_cmds_CXX \
60281 archive_expsym_cmds_CXX \
60283 module_expsym_cmds_CXX \
60284 export_symbols_cmds_CXX \
60285 prelink_cmds_CXX; do
60286 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60287 *[\\\\\\\`\\"\\\$]*)
60288 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60296 ac_aux_dir='$ac_aux_dir'
60297 xsi_shell='$xsi_shell'
60298 lt_shell_append='$lt_shell_append'
60300 # See if we are running on zsh, and set the options which allow our
60301 # commands through without removal of \ escapes INIT.
60302 if test -n "\${ZSH_VERSION+set}" ; then
60303 setopt NO_GLOB_SUBST
60309 TIMESTAMP='$TIMESTAMP'
60320 acx_cv_header_stdint="$acx_cv_header_stdint"
60321 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60322 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60323 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60324 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60325 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60326 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60327 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60328 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60329 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60330 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60331 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60332 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60333 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60340 # Handling of arguments.
60341 for ac_config_target in $ac_config_targets
60343 case $ac_config_target in
60344 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60345 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60346 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60347 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60348 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60349 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60350 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60351 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60352 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60353 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60354 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60355 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60356 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60357 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60359 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60364 # If the user did not use the arguments to specify the items to instantiate,
60365 # then the envvar interface is used. Set only those that are not.
60366 # We use the long form for the default assignment because of an extremely
60367 # bizarre bug on SunOS 4.1.3.
60368 if $ac_need_defaults; then
60369 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60370 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60371 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60374 # Have a temporary directory for convenience. Make it in the build tree
60375 # simply because there is no reason against having it here, and in addition,
60376 # creating and moving files from /tmp can sometimes cause problems.
60377 # Hook for its removal unless debugging.
60378 # Note that there is a small window in which the directory will not be cleaned:
60379 # after its creation but before its name has been assigned to `$tmp'.
60383 trap 'exit_status=$?
60384 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60386 trap 'as_fn_exit 1' 1 2 13 15
60388 # Create a (secure) tmp directory for tmp files.
60391 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60392 test -n "$tmp" && test -d "$tmp"
60395 tmp=./conf$$-$RANDOM
60396 (umask 077 && mkdir "$tmp")
60397 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60399 # Set up the scripts for CONFIG_FILES section.
60400 # No need to generate them if there are no CONFIG_FILES.
60401 # This happens for instance with `./config.status config.h'.
60402 if test -n "$CONFIG_FILES"; then
60405 ac_cr=`echo X | tr X '\015'`
60406 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60407 # But we know of no other shell where ac_cr would be empty at this
60408 # point, so we can use a bashism as a fallback.
60409 if test "x$ac_cr" = x; then
60410 eval ac_cr=\$\'\\r\'
60412 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60413 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60416 ac_cs_awk_cr=$ac_cr
60419 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60424 echo "cat >conf$$subs.awk <<_ACEOF" &&
60425 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60427 } >conf$$subs.sh ||
60428 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60429 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60431 for ac_last_try in false false false false false :; do
60432 . ./conf$$subs.sh ||
60433 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60435 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60436 if test $ac_delim_n = $ac_delim_num; then
60438 elif $ac_last_try; then
60439 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60441 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60444 rm -f conf$$subs.sh
60446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60447 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60451 s/^/S["/; s/!.*/"]=/
60461 s/\(.\{148\}\).*/\1/
60463 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60468 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60475 s/\(.\{148\}\).*/\1/
60477 s/["\\]/\\&/g; s/^/"/; s/$/"/
60481 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60486 ' <conf$$subs.awk | sed '
60491 ' >>$CONFIG_STATUS || ac_write_fail=1
60492 rm -f conf$$subs.awk
60493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60495 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60496 for (key in S) S_is_set[key] = 1
60502 nfields = split(line, field, "@")
60504 len = length(field[1])
60505 for (i = 2; i < nfields; i++) {
60507 keylen = length(key)
60508 if (S_is_set[key]) {
60510 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60511 len += length(value) + length(field[++i])
60522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60523 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60524 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60527 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60528 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60531 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60532 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60533 # trailing colons and then remove the whole line if VPATH becomes empty
60534 # (actually we leave an empty line to preserve line numbers).
60535 if test "x$srcdir" = x.; then
60536 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60537 s/:*\$(srcdir):*/:/
60538 s/:*\${srcdir}:*/:/
60540 s/^\([^=]*=[ ]*\):*/\1/
60546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60547 fi # test -n "$CONFIG_FILES"
60549 # Set up the scripts for CONFIG_HEADERS section.
60550 # No need to generate them if there are no CONFIG_HEADERS.
60551 # This happens for instance with `./config.status Makefile'.
60552 if test -n "$CONFIG_HEADERS"; then
60553 cat >"$tmp/defines.awk" <<\_ACAWK ||
60557 # Transform confdefs.h into an awk script `defines.awk', embedded as
60558 # here-document in config.status, that substitutes the proper values into
60559 # config.h.in to produce config.h.
60561 # Create a delimiter string that does not exist in confdefs.h, to ease
60562 # handling of long lines.
60564 for ac_last_try in false false :; do
60565 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60566 if test -z "$ac_t"; then
60568 elif $ac_last_try; then
60569 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60571 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60575 # For the awk script, D is an array of macro values keyed by name,
60576 # likewise P contains macro parameters if any. Preserve backslash
60577 # newline sequences.
60579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60581 s/.\{148\}/&'"$ac_delim"'/g
60584 s/^[ ]*#[ ]*define[ ][ ]*/ /
60591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60598 D["\1"]=" \3\\\\\\n"\\/p
60600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60605 s/.\{148\}/&'"$ac_delim"'/g
60610 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60613 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60615 ' <confdefs.h | sed '
60616 s/'"$ac_delim"'/"\\\
60617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60620 for (key in D) D_is_set[key] = 1
60623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60625 split(line, arg, " ")
60626 if (arg[1] == "#") {
60630 defundef = substr(arg[1], 2)
60633 split(mac1, mac2, "(") #)
60635 prefix = substr(line, 1, index(line, defundef) - 1)
60636 if (D_is_set[macro]) {
60637 # Preserve the white space surrounding the "#".
60638 print prefix "define", macro P[macro] D[macro]
60641 # Replace #undef with comments. This is necessary, for example,
60642 # in the case of _POSIX_SOURCE, which is predefined and required
60643 # on some systems where configure will not decide to define it.
60644 if (defundef == "undef") {
60645 print "/*", prefix defundef, macro, "*/"
60653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60654 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60655 fi # test -n "$CONFIG_HEADERS"
60658 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60663 :[FHLC]) ac_mode=$ac_tag; continue;;
60665 case $ac_mode$ac_tag in
60667 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60668 :[FH]-) ac_tag=-:-;;
60669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60686 -) ac_f="$tmp/stdin";;
60687 *) # Look for the file first in the build tree, then in the source tree
60688 # (if the path is not absolute). The absolute path cannot be DOS-style,
60689 # because $ac_f cannot contain `:'.
60693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60695 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60697 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60698 as_fn_append ac_file_inputs " '$ac_f'"
60701 # Let's still pretend it is `configure' which instantiates (i.e., don't
60702 # use $as_me), people would be surprised to read:
60703 # /* config.h. Generated by config.status. */
60704 configure_input='Generated from '`
60705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60707 if test x"$ac_file" != x-; then
60708 configure_input="$ac_file. $configure_input"
60709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60710 $as_echo "$as_me: creating $ac_file" >&6;}
60712 # Neutralize special characters interpreted by sed in replacement strings.
60713 case $configure_input in #(
60714 *\&* | *\|* | *\\* )
60715 ac_sed_conf_input=`$as_echo "$configure_input" |
60716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60717 *) ac_sed_conf_input=$configure_input;;
60721 *:-:* | *:-) cat >"$tmp/stdin" \
60722 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60727 ac_dir=`$as_dirname -- "$ac_file" ||
60728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60729 X"$ac_file" : 'X\(//\)[^/]' \| \
60730 X"$ac_file" : 'X\(//\)$' \| \
60731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60732 $as_echo X"$ac_file" |
60733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60737 /^X\(\/\/\)[^/].*/{
60750 as_dir="$ac_dir"; as_fn_mkdir_p
60754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60756 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60757 # A ".." for each directory in $ac_dir_suffix.
60758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60759 case $ac_top_builddir_sub in
60760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60764 ac_abs_top_builddir=$ac_pwd
60765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60766 # for backward compatibility:
60767 ac_top_builddir=$ac_top_build_prefix
60770 .) # We are building in place.
60772 ac_top_srcdir=$ac_top_builddir_sub
60773 ac_abs_top_srcdir=$ac_pwd ;;
60774 [\\/]* | ?:[\\/]* ) # Absolute name.
60775 ac_srcdir=$srcdir$ac_dir_suffix;
60776 ac_top_srcdir=$srcdir
60777 ac_abs_top_srcdir=$srcdir ;;
60778 *) # Relative name.
60779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60780 ac_top_srcdir=$ac_top_build_prefix$srcdir
60781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60793 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60794 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60796 ac_MKDIR_P=$MKDIR_P
60798 [\\/$]* | ?:[\\/]* ) ;;
60799 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60804 # If the template does not know about datarootdir, expand it.
60805 # FIXME: This hack should be removed a few years after 2.60.
60806 ac_datarootdir_hack=; ac_datarootdir_seen=
60817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60818 *datarootdir*) ac_datarootdir_seen=yes;;
60819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60824 ac_datarootdir_hack='
60825 s&@datadir@&$datadir&g
60826 s&@docdir@&$docdir&g
60827 s&@infodir@&$infodir&g
60828 s&@localedir@&$localedir&g
60829 s&@mandir@&$mandir&g
60830 s&\\\${datarootdir}&$datarootdir&g' ;;
60834 # Neutralize VPATH when `$srcdir' = `.'.
60835 # Shell code in configure.ac might set extrasub.
60836 # FIXME: do we really want to maintain this feature?
60837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60838 ac_sed_extra="$ac_vpsub
60841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60844 s|@configure_input@|$ac_sed_conf_input|;t t
60845 s&@top_builddir@&$ac_top_builddir_sub&;t t
60846 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60847 s&@srcdir@&$ac_srcdir&;t t
60848 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60849 s&@top_srcdir@&$ac_top_srcdir&;t t
60850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60851 s&@builddir@&$ac_builddir&;t t
60852 s&@abs_builddir@&$ac_abs_builddir&;t t
60853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60854 s&@INSTALL@&$ac_INSTALL&;t t
60855 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60856 $ac_datarootdir_hack
60858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60859 || as_fn_error "could not create $ac_file" "$LINENO" 5
60861 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60862 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60863 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60865 which seems to be undefined. Please make sure it is defined." >&5
60866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60867 which seems to be undefined. Please make sure it is defined." >&2;}
60871 -) cat "$tmp/out" && rm -f "$tmp/out";;
60872 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60874 || as_fn_error "could not create $ac_file" "$LINENO" 5
60880 if test x"$ac_file" != x-; then
60882 $as_echo "/* $configure_input */" \
60883 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60884 } >"$tmp/config.h" \
60885 || as_fn_error "could not create $ac_file" "$LINENO" 5
60886 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60891 mv "$tmp/config.h" "$ac_file" \
60892 || as_fn_error "could not create $ac_file" "$LINENO" 5
60895 $as_echo "/* $configure_input */" \
60896 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60897 || as_fn_error "could not create -" "$LINENO" 5
60899 # Compute "$ac_file"'s index in $config_headers.
60902 for _am_header in $config_headers :; do
60903 case $_am_header in
60904 $_am_arg | $_am_arg:* )
60907 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60910 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60911 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60912 X"$_am_arg" : 'X\(//\)[^/]' \| \
60913 X"$_am_arg" : 'X\(//\)$' \| \
60914 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60915 $as_echo X"$_am_arg" |
60916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60920 /^X\(\/\/\)[^/].*/{
60932 s/.*/./; q'`/stamp-h$_am_stamp_count
60935 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60936 $as_echo "$as_me: executing $ac_file commands" >&6;}
60941 case $ac_file$ac_mode in
60943 # Only add multilib support code if we just rebuilt the top-level
60945 case " $CONFIG_FILES " in
60947 ac_file=Makefile . ${multi_basedir}/config-ml.in
60952 # See if we are running on zsh, and set the options which allow our
60953 # commands through without removal of \ escapes.
60954 if test -n "${ZSH_VERSION+set}" ; then
60955 setopt NO_GLOB_SUBST
60958 cfgfile="${ofile}T"
60959 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60962 cat <<_LT_EOF >> "$cfgfile"
60965 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60966 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60967 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60968 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60970 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60971 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60972 # Written by Gordon Matzigkeit, 1996
60974 # This file is part of GNU Libtool.
60976 # GNU Libtool is free software; you can redistribute it and/or
60977 # modify it under the terms of the GNU General Public License as
60978 # published by the Free Software Foundation; either version 2 of
60979 # the License, or (at your option) any later version.
60981 # As a special exception to the GNU General Public License,
60982 # if you distribute this file as part of a program or library that
60983 # is built using GNU Libtool, you may include this file under the
60984 # same distribution terms that you use for the rest of that program.
60986 # GNU Libtool is distributed in the hope that it will be useful,
60987 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60988 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60989 # GNU General Public License for more details.
60991 # You should have received a copy of the GNU General Public License
60992 # along with GNU Libtool; see the file COPYING. If not, a copy
60993 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60994 # obtained by writing to the Free Software Foundation, Inc.,
60995 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60998 # The names of the tagged configurations supported by this script.
60999 available_tags="CXX "
61001 # ### BEGIN LIBTOOL CONFIG
61003 # Which release of libtool.m4 was used?
61004 macro_version=$macro_version
61005 macro_revision=$macro_revision
61007 # Whether or not to build shared libraries.
61008 build_libtool_libs=$enable_shared
61010 # Whether or not to build static libraries.
61011 build_old_libs=$enable_static
61013 # What type of objects to build.
61016 # Whether or not to optimize for fast installation.
61017 fast_install=$enable_fast_install
61019 # Shell to use when invoking shell scripts.
61022 # An echo program that protects backslashes.
61026 host_alias=$host_alias
61030 # The build system.
61031 build_alias=$build_alias
61035 # A sed program that does not truncate output.
61038 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61039 Xsed="\$SED -e 1s/^X//"
61041 # A grep program that handles long lines.
61047 # A literal string matcher.
61050 # A BSD- or MS-compatible name lister.
61053 # Whether we need soft or hard links.
61056 # What is the maximum length of a command?
61057 max_cmd_len=$max_cmd_len
61059 # Object file suffix (normally "o").
61062 # Executable file suffix (normally "").
61065 # whether the shell understands "unset".
61068 # turn spaces into newlines.
61071 # turn newlines into spaces.
61074 # An object symbol dumper.
61075 OBJDUMP=$lt_OBJDUMP
61077 # Method to check whether dependent libraries are shared objects.
61078 deplibs_check_method=$lt_deplibs_check_method
61080 # Command to use when deplibs_check_method == "file_magic".
61081 file_magic_cmd=$lt_file_magic_cmd
61085 AR_FLAGS=$lt_AR_FLAGS
61087 # A symbol stripping program.
61090 # Commands used to install an old-style archive.
61092 old_postinstall_cmds=$lt_old_postinstall_cmds
61093 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61095 # Whether to use a lock for old archive extraction.
61096 lock_old_archive_extraction=$lock_old_archive_extraction
61101 # LTCC compiler flags.
61102 LTCFLAGS=$lt_CFLAGS
61104 # Take the output of nm and produce a listing of raw symbols and C names.
61105 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61107 # Transform the output of nm in a proper C declaration.
61108 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61110 # Transform the output of nm in a C name address pair.
61111 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61113 # Transform the output of nm in a C name address pair when lib prefix is needed.
61114 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61116 # The name of the directory that contains temporary libtool files.
61119 # Used to examine libraries when file_magic_cmd begins with "file".
61120 MAGIC_CMD=$MAGIC_CMD
61122 # Must we lock files when doing compilation?
61123 need_locks=$lt_need_locks
61125 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61126 DSYMUTIL=$lt_DSYMUTIL
61128 # Tool to change global to local symbols on Mac OS X.
61131 # Tool to manipulate fat objects and archives on Mac OS X.
61134 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61137 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61138 OTOOL64=$lt_OTOOL64
61140 # Old archive suffix (normally "a").
61143 # Shared library suffix (normally ".so").
61144 shrext_cmds=$lt_shrext_cmds
61146 # The commands to extract the exported symbol list from a shared archive.
61147 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61149 # Variables whose values should be saved in libtool wrapper scripts and
61150 # restored at link time.
61151 variables_saved_for_relink=$lt_variables_saved_for_relink
61153 # Do we need the "lib" prefix for modules?
61154 need_lib_prefix=$need_lib_prefix
61156 # Do we need a version for libraries?
61157 need_version=$need_version
61159 # Library versioning type.
61160 version_type=$version_type
61162 # Shared library runtime path variable.
61163 runpath_var=$runpath_var
61165 # Shared library path variable.
61166 shlibpath_var=$shlibpath_var
61168 # Is shlibpath searched before the hard-coded library search path?
61169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61171 # Format of library name prefix.
61172 libname_spec=$lt_libname_spec
61174 # List of archive names. First name is the real one, the rest are links.
61175 # The last name is the one that the linker finds with -lNAME
61176 library_names_spec=$lt_library_names_spec
61178 # The coded name of the library, if different from the real name.
61179 soname_spec=$lt_soname_spec
61181 # Permission mode override for installation of shared libraries.
61182 install_override_mode=$lt_install_override_mode
61184 # Command to use after installation of a shared archive.
61185 postinstall_cmds=$lt_postinstall_cmds
61187 # Command to use after uninstallation of a shared archive.
61188 postuninstall_cmds=$lt_postuninstall_cmds
61190 # Commands used to finish a libtool library installation in a directory.
61191 finish_cmds=$lt_finish_cmds
61193 # As "finish_cmds", except a single script fragment to be evaled but
61195 finish_eval=$lt_finish_eval
61197 # Whether we should hardcode library paths into libraries.
61198 hardcode_into_libs=$hardcode_into_libs
61200 # Compile-time system search path for libraries.
61201 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61203 # Run-time system search path for libraries.
61204 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61206 # Whether dlopen is supported.
61207 dlopen_support=$enable_dlopen
61209 # Whether dlopen of programs is supported.
61210 dlopen_self=$enable_dlopen_self
61212 # Whether dlopen of statically linked programs is supported.
61213 dlopen_self_static=$enable_dlopen_self_static
61215 # Commands to strip libraries.
61216 old_striplib=$lt_old_striplib
61217 striplib=$lt_striplib
61220 # The linker used to build libraries.
61223 # How to create reloadable object files.
61224 reload_flag=$lt_reload_flag
61225 reload_cmds=$lt_reload_cmds
61227 # Commands used to build an old-style archive.
61228 old_archive_cmds=$lt_old_archive_cmds
61230 # A language specific compiler.
61233 # Is the compiler the GNU compiler?
61236 # Compiler flag to turn off builtin functions.
61237 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61239 # How to pass a linker flag through the compiler.
61240 wl=$lt_lt_prog_compiler_wl
61242 # Additional compiler flags for building library objects.
61243 pic_flag=$lt_lt_prog_compiler_pic
61245 # Compiler flag to prevent dynamic linking.
61246 link_static_flag=$lt_lt_prog_compiler_static
61248 # Does compiler simultaneously support -c and -o options?
61249 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61251 # Whether or not to add -lc for building shared libraries.
61252 build_libtool_need_lc=$archive_cmds_need_lc
61254 # Whether or not to disallow shared libs when runtime libs are static.
61255 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61257 # Compiler flag to allow reflexive dlopens.
61258 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61260 # Compiler flag to generate shared objects directly from archives.
61261 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61263 # Whether the compiler copes with passing no objects directly.
61264 compiler_needs_object=$lt_compiler_needs_object
61266 # Create an old-style archive from a shared archive.
61267 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61269 # Create a temporary old-style archive to link instead of a shared archive.
61270 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61272 # Commands used to build a shared archive.
61273 archive_cmds=$lt_archive_cmds
61274 archive_expsym_cmds=$lt_archive_expsym_cmds
61276 # Commands used to build a loadable module if different from building
61277 # a shared archive.
61278 module_cmds=$lt_module_cmds
61279 module_expsym_cmds=$lt_module_expsym_cmds
61281 # Whether we are building with GNU ld or not.
61282 with_gnu_ld=$lt_with_gnu_ld
61284 # Flag that allows shared libraries with undefined symbols to be built.
61285 allow_undefined_flag=$lt_allow_undefined_flag
61287 # Flag that enforces no undefined symbols.
61288 no_undefined_flag=$lt_no_undefined_flag
61290 # Flag to hardcode \$libdir into a binary during linking.
61291 # This must work even if \$libdir does not exist
61292 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61294 # If ld is used when linking, flag to hardcode \$libdir into a binary
61295 # during linking. This must work even if \$libdir does not exist.
61296 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61298 # Whether we need a single "-rpath" flag with a separated argument.
61299 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61301 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61302 # DIR into the resulting binary.
61303 hardcode_direct=$hardcode_direct
61305 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61306 # DIR into the resulting binary and the resulting library dependency is
61307 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61308 # library is relocated.
61309 hardcode_direct_absolute=$hardcode_direct_absolute
61311 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61312 # into the resulting binary.
61313 hardcode_minus_L=$hardcode_minus_L
61315 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61316 # into the resulting binary.
61317 hardcode_shlibpath_var=$hardcode_shlibpath_var
61319 # Set to "yes" if building a shared library automatically hardcodes DIR
61320 # into the library and all subsequent libraries and executables linked
61322 hardcode_automatic=$hardcode_automatic
61324 # Set to yes if linker adds runtime paths of dependent libraries
61325 # to runtime path list.
61326 inherit_rpath=$inherit_rpath
61328 # Whether libtool must link a program against all its dependency libraries.
61329 link_all_deplibs=$link_all_deplibs
61331 # Fix the shell variable \$srcfile for the compiler.
61332 fix_srcfile_path=$lt_fix_srcfile_path
61334 # Set to "yes" if exported symbols are required.
61335 always_export_symbols=$always_export_symbols
61337 # The commands to list exported symbols.
61338 export_symbols_cmds=$lt_export_symbols_cmds
61340 # Symbols that should not be listed in the preloaded symbols.
61341 exclude_expsyms=$lt_exclude_expsyms
61343 # Symbols that must always be exported.
61344 include_expsyms=$lt_include_expsyms
61346 # Commands necessary for linking programs (against libraries) with templates.
61347 prelink_cmds=$lt_prelink_cmds
61349 # Specify filename containing input files.
61350 file_list_spec=$lt_file_list_spec
61352 # How to hardcode a shared library path into an executable.
61353 hardcode_action=$hardcode_action
61355 # The directories searched by this compiler when creating a shared library.
61356 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61358 # Dependencies to place before and after the objects being linked to
61359 # create a shared library.
61360 predep_objects=$lt_predep_objects
61361 postdep_objects=$lt_postdep_objects
61362 predeps=$lt_predeps
61363 postdeps=$lt_postdeps
61365 # The library search path used internally by the compiler when linking
61366 # a shared library.
61367 compiler_lib_search_path=$lt_compiler_lib_search_path
61369 # ### END LIBTOOL CONFIG
61375 cat <<\_LT_EOF >> "$cfgfile"
61376 # AIX sometimes has problems with the GCC collect2 program. For some
61377 # reason, if we set the COLLECT_NAMES environment variable, the problems
61378 # vanish in a puff of smoke.
61379 if test "X${COLLECT_NAMES+set}" != Xset; then
61381 export COLLECT_NAMES
61388 ltmain="$ac_aux_dir/ltmain.sh"
61391 # We use sed instead of cat because bash on DJGPP gets confused if
61392 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61393 # text mode, it properly converts lines to CR/LF. This bash problem
61394 # is reportedly fixed, but why not run on old versions too?
61395 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61396 || (rm -f "$cfgfile"; exit 1)
61400 cat << \_LT_EOF >> "$cfgfile"
61402 # func_dirname file append nondir_replacement
61403 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61404 # otherwise set result to NONDIR_REPLACEMENT.
61408 */*) func_dirname_result="${1%/*}${2}" ;;
61409 * ) func_dirname_result="${3}" ;;
61413 # func_basename file
61416 func_basename_result="${1##*/}"
61419 # func_dirname_and_basename file append nondir_replacement
61420 # perform func_basename and func_dirname in a single function
61422 # dirname: Compute the dirname of FILE. If nonempty,
61423 # add APPEND to the result, otherwise set result
61424 # to NONDIR_REPLACEMENT.
61425 # value returned in "$func_dirname_result"
61426 # basename: Compute filename of FILE.
61427 # value retuned in "$func_basename_result"
61428 # Implementation must be kept synchronized with func_dirname
61429 # and func_basename. For efficiency, we do not delegate to
61430 # those functions but instead duplicate the functionality here.
61431 func_dirname_and_basename ()
61434 */*) func_dirname_result="${1%/*}${2}" ;;
61435 * ) func_dirname_result="${3}" ;;
61437 func_basename_result="${1##*/}"
61440 # func_stripname prefix suffix name
61441 # strip PREFIX and SUFFIX off of NAME.
61442 # PREFIX and SUFFIX must not contain globbing or regex special
61443 # characters, hashes, percent signs, but SUFFIX may contain a leading
61444 # dot (in which case that matches only a dot).
61447 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61448 # positional parameters, so assign one to ordinary parameter first.
61449 func_stripname_result=${3}
61450 func_stripname_result=${func_stripname_result#"${1}"}
61451 func_stripname_result=${func_stripname_result%"${2}"}
61457 func_opt_split_opt=${1%%=*}
61458 func_opt_split_arg=${1#*=}
61465 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61466 *) func_lo2o_result=${1} ;;
61470 # func_xform libobj-or-source
61473 func_xform_result=${1%.*}.lo
61476 # func_arith arithmetic-term...
61479 func_arith_result=$(( $* ))
61483 # STRING may not start with a hyphen.
61486 func_len_result=${#1}
61491 *) # Bourne compatible functions.
61492 cat << \_LT_EOF >> "$cfgfile"
61494 # func_dirname file append nondir_replacement
61495 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61496 # otherwise set result to NONDIR_REPLACEMENT.
61499 # Extract subdirectory from the argument.
61500 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61501 if test "X$func_dirname_result" = "X${1}"; then
61502 func_dirname_result="${3}"
61504 func_dirname_result="$func_dirname_result${2}"
61508 # func_basename file
61511 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61515 # func_stripname prefix suffix name
61516 # strip PREFIX and SUFFIX off of NAME.
61517 # PREFIX and SUFFIX must not contain globbing or regex special
61518 # characters, hashes, percent signs, but SUFFIX may contain a leading
61519 # dot (in which case that matches only a dot).
61520 # func_strip_suffix prefix name
61524 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61525 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61530 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61531 my_sed_long_arg='1s/^-[^=]*=//'
61536 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61537 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61543 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61546 # func_xform libobj-or-source
61549 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61552 # func_arith arithmetic-term...
61555 func_arith_result=`expr "$@"`
61559 # STRING may not start with a hyphen.
61562 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61568 case $lt_shell_append in
61570 cat << \_LT_EOF >> "$cfgfile"
61572 # func_append var value
61573 # Append VALUE to the end of shell variable VAR.
61581 cat << \_LT_EOF >> "$cfgfile"
61583 # func_append var value
61584 # Append VALUE to the end of shell variable VAR.
61595 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61596 || (rm -f "$cfgfile"; exit 1)
61598 mv -f "$cfgfile" "$ofile" ||
61599 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61603 cat <<_LT_EOF >> "$ofile"
61605 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61607 # The linker used to build libraries.
61610 # How to create reloadable object files.
61611 reload_flag=$lt_reload_flag_CXX
61612 reload_cmds=$lt_reload_cmds_CXX
61614 # Commands used to build an old-style archive.
61615 old_archive_cmds=$lt_old_archive_cmds_CXX
61617 # A language specific compiler.
61618 CC=$lt_compiler_CXX
61620 # Is the compiler the GNU compiler?
61623 # Compiler flag to turn off builtin functions.
61624 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61626 # How to pass a linker flag through the compiler.
61627 wl=$lt_lt_prog_compiler_wl_CXX
61629 # Additional compiler flags for building library objects.
61630 pic_flag=$lt_lt_prog_compiler_pic_CXX
61632 # Compiler flag to prevent dynamic linking.
61633 link_static_flag=$lt_lt_prog_compiler_static_CXX
61635 # Does compiler simultaneously support -c and -o options?
61636 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61638 # Whether or not to add -lc for building shared libraries.
61639 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61641 # Whether or not to disallow shared libs when runtime libs are static.
61642 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61644 # Compiler flag to allow reflexive dlopens.
61645 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61647 # Compiler flag to generate shared objects directly from archives.
61648 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61650 # Whether the compiler copes with passing no objects directly.
61651 compiler_needs_object=$lt_compiler_needs_object_CXX
61653 # Create an old-style archive from a shared archive.
61654 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61656 # Create a temporary old-style archive to link instead of a shared archive.
61657 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61659 # Commands used to build a shared archive.
61660 archive_cmds=$lt_archive_cmds_CXX
61661 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61663 # Commands used to build a loadable module if different from building
61664 # a shared archive.
61665 module_cmds=$lt_module_cmds_CXX
61666 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61668 # Whether we are building with GNU ld or not.
61669 with_gnu_ld=$lt_with_gnu_ld_CXX
61671 # Flag that allows shared libraries with undefined symbols to be built.
61672 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61674 # Flag that enforces no undefined symbols.
61675 no_undefined_flag=$lt_no_undefined_flag_CXX
61677 # Flag to hardcode \$libdir into a binary during linking.
61678 # This must work even if \$libdir does not exist
61679 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61681 # If ld is used when linking, flag to hardcode \$libdir into a binary
61682 # during linking. This must work even if \$libdir does not exist.
61683 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61685 # Whether we need a single "-rpath" flag with a separated argument.
61686 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61688 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61689 # DIR into the resulting binary.
61690 hardcode_direct=$hardcode_direct_CXX
61692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61693 # DIR into the resulting binary and the resulting library dependency is
61694 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61695 # library is relocated.
61696 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61698 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61699 # into the resulting binary.
61700 hardcode_minus_L=$hardcode_minus_L_CXX
61702 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61703 # into the resulting binary.
61704 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61706 # Set to "yes" if building a shared library automatically hardcodes DIR
61707 # into the library and all subsequent libraries and executables linked
61709 hardcode_automatic=$hardcode_automatic_CXX
61711 # Set to yes if linker adds runtime paths of dependent libraries
61712 # to runtime path list.
61713 inherit_rpath=$inherit_rpath_CXX
61715 # Whether libtool must link a program against all its dependency libraries.
61716 link_all_deplibs=$link_all_deplibs_CXX
61718 # Fix the shell variable \$srcfile for the compiler.
61719 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61721 # Set to "yes" if exported symbols are required.
61722 always_export_symbols=$always_export_symbols_CXX
61724 # The commands to list exported symbols.
61725 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61727 # Symbols that should not be listed in the preloaded symbols.
61728 exclude_expsyms=$lt_exclude_expsyms_CXX
61730 # Symbols that must always be exported.
61731 include_expsyms=$lt_include_expsyms_CXX
61733 # Commands necessary for linking programs (against libraries) with templates.
61734 prelink_cmds=$lt_prelink_cmds_CXX
61736 # Specify filename containing input files.
61737 file_list_spec=$lt_file_list_spec_CXX
61739 # How to hardcode a shared library path into an executable.
61740 hardcode_action=$hardcode_action_CXX
61742 # The directories searched by this compiler when creating a shared library.
61743 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61745 # Dependencies to place before and after the objects being linked to
61746 # create a shared library.
61747 predep_objects=$lt_predep_objects_CXX
61748 postdep_objects=$lt_postdep_objects_CXX
61749 predeps=$lt_predeps_CXX
61750 postdeps=$lt_postdeps_CXX
61752 # The library search path used internally by the compiler when linking
61753 # a shared library.
61754 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61756 # ### END LIBTOOL TAG CONFIG: CXX
61760 "include/gstdint.h":C)
61761 if test "$GCC" = yes; then
61762 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61764 echo "/* generated for $CC */" > tmp-stdint.h
61767 sed 's/^ *//' >> tmp-stdint.h <<EOF
61769 #ifndef GCC_GENERATED_STDINT_H
61770 #define GCC_GENERATED_STDINT_H 1
61772 #include <sys/types.h>
61775 if test "$acx_cv_header_stdint" != stdint.h; then
61776 echo "#include <stddef.h>" >> tmp-stdint.h
61778 if test "$acx_cv_header_stdint" != stddef.h; then
61779 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61782 sed 's/^ *//' >> tmp-stdint.h <<EOF
61783 /* glibc uses these symbols as guards to prevent redefinitions. */
61784 #ifdef __int8_t_defined
61789 #ifdef __uint32_t_defined
61795 # ----------------- done header, emit basic int types -------------
61796 if test "$acx_cv_header_stdint" = stddef.h; then
61797 sed 's/^ *//' >> tmp-stdint.h <<EOF
61801 #ifndef __uint8_t_defined
61802 #define __uint8_t_defined
61804 typedef unsigned $acx_cv_type_int8_t uint8_t;
61811 #ifndef __uint16_t_defined
61812 #define __uint16_t_defined
61814 typedef unsigned $acx_cv_type_int16_t uint16_t;
61821 #ifndef __uint32_t_defined
61822 #define __uint32_t_defined
61824 typedef unsigned $acx_cv_type_int32_t uint32_t;
61831 #ifndef __int8_t_defined
61832 #define __int8_t_defined
61834 typedef $acx_cv_type_int8_t int8_t;
61841 #ifndef __int16_t_defined
61842 #define __int16_t_defined
61844 typedef $acx_cv_type_int16_t int16_t;
61851 #ifndef __int32_t_defined
61852 #define __int32_t_defined
61854 typedef $acx_cv_type_int32_t int32_t;
61859 elif test "$ac_cv_type_u_int32_t" = yes; then
61860 sed 's/^ *//' >> tmp-stdint.h <<EOF
61862 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61875 #ifndef __uint8_t_defined
61876 #define __uint8_t_defined
61878 typedef u_int8_t uint8_t;
61885 #ifndef __uint16_t_defined
61886 #define __uint16_t_defined
61888 typedef u_int16_t uint16_t;
61895 #ifndef __uint32_t_defined
61896 #define __uint32_t_defined
61898 typedef u_int32_t uint32_t;
61904 sed 's/^ *//' >> tmp-stdint.h <<EOF
61906 /* Some systems have guard macros to prevent redefinitions, define them. */
61928 # ------------- done basic int types, emit int64_t types ------------
61929 if test "$ac_cv_type_uint64_t" = yes; then
61930 sed 's/^ *//' >> tmp-stdint.h <<EOF
61932 /* system headers have good uint64_t and int64_t */
61940 elif test "$ac_cv_type_u_int64_t" = yes; then
61941 sed 's/^ *//' >> tmp-stdint.h <<EOF
61943 /* system headers have an u_int64_t (and int64_t) */
61949 #ifndef __uint64_t_defined
61950 #define __uint64_t_defined
61952 typedef u_int64_t uint64_t;
61957 elif test -n "$acx_cv_type_int64_t"; then
61958 sed 's/^ *//' >> tmp-stdint.h <<EOF
61960 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61964 typedef $acx_cv_type_int64_t int64_t;
61969 #ifndef __uint64_t_defined
61970 #define __uint64_t_defined
61972 typedef unsigned $acx_cv_type_int64_t uint64_t;
61978 sed 's/^ *//' >> tmp-stdint.h <<EOF
61980 /* some common heuristics for int64_t, using compiler-specific tests */
61981 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61984 #ifndef __int64_t_defined
61986 typedef long long int64_t;
61993 typedef unsigned long long uint64_t;
61997 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61998 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61999 does not implement __extension__. But that compiler doesn't define
62001 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62002 # define __extension__
62008 __extension__ typedef long long int64_t;
62014 __extension__ typedef unsigned long long uint64_t;
62018 #elif !defined __STRICT_ANSI__
62019 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62024 typedef __int64 int64_t;
62030 typedef unsigned __int64 uint64_t;
62033 # endif /* compiler */
62035 #endif /* ANSI version */
62039 # ------------- done int64_t types, emit intptr types ------------
62040 if test "$ac_cv_type_uintptr_t" != yes; then
62041 sed 's/^ *//' >> tmp-stdint.h <<EOF
62043 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62044 #ifndef __uintptr_t_defined
62046 typedef u$acx_cv_type_intptr_t uintptr_t;
62049 #ifndef __intptr_t_defined
62051 typedef $acx_cv_type_intptr_t intptr_t;
62057 # ------------- done intptr types, emit int_least types ------------
62058 if test "$ac_cv_type_int_least32_t" != yes; then
62059 sed 's/^ *//' >> tmp-stdint.h <<EOF
62061 /* Define int_least types */
62062 typedef int8_t int_least8_t;
62063 typedef int16_t int_least16_t;
62064 typedef int32_t int_least32_t;
62066 typedef int64_t int_least64_t;
62069 typedef uint8_t uint_least8_t;
62070 typedef uint16_t uint_least16_t;
62071 typedef uint32_t uint_least32_t;
62073 typedef uint64_t uint_least64_t;
62078 # ------------- done intptr types, emit int_fast types ------------
62079 if test "$ac_cv_type_int_fast32_t" != yes; then
62080 sed 's/^ *//' >> tmp-stdint.h <<EOF
62082 /* Define int_fast types. short is often slow */
62083 typedef int8_t int_fast8_t;
62084 typedef int int_fast16_t;
62085 typedef int32_t int_fast32_t;
62087 typedef int64_t int_fast64_t;
62090 typedef uint8_t uint_fast8_t;
62091 typedef unsigned int uint_fast16_t;
62092 typedef uint32_t uint_fast32_t;
62094 typedef uint64_t uint_fast64_t;
62099 if test "$ac_cv_type_uintmax_t" != yes; then
62100 sed 's/^ *//' >> tmp-stdint.h <<EOF
62102 /* Define intmax based on what we found */
62105 typedef int64_t intmax_t;
62107 typedef long intmax_t;
62112 typedef uint64_t uintmax_t;
62114 typedef unsigned long uintmax_t;
62120 sed 's/^ *//' >> tmp-stdint.h <<EOF
62122 #endif /* GCC_GENERATED_STDINT_H */
62125 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62128 mv -f tmp-stdint.h include/gstdint.h
62132 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62133 "include/Makefile":F) cat > vpsed$$ << \_EOF
62134 s!`test -f '$<' || echo '$(srcdir)/'`!!
62136 sed -f vpsed$$ $ac_file > tmp$$
62139 echo 'MULTISUBDIR =' >> $ac_file
62141 . ${multi_basedir}/config-ml.in
62142 { ml_norecursion=; unset ml_norecursion;}
62144 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62145 s!`test -f '$<' || echo '$(srcdir)/'`!!
62147 sed -f vpsed$$ $ac_file > tmp$$
62150 echo 'MULTISUBDIR =' >> $ac_file
62152 . ${multi_basedir}/config-ml.in
62153 { ml_norecursion=; unset ml_norecursion;}
62155 "python/Makefile":F) cat > vpsed$$ << \_EOF
62156 s!`test -f '$<' || echo '$(srcdir)/'`!!
62158 sed -f vpsed$$ $ac_file > tmp$$
62161 echo 'MULTISUBDIR =' >> $ac_file
62163 . ${multi_basedir}/config-ml.in
62164 { ml_norecursion=; unset ml_norecursion;}
62166 "src/Makefile":F) cat > vpsed$$ << \_EOF
62167 s!`test -f '$<' || echo '$(srcdir)/'`!!
62169 sed -f vpsed$$ $ac_file > tmp$$
62172 echo 'MULTISUBDIR =' >> $ac_file
62174 . ${multi_basedir}/config-ml.in
62175 { ml_norecursion=; unset ml_norecursion;}
62177 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62178 s!`test -f '$<' || echo '$(srcdir)/'`!!
62180 sed -f vpsed$$ $ac_file > tmp$$
62183 echo 'MULTISUBDIR =' >> $ac_file
62185 . ${multi_basedir}/config-ml.in
62186 { ml_norecursion=; unset ml_norecursion;}
62188 "po/Makefile":F) cat > vpsed$$ << \_EOF
62189 s!`test -f '$<' || echo '$(srcdir)/'`!!
62191 sed -f vpsed$$ $ac_file > tmp$$
62194 echo 'MULTISUBDIR =' >> $ac_file
62196 . ${multi_basedir}/config-ml.in
62197 { ml_norecursion=; unset ml_norecursion;}
62199 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62200 s!`test -f '$<' || echo '$(srcdir)/'`!!
62202 sed -f vpsed$$ $ac_file > tmp$$
62205 echo 'MULTISUBDIR =' >> $ac_file
62207 . ${multi_basedir}/config-ml.in
62208 { ml_norecursion=; unset ml_norecursion;}
62210 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62218 ac_clean_files=$ac_clean_files_save
62220 test $ac_write_fail = 0 ||
62221 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62224 # configure is writing to config.log, and then calls config.status.
62225 # config.status does its own redirection, appending to config.log.
62226 # Unfortunately, on DOS this fails, as config.log is still kept open
62227 # by configure, so config.status won't be able to write to it; its
62228 # output is simply discarded. So we exec the FD to /dev/null,
62229 # effectively closing config.log, so it can be properly (re)opened and
62230 # appended to by config.status. When coming back to configure, we
62231 # need to make the FD available again.
62232 if test "$no_create" != yes; then
62234 ac_config_status_args=
62235 test "$silent" = yes &&
62236 ac_config_status_args="$ac_config_status_args --quiet"
62238 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62240 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62241 # would make configure fail if this is the last instruction.
62242 $ac_cs_success || as_fn_exit $?
62244 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62246 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}